"use strict";this.default_b=this.default_b||{};(function(__){var window=this;
try{
/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
*/
/*


 Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
/*

 The MIT License

 Copyright (c) 2014-2016 Google, Inc. http://angular.io

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
*/
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
 @param {!_ZonePrivate} api
 @param {?} target
 @param {string} targetName
 @param {string} method
 @param {!Array<string>} callbacks
 @return {void}
*/
/*

 SPDX-License-Identifier: Apache-2.0
*/
var g,aa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,aa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.reportErrorToServer=!0},ca=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");aa.call(this,c+a[d])},ea=function(a){da.setTimeout(function(){throw a;},0)},fa=function(){var a=da.navigator;return a&&(a=a.userAgent)?a:""},ka=function(a){return ha?ia?ia.brands.some(function(b){return(b=
b.brand)&&ja(b,a)}):!1:!1},la=function(a){return ja(fa(),a)},ma=function(){return ha?!!ia&&0<ia.brands.length:!1},oa=function(){return ma()?!1:la("Opera")},aaa=function(){return ma()?!1:la("Trident")||la("MSIE")},ra=function(){return ma()?!1:la("Edge")},baa=function(){return ma()?ka("Microsoft Edge"):la("Edg/")},sa=function(){return la("Firefox")||la("FxiOS")},caa=function(){return la("Safari")&&!(ta()||(ma()?0:la("Coast"))||oa()||ra()||baa()||(ma()?ka("Opera"):la("OPR"))||sa()||la("Silk")||la("Android"))},
ta=function(){return ma()?ka("Chromium"):(la("Chrome")||la("CriOS"))&&!ra()||la("Silk")},daa=function(){return la("Android")&&!(ta()||sa()||oa()||la("Silk"))},eaa=function(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[c.find(function(d){return d in b})]||""}},faa=function(a){var b=fa();if("Internet Explorer"===a){if(aaa())if((a=/rv: *([\d\.]*)/.exec(b))&&a[1])b=a[1];else{a="";var c=/MSIE +([\d\.]+)/.exec(b);if(c&&c[1])if(b=/Trident\/(\d.\d)/.exec(b),"7.0"==c[1])if(b&&
b[1])switch(b[1]){case "4.0":a="8.0";break;case "5.0":a="9.0";break;case "6.0":a="10.0";break;case "7.0":a="11.0"}else a="7.0";else a=c[1];b=a}else b="";return b}var d=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");c=[];for(var e;e=d.exec(b);)c.push([e[1],e[2],e[3]||void 0]);b=eaa(c);switch(a){case "Opera":if(oa())return b(["Version","Opera"]);if(ma()?ka("Opera"):la("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(ra())return b(["Edge"]);if(baa())return b(["Edg"]);break;case "Chromium":if(ta())return b(["Chrome",
"CriOS","HeadlessChrome"])}return"Firefox"===a&&sa()||"Safari"===a&&caa()||"Android Browser"===a&&daa()||"Silk"===a&&la("Silk")?(b=c[2])&&b[1]||"":""},ua=function(a){if(ma()&&"Silk"!==a){var b=ia.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=faa(a);if(""===b)return NaN;b=b.split(".")}return 0===b.length?NaN:Number(b[0])},va=function(){return ha?!!ia&&!!ia.platform:!1},gaa=function(){return va()?"Android"===ia.platform:la("Android")},wa=function(){return la("iPhone")&&
!la("iPod")&&!la("iPad")},ya=function(){return wa()||la("iPad")||la("iPod")},haa=function(){return va()?"macOS"===ia.platform:la("Macintosh")},iaa=function(){return va()?"Windows"===ia.platform:la("Windows")},jaa=function(){return va()?"Chrome OS"===ia.platform:la("CrOS")},kaa=function(){var a=fa(),b="";iaa()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):ya()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/g,".")):haa()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?
a[1].replace(/_/g,"."):"10"):za(fa(),"KaiOS")?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):gaa()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):jaa()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return 0<=Aa(b||"",12)},Ca=function(a){return a[a.length-1]},laa=function(a,b){var c=0;Da(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c},maa=function(a,b){for(var c="string"===typeof a?a.split(""):a,d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1},
Ia=function(a,b){return 0<=Ga(a,b)},Ja=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},Ma=function(a,b){b=Ga(a,b);var c;(c=0<=b)&&Ka(a,b);return c},Ka=function(a,b){Array.prototype.splice.call(a,b,1)},Na=function(a,b){a:{for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}0<=b&&Ka(a,b)},Pa=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Ra=function(a,
b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Qa(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}},oaa=function(a,b,c,d){return Array.prototype.splice.apply(a,naa(arguments,1))},naa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Wa=function(a,b,c){b=b||a;var d=function(q){return Ta(q)?"o"+Va(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,f={};e<a.length;){var h=a[e++],l=c(h);
Object.prototype.hasOwnProperty.call(f,l)||(f[l]=!0,b[d++]=h)}b.length=d},Xa=function(a,b){a.sort(b||paa)},qaa=function(a,b){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]={index:d,value:a[d]};var e=b||paa;Xa(c,function(f,h){return e(f.value,h.value)||f.index-h.index});for(b=0;b<a.length;b++)a[b]=c[b].value},paa=function(a,b){return a>b?1:a<b?-1:0},raa=function(){for(var a=[],b=0;5>b;b+=1)a.push(b);return a},saa=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,
c,0,b[0])},vaa=function(a){if(!taa)return uaa(a);for(var b="";10240<a.length;)b+=String.fromCharCode.apply(null,a.subarray(0,10240)),a=a.subarray(10240);b+=String.fromCharCode.apply(null,a);return btoa(b)},xaa=function(a){return waa[a]||""},Aaa=function(a){if(!taa)return yaa(a);zaa.test(a)&&(a=a.replace(zaa,xaa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},$a=function(a){return Baa&&null!=a&&a instanceof Uint8Array},Daa=function(){return Caa||(Caa=
new Uint8Array(0))},Eaa=function(a,b){var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0},Faa=function(a){return 0==a.length?ab():new cb(a,db)},Gaa=function(a){if("string"===typeof a)return{buffer:Aaa(a),isImmutable:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),isImmutable:!1};if(a.constructor===Uint8Array)return{buffer:a,isImmutable:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),isImmutable:!1};if(a.constructor===cb)return{buffer:eb(a)||
Daa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("H");},Haa=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=4294967296*b+(a>>>0);return c?-a:a},Kaa=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Iaa?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/
1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/1E7),c%=1E7),c=b+Jaa(c)+Jaa(a));return c},Jaa=function(a){a=String(a);return"0000000".slice(a.length)+a},gb=function(a,b){if(fb)return a[fb]|=b;if(void 0!==a.internalArrayState)return a.internalArrayState|=b;Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});return b},Laa=function(a,b){var c=hb(a);(c&b)!==b&&(Object.isFrozen(a)&&(a=Array.prototype.slice.call(a)),ib(a,c|b));return a},Maa=function(a,b){fb?a[fb]&&
(a[fb]&=~b):void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},hb=function(a){var b;fb?b=a[fb]:b=a.internalArrayState;return null==b?0:b},ib=function(a,b){fb?a[fb]=b:void 0!==a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a},jb=function(a){gb(a,1);return a},kb=function(a){return!!(hb(a)&2)},mb=function(a){gb(a,18);return a},nb=function(a){gb(a,16);return a},Naa=function(a,b){ib(b,(a|0)&
-51)},ob=function(a,b){ib(b,(a|18)&-41)},pb=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},qb=function(a,b,c){if(null!=a)if("string"===typeof a)a=a?new cb(a,db):ab();else if(a.constructor!==cb)if($a(a))a=c?Faa(a):a.length?new cb(new Uint8Array(a),db):ab();else{if(!b)throw Error();a=void 0}return a},Oaa=function(a){return Array.isArray(a)&&!!(hb(a)&1)&&!a.length},rb=function(a){Paa(hb(a.internalArray_))},Paa=function(a){if(a&2)throw Error();},Qaa=function(a){var b=
a.length;(b=b?a[b-1]:void 0)&&pb(b)?b.g=1:(b={},a.push((b.g=1,b)))},Raa=function(a){if("number"!==typeof a)throw Error("I`"+typeof a+"`"+a);return a},tb=function(a){if(null!=a&&"number"!==typeof a)throw Error("J`"+typeof a+"`"+a);return a},Saa=function(a){if(null==a)return a;if("number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)},ub=function(a){return a},vb=function(a){return a},Taa=function(a){return a},Uaa=function(a){return a},Vaa=function(a){return a},Yaa=function(a,
b,c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.messagePrototypeMarker===wb)return a;if(!e)return c?d&2?(a=b[Waa])?b=a:(a=new b,mb(a.internalArray_),b=b[Waa]=a):b=new b:b=void 0,b;Xaa(a,d);return new b(a)},Xaa=function(a,b){var c=hb(a),d=c;0===d&&(d|=b&16);d|=b&2;d!==c&&ib(a,d)},Zaa=function(a,b){a=a||{};b=b||{};var c={},d;for(d in a)c[d]=0;for(var e in b)c[e]=0;for(var f in c)if(!isNaN(f)&&!xb(a,f,a[f],b,f,b[f]))return!1;return!0},$aa=function(a,b,c){null!=a&&(a instanceof
Map?a.set(b,c):a[b]=c);return c},aba=function(a,b){if("string"===typeof b)try{b=Aaa(b)}catch(c){return!1}return $a(b)&&Eaa(a,b)},xb=function(a,b,c,d,e,f){if(c==f)return!0;if(c instanceof cb)return bba(c,f,d,e);if(f instanceof cb)return bba(f,c,a,b);if($a(c))return aba(c,f);if($a(f))return aba(f,c);if(c instanceof yb)return cba(c,f);if(f instanceof yb)return cba(f,c);if(null==c&&Oaa(f)||null==f&&Oaa(c))return!0;if(null==c||null==f)return!1;a=typeof c;b=typeof f;if("object"!==a||"object"!==b)return Number.isNaN(c)||
Number.isNaN(f)?String(c)===String(f):"boolean"===a&&"number"===b||"boolean"===b&&"number"===a?!!c===!!f:!1;if(c.messagePrototypeMarker===wb)return f.messagePrototypeMarker===wb?c.constructor===f.constructor&&zb(c.internalArray_,f.internalArray_):Array.isArray(f)&&zb(c.internalArray_,f);if(f.messagePrototypeMarker===wb)return Array.isArray(c)&&zb(f.internalArray_,c);if(c.constructor!=f.constructor)return!1;if(c.constructor===Array){b=a=void 0;d=c.length;e=f.length;for(var h=Math.max(d,e),l=0;l<h;l++){var q=
l>=d?void 0:c[l],u=l>=e?void 0:f[l];q&&l==d-1&&pb(q)&&(a=q,q=void 0);u&&l==e-1&&pb(u)&&(b=u,u=void 0);if(!xb(c,l,q,f,l,u))return!1}return a||b?Zaa(a,b):!0}if(c.constructor===Object)return Zaa(c,f);throw Error("P");},zb=function(a,b){return xb(void 0,void 0,a,void 0,void 0,b)},dba=function(a,b){a=""+a;b=""+b;return a>b?1:a<b?-1:0},eba=function(a,b,c,d){a=Yaa(a,b,!0,d);c&&(a=Ab(a));return a},fba=function(a){return a},gba=function(a){return a},hba=function(a){return a},iba=function(a,b){if(a.size!=b.size)return!1;
var c=!0;a.forEach(function(d,e){xb(a,e,d,b,e,b.get(e))||(c=!1)});return c},jba=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return 0;a=a[0];b=b[0];return a===b?0:a<b?-1:1},kba=function(a,b){if(null==b)return 0===a.size;if(!Array.isArray(b)||a.size>b.length)return!1;b=Array.prototype.slice.call(b);b.sort(jba);for(var c=0,d=void 0,e=b.length-1;0<=e;e--){var f=b[e];if(!f||!Array.isArray(f)||2!==f.length)return!1;var h=f[0];if(h!==d){if(!xb(a,h,a.get(h),f,1,f[1]))return!1;d=h;c++}}return c===
a.size},Gb=function(a,b,c,d,e){var f=Db(a,b,d);Array.isArray(f)||(f=Eb);var h=hb(f);h&1||jb(f);if(e)h&2||mb(f),c&1||Object.freeze(f);else{e=!(c&2);var l=h&2;c&1||!l?e&&h&16&&!l&&Maa(f,16):(f=jb(Array.prototype.slice.call(f)),Fb(a,b,f,d))}return f},Hb=function(a,b,c,d){var e=kb(a.internalArray_),f=Gb(a,b,1,d,e),h=hb(f);if(!(h&4)){Object.isFrozen(f)&&(f=jb(f.slice()),Fb(a,b,f,d));for(var l=0,q=0;l<f.length;l++){var u=c(f[l]);null!=u&&(f[q++]=u)}q<l&&(f.length=q);h|=5;e&&(h|=18);ib(f,h);h&2&&Object.freeze(f)}!e&&
(h&2||Object.isFrozen(f))&&(f=Array.prototype.slice.call(f),gb(f,5),Fb(a,b,f,d));return f},lba=function(a){return qb(a,!0,!0)},mba=function(a){return qb(a,!0,!1)},Ib=function(a,b,c,d){if(null==c)return k(a,b,Eb);var e=hb(c);if(!(e&4)){if(e&2||Object.isFrozen(c))c=Array.prototype.slice.call(c);for(var f=0;f<c.length;f++)c[f]=d(c[f]);ib(c,e|5)}return k(a,b,c)},Jb=function(a,b,c,d){rb(a);c!==d?Fb(a,b,c):Fb(a,b,void 0,!1);return a},Kb=function(a,b,c,d){rb(a);b=Gb(a,b,2,!1,!1);void 0!=d?b.splice(d,0,c):
b.push(c);return a},nba=function(a,b,c,d,e){var f=!!(e&2);a.internalWrappers_||(a.internalWrappers_={});var h=a.internalWrappers_[c],l=Gb(a,c,3,void 0,f);if(!h){var q=l;h=[];f=!!(e&2);l=!!(hb(q)&2);var u=q;!f&&l&&(q=Array.prototype.slice.call(q));var x=e|(l?2:0);e=l;for(var y=0;y<q.length;y++){var G=q[y];var J=b;Array.isArray(G)?(Xaa(G,x),G=new J(G)):G=void 0;void 0!==G&&(e=e||!!(2&hb(G.internalArray_)),h.push(G))}a.internalWrappers_[c]=h;x=hb(q);b=x|33;b=e?b&-9:b|8;x!=b&&(e=q,Object.isFrozen(e)&&
(e=Array.prototype.slice.call(e)),ib(e,b),q=e);u!==q&&Fb(a,c,q);(f||d&&l)&&mb(h);d&&Object.freeze(h);return h}f||(f=Object.isFrozen(h),d&&!f?Object.freeze(h):!d&&f&&(h=Array.prototype.slice.call(h),a.internalWrappers_[c]=h));return h},Lb=function(a,b,c){return Jb(a,b,c,0)},Mb=function(a,b,c){return Jb(a,b,c,"")},Nb=function(a,b){return null==a?b:a},oba=function(a,b){Ob=b;a=new a(b);Ob=void 0;return a},qba=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "object":if(a)if(Array.isArray(a)){if(0!==
(hb(a)&128))return a=Array.prototype.slice.call(a),Qaa(a),a}else{if($a(a))return vaa(a);if(a instanceof cb)return Pb(a);if(a instanceof yb)return pba(a)}}return a},rba=function(a,b,c,d){if(null!=a){if(Array.isArray(a))a=Qb(a,b,c,void 0!==d);else if(pb(a)){var e={},f;for(f in a)e[f]=rba(a[f],b,c,d);a=e}else a=b(a,d);return a}},Qb=function(a,b,c,d){var e=hb(a);d=d?!!(e&16):void 0;a=Array.prototype.slice.call(a);for(var f=0;f<a.length;f++)a[f]=rba(a[f],b,c,d);c(e,a);return a},uba=function(a){return rba(a,
sba,tba)},sba=function(a){return a.messagePrototypeMarker===wb?a.toJSON():a instanceof yb?pba(a,uba):qba(a)},tba=function(a,b){a&128&&Qaa(b)},vba=function(a,b,c){c=void 0===c?ob:c;if(null!=a){if(Baa&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=hb(a);if(d&2)return a;if(b&&!(d&32)&&(d&16||0===d))return ib(a,d|18),a;a=Qb(a,vba,d&4?ob:c,!0);b=hb(a);b&4&&b&2&&Object.freeze(a);return a}a.messagePrototypeMarker===wb?a=wba(a):a instanceof yb&&(b=mb(xba(a,vba)),a=new yb(b,
a.valueCtor,a.toApi,a.toRuntime));return a}},yba=function(a,b,c,d,e,f,h){(a=a.internalWrappers_&&a.internalWrappers_[c])?(d=hb(a),d&2?d=a:(f=Rb(a,wba),ob(d,f),Object.freeze(f),d=f),Sb(b,c,d,e)):k(b,c,vba(d,f,h),e)},wba=function(a){if(kb(a.internalArray_))return a;a=zba(a,!0);mb(a.internalArray_);return a},zba=function(a,b){var c=a.internalArray_,d=nb([]),e=a.constructor.messageId;e&&d.push(e);e=a.internalSparseObject_;if(e){d.length=c.length;var f={};d[d.length-1]=f}0!==(hb(c)&128)&&Qaa(d);b=b||a.isImmutable()?
ob:Naa;d=oba(a.constructor,d);a.internalUnknownFields_&&(d.internalUnknownFields_=a.internalUnknownFields_.slice());f=!!(hb(c)&16);for(var h=e?c.length-1:c.length,l=0;l<h;l++)yba(a,d,l-a.arrayIndexOffset,c[l],!1,f,b);if(e)for(var q in e)yba(a,d,+q,e[q],!0,f,b);return d},Ab=function(a){if(!kb(a.internalArray_))return a;var b=zba(a,!1);b.internalCachedImmutable_=a;return b},Aba=function(a,b){if(Array.isArray(a)){var c=hb(a),d=1;!b||c&2||(d|=16);(c&d)!==d&&ib(a,c|d)}},Bba=function(a,b){return qba(b)},
Cba=function(a,b,c){return a[Tb]||(a[Tb]=function(d,e){return b(d,e,c)})},Fba=function(a){var b=a[Tb];if(!b){var c=Dba(a);b=function(d,e){return Eba(d,e,c)};a[Tb]=b}return b},Gba=function(a){var b=a.binaryFieldsInitializer;if(b)return Fba(b);if(b=a.messageSetReaderFn)return Cba(a.fieldInfo.ctor,b,a.messageSetExtensions)},Hba=function(a){var b=Gba(a),c=a.fieldInfo,d=a.readerWriterSelector.reader;return b?function(e,f){return d(e,f,c,b)}:function(e,f){return d(e,f,c)}},Jba=function(a,b){var c=a[b];
"function"==typeof c&&0===c.length&&(c=c(),a[b]=c);return Array.isArray(c)&&(Ub in c||Iba in c||0<c.length&&"function"==typeof c[0])?c:void 0},Kba=function(a,b){a[0]=b},Lba=function(a,b,c,d){var e=c.reader;a[b]=d?function(f,h,l){return e(f,h,l,d)}:e},Mba=function(a,b,c,d,e){var f=c.reader,h=Fba(d),l=Dba(d).ctor;a[b]=function(q,u,x){return f(q,u,x,l,h,e)}},Nba=function(a,b,c,d,e,f,h){var l=c.reader,q=Cba(d,e,f);a[b]=function(u,x,y){return l(u,x,y,d,q,h)}},Dba=function(a){var b=a[Ub];if(b)return b;
b=a[Ub]={};var c=Kba,d=Lba,e=Mba,f=Nba;b.ctor=a[0];var h=1;if(a.length>h&&"number"!==typeof a[h]){var l=a[h++];c(b,l)}for(;h<a.length;){c=a[h++];for(var q=h+1;q<a.length&&"number"!==typeof a[q];)q++;l=a[h++];q-=h;switch(q){case 0:d(b,c,l);break;case 1:(q=Jba(a,h))?(h++,e(b,c,l,q)):d(b,c,l,a[h++]);break;case 2:q=b;var u=h++;u=Jba(a,u);e(q,c,l,u,a[h++]);break;case 3:f(b,c,l,a[h++],a[h++],a[h++]);break;case 4:f(b,c,l,a[h++],a[h++],a[h++],a[h++]);break;default:throw Error("T`"+q);}}Ub in a&&Iba in a&&
(a.length=0);return b},Eba=function(a,b,c){for(;Oba(b)&&4!=b.nextWireType_;){var d=b.nextField_,e=c[d];if(!e){var f=c[0];f&&(f=f[d])&&(e=c[d]=Hba(f))}if(!e||!e(b,a,d))if(f=b,e=a,d=f.fieldCursor_,Vb(f),!f.discardUnknownFields){var h=f.decoder_.getCursor()-d;f.decoder_.cursor_=d;d=f.decoder_.readByteString(h);(f=e.internalUnknownFields_)?f.push(d):e.internalUnknownFields_=[d]}}return a},Xb=function(a,b){return{reader:a,writer:b}},Yb=function(a,b,c,d){return new Pba(a,b,c,d)},Zb=function(a,b){for(var c=
[],d=0;d<a.length;d++)c.push(b(a[d]));return c},Rba=function(a,b,c){for(var d in c){var e=c[d],f=e.isRepeated?a.getExtension(e):Qba(a,e);if(null!=f){var h=void 0;for(h in e.fieldName)if(e.fieldName.hasOwnProperty(h))break;var l=e.toObjectFn;b[h]=l?e.isRepeated?Zb(f,l):l(f):f}}},Sba=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));return a},$b=function(a){return null===a?void 0:a},Tba=function(a){return null==a?void 0:Array.isArray(a)?a.map(function(b){return Pb(b)}):
Pb(a)},ac=function(a){if(kb(a.internalArray_))throw Error("W");},cc=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("R`"+bc(b)+"`"+b);mb(b);return new a(b)}},dc=function(a){return function(b){return Uba(a,b)}},ec=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},gc=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Vba=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},Wba=function(a,b){for(var c in a)if(b.call(void 0,
a[c],c,a))return!0;return!1},Xba=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Yba=function(a,b){return null!==a&&b in a},Zba=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},$ba=function(a,b){return(b=Zba(a,b))&&a[b]},hc=function(a){for(var b in a)return!1;return!0},aca=function(a){for(var b in a)delete a[b]},ic=function(a,b){b in a&&delete a[b]},jc=function(a,b){return null!==a&&b in a?a[b]:void 0},kc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},lc=function(a,
b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<bca.length;f++)c=bca[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},cca=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return cca.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},jca=function(a){if(a instanceof mc)return'url("'+nc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof oc)a=pc(a);else{a=String(a);var b=a.replace(dca,
"$1").replace(dca,"$1").replace(eca,"url");if(fca.test(b)){if(b=!gca.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&hca(a)}a=b?ica(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new ca("Value does not allow [{;}], got: %s.",[a]);return a},hca=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},
ica=function(a){return a.replace(eca,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,l,q){f=l;return q});b=(kca(d)||qc).getTypedStringValue();return c+f+b+f+e})},lca=function(a,b){return Zone.current.wrap(a,b)},mca=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=lca(a[c],b+"_"+c));return a},oca=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={$jscomp$loop$prop$name$2097:d.$jscomp$loop$prop$name$2097},
e++){d.$jscomp$loop$prop$name$2097=b[e];var f=a[d.$jscomp$loop$prop$name$2097];if(f){var h=sc(a,d.$jscomp$loop$prop$name$2097);nca(h)&&(a[d.$jscomp$loop$prop$name$2097]=function(l){return function(q){var u=function(){return q.apply(this,mca(arguments,c+"."+l.$jscomp$loop$prop$name$2097))};tc(u,q);return u}}(d)(f))}}},nca=function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},rca=function(a,b,c){var d=sc(a,b);!d&&c&&sc(c,b)&&(d={enumerable:!0,configurable:!0});
if(d&&d.configurable&&(c=uc("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;delete d.value;var e=d.get,f=d.set,h=b.slice(2),l=vc[h];l||(l=vc[h]=uc("ON_PROPERTY"+h));d.set=function(q){var u=this;u||a!==wc||(u=wc);u&&("function"===typeof u[l]&&u.removeEventListener(h,pca),f&&f.call(u,null),u[l]=q,"function"===typeof q&&u.addEventListener(h,pca,!1))};d.get=function(){var q=this;q||a!==wc||(q=wc);if(!q)return null;var u=q[l];return u?u:e&&(u=e.call(this))?(d.set.call(this,u),"function"===
typeof q.removeAttribute&&q.removeAttribute(b),u):null};qca(a,b,d);a[c]=!0}},sca=function(a,b,c){if(b)for(var d=0;d<b.length;d++)rca(a,"on"+b[d],c);else{b=[];for(d in a)"on"==d.slice(0,2)&&b.push(d);for(d=0;d<b.length;d++)rca(a,b[d],c)}},yc=function(a){var b=wc[a];if(b){wc[uc(a)]=b;wc[a]=function(){var e=mca(arguments,a);switch(e.length){case 0:this[xc]=new b;break;case 1:this[xc]=new b(e[0]);break;case 2:this[xc]=new b(e[0],e[1]);break;case 3:this[xc]=new b(e[0],e[1],e[2]);break;case 4:this[xc]=
new b(e[0],e[1],e[2],e[3]);break;default:throw Error("na");}};tc(wc[a],b);var c=new b(function(){}),d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===typeof c[e]?wc[a].prototype[e]=function(){return this[xc][e].apply(this[xc],arguments)}:qca(wc[a].prototype,e,{set:function(f){"function"===typeof f?(this[xc][e]=lca(f,a+"."+e),tc(this[xc][e],f)):this[xc][e]=f},get:function(){return this[xc][e]}})}(d);for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&(wc[a][d]=b[d])}},zc=
function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=tca(d);!d&&a[b]&&(d=a);a=uc(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var f=d&&sc(d,b);if(nca(f)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};tc(d[b],e)}}return e},uca=function(a,b,c){function d(f){var h=f.data;h.args[h.cbIdx]=function(){f.invoke.apply(this,arguments)};e.apply(h.target,h.args);return f}var e=null;e=zc(a,b,function(f){return function(h,l){var q=c(h,l);return 0<=q.cbIdx&&"function"===typeof l[q.cbIdx]?
Zone.current.scheduleMacroTask(q.name,l[q.cbIdx],q,d):f.apply(h,l)}})},tc=function(a,b){a[uc("OriginalDelegate")]=b},xca=function(){if(vca)return wca;vca=!0;try{var a=Ac.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))wca=!0}catch(b){}return wca},yca=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=Bc+c;b=Bc+b;Cc[a]={};Cc[a]["false"]=c;Cc[a]["true"]=b},Eca=function(a,b,c,d){function e(W,ba,pa){if(ba=ba||a.event){W=W||ba.target||a;var na=
W[Cc[ba.type][pa?"true":"false"]];if(na){pa=[];if(1===na.length)(ba=G(na[0],W,ba))&&pa.push(ba);else{na=na.slice();for(var xa=0;xa<na.length&&(!ba||!0!==ba[zca]);xa++){var Fa=G(na[xa],W,ba);Fa&&pa.push(Fa)}}if(1===pa.length)throw pa[0];ba={};for(W=0;W<pa.length;ba={$jscomp$loop$prop$err$1653$2099:ba.$jscomp$loop$prop$err$1653$2099},W++)ba.$jscomp$loop$prop$err$1653$2099=pa[W],b.nativeScheduleMicroTask(function(Ha){return function(){throw Ha.$jscomp$loop$prop$err$1653$2099;}}(ba))}}}function f(W,ba){if(!W)return!1;
var pa=!0;ba&&void 0!==ba.useG&&(pa=ba.useG);var na=ba&&ba.vh,xa=!0;ba&&void 0!==ba.chkDup&&(xa=ba.chkDup);var Fa=!1;ba&&void 0!==ba.rt&&(Fa=ba.rt);for(var Ha=W;Ha&&!Ha.hasOwnProperty(h);)Ha=tca(Ha);!Ha&&W[h]&&(Ha=W);if(!Ha||Ha[x])return!1;var Bb=ba&&ba.eventNameToString,lb={},Ya=Ha[x]=Ha[h],qa=Ha[uc(l)]=Ha[l];W=Ha[uc(q)]=Ha[q];var Ba=Ha[uc(u)]=Ha[u],Ea;ba&&ba.prepend&&(Ea=Ha[uc(ba.prepend)]=Ha[ba.prepend]);var Oa=function(Za){if(!Za.isRemoved){var Cb=Cc[Za.eventName],Wb;Cb&&(Wb=Cb[Za.capture?"true":
"false"]);if(Cb=Wb&&Za.target[Wb])for(var rc=0;rc<Cb.length;rc++)if(Cb[rc]===Za){Cb.splice(rc,1);Za.isRemoved=!0;0===Cb.length&&(Za.allRemoved=!0,Za.target[Wb]=null);break}}if(Za.allRemoved)return qa.call(Za.target,Za.eventName,Za.capture?M:J,Za.options)},La=function(Za){return Ya.call(lb.target,lb.eventName,Za.invoke,lb.options)},fc=function(Za){return Ea.call(lb.target,lb.eventName,Za.invoke,lb.options)},Ua=function(Za){return qa.call(Za.target,Za.eventName,Za.invoke,Za.options)};La=pa?function(){if(!lb.isExisting)return Ya.call(lb.target,
lb.eventName,lb.capture?M:J,lb.options)}:La;Oa=pa?Oa:Ua;Ua=function(Za,Cb){var Wb=typeof Cb;return"function"===Wb&&Za.callback===Cb||"object"===Wb&&Za.originalDelegate===Cb};var bb=ba&&ba.diff?ba.diff:Ua,Sa=Zone[uc("UNPATCHED_EVENTS")],sb=a[uc("PASSIVE_EVENTS")];Ua=function(Za,Cb,Wb,rc,Kc,Pe){Kc=void 0===Kc?!1:Kc;Pe=void 0===Pe?!1:Pe;return function(){var xd=this||a,ee=arguments[0];ba&&ba.transferEventName&&(ee=ba.transferEventName(ee));var Si=arguments[1];if(!Si||Dc&&"uncaughtException"===ee)return Za.apply(this,
arguments);var k8=!1;if("function"!==typeof Si){if(!Si.handleEvent)return Za.apply(this,arguments);k8=!0}if(!na||na(Za,Si,xd,arguments)){var Kr=Ec&&!!sb&&-1!==sb.indexOf(ee);var ig=arguments[2];ig=!Ec&&"object"===typeof ig&&ig?!!ig.capture:Ec&&Kr?"boolean"===typeof ig?{capture:ig,passive:!0}:ig?"object"===typeof ig&&!1!==ig.passive?Object.assign({},ig,{passive:!0}):ig:{passive:!0}:ig;if(Sa)for(var eO=0;eO<Sa.length;eO++)if(ee===Sa[eO])return Kr?Za.call(xd,ee,Si,ig):Za.apply(this,arguments);Kr=ig?
"boolean"===typeof ig?!0:ig.capture:!1;eO=ig&&"object"===typeof ig?ig.once:!1;var mab=Zone.current,Lr=Cc[ee];Lr||(yca(ee,Bb),Lr=Cc[ee]);var pv=Lr[Kr?"true":"false"];Lr=xd[pv];var UF=!1;if(Lr){if(UF=!0,xa)for(pv=0;pv<Lr.length;pv++)if(bb(Lr[pv],Si))return}else Lr=xd[pv]=[];var Kl;pv=xd.constructor.name;var kDa=Aca[pv];kDa&&(Kl=kDa[ee]);Kl||(Kl=pv+Cb+(Bb?Bb(ee):ee));lb.options=ig;eO&&(lb.options.once=!1);lb.target=xd;lb.capture=Kr;lb.eventName=ee;lb.isExisting=UF;if(UF=pa?Bca:void 0)UF.taskData=lb;
Kl=mab.scheduleEventTask(Kl,Si,UF,Wb,rc);lb.target=null;UF&&(UF.taskData=null);eO&&(ig.once=!0);if(Ec||"boolean"!==typeof Kl.options)Kl.options=ig;Kl.target=xd;Kl.capture=Kr;Kl.eventName=ee;k8&&(Kl.originalDelegate=Si);Pe?Lr.unshift(Kl):Lr.push(Kl);if(Kc)return xd}}};Ha[h]=Ua(Ya,y,La,Oa,Fa);Ea&&(Ha.prependListener=Ua(Ea,".prependListener:",fc,Oa,Fa,!0));Ha[l]=function(){var Za=this||a,Cb=arguments[0];ba&&ba.transferEventName&&(Cb=ba.transferEventName(Cb));var Wb=arguments[2],rc=Wb?"boolean"===typeof Wb?
!0:Wb.capture:!1;Wb=arguments[1];if(!Wb)return qa.apply(this,arguments);if(!na||na(qa,Wb,Za,arguments)){var Kc=Cc[Cb],Pe;Kc&&(Pe=Kc[rc?"true":"false"]);if(rc=Pe&&Za[Pe])for(Kc=0;Kc<rc.length;Kc++){var xd=rc[Kc];if(bb(xd,Wb)){rc.splice(Kc,1);xd.isRemoved=!0;0===rc.length&&(xd.allRemoved=!0,Za[Pe]=null,"string"===typeof Cb&&(Za[Bc+"ON_PROPERTY"+Cb]=null));xd.zone.cancelTask(xd);if(Fa)return Za;return}}return qa.apply(this,arguments)}};Ha[q]=function(Za){var Cb=this||a,Wb=Za;ba&&ba.transferEventName&&
(Wb=ba.transferEventName(Wb));Za=[];Cb=Cca(Cb,Bb?Bb(Wb):Wb);for(Wb=0;Wb<Cb.length;Wb++){var rc=Cb[Wb];Za.push(rc.originalDelegate?rc.originalDelegate:rc.callback)}return Za};Ha[u]=function(Za){var Cb=this||a;if(Za){ba&&ba.transferEventName&&(Za=ba.transferEventName(Za));var Wb=Cc[Za];if(Wb){var rc=Cb[Wb["false"]];Cb=Cb[Wb["true"]];if(rc)for(rc=rc.slice(),Wb=0;Wb<rc.length;Wb++){var Kc=rc[Wb];this[l].call(this,Za,Kc.originalDelegate?Kc.originalDelegate:Kc.callback,Kc.options)}if(Cb)for(Cb=Cb.slice(),
rc=0;rc<Cb.length;rc++)Wb=Cb[rc],this[l].call(this,Za,Wb.originalDelegate?Wb.originalDelegate:Wb.callback,Wb.options)}}else{Za=Object.keys(Cb);for(Cb=0;Cb<Za.length;Cb++)(rc=(rc=Dca.exec(Za[Cb]))&&rc[1])&&"removeListener"!==rc&&this[u].call(this,rc);this[u].call(this,"removeListener")}if(Fa)return this};tc(Ha[h],Ya);tc(Ha[l],qa);Ba&&tc(Ha[u],Ba);W&&tc(Ha[q],W);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",u=d&&d.rmAll||"removeAllListeners",
x=uc(h),y="."+h+":",G=function(W,ba,pa){if(!W.isRemoved){var na=W.callback;"object"===typeof na&&na.handleEvent&&(W.callback=function(Ha){return na.handleEvent(Ha)},W.originalDelegate=na);try{W.invoke(W,ba,[pa])}catch(Ha){var xa=Ha}var Fa=W.options;Fa&&"object"===typeof Fa&&Fa.once&&ba[l].call(ba,pa.type,W.originalDelegate?W.originalDelegate:W.callback,Fa);return xa}},J=function(W){return e(this,W,!1)},M=function(W){return e(this,W,!0)},V=[],U=0;U<c.length;U++)V[U]=f(c[U],d);return V},Cca=function(a,
b){if(!b){var c=[],d;for(d in a){var e=Dca.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var f=0;f<e.length;f++)c.push(e[f])}return c}c=Cc[b];c||(yca(b),c=Cc[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Fca=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[zca]=!0;c&&c.apply(d,e)}})},Gc=function(a,b,c,d){function e(u){var x=u.data;x.args[0]=function(){return u.invoke.apply(this,
arguments)};x.handleId=h.apply(a,x.args);return u}function f(u){return l.call(a,u.data.handleId)}var h=null,l=null;b+=d;c+=d;var q={};h=zc(a,b,function(u){return function(x,y){if("function"===typeof y[0]){var G={isPeriodic:"Interval"===d,delay:"Timeout"===d||"Interval"===d?y[1]||0:void 0,args:y},J=y[0];y[0]=function(){try{return J.apply(this,arguments)}finally{G.isPeriodic||("number"===typeof G.handleId?delete q[G.handleId]:G.handleId&&(G.handleId[Fc]=null))}};x=Zone.current.scheduleMacroTask(b,y[0],
G,e,f);if(!x)return x;y=x.data.handleId;"number"===typeof y?q[y]=x:y&&(y[Fc]=x);y&&y.ref&&y.unref&&"function"===typeof y.ref&&"function"===typeof y.unref&&(x.ref=y.ref.bind(y),x.unref=y.unref.bind(y));return"number"===typeof y||y?y:x}return u.apply(a,y)}});l=zc(a,c,function(u){return function(x,y){x=y[0];if("number"===typeof x)var G=q[x];else(G=x&&x[Fc])||(G=x);G&&"string"===typeof G.type?"notScheduled"!==G.state&&(G.cancelFn&&G.data.isPeriodic||0===G.runCount)&&("number"===typeof x?delete q[x]:x&&
(x[Fc]=null),G.zone.cancelTask(G)):u.apply(a,y)}})},Gca=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(l,q,u){q&&q.prototype&&e.forEach(function(x){var y=c+"."+d+"::"+x,G=q.prototype;try{if(G.hasOwnProperty(x)){var J=a.ObjectGetOwnPropertyDescriptor(G,x);J&&J.value?(J.value=a.wrapWithCurrentZone(J.value,y),a._redefineProperty(q.prototype,x,J)):G[x]&&(G[x]=a.wrapWithCurrentZone(G[x],y))}else G[x]&&(G[x]=a.wrapWithCurrentZone(G[x],y))}catch(M){}});return h.call(b,
l,q,u)};a.attachOriginToPatched(b[d],h)}},Hca=function(a,b,c){if(!c||0===c.length)return b;c=c.filter(function(e){return e.target===a});if(!c||0===c.length)return b;var d=c[0].ignoreProperties;return b.filter(function(e){return-1===d.indexOf(e)})},Ica=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&2<b.length}).map(function(b){return b.substring(2)})},Nca=function(){Hc=Zone.__symbol__;Ic=Object[Hc("defineProperty")]=Object.defineProperty;Jca=Object[Hc("getOwnPropertyDescriptor")]=
Object.getOwnPropertyDescriptor;Kca=Object.create;Jc=Hc("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[Jc]&&a[Jc][b])throw new TypeError("ra`"+b+"`"+a);var d=c.configurable;"prototype"!==b&&(c=Lca(a,b,c));return Mca(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=m(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;(null==(e=Object.getOwnPropertyDescriptor(b,d))?0:e.enumerable)&&
Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,b){"object"!==typeof b||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=Lca(a,c,b[c])});return Kca(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Jca(a,b);c&&a&&a[Jc]&&a[Jc][b]&&(c.configurable=!1);return c}},Oca=function(a,b,c){var d=c.configurable;c=Lca(a,b,c);return Mca(a,b,c,d)},Lca=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[Jc]||Object.isFrozen(a)||Ic(a,Jc,{writable:!0,value:{}}),
a[Jc]&&(a[Jc][b]=!0));return c},Mca=function(a,b,c,d){try{return Ic(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return Ic(a,b,c)}catch(f){d=!1;if("createdCallback"===b||"attachedCallback"===b||"detachedCallback"===b||"attributeChangedCallback"===b)d=!0;if(!d)throw f;d=null;try{d=JSON.stringify(c)}catch(h){d=c.toString()}console.log("Attempting to configure '"+b+"' with descriptor '"+d+"' on object '"+a+"' and got error, giving up: "+f)}}else throw e;
}},Pca=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,l=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,u="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");
c=[];var x="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");a.wtf?c=x.map(function(ba){return"HTML"+ba+"Element"}).concat(u):
a.EventTarget?c.push("EventTarget"):c=u;var y=a.__Zone_disable_IE_check||!1,G=a.__Zone_enable_cross_context_check||!1,J=b.isIEOrEdge(),M={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(u=0;u<d.length;u++){var V=d[u],U=q+(V+l),W=q+(V+h);f[V]={};f[V][l]=U;f[V][h]=W}for(f=0;f<x.length;f++)for(h=
x[f],l=e[h]={},q=0;q<d.length;q++)u=d[q],l[u]=h+".addEventListener:"+u;d=[];for(e=0;e<c.length;e++)x=a[c[e]],d.push(x&&x.prototype);b.patchEventTarget(a,b,d,{vh:function(ba,pa,na,xa){if(!y&&J)if(G)try{var Fa=pa.toString();if("[object FunctionWrapper]"===Fa||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Fa)return ba.apply(na,xa),!1}catch(Ha){return ba.apply(na,xa),!1}else{if(pa=pa.toString(),"[object FunctionWrapper]"===pa||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
pa)return ba.apply(na,xa),!1}else if(G)try{pa.toString()}catch(Ha){return ba.apply(na,xa),!1}return!0},transferEventName:function(ba){return M[ba]||ba}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Qca=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,f=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[f.prototype]);b.WebSocket=function(l,q){var u=1<arguments.length?new f(l,q):new f(l),x=a.ObjectGetOwnPropertyDescriptor(u,"onmessage");if(x&&
!1===x.configurable){var y=a.ObjectCreate(u);var G=u;[d,e,"send","close"].forEach(function(J){y[J]=function(){var M=a.ArraySlice.call(arguments);if(J===d||J===e){var V=0<M.length?M[0]:void 0;V&&(V=Zone.__symbol__("ON_PROPERTY"+V),u[V]=y[V])}return u[J].apply(u,M)}})}else y=u;a.patchOnProperties(y,["close","error","message","open"],G);return y};c=b.WebSocket;for(var h in f)c[h]=f[h]},Rca=function(a,b){var c=a.getGlobalObjects(),d=c.isMix;if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,
"onclick")&&"undefined"!==typeof Element){if((c=a.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick"))&&!c.configurable)return!1;if(c)return a.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}}),d=!!document.createElement("div").onclick,a.ObjectDefineProperty(Element.prototype,"onclick",c),d}var e=b.XMLHttpRequest;if(!e)return!1;c=e.prototype;if(d=a.ObjectGetOwnPropertyDescriptor(c,"onreadystatechange"))return a.ObjectDefineProperty(c,
"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),e=!!(new e).onreadystatechange,a.ObjectDefineProperty(c,"onreadystatechange",d||{}),e;var f=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[f]},set:function(h){this[f]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[f]===c;a.onreadystatechange=null;return c},Tca=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Sca.length;c={$jscomp$loop$prop$onproperty$2106:c.$jscomp$loop$prop$onproperty$2106},
d++){var e=Sca[d];c.$jscomp$loop$prop$onproperty$2106="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var l;for(l=h?h.constructor.name+"."+f.$jscomp$loop$prop$onproperty$2106:"unknown."+f.$jscomp$loop$prop$onproperty$2106;h;){if(h[f.$jscomp$loop$prop$onproperty$2106]&&!h[f.$jscomp$loop$prop$onproperty$2106][b]){var q=a.wrapWithCurrentZone(h[f.$jscomp$loop$prop$onproperty$2106],l);q[b]=h[f.$jscomp$loop$prop$onproperty$2106];h[f.$jscomp$loop$prop$onproperty$2106]=q}h=h.parentElement}}}(c),
!0)}},Lc=function(a){for(var b in a)if(a[b]===Lc)return b;throw Error("sa");},Uca=function(a,b){for(var c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c])},Mc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(Mc).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return""+a.overriddenName;if(a.name)return""+a.name;a=a.toString();if(null==a)return""+a;var b=a.indexOf("\n");return-1===b?a:a.substring(0,b)},Vca=function(a,b){return null==a||""===a?null===
b?"":b:null==b||""===b?a:a+" "+b},Nc=function(a){a.__forward_ref__=Nc;a.toString=function(){return Mc(this())};return a},Oc=function(a){return Wca(a)?a():a},Wca=function(a){return"function"===typeof a&&a.hasOwnProperty(Xca)&&a.__forward_ref__===Nc},Pc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},Qc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Rc=function(a){var b;(b=a.hasOwnProperty(Yca)?a[Yca]:null)||(b=a.hasOwnProperty(Zca)?
a[Zca]:null);return b},$ca=function(a){var b=a&&(a[Yca]||a[Zca]);return b?(a.hasOwnProperty("name"),b):null},cda=function(a){return a&&(a.hasOwnProperty(ada)||a.hasOwnProperty(bda))?a[ada]:null},Sc=function(a){return"string"===typeof a?a:null==a?"":String(a)},Uc=function(){throw new Tc(-201,!1);},Vc=function(a){var b=dda;dda=a;return b},eda=function(a,b,c){var d=Rc(a);if(d&&"root"==d.providedIn)return void 0===d.value?d.value=d.factory():d.value;if(c&8)return null;if(void 0!==b)return b;Uc(Mc(a))},
Xc=function(a){var b=Wc;Wc=a;return b},fda=function(a,b){b=void 0===b?0:b;if(void 0===Wc)throw new Tc(-203,!1);return null===Wc?eda(a,void 0,b):Wc.get(a,b&8?null:void 0,b)},n=function(a,b){b=void 0===b?0:b;return(dda||fda)(Oc(a),b)},Zc=function(a,b){return n(a,Yc(void 0===b?0:b))},Yc=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},gda=function(a){for(var b=[],c=0;c<a.length;c++){var d=Oc(a[c]);if(Array.isArray(d)){if(0===d.length)throw new Tc(900,
!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var l=d[h],q=l.__NG_DI_FLAG__;"number"===typeof q?-1===q?e=l.token:f|=q:e=l}b.push(n(e,f))}else b.push(n(d))}return b},$c=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},ad=function(a){return{toString:a}.toString()},hda=function(a){return function(){var b=bd.apply(0,arguments);if(a){b=a.apply(null,p(b));for(var c in b)this[c]=b[c]}}},cd=function(a){return ad(function(){function b(){function d(h,l,q){for(l=h.hasOwnProperty("__parameters__")?
h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;l.length<=q;)l.push(null);(l[q]=l[q]||[]).push(f);return h}var e=bd.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var f=new (Function.prototype.bind.apply(b,[null].concat(p(e))));d.annotation=f;return d}var c=hda(a);return b})},r=function(a){return ad(function(){var b=!0===a.standalone,c={},d={type:a.type,providersResolver:null,decls:a.decls,vars:a.vars,factory:null,template:a.template||null,
consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:c,inputs:null,outputs:null,exportAs:a.exportAs||null,onPush:0===a.changeDetection,directiveDefs:null,pipeDefs:null,standalone:b,dependencies:b&&a.dependencies||null,getStandaloneInjector:null,selectors:a.selectors||dd,viewQuery:a.viewQuery||null,features:a.features||null,data:a.data||{},encapsulation:a.encapsulation||
0,id:"c"+ida++,styles:a.styles||dd,_:null,setInput:null,schemas:a.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},e=a.dependencies;b=a.features;d.inputs=jda(a.inputs,c);d.outputs=jda(a.outputs);b&&b.forEach(function(f){return f(d)});d.directiveDefs=e?function(){return("function"===typeof e?e():e).map(kda).filter(lda)}:null;d.pipeDefs=e?function(){return("function"===typeof e?e():e).map(mda).filter(lda)}:null;return d})},nda=function(a,b){var c=[];a=a.\u0275cmp;a.directiveDefs=
function(){return("function"===typeof b?b():b).map(kda)};a.pipeDefs=function(){return("function"===typeof c?c():c).map(mda)}},kda=function(a){return a[ed]||a[oda]||null},lda=function(a){return null!==a},fd=function(a){return ad(function(){return{type:a.type,bootstrap:a.bootstrap||dd,declarations:a.declarations||dd,imports:a.imports||dd,exports:a.exports||dd,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},jda=function(a,b){if(null==a)return gd;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=
a[d],f=e;Array.isArray(e)&&(f=e[1],e=e[0]);c[e]=d;b&&(b[e]=f)}return c},hd=function(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,standalone:!0===a.standalone,onDestroy:a.type.prototype.ngOnDestroy||null}},mda=function(a){return a[pda]||null},id=function(a){return Array.isArray(a)&&"object"===typeof a[1]},jd=function(a){return Array.isArray(a)&&!0===a[1]},ld=function(a){return a.hasOwnProperty(kd)?a[kd]:null},md=function(){return qda},qda=function(a){a.type.prototype.ngOnChanges&&
(a.setInput=rda);return sda},sda=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===gd)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},rda=function(a,b,c,d){c=this.declaredInputs[c];var e;(e=a.__ngSimpleChanges__||null)||(e=a.__ngSimpleChanges__={previous:gd,current:null});var f=e;e=f.current||(f.current={});f=f.previous;var h=f[c];e[c]=new tda(h&&h.currentValue,b,f===gd);a[d]=b},nd=function(a){for(;Array.isArray(a);)a=
a[0];return a},od=function(a,b){return nd(b[a.index])},pd=function(a,b){a=b[a];return id(a)?a:a[0]},qd=function(a,b){return null===b||void 0===b?null:a[b]},uda=function(a,b){a[5]+=b;var c=a;for(a=a[3];null!==a&&(1===b&&1===c[5]||-1===b&&0===c[5]);)a[5]+=b,c=a,a=a[3]},t=function(){return rd.lView},v=function(a){rd.contextLView=a;return a[8]},w=function(a){rd.contextLView=null;return a},sd=function(){for(var a=rd.currentTNode;null!==a&&64===a.type;)a=a.parent;return a},td=function(a,b){var c=rd;c.currentTNode=
a;c.isParent=b},ud=function(){var a=rd,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},vd=function(a){var b=rd,c=b.bindingIndex;b.bindingIndex+=a;return c},vda=function(a){var b=rd.currentDirectiveIndex;return-1===b?null:a[b]},xda=function(a,b,c){if(c&4){for(;!(b=b.parent,null!==b||c&1);){b=a[1];b=2===b.type?b.declTNode:1===b.type?a[6]:null;if(null===b)break;a=a[15];if(b.type&10)break}if(null===b)return!1}c=rd=wda();c.currentTNode=b;c.lView=a;return!0},yda=
function(a){var b=wda(),c=a[1];rd=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},wda=function(){var a=rd,b=null===a?null:a.child;return null===b?zda(a):b},zda=function(a){var b={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:a,child:null,inI18n:!1};null!==a&&(a.child=
b);return b},Ada=function(){var a=rd;rd=a.parent;a.currentTNode=null;a.lView=null;return a},Bda=function(){var a=Ada();a.isParent=!0;a.tView=null;a.selectedIndex=-1;a.contextLView=null;a.elementDepthCount=0;a.currentDirectiveIndex=-1;a.currentNamespace=null;a.bindingRootIndex=-1;a.bindingIndex=-1;a.currentQueryIndex=0},wd=function(){var a=rd;return a.tView.data[a.selectedIndex]},yd=function(){rd.currentNamespace="svg"},zd=function(){rd.currentNamespace=null},Ad=function(a,b){var c=b.directiveStart;
for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,f=d.ngAfterContentChecked,h=d.ngAfterViewInit,l=d.ngAfterViewChecked;d=d.ngOnDestroy;e&&(a.contentHooks||(a.contentHooks=[])).push(-c,e);f&&((a.contentHooks||(a.contentHooks=[])).push(c,f),(a.contentCheckHooks||(a.contentCheckHooks=[])).push(c,f));h&&(a.viewHooks||(a.viewHooks=[])).push(-c,h);l&&((a.viewHooks||(a.viewHooks=[])).push(c,l),(a.viewCheckHooks||(a.viewCheckHooks=[])).push(c,l));null!=d&&(a.destroyHooks||
(a.destroyHooks=[])).push(c,d)}},Cd=function(a,b,c,d){(a[2]&3)===c&&Bd(a,b,c,d)},Cda=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&2047)+1)},Bd=function(a,b,c,d){for(var e=null!=d?d:-1,f=b.length-1,h=0,l=void 0!==d?a[18]&65535:0;l<f;l++)if("number"===typeof b[l+1]){if(h=b[l],null!=d&&h>=d)break}else{0>b[l]&&(a[18]+=65536);if(h<e||-1==e){var q=0>b[l],u=b[l+1],x=a[q?-b[l]:b[l]];q?a[2]>>11<a[18]>>16&&(a[2]&3)===c&&(a[2]+=2048,u.call(x)):u.call(x);a[18]=(a[18]&4294901760)+l+2}l++}},Dda=function(a,b,c){for(var d=
0;d<c.length;){var e=c[d];if("number"===typeof e){if(0!==e)break;d++;e=c[d++];var f=c[d++],h=c[d++];a.setAttribute(b,f,h,e)}else f=c[++d],64===e.charCodeAt(0)?a.setProperty(b,e,f):a.setAttribute(b,e,f),d++}},Dd=function(a,b){if(null!==b&&0!==b.length)if(null===a||0===a.length)a=b.slice();else for(var c=-1,d=0;d<b.length;d++){var e=b[d];"number"===typeof e?c=e:0!==c&&(-1===c||2===c?Eda(a,c,e,b[++d]):Eda(a,c,e,null))}return a},Eda=function(a,b,c,d){var e=0,f=a.length;if(-1===b)f=-1;else for(;e<a.length;){var h=
a[e++];if("number"===typeof h)if(h===b){f=-1;break}else if(h>b){f=e-1;break}}for(;e<a.length;){h=a[e];if("number"===typeof h)break;else if(h===c){null!==d&&(a[e+1]=d);return}e++;null!==d&&e++}-1!==f&&(a.splice(f,0,b),e=f+1);a.splice(e++,0,c);null!==d&&a.splice(e++,0,d)},Ed=function(a,b){for(a>>=16;0<a;)b=b[15],a--;return b},Fd=function(a){var b=Fda;Fda=a;return b},Hda=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(Gd)&&(d=c[Gd]);null==d&&(d=c[Gd]=Gda++);c=d&255;b.data[a+
(c>>5)]|=1<<c},Hd=function(a,b){var c=Ida(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,Jda(c.data,a),Jda(b,null),Jda(c.blueprint,null));c=Kda(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=Ed(c,b),f=e[1].data,h=0;8>h;h++)b[a+h]=e[d+h]|f[d+h];b[a+8]=c;return a},Jda=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},Ida=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},Kda=function(a,
b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=Lda(c);if(null===b)break;a++;c=c[15];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},Id=function(a){var b=sd();if("class"===a)return b.classes;if("style"===a)return b.styles;if(b=b.attrs)for(var c=b.length,d=0;d<c;){var e=b[d];if(3===e||4===e||6===e)break;if(0===e)d+=2;else if("number"===typeof e)for(d++;d<c&&"string"===typeof b[d];)d++;else{if(e===a)return b[d+1];d+=2}}return null},
Mda=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=Vc();try{return a?a.get(b,d,c&8):eda(b,d,c&8)}finally{Vc(e)}}c&8||void 0!==d?b=d:(Uc(),b=void 0);return b},Oda=function(a,b,c,d,e){d=void 0===d?0:d;if(null!==a){if(b[2]&1024){a:{var f=d;for(var h=Jd,l=a,q=b;null!==l&&null!==q&&q[2]&1024&&!(q[2]&256);){var u=Nda(l,q,c,f|2);if(u!==Jd){f=u;break a}l=l.parent;if(!l){if(l=q[21])if(l=l.get(c,Jd,f),l!==Jd){f=l;break a}l=Lda(q);q=q[15]}}f=h}if(f!==Jd)return f}a=Nda(a,b,c,d);if(a!==
Jd)return a}return Mda(b,c,d,e)},Nda=function(a,b,c,d){var e=Jd;if("string"===typeof c)var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(Gd)?c[Gd]:void 0,f="number"===typeof f?0<=f?f&255:Pda:f;if("function"===typeof f){if(!xda(b,a,d))return d&1?d&8||void 0!==e?b=e:(Uc(),b=void 0):b=Mda(b,c,d,e),b;try{var h=f(d);if(null!=h||d&8)return h;Uc()}finally{Ada()}}else if("number"===typeof f){h=null;var l=Ida(a,b),q=d&1?b[16][6]:null;if(-1===l||d&4){var u=-1===l?Kda(a,b):b[l+8];-1===u||d&2?l=-1:(h=b[1],l=u&
32767,b=Ed(u,b))}for(;-1!==l;){a=b[1];if(a.data[l+(f>>5)]&1<<f){u=b[1];var x=u.data[l+8],y=Kd(x,u,c,null==h?-1<x.componentOffset&&Fda:h!=u&&0!==(x.type&3),d&1&&q===x);u=null!==y?Ld(b,u,y,x):Jd;if(u!==Jd)return u}u=b[l+8];-1!==u&&!(d&2||d&1&&b[1].data[l+8]===q)&&b[l+(f>>5)]&1<<f?(h=a,l=u&32767,b=Ed(u,b)):l=-1}}return e},Kd=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,l=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?l+q:a;for(d=d?l:l+q;d<f;d++)if(l=h[d],d<b&&c===l||d>=b&&l.type===
c)return d;return e&&(e=h[b])&&null!==e.template&&e.type===c?b:null},Ld=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof Md){var h=e;if(h.resolving)throw a=f[c],new Tc(-200,"Circular dependency in DI detected for "+("function"===typeof a?a.name||a.toString():"object"===typeof a&&null!=a&&"function"===typeof a.type?a.type.name||a.type.toString():Sc(a)));var l=Fd(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?Vc(h.injectImpl):null;xda(a,d,0);try{if(e=a[c]=h.factory(void 0,f,a,d),b.firstCreatePass&&
c>=d.directiveStart){var u=f[c],x=u.type.prototype,y=x.ngOnInit,G=x.ngDoCheck;if(x.ngOnChanges){var J=qda(u);(b.preOrderHooks||(b.preOrderHooks=[])).push(c,J);(b.preOrderCheckHooks||(b.preOrderCheckHooks=[])).push(c,J)}y&&(b.preOrderHooks||(b.preOrderHooks=[])).push(-c,y);G&&((b.preOrderHooks||(b.preOrderHooks=[])).push(c,G),(b.preOrderCheckHooks||(b.preOrderCheckHooks=[])).push(c,G))}}finally{null!==q&&Vc(q),Fd(l),h.resolving=!1,Ada()}}return e},Pda=function(){return new Nd(sd(),t())},Od=function(a){return ad(function(){var b=
a.prototype.constructor;b=b[kd]||Qda(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[kd]||Qda(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},Qda=function(a){return Wca(a)?function(){var b=Qda(Oc(a));return b&&b()}:ld(a)},Lda=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:1===c?a[6]:null},Rda=function(a,b){a.forEach(function(c){return Array.isArray(c)?Rda(c,b):b(c)})},Pd=function(a,b){return b>=a.length-
1?a.pop():a.splice(b,1)[0]},Sda=function(a,b){for(var c=[],d=0;d<a;d++)c.push(b);return c},Rd=function(a,b,c){var d=Qd(a,b);if(0<=d)a[d|1]=c;else{var e=d=~d,f=a.length;if(f==e)a.push(b,c);else if(1===f)a.push(c,a[0]),a[0]=b;else{f--;for(a.push(a[f-1],a[f]);f>e;)a[f]=a[f-2],f--;a[e]=b;a[e+1]=c}}return d},Tda=function(a,b){b=Qd(a,b);if(0<=b)return a[b|1]},Qd=function(a,b){for(var c=0,d=a.length>>1;d!==c;){var e=c+(d-c>>1),f=a[e<<1];if(b===f)return e<<1;f>b?d=e:c=e+1}return~(d<<1)},Vda=function(){return{"\u0275providers":Uda(!0,
bd.apply(0,arguments)),"\u0275fromNgModule":!0}},Uda=function(a){var b=[],c=new Set,d;Rda(bd.apply(1,arguments),function(e){Wda(e,b,[],c)&&(d||(d=[]),d.push(e))});void 0!==d&&Xda(d,b);return b},Xda=function(a,b){for(var c={},d=0;d<a.length;c={$jscomp$loop$prop$providers$2108:c.$jscomp$loop$prop$providers$2108,$jscomp$loop$prop$ngModule$2109:c.$jscomp$loop$prop$ngModule$2109},d++){var e=a[d];c.$jscomp$loop$prop$ngModule$2109=e.ngModule;c.$jscomp$loop$prop$providers$2108=e.providers;Yda(c.$jscomp$loop$prop$providers$2108,
function(){return function(f){b.push(f)}}(c))}},Wda=function(a,b,c,d){a=Oc(a);if(!a)return!1;var e=null,f=cda(a),h=!f&&(a[ed]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(f=cda(l))e=l;else return!1}l=d.has(e);if(h){if(l)return!1;d.add(e);if(h.dependencies)for(f="function"===typeof h.dependencies?h.dependencies():h.dependencies,f=m(f),l=f.next();!l.done;l=f.next())Wda(l.value,b,c,d)}else if(f){if(null!=f.imports&&!l){d.add(e);var q;Rda(f.imports,function(u){Wda(u,b,c,d)&&
(q||(q=[]),q.push(u))});void 0!==q&&Xda(q,b)}l||(h=ld(e)||function(){return new e},b.push({provide:e,useFactory:h,deps:dd},{provide:Zda,useValue:e,multi:!0},{provide:$da,useValue:function(){return n(e)},multi:!0}));f=f.providers;null==f||l||Yda(f,function(u){b.push(u)})}else return!1;return e!==a&&void 0!==a.providers},Yda=function(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?Yda(c,b):b(c)},bea=function(a){return null!==a&&
"object"==typeof a&&aea in a},Sd=function(a){return"function"===typeof a},Td=function(){void 0===cea&&(cea=new dea);return cea},fea=function(a){var b=Rc(a);b=null!==b?b.factory:ld(a);if(null!==b)return b;if(a instanceof Ud)throw new Tc(204,!1);if(a instanceof Function)return eea(a);throw new Tc(204,!1);},eea=function(a){var b=a.length;if(0<b)throw Sda(b,"?"),new Tc(204,!1);var c=$ca(a);return null!==c?function(){return c.factory(a)}:function(){return new a}},hea=function(a){if(bea(a))return Vd(void 0,
a.useValue);a=gea(a);return Vd(a,Wd)},gea=function(a){var b=void 0;if(Sd(a))return b=Oc(a),ld(b)||fea(b);if(bea(a))b=function(){return Oc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,p(gda(a.deps||[])))};else if(a&&a.useExisting)b=function(){return n(Oc(a.useExisting))};else{var c=Oc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(p(gda(a.deps)))))};else return ld(c)||fea(c)}return b},Vd=function(a,b,c){return{factory:a,
value:b,multi:(void 0===c?0:c)?[]:void 0}},iea=function(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?iea(c,b):c&&c&&c.\u0275providers?iea(c.\u0275providers,b):b(c)},lea=function(a,b,c,d){a=jea(a,void 0===b?null:b,void 0===c?null:c,d);kea(a);return a},jea=function(a,b,c,d,e){b=void 0===b?null:b;e=void 0===e?new Set:e;c=[(void 0===c?null:c)||dd,Vda(a)];d=d||("object"===typeof a?void 0:Mc(a));return new Xd(c,b||Td(),d||null,e)},Zd=function(a,b){return new Yd(od(a,b))},
mea=function(a){return a instanceof Yd?a.nativeElement:a},$d=function(a,b){id(b)?(a.__ngContext__=b[20],nea.set(b[20],b)):a.__ngContext__=b},ae=function(a){return a.ownerDocument.defaultView},oea=function(a){return a.ownerDocument},z=function(a){pea(rd.tView,t(),rd.selectedIndex+a)},pea=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&Bd(b,a,3,c)):(a=a.preOrderHooks,null!==a&&Cd(b,a,0,c));rd.selectedIndex=c},A=function(a,b){b=void 0===b?0:b;var c=t();return null===c?n(a,b):Oda(sd(),
c,Oc(a),b)},be=function(){throw Error("wa");},qea=function(a){a=a[3];return jd(a)?a[3]:a},ce=function(a){for(;null!==a&&!jd(a);)a=a[4];return a},de=function(a,b,c,d,e){if(null!=d){var f=!1;if(jd(d))var h=d;else id(d)&&(f=!0,d=d[0]);d=nd(d);if(0===a&&null!==c)null==e?b.appendChild(c,d):b.insertBefore(c,d,e||null,!0);else if(1===a&&null!==c)b.insertBefore(c,d,e||null,!0);else if(2===a){var l=b.parentNode(d);l&&b.removeChild(l,d,f)}else 3===a&&b.destroyNode(d);if(null!=h)for(d=h[7],f=nd(h),d!==f&&de(a,
b,c,d,e),e=10;e<h.length;e++)f=h[e],fe(b,a,f[1].firstChild,f,c,d,!1)}},rea=function(a,b){a=a[9];var c=a.indexOf(b),d=b[3];b[2]&512&&(b[2]&=-513,uda(d,-1));a.splice(c,1)},sea=function(a,b){if(!(10>=a.length)){var c=10+b,d=a[c];if(d){var e=d[17];null!==e&&e!==a&&rea(e,d);0<b&&(a[c-1][4]=d[4]);a=Pd(a,10+b);fe(d[11],2,d[1].firstChild,d,null,null,!1);d[0]=null;d[6]=null;b=a[19];null!==b&&b.detachView(a[1]);d[3]=null;d[4]=null;d[2]&=-65}return d}},uea=function(a,b){if(!(b[2]&128)){var c=b[11];c.destroyNode&&
fe(c,3,a.firstChild,b,null,null,!1);if(a=b[13])for(;a;){c=null;if(id(a))c=a[13];else{var d=a[10];d&&(c=d)}if(!c){for(;a&&!a[4]&&a!==b;)id(a)&&tea(a[1],a),a=a[3];null===a&&(a=b);id(a)&&tea(a[1],a);c=a&&a[4]}a=c}else tea(b[1],b)}},tea=function(a,b){if(!(b[2]&128)){b[2]&=-65;b[2]|=128;var c;if(null!=a&&null!=(c=a.destroyHooks))for(var d=0;d<c.length;d+=2){var e=b[c[d]];if(!(e instanceof Md)){var f=c[d+1];if(Array.isArray(f))for(var h=0;h<f.length;h+=2)f[h+1].call(e[f[h]]);else f.call(e)}}c=a.cleanup;
d=b[7];if(null!==c)for(e=0;e<c.length-1;e+=2)if("string"===typeof c[e]){f=c[e+3];if(0<=f)d[f]();else d[-f].unsubscribe();e+=2}else c[e].call(d[c[e+1]]);null!==d&&(b[7]=null);c=b[22];if(null!==c){for(d=0;d<c.length;d++)(0,c[d])();b[22]=null}1===b[1].type&&b[11].destroy();c=b[17];null!==c&&jd(b[3])&&(c!==b[3]&&rea(c,b),c=b[19],null!==c&&c.detachView(a));nea.delete(b[20])}},vea=function(a,b,c){for(;null!==b&&b.type&40;)b=b.parent;if(null===b)return c[0];var d=b.componentOffset;return-1<d&&(a=a.data[b.directiveStart+
d].encapsulation,2===a||0===a)?null:od(b,c)},ge=function(a,b,c,d){a=vea(a,d.parent,b);var e=b[11];d=d.parent||b[6];b=d.type&40?od(d,b):null;if(null!=a)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=c[d];null!==b?e.insertBefore(a,f,b,!1):e.appendChild(a,f)}else null!==b?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},he=function(a,b){if(null!==b){var c=b.type;if(c&3)return od(b,a);if(c&4)return wea(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return he(a,c);a=a[b.index];return jd(a)?wea(-1,a):nd(a)}if(c&
32)return(void 0)(b,a)()||nd(a[b.index]);c=null!==b?a[16][6].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=qea(a[16]);return he(a,c)}return he(a,b.next)}return null},wea=function(a,b){a+=11;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return he(a,c)}return b[7]},fe=function(a,b,c,d,e,f,h){for(;null!=c;){var l=d[c.index],q=c.type;h&&0===b&&(l&&$d(nd(l),d),c.flags|=2);if(32!==(c.flags&32))if(q&8)fe(a,b,c.child,d,e,f,!1),de(b,a,e,l,f);else if(q&32){q=(void 0)(c,
d);for(var u;u=q();)de(b,a,e,u,f);de(b,a,e,l,f)}else q&16?xea(a,b,d,c,e,f):de(b,a,e,l,f);c=h?c.projectionNext:c.next}},xea=function(a,b,c,d,e,f){c=c[16];d=c[6].projection[d.projection];if(Array.isArray(d))for(c=0;c<d.length;c++)de(b,a,e,d[c],f);else fe(a,b,d,c[3],e,f,!0)},yea=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&Dda(a,b,d);null!==e&&(""===e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},zea=function(a,b){for(var c=0,
d=a.length;;){c=a.indexOf(b,c);if(-1===c)return c;if(0===c||32>=a.charCodeAt(c-1)){var e=b.length;if(c+e===d||32>=a.charCodeAt(c+e))return c}c+=1}},Aea=function(a,b,c){var d=4,e=a.attrs||[],f;a:{for(f=0;f<e.length;f++){var h=e[f];if(3===h||4===h||6===h)break a}f=e.length}h=!1;for(var l=0;l<b.length;l++){var q=b[l];if("number"===typeof q){if(!h&&0!==(d&1)&&0!==(q&1))return!1;h&&0===(q&1)||(h=!1,d=q|d&1)}else if(!h)if(d&4){if(d=2|d&1,""!==q&&q!==(4!==a.type||c?a.value:"ng-template")||""===q&&1===b.length){if(0===
(d&1))return!1;h=!0}}else{var u=d&8?q:b[++l];if(d&8&&null!==a.attrs){a:{q=a.attrs;for(var x=c,y=0;y<q.length;){var G=q[y++];if(x&&"class"===G){if(G=q[y],-1!==zea(G.toLowerCase(),u)){u=!0;break a}}else if(1===G){for(;y<q.length&&"string"==typeof(G=q[y++]);)if(G.toLowerCase()===u){u=!0;break a}break}}u=!1}if(!u){if(0===(d&1))return!1;h=!0}}else{a:if(q=d&8?"class":q,null===e)q=-1;else if(x=0,c||4!==a.type||"ng-template"===a.value){for(y=!1;x<e.length;){G=e[x];if(G===q){q=x;break a}if(3===G||6===G)y=
!0;else if(1===G||2===G){for(G=e[++x];"string"===typeof G;)G=e[++x];continue}else if(4===G)break;else if(0===G){x+=4;continue}x+=y?1:2}q=-1}else b:{x=e.indexOf(4);if(-1<x)for(x++;x<e.length;){y=e[x];if("number"===typeof y)break;if(y===q){q=x;break b}x++}q=-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==u&&(q=q>f?"":e[q+1].toLowerCase(),(x=d&8?q:null)&&-1!==zea(x,u)||d&2&&u!==q)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},Bea=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(Aea(a,
b[d],c))return!0;return!1},Cea=function(a){for(var b=a[0],c=1,d=2,e="",f=!1;c<a.length;){var h=a[c];if("string"===typeof h)if(d&2){var l=a[++c];e+="["+h+(0<l.length?'="'+l+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else""!==e&&0!==(h&1)&&(b+=f?":not("+e.trim()+")":e,e=""),d=h,f=f||0!==(d&1);c++}""!==e&&(b+=f?":not("+e.trim()+")":e);return b},je=function(a){return a instanceof ie?a.changingThisBreaksApplicationSecurity:a},ke=function(a,b){a=a instanceof ie&&a.getTypeName()||null;if(null!=a&&a!==
b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("xa`"+b+"`"+a);}return a===b},Dea=function(){if(void 0===le&&(le=null,me.trustedTypes))try{le=me.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return le},ne=function(a){var b;return(null==(b=Dea())?void 0:b.createHTML(a))||a},Fea=function(a){a=String(a);return a.match(Eea)?a:"unsafe:"+a},oe=function(a){var b={};a=m(a.split(","));for(var c=
a.next();!c.done;c=a.next())b[c.value]=!0;return b},pe=function(){for(var a={},b=m(bd.apply(0,arguments)),c=b.next();!c.done;c=b.next()){c=c.value;for(var d in c)c.hasOwnProperty(d)&&(a[d]=!0)}return a},Iea=function(a){return a.replace(/&/g,"&amp;").replace(Gea,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Hea,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},Rea=function(a,b){var c=null;try{var d;if(!(d=qe)){var e=
new Jea(a);try{var f=!!(new window.DOMParser).parseFromString(ne(""),"text/html")}catch(U){f=!1}d=f?new Kea(e):e}qe=d;var h=b?String(b):"";c=qe.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("za");a--;h=b;b=c.innerHTML;c=qe.getInertBodyElement(h)}while(h!==b);var l=new Lea,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?c.content:null)||c).firstChild;for(h=!0;q;){if(q.nodeType===Node.ELEMENT_NODE){a=l;b=q;var u=b.nodeName.toLowerCase();if(Mea.hasOwnProperty(u)){a.buf.push("<");
a.buf.push(u);var x=b.attributes;for(b=0;b<x.length;b++){var y=x.item(b),G=y.name,J=G.toLowerCase();if(Nea.hasOwnProperty(J)){var M=y.value;Oea[J]&&(M=Fea(M));a.buf.push(" ",G,'="',Iea(M),'"')}}a.buf.push(">");h=!0}else h=!Pea.hasOwnProperty(u)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(Iea(q.nodeValue));if(h&&q.firstChild)q=q.firstChild;else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);var V=Qea(q,q.nextSibling);if(V){q=V;break}q=Qea(q,q.parentNode)}}return ne(l.buf.join(""))}finally{if(c)for(c=
("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?c.content:null)||c;c.firstChild;)c.removeChild(c.firstChild)}},Sea=function(){if(void 0===re&&(re=null,me.trustedTypes))try{re=me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return re},Tea=function(a){var b;return(null==(b=Sea())?void 0:b.createHTML(a))||a},Uea=function(a){var b;return(null==(b=Sea())?void 0:
b.createScriptURL(a))||a},te=function(a){var b=se();b?a=Tea(b.sanitize(1,a)||""):ke(a,"HTML")?a=Tea(je(a)):(b=void 0!==Vea?Vea:"undefined"!==typeof document?document:void 0,a=Rea(b,Sc(a)));return a},Wea=function(a){var b=se();return b?b.sanitize(2,a)||"":ke(a,"Style")?je(a):Sc(a)},ue=function(a){var b=se();return b?b.sanitize(4,a)||"":ke(a,"URL")?je(a):Fea(Sc(a))},Xea=function(a){var b=se();if(b)return Uea(b.sanitize(5,a)||"");if(ke(a,"ResourceURL"))return Uea(je(a));throw new Tc(904,!1);},se=function(){var a=
t();return a&&a[12]},Yea=function(a,b){var c=a.contentQueries;if(null!==c)for(var d=0;d<c.length;d+=2){var e=c[d],f=c[d+1];if(-1!==f){var h=a.data[f];rd.currentQueryIndex=e;h.contentQueries(2,b[f],f)}}},ve=function(a,b,c,d,e,f,h,l,q,u,x){var y=b.blueprint.slice();y[0]=e;y[2]=d|76;if(null!==x||a&&a[2]&1024)y[2]|=1024;y[18]=0;y[3]=y[15]=a;y[8]=c;y[10]=h||a&&a[10];y[11]=l||a&&a[11];y[12]=q||a&&a[12]||null;y[9]=u||a&&a[9]||null;y[6]=f;y[20]=Zea++;y[21]=x;y[16]=2==b.type?a[16]:y;return y},we=function(a,
b,c,d,e){var f=a.data[b];if(null===f){f=rd.currentTNode;var h=rd.isParent,l=h?f:f&&f.parent;b=a.data[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:l?l.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,prev:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,
residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};null===a.firstChild&&(a.firstChild=b);null!==f&&(h?null==f.child&&null!==b.parent&&(f.child=b):null===f.next&&(f.next=b,b.prev=f));f=b;rd.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=e,a=rd,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=null===a?-1:a.injectorIndex);td(f,!0);return f},$ea=function(a,b,c,d){if(0===c)return-1;for(var e=b.length,f=0;f<c;f++)b.push(d),
a.blueprint.push(d),a.data.push(null);return e},bfa=function(a,b,c){yda(b);try{var d=a.viewQuery;null!==d&&(rd.currentQueryIndex=0,d(1,c));var e=a.template;null!==e&&afa(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&Yea(a,b);if(a.staticViewQueries){var f=a.viewQuery;rd.currentQueryIndex=0;f(2,c)}var h=a.components;if(null!==h)for(c=0;c<h.length;c++){for(var l=pd(h[c],b),q=l[1],u=l.length;u<q.blueprint.length;u++)l.push(q.blueprint[u]);bfa(q,l,l[8])}}catch(x){throw a.firstCreatePass&&
(a.incompleteFirstPass=!0,a.firstCreatePass=!1),x;}finally{b[2]&=-5,Bda()}},xe=function(a,b,c,d){var e=b[2];if(128!==(e&128)){yda(b);try{b[18]=0;rd.bindingIndex=a.bindingStartIndex;null!==c&&afa(a,b,c,2,d);if(c=3===(e&3)){var f=a.preOrderCheckHooks;null!==f&&Bd(b,f,3,null)}else{var h=a.preOrderHooks;null!==h&&Cd(b,h,0,null);Cda(b,0)}for(var l=ce(b[13]);null!==l;l=ce(l[4]))if(l[2]){var q=l[9];for(f=0;f<q.length;f++){var u=q[f],x=u[3];0===(u[2]&512)&&uda(x,1);u[2]|=512}}for(var y=ce(b[13]);null!==y;y=
ce(y[4]))for(l=10;l<y.length;l++){var G=y[l],J=G[1];64===(G[2]&64)&&xe(J,G,J.template,G[8])}null!==a.contentQueries&&Yea(a,b);if(c){var M=a.contentCheckHooks;null!==M&&Bd(b,M,3)}else{var V=a.contentHooks;null!==V&&Cd(b,V,1);Cda(b,1)}var U=a.hostBindingOpCodes;if(null!==U)try{for(y=0;y<U.length;y++){var W=U[y];if(0>W)rd.selectedIndex=~W;else{G=W;var ba=U[++y],pa=U[++y];J=rd;J.bindingIndex=J.bindingRootIndex=ba;rd.currentDirectiveIndex=G;pa(2,b[G])}}}finally{rd.selectedIndex=-1}var na=a.components;
if(null!==na)for(U=0;U<na.length;U++){var xa=pd(na[U],b);if(64===(xa[2]&64)){var Fa=xa[1];xa[2]&48?xe(Fa,xa,Fa.template,xa[8]):0<xa[5]&&cfa(xa)}}var Ha=a.viewQuery;null!==Ha&&(rd.currentQueryIndex=0,Ha(2,d));if(c){var Bb=a.viewCheckHooks;null!==Bb&&Bd(b,Bb,3)}else{var lb=a.viewHooks;null!==lb&&Cd(b,lb,2);Cda(b,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1);b[2]&=-41;b[2]&512&&(b[2]&=-513,uda(b[3],-1))}finally{Bda()}}},afa=function(a,b,c,d,e){var f=rd.selectedIndex;try{rd.selectedIndex=-1,d&2&&
23<b.length&&pea(a,b,23),c(d,e)}finally{rd.selectedIndex=f}},dfa=function(a,b,c){if(0!==(b.flags&4)){var d=b.directiveEnd;for(b=b.directiveStart;b<d;b++){var e=a.data[b];e.contentQueries&&e.contentQueries(1,c[b],b)}}},gfa=function(a,b,c){var d=od(c,b),e=c.directiveStart,f=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],l=od(c,b),q=efa(h),u=b[10];h=ye(b,ve(b,q,null,h.onPush?32:16,l,c,u,u.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||Hd(c,b);$d(d,b);
d=c.initialInputs;for(h=e;h<f;h++){l=a.data[h];q=Ld(b,a,h,c);$d(q,b);if(null!==d&&(u=d[h-e],null!==u))for(var x=l.setInput,y=0;y<u.length;){var G=u[y++],J=u[y++],M=u[y++];null!==x?l.setInput(q,M,G,J):q[J]=M}null!==l.template&&(pd(c.index,b)[8]=Ld(b,a,h,c))}64===(c.flags&64)&&ffa(a,b,c)},hfa=function(a,b,c){c=void 0===c?od:c;var d=b.localNames;if(null!==d)for(var e=b.index+1,f=0;f<d.length;f+=2){var h=d[f+1];h=-1===h?c(b,a):a[h];a[e++]=h}},efa=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?
a.tView=ifa(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts):b},ifa=function(a,b,c,d,e,f,h,l,q,u){d=23+d;e=d+e;for(var x=[],y=0;y<e;y++)x.push(y<d?null:ze);u="function"===typeof u?u():u;return x[1]={type:a,blueprint:x,template:c,queries:null,viewQuery:l,declTNode:b,data:x.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:e,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,
preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"===typeof f?f():f,pipeRegistry:"function"===typeof h?h():h,firstChild:null,schemas:q,consts:u,incompleteFirstPass:!1}},jfa=function(a,b,c,d){for(var e in a)if(a.hasOwnProperty(e)){c=null===c?{}:c;var f=a[e];if(null===d){var h=c,l=b,q=e;h.hasOwnProperty(q)?h[q].push(l,f):h[q]=[l,f]}else d.hasOwnProperty(e)&&
(h=c,l=b,q=d[e],h.hasOwnProperty(q)?h[q].push(l,f):h[q]=[l,f])}return c},Ae=function(a,b,c,d,e,f,h,l){var q=od(b,c),u=b.inputs,x;!l&&null!=u&&(x=u[d])?(kfa(a,c,x,d,e),-1<b.componentOffset&&lfa(c,b.index)):b.type&3&&(d="class"===d?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,e=null!=h?h(e,b.value||"",d):e,f.setProperty(q,d,e))},lfa=function(a,b){a=pd(b,a);a[2]&16||(a[2]|=32)},ofa=function(a,b,c,d){var e=
null===d?null:{"":-1};var f=a.directiveRegistry;var h=null,l=null;if(f)for(var q=0;q<f.length;q++){var u=f[q];if(Bea(c,u.selectors,!1))if(h||(h=[]),null!==u.template)if(null!==u.findHostDirectiveDefs){var x=[];l=l||new Map;u.findHostDirectiveDefs(u,x,l);h.unshift.apply(h,[].concat(p(x),[u]));mfa(a,c,x.length)}else h.unshift(u),mfa(a,c,0);else{l=l||new Map;var y=x=void 0;null==(y=(x=u).findHostDirectiveDefs)||y.call(x,u,h,l);h.push(u)}}f=null===h?null:[h,l];null===f?f=h=null:(h=m(f),f=h.next().value,
h=h.next().value);null!==f&&nfa(a,b,c,f,e,h);if(e&&d)for(a=c.localNames=[],b=0;b<d.length;b+=2){f=e[d[b+1]];if(null==f)throw new Tc(-301,!1);a.push(d[b],f)}c.mergedAttrs=Dd(c.mergedAttrs,c.attrs)},nfa=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var l=Hd(c,b);Hda(l,a,d[h].type)}h=a.data.length;l=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=h+l;c.providerIndexes=h;for(h=0;h<d.length;h++)l=d[h],l.providersResolver&&l.providersResolver(l);l=h=!1;for(var q=$ea(a,b,d.length,null),u=0;u<d.length;u++){var x=
d[u];c.mergedAttrs=Dd(c.mergedAttrs,x.hostAttrs);var y=a,G=c,J=b,M=q;y.data[M]=x;var V=x.factory||(x.factory=ld(x.type));V=new Md(V,null!==x.template);y.blueprint[M]=V;J[M]=V;var U=G;J=$ea(y,J,x.hostVars,ze);if(G=x.hostBindings){V=y.hostBindingOpCodes;null===V&&(V=y.hostBindingOpCodes=[]);y=~U.index;a:{for(U=V.length;0<U;){var W=V[--U];if("number"===typeof W&&0>W){U=W;break a}}U=0}U!=y&&V.push(y);V.push(M,J,G)}y=q;if(M=e){if(x.exportAs)for(J=0;J<x.exportAs.length;J++)M[x.exportAs[J]]=y;null!==x.template&&
(M[""]=y)}null!==x.contentQueries&&(c.flags|=4);if(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)c.flags|=64;x=x.type.prototype;!h&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((a.preOrderHooks||(a.preOrderHooks=[])).push(c.index),h=!0);l||!x.ngOnChanges&&!x.ngDoCheck||((a.preOrderCheckHooks||(a.preOrderCheckHooks=[])).push(c.index),l=!0);q++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){u=a[q];y=(x=f?f.get(u):null)?x.outputs:null;h=jfa(u.inputs,q,h,x?
x.inputs:null);l=jfa(u.outputs,q,l,y);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)u=null;else{u=h;x=q;y=null;for(M=0;M<d.length;)if(J=d[M],0===J)M+=4;else{if(5!==J){if("number"===typeof J)break;if(u.hasOwnProperty(J))for(null===y&&(y=[]),G=u[J],V=0;V<G.length;V+=2)if(G[V]===x){y.push(J,G[V+1],d[M+1]);break}}M+=2}u=y}e.push(u)}null!==h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},ffa=function(a,b,c){var d=
c.directiveStart,e=c.directiveEnd,f=c.index;c=rd.currentDirectiveIndex;try{for(rd.selectedIndex=f;d<e;d++){var h=a.data[d],l=b[d];rd.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,l)}}finally{rd.selectedIndex=-1,rd.currentDirectiveIndex=c}},mfa=function(a,b,c){b.componentOffset=c;(a.components||(a.components=[])).push(b.index)},Be=function(a,b,c,d,e,f){var h=od(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,f):(d=null==
e?Sc(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},cfa=function(a){for(var b=ce(a[13]);null!==b;b=ce(b[4]))for(var c=10;c<b.length;c++){var d=b[c];if(64===(d[2]&64))if(d[2]&512){var e=d[1];xe(e,d,e.template,d[8])}else 0<d[5]&&cfa(d)}b=a[1].components;if(null!==b)for(c=0;c<b.length;c++)d=pd(b[c],a),64===(d[2]&64)&&0<d[5]&&cfa(d)},ye=function(a,b){a[13]?a[14][4]=b:a[13]=b;return a[14]=b},pfa=function(a){for(;a;){a[2]|=32;var b=qea(a);if(0!==(a[2]&256)&&!b)break;a=b}},rfa=function(a,b,c,d){d=void 0===d?
!0:d;var e=b[10];e.begin&&e.begin();try{xe(a,b,a.template,c)}catch(f){throw d&&qfa(b,f),f;}finally{e.end&&e.end()}},sfa=function(a,b,c){if(null===a||null!==a.template)a:{for(a=c[b.index];Array.isArray(a);){if("object"===typeof a[1]){c=a;break a}a=a[0]}c=null}return c[11]},qfa=function(a,b){(a=(a=a[9])?a.get(Ce,null):null)&&a.handleError(b)},kfa=function(a,b,c,d,e){for(var f=0;f<c.length;){var h=c[f++],l=c[f++],q=b[h];h=a.data[h];null!==h.setInput?h.setInput(q,e,d,l):q[l]=e}},De=function(a,b,c){var d=
c?a.styles:null,e=c?a.classes:null,f=0;if(null!==b)for(var h=0;h<b.length;h++){var l=b[h];if("number"===typeof l)f=l;else if(1==f)e=Vca(e,l);else if(2==f){var q=b[++h];d=Vca(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},Ee=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==c;){var f=b[c.index];null!==f&&d.push(nd(f));if(jd(f))for(var h=10;h<f.length;h++){var l=f[h],q=l[1].firstChild;null!==q&&Ee(l[1],l,q,d)}f=c.type;if(f&8)Ee(a,b,c.child,d);else if(f&32)for(f=
(void 0)(c,b);h=f();)d.push(h);else f&16&&(f=null!==c?b[16][6].projection[c.projection]:null,Array.isArray(f)?d.push.apply(d,p(f)):(h=qea(b[16]),Ee(h[1],h,f,d,!0)));c=e?c.projectionNext:c.next}return d},tfa=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push({propName:a[c],templateName:c});return b},ufa=function(){Ad(t()[1],sd())},vfa=function(a,b,c){return(new Fe(a,b,void 0===c?null:c)).injector},Ge=function(a){return!!a&&"function"===typeof a.then},wfa=function(a){return!!a&&"function"===
typeof a.subscribe},yfa=function(){return xfa()+xfa()+xfa()},xfa=function(){return String.fromCharCode(97+Math.floor(25*Math.random()))},He=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=zfa(b))return a;b=b.split("-")[0];if(a=zfa(b))return a;if("en"===b)return Afa;throw new Tc(701,!1);},zfa=function(a){a in Bfa||(Bfa[a]=me.ng&&me.ng.common&&me.ng.common.locales&&me.ng.common.locales[a]);return Bfa[a]},Dfa=function(a){"undefined"===typeof Zone?Cfa.then(function(){a&&a.apply(null,null)}):
Zone.current.scheduleMicroTask("scheduleMicrotask",a)},Ie=function(a){setTimeout(function(){throw a;},0)},Je=function(a){return"function"===typeof a},Ke=function(a){return null!==a&&"object"===typeof a},Efa=function(a){return a instanceof Le||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},Ffa=function(a){return a.reduce(function(b,c){return b.concat(c instanceof Me?c.errors:c)},[])},Gfa=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;
if(b.closed||d)return!1;c&&c instanceof Ne?a=c:a=null}return!0},Oe=function(a){return a},Hfa=function(a){return 0===a.length?Oe:1===a.length?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},Ifa=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},Jfa=function(a){a||(a=Qe.Promise||Promise);if(!a)throw Error("Ca");return a},Kfa=function(a){return new Re(function(b){return a.schedule(function(){return b.complete()})})},Lfa=function(a,
b){return new Re(function(c){var d=new Le,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},Se=function(a,b){return b?Lfa(a,b):new Re(Mfa(a))},Te=function(a){return a&&"function"===typeof a.schedule},Nfa=function(){var a=bd.apply(0,arguments),b=a[a.length-1];return Te(b)?(a.pop(),Lfa(a,b)):Se(a)},Ofa=function(a){a.subscriber.error(a.error)},Ue=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Da");
},Ve=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);throw new TypeError("Da");},We=function(){return function(a){return Ue(a,new Pfa)}},B=function(a){return function(b){if("function"!==typeof a)throw new TypeError("Ea");return Ue(b,new Qfa(a))}},Rfa=function(a,b,c){if(b)if(Te(b))c=b;else return function(){return Rfa(a,c).apply(null,p(bd.apply(0,arguments))).pipe(B(function(d){return Xe(d)?b.apply(null,p(d)):b(d)}))};return function(){var d=bd.apply(0,arguments),e=this,f,
h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new Re(function(l){if(c)return c.schedule(Sfa,0,{args:d,subscriber:l,params:h});if(!f){f=new Ye;var q=function(){var u=bd.apply(0,arguments);f.next(1>=u.length?u[0]:u);f.complete()};try{a.apply(e,[].concat(p(d),[q]))}catch(u){Gfa(f)?f.error(u):console.warn(u)}}return f.subscribe(l)})}},Sfa=function(a){var b=this,c=a.args,d=a.subscriber,e=a.params;a=e.callbackFunc;var f=e.context,h=e.scheduler,l=e.subject;if(!l){l=e.subject=new Ye;e=function(){var q=
bd.apply(0,arguments);b.add(h.schedule(Tfa,0,{value:1>=q.length?q[0]:q,subject:l}))};try{a.apply(f,[].concat(p(c),[e]))}catch(q){l.error(q)}}this.add(l.subscribe(d))},Tfa=function(a){var b=a.subject;b.next(a.value);b.complete()},Ufa=function(a,b,c){if(b)if(Te(b))c=b;else return function(){return Ufa(a,c).apply(null,p(bd.apply(0,arguments))).pipe(B(function(d){return Xe(d)?b.apply(null,p(d)):b(d)}))};return function(){var d=bd.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,
context:this};return new Re(function(f){var h=e.context,l=e.subject;if(c)return c.schedule(Vfa,0,{params:e,subscriber:f,context:h});if(!l){l=e.subject=new Ye;var q=function(){var u=bd.apply(0,arguments),x=u.shift();x?l.error(x):(l.next(1>=u.length?u[0]:u),l.complete())};try{a.apply(h,[].concat(p(d),[q]))}catch(u){Gfa(l)?l.error(u):console.warn(u)}}return l.subscribe(f)})}},Vfa=function(a){var b=this,c=a.params,d=a.subscriber;a=a.context;var e=c.callbackFunc,f=c.args,h=c.scheduler,l=c.subject;if(!l){l=
c.subject=new Ye;c=function(){var q=bd.apply(0,arguments),u=q.shift();u?b.add(h.schedule(Wfa,0,{err:u,subject:l})):b.add(h.schedule(Xfa,0,{value:1>=q.length?q[0]:q,subject:l}))};try{e.apply(a,[].concat(p(f),[c]))}catch(q){this.add(h.schedule(Wfa,0,{err:q,subject:l}))}}this.add(l.subscribe(d))},Xfa=function(a){var b=a.subject;b.next(a.value);b.complete()},Wfa=function(a){a.subject.error(a.err)},Yfa=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},$fa=function(a){return function(b){Zfa(a,
b).catch(function(c){return b.error(c)})}},Zfa=function(a,b){var c,d,e,f,h,l;return Ze(function(q){switch(q.nextAddress){case 1:$e(q,2,3);var u=a[Symbol.asyncIterator];f=void 0!==u?u.call(a):new aga(m(a));case 5:return af(q,f.next(),8);case 8:d=q.yieldResult;if(d.done){q.jumpTo(3);break}h=d.value;b.next(h);q.jumpTo(5);break;case 3:bf(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return af(q,e.call(f),9);case 9:bf(q,0,0,1);if(c)throw c.error;cf(q,10,1);break;
case 10:cf(q,4);break;case 2:l=df(q);c={error:l};q.jumpTo(3);break;case 4:b.complete(),ef(q)}})},gf=function(a,b){if(!b.closed)return a instanceof Re?a.subscribe(b):ff(a)(b)},bga=function(a,b){if(!a)throw Error("Ha");return new Re(function(c){var d=new Le;d.add(b.schedule(function(){var e=a[Symbol.asyncIterator]();d.add(b.schedule(function(){var f=this;e.next().then(function(h){h.done?c.complete():(c.next(h.value),f.schedule())})}))}));return d})},cga=function(a,b){if(!a)throw Error("Ha");return new Re(function(c){var d=
new Le,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[hf]();d.add(b.schedule(function(){if(!c.closed){try{var f=e.next();var h=f.value;var l=f.done}catch(q){c.error(q);return}l?c.complete():(c.next(h),this.schedule())}}))}));return d})},dga=function(a,b){return new Re(function(c){var d=new Le;d.add(b.schedule(function(){var e=a[jf]();d.add(e.subscribe({next:function(f){d.add(b.schedule(function(){return c.next(f)}))},error:function(f){d.add(b.schedule(function(){return c.error(f)}))},
complete:function(){d.add(b.schedule(function(){return c.complete()}))}}))}));return d})},ega=function(a,b){return new Re(function(c){var d=new Le;d.add(b.schedule(function(){return a.then(function(e){d.add(b.schedule(function(){c.next(e);d.add(b.schedule(function(){return c.complete()}))}))},function(e){d.add(b.schedule(function(){return c.error(e)}))})}));return d})},gga=function(a,b){if(null!=a){if(a&&"function"===typeof a[jf])return dga(a,b);if(Yfa(a))return ega(a,b);if(fga(a))return Lfa(a,b);
if(a&&"function"===typeof a[hf]||"string"===typeof a)return cga(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return bga(a,b)}throw new TypeError("Ia`"+(null!==a&&typeof a||a));},kf=function(a,b){return b?gga(a,b):a instanceof Re?a:new Re(ff(a))},lf=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(lf(function(e,f){return kf(a(e,f)).pipe(B(function(h,l){return b(e,h,f,l)}))},c))};"number"===typeof b&&(c=b);return function(d){return Ue(d,
new hga(a,c))}},mf=function(a){a=void 0===a?Infinity:a;return lf(Oe,a)},nf=function(){return mf(1)(Nfa.apply(null,p(bd.apply(0,arguments))))},iga=function(a){return new Re(function(b){try{var c=a()}catch(d){b.error(d);return}return kf(c).subscribe(b)})},lga=function(a){return new Re(function(b){var c=a||jga,d=c.now(),e=function(h){var l=c.now();b.next({timestamp:a?l:h,elapsed:l-d});b.closed||(f=kga(e))};var f=kga(e);return function(){return f.unsubscribe()}})},of=function(a,b){return new Re(function(c){var d=
a.length;if(0===d)c.complete();else for(var e=Array(d),f=0,h=0,l={$jscomp$loop$prop$i$2114:0};l.$jscomp$loop$prop$i$2114<d;l={$jscomp$loop$prop$hasValue$2115:l.$jscomp$loop$prop$hasValue$2115,$jscomp$loop$prop$i$2114:l.$jscomp$loop$prop$i$2114},l.$jscomp$loop$prop$i$2114++){var q=kf(a[l.$jscomp$loop$prop$i$2114]);l.$jscomp$loop$prop$hasValue$2115=!1;c.add(q.subscribe({next:function(u){return function(x){u.$jscomp$loop$prop$hasValue$2115||(u.$jscomp$loop$prop$hasValue$2115=!0,h++);e[u.$jscomp$loop$prop$i$2114]=
x}}(l),error:function(u){return c.error(u)},complete:function(u){return function(){f++;f!==d&&u.$jscomp$loop$prop$hasValue$2115||(h===d&&c.next(b?b.reduce(function(x,y,G){return x[y]=e[G],x},{}):e),c.complete())}}(l)}))}})},mga=function(a,b,c,d){Je(c)&&(d=c,c=void 0);return d?mga(a,b,c).pipe(B(function(e){return Xe(e)?d.apply(null,p(e)):d(e)})):new Re(function(e){nga(a,b,function(f){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(f)},e,c)})},nga=function(a,b,c,d,e){if(a&&"function"===
typeof a.addEventListener&&"function"===typeof a.removeEventListener){a.addEventListener(b,c,e);var f=function(){return a.removeEventListener(b,c,e)}}else if(a&&"function"===typeof a.on&&"function"===typeof a.off)a.on(b,c),f=function(){return a.off(b,c)};else if(a&&"function"===typeof a.addListener&&"function"===typeof a.removeListener)a.addListener(b,c),f=function(){return a.removeListener(b,c)};else if(a&&a.length)for(var h=0,l=a.length;h<l;h++)nga(a[h],b,c,d,e);else throw new TypeError("Ja");d.add(f)},
oga=function(a,b,c){return c?oga(a,b).pipe(B(function(d){return Xe(d)?c.apply(null,p(d)):c(d)})):new Re(function(d){var e=function(){var h=bd.apply(0,arguments);return d.next(1===h.length?h[0]:h)};try{var f=a(e)}catch(h){d.error(h);return}if(Je(b))return function(){return b(e,f)}})},pga=function(a){var b=a.subscriber,c=a.condition;if(!b.closed){if(a.needIterate)try{a.state=a.iterate(a.state)}catch(f){b.error(f);return}else a.needIterate=!0;if(c){try{var d=c(a.state)}catch(f){b.error(f);return}if(!d){b.complete();
return}if(b.closed)return}try{var e=a.resultSelector(a.state)}catch(f){b.error(f);return}if(!b.closed&&(b.next(e),!b.closed))return this.schedule(a)}},qga=function(a){return!Xe(a)&&0<=a-parseFloat(a)+1},rga=function(a){var b=a.subscriber,c=a.counter;a=a.period;b.next(c);this.schedule({subscriber:b,counter:c+1,period:a},a)},pf=function(){},sga=function(){var a=bd.apply(0,arguments);if(0===a.length)return qf;var b=m(a),c=b.next().value,d=rf(b);return 1===a.length&&Xe(c)?sga.apply(null,p(c)):new Re(function(e){var f=
function(){return e.add(sga.apply(null,p(d)).subscribe(e))};return kf(c).subscribe({next:function(h){e.next(h)},error:f,complete:f})})},tga=function(a){var b=a.keys,c=a.index,d=a.subscriber,e=a.subscription;a=a.obj;if(!d.closed)if(c<b.length){var f=b[c];d.next([f,a[f]]);e.add(this.schedule({keys:b,index:c+1,subscriber:d,subscription:e,obj:a}))}else d.complete()},sf=function(a,b){return function(c){return Ue(c,new uga(a,b))}},vga=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}
c.pred=a;c.thisArg=b;return c},xga=function(){var a=bd.apply(0,arguments);if(1===a.length)if(Xe(a[0]))a=a[0];else return kf(a[0]);return Ue(Se(a),new wga)},yga=function(a){var b=a.start,c=a.index,d=a.subscriber;c>=a.count?d.complete():(d.next(b),d.closed||(a.index=c+1,a.start=b+1,this.schedule(a)))},zga=function(a){return a instanceof Date&&!isNaN(a)},Bga=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(Te(b)?c=b:d=b);Te(c)||(c=tf);return new Re(function(e){var f=Math.max(0,zga(a)?+a-c.now():a);
return c.schedule(Aga,f,{counter:0,period:d,subscriber:e})})},Aga=function(a){var b=a.period,c=a.subscriber,d=a.counter++;c.next(d);if(!c.closed){if(0>b)return c.complete();this.schedule(a,b)}},uf=function(a){var b;return function(c){var d=void 0,e=void 0,f=null,h;b=null!=(h=b)?h:tf;if(zga(a))var l=a;else if("number"===typeof a)d=a;else{l=a.first;d=a.each;e=a.with;b=a.scheduler||tf;var q;f=null!=(q=a.meta)?q:null}var u;e=null!=(u=e)?u:Cga;if(null==l&&null==d)throw new TypeError("La");return Ue(c,
function(x){var y=this,G=new Le,J,M=null,V=null,U=0,W=function(ba){G.add(M=b.schedule(function(){var pa={meta:f,lastValue:V,seen:U};try{var na=kf(e(pa))}catch(xa){y.error(xa);return}J.unsubscribe();G.add(na.subscribe(y))},ba))};G.add(J=x.subscribe({next:function(ba){var pa;null==(pa=M)||pa.unsubscribe();M=null;U++;V=ba;null!=d&&0<d&&W(d);y.next(ba)},error:function(ba){return y.error(ba)},complete:function(){return y.complete()}}));x=null!=l?"number"===typeof l?l:+l-b.now():d;W(x);return G})}},Cga=
function(a){throw new Dga(a);},Fga=function(a){return a in Ega?(delete Ega[a],!0):!1},Gga=function(a){return function(b){setTimeout(a,void 0,b)}},Hga=function(){},vf=function(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(function(){return a.onStable.emit(null)})}finally{a.isStable=!0}}},Jga=function(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=
a.nativeRequestAnimationFrame.call(me,function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.lastRequestAnimationFrameId=-1;Iga(a);a.isCheckStableRunning=!0;vf(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),Iga(a))},Lga=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,c,d,e,f,h){try{return Kga(a),b.invokeTask(d,e,f,h)}finally{(a.shouldCoalesceEventChangeDetection&&
"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&Jga(a),a._nesting--,vf(a)}},onInvoke:function(b,c,d,e,f,h,l){try{return Kga(a),b.invoke(d,e,f,h,l)}finally{a.shouldCoalesceRunChangeDetection&&Jga(a),a._nesting--,vf(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,Iga(a),vf(a)):"macroTask"==e.change&&(a.hasPendingMacrotasks=e.macroTask))},onHandleError:function(b,c,d,e){b.handleError(d,e);a.runOutsideAngular(function(){return a.onError.emit(e)});
return!1}})},Iga=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?!0:!1},Kga=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},Nga=function(a){return function(b){return Ue(b,new Mga(a))}},wf=function(a,b){b=void 0===b?tf:b;return Nga(function(){return Bga(a,b)})},xf=function(a){return function(b){return Ue(b,new Oga(a))}},yf=function(a){return function(b){return Ue(b,
function(c){var d=this,e=new Le,f=null,h=!1,l;f=c.subscribe({next:function(q){return d.next(q)},error:function(q){try{l=kf(a(q,yf(a)(c)))}catch(u){d.error(u)}l&&(f?(f.unsubscribe(),f=null,e.add(l.subscribe(d))):h=!0)},complete:function(){return d.complete()}});h?(f.unsubscribe(),f=null,e.add(l.subscribe(d))):e.add(f);return e})}},Qga=function(){var a=bd.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&Xe(a[0])&&(a=a[0].slice());return function(c){return Ve(c,
kf([c].concat(p(a))),new Pga(b))}},zf=function(){return Qga.apply(null,p(bd.apply(0,arguments)))},Rga=function(){var a=bd.apply(0,arguments);return function(b){return Ve(b,nf.apply(null,[b].concat(p(a))))}},Sga=function(){var a=bd.apply(0,arguments);return function(b){return Ve(b,nf.apply(null,[b].concat(p(a))))}},Uga=function(a){return function(b){return Ue(b,new Tga(a))}},Af=function(a,b){b=void 0===b?tf:b;return function(c){return Ue(c,new Vga(a,b))}},Xga=function(a){Wga(a)},Bf=function(a){a=void 0===
a?null:a;return function(b){return Ue(b,new Yga(a))}},Cf=function(a,b){b=void 0===b?tf:b;var c=zga(a)?+a-b.now():Math.abs(a);return function(d){return Ue(d,new Zga(c,b))}},Df=function(a){return function(b){return Ue(b,new $ga(a))}},Ef=function(){if(isNaN(1))throw new TypeError("Na");return function(a){return Ue(a,new aha)}},dha=function(a){a=void 0===a?bha:a;return function(b){return Ue(b,new cha(a))}},bha=function(){return new Ff},Gf=function(a){return function(b){return Ue(b,new eha(a))}},Hf=function(a,
b){var c=2<=arguments.length;return function(d){return d.pipe(a?sf(function(e,f){return a(e,f,d)}):Oe,Ef(),c?Bf(b):dha(function(){return new Ff}))}},gha=function(){return function(a){return Ue(a,new fha)}},iha=function(){if(isNaN(1))throw new TypeError("Na");return function(a){return Ue(a,new hha)}},jha=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?sf(function(e,f){return a(e,f,d)}):Oe,iha(),c?Bf(b):dha(function(){return new Ff}))}},If=function(a){return function(b){return Ue(b,
new kha(a))}},Jf=function(a,b){var c=!1;2<=arguments.length&&(c=!0);return function(d){return Ue(d,new lha(a,b,c))}},nha=function(a){return function(b){var c;"function"===typeof a?c=a:c=function(){return a};var d=Object.create(b,mha);d.source=b;d.subjectFactory=c;return d}},oha=function(){var a=new Kf(1,void 0,void 0);return function(b){return nha(function(){return a})(b)}},pha=function(){var a=bd.apply(0,arguments);return function(b){return 0===a.length?b:Ve(b,xga.apply(null,[b].concat(p(a))))}},
qha=function(){return new Lf},Mf=function(){return function(a){return We()(nha(qha)(a))}},Nf=function(a){var b;a&&"object"===typeof a?b=a:b={bufferSize:a,windowTime:void 0,refCount:!1,scheduler:void 0};return function(c){return Ue(c,rha(b))}},rha=function(a){var b=void 0===a.bufferSize?Infinity:a.bufferSize,c=void 0===a.windowTime?Infinity:a.windowTime,d=a.refCount,e=a.scheduler,f,h=0,l;return function(q){h++;if(f)var u=f.subscribe(this);else f=new Kf(b,c,e),u=f.subscribe(this),l=q.subscribe({next:function(x){f.next(x)},
error:function(x){var y=f;f=l=void 0;y.error(x)},complete:function(){l=void 0;f.complete()}}),l.closed&&(l=void 0);this.add(function(){h--;u.unsubscribe();d&&0===h&&l&&(l.unsubscribe(),f=l=void 0)})}},Of=function(a){return function(b){return Ue(b,new sha(a))}},Pf=function(){var a=bd.apply(0,arguments),b=a[a.length-1];return Te(b)?(a.pop(),function(c){return nf(a,c,b)}):function(c){return nf(a,c)}},Qf=function(a){return function(b){return Ue(b,new tha(a))}},uha=function(a){return Qf(function(){return a})},
Rf=function(a){return function(b){return Ue(b,new vha(a))}},xha=function(a){var b=void 0===b?!1:b;return function(c){return Ue(c,new wha(a,b))}},Sf=function(a,b){return function(c){return Ue(c,new yha(a,b))}},Bha=function(a){var b=void 0===b?zha:b;return function(c){return Ue(c,new Aha(a,!!b.leading,!!b.trailing))}},Tf=function(){var a=bd.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return Ue(b,new Cha(a,c))}},Eha=function(a){var b;null==(b=a.get(Dha,
null))||b.forEach(function(c){return c()})},Iha=function(a,b,c){c=void 0===c?[]:c;var d="Platform: "+b,e=new Ud(d);return function(f){f=void 0===f?[]:f;var h=Fha();if(!h||h.injector.get(Gha,!1))if(f=[].concat(p(c),p(f),[{provide:e,useValue:!0}]),a)a(f);else{f=Hha(f,d);if(Uf&&!Uf.get(Gha,!1))throw new Tc(400,!1);Uf=f;f.get(Vf);Eha(f)}f=Fha();if(!f)throw new Tc(401,!1);return f}},Hha=function(a,b){a=void 0===a?[]:a;return Wf({name:b,providers:[{provide:Jha,useValue:"platform"},{provide:Kha,useValue:new Set([function(){return Uf=
null}])}].concat(p(a))})},Fha=function(){var a,b;return null!=(b=null==(a=Uf)?void 0:a.get(Vf))?b:null},Lha=function(a){var b,c;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!=(b=null==a?void 0:a.ngZoneEventCoalescing)?b:!1,shouldCoalesceRunChangeDetection:null!=(c=null==a?void 0:a.ngZoneRunCoalescing)?c:!1}},Mha=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new Xf:"zone.js"===a?new Yf(b):a},Nha=function(a,b,c){try{var d=c();return Ge(d)?d.catch(function(e){b.runOutsideAngular(function(){return a.handleError(e)});
throw e;}):d}catch(e){throw b.runOutsideAngular(function(){return a.handleError(e)}),e;}},Oha=function(a,b){return Array.isArray(b)?b.reduce(Oha,a):Object.assign({},a,b)},Zf=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},$f=function(a){for(var b=Object.getPrototypeOf(a.type.prototype).constructor,c=!0,d=[a];b;){if(null!==a.template)var e=b.\u0275cmp||b.\u0275dir;else{if(b.\u0275cmp)throw new Tc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=Pha(a.inputs);f.declaredInputs=Pha(a.declaredInputs);
f.outputs=Pha(a.outputs);(f=e.hostBindings)&&Qha(a,f);f=e.viewQuery;var h=e.contentQueries;f&&Rha(a,f);h&&Sha(a,h);Uca(a.inputs,e.inputs);Uca(a.declaredInputs,e.declaredInputs);Uca(a.outputs,e.outputs);null!==e.template&&e.data.animation&&(f=a.data,f.animation=(f.animation||[]).concat(e.data.animation))}if(e=e.features)for(f=0;f<e.length;f++)(h=e[f])&&h.ngInherit&&h(a),h===$f&&(c=!1)}b=Object.getPrototypeOf(b)}a=0;b=null;for(c=d.length-1;0<=c;c--)e=d[c],e.hostVars=a+=e.hostVars,e.hostAttrs=Dd(e.hostAttrs,
b=Dd(b,e.hostAttrs))},Pha=function(a){return a===gd?{}:a===dd?[]:a},Rha=function(a,b){var c=a.viewQuery;c?a.viewQuery=function(d,e){b(d,e);c(d,e)}:a.viewQuery=b},Sha=function(a,b){var c=a.contentQueries;c?a.contentQueries=function(d,e,f){b(d,e,f);c(d,e,f)}:a.contentQueries=b},Qha=function(a,b){var c=a.hostBindings;c?a.hostBindings=function(d,e){b(d,e);c(d,e)}:a.hostBindings=b},Uha=function(a){return Tha(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Vha=function(a,b){if(Array.isArray(a))for(var c=
0;c<a.length;c++)b(a[c]);else for(a=a[Symbol.iterator]();!(c=a.next()).done;)b(c.value)},Tha=function(a){return null!==a&&("function"===typeof a||"object"===typeof a)},ag=function(a,b,c){return a[b]=c},bg=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},cg=function(a,b,c,d){c=bg(a,b,c);return bg(a,b+1,d)||c},dg=function(a,b,c,d){var e=t(),f=rd.bindingIndex++;bg(e,f,b)&&(f=wd(),Be(f,e,a,b,c,d));return dg},eg=function(a,b,c,d){return bg(a,rd.bindingIndex++,c)?b+Sc(c)+d:ze},Wha=function(a,
b,c,d,e,f){a=cg(a,rd.bindingIndex,c,e);vd(2);return a?b+Sc(c)+d+Sc(e)+f:ze},fg=function(a,b,c,d,e,f){var h=t();b=eg(h,b,c,d);b!==ze&&(c=wd(),Be(c,h,a,b,e,f));return fg},gg=function(a,b,c,d,e,f,h,l){var q=t();b=Wha(q,b,c,d,e,f);b!==ze&&(c=wd(),Be(c,q,a,b,h,l));return gg},Xha=function(a,b,c,d,e,f,h,l,q,u){var x=t();var y=rd.bindingIndex;var G=cg(x,y,c,e);y=bg(x,y+2,h)||G;vd(3);b=y?b+Sc(c)+d+Sc(e)+f+Sc(h)+l:ze;b!==ze&&(c=wd(),Be(c,x,a,b,q,u));return Xha},C=function(a,b,c){var d=t(),e=rd.bindingIndex++;
if(bg(d,e,b)){e=rd.tView;var f=wd();Ae(e,f,d,a,b,d[11],c,!1)}return C},Yha=function(a,b,c,d,e){e=e?"class":"style";kfa(a,c,b.inputs[e],e,d)},Zha=function(a,b,c,d){for(var e=a[c+1],f=null===b,h=d?e>>17&32767:(e&131068)>>2,l=!1;0!==h&&(!1===l||f);){var q=a[h+1],u=a[h],x=b;if(null===u||null==x||(Array.isArray(u)?u[1]:u)===x||Array.isArray(u)&&"string"===typeof x&&0<=Qd(u,x))l=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}l&&(a[c+1]=d?e|2:e|1)},$ha=function(a,b){var c=hg;if(c===b)return-1;for(b=jg=
b;b<c&&32<a.charCodeAt(b);)b++;b=kg=b;return lg(a,b,c)},cia=function(a,b){var c=hg;b=jg=lg(a,b,c);if(c===b)return-1;for(var d;b<c&&(45===(d=a.charCodeAt(b))||95===d||65<=(d&-33)&&90>=(d&-33)||48<=d&&57>=d);)b++;b=kg=b;b=aia(a,b,c);d=b=mg=lg(a,b,c);for(var e=b=-1,f=-1,h=d,l=h;h<c;){var q=a.charCodeAt(h++);if(59===q)break;else 34===q||39===q?l=h=bia(a,q,h,c):d===h-4&&85===f&&82===e&&76===b&&40===q?l=h=bia(a,41,h,c):32<q&&(l=h);f=e;e=b;b=q&-33}b=ng=l;return aia(a,b,c)},lg=function(a,b,c){for(;b<c&&32>=
a.charCodeAt(b);)b++;return b},aia=function(a,b,c){b=lg(a,b,c);b<c&&b++;return b},bia=function(a,b,c,d){for(var e=-1;c<d;){var f=a.charCodeAt(c++);if(f==b&&92!==e)return c;e=92==f&&92===e?0:f}throw Error();},og=function(a,b,c){dia(a,b,c,!1);return og},pg=function(a,b){dia(a,b,null,!0);return pg},fia=function(a,b){var c;ng=mg=kg=jg=0;hg=b.length;for(c=cia(b,lg(b,0,hg));0<=c;c=cia(b,c))eia(a,b.substring(jg,kg),b.substring(mg,ng))},qg=function(a){gia(Rd,hia,a,!0)},hia=function(a,b){var c;ng=mg=kg=jg=
0;hg=b.length;for(c=$ha(b,lg(b,0,hg));0<=c;c=$ha(b,c))Rd(a,b.substring(jg,kg),!0)},dia=function(a,b,c,d){var e=t(),f=rd.tView,h=vd(2);f.firstUpdatePass&&iia(f,a,h,d);if(b!==ze&&bg(e,h,b)){var l=f.data[rd.selectedIndex],q=e[11];null!=b&&("string"===typeof c?b+=c:"object"===typeof b&&(b=Mc(je(b))));jia(f,l,e,q,a,e[h+1]=b,d,h)}},gia=function(a,b,c,d){var e=rd.tView,f=vd(2);e.firstUpdatePass&&iia(e,null,f,d);var h=t();if(c!==ze&&bg(h,f,c)){var l=e.data[rd.selectedIndex];if(0===(l.flags&(d?8:16))||f>=
e.expandoStartIndex){var q=h[11],u=h[f+1];if(null==c||""===c)a=dd;else{var x=[];c=je(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(x,c[b],!0);else if("object"===typeof c)for(var y in c)c.hasOwnProperty(y)&&a(x,y,c[y]);else"string"===typeof c&&b(x,c);a=x}a=h[f+1]=a;u===ze&&(u=dd);b=x=0;c=0<u.length?u[0]:null;for(y=0<a.length?a[0]:null;null!==c||null!==y;){var G=x<u.length?u[x+1]:void 0,J=b<a.length?a[b+1]:void 0,M=null,V=void 0;c===y?(x+=2,b+=2,G!==J&&(M=y,V=J)):null===y||null!==c&&c<y?(x+=2,M=c):
(b+=2,M=y,V=J);null!==M&&jia(e,l,h,q,M,V,d,f);c=x<u.length?u[x]:null;y=b<a.length?a[b]:null}}else f=d?l.classesWithoutHost:l.stylesWithoutHost,null!==f&&(c=Vca(f,c?c:"")),Yha(e,l,h,c,d)}},iia=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var f=e[rd.selectedIndex];a=c>=a.expandoStartIndex;0!==(f.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=vda(e),l=d?f.residualClasses:f.residualStyles;if(null===h)0===(d?f.classBindings:f.styleBindings)&&(b=kia(null,e,f,b,d),b=rg(b,f.attrs,d),l=null);else{var q=f.directiveStylingLast;
if(-1===q||e[q]!==h)if(b=kia(h,e,f,b,d),null===l)h=d?f.classBindings:f.styleBindings,h=0!==(h&131068)>>2?e[h>>17&32767]:void 0,void 0!==h&&Array.isArray(h)&&(h=kia(null,e,f,h[1],d),h=rg(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>17&32767]=h);else{l=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<h;q++)l=rg(l,e[q].hostAttrs,d);l=rg(l,f.attrs,d)}}void 0!==l&&(d?f.residualClasses=l:f.residualStyles=l);q=b;l=d?f.classBindings:f.styleBindings;b=l>>17&32767;l=(l&131068)>>2;e[c]=q;var u=
!1;if(Array.isArray(q)){if(h=q[1],null===h||0<Qd(q,h))u=!0}else h=q;a?0!==l?(a=e[b+1]>>17&32767,e[c+1]=a<<17|b<<2,0!==a&&(e[a+1]=e[a+1]&-131069|c<<2),e[b+1]=e[b+1]&131071|c<<17):(e[c+1]=b<<17|0,0!==b&&(e[b+1]=e[b+1]&-131069|c<<2),b=c):(e[c+1]=l<<17|0,0===b?b=c:e[l+1]=e[l+1]&-131069|c<<2,l=c);u&&(e[c+1]=e[c+1]|2);Zha(e,h,c,!0);Zha(e,h,c,!1);a=d?f.residualClasses:f.residualStyles;null!=a&&"string"==typeof h&&0<=Qd(a,h)&&(e[c+1]=e[c+1]|1);l=b<<17|l<<2;d?f.classBindings=l:f.styleBindings=l}},kia=function(a,
b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(-1===h?h=c.directiveStart:h++;h<f;){var l=b[h];d=rg(d,l.hostAttrs,e);if(l===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},rg=function(a,b,c){var d=c?1:2,e=-1;if(null!==b)for(var f=0;f<b.length;f++){var h=b[f];"number"===typeof h?e=h:e===d&&(Array.isArray(a)||(a=void 0===a?[]:["",a]),Rd(a,h,c?!0:b[++f]))}return void 0===a?null:a},eia=function(a,b,c){Rd(a,b,je(c))},jia=function(a,b,c,d,e,f,h,l){if(b.type&3){a=a.data;var q=a[l+1];
void 0===(1===(q&1)?lia(a,b,c,e,(q&131068)>>2,h):void 0)&&(void 0!==f||2==(q&2)&&(f=lia(a,null,c,e,l,h)),b=nd(c[rd.selectedIndex]),h?f?d.addClass(b,e):d.removeClass(b,e):(h=-1===e.indexOf("-")?void 0:2,null==f?d.removeStyle(b,e,h):("string"===typeof f&&f.endsWith("!important")&&(f=f.slice(0,-10),h|=1),d.setStyle(b,e,f,h))))}},lia=function(a,b,c,d,e,f){for(var h=null===b,l=void 0;0<e;){var q=a[e],u=Array.isArray(q),x=u?q[1]:q,y=null===x,G=c[e+1];G===ze&&(G=y?dd:void 0);x=y?Tda(G,d):x===d?G:void 0;
u&&void 0===x&&(x=Tda(q,d));if(void 0!==x&&(l=x,h))return l;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}null!==b&&(a=f?b.residualClasses:b.residualStyles,null!=a&&(l=Tda(a,d)));return l},sg=function(a,b,c){a=eg(t(),a,b,c);gia(Rd,hia,a,!0)},D=function(a,b,c,d){var e=t(),f=rd.tView,h=23+a;a=e[11];if(f.firstCreatePass){var l=f.consts;c=qd(l,c);c=we(f,h,2,b,c);ofa(f,e,c,qd(l,d));null!==c.attrs&&De(c,c.attrs,!1);null!==c.mergedAttrs&&De(c,c.mergedAttrs,!0);null!==f.queries&&f.queries.elementStart(f,c);l=c}else l=
f.data[h];b=e[h]=a.createElement(b,rd.currentNamespace);h=1===(l.flags&1);td(l,!0);yea(a,b,l);32!==(l.flags&32)&&ge(f,e,b,l);0===rd.elementDepthCount&&$d(b,e);rd.elementDepthCount++;h&&(gfa(f,e,l),dfa(f,l,e));null!==d&&hfa(e,l);return D},E=function(){var a=sd();rd.isParent?rd.isParent=!1:(a=a.parent,td(a,!1));var b=a;rd.elementDepthCount--;var c=rd.tView;c.firstCreatePass&&(Ad(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=b.classesWithoutHost&&0!==(b.flags&8)&&Yha(c,b,t(),b.classesWithoutHost,
!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&Yha(c,b,t(),b.stylesWithoutHost,!1);return E},F=function(a,b,c,d){D(a,b,c,d);E();return F},H=function(a,b,c){var d=t(),e=rd.tView;a+=23;if(e.firstCreatePass){var f=e.consts;var h=qd(f,b);b=we(e,a,8,"ng-container",h);null!==h&&De(b,h,!0);f=qd(f,c);ofa(e,d,b,f);null!==e.queries&&e.queries.elementStart(e,b);f=b}else f=e.data[a];td(f,!0);a=d[a]=d[11].createComment("");ge(e,d,a,f);$d(a,d);1===(f.flags&1)&&(gfa(e,d,f),dfa(e,f,d));null!=c&&hfa(d,f);return H},
I=function(){var a=sd(),b=rd.tView;rd.isParent?rd.isParent=!1:(a=a.parent,td(a,!1));b.firstCreatePass&&(Ad(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return I},tg=function(a,b,c){H(a,b,c);I();return tg},ug=function(a,b,c){var d=t(),e=rd.bindingIndex++;if(bg(d,e,b)){e=rd.tView;var f=wd();Ae(e,f,d,a,b,d[11],c,!0)}return ug},vg=function(a,b,c){var d=t(),e=rd.bindingIndex++;if(bg(d,e,b)){e=rd.tView;var f=wd(),h=sfa(vda(e.data),f,d);Ae(e,f,d,a,b,h,c,!0)}return vg},K=function(a,b,c,d){c=t();mia(rd.tView,
c,c[11],sd(),a,b,d);return K},nia=function(a,b){var c=sd(),d=t(),e=rd.tView,f=sfa(vda(e.data),c,d);mia(e,d,f,c,a,b);return nia},oia=function(a,b,c,d){a=a.cleanup;if(null!=a)for(var e=0;e<a.length-1;e+=2){var f=a[e];if(f===c&&a[e+1]===d)return b=b[7],c=a[e+2],b.length>c?b[c]:null;"string"===typeof f&&(e+=2)}return null},mia=function(a,b,c,d,e,f,h){var l=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),u=b[7]||(b[7]=[]),x=!0;if(d.type&3||h){var y=od(d,b),G=h?h(y):y;y=u.length;var J=
h?function(U){return h(nd(U[d.index]))}:d.index,M=null;!h&&l&&(M=oia(a,b,e,d.index));null!==M?((M.__ngLastListenerFn__||M).__ngNextListenerFn__=f,M.__ngLastListenerFn__=f,x=!1):(f=pia(d,b,f),a=c.listen(G,e,f),u.push(f,a),q&&q.push(e,J,y,y+1))}else f=pia(d,b,f);a=d.outputs;var V;if(x&&null!==a&&(V=a[e])&&(x=V.length))for(a=0;a<x;a+=2)c=b[V[a]][V[a+1]].subscribe(f),l=u.length,u.push(f,c),q&&q.push(e,d.index,l,-(l+1))},qia=function(a,b,c){try{return!1!==b(c)}catch(d){return qfa(a,d),!1}finally{}},pia=
function(a,b,c){return function f(e){if(e===Function)return c;var h=-1<a.componentOffset?pd(a.index,b):b;pfa(h);h=qia(b,c,e);for(var l=f.__ngNextListenerFn__;l;)h=qia(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},L=function(a){var b=rd;a=void 0===a?1:a;for(var c=rd.contextLView;0<a;)c=c[15],a--;return(b.contextLView=c)[8]},wg=function(a){var b=t()[16][6];if(!b.projection){var c=b.projection=Sda(a?a.length:1,null),d=c.slice();for(b=b.child;null!==b;){if(a)a:{var e=b;var f=a,h=null;b:{var l=e.attrs;
if(null!=l){var q=l.indexOf(5);if(0===(q&1)){l=l[q+1];break b}}l=null}for(q=0;q<f.length;q++){var u=f[q];if("*"===u)h=q;else{if(null===l)u=Bea(e,u,!0);else b:{var x=0;c:for(;x<u.length;x++){var y=u[x];if(l.length===y.length){for(var G=0;G<l.length;G++)if(l[G]!==y[G])continue c;u=!0;break b}}u=!1}if(u){e=q;break a}}}e=h}else e=0;null!==e&&(d[e]?d[e].projectionNext=b:c[e]=b,d[e]=b);b=b.next}}},xg=function(a,b,c){b=void 0===b?0:b;var d=t(),e=rd.tView;a=we(e,23+a,16,null,c||null);null===a.projection&&
(a.projection=b);rd.isParent=!1;32!==(a.flags&32)&&(b=d[11],e=vea(e,a.parent,d),c=a.parent||d[6],c=c.type&40?od(c,d):null,xea(b,0,d,a,e,c))},zg=function(a,b,c){yg(a,"",b,"",c);return zg},yg=function(a,b,c,d,e){var f=t();b=eg(f,b,c,d);b!==ze&&(c=rd.tView,d=wd(),Ae(c,d,f,a,b,f[11],e,!1));return yg},Ag=function(a,b,c,d,e,f,h){var l=t();b=Wha(l,b,c,d,e,f);b!==ze&&(c=rd.tView,d=wd(),Ae(c,d,l,a,b,l[11],h,!1));return Ag},N=function(a){return rd.contextLView[23+a]},O=function(a,b,c,d,e,f,h,l){var q=t(),u=
rd.tView;a+=23;if(u.firstCreatePass){var x=u.consts;e=we(u,a,4,e||null,qd(x,f));ofa(u,q,e,qd(x,h));Ad(u,e);b=e.tViews=ifa(2,e,b,c,d,u.directiveRegistry,u.pipeRegistry,null,u.schemas,x);null!==u.queries&&(u.queries.template(u,e),b.queries=u.queries.embeddedTView(e));b=e}else b=u.data[a];td(b,!1);c=q[11].createComment("");ge(u,q,c,b);$d(c,q);ye(q,q[a]=[c,!0,!1,q,null,0,b,c,null,null]);1===(b.flags&1)&&gfa(u,q,b);null!=h&&hfa(q,b,l)},P=function(a,b){b=void 0===b?"":b;var c=t(),d=rd.tView,e=a+23;a=d.firstCreatePass?
we(d,e,1,b,null):d.data[e];b=c[e]=c[11].createText(b);ge(d,c,b,a);td(a,!1)},Bg=function(a){Q("",a,"");return Bg},Q=function(a,b,c){var d=t();a=eg(d,a,b,c);a!==ze&&(b=nd(d[rd.selectedIndex]),d[11].setValue(b,a));return Q},Cg=function(a,b,c,d,e){var f=t();a=Wha(f,a,b,c,d,e);a!==ze&&(b=nd(f[rd.selectedIndex]),f[11].setValue(b,a));return Cg},ria=function(a,b,c,d,e){a=Oc(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)ria(a[f],b,c,d,e);else{f=rd.tView;var h=t(),l=Sd(a)?a:Oc(a.provide),q=gea(a),u=sd(),
x=u.providerIndexes&1048575,y=u.directiveStart,G=u.providerIndexes>>20;if(Sd(a)||!a.multi)d=new Md(q,e),q=sia(l,b,e?x:x+G,y),-1===q?(q=Hd(u,h),Hda(q,f,l),tia(f,a,b.length),b.push(l),u.directiveStart++,u.directiveEnd++,e&&(u.providerIndexes+=1048576),c.push(d),h.push(d)):(c[q]=d,h[q]=d);else{y=sia(l,b,x+G,y);x=sia(l,b,x,x+G);var J=0<=y&&c[y];G=0<=x&&c[x];e&&!G||!e&&!J?(y=Hd(u,h),Hda(y,f,l),y=c.length,J=new Md(e?uia:via,e),J.multi=[],J.index=y,J.componentProviders=0,d&&!e&&J.componentProviders++,J.multi.push(q),
!e&&G&&(c[x].providerFactory=J),tia(f,a,b.length,0),b.push(l),u.directiveStart++,u.directiveEnd++,e&&(u.providerIndexes+=1048576),c.push(J),h.push(J)):(b=c[e?x:y],!e&&d&&b.componentProviders++,b=b.multi.push(q)-1,tia(f,a,-1<y?y:x,b));!e&&d&&G&&c[x].componentProviders++}}},tia=function(a,b,c,d){var e=Sd(b),f=!!b.useClass;if(e||f)if(f=(f?Oc(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||(a.destroyHooks=[]),!e&&b.multi?(b=a.indexOf(c),-1===b?a.push(c,[d,f]):a[b+1].push(d,f)):a.push(c,f)},sia=
function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},via=function(){return wia(this.multi,[])},uia=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=Ld(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);wia(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],wia(b,c);return c},wia=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},Dg=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,
e){e=e?e(a):a;var f=rd.tView;f.firstCreatePass&&(d=null!==d.template,ria(b,f.data,f.blueprint,d,!0),ria(e,f.data,f.blueprint,d,!1))}}},xia=function(a){a.getStandaloneInjector=function(b){b=b.get(Eg);if(a.standalone){if(!b.cachedInjectors.has(a.id)){var c=Uda(!1,a.type);c=0<c.length?vfa([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a.id,c)}b=b.cachedInjectors.get(a.id)}else b=null;return b}},Fg=function(a,b){a=ud()+a;var c=t();return c[a]===ze?ag(c,a,b()):c[a]},Gg=function(a,
b,c){return yia(t(),ud(),a,b,c)},Hg=function(a,b,c,d){return zia(t(),ud(),a,b,c,d)},Ig=function(a,b,c,d){return Aia(t(),ud(),2,a,b,c,d)},Cia=function(a,b,c,d,e,f){var h=Bia,l=ud()+8,q=t();var u=cg(q,l,a,b);u=cg(q,l+2,c,d)||u;return cg(q,l+4,e,f)||u?ag(q,l+6,h(a,b,c,d,e,f)):q[l+6]},Dia=function(a,b){a=a[b];return a===ze?void 0:a},yia=function(a,b,c,d,e,f){b+=c;return bg(a,b,e)?ag(a,b+1,f?d.call(f,e):d(e)):Dia(a,b+1)},zia=function(a,b,c,d,e,f,h){b+=c;return cg(a,b,e,f)?ag(a,b+2,h?d.call(h,e,f):d(e,
f)):Dia(a,b+2)},Aia=function(a,b,c,d,e,f,h,l){b+=c;c=cg(a,b,e,f);return bg(a,b+2,h)||c?ag(a,b+3,l?d.call(l,e,f,h):d(e,f,h)):Dia(a,b+3)},R=function(a,b){var c=rd.tView;a+=23;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;0<=e;e--){var f=d[e];if(b===f.name){b=f;break a}}b=void 0}c.data[a]=b;b.onDestroy&&(c.destroyHooks||(c.destroyHooks=[])).push(a,b.onDestroy)}else b=c.data[a];b=b.factory||(b.factory=ld(b.type));d=Vc(A);try{var h=Fd(!1),l=b();Fd(h);var q=t();a>=c.data.length&&
(c.data[a]=null,c.blueprint[a]=null);q[a]=l}finally{Vc(d)}},S=function(a,b,c){a+=23;var d=t(),e=d[a];return d[1].data[a].pure?yia(d,ud(),b,e.transform,c,e):e.transform(c)},Jg=function(a,b,c,d){a+=23;var e=t(),f=e[a];return e[1].data[a].pure?zia(e,ud(),b,f.transform,c,d,f):f.transform(c,d)},Kg=function(a,b,c,d,e){a+=23;var f=t(),h=f[a];return f[1].data[a].pure?Aia(f,ud(),b,h.transform,c,d,e,h):h.transform(c,d,e)},Eia=function(){return this._results[Symbol.iterator]()},Fia=function(){return Lg(sd(),
t())},Lg=function(a,b){return a.type&4?new Mg(b,a,Zd(a,b)):null},Hia=function(){return Gia(sd(),t())},Iia=function(a){return a[8]||(a[8]=[])},Gia=function(a,b){var c=b[a.index];if(!jd(c)){if(a.type&8)var d=nd(c);else{var e=b[11];d=e.createComment("");var f=od(a,b),h=e.parentNode(f);f=e.nextSibling(f);e.insertBefore(h,d,f,!1)}b[a.index]=c=[c,!0,!1,b,null,0,a,d,null,null];ye(b,c)}return new Ng(c,a,b)},Jia=function(a,b,c,d){d=b[19].queries[d];if(null===d.matches){a=a.data;for(var e=c.matches,f=[],h=
0;h<e.length;h+=2){var l=e[h];if(0>l)f.push(null);else{var q=f,u=q.push,x=b,y=a[l],G=e[h+1];l=c.metadata.read;-1===G?(l=y,x=l.type&11?Zd(l,x):l.type&4?Lg(l,x):null):-2===G?x=l===Yd?Zd(y,x):l===Og?Lg(y,x):l===Pg?Gia(y,x):void 0:x=Ld(x,x[1],G,y);u.call(q,x)}}d.matches=f}return d.matches},Kia=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(null!==f)for(a=Jia(a,b,e,c),c=0;c<f.length;c+=2){var h=f[c];if(0<h)d.push(a[c/2]);else{e=f[c+1];h=b[-h];for(var l=10;l<h.length;l++){var q=h[l];q[17]===
q[3]&&Kia(q[1],q,e,d)}if(null!==h[9])for(h=h[9],l=0;l<h.length;l++)q=h[l],Kia(q[1],q,e,d)}}return d},Rg=function(a){var b=t(),c=rd.tView,d=rd.currentQueryIndex;rd.currentQueryIndex=d+1;var e=c.queries.queries[d];return a.dirty&&4===(b[2]&4)===(2===(e.metadata.flags&2))?(null===e.matches?a.reset([]):(b=e.crossesNgTemplate?Kia(c,b,d,[]):Jia(c,b,e,d),a.reset(b,mea),Qg(a)),!0):!1},Sg=function(a,b,c){var d=rd.tView;d.firstCreatePass&&(Lia(d,new Mia(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));Nia(d,
b)},Tg=function(a,b,c,d){var e=rd.tView;e.firstCreatePass&&(Lia(e,new Mia(b,c,d),sd().index),b=e.contentQueries||(e.contentQueries=[]),a!==(b.length?b[b.length-1]:-1)&&b.push(e.queries.length-1,a),2===(c&2)&&(e.staticContentQueries=!0));Nia(e,c)},Ug=function(){return t()[19].queries[rd.currentQueryIndex].queryList},Nia=function(a,b){var c=t();b=new Vg(4===(b&4));var d=b.destroy,e=c[7]||(c[7]=[]);e.push(b);a.firstCreatePass&&(a.cleanup||(a.cleanup=[])).push(d,e.length-1);null===c[19]&&(c[19]=new Wg);
c[19].queries.push(new Xg(b))},Lia=function(a,b,c){null===a.queries&&(a.queries=new Yg);a.queries.track(new Zg(b,c))},$g=function(a,b){return Lg(a,b)},Oia=function(a){var b=sd(),c=t();-1<b.componentOffset&&16!==(a&16)?(a=pd(b.index,c),a=new ah(a,a)):a=b.type&47?new ah(c[16],c):null;return a},Pia=function(a,b,c){a=a.previousIndex;if(null===a)return a;var d=0;c&&a<c.length&&(d=c[a]);return a+b+d},bh=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},Qia=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Oa`"+
a+"`"+Mc(b));},Ria=function(a,b,c){a=He(a);b=ch([a[1],a[2]],b);return ch(b,c)},Sia=function(a,b,c){a=He(a);b=ch([a[3],a[4]],b);return ch(b,c)},Tia=function(a,b,c){a=He(a);b=ch([a[5],a[6]],b);return ch(b,c)},Uia=function(a,b){a=He(a)[7];return ch(a,b)},dh=function(a,b){a=He(a);return ch(a[10],b)},eh=function(a,b){a=He(a);return ch(a[11],b)},fh=function(a,b){a=He(a)[12];return ch(a,b)},gh=function(a,b){a=He(a);var c=a[13][b];if("undefined"===typeof c){if(12===b)return a[13][0];if(13===b)return a[13][1]}return c},
Via=function(a){if(!a[21])throw Error("Pa`"+a[0]);},Xia=function(a){a=He(a);Via(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?Wia(b):[Wia(b[0]),Wia(b[1])]})},Yia=function(a,b,c){a=He(a);Via(a);b=ch([a[21][0],a[21][1]],b)||[];return ch(b,c)||[]},ch=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Qa");},Wia=function(a){var b=m(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},hh=function(){return new Tc(2100,!1)},eja=function(a,
b,c,d){var e=Zia(a);b=ih(c,b)||b;a=[];for(var f;b;)if(f=$ia.exec(b)){if(a=a.concat(f.slice(1)),b=a.pop(),!b)break}else{a.push(b);break}var h=e.getTimezoneOffset();d&&(h=aja(d,h),e=bja(e,d));var l="";a.forEach(function(q){a:if(cja[q])var u=cja[q];else{switch(q){case "G":case "GG":case "GGG":u=jh(3,1);break;case "GGGG":u=jh(3,2);break;case "GGGGG":u=jh(3,0);break;case "y":u=kh(0,1,0,!1,!0);break;case "yy":u=kh(0,2,0,!0,!0);break;case "yyy":u=kh(0,3,0,!1,!0);break;case "yyyy":u=kh(0,4,0,!1,!0);break;
case "Y":u=lh(1);break;case "YY":u=lh(2,!0);break;case "YYY":u=lh(3);break;case "YYYY":u=lh(4);break;case "M":case "L":u=kh(1,1,1);break;case "MM":case "LL":u=kh(1,2,1);break;case "MMM":u=jh(2,1);break;case "MMMM":u=jh(2,2);break;case "MMMMM":u=jh(2,0);break;case "LLL":u=jh(2,1,1);break;case "LLLL":u=jh(2,2,1);break;case "LLLLL":u=jh(2,0,1);break;case "w":u=dja(1);break;case "ww":u=dja(2);break;case "W":u=dja(1,!0);break;case "d":u=kh(2,1);break;case "dd":u=kh(2,2);break;case "c":case "cc":u=kh(7,
1);break;case "ccc":u=jh(1,1,1);break;case "cccc":u=jh(1,2,1);break;case "ccccc":u=jh(1,0,1);break;case "cccccc":u=jh(1,3,1);break;case "E":case "EE":case "EEE":u=jh(1,1);break;case "EEEE":u=jh(1,2);break;case "EEEEE":u=jh(1,0);break;case "EEEEEE":u=jh(1,3);break;case "a":case "aa":case "aaa":u=jh(0,1);break;case "aaaa":u=jh(0,2);break;case "aaaaa":u=jh(0,0);break;case "b":case "bb":case "bbb":u=jh(0,1,1,!0);break;case "bbbb":u=jh(0,2,1,!0);break;case "bbbbb":u=jh(0,0,1,!0);break;case "B":case "BB":case "BBB":u=
jh(0,1,0,!0);break;case "BBBB":u=jh(0,2,0,!0);break;case "BBBBB":u=jh(0,0,0,!0);break;case "h":u=kh(3,1,-12);break;case "hh":u=kh(3,2,-12);break;case "H":u=kh(3,1);break;case "HH":u=kh(3,2);break;case "m":u=kh(4,1);break;case "mm":u=kh(4,2);break;case "s":u=kh(5,1);break;case "ss":u=kh(5,2);break;case "S":u=kh(6,1);break;case "SS":u=kh(6,2);break;case "SSS":u=kh(6,3);break;case "Z":case "ZZ":case "ZZZ":u=mh(0);break;case "ZZZZZ":u=mh(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":u=
mh(1);break;case "OOOO":case "ZZZZ":case "zzzz":u=mh(2);break;default:u=null;break a}cja[q]=u}l+=u?u(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return l},nh=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},ih=function(a,b){var c=He(a)[0];oh[c]=oh[c]||{};if(oh[c][b])return oh[c][b];var d="";switch(b){case "shortDate":d=dh(a,0);break;case "mediumDate":d=dh(a,1);break;case "longDate":d=dh(a,2);break;case "fullDate":d=dh(a,3);break;case "shortTime":d=
eh(a,0);break;case "mediumTime":d=eh(a,1);break;case "longTime":d=eh(a,2);break;case "fullTime":d=eh(a,3);break;case "short":d=ih(a,"shortTime");var e=ih(a,"shortDate");d=ph(fh(a,0),[d,e]);break;case "medium":d=ih(a,"mediumTime");e=ih(a,"mediumDate");d=ph(fh(a,1),[d,e]);break;case "long":d=ih(a,"longTime");e=ih(a,"longDate");d=ph(fh(a,2),[d,e]);break;case "full":d=ih(a,"fullTime"),e=ih(a,"fullDate"),d=ph(fh(a,3),[d,e])}d&&(oh[c][b]=d);return d},ph=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,
d){return null!=b&&d in b?b[d]:c}));return a},qh=function(a,b,c,d,e){var f="";if(0>a||e&&0>=a)e?a=-a+1:(a=-a,f=void 0===c?"-":c);for(a=String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return f+a},kh=function(a,b,c,d,e){c=void 0===c?0:c;d=void 0===d?!1:d;e=void 0===e?!1:e;return function(f,h){f=fja(a,f);if(0<c||f>-c)f+=c;if(3===a)0===f&&-12===c&&(f=12);else if(6===a)return qh(f,3).substring(0,b);h=gh(h,5);return qh(f,b,h,d,e)}},fja=function(a,b){switch(a){case 0:return b.getFullYear();case 1:return b.getMonth();
case 2:return b.getDate();case 3:return b.getHours();case 4:return b.getMinutes();case 5:return b.getSeconds();case 6:return b.getMilliseconds();case 7:return b.getDay();default:throw Error("Ra`"+a);}},jh=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,f){return gja(e,f,a,b,c,d)}},gja=function(a,b,c,d,e,f){switch(c){case 2:return Tia(b,e,d)[a.getMonth()];case 1:return Sia(b,e,d)[a.getDay()];case 0:var h=a.getHours(),l=a.getMinutes();return f&&(c=Xia(b),a=Yia(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var u=
m(q);q=u.next().value;u=u.next().value;var x=h>=q.hours&&l>=q.minutes,y=h<u.hours||h===u.hours&&l<u.minutes;if(q.hours<u.hours){if(x&&y)return!0}else if(x||y)return!0}else if(q.hours===h&&q.minutes===l)return!0;return!1}),-1!==c)?a[c]:Ria(b,e,d)[12>h?0:1];case 3:return Uia(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Sa`"+c);}},mh=function(a){return function(b,c,d){b=-1*d;c=gh(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+qh(e,2,c)+qh(Math.abs(b%60),2,c);
case 1:return"GMT"+(0<=b?"+":"")+qh(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+qh(e,2,c)+":"+qh(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+qh(e,2,c)+":"+qh(Math.abs(b%60),2,c);default:throw Error("Ta`"+a);}}},hja=function(a){return nh(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))},dja=function(a,b){b=void 0===b?!1:b;return function(c,d){if(b){var e=(new Date(c.getFullYear(),c.getMonth(),1)).getDay()-1;c=c.getDate();e=1+Math.floor((c+e)/7)}else{e=hja(c);c=e.getFullYear();var f=
nh(c,0,1).getDay();c=nh(c,0,1+(4>=f?4:11)-f);e=1+Math.round((e.getTime()-c.getTime())/6048E5)}return qh(e,a,gh(d,5))}},lh=function(a,b){b=void 0===b?!1:b;return function(c,d){c=hja(c).getFullYear();return qh(c,a,gh(d,5),b)}},aja=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},bja=function(a,b){var c=a.getTimezoneOffset();b=aja(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},Zia=function(a){if(a instanceof Date&&!isNaN(a.valueOf()))return a;
if("number"===typeof a&&!isNaN(a))return new Date(a);if("string"===typeof a){a=a.trim();if(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(a)){var b=m(a.split("-").map(function(d){return+d}));a=b.next().value;var c=b.next().value;c=void 0===c?1:c;b=b.next().value;return nh(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(ija))return jja(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Ua`"+a);return b},jja=function(a){var b=new Date(0),c=0,d=0,e=
a[8]?b.setUTCFullYear:b.setFullYear,f=a[8]?b.setUTCHours:b.setHours;a[9]&&(c=Number(a[9]+a[10]),d=Number(a[9]+a[11]));e.call(b,Number(a[1]),Number(a[2])-1,Number(a[3]));f.call(b,Number(a[4]||0)-c,Number(a[5]||0)-d,Number(a[6]||0),Math.floor(1E3*parseFloat("0."+(a[7]||0))));return b},kja=function(a,b){a=a.key;b=b.key;if(a===b)return 0;if(void 0===a)return 1;if(void 0===b)return-1;if(null===a)return 1;if(null===b)return-1;if("string"==typeof a&&"string"==typeof b)return a<b?-1:1;if("number"==typeof a&&
"number"==typeof b)return a-b;if("boolean"==typeof a&&"boolean"==typeof b)return a<b?-1:1;a=String(a);b=String(b);return a==b?0:a<b?-1:1},qja=function(a,b,c,d){var e=void 0===e?!1:e;var f="",h=!1;if(isFinite(a)){h=lja(a);e&&(h=mja(h));f=b.minInt;e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(nja);if(null===q)throw Error("Va`"+d);d=q[1];var u=q[3];q=q[5];null!=d&&(f=oja(d));null!=u&&(e=oja(u));null!=q?l=oja(q):null!=u&&e>l&&(l=e)}pja(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(x){return!x});q<
f;q++)d.unshift(0);for(;0>q;q++)d.unshift(0);0<q?l=d.splice(q,d.length):(l=d,d=[0]);f=[];for(d.length>=b.lgSize&&f.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)f.unshift(d.splice(-b.gSize,d.length).join(""));d.length&&f.unshift(d.join(""));f=f.join(gh(c,1));l.length&&(f+=gh(c,0)+l.join(""));e&&(f+=gh(c,6)+"+"+e)}else f=gh(c,9);return f=0>a&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},mja=function(a){if(0===a.digits[0])return a;var b=a.digits.length-a.integerLen;a.exponent?a.exponent+=
2:(0===b?a.digits.push(0,0):1===b&&a.digits.push(0),a.integerLen+=2);return a},lja=function(a){a=Math.abs(a)+"";var b=0,c,d,e,f;-1<(c=a.indexOf("."))&&(a=a.replace(".",""));0<(d=a.search(/e/i))?(0>c&&(c=d),c+=+a.slice(d+1),a=a.substring(0,d)):0>c&&(c=a.length);for(d=0;"0"===a.charAt(d);d++);if(d===(f=a.length)){var h=[0];c=1}else{for(f--;"0"===a.charAt(f);)f--;c-=d;h=[];for(e=0;d<=f;d++,e++)h[e]=Number(a.charAt(d))}22<c&&(h=h.splice(0,21),b=c-1,c=1);return{digits:h,exponent:b,integerLen:c}},pja=function(a,
b,c){if(b>c)throw Error("Wa`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var f=c+a.integerLen,h=d[f];if(0<f){d.splice(Math.max(a.integerLen,f));for(var l=f;l<d.length;l++)d[l]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,l=1;l<f;l++)d[l]=0;if(5<=h)if(0>f-1){for(h=0;h>f;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[f-1]++;for(;e<Math.max(0,c);e++)d.push(0);var q=0!==c,u=b+a.integerLen;if(b=d.reduceRight(function(x,
y,G,J){y+=x;J[G]=10>y?y:y-10;q&&(0===J[G]&&G>=u?J.pop():q=!1);return 10<=y?1:0},0))d.unshift(b),a.integerLen++},oja=function(a){var b=parseInt(a);if(isNaN(b))throw Error("Xa`"+a);return b},rja=function(a,b){if(0==a.length)return b;if(0==b.length)return a;var c=0;a.endsWith("/")&&c++;b.startsWith("/")&&c++;return 2==c?a+b.substring(1):1==c?a+b:a+"/"+b},sja=function(a){var b=a.match(/#|\?|$/);b=b&&b.index||a.length;return a.slice(0,b-("/"===a[b-1]?1:0))+a.slice(b)},rh=function(a){return a&&"?"!==a[0]?
"?"+a:a},tja=function(a){return RegExp("^(https?:)?//").test(a)?(a=m(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},sh=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},uja=function(a){return function(b){if(sh(b.value)||sh(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},vja=function(a){return sh(a.value)?{required:!0}:null},wja=function(a){return function(b){var c=b.value;return null!=c&&"number"===typeof c.length&&
b.value.length>a?{maxlength:{requiredLength:a,actualLength:b.value.length}}:null}},yja=function(a){if(!a)return xja;if("string"===typeof a){var b="";"^"!==a.charAt(0)&&(b+="^");b+=a;"$"!==a.charAt(a.length-1)&&(b+="$");var c=new RegExp(b)}else b=a.toString(),c=a;return function(d){if(sh(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},xja=function(){return null},zja=function(a){return null!=a},Aja=function(a){return Ge(a)?(0,T.from)(a):a},Bja=function(a){var b=
{};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},Cja=function(a,b){return b.map(function(c){return c(a)})},Dja=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},Eja=function(a){if(!a)return null;var b=a.filter(zja);return 0==b.length?null:function(c){return Bja(Cja(c,b))}},Fja=function(a){return null!=a?Eja(Dja(a)):null},Gja=function(a){if(!a)return null;var b=a.filter(zja);return 0==b.length?null:function(c){c=
Cja(c,b).map(Aja);return(0,T.forkJoin)(c).pipe(B(Bja))}},Hja=function(a){return null!=a?Gja(Dja(a)):null},Ija=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(p(a),[b]):[a,b]},Jja=function(a,b){return[].concat(p(b.path),[a])},th=function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;Kja(a,b);b.valueAccessor.writeValue(a.value);if(a.disabled||"always"===c){var d,e;null==(e=(d=b.valueAccessor).setDisabledState)||e.call(d,a.disabled)}Lja(a,b);Mja(a,b);Nja(a,b);Oja(a,b)},vh=function(a,
b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));uh(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},wh=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},Oja=function(a,b){if(b.valueAccessor.setDisabledState){var c=function(d){b.valueAccessor.setDisabledState(d)};a._onDisabledChange.push(c);b._registerOnDestroy(function(){a._unregisterOnDisabledChange(c)})}},
Kja=function(a,b){var c=a._rawValidators;null!==b.validator?Pja(a,Ija(c,b.validator)):"function"===typeof c&&Pja(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?Qja(a,Ija(c,b.asyncValidator)):"function"===typeof c&&Qja(a,[c]);c=function(){return xh(a)};wh(b._rawValidators,c);wh(b._rawAsyncValidators,c)},uh=function(a,b){var c=!1;if(null!==a){if(null!==b.validator){var d=a._rawValidators;if(Array.isArray(d)&&0<d.length){var e=d.filter(function(f){return f!==b.validator});e.length!==d.length&&
(c=!0,a._assignValidators(e))}}null!==b.asyncValidator&&(d=a._rawAsyncValidators,Array.isArray(d)&&0<d.length&&(e=d.filter(function(f){return f!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};wh(b._rawValidators,a);wh(b._rawAsyncValidators,a);return c},Lja=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&Rja(a,b)})},Nja=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=
!0;"blur"===a.updateOn&&a._pendingChange&&Rja(a,b);"submit"!==a.updateOn&&Sja(a)})},Rja=function(a,b){a._pendingDirty&&Tja(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},Mja=function(a,b){var c=function(d,e){b.valueAccessor.writeValue(d);e&&b.viewToModelUpdate(d)};a.registerOnChange(c);b._registerOnDestroy(function(){a._unregisterOnChange(c)})},Uja=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?
!0:!Object.is(b,a.currentValue)},Vja=function(a,b){a._syncPendingControls();b.forEach(function(c){var d=c.control;"submit"===d.updateOn&&d._pendingChange&&(c.viewToModelUpdate(d._pendingValue),d._pendingChange=!1)})},Wja=function(a){if(!a)return null;Array.isArray(a);var b=void 0,c=void 0,d=void 0;a.forEach(function(e){e.constructor===yh?b=e:Object.getPrototypeOf(e.constructor)===zh?c=e:d=e});return d?d:c?c:b?b:null},Xja=function(a){return(Ah(a)?a.validators:a)||null},Ah=function(a){return null!=
a&&!Array.isArray(a)&&"object"===typeof a},Yja=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new Tc(1002,"");})},Zja=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},aka=function(){if(Bh)return Bh;if("object"!==typeof document||!document)return Bh=new Set($ja);var a=document.createElement("input");return Bh=new Set($ja.filter(function(b){a.setAttribute("type",b);return a.type===b}))},bka=function(){if(null==Ch&&"undefined"!==
typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Ch=!0}}))}finally{Ch=Ch||!1}return Ch},Dh=function(a){return bka()?a:!!a.capture},cka=function(){if(null==Eh){if("object"!==typeof document||!document||"function"!==typeof Element||!Element)return Eh=!1;if("scrollBehavior"in document.documentElement.style)Eh=!0;else{var a=Element.prototype.scrollTo;Eh=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return Eh},dka=function(){if("object"!==
typeof document||!document)return 0;if(null==Fh){var a=document.createElement("div"),b=a.style;a.dir="rtl";b.width="1px";b.overflow="auto";b.visibility="hidden";b.pointerEvents="none";b.position="absolute";b=document.createElement("div");var c=b.style;c.width="2px";c.height="1px";a.appendChild(b);document.body.appendChild(a);Fh=0;0===a.scrollLeft&&(a.scrollLeft=1,Fh=0===a.scrollLeft?1:2);a.remove()}return Fh},Gh=function(a){if(null==eka){var b="undefined"!==typeof document?document.head:null;eka=
!(!b||!b.createShadowRoot&&!b.attachShadow)}return eka&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Hh=function(){for(var a="undefined"!==typeof document&&document?document.activeElement:null;a&&a.shadowRoot;){var b=a.shadowRoot.activeElement;if(b===a)break;else a=b}return a},Ih=function(a){return a.composedPath?a.composedPath()[0]:a.target},fka=function(){return"undefined"!==typeof __karma__&&!!__karma__||"undefined"!==typeof jasmine&&
!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},gka=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},hka=function(a){if(!gka(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},Jh=function(a){return Array.isArray(a)?a:[a]},Kh=function(a){return null!=a&&"false"!==""+a},Lh=function(a){return null==a?"":"string"===typeof a?a:a+"px"},Mh=function(a){return a instanceof
Yd?a.nativeElement:a},Nh=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},ika=function(a){var b=void 0===b?/\s+/:b;var c=[];if(null!=a)for(a=Array.isArray(a)?a:(""+a).split(b),a=m(a),b=a.next();!b.done;b=a.next())(b=(""+b.value).trim())&&c.push(b);return c},Oh=function(a){return 0===a.buttons||0===a.offsetX&&0===a.offsetY},Ph=function(a){a=a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0];return!!a&&-1===a.identifier&&(null==a.radiusX||1===a.radiusX)&&
(null==a.radiusY||1===a.radiusY)},Qh=function(a){var b=bd.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},kka=function(a,b){return b.map(function(c){return c.replace(jka,a)})},lka=function(a){return function(b){if("__ngUnwrap__"===b)return a;!1===a(b)&&(b.preventDefault(),b.returnValue=!1)}},Sh=function(a){var b=void 0===b?{}:b;a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");
b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return Rh(a)},mka=function(a){if("script"===a.tagName.toLowerCase())throw Error("$");if("style"===a.tagName.toLowerCase())throw Error("$");},oka=function(a){if(a instanceof mc)a=nc(a);else{b:if(nka){try{var b=new URL(a)}catch(c){b="https:";break b}b=b.protocol}else c:{b=document.createElement("a");
try{b.href=a}catch(c){b=void 0;break c}b=b.protocol;b=":"===b||""===b?"https:":b}a="javascript:"!==b?a:void 0}return a},Uh=function(a){var b=bd.apply(1,arguments);if(0===b.length)return Th(a[0]);for(var c=[a[0]],d=0;d<b.length;d++)c.push(encodeURIComponent(b[d])),c.push(a[d+1]);return Th(c.join(""))},Vh=function(a){return new pka(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},Xh=function(a){var b=void 0===b?qka:b;a:{b=void 0===b?qka:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof
pka&&d.isValid(a)){a=Wh(a);break a}}a=void 0}return a||qc},tka=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==d[0]&&(d=rka(d,b),"function"==typeof d)){c.push(d);d=void 0;break a}var e=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==e||4>e.length)b.push(new Tc(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(ska(d,e));"<"!=f[0]||"*"==d&&"*"==e||c.push(ska(e,d));d=void 0}}return d}):c.push(a);return c},rka=function(a,b){switch(a){case ":enter":return"void => *";
case ":leave":return"* => void";case ":increment":return function(c,d){return parseFloat(d)>parseFloat(c)};case ":decrement":return function(c,d){return parseFloat(d)<parseFloat(c)};default:return b.push(new Tc(3016,!1)),"* => *"}},ska=function(a,b){var c=Yh.has(a)||Zh.has(a),d=Yh.has(b)||Zh.has(b);return function(e,f){var h="*"==a||a==e,l="*"==b||b==f;!h&&c&&"boolean"===typeof e&&(h=e?Yh.has(a):Zh.has(a));!l&&d&&"boolean"===typeof f&&(l=f?Yh.has(b):Zh.has(b));return h&&l}},$h=function(a,b){return{type:7,
name:a,definitions:b,options:{}}},ai=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},bi=function(a){return{type:6,styles:a,offset:null}},ci=function(a,b){return{type:0,name:a,styles:b,options:void 0}},di=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},ei=function(){return{type:9,options:null}},fi=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===c?null:c}},uka=function(){return"undefined"!==typeof process&&"[object process]"===
{}.toString.call(process)},hi=function(a){switch(a.length){case 0:return new gi;case 1:return a[0];default:return new vka(a)}},xka=function(a,b,c){b=void 0===b?new Map:b;c=void 0===c?new Map:c;var d=[],e=[],f=-1,h=null;a.forEach(function(l){var q=l.get("offset"),u=q==f,x=u&&h||new Map;l.forEach(function(y,G){var J=G;if("offset"!==G)switch(J=ii(J),y){case "!":y=b.get(G);break;case "*":y=c.get(G);break;default:y=wka(J,y,d)}x.set(J,y)});u||e.push(x);h=x;f=q});if(d.length)throw new Tc(3502,!1);return e},
zka=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&yka(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&yka(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&yka(c,"destroy",a))})}},yka=function(a,b,c){var d=c.totalTime;b=Aka(a.element,a.triggerName,a.fromState,a.toState,b||a.phaseName,void 0==d?a.totalTime:d,c.disabled?!0:!1);a=a._data;null!=a&&(b._data=a);return b},Aka=function(a,b,c,d,e,f,h){return{element:a,triggerName:b,fromState:c,
toState:d,phaseName:void 0===e?"":e,totalTime:void 0===f?0:f,disabled:!!h}},ji=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},Bka=function(a){var b=a.indexOf(":");return[a.substring(1,b),a.slice(b+1)]},Dka=function(a){a=a.parentNode||a.host;return a===Cka?null:a},ki=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||2>a.length?0:Eka(parseFloat(a[1]),a[2])},Eka=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},li=function(a,b,c){if(a.hasOwnProperty("duration"))b=
a;else a:{var d=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,e=0,f="";if("string"===typeof a){d=a.match(d);if(null===d){b.push(new Tc(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=Eka(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=Eka(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,0>a&&(b.push(new Tc(3100,!1)),c=!0),0>e&&(b.push(new Tc(3101,!1)),c=!0),c&&b.splice(d,0,new Tc(3E3,!1)));b={duration:a,delay:e,easing:f}}return b},mi=function(a){var b=void 0===
b?{}:b;Object.keys(a).forEach(function(c){b[c]=a[c]});return b},Fka=function(a){var b=new Map;Object.keys(a).forEach(function(c){b.set(c,a[c])});return b},Gka=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return Fka(b)}):[]},ni=function(a,b,c){b=void 0===b?new Map:b;if(c){c=m(c);for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b.set(d,e)}}a=m(a);for(c=a.next();!c.done;c=a.next())d=m(c.value),c=d.next().value,d=d.next().value,b.set(c,d);
return b},Hka=function(a){for(var b="",c=0;c<a.style.length;c++){var d=a.style.item(c),e=a.style.getPropertyValue(d);b+=e?d+":"+e+";":""}for(var f in a.style)a.style.hasOwnProperty(f)&&!f.startsWith("_")&&(c=f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),d=a.style[f],b+=d?c+":"+d+";":"");a.setAttribute("style",b)},oi=function(a,b,c){a.style&&(b.forEach(function(d,e){var f=ii(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d}),uka()&&Hka(a))},pi=function(a,b){a.style&&(b.forEach(function(c,d){d=
ii(d);a.style[d]=""}),uka()&&Hka(a))},qi=function(a){return Array.isArray(a)?1==a.length?a[0]:{type:2,steps:a,options:null}:a},Jka=function(a,b,c){var d=b.params||{};a=Ika(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new Tc(3001,!1))})},Ika=function(a){var b=[];if("string"===typeof a){for(var c;c=Kka.exec(a);)b.push(c[1]);Kka.lastIndex=0}return b},ri=function(a,b,c){var d=a.toString(),e=d.replace(Kka,function(f,h){h=b[h];null==h&&(c.push(new Tc(3003,!1)),h="");return h.toString()});
return e==d?a:e},si=function(a){for(var b=[],c=a.next();!c.done;)b.push(c.value),c=a.next();return b},ii=function(a){return a.replace(Lka,function(){return bd.apply(0,arguments)[1].toUpperCase()})},Mka=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,l){d.has(l)||e.push(l);d.set(l,h)});if(e.length){c={};for(var f=1;f<b.length;c={$jscomp$loop$prop$kf$2120:c.$jscomp$loop$prop$kf$2120},f++)c.$jscomp$loop$prop$kf$2120=b[f],e.forEach(function(h){return function(l){var q=h.$jscomp$loop$prop$kf$2120,
u=q.set;var x=window.getComputedStyle(a)[l];return u.call(q,l,x)}}(c))}}return b},ti=function(a,b,c){switch(b.type){case 7:return a.visitTrigger(b,c);case 0:return a.visitState(b,c);case 1:return a.visitTransition(b,c);case 2:return a.visitSequence(b,c);case 3:return a.visitGroup(b,c);case 4:return a.visitAnimate(b,c);case 5:return a.visitKeyframes(b,c);case 6:return a.visitStyle(b,c);case 8:return a.visitReference(b,c);case 9:return a.visitAnimateChild(b,c);case 10:return a.visitAnimateRef(b,c);
case 11:return a.visitQuery(b,c);case 12:return a.visitStagger(b,c);default:throw new Tc(3004,!1);}},Oka=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(Nka,""));a=a.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(c){return".ng-trigger-"+c.slice(1)}).replace(/:animating/g,".ng-animating");return[a,b]},Pka=function(a){if("string"==typeof a)return null;var b=null;Array.isArray(a)?a.forEach(function(c){c instanceof Map&&c.has("offset")&&(b=parseFloat(c.get("offset")),
c.delete("offset"))}):a instanceof Map&&a.has("offset")&&(b=parseFloat(a.get("offset")),a.delete("offset"));return b},Qka=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:li(a,b).duration,delay:0,easing:""};if(a.split(/\s+/).some(function(c){return"{"==c.charAt(0)&&"{"==c.charAt(1)}))return b={duration:0,delay:0,easing:"",dynamic:!0},b.strValue=a,b;a=li(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},ui=function(a){if(a){if(a=mi(a),a.params){var b=
a;var c=(c=a.params)?mi(c):null;b.params=c}}else a={};return a},Rka=function(a,b,c,d,e,f,h,l){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:void 0===h?null:h,subTimeline:void 0===l?!1:l}},Tka=function(a,b,c,d,e,f,h,l,q,u){f=void 0===f?new Map:f;h=void 0===h?new Map:h;u=void 0===u?[]:u;return(new Ska).buildKeyframes(a,b,c,d,e,f,h,l,q,u)},Uka=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},Vka=function(a,b){var c=new Map,d;a.forEach(function(e){if("*"===
e){d=d||b.keys();e=m(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else ni(e,c)});return c},Wka=function(a,b,c,d,e,f,h,l,q,u,x,y,G){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:u,postStyleProps:x,totalTime:y,errors:G}},Xka=function(a,b,c,d,e){return a.some(function(f){return f(b,c,d,e)})},Yka=function(a,b){b=mi(b);for(var c in a)a.hasOwnProperty(c)&&null!=a[c]&&(b[c]=a[c]);return b},
Zka=function(a,b){return new vi(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},$ka=function(a,b,c){a.has(b)?a.has(c)||a.set(c,a.get(b)):a.has(c)&&a.set(b,a.get(c))},wi=function(a){return a&&1===a.nodeType},ala=function(a,b){var c=a.style.display;a.style.display=null!=b?b:"none";return c},cla=function(a,b,c,d,e){var f=[];c.forEach(function(q){return f.push(ala(q))});var h=[];d.forEach(function(q,u){var x=new Map;q.forEach(function(y){var G=
b.computeStyle(u,y,e);x.set(y,G);G&&0!=G.length||(u.__ng_removed=bla,h.push(u))});a.set(u,x)});var l=0;c.forEach(function(q){return ala(q,f[l++])});return h},dla=function(a,b){function c(h){if(!h)return 1;var l=f.get(h);if(l)return l;var q=h.parentNode;d.has(q)?l=q:e.has(q)?l=1:l=c(q);f.set(h,l);return l}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(0==b.length)return d;var e=new Set(b),f=new Map;b.forEach(function(h){var l=c(h);1!==l&&d.get(l).push(h)});return d},xi=function(a,b){var c;
null==(c=a.classList)||c.add(b)},yi=function(a,b){var c;null==(c=a.classList)||c.remove(b)},ela=function(a,b,c){hi(c).onDone(function(){return zi(a,b)})},gla=function(a){var b=[];fla(a,b);return b},fla=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof vka?fla(d.players,b):b.push(d)}},hla=function(a,b){var c=Object.keys(a),d=Object.keys(b);if(c.length!=d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!b.hasOwnProperty(e)||a[e]!==b[e])return!1}return!0},ila=function(a,b,c){var d=
c.get(a);if(!d)return!1;var e=b.get(a);e?d.forEach(function(f){return e.add(f)}):b.set(a,d);c.delete(a);return!0},kla=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=jla(b[0]),1<b.length&&(d=jla(b[b.length-1]))):b instanceof Map&&(c=jla(b));return c||d?new Ai(a,c,d):null},jla=function(a){var b=null;a.forEach(function(c,d){if("display"===d||"position"===d)b=b||new Map,b.set(d,c)});return b},lla=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;
default:return a}},mla=function(a){var b=a.indexOf(".");return[a.substring(0,b),a.slice(b+1)]},nla=function(a){return{matches:"all"===a||""===a,media:a,addListener:function(){},removeListener:function(){}}},ola=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},pla=function(){return null},qla=function(a,b){var c=Bi(a);c.some(function(d){return d.trim()==b.trim()})||(c.push(b.trim()),a.setAttribute("aria-describedby",
c.join(" ")))},rla=function(a,b){var c=Bi(a).filter(function(d){return d!=b.trim()});c.length?a.setAttribute("aria-describedby",c.join(" ")):a.removeAttribute("aria-describedby")},Bi=function(a){return(a.getAttribute("aria-describedby")||"").match(/\S+/g)||[]},sla=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},ula=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+tla++)},vla=function(){return Zc(Ci)},wla=function(a,b){return b.some(function(c){var d=a.top>c.bottom,e=a.right<c.left,
f=a.left>c.right;return a.bottom<c.top||d||e||f})},xla=function(a,b){return b.some(function(c){var d=a.bottom>c.bottom,e=a.left<c.left,f=a.right>c.right;return a.top<c.top||d||e||f})},yla=function(a){return a&&"function"===typeof a.connect&&!(a instanceof T.ConnectableObservable)},Di=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},Ala=function(a){if("number"!==typeof a&&null!=a){var b=m(a.split(zla));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},
Bla=function(a){return{top:Math.floor(a.top),right:Math.floor(a.right),bottom:Math.floor(a.bottom),left:Math.floor(a.left),width:Math.floor(a.width),height:Math.floor(a.height)}},Fi=function(a,b){var c=function(){var d=a.apply(this,[].concat(p(bd.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};X(c,a);Ei.Object.defineProperties(c.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(d){d=d||this.defaultColor;d!==this._color&&(this._color&&
this._elementRef.nativeElement.classList.remove("mat-"+this._color),d&&this._elementRef.nativeElement.classList.add("mat-"+d),this._color=d)}}});return c},Gi=function(a){var b=function(){var c=a.apply(this,[].concat(p(bd.apply(0,arguments))))||this;c._disableRipple=!1;return c};X(b,a);Ei.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=Kh(c)}}});return b},Hi=function(a){var b=function(){var c=
a.apply(this,[].concat(p(bd.apply(0,arguments))))||this;c._disabled=!1;return c};X(b,a);Ei.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=Kh(c)}}});return b},Cla=function(a){var b=function(){var c=a.apply(this,[].concat(p(bd.apply(0,arguments))))||this;c.errorState=!1;return c};X(b,a);b.prototype.updateErrorState=function(){var c=this.ngControl?this.ngControl.control:null;var d=this._parentFormGroup||
this._parentForm;c=!!(c&&c.invalid&&(c.touched||d&&d.submitted));c!==this.errorState&&(this.errorState=c,this.stateChanges.next())};return b},Dla=function(a){var b=function(){var c=a.apply(this,[].concat(p(bd.apply(0,arguments))))||this;c._isInitialized=!1;c._pendingSubscribers=[];c.initialized=new T.Observable(function(d){c._isInitialized?c._notifySubscriber(d):c._pendingSubscribers.push(d)});return c};X(b,a);b.prototype._markInitialized=function(){this._isInitialized=!0;this._pendingSubscribers.forEach(this._notifySubscriber);
this._pendingSubscribers=null};b.prototype._notifySubscriber=function(c){c.next();c.complete()};return b},Ii=function(a){var b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(p(bd.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};X(c,a);Ei.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?Nh(d):this.defaultTabIndex}}});return c},Ela=function(){return Zc(Ji)},
Fla=function(a,b){var c=void 0===c?"mat":c;a.changes.pipe(Pf(a)).subscribe(function(d){d=d.length;b.nativeElement.classList.toggle(c+"-2-line",!1);b.nativeElement.classList.toggle(c+"-3-line",!1);b.nativeElement.classList.toggle(c+"-multi-line",!1);2===d||3===d?b.nativeElement.classList.toggle(c+"-"+d+"-line",!0):3<d&&b.nativeElement.classList.toggle(c+"-multi-line",!0)})},Gla=function(a,b,c){a=Math.max(Math.abs(a-c.left),Math.abs(a-c.right));b=Math.max(Math.abs(b-c.top),Math.abs(b-c.bottom));return Math.sqrt(a*
a+b*b)},Hla=function(a,b,c){if(c.length){b=b.toArray();c=c.toArray();for(var d=0,e=0;e<a+1;e++)b[e].group&&b[e].group===c[d]&&d++;return d}return 0},Ila=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Jla=function(a){a&1&&(D(0,"tr",3)(1,"td",4),P(2),E()());a&2&&(a=L(),z(1),og("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),dg("colspan",a.numCols),z(1),Q(" ",a.label," "))},Kla=function(a){a&1&&(D(0,"td",4),P(1),E());a&2&&(a=L(2),og("padding-top",a._cellPadding)("padding-bottom",
a._cellPadding),dg("colspan",a._firstRowOffset),z(1),Q(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},Lla=function(a,b){if(a&1){var c=t();D(0,"td",8)(1,"button",9);K("click",function(f){var h=v(c).$implicit,l=L(2);return w(l._cellClicked(h,f))})("focus",function(f){var h=v(c).$implicit,l=L(2);return w(l._emitActiveDateChange(h,f))});D(2,"div",10);P(3);E();F(4,"div",11);E()()}if(a&2){a=b.$implicit;b=b.index;var d=L().index,e=L();og("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",
e._cellPadding);dg("data-mat-row",d)("data-mat-col",b);z(1);pg("mat-calendar-body-disabled",!a.enabled)("mat-calendar-body-active",e._isActiveCell(d,b))("mat-calendar-body-range-start",e._isRangeStart(a.compareValue))("mat-calendar-body-range-end",e._isRangeEnd(a.compareValue))("mat-calendar-body-in-range",e._isInRange(a.compareValue))("mat-calendar-body-comparison-bridge-start",e._isComparisonBridgeStart(a.compareValue,d,b))("mat-calendar-body-comparison-bridge-end",e._isComparisonBridgeEnd(a.compareValue,
d,b))("mat-calendar-body-comparison-start",e._isComparisonStart(a.compareValue))("mat-calendar-body-comparison-end",e._isComparisonEnd(a.compareValue))("mat-calendar-body-in-comparison-range",e._isInComparisonRange(a.compareValue))("mat-calendar-body-preview-start",e._isPreviewStart(a.compareValue))("mat-calendar-body-preview-end",e._isPreviewEnd(a.compareValue))("mat-calendar-body-in-preview",e._isInPreview(a.compareValue));C("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);dg("aria-label",
a.ariaLabel)("aria-disabled",!a.enabled||null)("aria-pressed",e._isSelected(a.compareValue))("aria-current",e.todayValue===a.compareValue?"date":null)("aria-describedby",e._getDescribedby(a.compareValue));z(1);pg("mat-calendar-body-selected",e._isSelected(a.compareValue))("mat-calendar-body-comparison-identical",e._isComparisonIdentical(a.compareValue))("mat-calendar-body-today",e.todayValue===a.compareValue);z(1);Q(" ",a.displayValue," ")}},Mla=function(a,b){a&1&&(D(0,"tr",5),O(1,Kla,2,6,"td",6),
O(2,Lla,5,48,"td",7),E());if(a&2){a=b.$implicit;b=b.index;var c=L();z(1);C("ngIf",0===b&&c._firstRowOffset);z(1);C("ngForOf",a)}},Nla=function(a){return"TD"===(null==a?void 0:a.nodeName)},Ola=function(a){if(Nla(a))var b=a;else if(Nla(a.parentNode))b=a.parentNode;else{var c;Nla(null==(c=a.parentNode)?void 0:c.parentNode)&&(b=a.parentNode.parentNode)}var d;return null!=(null==(d=b)?void 0:d.getAttribute("data-mat-row"))?b:null},Pla=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},Qla=function(a,
b,c){return null!==b&&b!==c&&a>=b&&a===c},Rla=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},Sla=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},Tla=function(a,b){a&1&&(D(0,"th",5)(1,"span",6),P(2),E(),D(3,"span",7),P(4),E()());a&2&&(a=b.$implicit,z(2),Bg(a.long),z(2),Bg(a.narrow))},Vla=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=Ula(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},Ki=function(a,b,c,d){return((a.getYear(b)-
Ula(a,c,d))%24+24)%24},Ula=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},Wla=function(){},Xla=function(a){if(a&1){var b=t();D(0,"mat-month-view",5);K("activeDateChange",function(c){v(b);var d=L();return w(d.activeDate=c)})("_userSelection",function(c){v(b);var d=L();return w(d._dateSelected(c))})("dragStarted",function(c){v(b);var d=L();return w(d._dragStarted(c))})("dragEnded",function(c){v(b);var d=L();return w(d._dragEnded(c))});E()}a&2&&(a=L(),C("activeDate",a.activeDate)("selected",
a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName)("activeDrag",a._activeDrag))},Yla=function(a){if(a&1){var b=t();D(0,"mat-year-view",6);K("activeDateChange",function(c){v(b);var d=L();return w(d.activeDate=c)})("monthSelected",function(c){v(b);var d=L();return w(d._monthSelectedInYearView(c))})("selectedChange",
function(c){v(b);var d=L();return w(d._goToDateInView(c,"month"))});E()}a&2&&(a=L(),C("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Zla=function(a){if(a&1){var b=t();D(0,"mat-multi-year-view",7);K("activeDateChange",function(c){v(b);var d=L();return w(d.activeDate=c)})("yearSelected",function(c){v(b);var d=L();return w(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){v(b);var d=L();
return w(d._goToDateInView(c,"year"))});E()}a&2&&(a=L(),C("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},$la=function(a){a&1&&F(0,"mat-pseudo-checkbox",5);a&2&&(a=L(),C("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},ama=function(a){a&1&&(D(0,"span",6),P(1),E());a&2&&(a=L(),z(1),Q("(",a.group.label,")"))},bma=function(){},cma=function(a,b){for(var c=a.length;c--;)b(a[c])},dma=function(){},
ema=function(a,b){for(var c=a.nativeElement.parentElement;c&&!c.classList.contains("mat-dialog-container");)c=c.parentElement;return c?b.find(function(d){return d.id===c.id}):null},fma=function(a){a&1&&(H(0),D(1,"div",14),F(2,"div",15)(3,"div",16)(4,"div",17),E(),D(5,"div",18),F(6,"div",15)(7,"div",16)(8,"div",17),E(),I())},gma=function(a){if(a&1){var b=t();D(0,"div",19);K("cdkObserveContent",function(){v(b);var c=L();return w(Li(c))});xg(1,1);E()}a&2&&(a=L(),C("cdkObserveContentDisabled","outline"!=
a.appearance))},hma=function(a){a&1&&(H(0),xg(1,2),D(2,"span"),P(3),E(),I());a&2&&(a=L(2),z(3),Bg(a._control.placeholder))},ima=function(a){a&1&&xg(0,3,["*ngSwitchCase","true"])},jma=function(a){a&1&&(D(0,"span",23),P(1," *"),E())},kma=function(a){if(a&1){var b=t();D(0,"label",20,21);K("cdkObserveContent",function(){v(b);var c=L();return w(Li(c))});O(2,hma,4,1,"ng-container",12);O(3,ima,1,0,"ng-content",12);O(4,jma,2,0,"span",22);E()}a&2&&(a=L(),pg("mat-empty",a._control.empty&&!a._shouldAlwaysFloat())("mat-form-field-empty",
a._control.empty&&!a._shouldAlwaysFloat())("mat-accent","accent"==a.color)("mat-warn","warn"==a.color),C("cdkObserveContentDisabled","outline"!=a.appearance)("id",a._labelId)("ngSwitch",a._hasLabel()),dg("for",a._control.id)("aria-owns",a._control.id),z(2),C("ngSwitchCase",!1),z(1),C("ngSwitchCase",!0),z(1),C("ngIf",!a.hideRequiredMarker&&a._control.required&&!a._control.disabled))},lma=function(a){a&1&&(D(0,"div",24),xg(1,4),E())},mma=function(a){a&1&&(D(0,"div",25),F(1,"span",26),E());a&2&&(a=L(),
z(1),pg("mat-accent","accent"==a.color)("mat-warn","warn"==a.color))},nma=function(a){a&1&&(D(0,"div"),xg(1,5),E());a&2&&(a=L(),C("@transitionMessages",a._subscriptAnimationState))},oma=function(a){a&1&&(D(0,"div",30),P(1),E());a&2&&(a=L(2),C("id",a._hintLabelId),z(1),Bg(a.hintLabel))},pma=function(a){a&1&&(D(0,"div",27),O(1,oma,2,2,"div",28),xg(2,6),F(3,"div",29),xg(4,7),E());a&2&&(a=L(),C("@transitionMessages",a._subscriptAnimationState),z(1),C("ngIf",a.hintLabel))},qma=function(a){var b=new Map;
0<a.length&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");d=m(-1==d?[decodeURIComponent(c),""]:[decodeURIComponent(c.slice(0,d)),decodeURIComponent(c.slice(d+1))]);c=d.next().value;d=d.next().value;var e=b.get(c)||[];e.push(d);b.set(c,e)});return b},tma=function(a){return encodeURIComponent(a).replace(rma,function(b,c){var d;return null!=(d=sma[c])?d:b})},uma=function(a){return""+a},vma=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},wma=function(a){return"undefined"!==
typeof Blob&&a instanceof Blob},xma=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},yma=function(a,b){return{body:b,headers:a.headers,context:a.context,observe:a.observe,params:a.params,reportProgress:a.reportProgress,responseType:a.responseType,withCredentials:a.withCredentials}},zma=function(a,b){return b(a)},Ama=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},Bma=function(a,b,c){return function(d,e){return Mi(c,function(){return b(d,
function(f){return a(f,e)})})}},Fma=function(a,b){var c=a.url.toLowerCase();if(!Zc(Cma)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=Zc(Dma).getToken();var d=Zc(Ema);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},Gma=function(){if(void 0===Ni&&(Ni=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(Ni=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return Ni},
Hma=function(a){var b;return(null==(b=Gma())?void 0:b.createHTML(a))||a},Ima=function(){var a=Zc(Ci),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},Jma=function(a){a&1&&(D(0,"mat-icon",9),P(1),E());a&2&&(a=L(2),z(1),Bg(a.actionBtnIcon))},Kma=function(a){if(a&1){var b=t();D(0,"button",6);K("click",function(){v(b);var c=L();return w(c.action.emit())});D(1,"span",7);P(2);O(3,Jma,2,1,"mat-icon",8);E()()}a&2&&(a=L(),z(2),Q(" ",a.actionBtnText," "),z(1),C("ngIf",a.actionBtnIcon))},
Lma=function(a){if(a&1){var b=t();D(0,"onedev-feature-tooltip-body",1);K("action",function(){v(b);var c=L();return w(c.action.emit())})("dismiss",function(){v(b);var c=L();c.hideFeatureTooltip();c.dismiss.emit();return w()});xg(1);E()}a&2&&(a=L(),C("actionBtnText",a.actionBtnText)("actionBtnIcon",a.actionBtnIcon)("color",a.color)("pointerPosition",a.pointerPosition)("widthOffset",a.widthOffset))},Oi=function(a){a&&"function"==typeof a.dispose&&a.dispose()},Mma=function(a){for(var b=0,c=arguments.length;b<
c;++b){var d=arguments[b];Qa(d)?Mma.apply(null,d):Oi(d)}},Nma=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;x=u=0}function b(y){for(var G=h,J=0;64>J;J+=4)G[J/4]=y[J]<<24|y[J+1]<<16|y[J+2]<<8|y[J+3];for(J=16;80>J;J++)y=G[J-3]^G[J-8]^G[J-14]^G[J-16],G[J]=(y<<1|y>>>31)&4294967295;y=e[0];var M=e[1],V=e[2],U=e[3],W=e[4];for(J=0;80>J;J++){if(40>J)if(20>J){var ba=U^M&(V^U);var pa=1518500249}else ba=M^V^U,pa=1859775393;else 60>J?(ba=M&V|U&(M|V),pa=
2400959708):(ba=M^V^U,pa=3395469782);ba=((y<<5|y>>>27)&4294967295)+ba+W+pa+G[J]&4294967295;W=U;U=V;V=(M<<30|M>>>2)&4294967295;M=y;y=ba}e[0]=e[0]+y&4294967295;e[1]=e[1]+M&4294967295;e[2]=e[2]+V&4294967295;e[3]=e[3]+U&4294967295;e[4]=e[4]+W&4294967295}function c(y,G){if("string"===typeof y){y=unescape(encodeURIComponent(y));for(var J=[],M=0,V=y.length;M<V;++M)J.push(y.charCodeAt(M));y=J}G||(G=y.length);J=0;if(0==u)for(;J+64<G;)b(y.slice(J,J+64)),J+=64,x+=64;for(;J<G;)if(f[u++]=y[J++],x++,64==u)for(u=
0,b(f);J+64<G;)b(y.slice(J,J+64)),J+=64,x+=64}function d(){var y=[],G=8*x;56>u?c(l,56-u):c(l,64-(u-56));for(var J=63;56<=J;J--)f[J]=G&255,G>>>=8;b(f);for(J=G=0;5>J;J++)for(var M=24;0<=M;M-=8)y[G++]=e[J]>>M&255;return y}for(var e=[],f=[],h=[],l=[128],q=1;64>q;++q)l[q]=0;var u,x;a();return{reset:a,update:c,digest:d,digestString:function(){for(var y=d(),G="",J=0;J<y.length;J++)G+="0123456789ABCDEF".charAt(Math.floor(y[J]/16))+"0123456789ABCDEF".charAt(y[J]%16);return G}}},Oma=function(a,b,c){Pi(a.url,
function(d){d=d.target;d.isSuccess()?b(d.getResponseText()):c(d.getStatus())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)},Pma=function(a){this.logSource_=a;this.sessionIndex_="0";this.destinationUrl_="https://play.google.com/log?format=json&hasfast=true";this.enableServiceWorkerScope_=!1;this.networkIOSend_=Oma;this.componentId_="";this.enableSendBeaconApi_=this.useGetRequestForFinalFlush_=this.useSendBeaconForFinalFlush_=!1;this.useConsistentTimezoneOffset=void 0},Qma=
function(a){a&1&&(yd(),D(0,"svg",3),F(1,"polygon",4),E())},Rma=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},Sma=function(a){a&1&&(yd(),D(0,"svg",2),F(1,"polygon",3),E())},Tma=function(a){if(a&1){var b=t();D(0,"div",0);K("keydown",function(c){v(b);var d=L();return w(d._handleKeydown(c))})("click",function(){v(b);var c=L();return w(c.closed.emit("click"))})("@transformMenu.start",function(c){v(b);var d=L();return w(d._onAnimationStart(c))})("@transformMenu.done",
function(c){v(b);var d=L();return w(d._onAnimationDone(c))});D(1,"div",1);xg(2);E()()}a&2&&(a=L(),C("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),dg("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Qi=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},Vma=function(a){var b=Ri(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?
new Ti:new Uma;if(b.startsWith("application/x-protobuf")){a=Ri(a,"Content-Transfer-Encoding");if(!a)return new Ui;if("base64"==a.toLowerCase())return new Vi}return null},Wma=function(a,b){if(a.nodeType===Node.ELEMENT_NODE&&b){var c,d;b=((null==(c=a.getAttribute)?void 0:null==(d=c.call(a,"aria-labelledby"))?void 0:d.split(/\s+/g))||[]).reduce(function(q,u){(u=document.getElementById(u))&&q.push(u);return q},[]);if(b.length)return b.map(function(q){return Wma(q,!1)}).join(" ")}if(a.nodeType===Node.ELEMENT_NODE){var e;
if(c=null==(e=a.getAttribute("aria-label"))?void 0:e.trim())return c}if("INPUT"===a.nodeName||"TEXTAREA"===a.nodeName){var f;if(null==(f=a.labels)?0:f.length)return Array.from(a.labels).map(function(q){return Wma(q,!1)}).join(" ");var h;if(e=null==(h=a.getAttribute("placeholder"))?void 0:h.trim())return e;var l;if(h=null==(l=a.getAttribute("title"))?void 0:l.trim())return h}return(a.textContent||"").replace(/\s+/g," ").trim()},Xma=function(){return{color:"accent"}},Yma=function(a){return"nonprod"===
a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},Zma=function(a,b){a.src=Wi(b).toString()},Xi=function(a,b){a.src=Wi(b);var c,d;(c=(b=null==(d=(c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:d.call(c,"script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)},$ma=function(a,b,c){b=oka(b);void 0!==b&&a.open(b,c,void 0)},Yi=function(a){return null==
console?!1:"function"===typeof console[a]},Zi=function(){Yi("debug")&&console.debug.apply(console,bd.apply(0,arguments))},ana=function(){Yi("info")&&console.info.apply(console,bd.apply(0,arguments))},bna=function(){Yi("log")&&console.log.apply(console,bd.apply(0,arguments))},$i=function(){Yi("warn")&&console.warn.apply(console,bd.apply(0,arguments))},cna=function(){Yi("error")&&console.error.apply(console,bd.apply(0,arguments))},dna=function(a){if(null!=a){var b=a.getYear();if(null==b)$i("No year. dateToJs");
else{var c=a.getDay();if(null==c)$i("No day. dateToJs");else if(a=a.getMonth(),null==a)$i("No month. dateToJs");else return{year:b,day:c,month:a}}}},ena=function(a){var b=new aj;Jb(b,3,a.day,0);b.setMonth(a.month);b.setYear(a.year);return b},bj=function(a){if(null!=a){var b=a.getSeconds();a=a.getNanos();return{seconds:b,nanos:a}}},dj=function(a){var b=new cj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},fna=function(a){if(null!=a)return Number(a.toDate())},gna=function(a){var b;return{changelistNumbers:null!=
(b=ej(a,1))?b:[]}},jna=function(a){return{changelists:fj(a,hna,1).map(ina),nextPageToken:a.getNextPageToken()}},ina=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:gj(a,2),pending:a.getPending(),timestamp:bj(a.getTimestamp()),issueIds:null!=(b=a.getIssueIdsList())?b:[],fixedIssueIds:null!=(c=hj(a,6))?c:[]}},kna=function(a){var b;return{author:a.getAuthor(),description:a.getDescription(),pending:a.getPending(),timestamp:a.getTimestamp(),affectedFiles:null!=(b=ij(a,5))?b:[]}},lna=function(a){return null===
a?function(){}:function(b){a:{if(Array.isArray(b)&&1===b.length&&(b=b[0],Array.isArray(b))){b=new a(b);break a}b=void 0}if(void 0!==b)return b;throw Error("ac");}},kj=function(a){return new jj(a.year,a.month-1,a.day)},lj=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},mna=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},nna=function(a,b){return a.size!==b.size?!1:[].concat(p(a)).every(function(c){return b.has(c)})},ona=function(a){var b=new Set;a=m(a);
for(var c=a.next();!c.done;c=a.next()){c=m(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},pna=function(a,b){if(!nna(a,b)){var c=[].concat(p(b)).filter(function(e){return!a.has(e)}),d=[].concat(p(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},qna=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(p(a===c?b:a)).filter(function(d){return c.has(d)}))},rna=function(a,b){return a.size>=b.size&&[].concat(p(b)).every(function(c){return a.has(c)})},
mj=function(a,b){if(a===b)return!0;if(null==a||null==b)return a===b;if(Array.isArray(a)){if(!Array.isArray(b))return!1;var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(!mj(a[d],b[d]))return!1;return!0}if(a instanceof Date)return b instanceof Date?a.getTime()===b.getTime():!1;if(a instanceof RegExp)return b instanceof RegExp?a.toString()===b.toString():!1;if(a instanceof Set||b instanceof Set)return a instanceof Set&&b instanceof Set?nna(a,b):!1;if("object"===typeof a){if("object"!==
typeof b)return!1;c=Object.keys(a);d=c.length;if(d!==Object.keys(b).length)return!1;for(var e=0;e<d;e++){var f=c[e];if(!sna.call(b,f)||!mj(a[f],b[f]))return!1}return!0}return!1},tna=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=m(b),f=e.next();!f.done;f=e.next())if(mj(c,f.value)){d=!0;break}d||b.push(c)}return b},una=function(a,b){for(var c=a.length-1;0<=c;c--)mj(a[c],b)&&a.splice(c,1)},vna=function(a,b,c){c=void 0===c?Infinity:c;if(a===b)return!0;if((null==
a||null==b)&&a!==b)return!1;var d=Object.keys(a),e=Object.keys(b);if(d.length!==e.length)return!1;c=Math.min(d.length,c);for(e=0;e<c;e++){var f=d[e];if(a[f]!==b[f]&&("object"!==typeof a[f]||"object"!==typeof b[f]))return!1}return!0},xna=function(a){return Object.assign.apply(Object,[{}].concat(p(wna.map(function(b){var c={};return c[b]=a[b],c}))))},nj=function(a){if(null!==a&&void 0!==a&&-1===["boolean","function","number","string"].indexOf(typeof a))if(Array.isArray(a)){var b=[];a=m(a);for(var c=
a.next();!c.done;c=a.next())b.push(nj(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=m(a);for(c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.set(nj(c),nj(d))}a=b}else{b={};c=m(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b[d]=nj(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},oj=function(a){return"number"===typeof a},pj=function(a){return"string"===
typeof a},yna=function(a){return oj(a)||pj(a)},qj=function(a){return Array.isArray(a)&&a.every(pj)},zna=function(a){return Array.isArray(a)&&a.every(oj)},Ana=function(a){if(null==a)return!1;a=String(a).trim();if(2>=a.length)return!1;var b=Number(a);return isNaN(b)?!1:String(b).length===a.length},rj=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},tj=function(a){if(a){if(oj(a)){var b=new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new jj(b)}b=
a.split("/");if(3===b.length)return a=sj(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new jj(a,sj(b[0])-1,sj(b[1]));if(1===b.length)return tj(Number(a))}return new jj},Bna=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},Cna=function(a){return!(!a||!uj(a,"text/")&&!uj(a,"image/")&&"application/pdf"!==a)},vj=function(a,b){return a.map(function(c){return c[b]})},Dna=function(a,b){return a.filter(function(c){return!b.has(c)})},Ena=function(a,b){for(var c=m(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;
b=m(b);for(d=b.next();!d.done;d=b.next())if(!a.has(d.value))return!1;return!0},wj=function(a,b){return Dna(a,new Set(b))},yj=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(xj).filter(function(d){return!!d})},Fna=function(a,b){a=new URL(a);return a.host+a.pathname+b},Gna=function(a){return a?lj(tj(a)):null},Hna=function(a){return a?(a=zj(a),isNaN(a)?null:a):null},Jna=function(a){var b=new Aj;b.customFieldId=a.customFieldId;b.componentId=a.componentId;b.name=a.name;b.type=
a.type;b.description=a.description||"";a.typedDefaultValue&&(b.typedDefaultValue=new Bj(a.typedDefaultValue));b.required=!!a.required;b.fieldSignificance=a.fieldSignificance||"MINOR";b.allowedValue=a.allowedValue||null;b.stateOnIssues=Ina[a.stateOnIssues]||1;a=a.enabledOnIssues;b.enabledOnIssues=null==a?!0:a;return b},Cj=function(a){return void 0!==a.user},Dj=function(a){return void 0!==a.group},Kna=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";
default:return Ej(a.replace(/_/g," ").toLowerCase())}},Mna=function(a){if(a)return{accessLevel:Lna[a.getAccessLevel()]}},Ona=function(a){a=Nna[a.accessLevel];var b=new Fj;b.setAccessLevel(a);return b},Pna=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===a},Hj=function(a){return a?a.map(Gj):[]},Ij=function(a){a=Hj(a);a.sort();return a},Gj=function(a){return a&&a.getUserGaiaStatus?Qna(Jj(a)):Qna(a)},Qna=function(a){return a?"DELETED"===a.userGaiaStatus?"[Deleted User]":
"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":Pna(a)?Rna(a)||"[No Data]":"[No Data]":""},Kj=function(a){return a&&a.getUserGaiaStatus?Rna(Jj(a)):Rna(a)},Rna=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},Jj=function(a){if(null!=a){var b={},c;if(c=a.getEmailAddress())b.emailAddress=c;if(c=a.getObfuscatedEmailAddress())b.obfuscatedEmailAddress=c;if(c=a.getUserGaiaStatus())b.userGaiaStatus=Sna[c];(c=a.getAliasesList())&&0<c.length&&(b.aliases=c);return b}},Lj=function(a){if(!a)return null;
var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())(c=Jj(c.value))&&b.push(c);return b},Nj=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new Mj;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Tna[a]);return e},Oj=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Pj=function(a){if(null!=a&&(a=String(a),""!==a.trim()))return a=Number(a),isNaN(a)?void 0:a},Qj=function(a){if(null!=
a)return String(a)},Rj=function(a){if(null!=a&&"0"!==a)return a},Sj=function(a){return null==a?void 0:a},Tj=function(a){return null==a?null:a},Uj=function(a){return function(b){return null==b?a:b}},Vj=function(a){return null!=a},Una=function(a){return{noAccessEmails:ij(a,1),unknownEmails:ij(a,2)}},Vna=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=Jj(c);if(c=a.getGroup())b.group=Jj(c);if(c=Wj(a,3,Xj))b.alias=c;return b}},ak=function(a){var b=new Yj;if(Cj(a))return b.setUser(Nj(a.user)),
b;if(Dj(a))return b.setGroup(Nj(a.group)),b;void 0!==a.alias&&Zj(b,3,Xj,a.alias);return b},Xna=function(a){var b=Wna[bk(a,10,0)],c,d,e,f,h,l,q,u,x,y;return{admins:ck(null!=(c=fj(a,Yj,2))?c:[]),appenders:ck(null!=(d=a.getAppendersList())?d:[]),editors:ck(null!=(e=fj(a,Yj,4))?e:[]),readers:ck(null!=(f=a.getReadersList())?f:[]),restrictedReaders:ck(null!=(h=fj(a,Yj,11))?h:[]),restrictedPlusReaders:ck(null!=(l=fj(a,Yj,12))?l:[]),inheritedAdmins:ck(null!=(q=fj(a,Yj,3))?q:[]),implicitAppenders:ck(null!=
(u=fj(a,Yj,7))?u:[]),implicitEditors:ck(null!=(x=fj(a,Yj,5))?x:[]),implicitReaders:ck(null!=(y=fj(a,Yj,9))?y:[]),implicitAccess:b}},ck=function(a){return a.map(Vna).filter(Vj)},dk=function(a){if(null==a)return"";var b=a.user,c=a.group,d=a.alias;if(null!=b){var e="USER";var f=b.emailAddress||b.obfuscatedEmailAddress||void 0}else null!=c?(e="GROUP",f=c.emailAddress||c.obfuscatedEmailAddress||void 0):null!=d&&(e="ALIAS",f=d);return null==e||null==f?(cna("Invalid principal: ",a),""):e+":"+f},ek=function(a){return(null!=
a?a:[]).map(dk)},Yna=function(a){return(null!=a?a:[]).map(fk)},fk=function(a){var b=m(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("bc`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("cc`"+b);}},gk=function(a){switch(a){case 2:return"PII";case 3:return"SPII";case 0:case 1:return"NONE_DETECTED";default:return Qi(a,"Unexpected pii severity")}},hk=function(a){switch(a){case "PII":return 2;
case "SPII":return 3;case "NONE_DETECTED":return 1;case "PII_SEVERITY_UNSPECIFIED":return 0;default:return Qi(a,"Unexpected pii severity")}},ik=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},Zna=function(a){switch(a){case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;default:return 1}},$na=function(a){switch(a){case "PII":return"Restricted";case "SPII":return"Restricted+";default:return""}},aoa=function(a){var b=jk(a,1)?kk(a,1):void 0,c=a.hasResourcePath()?
a.getResourcePath():void 0,d=gk(a.getSeverity()),e=a.getJudgementReason();a=lk(a,5);return{contentJudgementId:b,resourcePath:c,severity:d,judgementReason:e,contentJudge:a}},boa=function(a){var b=new mk;b.setJudgementReason(a.judgementReason);b.setSeverity(hk(a.severity));return b},coa=function(a){return String(a)},nk=function(a){var b=Pj(a);if(null==b)throw Error("dc`"+a);return b},eoa=function(a){if(null!=a)return{customFieldId:Sj(a.getCustomFieldId()),standardField:doa[a.getStandardField()]}},goa=
function(a){var b=new ok;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&b.setStandardField(foa[a.standardField]);return b},ioa=function(a){if(a&&(a=hoa(a)))return Jna(a)},hoa=function(a){if(null!=a){var b=a.getName();if(null==b)$i("No name. customFieldToJs");else{var c=Pj(a.getCustomFieldId());if(null==c)$i("No customFieldId. customFieldToJs");else{if(a.hasType())return{name:b,description:Sj(a.getDescription()),required:Sj(a.getRequired()),enabledOnIssues:!!a.getEnabledOnIssues(),
type:joa[a.getType()],customFieldId:c,componentId:Pj(a.getComponentId()),allowedValue:Sj(ij(a,8)),stateOnIssues:koa[a.getStateOnIssues()],fieldSignificance:loa[a.getFieldSignificance()],typedDefaultValue:moa(a.getTypedDefaultValue())};$i("No type. customFieldToJs")}}}},moa=function(a){if(null!=a){var b=Pj(a.getCustomFieldId());if(null==b)$i("No customFieldId. customFieldValueToJs");else{var c=Sj(ij(a,12));b={customFieldId:b,displayValues:c};switch(pk(a,qk)){case 4:b.textValue=Sj(a.getTextValue());
break;case 5:b.dateValue=dna(a.getDateValue());break;case 6:b.enumValue=Sj(a.getEnumValue());break;case 7:b.numericValue=Sj(a.getNumericValue());break;case 8:var d,e;b.repeatedTextValue={values:null!=(e=null==(d=a.getRepeatedTextValue())?void 0:d.getValuesList())?e:[]};break;case 10:var f,h;b.repeatedEnumValue={values:null!=(h=null==(f=a.getRepeatedEnumValue())?void 0:f.getValuesList())?h:[]};break;case 11:var l,q;b.repeatedNumericValue={values:null!=(q=null==(l=a.getRepeatedNumericValue())?void 0:
l.getValuesList())?q:[]};break;case 9:var u,x,y,G;b.repeatedDateValue={values:null!=(G=null==(u=a.getRepeatedDateValue())?void 0:null==(x=u.getValuesList())?void 0:null==(y=x.map(dna))?void 0:y.filter(Vj))?G:[]}}return b}}},noa=function(a){var b=new rk;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));a.displayValues&&sk(b,12,a.displayValues);if(void 0!==a.textValue)b.setTextValue(a.textValue);else if(void 0!==a.enumValue)b.setEnumValue(a.enumValue);else if(void 0!==a.numericValue)b.setNumericValue(a.numericValue);
else if(void 0!==a.dateValue)b.setDateValue(ena(a.dateValue));else if(void 0!==a.repeatedTextValue){var c=new tk;c.setValuesList(a.repeatedTextValue.values);b.setRepeatedTextValue(c)}else void 0!==a.repeatedEnumValue?(c=new tk,c.setValuesList(a.repeatedEnumValue.values),b.setRepeatedEnumValue(c)):void 0!==a.repeatedNumericValue?(c=new uk,c.setValuesList(a.repeatedNumericValue.values),b.setRepeatedNumericValue(c)):void 0!==a.repeatedDateValue&&(c=new vk,c.setValuesList(a.repeatedDateValue.values.map(ena)),
b.setRepeatedDateValue(c));return b},ooa=function(a){return ioa(wk(a,xk,1))},yk=function(a){var b=new xk;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(poa[a.type]);b.setRequired(a.required);b.setName(a.name);b.setDescription(a.description);a.typedDefaultValue&&b.setTypedDefaultValue(noa(a.typedDefaultValue));a.allowedValue&&sk(b,8,a.allowedValue);b.setFieldSignificance(qoa[a.fieldSignificance]);b.setStateOnIssues(a.stateOnIssues);b.setEnabledOnIssues(a.enabledOnIssues);
return b},voa=function(a){var b=new zk;a.inherit&&b.setInherit(a.inherit);a.id&&b.setId(a.id);a.name&&b.setName(a.name);a.customFieldId&&b.setCustomFieldId(a.customFieldId);a.numericSpec&&roa(b,soa(new Ak,a.numericSpec.multiplier));if(a.enumSpec){var c;toa(b,uoa(new Bk,(null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Ck).setLabel(d.label).setValue(d.value)})))}if(a.aggregationType){a:switch(a.aggregationType){case "MAX":a=2;break a;case "SUM":a=1;break a;default:a=0}Dk(b,6,a)}return b},
xoa=function(a){var b=new Ek;k(b,1,woa[a.retentionSelection]);null!==a.retentionPeriodDays&&k(b,2,a.retentionPeriodDays);k(b,3,woa[a.piiRetentionSelection]);null!==a.piiRetentionPeriodDays&&k(b,4,a.piiRetentionPeriodDays);null!==a.spiiRetentionPeriodDays&&k(b,5,a.spiiRetentionPeriodDays);return b},Fk=function(a){if(null!=a){var b=Tj(bj(a.getRetentionPeriod()));a=Tj(bj(a.getScheduledDeletionTime()));return{retentionPeriod:b,scheduledDeletionTime:a}}},zoa=function(a){if(null!=a){a:{a=wk(a,Gk,1);if(null!=
a){if(a.hasSeverity()){a={severity:yoa[a.getSeverity()]};break a}$i("No severity. piiVerdictToJs")}a=void 0}return{piiVerdict:a}}},Aoa=function(a){return{startTime:bj(a.getStartTime()),endTime:bj(a.getEndTime()),targetTime:bj(a.getTargetTime())}},Boa=function(a){var b=new Hk;a.startTime&&b.setStartTime(dj(a.startTime));a.endTime&&b.setEndTime(dj(a.endTime));a.targetTime&&b.setTargetTime(dj(a.targetTime));return b},Doa=function(a){var b=new Ik;b.setInherit(a.inherit);b.setSource(Coa[a.source]);b.setId(a.id);
b.setComment(a.comment);k(b,6,a.sourceComponentId);b.setSourceTeamId(a.sourceTeamId);return b},Eoa=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:bk(b,2,0))},Foa=function(a){var b;return 1===(null==(b=wk(a,Jk,1))?void 0:b.getEffectiveSloEditPolicy())},Mk=function(a){var b=wk(a,Kk,2);a:{var c=bk(a,3,0);switch(c){case 1:c="daily";break a;case 2:c="weekly";break a;case 3:c="monthly";break a;case 0:break;default:Qi(c)}c=void 0}var d=a.getTimeZone(),e=wk(a,Lk,6);if(null==b)throw Error("ec");
if(null==c)throw Error("fc");if(null==d)throw Error("gc");if(null==e)throw Error("hc");var f=a.getId(),h={},l=b.getEmailAddress();l&&(h.emailAddress=l);if(l=b.getObfuscatedEmailAddress())h.obfuscatedEmailAddress=l;l=b.getUserGaiaStatus();switch(l){case 0:h.userGaiaStatus="UNSPECIFIED";break;case 1:h.userGaiaStatus="ACTIVE";break;case 2:h.userGaiaStatus="DELETED";break;case 3:h.userGaiaStatus="UNAVAILABLE";break;default:Qi(l)}if(b=b.getAliasesList())h.aliases=b;a=gj(a,4);b={id:d.getId()};d.getVersion()&&
(b.version=d.getVersion());return{id:f,lead:h,frequency:c,ordinal:a,timeZone:b,timeOfDay:{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()}}},Hoa=function(a){var b=(new Nk).setId(a.id),c=a.lead,d=c.emailAddress,e=c.obfuscatedEmailAddress,f=c.aliases;c=c.userGaiaStatus;var h=new Kk;d&&h.setEmailAddress(d);e&&h.setObfuscatedEmailAddress(e);f&&h.setAliasesList(f);if(c)switch(c){case "UNSPECIFIED":h.setUserGaiaStatus(0);break;case "ACTIVE":h.setUserGaiaStatus(1);break;
case "DELETED":h.setUserGaiaStatus(2);break;case "UNAVAILABLE":h.setUserGaiaStatus(3);break;default:Qi(c)}b=Ok(b,Kk,2,h).setFrequency(Goa(a.frequency));b=Jb(b,4,a.ordinal,0);d=b.setTimeZone;e=a.timeZone;f=(new Pk).setId(e.id);e.version&&f.setVersion(e.version);b=d.call(b,f);a=a.timeOfDay;a=(new Lk).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);return Ok(b,Lk,6,a)},Goa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return Qi(a)}},
Ioa=function(a){if(null!=a)return{tag:a.getTag(),text:lk(a,2)}},Qoa=function(a){if(null!=a){var b,c,d,e,f,h,l,q=a.getTitle()||"",u=Tj(a.getComment()),x=Joa(a.getFormattingMode()),y=Tj(a.getVersion()),G=Tj(a.getCreatedTimeMicros()),J=!!a.getIsArchived(),M=!!a.getInProd(),V=Tj(a.getIsDeleted()),U=Tj(ij(a,18)),W=Tj(a.getPostmortemsList()),ba=Tj(ij(a,19)),pa=Tj(ij(a,20)),na=Tj(ij(a,21)),xa=Tj(Pj(a.getComponentId())),Fa=null!=(h=Rj(kk(a,15)))?h:null;h=Tj(null==(b=hj(a,14))?void 0:b.map(Pj).filter(Vj));
b=Tj(null==(c=hj(a,16))?void 0:c.map(Rj).filter(Vj));c=Tj(null==(d=hj(a,17))?void 0:d.map(Rj).filter(Vj));d=Tj(null==(e=a.getHotlistIdList())?void 0:e.map(Pj).filter(Vj));e=Tj(null==(f=hj(a,30))?void 0:f.map(Rj).filter(Vj));f=null!=(l=bj(a.getSloSnoozeUntil()))?l:null;l=Tj(Jj(wk(a,Mj,36)));var Ha=Tj(Jj(wk(a,Mj,37))),Bb=Tj(Jj(wk(a,Mj,38))),lb=Tj(Jj(wk(a,Mj,39))),Ya=Tj(Lj(fj(a,Mj,40))),qa=Tj(Lj(fj(a,Mj,51))),Ba=fj(a,rk,24).map(moa).filter(Vj),Ea=Qk[a.getRetention()],Oa=loa[a.getSignificanceOverride()],
La=Koa[a.getDeletionReason()],fc=a.hasType()?Loa[a.getType()]:null,Ua=a.hasPriority()?Moa[a.getPriority()]:null,bb=a.hasSeverity()?Noa[a.getSeverity()]:null,Sa=a.hasStatus()?Rk[a.getStatus()]:null,sb=Sk(a,52)?Ooa[a.getSloSnoozeType()]:null,Za=Sk(a,53)?Poa[a.getAccessLimitLevel()]:null;a.hasEffort()?(a=a.getEffort(),a={specId:Tk(a,1),estimate:lk(a,2),averageDays:Uk(a,3),totalOpen:Uk(a,4),totalComplete:Uk(a,5)}):a=void 0;return{title:q,comment:u,formattingMode:x,version:y,createdTimeMicros:G,isArchived:J,
inProd:M,isDeleted:V,changelist:U,postmortems:W,foundInVersion:ba,targetedToVersion:pa,verifiedInVersion:na,componentId:xa,duplicateOfIssueId:Fa,attachmentId:h,blockedByIssueId:b,blockingIssueId:c,hotlistId:d,duplicateIssueId:e,sloSnoozeUntil:f,authorUser:l,reporterUser:Ha,assigneeUser:Bb,verifierUser:lb,ccUsers:Ya,collaboratorsUsers:qa,customField:Ba,retention:Ea,significanceOverride:Oa,deletionReason:La,type:fc,priority:Ua,severity:bb,status:Sa,sloSnoozeType:sb,issueAccessLimitLevel:Za,effort:a}}},
Yoa=function(a){var b=new Vk;if(a.authorUser){var c=Nj(a.authorUser);Ok(b,Mj,36,c)}a.createdTimeMicros&&b.setCreatedTimeMicros(a.createdTimeMicros);a.componentId&&b.setComponentId(String(a.componentId));a.version&&b.setVersion(a.version);a.type&&b.setType(Roa[a.type]);a.status&&b.setStatus(Wk[a.status]);a.priority&&b.setPriority(Soa[a.priority]);a.severity&&b.setSeverity(Toa[a.severity]);void 0!==a.title&&b.setTitle(a.title);a.reporterUser&&(c=Nj(a.reporterUser),Ok(b,Mj,37,c));a.assigneeUser&&(c=
Nj(a.assigneeUser),Ok(b,Mj,38,c));a.verifierUser&&(c=Nj(a.verifierUser),Ok(b,Mj,39,c));a.ccUsers&&(c=a.ccUsers.map(Nj),Sb(b,40,c));a.collaboratorsUsers&&(c=a.collaboratorsUsers.map(Nj),Sb(b,51,c));a.attachmentId&&(c=a.attachmentId.map(coa),Xk(b,14,c));a.duplicateOfIssueId&&k(b,15,a.duplicateOfIssueId);a.blockedByIssueId&&Xk(b,16,a.blockedByIssueId);a.blockingIssueId&&Xk(b,17,a.blockingIssueId);a.changelist&&sk(b,18,a.changelist);a.postmortems&&b.setPostmortemsList(a.postmortems);a.foundInVersion&&
sk(b,19,a.foundInVersion);a.targetedToVersion&&sk(b,20,a.targetedToVersion);a.verifiedInVersion&&sk(b,21,a.verifiedInVersion);a.hotlistId&&b.setHotlistIdList(a.hotlistId.map(coa));a.customField&&(c=a.customField.map(noa),Sb(b,24,c));a.comment&&b.setComment(a.comment);a.formattingMode&&b.setFormattingMode(Yk[a.formattingMode]);a.retention&&b.setRetention(Uoa[a.retention]);a.isDeleted&&b.setIsDeleted(a.isDeleted);a.deletionReason&&b.setDeletionReason(Voa[a.deletionReason]);a.significanceOverride&&b.setSignificanceOverride(qoa[a.significanceOverride]);
a.duplicateIssueId&&Xk(b,30,a.duplicateIssueId);void 0!==a.inProd&&b.setInProd(a.inProd);void 0!==a.isArchived&&b.setIsArchived(a.isArchived);a.sloSnoozeUntil&&b.setSloSnoozeUntil(dj(a.sloSnoozeUntil));a.sloSnoozeType&&b.setSloSnoozeType(Woa[a.sloSnoozeType]);a.issueAccessLimitLevel&&k(b,53,Xoa[a.issueAccessLimitLevel]);if(a.effort){c=b.setEffort;a=a.effort;var d=new Zk;a.specId&&Lb(d,1,a.specId);a.estimate&&Mb(d,2,a.estimate);a.averageDays&&Jb(d,3,tb(a.averageDays),0);a.totalOpen&&Jb(d,4,tb(a.totalOpen),
0);a.totalComplete&&Jb(d,5,tb(a.totalComplete),0);c.call(b,d)}return b},Zoa=function(a){var b={targetIssueId:String(Tk(a,1))};if(a=Tk(a,2))b.afterIssueId=Qj(a);return b},$oa=function(a,b){a=(new $k).setIssueId(a);b&&(b=Xoa[b])&&(b=(new al).setAccessLevel(b),a.setIssueAccessLimit(b));return a},apa=function(a){var b=new bl;b.setIssueId(String(a));return b},cpa=function(a){var b=new bpa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},epa=function(a){var b=new dpa;b.setIssueId(String(a.issueId));
b.setComponentId(String(a.componentId));return b},fpa=function(a){return{issueId:Rj(a.getIssueId()),status:Rk[a.getStatus()],title:a.getTitle()}},ipa=function(a){var b=new gpa;k(b,1,a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(hpa[a.actionType]);a.customFieldValue&&b.setCustomFieldValue(noa(a.customFieldValue));return b},kpa=function(a){var b=new jpa;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.map(ipa));return b},mpa=function(a){var b=new cl,c=a.addHotlistIds.map(String);
Xk(b,1,c);c=a.removeHotlistIds.map(String);Xk(b,2,c);var d=a.hotlistIssue;a=new dl;a.setIssueId(String(d.issueId));d.position&&a.setPosition(d.position);if(d.issue){c=a.setIssue;d=d.issue;var e=new el;e.setIssueId(String(d.issueId));var f,h=(null!=(f=d.snapshot)?f:[]).map(Yoa);Sb(e,2,h);if(d.userData){f=e.setUserData;h=d.userData;var l=new fl;h.voted&&l.setVoted(h.voted);h.starred&&l.setStarred(h.starred);h.notificationSubscription&&l.setNotificationSubscription(lpa[h.notificationSubscription]);void 0!==
h.lastViewedTimeMicros&&k(l,5,h.lastViewedTimeMicros);f.call(e,l)}if(d.aggregatedData){h=d.aggregatedData;f=new gl;f.setVoteCount(h.voteCount);f.setCreatedTimeMicros(h.createdTimeMicros);k(f,4,h.resolvedTimeMicros);k(f,5,h.verifiedTimeMicros);f.setModifiedTimeMicros(h.modifiedTimeMicros);f.setLastModifier(Nj(h.lastModifier));f.setSloId(String(h.sloId));f.setTeamId(String(h.teamId));if(h.retentionState){l=f.setRetentionState;var q=h.retentionState,u=new hl;if(q.retentionPeriod){var x=u.setRetentionPeriod,
y=q.retentionPeriod,G=new il;G.setSeconds(y.seconds);G.setNanos(y.nanos);x.call(u,G)}q.scheduledDeletionTime&&u.setScheduledDeletionTime(dj(q.scheduledDeletionTime));l.call(f,u)}h.sloStatus&&(l=f.setSloStatus,h=h.sloStatus,q=new jl,h.assignmentBounds&&q.setAssignmentBounds(Boa(h.assignmentBounds)),h.responseBounds&&q.setResponseBounds(Boa(h.responseBounds)),h.closureBounds&&q.setClosureBounds(Boa(h.closureBounds)),l.call(f,q));Ok(e,gl,4,f)}d.accessLimit&&e.setAccessLimit(Ona(d.accessLimit));e.setCustomFieldsList(d.customFields.map(Jna).map(yk));
var J;e.setVisibleFieldsList((null!=(J=d.visibleFields)?J:[]).map(goa));k(e,7,d.majorModifiedTimeMicros);e.setParentIssueIdsList(d.parentIssueIds);if(d.ancestors)for(J=e.getAncestorsMap(),f=m(d.ancestors.entries()),h=f.next();!h.done;h=f.next())h=m(h.value),u=h.next().value,h=h.next().value,l=J,q=l.set,u=Number(u),x=new kl,x.setSourceIssueIdsList(h.sourceIssueIds.map(Pj).filter(Vj)),q.call(l,u,x);e.setChildIssueCount(d.childIssueCount);e.setIsArchived(d.isArchived);c.call(a,e)}Ok(b,dl,3,a);return b},
npa=function(a){var b;return{issueDigests:(null!=(b=a.getIssueDigestsList())?b:[]).map(fpa),numTotalResults:a.getNumTotalResults()}},qpa=function(a){var b=new opa;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);Xk(b,2,c);b.setRelation(ppa[a.relation]);b.setActionType(hpa[a.actionType]);return b},spa=function(a){var b=new rpa;b.setIssueId(String(a.issueId));b.setRetention(Uoa[a.retention]);a.significanceOverride&&b.setSignificanceOverride(qoa[a.significanceOverride]);return b},tpa=function(a){return{issueId:Rj(a.getIssueId())}},
ml=function(a){return{issueId:Rj(a.getIssueId()),updateText:a.getUpdateText(),formattedText:Sj(wk(a,ll,3)),formattingMode:Joa(a.getFormattingMode()),author:Sj(Jj(a.getAuthor())),updateTime:Sj(bj(a.getUpdateTime())),version:a.getVersion()}},Joa=function(a){switch(a){case 0:break;case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:return Qi(a)}},upa=function(a){return{encryptedMedia:Pb(nl(a,1)),errorMessage:a.getErrorMessage()}},vpa=function(a){var b=new ol;k(b,1,qb(a.attachment,
!1,!1));void 0!==a.contentJudgement&&b.setContentJudgement(boa(a.contentJudgement));return b},wpa=function(a){var b;return{attachments:(null!=(b=a.getAttachmentsList())?b:[]).map(pl)}},pl=function(a){if(null!=a){var b=Pj(a.getAttachmentId()),c=lk(a,7),d=a.getEtag(),e=a.getContentType(),f=a.getDescription(),h=a.getFilename(),l=a.getLength(),q=Qk[a.getPiiRetention()],u=Fk(a.getPiiRetentionState()),x=xpa(a.getEntityStatus()),y=zoa(a.getContentVerdict());a=wk(a,ypa,3);a=null!=a?{filename:Sj(Db(a,5)),
length:Sj(Db(a,4)),contentType:Sj(Db(a,1))}:void 0;return{attachmentId:b,filecompUrl:c,etag:d,contentType:e,description:f,filename:h,length:l,piiRetention:q,piiRetentionState:u,entityStatus:x,contentVerdict:y,media:a}}},xpa=function(a){if(null!=a)return{reason:zpa[a.getReason()],status:Apa[a.hasStatus()?a.getStatus():0]}},Bpa=function(a){var b=new ql;b.setInherit(a.inherit);b.setId(String(a.id));return b},Cpa=function(a){return{teamId:a.getId(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),
pathIds:a.getPathIdsList()}},Dpa=function(a){return{teamId:a.getTeamId(),score:a.getScore()}},Epa=function(a){var b=new rl;b.setTeamId(a.teamId);b.setScore(a.score);return b},yl=function(a){if(a.hasRetentionSettings()){var b=a.getRetentionSettings();b={retentionSelection:Fpa[bk(b,1,0)],retentionPeriodDays:gj(b,2),piiRetentionSelection:Fpa[bk(b,3,0)],piiRetentionPeriodDays:gj(b,4),spiiRetentionPeriodDays:gj(b,5)}}else b=void 0;if(sl(a,tl,10)){var c=wk(a,tl,10),d,e;var f=(null!=(d=hj(c,1))?d:[]).map(nk);
d=ij(c,2);var h=fj(c,xk,4);if(h){c=[];h=m(h);for(var l=h.next();!l.done;l=h.next())(l=ioa(l.value))&&c.push(l)}else c=void 0;f={componentPathId:f,componentPathName:d,allCustomField:null!=(e=c)?e:[]}}else f=void 0;e=f;a.hasSlo()?(f=a.getSlo(),f={inherit:f.getInherit(),source:Gpa[f.getSource()],id:f.getId(),sourceComponentId:kk(f,6),sourceTeamId:f.getSourceTeamId(),comment:f.getComment()}):f=void 0;var q;if(sl(a,zk,24)){c=a.getEffortSpec();d=c.getInherit();h=c.getId();l=c.getName();a:switch(bk(c,6,
0)){case 2:var u="MAX";break a;case 1:u="SUM";break a;default:u="AGGREGATION_TYPE_UNSPECIFIED"}d={inherit:d,id:h,name:l,aggregationType:u,customFieldId:c.getCustomFieldId()};if(ul(c,Ak,4,vl)){if(q=wl(c,Ak,4,vl))d.numericSpec={multiplier:Uk(q,1)}}else if(ul(c,Bk,5,vl)&&(c=wl(c,Bk,5,vl),d.enumSpec={options:[]},c&&0<(null==c?void 0:null==(q=fj(c,Ck,1))?void 0:q.length)))for(q=m(fj(c,Ck,1)),c=q.next();!c.done;c=q.next())c=c.value,l=h=void 0,null==(h=d.enumSpec)||null==(l=h.options)||l.push({label:c.getLabel(),
value:c.getValue()});q=d}else q=void 0;a.hasTeam()?(d=a.getTeam(),d={inherit:d.getInherit(),id:d.getId()}):d=void 0;var x,y;c=nk(a.getComponentId());h=nk(kk(a,2));l=a.getName();u=a.getDescription();var G=a.getArchived(),J=(null!=(x=hj(a,7))?x:[]).map(nk);x=Mna(a.getAccessLimit());var M=lk(a,13),V=xl(a,14);var U=1===bk(a,15,0)?"ENABLED":"DISABLED";return{componentId:c,parentComponentId:h,name:l,description:u,archived:G,customFieldId:J,componentPathInfo:e,accessLimit:x,emailAlias:M,userHasEditAccess:V,
commentEditState:U,defaultTemplateId:nk(kk(a,18)),slo:f,bugscopeSloId:kk(a,20),retentionSettings:b,fieldOrdering:Hpa[bk(a,23,0)],effortSpec:q,team:d,teamSuggestions:(null!=(y=a.getTeamSuggestionsList())?y:[]).map(Dpa),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0}},Ipa=function(a){var b=new zl;k(b,2,String(a.parentComponentId));b.setName(a.name);b.setDescription(a.description);a.commentEditState&&b.setCommentEditState("ENABLED"===a.commentEditState?1:2);a.retentionSettings&&b.setRetentionSettings(xoa(a.retentionSettings));
return b},Jpa=function(a){var b;return(null!=(b=fj(a,zl,1))?b:[]).map(yl)},Kpa=function(a){return{warningHeader:lk(a,1),warning:lk(a,2),isAllowed:xl(a,3),isExternalMove:xl(a,4)}},Lpa=function(a){return{templateId:a.getTemplateId(),componentId:nk(a.getComponentId()),default:!!a.getDefault(),name:a.getName(),description:a.getDescription(),snapshot:Qoa(a.getSnapshot())}},Mpa=function(a){var b=new Al;b.setTemplateId(a.templateId);b.setComponentId(String(a.componentId));b.setDefault(a.default);b.setName(a.name);
b.setDescription(a.description);b.setSnapshot(Yoa(a.snapshot));return b},Npa=function(a){var b={},c=Bl(a,2,xk).entries();c=m(c);for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;(e=ioa(e))&&(b[nk(d)]=e)}return{snapshot:Qoa(a.getSnapshot()),customFieldMap:b}},Opa=function(a){var b;return(null!=(b=fj(a,zl,1))?b:[]).map(yl)},Spa=function(a){if(null!=a){var b=a.getName();if(null==b)$i("No name. eventDiffToJs");else{b={name:b,displayName:Sj(a.getDisplayName()),timestamp:fna(a.getTimestamp()),
important:!!xl(a,5),type:Ppa[a.getType()]};if(ul(a,Cl,6,Dl)){var c=wl(a,Cl,6,Dl);if(ul(c,Qpa,1,El)){var d=wl(c,Qpa,1,El);b.isUser=!0;b.oldValue=Uj("<none>")(Kj(null==d?void 0:wk(d,Mj,1)));b.newValue=Uj("<none>")(Kj(null==d?void 0:wk(d,Mj,2)))}if(ul(c,Fl,2,El)){var e,f;b.oldValue=Sj(null==(e=wl(a,Cl,6,Dl))?void 0:null==(f=wl(e,Fl,2,El))?void 0:f.getOldValue());var h,l;b.newValue=Sj(null==(h=wl(a,Cl,6,Dl))?void 0:null==(l=wl(h,Fl,2,El))?void 0:l.getNewValue())}}else if(ul(a,Gl,9,Dl)){var q;b.customFieldId=
Sj(null==(q=wl(a,Gl,9,Dl))?void 0:q.getCustomFieldId());var u;b.oldValue=Sj(null==(u=wl(a,Gl,9,Dl))?void 0:u.getOldValue());var x;b.newValue=Sj(null==(x=wl(a,Gl,9,Dl))?void 0:x.getNewValue())}else if(ul(a,Hl,10,Dl))e=wl(a,Hl,10,Dl),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||[],e=(null==e?void 0:e.getRemovedList())||[],b.added=a.map(function(J){return Kj(J)}).map(Uj("<none>")),b.removed=e.map(function(J){return Kj(J)}).map(Uj("<none>"));else if(ul(a,Il,7,Dl)){var y;b.added=(null==(y=wl(a,Il,
7,Dl))?void 0:y.getAddedList())||[];var G;b.removed=(null==(G=wl(a,Il,7,Dl))?void 0:G.getRemovedList())||[]}else ul(a,Jl,8,Dl)?(e=(null==(d=wl(a,Jl,8,Dl))?void 0:d.getAddedList())||[],a=(null==(c=wl(a,Jl,8,Dl))?void 0:c.getRemovedList())||[],b.added=e.map(Rpa).filter(Vj),b.removed=a.map(Rpa).filter(Vj)):ul(a,Ll,11,Dl)?(a=xpa(wl(a,Ll,11,Dl).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):$i("Unhandled diff type '"+b.type+"'");return b}}},Rpa=function(a){if(null!=a){var b=a.getValue();if(null==
b)$i("No value. linkedItemToJs");else if(a=a.getHref(),null==a)$i("No href. linkedItemToJs");else return{value:b,href:a}}},Tpa=function(a){a=Ml(a).toString();var b=new Nl;k(b,2,a);return b},Upa=function(a){if(!a)return null;a=Db(a,2);var b;null===a||void 0===a?b=null:b=Rh(a);return b},Ol=function(a){if(null!=a){var b=a.getIssueId();if(null==b)$i("No issueId. issueToJs");else{for(var c=new Map,d=m(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;
c.set(String(e),{sourceIssueIds:f.getSourceIssueIdsList().map(String)})}var h,l,q,u;d=a.getUserData();if(null!=d){var x;d={voted:Tj(d.getVoted()),starred:Tj(d.getStarred()),notificationSubscription:Vpa[d.getNotificationSubscription()],lastViewedTimeMicros:null!=(x=Tk(d,5))?x:0}}else d=void 0;x=Mna(a.getAccessLimit());e=fj(a,Vk,2).map(Qoa).filter(Vj);f=a.getCustomFieldsList().map(hoa).filter(Vj);var y=a.getVisibleFieldsList().map(eoa).filter(Vj);var G=wk(a,gl,4);if(null!=G){var J=void 0;if(G.hasSloStatus()){var M=
G.getSloStatus();J={assignmentBounds:M.hasAssignmentBounds()?Aoa(M.getAssignmentBounds()):void 0,responseBounds:M.hasResponseBounds()?Aoa(M.getResponseBounds()):void 0,closureBounds:M.hasClosureBounds()?Aoa(M.getClosureBounds()):void 0}}var V,U,W,ba,pa;M={voteCount:null!=(V=G.getVoteCount())?V:0,createdTimeMicros:null!=(U=G.getCreatedTimeMicros())?U:0,resolvedTimeMicros:null!=(W=Tk(G,4))?W:0,verifiedTimeMicros:null!=(ba=Tk(G,5))?ba:0,modifiedTimeMicros:null!=(pa=G.getModifiedTimeMicros())?pa:0,lastModifier:Jj(G.getLastModifier()),
sloId:Pj(G.getSloId()),teamId:Pj(G.getTeamId()),retentionState:Fk(G.getRetentionState()),sloStatus:J}}else M=void 0;return{issueId:b,userData:d,accessLimit:x,snapshot:e,customFields:f,visibleFields:y,aggregatedData:M,majorModifiedTimeMicros:null!=(h=Tk(a,7))?h:0,parentIssueIds:null!=(l=a.getParentIssueIdsList())?l:[],ancestors:c,childIssueCount:null!=(q=a.getChildIssueCount())?q:0,isArchived:a.getIsArchived(),relatedLinks:(null!=(u=a.getRelatedLinksList())?u:[]).map(Wpa),trackerId:"0"!==a.getTrackerId()?
a.getTrackerId():void 0,statusUpdate:a.hasStatusUpdate()?ml(a.getStatusUpdate()):void 0}}}},Ypa=function(a){if(null!=a){var b=fna(wk(a,cj,4)),c=!!xl(a,8),d,e=null!=(d=Pl(a.getComment()))?d:{};d=a.hasStatusUpdate()?ml(a.getStatusUpdate()):void 0;var f,h=null==(f=fj(a,Ql,2))?void 0:f.map(Spa).filter(Vj),l;f=null==(l=fj(a,Ql,3))?void 0:l.map(Spa).filter(Vj);var q;l=null==(q=fj(a,Xpa,9))?void 0:q.map(Ioa).filter(Vj);q=a.getAttachmentsList().map(pl).filter(Vj);var u=Kj(wk(a,Mj,5));u=Uj("<none>")(u);var x=
Jj(wk(a,Mj,5)),y=!!xl(a,11),G=!!xl(a,12);if(null==b)$i("No modifiedDate. issueEventToJs");else return Object.assign({},e,{attachments:q,version:a.getVersion(),modifiedDate:b,preDiffs:h,postDiffs:f,isMajorEvent:c,statusUpdate:d,taggedSummary:l,userPerformingAction:u,userPerformingActionUser:x,isHumanAuthor:y,isCollaboratorAuthor:G})}},Pl=function(a){if(null==a)return{};var b=a.hasEntityStatus()?Apa[a.getEntityStatus().getStatus()]:void 0,c=a.hasPiiRetention()?Qk[a.getPiiRetention()]:null,d=Zpa[a.getFormattingMode()],
e=a.getVersion(),f=lk(a,7),h=gj(a,2),l=a.getVersion();var q=a.getLastModified();return{version:e,unlinkifiedComment:f,commentNumber:h,commentVersion:l,commentLastModifiedAtDate:null!=q?q/1E3:void 0,commentRedacted:Sj(xl(a,15)),commentContentVerdict:zoa(wk(a,Rl,14)),commentRetentionState:Fk(a.getPiiRetentionState()),commentDeletionStatus:b,commentRetention:c,lastCommentEditorUser:Jj(wk(a,Mj,8)),formattingMode:d,formattedComment:Sj(a.getFormattedComment()),commentEtag:a.getEtag(),commentReactions:$pa(wk(a,
Sl,18))}},Ul=function(a){if(null!=a){var b=Ol(a.getIssue());if(null==b)$i("No issue. issueFetchResponseToJs");else{var c=Ypa(wk(a,Tl,5));return{issue:b,customFields:a.getCustomFieldsList().map(hoa).filter(Vj),firstEvent:c}}}},aqa=function(a){var b=[];a=m(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.getIssueRelationshipsList().map(Zoa),totalChildCount:d.getTotalSize()})}return b},bqa=function(a){var b=new Vl;
b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(ipa));return b},cqa=function(a){return{issueId:a.getIssueId(),message:a.getMessage()}},dqa=function(a){var b={};var c=Bl(a,1,el);c=m(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=Ol(e)}c={};d=Bl(a,3,zl);d=m(d.entries());for(e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;c[Number(e)]=yl(f)}var h;a=(null!=(h=fj(a,Wl,2))?h:[]).map(cqa);
return{affectedIssues:b,componentMap:c,errors:a}},eqa=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(Pl)},Wpa=function(a){var b=pk(a,fqa);switch(b){case 2:return b=wl(a,Xl,2,fqa),0!==b.getCommentNumber()?{type:"issueReference",issueId:String(b.getIssueId()),commentNumber:b.getCommentNumber(),sourceCommentNumber:gj(a,3)}:{type:"issueReference",issueId:String(b.getIssueId()),sourceCommentNumber:gj(a,3)};case 1:return{type:"hyperlink",href:wl(a,gqa,1,fqa).getHref(),sourceCommentNumber:gj(a,
3)};case 0:throw Error("ic");default:return Qi(b)}},hqa=function(a){return{readTimestamp:Tk(a,1)}},iqa=function(a){var b=a.getIssueState();b={componentId:b.getComponentId(),type:Loa[b.getType()],status:Rk[b.getStatus()],priority:Moa[b.getPriority()],severity:Noa[b.getSeverity()]};return{issueId:String(a.getIssueId()),issueState:b,modifiedTime:bj(a.getModifiedTime()),teamId:a.getTeamId()}},Yl=function(a){switch(a){case "PLAIN":return 1;case "MARKDOWN":return 2;case "LITERAL":return 3;case void 0:case null:case "UNSPECIFIED_FORMATTING_MODE":return 0;
default:return Qi(a,"Unexpected formatting mode")}},Zl=function(a){var b=void 0;sl(a,Rl,14)&&(b=zoa(wk(a,Rl,14)));return{issueId:a.getIssueId(),commentNumber:gj(a,2),commentContentVerdict:b,formattingMode:Zpa[a.getFormattingMode()],lastEditorUser:Jj(wk(a,Mj,8)),lastModified:String(a.getLastModified()),version:a.getVersion(),unlinkifiedComment:lk(a,7),entityStatus:xpa(a.getEntityStatus()),piiRetentionState:Fk(a.getPiiRetentionState()),piiRetention:Qk[a.getPiiRetention()],etag:a.getEtag(),commentReactions:$pa(wk(a,
Sl,18))}},jqa=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(Zl)},kqa=function(a){var b=new ll,c=new $l;c.setContent(Tpa(Sh(a)));am(b,3,bm,c);return b},$pa=function(a){var b=null==a?void 0:fj(a,cm,1);a=new Map;b=m(b||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0,e=null!=(d=lqa[c.getType()])?d:"REACTION_TYPE_UNSPECIFIED",f=d=void 0,h=void 0,l=void 0,q={type:e,hasReacted:null!=(f=xl(c,1))?f:!1,count:null!=(h=c.getCount())?h:0,recentResponders:null!=(l=null==
(d=fj(c,Mj,3))?void 0:d.map(Jj).filter(Vj))?l:[]};a.set(e,q)}return a},mqa=function(a){return{user:Jj(wk(a,Mj,1)),createdTime:bj(a.getCreatedTime())}},nqa=function(a){return{responders:fj(a,dm,1).map(mqa),totalSize:a.getTotalSize(),nextPageToken:a.getNextPageToken()}},oqa=function(a){var b=a.getIssuesList();if(b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next())(d=d.value)&&(d=Ol(d))&&c.push(d)}else c=[];b=a.getNumTotalResults();var e=a.getComponentsMap();d={};e=m(e.entries());for(var f=e.next();!f.done;f=
e.next()){var h=m(f.value);f=h.next().value;h=h.next().value;d[Number(f)]=yl(h)}f=Bl(a,4);if(void 0!==f)for(e={},f=m(f.entries()),h=f.next();!h.done;h=f.next()){var l=m(h.value);h=l.next().value;l=l.next().value;e[Number(h)]=l}else e=void 0;return{issues:c,numTotalResults:b,componentMap:d,positionMap:e,nextPageToken:a.getNextPageToken()}},pqa=function(a){return em({id:a.getId(),std_offset:gj(a,3),names:ij(a,2),transitions:ej(a,4)||[]})},hm=function(a){var b=a.getTrackerId(),c=a.getName(),d=a.getComponentId(),
e=hj(a,4);var f=wk(a,fm,5);f=null!=f?{logoUrl:f.getLogoUrl(),theme:qqa[f.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=f?f:null,internalBaseUrl:gm(a,6)?lk(a,6):void 0,externalBaseUrl:gm(a,7)?lk(a,7):void 0}},rqa=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(hm)},sqa=function(a){return{trackers:a.getTrackersList().map(hm),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},jm=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";
switch(im[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},lm=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new km({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new km({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},tqa=function(a){a=mm(a);if(nm(a))return null;var b=a.split(":");if(2!==b.length||nm(b[1]))return null;
a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=lm(b[0]))&&a?new om(b,a):null},Eqa=function(a){var b={};pm(a,1)&&(b.showFullHistory=xl(a,1));pm(a,2)&&(b.useCodefont=xl(a,2));qm(a,5)&&(b.resultsPerPage=gj(a,5));pm(a,26)&&(b.showRecentEventsFirst=xl(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(uqa)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(vqa)};gm(a,7)&&(b.bannerMessageId=lk(a,7));if(c=wk(a,rm,3)){var d={};Sk(c,1)&&
(d.reportedPriority=sm[bk(c,1,0)]);Sk(c,2)&&(d.assignedPriority=sm[bk(c,2,0)]);Sk(c,3)&&(d.verifiedPriority=sm[bk(c,3,0)]);Sk(c,4)&&(d.ccdPriority=sm[bk(c,4,0)]);Sk(c,9)&&(d.collaboratorPriority=sm[bk(c,9,0)]);Sk(c,5)&&(d.starredPriority=sm[bk(c,5,0)]);pm(c,6)&&(d.excludeChangesByMe=xl(c,6));pm(c,7)&&(d.unsubscribeFromAll=xl(c,7));pm(c,8)&&(d.enableV2Prefs=xl(c,8));b.notificationPreferences=d}if(d=wk(a,tm,9))c={showHotlists:xl(d,1),showStatusIcons:xl(d,4),wrapComponents:xl(d,3),wrapTitles:xl(d,2),
rtlComponentPath:xl(d,5)},d=Bl(d,6),c.fieldStatus=Object.fromEntries(d.entries()),b.listViewPreferences=c;if(c=a.getLayoutPreferences())d={},qm(c,1)&&(d.leftSidebarWidth=gj(c,1)),pm(c,2)&&(d.expandIssueSlo=xl(c,2)),qm(c,3)&&(d.rightSidebarWidth=gj(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},gm(c,1)&&(d.calendarFormat=lk(c,1)),gm(c,2)&&(d.timeFormat=lk(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),Sk(c,7)&&(d.sloEtaViewAs=wqa[bk(c,7,0)]),b.dateTimePreferences=d;if(c=wk(a,
um,8))d={},Sk(c,1)&&(d.density=xqa[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=yqa(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId()),b.homepagePreferences=d;if(c=wk(a,vm,17))d={},pm(c,1)&&(d.enableAllHotkeys=xl(c,1,!0)),b.keyboardPreferences=d;jk(a,16)&&(b.newFeaturesAcknowledgedMillis=kk(a,16));pm(a,18)&&(b.autoCcOnComment=xl(a,18));sl(a,wm,20)&&(d=wk(a,wm,20),c=bk(d,2,0),d=bk(d,1,0),b.textDisplayPreferences=
{commentDisplayOverride:zqa(c),lastPublishMode:zqa(d)});sl(a,xm,21)&&(c=wk(a,xm,21),d={},pm(c,2)&&(d.announcementDismissed=xl(c,2)),pm(c,1)&&(d.enableBugScreensaver=xl(c,1)),b.bugScreensaverPreferences=d);sl(a,ym,24)&&(c=wk(a,ym,24),d={},zm(c,1)&&(d.announcementDismissedMillis=Tk(c,1)),b.g3nPreferences=d);if(c=wk(a,Am,23))b.teamWarningPreferences={componentTeamWarnings:fj(c,Bm,1).map(Aqa)};c=Bl(a,25,cj);c.size&&(b.dismissalTimestamps=Bqa(c));c=Bl(a,27);c.size&&(b.collapsed=Object.fromEntries(c.entries()));
pm(a,29)&&(b.showInlineImages=a.getShowInlineImages());sl(a,Cm,28)&&(c=wk(a,Cm,28),d={},Sk(c,1)&&(d.commentFilter=Cqa(bk(c,1,0))),b.commentFilterPreferences=d);sl(a,Dm,30)&&(b.needsAttentionPreferences=Dqa(wk(a,Dm,30)));return b},uqa=function(a){var b={};a.hasType()&&(b.type=Fqa[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId());return b},vqa=function(a){var b={};if(Sk(a,2)){a:{var c=bk(a,2,1);switch(c){case 1:c="ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=Qi(c,
"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=uqa(a);return b},zqa=function(a){if(0!==a)return im[a]},yqa=function(a){switch(a){case 1:return"HOTLIST";case 2:return"SAVED_SEARCH";case 3:return"BOOKMARK_GROUP";case 4:return"NEEDS_ATTENTION";default:return Qi(a,"Unknown resourceType: "+a)}},Aqa=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId());zm(a,2)&&(b.dismissMillis=Tk(a,2));return b},Bqa=function(a){a=Array.from(a.entries()).map(function(b){var c=m(b);
b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},Cqa=function(a){switch(a){case 0:return"FULL_HISTORY";case 1:return"ALL_COMMENTS";case 2:return"HUMAN_ONLY";case 3:return"TEAM_AND_ASSIGNEE";default:return Qi(a,"Unknown resourceType: "+a)}},Dqa=function(a){var b={};b.selectedSignals=ej(a,1,!1).map(function(c){return Gqa[c]});return b},Rqa=function(a){var b=new Em;null!=a.showFullHistory&&k(b,1,a.showFullHistory);null!=a.useCodefont&&k(b,2,a.useCodefont);null!=
a.resultsPerPage&&k(b,5,a.resultsPerPage);if(null!=a.displayColumns){var c=Hqa(a.displayColumns);Ok(b,Fm,4,c)}null!=a.sortColumns&&(c=Iqa(a.sortColumns),Ok(b,Gm,6,c));null!=a.bannerMessageId&&k(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new rm;d=k(d,1,Hm[c.reportedPriority]);d=k(d,2,Hm[c.assignedPriority]);d=k(d,3,Hm[c.verifiedPriority]);d=k(d,4,Hm[c.ccdPriority]);d=k(d,9,Hm[c.collaboratorPriority]);d=k(d,5,Hm[c.starredPriority]);d=k(d,6,c.excludeChangesByMe);
d=k(d,7,c.unsubscribeFromAll);c=k(d,8,c.unsubscribeFromAll);Ok(b,rm,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new tm,d=k(d,1,c.showHotlists),d=k(d,2,c.wrapTitles),d=k(d,3,c.wrapComponents),d=k(d,4,c.showStatusIcons),d=k(d,5,c.rtlComponentPath),null!=c.fieldStatus&&Jqa(c.fieldStatus,Bl(d,6)),Ok(b,tm,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,d=new Im,null!=c.leftSidebarWidth&&k(d,1,c.leftSidebarWidth),null!=c.expandIssueSlo&&k(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&
k(d,3,c.rightSidebarWidth),Ok(b,Im,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new Jm,d=k(d,1,c.calendarFormat),d=k(d,2,c.timeFormat).setTimeZone(c.timeZone),c=k(d,7,Kqa[c.sloEtaViewAs]),Ok(b,Jm,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new um).setDensity(Lqa[c.density]),Ok(b,um,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,d=new Km,null!=c.resourceType&&d.setResourceType(Mqa(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),Ok(b,Km,
13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new vm,c=k(d,1,c.enableAllHotkeys),Ok(b,vm,17,c));null!=a.newFeaturesAcknowledgedMillis&&k(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&k(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,d=new wm,c.commentDisplayOverride&&k(d,2,Nqa(c.commentDisplayOverride)),c.lastPublishMode&&k(d,1,Nqa(c.lastPublishMode)),Ok(b,wm,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,
d=new xm,null!=c.enableBugScreensaver&&k(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&k(d,2,c.announcementDismissed),Ok(b,xm,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new ym,null!=c.announcementDismissedMillis&&k(d,1,c.announcementDismissedMillis),Ok(b,ym,24,d));null!=a.teamWarningPreferences&&(c=Oqa(a.teamWarningPreferences),Ok(b,Am,23,c));if(null!=a.dismissalTimestamps){c=Bl(b,25,cj);d=m(Object.entries(a.dismissalTimestamps));for(var e=d.next();!e.done;e=d.next()){var f=
m(e.value);e=f.next().value;var h=f.next().value;f=c;var l=f.set,q=new cj;h=h.getTime();q.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));l.call(f,e,q)}}null!=a.collapsed&&Jqa(a.collapsed,Bl(b,27));null!=a.showRecentEventsFirst&&k(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&k(b,29,a.showInlineImages);null!=a.commentFilterPreferences&&(d=a.commentFilterPreferences,c=new Cm,null!=d.commentFilter&&(d=Pqa(d.commentFilter),k(c,1,d)),Ok(b,Cm,28,c));null!=a.needsAttentionPreferences&&
(c=a.needsAttentionPreferences,a=new Dm,c.selectedSignals&&(c=c.selectedSignals.map(Qqa),Lm(a,1,c)),Ok(b,Dm,30,a));return b},Hqa=function(a){return(new Fm).setColumnList(a.column.map(function(b){return Sqa(b)}))},Sqa=function(a){var b=new Mm,c=b.setType,d=a.type;if(!Nm.hasOwnProperty(d))throw Error("jc`"+d);b=c.call(b,Tqa[d]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);return b},Iqa=function(a){return(new Gm).setColumnList(a.column.map(function(b){var c=(new Om).setColumn(Sqa(b.column));
a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=Qi(b,"Unknown sortOrder: "+b)}return k(c,2,b)}))},Mqa=function(a){switch(a){case "HOTLIST":return 1;case "SAVED_SEARCH":return 2;case "BOOKMARK_GROUP":return 3;case "NEEDS_ATTENTION":return 4;default:return Qi(a,"Unknown resourceType: "+a)}},Nqa=function(a){switch(im[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},Oqa=function(a){var b=new Am;null!=a.componentTeamWarnings&&Uqa(b,a.componentTeamWarnings.map(function(c){var d=
new Bm;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&k(d,2,c.dismissMillis);return d}));return b},Pqa=function(a){switch(a){case "FULL_HISTORY":return 0;case "ALL_COMMENTS":return 1;case "HUMAN_ONLY":return 2;case "TEAM_AND_ASSIGNEE":return 3;default:return Qi(a,"Unknown commentFilterType: "+a)}},Qqa=function(a){return Vqa[a]},Jqa=function(a,b){a=m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},Wm=function(){null==
Pm&&(Pm=new Wqa(Xqa.buganizerSessionJspb));Pm.hasConfig()||Pm.setConfig(new Qm);if(!sl(Pm,Rm,9)){var a=Pm,b=new Rm;Ok(a,Rm,9,b)}Pm.hasUser()||Pm.setUser(new Sm);sl(Pm,Em,7)||(a=Pm,b=new Em,Ok(a,Em,7,b));a=Pm;b=a.hasUser()?a.getUser():new Sm;b=xl(b,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=a.hasConfig()?a.getConfig():new Qm;for(var d=new Map,e=m(Bl(c,
4).entries()),f=e.next();!f.done;f=e.next()){var h=m(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={analyticsId:c.getAnalyticsId(),appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),maxAccurateSearchResults:c.getMaxAccurateSearchResults(),onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),
whitelistedWhitelistDomainPartnerComponentIds:hj(c,10),isDogfooder:xl(c,11),createRestrictedSubresourcesComponentWhitelist:Hb(c,13,vb),collaboratorsComponentAllowlist:new Set(Hb(c,17,vb)),issueAccessLimitsComponentAllowlist:new Set(Hb(c,18,vb))};d=Eqa(sl(a,Em,7)?a.getUserPreferences():new Em);f=sl(a,Rm,9)?wk(a,Rm,9):new Rm;e=fj(f,Tm,1).map(pqa);sl(f,Um,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:lk(f,2),dismissible:xl(f,3),tags:f.getTagsList()}):f=null;e={timezones:e,announcement:f};
return{user:b,config:c,xsrfToken:a.getXsrfToken(),cspNonce:a.getCspNonce(),frontendAccessMode:a.getFrontendAccessMode(),mustAcknowledgeTerms:a.getMustAcknowledgeTerms(),showNewFeaturesDialog:a.getShowNewFeaturesDialog(),userPreferences:d,preload:e,appBaseHref:a.getAppBaseHref(),tracker:sl(a,Vm,11)?hm(a.getTracker()):null}},Yqa=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;if(!a)return!0;c={};a=m(a);for(var d=a.next();!d.done;c={$jscomp$loop$prop$customField$2132:c.$jscomp$loop$prop$customField$2132},
d=a.next())if(c.$jscomp$loop$prop$customField$2132=d.value,c.$jscomp$loop$prop$customField$2132.required){d=!!c.$jscomp$loop$prop$customField$2132.typedDefaultValue;var e=void 0,f=void 0,h=null==(e=b)?void 0:null==(f=e.snapshot.customField)?void 0:f.some(function(l){return function(q){return q.customFieldId===l.$jscomp$loop$prop$customField$2132.customFieldId}}(c));if(!d&&!h)return!1}return!0},$qa=function(a){return null==a?!1:Zqa.has(a.name)},ara=function(a){return"hotlist"===(null==a?void 0:a.name)},
bra=function(a){return null==a?!1:null!=a.href&&null!=a.value},cra=function(a){return Array.isArray(a)?a.every(bra):!1},Xm=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},dra=function(a){switch(a){case "TYPE_UNSPECIFIED":case "BUG":case "FEATURE_REQUEST":case "CUSTOMER_ISSUE":case "INTERNAL_CLEANUP":case "PROCESS":case "VULNERABILITY":case "PRIVACY_ISSUE":case "PROJECT":case "FEATURE":case "MILESTONE":case "EPIC":case "STORY":case "TASK":return a;
default:return null}},era=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},fra=function(a){switch(a){case "NEW":case "ASSIGNED":case "ACCEPTED":case "FIXED":case "VERIFIED":case "NOT_REPRODUCIBLE":case "INTENDED_BEHAVIOR":case "OBSOLETE":case "INFEASIBLE":case "DUPLICATE":return a;default:return null}},Ym=function(a){return Ej(a.replace(/_/g," ").toLowerCase())},Zm=function(a,b){return Object.entries(a).reduce(function(c,d){var e=m(d);d=e.next().value;
e=e.next().value;c[b[d]]=e;return c},{})},an=function(a,b,c,d){return new gra(a,$m[a],b,c,d)},hra=function(a){return a},cn=function(a){return bn(a,hra)},bn=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},ira=function(a){return function(b){return bn(b,a)}},dn=function(a,b){for(var c=Math.max(a.length,b.length),d=[],e=0;e<c;e++)d.push([a[e],b[e]]);return d},jra=function(a){a=void 0===a?[]:a;return a.filter(function(b){return"number"===typeof b}).filter(function(b){return 0!==
b})},lra=function(a){var b=kra,c=void 0===b?[]:b;a=void 0===a?[]:a;if(0===c.length)return a;b=a.filter(function(d){return 0>c.indexOf(d)});return b.length===a.length?a:b},mra=function(a,b){if(a.length!==b.length)return!1;a=[].concat(p(a)).sort();b=[].concat(p(b)).sort();return a.every(function(c,d){return c===b[d]})},nra=function(a,b){var c=new Set(a),d=new Set(b);return{added:b.filter(function(e){return!c.has(e)}),removed:a.filter(function(e){return!d.has(e)})}},ora=function(a,b){var c=new Map;a=
m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),f=void 0,h=null!=(f=c.get(e))?f:[];h.push(d);c.set(e,h)}return[].concat(p(c.values()))},pra=function(a){for(var b=[],c=0;c<a.length;c+=100)b.push(a.slice(c,c+100));return b},en=function(a,b){return function(c,d){return qra(c,a,b,d)}},qra=function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(p(a)).sort(function(e,f){var h="asc"===d?1:-1;return c(b(e),b(f))*h})},rra=function(a,b){return null==a||null==b?null==a&&null==b?0:null==
a?1:null==b?-1:0:isNaN(a)&&isNaN(b)?0:isNaN(a)?1:isNaN(b)?-1:a>b?1:a<b?-1:0},fn=function(a,b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},gn=function(a){return!(null==a||!a.commentNumber)},hn=function(a){var b;return 0<(null==(b=a.attachments)?void 0:b.length)},sra=function(a,b,c){var d=a.findIndex(function(f){return f.commentNumber===b}),e=a[d];if(null==e)return a;c=Object.assign({},e,c);return[].concat(p(a.slice(0,d)),[c],p(a.slice(d+1)))},jn=function(a){var b,
c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},tra=function(a){var b;return Gj(null==(b=kn(a))?void 0:b.assigneeUser)||void 0},ura=function(a){if(null==a)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var l=a.piiRetentionState;l=null==l?"":[JSON.stringify(l.retentionPeriod),JSON.stringify(l.scheduledDeletionTime)].join("-");return[f,h,l,null==(b=a.entityStatus)?void 0:b.reason,null==(c=a.entityStatus)?void 0:c.status,null==(d=a.contentVerdict)?void 0:null==(e=d.piiVerdict)?
void 0:e.severity].join("-")},vra=function(a){if(null==a)return"";var b=a.attachments.map(ura).join("-"),c=[];if(a.commentReactions&&0<a.commentReactions.size){var d,e=m(null==(d=a.commentReactions)?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=m(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,l;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,null==(h=a.commentContentVerdict)?void 0:null==(l=h.piiVerdict)?
void 0:l.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},wra=function(a){return a.map(function(b){return b.commentNumber}).filter(Vj).reduce(function(b,c){return Math.max(b,c)},1)},xra=function(a,b){if(a===b)return!0;if(null==a||null==b||a.length!==b.length)return!1;for(var c=a.length-1;0<=c;c--){var d=a[c],e=b[c];if(d!==e&&(null==d||null==e||vra(d)!==vra(e)))return!1}return!0},mn=function(a){if(null==a?0:a.isArchived)return!1;var b,c;a=null==a?void 0:null==(b=a.snapshot)?
void 0:null==(c=b[0])?void 0:c.status;if(null==a)return!1;var d,e;return null!=(e=null==(d=ln[a])?void 0:d.open)?e:!1},nn=function(a){if(null==a||a.isArchived)return!1;var b,c;a=null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.status;if(null==a)return!1;b=ln[a];return null==b?!1:!(null==b?0:b.open)},on=function(a){return null==a.isArchived?!1:!a.isArchived},zra=function(){var a=pn;return en(function(b){var c,d;return null!=(d=yra[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},
rra)},Ara=function(){var a=pn;return en(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},fn)},Bra=function(){var a=pn;return en(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},fn)},Cra=function(){var a=pn;return en(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},fn)},Dra=function(){var a=pn;return en(function(b){var c,d,e;return null!=(e=null==(c=a(b))?void 0:
null==(d=c.aggregatedData)?void 0:d.createdTimeMicros)?e:0},rra)},qn=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},kn=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},Era=function(a,b){a=kn(a);b=[null==a?void 0:a.authorUser,null==a?void 0:a.reporterUser,null==a?void 0:a.assigneeUser,null==a?void 0:a.verifierUser].concat(p(b.map(function(c){return c.userPerformingActionUser})));return bn(b.filter(Vj),Kj)},Fra=function(a,
b){b=Era(a,b);var c,d,e;a=null!=(e=null==(c=kn(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},rn=function(a){var b;return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},Gra=function(a){var b=a.map(function(c){return c.detailedUserType});return b.includes("PUBLIC")?3:b.includes("EXTERNAL")?0:b.includes("TVC")?4:a.map(function(c){return c.principalType}).includes("GROUP")?1:b.includes("UNRESTRICTED_GOOGLER")?5:
2},Hra=function(a,b){switch(a){case 3:return"public user";case 0:return"external partner";case 4:return"restricted user (TVC)";case 5:return"user";default:return b?"user":"unknown user"}},Ira=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,f=a.actionIssueId;a=Gra(a.userPrincipals);return{title:"Allow "+(1===a?"members of the group to ":Hra(a,d)+" to ")+(0===b.length?"comment?":"edit?"),content:"Adding "+c.join(", ")+" will allow "+(1===a?"all members of the group":
"them")+" to "+(0===b.length?"comment on ":"edit ")+(e===f?"issue "+f:"canonical issue "+f)+"."}},Jra=function(){},sn=function(a){return 0<Object.values(a).length},Kra=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},tn=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},Lra=function(a,b){var c=a.getValue(),d={};c=m(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var f=m(e.value);e=f.next().value;f=f.next().value;b.includes(e)||
(d[e]=f)}a.next(Object.freeze(d))},un=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(p(a)).sort());return JSON.stringify(b)},Mra=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},Nra=function(a){a=void 0===a?{}:a;return xna(a)},Ora=function(a){var b=new T.Subject,c=a.subscribe(b);a=(0,T.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},Pra=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},Qra=function(){return new Promise(function(){})},
vn=function(a){return!!a.match(Rra)&&!a.endsWith("/history")},wn=function(a){return"hyperlink"===a.type},xn=function(a){return wn(a)&&vn(a.href)},Tra=function(a){return wn(a)&&!!a.href.match(Sra)},Ura=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==(b=a.match(Rra))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},yn=function(a){return"issueReference"===a.type},Vra=function(a){return wn(a)&&!xn(a)&&!(wn(a)&&a.href.startsWith("mailto:"))},zn=
function(a){return!a||"0"===a},Wra=function(a){return Lpa(wk(a,Al,1))},Xra=function(a){return(fj(a,Al,1)||[]).map(Lpa)},An=function(){return new Yra},Zra=function(a){var b={};if(null==a)return b;a=m(fj(a,Bn,1));for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getResource(),e={admin:!1,writer:!1,appender:!1,reader:!1};b[d]=b[d]||e;switch(c.getRelation()){case 1:b[d].admin=!0;break;case 2:b[d].writer=!0;break;case 3:b[d].appender=!0;break;case 4:b[d].reader=!0}}return b},$ra=function(a,b){return a.map(function(c){var d=
c.resourceName;c=c.relation;return void 0!==b[d]&&void 0!==b[d][c]?b[d][c]:!1})},asa=function(a){if(a&1){var b=t();D(0,"div",2)(1,"button",3);K("click",function(){v(b);var c=L();return w(c.action())});P(2);E()()}a&2&&(a=L(),z(2),Bg(a.data.action))},bsa=function(){},csa=function(a){a&1&&(D(0,"span",6),P(1),E());a&2&&(a=L(),z(1),Bg(a.data.message))},dsa=function(a){a&1&&F(0,"span",7);a&2&&(a=L(),C("innerHtml",a.data.htmlMessage,te))},fsa=function(a){if(a&1){var b=t();D(0,"button",8);K("click",function(){v(b);
var c=L();return w(esa(c.snackBarRef))});P(1);E()}a&2&&(a=L(),z(1),Q(" ",a.data.actionLabel," "))},gsa=function(a){if(a&1){var b=t();D(0,"button",8);K("click",function(){v(b);var c=L();return w(c.snackBarRef.dismiss())});P(1);E()}a&2&&(a=L(),z(1),Q(" ",a.data.dismissLabel," "))},hsa=function(a){if(a&1){var b=t();D(0,"button",9);K("click",function(){v(b);var c=L();return w(c.snackBarRef.dismiss())});F(1,"mat-icon",10);E()}},isa=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},
Cn=function(a){return!!a&&Ta(a)&&(!!a.data&&void 0!==a.data.message||isa(a))},Dn=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?a.data.message:isa(a)&&a.error&&a.error.message?a.error.message:""},En=function(a){return encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,"%20").replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")},Fn=function(a,b){switch(a){case "HOTLIST":return"hotlists/"+
b;case "BOOKMARK_GROUP":return"bookmarkGroups/"+b;case "SAVED_SEARCH":return"savedSearches/"+b;case "COMPONENT":return"components/"+b;case "COMPONENT_SLO":return"components/"+b+"/slo";case "ISSUE":return"issues/"+b;case "ISSUE_DEFAULTS":return"components/"+b+"/issueDefaults";case "SLO":return"slos/"+b;case "TEAM":return"teams/"+b;default:throw Error("yc`"+a);}},Hn=function(a,b){return Gn("issues/:issueId",{id:a,params:b})},In=function(a,b){return Gn("issues/:issueId/dependencies",{id:a,params:b})},
Kn=function(a){return Jn("issues",{params:a})},jsa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},ksa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},lsa=function(a,b){return Gn("components/:componentId/manage",{id:a,tab:b})},msa=function(a){return a?Jn("settings/:settingsTab?",{id:a,token:":settingsTab?"}):Jn("settings")},Gn=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Jn(a,b)},Jn=function(a,b){var c=
b=void 0===b?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var f=a;null!=b&&(f=a.replace(c?c:/:\w+/,b.toString()));d&&(f=nsa(f,d));e&&(f=f+"#"+e);return f},Ln=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},Mn=function(a,b){b=void 0===b?{}:b;b=void 0===b?{}:b;a={q:"status:open componentid:"+a};b.includeArchived&&(a.q+=" archived:all");a={path:"/issues",queryParams:a};a.queryParams.s="created_time:desc";return a},osa=function(a){var b={};a=(b.component=
a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},Nn=function(a){return{path:"/components/"+a}},psa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},On=function(a){return{path:"/slos/"+a+"/edit"}},qsa=function(a,b,c){var d=c.path.split("/");if(d.length>a.length||"full"===c.pathMatch&&(b.hasChildren()||d.length<a.length))return null;b={};for(c=0;c<d.length;c++){var e=d[c],f=a[c];if(e.startsWith(":"))b[e.substring(1)]=f;else if(e!==
f.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},Pn=function(a,b){var c=a?Object.keys(a):void 0,d=b?Object.keys(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!rsa(a[d],b[d]))return!1;return!0},rsa=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(p(a)).sort();var c=[].concat(p(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},Qn=function(a){return wfa(a)?a:Ge(a)?(0,T.from)(Promise.resolve(a)):
(0,T.of)(a)},usa=function(a,b,c){return ssa[c.paths](a.root,b.root,c.matrixParams)&&tsa[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},vsa=function(a,b){return Pn(a,b)},wsa=function(a,b,c){if(!Rn(a.segments,b.segments)||!Sn(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!wsa(a.children[d],b.children[d],c))return!1;return!0},xsa=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&
Object.keys(b).every(function(c){return rsa(a[c],b[c])})},zsa=function(a,b,c){return ysa(a,b,b.segments,c)},ysa=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),Rn(a,c)&&!b.hasChildren()&&Sn(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!Rn(a.segments,c)||!Sn(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!zsa(a.children[e],b.children[e],d))return!1;return!0}e=c.slice(0,a.segments.length);c=c.slice(a.segments.length);return Rn(a.segments,
e)&&Sn(a.segments,e,d)&&a.children.primary?ysa(a.children.primary,b,c,d):!1},Sn=function(a,b,c){return b.every(function(d,e){return tsa[c](a[e].parameters,d.parameters)})},Asa=function(a,b){return Rn(a,b)&&a.every(function(c,d){return Pn(c.parameters,b[d].parameters)})},Rn=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},Bsa=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=m(d);d=e.next().value;e=e.next().value;"primary"===d&&
(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=m(d);d=e.next().value;e=e.next().value;"primary"!==d&&(c=c.concat(b(e,d)))});return c},Un=function(a){return a.segments.map(function(b){return Tn(b.path)+Csa(b.parameters)}).join("/")},Vn=function(a,b){if(!a.hasChildren())return Un(a);if(b){b=a.children.primary?Vn(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=m(d);d=e.next().value;e=e.next().value;"primary"!==d&&c.push(d+":"+Vn(e,
!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=Bsa(a,function(d,e){return"primary"===e?[Vn(a.children.primary,!1)]:[e+":"+Vn(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?Un(a)+"/"+b[0]:Un(a)+"/("+b.join("//")+")"},Dsa=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},Wn=function(a){return Dsa(a).replace(/%3B/gi,";")},Tn=function(a){return Dsa(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,
"&")},Csa=function(a){return Object.keys(a).map(function(b){return";"+Tn(b)+"="+Tn(a[b])}).join("")},Esa=function(a){var b=Object.keys(a).map(function(c){var d=a[c];return Array.isArray(d)?d.map(function(e){return Wn(c)+"="+Wn(e)}).join("&"):Wn(c)+"="+Wn(d)}).filter(function(c){return!!c});return b.length?"?"+b.join("&"):""},Xn=function(a){return(a=a.match(Fsa))?a[0]:""},Gsa=function(a){var b={};return 0<a.segments.length?new Yn([],(b.primary=a,b)):a},Zn=function(a){for(var b={},c=m(Object.keys(a.children)),
d=c.next();!d.done;d=c.next()){d=d.value;var e=Zn(a.children[d]);if(0<e.segments.length||e.hasChildren())b[d]=e}a=new Yn(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new Yn(a.segments.concat(b.segments),b.children));return a},ao=function(a){return a instanceof $n},Hsa=function(a){function b(f){for(var h={},l=m(f.children),q=l.next();!q.done;q=l.next()){q=q.value;var u=b(q);h[q.outlet]=u}h=new Yn(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=Gsa(d);var e;return null!=
(e=c)?e:d},bo=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},co=function(a){return"object"===typeof a&&null!=a&&a.outlets},Jsa=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var l=m(h);h=l.next().value;l=l.next().value;f[h]=Array.isArray(l)?l.map(function(q){return""+q}):""+l});a=a===b?c:Isa(a,b,c);a=Gsa(Zn(a));return new $n(a,f,e)},Isa=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=m(e);e=f.next().value;f=f.next().value;
d[e]=f===b?c:Isa(f,b,c)});return new Yn(a.segments,d)},Lsa=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===a[0])return new Ksa(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,f){if("object"===typeof e&&null!=e){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(l){var q=m(l);l=q.next().value;q=q.next().value;h[l]="string"===typeof q?q.split("/"):q});return[].concat(p(d),[{outlets:h}])}if(e.segmentPath)return[].concat(p(d),[e.segmentPath])}return"string"!==typeof e?[].concat(p(d),
[e]):0===f?(e.split("/").forEach(function(l,q){if(0!=q||"."!==l)0==q&&""===l?c=!0:".."===l?b++:""!=l&&d.push(l)}),d):[].concat(p(d),[e])},[]);return new Ksa(c,b,a)},Msa=function(a){if(co(a[0]))return a[0].outlets;var b={};return b.primary=a,b},Osa=function(a,b,c){a||(a=new Yn([],{}));if(0===a.segments.length&&a.hasChildren())return eo(a,b,c);a:{var d=a;for(var e=0,f=b,h={match:!1,pathIndex:0,commandIndex:0};f<d.segments.length;){if(e>=c.length){d=h;break a}var l=d.segments[f],q=c[e];if(co(q))break;
q=""+q;var u=e<c.length-1?c[e+1]:null;if(0<f&&void 0===q)break;if(q&&u&&"object"===typeof u&&void 0===u.outlets){if(q!=l.path||!Pn(u,l.parameters)){d=h;break a}e+=2}else{u={};if(q!=l.path||!Pn(u,l.parameters)){d=h;break a}e++}f++}d={match:!0,pathIndex:f,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new Yn(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new Yn(a.segments.slice(d.pathIndex),a.children),eo(b,0,e)):d.match&&0===e.length?new Yn(a.segments,
{}):d.match&&!a.hasChildren()?Nsa(a,b,c):d.match?eo(a,0,e):Nsa(a,b,c)},eo=function(a,b,c){if(0===c.length)return new Yn(a.segments,{});var d=Msa(c),e={};if(!d.primary&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return eo(a.children.primary,b,c);Object.entries(d).forEach(function(f){var h=m(f);f=h.next().value;h=h.next().value;"string"===typeof h&&(h=[h]);null!==h&&(e[f]=Osa(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=m(f);f=h.next().value;
h=h.next().value;void 0===d[f]&&(e[f]=h)});return new Yn(a.segments,e)},Nsa=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=c[e];if(co(f))return a=Psa(f.outlets),new Yn(d,a);if(0===e&&bo(c[0]))d.push(new fo(a.segments[b].path,Qsa(c[0]))),e++;else{f=co(f)?f.outlets.primary:""+f;var h=e<c.length-1?c[e+1]:null;f&&h&&bo(h)?(d.push(new fo(f,Qsa(h))),e+=2):(d.push(new fo(f,{})),e++)}}return new Yn(d,{})},Psa=function(a){var b={};Object.entries(a).forEach(function(c){var d=m(c);c=
d.next().value;d=d.next().value;"string"===typeof d&&(d=[d]);null!==d&&(b[c]=Nsa(new Yn([],{}),0,d))});return b},Qsa=function(a){var b={};Object.entries(a).forEach(function(c){var d=m(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},Rsa=function(a,b){if(a===b.value)return b;b=m(b.children);for(var c=b.next();!c.done;c=b.next())if(c=Rsa(a,c.value))return c;return null},Ssa=function(a,b){if(a===b.value)return[b];for(var c=m(b.children),d=c.next();!d.done;d=c.next())if(d=Ssa(a,d.value),
d.length)return d.unshift(b),d;return[]},go=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},Tsa=function(a){a=new ho("",new io(new jo([],{},{},"",{},"primary",null,null,a.root,-1,{}),[]));var b=new ko(new T.BehaviorSubject([new fo("",{})]),new T.BehaviorSubject({}),new T.BehaviorSubject({}),new T.BehaviorSubject(""),new T.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;return new lo(new io(b,[]),a)},Vsa=function(a,b){a=a.pathFromRoot;var c=
0;if("always"!==(void 0===b?"emptyOnly":b))for(c=a.length-1;1<=c;){b=a[c];var d=a[c-1];if(b.routeConfig&&""===b.routeConfig.path)c--;else if(d.component)break;else c--}return Usa(a.slice(c))},Usa=function(a){return a.reduce(function(b,c){var d=Object.assign({},b.params,c.params),e=Object.assign({},b.data,c.data),f;b=Object.assign({},c.data,b.resolve,null==(f=c.routeConfig)?void 0:f.data,c._resolvedData);return{params:d,data:e,resolve:b}},{params:{},data:{},resolve:{}})},Wsa=function(a,b){b.value._routerState=
a;b.children.forEach(function(c){return Wsa(a,c)})},Xsa=function(a){var b=0<a.children.length?" { "+a.children.map(Xsa).join(", ")+" } ":"";return""+a.value+b},Ysa=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;Pn(b.queryParams,c.queryParams)||a.queryParams.next(c.queryParams);b.fragment!==c.fragment&&a.fragment.next(c.fragment);Pn(b.params,c.params)||a.params.next(c.params);a:{var d=b.url;var e=c.url;if(d.length!==e.length)d=!1;else{for(var f=0;f<d.length;++f)if(!Pn(d[f],
e[f])){d=!1;break a}d=!0}}d||a.url.next(c.url);Pn(b.data,c.data)||a.data.next(c.data)}else a.snapshot=a._futureSnapshot,a.data.next(a._futureSnapshot.data)},Zsa=function(a,b){var c=Pn(a.params,b.params)&&Asa(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||Zsa(a.parent,b.parent))},mo=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=$sa(a,b,c);return new io(d,b)}if(a.shouldAttach()&&(d=a.retrieve(),null!==d))return d=d.route,
d.value._futureSnapshot=b.value,d.children=b.children.map(function(e){return mo(a,e)}),d;d=ata(b.value);b=b.children.map(function(e){return mo(a,e)});return new io(d,b)},$sa=function(a,b,c){return b.children.map(function(d){for(var e=m(c.children),f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return mo(a,d,f);return mo(a,d)})},ata=function(a){return new ko(new T.BehaviorSubject(a.url),new T.BehaviorSubject(a.params),new T.BehaviorSubject(a.queryParams),new T.BehaviorSubject(a.fragment),
new T.BehaviorSubject(a.data),a.outlet,a.component,a)},cta=function(a){var b=ao(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=bta(0,a);a.url=c;a.navigationBehaviorOptions=b;return a},bta=function(a,b){var c=Error("Ac`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},dta=function(a){return a&&a.ngNavigationCancelingError},eta=function(a,b){a.providers&&!a._injector&&(a._injector=vfa(a.providers,b,"Route: "+a.path));
var c;return null!=(c=a._injector)?c:b},no=function(a){var b=a.children&&a.children.map(no);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===a.outlet||(a.component=oo);return a},po=function(a){return a.outlet||"primary"},fta=function(a,b){var c=a.filter(function(d){return po(d)===b});c.push.apply(c,p(a.filter(function(d){return po(d)!==b})));return c},qo=function(a){if(!a)return null;var b;if(null==(b=a.routeConfig)?
0:b._injector)return a.routeConfig._injector;for(a=a.parent;a;a=a.parent){b=a.routeConfig;var c=void 0;if(null==(c=b)?0:c._loadedInjector)return b._loadedInjector;c=void 0;if(null==(c=b)?0:c._injector)return b._injector}return null},so=function(){return Qf(function(a){return(0,T.combineLatest)(a.map(function(b){return b.pipe(Ef(),Pf(ro))})).pipe(B(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!0!==c){if(c===ro)return ro;if(!1===c||c instanceof $n)return c}return!0}),sf(function(b){return b!==
ro}),Ef())})},to=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Rc(a)?b.get(a):a:d},uo=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=go(b);a.children.forEach(function(h){var l=f[h.value.outlet],q=d.concat([h.value]),u=e;u=void 0===u?{canDeactivateChecks:[],canActivateChecks:[]}:u;var x=h.value,y=l?l.value:null,G=c?c.getContext(h.value.outlet):null;if(y&&x.routeConfig===y.routeConfig){var J=gta(y,x,x.routeConfig.runGuardsAndResolvers);
J?u.canActivateChecks.push(new hta(q)):(x.data=y.data,x._resolvedData=y._resolvedData);x.component?uo(h,l,G?G.children:null,q,u):uo(h,l,c,q,u);J&&G&&G.outlet&&G.outlet.isActivated&&u.canDeactivateChecks.push(new vo(G.outlet.component,y))}else y&&wo(l,G,u),u.canActivateChecks.push(new hta(q)),x.component?uo(h,null,G?G.children:null,q,u):uo(h,null,c,q,u);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var l=m(h);h=l.next().value;l=l.next().value;return wo(l,c.getContext(h),e)});return e},
gta=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!Rn(a.url,b.url);case "pathParamsOrQueryParamsChange":return!Rn(a.url,b.url)||!Pn(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!Zsa(a,b)||!Pn(a.queryParams,b.queryParams);default:return!Zsa(a,b)}},wo=function(a,b,c){var d=go(a),e=a.value;Object.entries(d).forEach(function(f){var h=m(f);f=h.next().value;h=h.next().value;e.component?b?wo(h,b.children.getContext(f),
c):wo(h,null,c):wo(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new vo(b.outlet.component,e)):c.canDeactivateChecks.push(new vo(null,e)):c.canDeactivateChecks.push(new vo(null,e))},xo=function(a){return"function"===typeof a},ita=function(a){return a instanceof T.EmptyError||"EmptyError"===(null==a?void 0:a.name)},lta=function(a,b){return lf(function(c){var d=c.targetSnapshot,e=c.currentSnapshot,f=c.guards,h=f.canActivateChecks;f=f.canDeactivateChecks;return 0===
f.length&&0===h.length?(0,T.of)(Object.assign({},c,{guardsResult:!0})):jta(f,d,e,a).pipe(lf(function(l){return l&&"boolean"===typeof l?kta(d,h,a,b):(0,T.of)(l)}),B(function(l){return Object.assign({},c,{guardsResult:l})}))})},jta=function(a,b,c,d){return(0,T.from)(a).pipe(lf(function(e){return mta(e.component,e.route,c,b,d)}),Hf(function(e){return!0!==e},!0))},kta=function(a,b,c,d){return(0,T.from)(b).pipe(lf(function(e){var f=T.concat;var h=e.route.parent;null!==h&&d&&d(new nta(h));h=(0,T.of)(!0);
var l=e.route;null!==l&&d&&d(new yo(l));l=(0,T.of)(!0);return f.call(T,h,l,ota(a,e.path,c),pta(a,e.route,c))},1),Hf(function(e){return!0!==e},!0))},pta=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||0===d.length)return(0,T.of)(!0);d=d.map(function(e){return(0,T.defer)(function(){var f,h=null!=(f=qo(b))?f:c,l=to(e,h);f=l&&xo(l.canActivate)?l.canActivate(b,a):Mi(h,function(){return l(b,a)});return Qn(f).pipe(Hf())})});return(0,T.of)(d).pipe(so())},ota=function(a,b,c){var d=
b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var f=e.routeConfig?e.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:e,guards:f}:null}).filter(function(e){return null!==e}).map(function(e){return(0,T.defer)(function(){var f=e.guards.map(function(h){var l,q=null!=(l=qo(e.node))?l:c,u=to(h,q);h=u&&xo(u.canActivateChild)?u.canActivateChild(d,a):Mi(q,function(){return u(d,a)});return Qn(h).pipe(Hf())});return(0,T.of)(f).pipe(so())})});return(0,T.of)(b).pipe(so())},mta=
function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,T.of)(!0);f=f.map(function(h){var l,q=null!=(l=qo(b))?l:e,u=to(h,q);h=u&&xo(u.canDeactivate)?u.canDeactivate(a,b,c,d):Mi(q,function(){return u(a,b,c,d)});return Qn(h).pipe(Hf())});return(0,T.of)(f).pipe(so())},rta=function(a,b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,T.of)(!0);d=d.map(function(e){var f=to(e,a);e=f&&xo(f.canLoad)?f.canLoad(b,c):Mi(a,function(){return f(b,c)});return Qn(e)});
return(0,T.of)(d).pipe(so(),qta())},qta=function(){return(0,T.pipe)(Sf(function(a){if(ao(a))throw cta(a);}),B(function(a){return!0===a}))},sta=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,T.of)(!0);d=d.map(function(e){var f=to(e,a);e=f&&xo(f.canMatch)?f.canMatch(b,c):Mi(a,function(){return f(b,c)});return Qn(e)});return(0,T.of)(d).pipe(so(),qta())},vta=function(a,b,c,d){var e=tta(a,b,c);if(!e.matched)return(0,T.of)(e);d=eta(b,d);return sta(d,b,c).pipe(B(function(f){return!0===f?e:
Object.assign({},uta)}))},tta=function(a,b,c){if(""===b.path)return"full"===b.pathMatch&&(a.hasChildren()||0<c.length)?Object.assign({},uta):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||qsa)(c,a,b);if(!a)return Object.assign({},uta);var d={},e;Object.entries(null!=(e=a.posParams)?e:{}).forEach(function(h){var l=m(h);h=l.next().value;l=l.next().value;d[h]=l.path});e=0<a.consumed.length?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):
d;var f;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,positionalParamSegments:null!=(f=a.posParams)?f:{}}},Ao=function(a,b,c,d){if(0<c.length&&wta(a,c,d)){var e=Yn,f=new Yn(c,a.children);c={};c.primary=f;f._sourceSegment=a;f._segmentIndexShift=b.length;f=m(d);for(var h=f.next();!h.done;h=f.next())if(h=h.value,""===h.path&&"primary"!==po(h)){var l=new Yn([],{});l._sourceSegment=a;l._segmentIndexShift=b.length;c[po(h)]=l}c=new e(b,c);c._sourceSegment=
a;c._segmentIndexShift=b.length;return{segmentGroup:c,slicedSegments:[]}}if(0===c.length&&xta(a,c,d)){e=Yn;f=a.segments;h=a.children;l={};d=m(d);for(var q=d.next();!q.done;q=d.next())if(q=q.value,zo(a,c,q)&&!h[po(q)]){var u=new Yn([],{});u._sourceSegment=a;u._segmentIndexShift=b.length;l[po(q)]=u}h=Object.assign({},h,l);e=new e(f,h);e._sourceSegment=a;e._segmentIndexShift=b.length;return{segmentGroup:e,slicedSegments:c}}e=new Yn(a.segments,a.children);e._sourceSegment=a;e._segmentIndexShift=b.length;
return{segmentGroup:e,slicedSegments:c}},wta=function(a,b,c){return c.some(function(d){return zo(a,b,d)&&"primary"!==po(d)})},xta=function(a,b,c){return c.some(function(d){return zo(a,b,d)})},zo=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},yta=function(a,b,c,d){return po(a)===d||"primary"!==d&&zo(b,c,a)?"**"===a.path?!0:tta(b,a,c).matched:!1},Co=function(a){return(0,T.throwError)(new Bo(a))},zta=function(a,b,c,d){return Qf(function(e){return(new Do(a,b,
c,e.extractedUrl,d)).apply().pipe(B(function(f){return Object.assign({},e,{urlAfterRedirects:f})}))})},Bta=function(){var a=new Ata;return new T.Observable(function(b){return b.error(a)})},Dta=function(a,b,c,d,e,f,h){return(new Cta(a,b,c,d,e,void 0===h?"emptyOnly":h,f)).recognize().pipe(Qf(function(l){return null===l?Bta():(0,T.of)(l)}))},Eta=function(a){a.sort(function(b,c){return"primary"===b.value.outlet?-1:"primary"===c.value.outlet?1:b.value.outlet.localeCompare(c.value.outlet)})},Fta=function(a){return(a=
a.value.routeConfig)&&""===a.path&&void 0===a.redirectTo},Gta=function(a){var b=[],c=new Set,d={};a=m(a);for(var e=a.next();!e.done;d={$jscomp$loop$prop$node$2137:d.$jscomp$loop$prop$node$2137},e=a.next())d.$jscomp$loop$prop$node$2137=e.value,Fta(d.$jscomp$loop$prop$node$2137)?(e=b.find(function(f){return function(h){return f.$jscomp$loop$prop$node$2137.value.routeConfig===h.value.routeConfig}}(d)),void 0!==e?(e.children.push.apply(e.children,p(d.$jscomp$loop$prop$node$2137.children)),c.add(e)):b.push(d.$jscomp$loop$prop$node$2137)):
b.push(d.$jscomp$loop$prop$node$2137);d=m(c);for(a=d.next();!a.done;a=d.next())a=a.value,e=Gta(a.children),b.push(new io(a.value,e));return b.filter(function(f){return!c.has(f)})},Hta=function(a){for(;a._sourceSegment;)a=a._sourceSegment;return a},Ita=function(a){for(var b,c=null!=(b=a._segmentIndexShift)?b:0;a._sourceSegment;)a=a._sourceSegment,b=void 0,c+=null!=(b=a._segmentIndexShift)?b:0;return c-1},Jta=function(a,b,c,d,e){return lf(function(f){return Dta(a,b,c,f.urlAfterRedirects,d.serialize(f.urlAfterRedirects),
d,e).pipe(B(function(h){return Object.assign({},f,{targetSnapshot:h})}))})},Lta=function(a,b){return lf(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,T.of)(c);var f=0;return(0,T.from)(e).pipe(lf(function(h){return Kta(h.route,d,a,b)},1),Sf(function(){return f++}),iha(),lf(function(){return f===e.length?(0,T.of)(c):T.EMPTY}))})},Kta=function(a,b,c,d){var e=a.routeConfig,f=a._resolve;void 0!==(null==e?void 0:e.title)&&"string"!==typeof e.title&&null!==e.title&&
(f[Eo]=e.title);return Mta(f,a,b,d).pipe(B(function(h){a._resolvedData=h;a.data=Vsa(a,c).resolve;!e||"string"!==typeof e.title&&null!==e.title||(a.data[Eo]=e.title);return null}))},Mta=function(a,b,c,d){var e=Nta(a);if(0===e.length)return(0,T.of)({});var f={};return(0,T.from)(e).pipe(lf(function(h){return Ota(a[h],b,c,d).pipe(Hf(),Sf(function(l){f[h]=l}))}),iha(),If(f),yf(function(h){return ita(h)?T.EMPTY:(0,T.throwError)(h)}))},Nta=function(a){return[].concat(p(Object.keys(a)),p(Object.getOwnPropertySymbols(a)))},
Ota=function(a,b,c,d){var e,f=null!=(e=qo(b))?e:d,h=to(a,f);a=h.resolve?h.resolve(b,c):Mi(f,function(){return h(b,c)});return Qn(a)},Pta=function(a){return Qf(function(b){var c=a(b);return c?(0,T.from)(c).pipe(B(function(){return b})):(0,T.of)(b)})},Qta=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},Rta=function(a){throw a;},Sta=function(a,b){return b.parse("/")},Tta=function(a,b){a.events.pipe(sf(function(c){return c instanceof Fo||c instanceof Go||c instanceof Ho||c instanceof
Io}),B(function(c){return c instanceof Fo||c instanceof Io?0:c instanceof Go&&(0===c.code||1===c.code)?2:1}),sf(function(c){return 2!==c}),Ef()).subscribe(function(){b()})},Uta=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},Vta=function(a){for(var b={},c=m(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);b[d]=1<e.length?e:e[0]}return b},Xta=function(a){if(!a.getType())throw Error("Fc");return{type:Wta[a.getType()],customFieldId:Pj(a.getCustomFieldId()),customFieldName:Sj(a.getCustomFieldName())}},
Zta=function(a){var b=new Jo;void 0!==a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));void 0!==a.customFieldName&&k(b,3,a.customFieldName);void 0!==a.type&&b.setType(Yta[a.type]);return b},$ta=function(a){var b=a.getField();if(!b)throw Error("Gc");if(!a.getDirection())throw Error("Hc");return{field:Xta(b),direction:1===a.getDirection()?"ASCENDING":"DESCENDING"}},aua=function(a){var b=new Ko;b.setField(Zta(a.field));b.setDirection("ASCENDING"===a.direction?1:2);return b},bua=function(a){var b=
new Lo;b.setHotlistId(""+a.hotlistId);b.setName(a.name);b.setDescription(a.description);b.setArchived(a.archived);b.setCreatedTimeMicros(a.createdTimeMicros);b.setModifiedTimeMicros(a.modifiedTimeMicros);var c;b.setDisplayColumnList((null!=(c=a.displayColumn)?c:[]).map(Zta));var d;b.setSortOrderList((null!=(d=a.sortOrder)?d:[]).map(aua));void 0!==a.etag&&b.setEtag(a.etag);var e;b.setAdminUsersList((null!=(e=a.adminUsers)?e:[]).map(Nj));return b},Mo=function(a){if(!a.getHotlistId())throw Error("Ic");
if(!a.getName())throw Error("Jc");if(!a.getCreatedTimeMicros())throw Error("Kc");if(!a.getModifiedTimeMicros())throw Error("Lc");var b,c,d,e;return{hotlistId:Number(a.getHotlistId()),name:a.getName(),description:null!=(b=a.getDescription())?b:"",archived:null!=(c=a.getArchived())?c:!1,createdTimeMicros:a.getCreatedTimeMicros(),modifiedTimeMicros:a.getModifiedTimeMicros(),displayColumn:(null!=(d=a.getDisplayColumnList())?d:[]).map(Xta),sortOrder:(null!=(e=a.getSortOrderList())?e:[]).map($ta),etag:a.getEtag(),
adminUsers:Lj(a.getAdminUsersList())}},cua=function(a){var b;return(null!=(b=a.getHotlistsList())?b:[]).map(Mo)},dua=function(a){var b;return(null!=(b=fj(a,Lo,1))?b:[]).map(Mo)},fua=function(a){a=a.getFavorite();return{user:Jj(a.getUser()),resourceType:eua[a.getResourceType()],resourceId:Number(a.getResourceId()),name:a.getName()}},gua=function(a){var b,c;return{searchId:Number(kk(a,1)),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:(null!=(b=a.getSortOrderList())?b:
[]).map($ta),displayColumn:(null!=(c=a.getDisplayColumnList())?c:[]).map(Xta),adminUsers:Lj(a.getAdminUsersList())}},hua=function(a){var b;return(null!=(b=fj(a,No,1))?b:[]).map(gua)},iua=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:Lj(a.getAdminUsersList()),starred:a.getStarred(),resourceType:a.getResourceType()}},jua=function(a){var b;return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:Lj(a.getAdminUsersList()),starred:a.getStarred(),
sublinks:(null!=(b=fj(a,Oo,6))?b:[]).map(iua)}},kua=function(a){var b,c,d,e;return{hotlists:(null!=(b=a.getHotlistsList())?b:[]).map(iua),bookmarkGroups:(null!=(c=a.getBookmarkGroupsList())?c:[]).map(jua),archivedHotlists:(null!=(d=fj(a,Oo,3))?d:[]).map(iua),archivedBookmarkGroups:(null!=(e=fj(a,Po,4))?e:[]).map(jua)}},mua=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a)&&(a=fj(new lua(a),Qo,1))&&1===a.length)return Ul(a[0])},So=function(a){return function(){var b=Ro.getItem(a);
return null==b?!1:!!JSON.parse(b)}},To=function(a){return function(b){!0===b?Ro.setItem(a,"1"):Ro.removeItem(a)}},Uo=function(){return nua.performance&&nua.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},oua=function(a){var b=a.name;if(null!=b&&(a=Math.round(a.duration),!isNaN(a))){var c=m(b.split(" -> ")),d=c.next().value;c=c.next().value;if(null==d||null==c)console.warn("can't parse 'from' and 'to' in PerformanceEntry: "+
b);else return{from:d,to:c,duration:a}}},qua=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(pua);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},uua=function(){var a=window.performance.getEntries(),b=qua(a);if(null==b)return[];var c=b.startTime;return a.filter(rua).filter(sua).filter(tua).filter(function(d){return d.startTime<=c})},pua=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},
rua=function(a){return 0!==a.name.indexOf("Zone")},tua=function(a){return"resource"===a.entryType},vua=function(a){return"xmlhttprequest"===a.initiatorType},sua=function(a){return null==a.name.match(/\.html$/)},wua=function(a,b){var c=b.transferSize||0,d=a.count+1,e=a.cacheHits+(0===c?1:0);return{count:d,duration:a.duration+b.duration,transferSize:a.transferSize+c,cacheHits:e,cacheHitRate:e/d}},xua=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,
eventLabel:a.to,eventValue:a.duration}},zua=function(a){a=a.getEntries().map(oua).map(xua);a=m(a);for(var b=a.next();!b.done;b=a.next())Vo(b.value);setTimeout(yua,100)},yua=function(){if(!Aua){var a=uua(),b=a.filter(function(c){return!vua(c)}).reduce(wua,Bua());Wo("r-until-cf","asset","count",b.count);Wo("r-until-cf","asset","transferSize",b.transferSize);Wo("r-until-cf","asset","duration",b.duration);Wo("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(vua).reduce(wua,Bua());Wo("r-until-cf",
"xhr","count",a.count);Wo("r-until-cf","xhr","transferSize",a.transferSize);Wo("r-until-cf","xhr","duration",a.duration);Aua=!0}},Wo=function(a,b,c,d){Vo(Object.assign({},{hitType:"event",eventCategory:a},void 0!==b?{eventAction:b}:{},void 0!==c?{eventLabel:c}:{},void 0!==d?{eventValue:d}:{}))},Vo=function(a){null!=a&&(Xo("location","Scrubbed Page URL"),Xo("title","Scrubbed Page Title"),"function"===typeof Yo.ga&&Yo.ga("send",a),Cua&&ana("[stub ga.ts] ga('send')",a))},Xo=function(a,b){"function"===
typeof Yo.ga&&Yo.ga("set",a,b);Cua&&ana("[stub ga.ts] ga('set', '"+a+"', "+b+")")},Dua=function(){return bd.apply(0,arguments).map(String).join("__")},Eua=function(){for(var a={},b=m(Object.entries(Zo)),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;1<d&&(a[c]=d)}return a},Fua=function(a,b){return a+b},Gua=function(){var a=Object.values(Zo),b=a.map(function(c){return c-1}).reduce(Fua,0);a=a.reduce(Fua,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*
100)/100}},Hua=function(a){for(var b=[];a;){var c=void 0,d=void 0;b.push(null!=(d=null==(c=a.routeConfig)?void 0:c.path)?d:"");c=void 0;a=null==(c=a.children)?void 0:c[0]}return b.join("/")},$o=function(a){return a instanceof Fo},Iua=function(a){return a instanceof ap},Jua=function(a){return function(b){return new T.Observable(function(c){return b.subscribe(function(d){return void a.run(function(){return void c.next(d)})},function(d){return void a.run(function(){return void c.error(d)})},function(){return void a.run(function(){return void c.complete()})})})}},
Oua=function(){var a=void 0===a?Wo:a;var b=Date.now(),c=bp(b);bp(Kua())!==c?a("retention","first-visit"):(c=bp(b),bp(Kua())===c&&1===Lua()&&a("retention","second-visit"));a=bp(b);bp(Kua())!==a?Mua(1):(a=Lua()||0,Mua(a+1));Nua(b)},bp=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},Pua=function(a,b){var c=b.filter(function(e){return!a.includes(e)}).map(function(e){return"+"+e}).join(),d=a.filter(function(e){return!b.includes(e)}).map(function(e){return"-"+e}).join();return c+d},Qua=
function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},Rua=function(a){var b=1E3;b=void 0===b?150:b;var c,d=[];return function(e){d.push(e);c&&clearTimeout(c);c=setTimeout(function(){a(d);d=[];c=void 0},b)}},Sua=function(a){function b(){var e,f,h,l;return Ze(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();d=!0;e=[].concat(p(c));c=[];f=m(e);h=f.next()}if(3!=q.nextAddress){if(h.done)return d=!1,af(q,b(),0);l=h.value;
return af(q,a.apply(null,p(l.args)).then(l.returnValue.resolve).catch(l.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=bd.apply(0,arguments),f=new Yra;c.push({args:e,returnValue:f});b();return f.promise}},cp=function(a){var b=!1;return function(){var c=bd.apply(0,arguments);if(!b)return b=!0,a.apply(null,p(c))}},Tua=function(a){return!(null==a||!a.relatedChildren.length)},Vua=function(a,b){var c=[].concat(p(a));a=new Set(a.map(function(h){return h.targetIssueId}));
var d={};b=m(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$newItem$2145:d.$jscomp$loop$prop$newItem$2145},e=b.next())if(d.$jscomp$loop$prop$newItem$2145=e.value,!a.has(d.$jscomp$loop$prop$newItem$2145.targetIssueId)){e=c.findIndex(function(h){return function(l){return l.targetIssueId===h.$jscomp$loop$prop$newItem$2145.afterIssueId}}(d));var f=void 0;f=d.$jscomp$loop$prop$newItem$2145.afterIssueId?-1===e?c.length:e+1:0;c.splice(f,0,d.$jscomp$loop$prop$newItem$2145);a.add(d.$jscomp$loop$prop$newItem$2145.targetIssueId)}return Uua(c)},
Wua=function(a,b){return Uua(a.filter(function(c){return c.targetIssueId!==b}))},Uua=function(a){for(var b=[],c=m(a.entries()),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:null==(e=a[d-1])?void 0:e.targetIssueId});null==d.afterIssueId&&delete d.afterIssueId;b.push(d)}return b},Xua=function(a){var b=new Map,c={};a=m(a);for(var d=a.next();!d.done;c={$jscomp$loop$prop$previousOperation$2147:c.$jscomp$loop$prop$previousOperation$2147},
d=a.next()){var e=d.value;d=e.issues.map(function(f){return f.issueId}).join(",");c.$jscomp$loop$prop$previousOperation$2147=b.get(d);c.$jscomp$loop$prop$previousOperation$2147?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:c.$jscomp$loop$prop$previousOperation$2147.issues,eventTimestamps:[].concat(p(c.$jscomp$loop$prop$previousOperation$2147.eventTimestamps),p(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(c.$jscomp$loop$prop$previousOperation$2147.done.resolve).catch(function(f){return function(h){f.$jscomp$loop$prop$previousOperation$2147.done.reject(h);
throw h;}}(c)),b.set(d,e)):b.set(d,e)}b=[].concat(p(b.values()));c={};a=m(b);for(d=a.next();!d.done;c={$jscomp$loop$prop$operation$1898$2149:c.$jscomp$loop$prop$operation$1898$2149},d=a.next())c.$jscomp$loop$prop$operation$1898$2149=d.value,c.$jscomp$loop$prop$operation$1898$2149.newRelations=c.$jscomp$loop$prop$operation$1898$2149.newRelations.map(function(f){return function(h){return f.$jscomp$loop$prop$operation$1898$2149.newParentChildrenSnapshot.find(function(l){return l.targetIssueId===h.targetIssueId})}}(c));
return b.sort(function(f,h){var l=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,p(f.issues.map(function(u){return l.findIndex(function(x){return x.targetIssueId===u.issueId})})));h=Math.min.apply(Math,p(h.issues.map(function(u){return q.findIndex(function(x){return x.targetIssueId===u.issueId})})));return f===h?0:f<h?-1:1})},dp=function(a,b){b=new T.BehaviorSubject(b);a.subscribe(b);return b},ep=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},
fp=function(){var a;return null==(a=document.location.search.match(/\bldap=(.*)\b/))?void 0:a[1]},Yua=function(a){return[].concat(p(a.values())).flatMap(function(b){return b.sourceIssueIds})},gp=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(p(a),p(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},Zua=function(a,b){return"background: conic-gradient(var(--"+(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);"},hp=function(a){var b,c,d;return null!=
(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/by (\w+)@/))?void 0:c[1])?d:""},$ua=function(a,b){var c=[];a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0;if(!b.has(d.issueId)||b.get(d.issueId)!==(null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)){c.push(d);var f=e=void 0;b.set(d.issueId,null!=(f=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?f:0)}}return c},ava=function(a){return{emailAddress:hp(a)+"@google.com"}},bva=function(a){var b,c,d;a=null!=(d=
null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)},cva=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""},dva=function(a,b){var c;return null==(c=[].concat(p(a.preDiffs),p(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},eva=function(a,b){var c;return null==(c=[].concat(p(a.preDiffs),p(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue},fva=function(a){return"http://b/issues/"+
a},gva=function(a){if(a.match(/\bhotlists?\b/))return ip(a)},jp=function(a){return"hotlist-"+a},hva=function(a){if(a.match(/\bsavedsearch(?:es|)\b/))return ip(a)},iva=function(a){if(null!=a){if(gva(a))return"hotlist";if(hva(a))return"savedsearch";var b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||a.match(b)?ip(a):void 0;if(b)return"issue";a=a.trim();if(3>a.length?0:a.match(/^\d+$/))return"plain-id"}},ip=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},jva=function(a){a=void 0===a?
[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},kva=function(){var a=new Date;a.setDate(a.getDate()-1);return a.getFullYear()+"-"+(a.getMonth()+1).toString().padStart(2,"0")+"-"+a.getDate().toString().padStart(2,"0")},lva=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},mva=function(a){a&1&&(D(0,"p",10),P(1),E());a&2&&(a=L(),z(1),Q(" ",a.errorMsg," "))},kp=function(){return Df(function(a,b){return mj(a,b)})},nva=function(){return function(a){return a.pipe(B(function(b){return{event:b,
timestamp:Date.now()}}),xf(a.pipe(Af(1E4,T.asapScheduler))))}},lp=function(a,b){b?(b=Upa(b))?(void 0!==a.tagName&&mka(a),a.innerHTML=Ml(b)):ova(a):ova(a)},ova=function(a){for(;a.lastChild;)a.lastChild.remove()},pva=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},mp=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},np=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},qva=function(a){if(a&1){var b=
t();D(0,"div",5);K("clickOutside",function(){v(b);var c=L();return w(c.hide())});D(1,"div",6);P(2," Relative link may be malformed:\u00a0 ");D(3,"code");P(4);E();D(5,"button",7);K("click",function(){v(b);var c=L();return w(c.copyToClipboard())});F(6,"mat-icon",8);E()();D(7,"div",6);P(8," Force open as: \u00a0 ");D(9,"a",9);K("click",function(c){v(b);var d=L();np(c)||(c.preventDefault(),c.stopPropagation(),op(d.domSafe,"http://"+d.originalHref));return w()});P(10);E()()()}a&2&&(a=L(),z(4),Bg(a.originalHref),
z(5),yg("href","http://",a.originalHref,"",ue),z(1),Q(" http://",a.originalHref," "))},rva=function(){return{color:"accent",clickAction:"check-indeterminate"}},sva=function(a){a&1&&(D(0,"b-glue"),F(1,"mat-icon",5),E())},wva=function(a){if(a&1){var b=t();D(0,"div",6);K("clickOutside",function(){v(b);var c=L();return w(c.hide())});D(1,"span",7)(2,"a",8);K("click",function(c){v(b);var d=L();return w(tva(d,c))})("keydown",function(c){v(b);var d=L();return w(uva(d,c))});P(3);E()();D(4,"button",9);K("keydown.Tab",
function(c){v(b);var d=L();return w(vva(d,c))})("click",function(){v(b);var c=L();return w(c.copyToClipboard())});F(5,"mat-icon",10);E()()}a&2&&(a=L(),z(2),C("href",a.originalHref,ue)("rel",a.EXTERNAL_LINK_REL),z(1),Bg(a.originalHref))},yva=function(a){if(null==xva){var b="undefined"!==typeof document?document.head:null;xva=!(!b||!b.createShadowRoot&&!b.attachShadow)}return xva&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},zva=
function(a){if(a&1){var b=t();D(0,"div",0);K("clickOutside",function(){v(b);var c=L();return w(c.closeHovercard$.next())})("mouseenter",function(){v(b);L().isOnHover$.next(!0);return w()})("mouseleave",function(){v(b);L().isOnHover$.next(!1);return w()});xg(1);E()}a&2&&(a=L(),qg(a.className),C("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},Ava=function(a){a&1&&(D(0,"div",4),tg(1,5),E());a&2&&(a=L(),C("onedevIsHovercardReady",a.hovercardReady))},Bva=function(a){if(!a||!a.seconds&&!a.nanos)return null;
var b=new il;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},pp=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new cj;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},qp=function(a){if(!a)return 0;if(a instanceof cj){var b=a.getSeconds();a=a.getNanos()||0}else b=a.seconds,a=a.nanos;return 1E3*b+a/1E6},rp=function(a){var b=a+" day"+(1<a?"s":"");if(365>a)return b;a=Math.round(a/365*10)/10;return b+" (~"+(a+" year"+(1<a?"s":""))+")"},Cva=
function(a){if(a){var b=new sp;b.setTime(a.getTime());return b}},Dva=function(a){return a.retentionPeriod&&(a=Bva(a.retentionPeriod))?rp(Math.floor(1E3*a.getSeconds()/864E5)):"indefinite"},tp=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},Eva=function(a){if(a&1){var b=t();D(0,"button",5);K("click",function(){v(b);var c=L();return w(c.dialogRef.close(!1))});P(1);E()}a&2&&(a=L(),z(1),Q(" ",a.cancelButtonText," "))},Fva=function(a){var b=[],c=[].concat.apply([],
p(a.map(function(e){return e.actions})));a={};c=m(c);for(var d=c.next();!d.done;a={$jscomp$loop$prop$action$2155:a.$jscomp$loop$prop$action$2155},d=c.next())a.$jscomp$loop$prop$action$2155=d.value,b.some(function(e){return function(f){return mj(e.$jscomp$loop$prop$action$2155,f)}}(a))||b.push(a.$jscomp$loop$prop$action$2155);return b},Gva=function(a){return Array.from(new Set([].concat.apply([],p(a.map(function(b){return b.issueIds})))))},Hva=function(a){a=void 0===a?{}:a;return jra(Object.values(a)).sort(function(b,
c){return b-c})},Lva=function(a){var b={};a=Bl(a,1,Iva);a=m(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:Jva[bk(d,1,0)],detailedUserType:Kva[bk(d,2,0)]}}return b},Mva=function(a,b){return a.map(function(c){return b[c]||null})},Nva=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},Ova=function(a,b){a&1&&(D(0,"li"),P(1),E());a&2&&(a=b.$implicit,z(1),Bg(a))},Pva=function(a,b,c,d){c&&c.targetTime&&
(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},Qva=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},Rva=function(a,b){a=new Map(a);b=m(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;a.set(c,d)}return a},up=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},vp=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},Sva=function(a,
b){return vp([].concat(p(a.keys())),function(c){return b(a.get(c))})},Tva=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},Uva=function(a){var b=new rl;a.teamId&&b.setTeamId(a.teamId);a.score&&b.setScore(a.score);return b},Vva=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?void 0:c.starred)||!1},Wva=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?void 0:c.lastViewedTimeMicros)||
0},Xva=function(a){var b;return null==(b=qn(a))?void 0:b.title},Yva=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.status)?c:void 0},Zva=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.priority)?c:void 0},$va=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.assigneeUser)?c:void 0},awa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.reporterUser)?c:void 0},bwa=function(a){var b,c;a=null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?
void 0:c.teamId;return Qj(a)},cwa=function(a){var b;a=null==(b=qn(a))?void 0:b.componentId;return Qj(a)},dwa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.ccUsers)?c:[]},ewa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},fwa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.collaboratorsUsers)?c:[]},gwa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.type)?c:void 0},hwa=function(a){var b,c;return null!=(c=
null==(b=qn(a))?void 0:b.foundInVersion)?c:[]},iwa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.targetedToVersion)?c:[]},jwa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.changelist)?c:[]},kwa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.postmortems)?c:[]},lwa=function(a){var b;return(null==(b=qn(a))?void 0:b.inProd)||!1},mwa=function(a){var b;return null==(b=qn(a))?void 0:b.effort},nwa=function(a){var b;return null!=(b=null==a?void 0:a.customFields)?
b:[]},owa=function(a){var b,c;return null!=(c=null==(b=qn(a))?void 0:b.customField)?c:[]},pwa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.issue)?void 0:b.visibleFields)?c:[]},qwa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?void 0:c.voteCount},rwa=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?void 0:c.voted)||!1},twa=function(a){return swa(null==a?void 0:a.issue)},swa=function(a){var b,c;return null!=
(c=null==(b=kn(a))?void 0:b.isDeleted)?c:!1},vwa=function(a){return uwa(null==a?void 0:a.issue)},uwa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},wwa=function(a){var b;return(a=null==a?void 0:null==(b=a.issue)?void 0:b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},ywa=function(a){return xwa(null==a?void 0:a.issue)},xwa=function(a){var b,c;return null!=(c=null==(b=kn(a))?void 0:b.retention)?c:void 0},zwa=function(a){var b,c;return null!=(c=null==(b=
qn(a))?void 0:b.duplicateOfIssueId)?c:void 0},Bwa=function(a){return Awa(null==a?void 0:a.issue)},Awa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},Cwa=function(a){var b;return Qj(null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.sloId)},Dwa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},Ewa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.teamSuggestions)?void 0:
b.map(Uva))?c:[]},Fwa=function(a){return null==a?void 0:a.effortSpec},Gwa=function(a){a=Fwa(a);return!(!a||!a.name&&!a.inherit)},Hwa=function(a){return null==a?void 0:a.componentPathInfo},Iwa=function(a){a=a.filter(function(b){return null!=b.customFieldId}).map(function(b){return String(b.customFieldId)});return new Set(a)},Jwa=function(a){if(!a)return{};var b,c=m(null!=(b=a.match(RegExp("comment([0-9]+)")))?b:[]);c.next();b=c.next().value;var d;a=m(null!=(d=a.match(RegExp("comment[0-9]+version([0-9]+)")))?
d:[]);a.next();d=a.next().value;return{commentNumber:Pj(b),commentVersion:Pj(d)}},wp=function(a){return!!a&&Kwa.test(a)&&!Lwa.test(a)},Nwa=function(a){a=void 0===a?"":a;return a.endsWith("@prod.google.com")||a.endsWith("-robots@google.com")||Mwa(a)},Mwa=function(a){return Owa.some(function(b){return a.endsWith(b)})},Pwa=function(a){switch(a){case "ALL":case "ALL_UPDATES":return"All Updates";case "IMPORTANT":case "MAJOR_UPDATES":return"Major Updates";case "CLOSURE_ONLY":return"Closure Only";case "MINIMAL":return"Minimal";
case "NONE":return"None";default:return a}},Qwa=function(a){return a?Ej(a.replace(/_/g," ").toLowerCase()):""},Rwa=function(a){return a?a.join(", "):""},Swa=function(a,b){if(!a)return xp("");if(!b)return xp(a);b=b.split(" ").map(Bna);b=b.filter(function(h){return!!h});b=b.map(yp);if(0===b.length)return xp(a);b=new RegExp("(\\W|^)("+b.join("|")+")(\\w*)","i");for(var c=[];a;){var d=b.exec(a);if(!d){c.push(a);break}var e=d.index+d[1].length,f=d[2];d=d[3];c.push(a.substring(0,e));c.push(zp("b",{},f));
c.push(d);a=a.substring(e+f.length+d.length)}return Ap(c)},Twa=function(a){return a?"Yes":"No"},Uwa=function(a){var b;a?b=Array.isArray(a)&&a.every(yna)?a.join(" > "):a.componentPathInfo&&a.componentPathInfo.componentPathName?a.componentPathInfo.componentPathName.join(" > "):"":b="";return b},Vwa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},Wwa=function(a){if(1073741824<=a){a/=1073741824;var b="GB"}else 1048576<=a?(a/=1048576,b="MB"):1024<=a?(a/=1024,b="KB"):b="B";a=10>a?Math.round(10*
a)/10:Math.round(a);return a+" "+b},Bp=function(a){if(a&&wp(a))return a},Cp=function(a){return null==a?"":String(a)},Xwa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},Dp=function(a){return a?ja(a,"@")?a:"[Deleted User]"===a?a:a+"@google.com":""},Ywa=function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(p(a));if(d.length<=b)return a;a=b-[].concat(p(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&
(d=d.trimEnd());return d+c},Zwa=function(a){a=void 0===a?"":a;var b=new Set([].concat(p('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(p(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},$wa=function(a){return a.split("").every(function(b){return 1===b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},bxa=function(a){if(null!=a){a=[].concat(p(a)).slice(0,100);a=m(a);for(var b=a.next();!b.done;b=a.next())if(b=axa[b.value])return b}},cxa=
function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},dxa=function(a){a&1&&F(0,"img",9);a&2&&(a=L(),C("src",a.person.imageUrl,ue)("alt",a.person.name+"'s profile picture"))},exa=function(a){a&1&&(D(0,"div",10),P(1),E());a&2&&(a=L(),z(1),Q(" ",a.person.email," "))},fxa=function(a){a&1&&(D(0,"div",11)(1,"onedev-chip",12),F(2,"mat-icon",13),P(3),E()());a&2&&(a=L(),z(3),Q("",a.outOfOfficeDescription," "))},gxa=function(a){a&1&&(D(0,"li"),P(1),E());a&2&&(a=L(2),z(1),
Bg(a.person.title))},hxa=function(a){a&1&&F(0,"li",18)},ixa=function(a){a&1&&(D(0,"li"),P(1),E());a&2&&(a=L(2),z(1),Bg(a.person.department))},jxa=function(a){a&1&&(H(0),F(1,"mat-icon",14),D(2,"div",15)(3,"ul",16),O(4,gxa,2,1,"li",8),O(5,hxa,1,0,"li",17),O(6,ixa,2,1,"li",8),E()(),I());a&2&&(a=L(),z(4),C("ngIf",a.person.title),z(1),C("ngIf",a.person.title&&a.person.department),z(1),C("ngIf",a.person.department))},kxa=function(a){a&1&&(H(0),F(1,"mat-icon",19),D(2,"div",15),P(3),E(),I());a&2&&(a=L(),
z(3),Bg(a.person.location))},lxa=function(a){a&1&&(D(0,"li")(1,"a",21),P(2,"Teams"),E()());a&2&&(a=L(2),z(1),C("href","https://moma.corp.google.com/person/"+a.person.ldap,ue))},mxa=function(a){a&1&&F(0,"li",18)},nxa=function(a){a&1&&(H(0),F(1,"mat-icon",20),D(2,"div",15)(3,"ul",16),O(4,lxa,3,1,"li",8),O(5,mxa,1,0,"li",17),D(6,"li")(7,"a",21),P(8,"Whostory"),E()(),F(9,"li",18),D(10,"li")(11,"a",21),P(12,"Calendar"),E()(),F(13,"li",18),D(14,"li")(15,"a",21),P(16,"CLs"),E()(),F(17,"li",18),D(18,"li")(19,
"a",21),P(20,"Readability"),E()()()(),I());a&2&&(a=L(),z(4),C("ngIf",a.person.title||a.person.department),z(1),C("ngIf",a.person.title||a.person.department),z(2),C("href","https://whostory.corp.google.com/"+a.person.ldap,ue),z(4),C("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",ue),z(4),C("href","https://critique.corp.google.com/"+a.person.ldap,ue),z(4),C("href","https://icanread.corp.google.com/s/"+a.person.ldap,ue))},oxa=function(a,b){if(null==a)return null;
a=a.getRequestHook(b);return null==a?null:a},pxa=function(a){if(null!=a.queryParams){var b={},c;for(c in a.queryParams)void 0!==a.queryParams[c]&&(b[c]=a.queryParams[c]);a.queryParams=b}},qxa=function(a,b,c){c=void 0===c?{}:c;b=m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=m(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},rxa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},
sxa=function(a,b){return Ep(b,a)},txa=function(a,b,c){b[a]=c},uxa=function(){return{}},zxa=function(a,b){var c=new a;return null==b?c:vxa(b,wxa,xxa,yxa,a)},wxa=function(a,b){return b[a]},xxa=function(a,b,c){b.Serializable$values[a]=c},yxa=function(a){if(null==a)throw Error("Rc");return new a},vxa=function(a,b,c,d,e){e=d(e);for(var f=Axa(a,e),h=f.arrays||{},l=f.objects||{},q=f.objectMaps||{},u={},x=m(f.keys||[]),y=x.next();!y.done;u={$jscomp$loop$prop$mapMetadata$2159:u.$jscomp$loop$prop$mapMetadata$2159},
y=x.next()){y=y.value;var G=b(y,a);if(null!=G){var J=void 0;if(h.hasOwnProperty(y)){if(f.emptyArrayIsUnset&&0===G.length)continue;J=Bxa(G,b,c,d,!0,!0,h[y])}else if(l.hasOwnProperty(y))J=Bxa(G,b,c,d,!1,!0,l[y]);else if(q.hasOwnProperty(y))u.$jscomp$loop$prop$mapMetadata$2159=q[y],J=u.$jscomp$loop$prop$mapMetadata$2159.isPropertyArray?G.map(function(M){return function(V){return Cxa(V,M.$jscomp$loop$prop$mapMetadata$2159,b,c,d)}}(u)):Cxa(G,u.$jscomp$loop$prop$mapMetadata$2159,b,c,d);else if(Array.isArray(G)){if(f.emptyArrayIsUnset&&
0===G.length)continue;J=Bxa(G,b,c,d,!0,!1)}else J=G;c(y,e,J)}}return e},Cxa=function(a,b,c,d,e){for(var f={},h=m(Object.keys(a)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a[l];null!=q&&(f[l]=Bxa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},Bxa=function(a,b,c,d,e,f,h){if(f&&null==h)throw Error("Sc");if(null==a)return a;var l;e&&f?l=a.map(function(q){return vxa(q,b,c,d,h)}):e&&!f?l=a.map(function(q){return q}):l=!e&&f?vxa(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):
a;return l},Axa=function(a,b){if(b instanceof Fp)a=rxa(b.getPartialClassMetadata());else if(a instanceof Fp)a=rxa(a.getPartialClassMetadata());else throw Error("Tc");return a},Exa=function(a){return a&&Dxa.test(a)?a.split("@")[0]:""},Fxa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},Gxa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},Hxa=function(a,b){return a.map(function(c,
d){var e,f,h,l=null==b?void 0:null==(e=b.matches)?void 0:null==(f=e[d])?void 0:null==(h=f.personId)?void 0:h[0];if(!l)return{ldap:Exa(c),name:"",email:c};var q;d=null==b?void 0:null==(q=b.people)?void 0:q[l];var u;l=null==(u=Gxa(null==d?void 0:d.email))?void 0:u.value;var x,y;u=null==d?void 0:null==(x=d.name)?void 0:null==(y=x[0])?void 0:y.displayName;var G,J;x=null==d?void 0:null==(G=d.photo)?void 0:null==(J=G[0])?void 0:J.url;y=Fxa(null==d?void 0:d.organization);G=null==y?void 0:y.title;J=null==
y?void 0:y.department;y=null==y?void 0:y.location;return{ldap:Exa(l),email:l||c||"",name:u||"",imageUrl:x,title:G,department:J,location:y}})},Ixa=function(a,b){a&1&&(D(0,"onedev-person-hovercard-body",1),R(1,"async"),xg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),xg(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),E());a&2&&(a=b.ngIf,b=L(),C("person",a)("outOfOfficeDescription",S(1,2,b.outOfOfficeDescription$)))},Jxa=function(a){a&
1&&(D(0,"onedev-person-hovercard",1,2),xg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),E());if(a&2){var b=N(1);a=L();C("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",b.init)}},Kxa=function(a){a&1&&tg(0)},Lxa=function(a){a&1&&(H(0),D(1,"span",2),O(2,Kxa,1,0,"ng-container",3),E(),D(3,"onedev-hovercard",null,4),F(5,"b-person-card",5),E(),I());if(a&2){var b=N(4);a=L();var c=N(2);z(1);C("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);z(1);C("ngTemplateOutlet",
c);z(3);C("email",a.email)}},Mxa=function(a){a&1&&xg(0)},Pxa=function(a){if(a&1){var b=t();H(0,3);D(1,"onedev-hovercard-action",4);K("onAction",function(){v(b);var e=L();return w(Nxa(e))});R(2,"async");D(3,"span");P(4);E()();D(5,"onedev-hovercard-action",4);K("onAction",function(){v(b);var e=L();return w(Oxa(e))});R(6,"async");D(7,"span");P(8);E()();I()}if(a&2){a=L();var c,d;z(1);C("disabled",null!==(c=S(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);z(3);Bg(a.email!==a.currentAssignee?
"Set as assignee":"Remove assignee");z(1);C("disabled",null!==(d=S(6,6,a.actionService.ccUpdating$))&&void 0!==d?d:!1);z(3);Bg(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},Qxa=function(a){a&1&&(H(0),F(1,"img",3),R(2,"async"),I());if(a&2){a=L(2);var b;z(1);C("src",S(2,2,a.srcRedirected$),ue);dg("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},Rxa=function(a){a&1&&(H(0),O(1,Qxa,3,4,"ng-container",0),R(2,"async"),I());if(a&2){a=L();var b=N(3);z(1);C("ngIf",S(2,2,a.showImage$))("ngIfElse",
b)}},Sxa=function(a){if(a&1){var b=t();D(0,"a",4);K("click",function(c){v(b);var d=L();return w(d.trigger(c))})("keydown.enter",function(c){v(b);var d=L();return w(d.trigger(c))});R(1,"async");R(2,"async");D(3,"b-glue");F(4,"mat-icon",5);E();H(5);P(6);R(7,"async");I();E()}a&2&&(a=L(),C("href",S(1,3,a.src$),ue)("title",S(2,5,a.src$)),z(6),Bg(S(7,7,a.srcTruncated$)))},Txa=function(a){a&1&&(F(0,"mat-icon",6),R(1,"async"));a&2&&(a=L(),yg("matTooltip","Unable to load image ",S(1,1,a.srcTruncated$),""))},
Uxa=function(a){a&1&&(H(0),F(1,"br"),D(2,"a",4),F(3,"b-secure-image-widget",5),E(),F(4,"br"),I());if(a&2){a=L().ngIf;var b=L();z(2);C("href",a,ue)("rel",b.EXTERNAL_LINK_REL);z(1);C("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},Vxa=function(a){a&1&&F(0,"b-secure-image-widget",6);if(a&2){a=L().ngIf;var b=L();C("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},Wxa=function(a){a&1&&(H(0)(1,1),R(2,"async"),O(3,Uxa,5,5,"ng-container",2),O(4,Vxa,1,3,"b-secure-image-widget",
3),I()());a&2&&(a=L(),z(1),C("ngSwitch",S(2,3,a.displayMode$)),z(2),C("ngSwitchCase",a.DisplayMode.SHOW),z(1),C("ngSwitchCase",a.DisplayMode.COLLAPSE))},Xxa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},Yxa=function(a,b){a&1&&(H(0),F(1,"b-plain-format-section",2),I());a&2&&(a=b.$implicit,z(1),C("section",a))},Zxa=function(a){a&1&&F(0,"b-plain-format-quoted-section",1);a&2&&(a=L(),C("section",a.section))},$xa=function(a){a&1&&F(0,"b-plain-format-unquoted-section",1);a&2&&(a=L(),C("section",
a.section))},bya=function(a){if(a&1){var b=t();D(0,"a",4);K("click",function(){v(b);var c=L();c.showQuote=!0;aya(c);return w()});P(1," - Show quoted text - ");E()}a&2&&(a=L(),dg("aria-controls",a.childId))},cya=function(a){if(a&1){var b=t();D(0,"a",5);K("click",function(){v(b);var c=L();c.showQuote=!1;aya(c);return w()});P(1," - Hide quoted text - ");E()}a&2&&(a=L(),dg("aria-controls",a.childId))},dya=function(a,b){a&1&&(H(0),F(1,"b-literal-format-presenter",1),I());a&2&&(a=b.ngIf,z(1),C("content",
a))},eya=function(a,b){a&1&&(H(0),F(1,"b-markdown-format-presenter",1),I());a&2&&(a=b.ngIf,z(1),C("content",a))},fya=function(a,b){a&1&&(H(0),F(1,"b-plain-format-presenter",1),I());a&2&&(a=b.ngIf,z(1),C("content",a))},gya=function(a){switch(a.formattingMode){case "LITERAL":return(0,T.of)(kqa(a.comment));case "MARKDOWN":var b=new ll,c=new Gp,d=Tpa(Sh(""));c.setContent(d);am(b,2,bm,c);return(0,T.of)(b);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return b=new ll,c=new Hp,d=new Ip,a=Tpa(Sh(a.comment)),
d.setContent(a),Jp(c,1,Ip,d),am(b,1,bm,c),(0,T.of)(b);default:return Qi(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},hya=function(a,b){a&1&&(H(0),D(1,"div",1),F(2,"b-formatted-comment-presenter",2),E(),I());a&2&&(a=b.$implicit,b=L(),z(1),pg("invisible",""===(b.comment||"").trim())("error",a.isFallback),z(1),C("formattedComment",a.formattedComment))},iya=function(a){a&1&&F(0,"b-formatted-comment-presenter",4);a&2&&(a=L(),C("formattedComment",a.note.formattedComment))},jya=function(a){a&
1&&F(0,"b-live-preview",5);a&2&&(a=L(),C("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},kya=function(a){a&1&&tg(0)},lya=function(a){if(a&1){var b=t();D(0,"div",3);K("mouseenter",function(){v(b);var c=L();return w(c.toggle(!0))})("mouseleave",function(){v(b);var c=L();return w(c.toggle(!1))})("mousemove",function(){v(b);L().activity.next();return w()});O(1,kya,1,0,"ng-container",
4);E()}a&2&&(a=L(),C("ngClass",a.bubbleStyle)("@fade",void 0),z(1),C("ngTemplateOutlet",a.panelTemplate))},mya=function(a){a&1&&(H(0),D(1,"span",3),P(2),R(3,"toAccessLevelLabel"),E(),I());a&2&&(a=L(2),z(1),pg("xs",a.compactMode),C("ngClass",a.chipClass),z(1),Q(" ",Jg(3,4,a.accessLevel,a.compactMode)," "))},nya=function(a){a&1&&(D(0,"div",7),P(1),D(2,"a",8),P(3," Learn more"),E()());a&2&&(a=L(3),z(1),Q(" ",a.bubbleText," "),z(1),C("href",Kp(a.documentationLinks),ue))},oya=function(a){a&1&&(D(0,"xap-bubble",
4)(1,"span",5),P(2),R(3,"toAccessLevelLabel"),E(),O(4,nya,4,2,"ng-template",null,6,$g),E());if(a&2){var b=N(5);a=L(2);C("panelTemplate",b);z(1);pg("xs",a.compactMode);C("ngClass",a.chipClass);z(1);Q(" ",Jg(3,5,a.accessLevel,a.compactMode)," ")}},pya=function(a){a&1&&(H(0),O(1,mya,4,7,"ng-container",1),O(2,oya,6,8,"ng-template",null,2,$g),I());if(a&2){var b=N(3);a=L();z(1);C("ngIf",a.labelOnlyMode)("ngIfElse",b)}},qya=function(a,b){a&1&&(H(0),D(1,"time",1),R(2,"async"),P(3),E(),I());if(a&2){a=b.ngIf;
b=L();z(1);var c=eg(t(),"padding-left: ",b.paddingLeftPx,"px");gia(eia,fia,c,!1);C("title",a.title);dg("datetime",S(2,6,b.timestampIso$));z(2);Bg(a.formatted)}},rya=function(a){a&1&&(H(0),P(1,"Un-"),I())},sya=function(a,b){a&1&&(D(0,"div",1),yd(),D(1,"svg",2)(2,"g"),F(3,"path",3),E()(),zd(),D(4,"span",4),P(5),E()());a&2&&(a=b.ngIf,dg("aria-label",a)("title",a),z(5),Bg(a))},tya=function(a){a&1&&F(0,"waldo-availability-chip",1);a&2&&(a=L(),C("user",a.user),dg("coinonly",a.coinonly))},uya=function(a){a&
1&&(H(0),F(1,"b-availability-chip",3),I());a&2&&(a=L(2).ngIf,z(1),C("user",a.email))},vya=function(a){a&1&&(H(0),P(1),I(),O(2,uya,2,1,"ng-container",0));if(a&2){a=L().ngIf;var b=L();z(1);Bg(a.content);z(1);C("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},wya=function(a){a&1&&tg(0)},xya=function(a){a&1&&(H(0),D(1,"span",4),O(2,wya,1,0,"ng-container",5),E(),D(3,"onedev-hovercard",null,6),F(5,"b-issue-person-card",7),E(),I());if(a&2){var b=N(4);a=L().ngIf;var c=N(2),d=L();z(1);C("onedevHovercardTrigger",
b);dg("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);z(1);C("ngTemplateOutlet",c);z(3);C("email",a.email)}},yya=function(a,b){a&1&&(H(0),O(1,vya,3,2,"ng-template",null,1,$g),O(3,xya,6,4,"ng-container",2),I());if(a&2){a=b.ngIf;var c=N(2);b=L();z(3);C("ngIf",b.hovercardEnabled&&b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},zya=function(a){a&1&&F(0,"b-user-display-name",2);a&2&&(a=L(),C("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",
a.hovercardFocusEnabled))},Aya=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L(),z(1),Bg(a.getDisplayString()))},Bya=function(a){a&1&&(D(0,"span"),P(1," Assigned to "),F(2,"b-user-display",16),E());a&2&&(a=L(2).ngIf,z(2),C("model",a.assigneeUser)("hovercardEnabled",!1))},Cya=function(a){a&1&&(D(0,"span"),P(1," Accepted by "),F(2,"b-user-display",16),E());a&2&&(a=L(2).ngIf,z(2),C("model",a.assigneeUser)("hovercardEnabled",!1))},Dya=function(a){a&1&&(D(0,"span"),P(1," Duplicate of "),D(2,"a",3),P(3),
E()());if(a&2){a=L(2).ngIf;var b=L(),c;z(2);fg("aria-label","Go to issue ",a.duplicateOfIssueId,"");C("href",b.editIssue(null!==(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),ue);z(1);Q(" ",a.duplicateOfIssueId," ")}},Eya=function(a){a&1&&(D(0,"span"),P(1),E());if(a&2){a=L().ngIf;var b=L(2);z(1);Q(" ",b.STATUS_FULL_TEXT[a]," ")}},Fya=function(a,b){a&1&&(H(0,13),O(1,Bya,3,2,"span",14),O(2,Cya,3,2,"span",14),O(3,Dya,4,3,"span",14),O(4,Eya,2,1,"span",15),I());a&2&&(C("ngSwitch",b.ngIf),z(1),C("ngSwitchCase",
"ASSIGNED"),z(1),C("ngSwitchCase","ACCEPTED"),z(1),C("ngSwitchCase","DUPLICATE"))},Gya=function(a,b){a&1&&(H(0),F(1,"b-app-vote-button",17),I());if(a&2){a=b.ngIf;b=L().ngIf;var c=L(2),d;z(1);C("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&void 0!==d?d:!1)}},Hya=function(a){a&1&&(H(0),O(1,Gya,2,3,"ng-container",1),I());a&2&&(a=L(2),z(1),C("ngIf",a.issue.userData))},Jya=function(a){if(a&1){var b=t();H(0);D(1,"button",18);K("click",function(){v(b);var c=L(2);return w(Iya(c,
c.childContextId))});P(2," Unlink parent ");E();I()}},Kya=function(a,b){a&1&&(D(0,"li"),P(1," Last updated by "),F(2,"b-user-display",16),P(3," on: "),F(4,"b-formatted-date-time",19),E());a&2&&(a=b.ngIf,b=L().ngIf,z(2),C("model",a)("hovercardEnabled",!1),z(2),C("timestamp",b.modifiedTimeMicros/1E3))},Lya=function(a,b){a&1&&(H(0),O(1,Kya,5,3,"li",1),D(2,"li"),P(3," Reported by "),F(4,"b-user-display",16),P(5," on: "),F(6,"b-formatted-date-time",19),E(),I());a&2&&(a=b.ngIf,b=L().ngIf,z(1),C("ngIf",
a.lastModifier),z(3),C("model",b.reporterUser)("hovercardEnabled",!1),z(2),C("timestamp",a.createdTimeMicros/1E3))},Mya=function(a){a&1&&(D(0,"li",20),F(1,"b-note-container",21),E());if(a&2){a=L(2);var b;z(1);C("issueId",a.issueId)("issueAccessLevel",null==a.issue.accessLimit?null:a.issue.accessLimit.accessLevel)("formattingMode",null!==(b=a.firstEvent.formattingMode)&&void 0!==b?b:a.FormattingMode.UNSPECIFIED_FORMATTING_MODE)("note",a.getNote())}},Pya=function(a,b){if(a&1){var c=t();H(0);D(1,"div",
2)(2,"h3")(3,"a",3);P(4);E();P(5," \u00a0 ");D(6,"span",4);P(7);E()();D(8,"ul")(9,"li",5);F(10,"b-access-level-indicator",6);E();D(11,"li",7)(12,"span",8);P(13);E();P(14," \u00a0 ");O(15,Fya,5,4,"ng-container",9);E()();D(16,"div",10)(17,"b-cc-button",11);K("onCc",function(e){v(c);var f=L();f.location&&e&&Lp(f.analytics,f.location+"_"+Mp.ISSUE_CARD,"add","CC");return w()});E();O(18,Hya,2,1,"ng-container",1);O(19,Jya,3,0,"ng-container",1);E();D(20,"ul");O(21,Lya,7,4,"ng-container",1);O(22,Mya,2,4,"li",
12);E()();I()}if(a&2){a=b.ngIf;b=L();var d;z(3);fg("aria-label","Go to issue ",b.issueId,"");C("href",b.editIssue(b.issueId),ue);z(1);Bg(b.issueId);z(3);Bg(a.title);z(3);C("labelOnlyMode",!0)("accessLevel",null==b.issue.accessLimit?null:b.issue.accessLimit.accessLevel);z(2);C("ngClass",b.priorityClass(a.priority));z(1);Bg(b.priority(a.priority));z(2);C("ngIf",a.status);z(2);C("issueId",b.issueId)("ccState",Nya(b,null!==(d=a.ccUsers)&&void 0!==d?d:Fg(15,Oya)));z(1);C("ngIf",b.issue.aggregatedData);
z(1);C("ngIf",b.childContextId);z(2);C("ngIf",b.issue.aggregatedData);z(1);C("ngIf",b.firstEvent.unlinkifiedComment)}},Qya=function(a){a&1&&(D(0,"a",2),F(1,"mat-icon",3),E());a&2&&(a=L(),C("href",a.mdHelpLink,ue)("disableRipple",!0))},Rya=function(){},Uya=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=Sya?Sya:Sya=Tya(a)},Vya=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},Tya=function(a){a=void 0===a?{}:a;var b;return Ze(function(c){if(1==
c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):af(c,Wya(Np(Op("https://apis.google.com/js/api.js")),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("kd");return b.client&&b.client.load?c.jumpTo(3):af(c,Vya(),3)}return c.return(b)})},Xya=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},Zya=function(a,b){b=void 0===b?0:b;var c=a.auth2.getAuthInstance().currentUser.get(),d=c.getAuthResponse(!0);if(d&&d.expires_at-Date.now()<b){if(Yya.has(a))return Yya.get(a);
b=Promise.resolve(c.reloadAuthResponse()).finally(function(){Yya.delete(a)});Yya.set(a,b);return b}return Promise.resolve()},$ya=function(a,b){var c;return a.client.init({apiKey:b.apiKey,clientId:b.clientId,scope:b.scope,discoveryDocs:b.discoveryDocs,hostedDomain:b.hostedDomain,fetchBasicProfile:null!=(c=b.fetchBasicProfile)?c:!0})},aza=function(a,b){if(a&1){var c=t();D(0,"a",8);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.clickSegment.emit(d.name||d.path))});P(1);E()}a&2&&(a=b.$implicit,
C("href",a.path,ue),z(1),Q(" ",a.name||a.path," "))},bza=function(a){a&1&&(H(0),D(1,"button",4),F(2,"mat-icon",5),E(),D(3,"mat-menu",null,6),O(5,aza,2,2,"a",7),E(),I());if(a&2){var b=N(4);a=L();z(1);C("matMenuTriggerFor",b);z(4);C("ngForOf",a.segments)}},cza=function(a){if(a&1){var b=t();D(0,"button",4);K("click",function(){v(b);var c=L();return w(c.toggle())});F(1,"mat-icon",5);E()}a&2&&(a=L(),pg("isClosed",a.isClosed),C("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),dg("aria-label",a.toggleButtonLabel),
z(1),C("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},dza=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},eza=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},fza=function(a,b,c,d){var e=(d=void 0===d?!1:d)?function(f){return c.partially(f)}:function(f){return c.fully(f)};return(new T.Observable(function(f){f.next(e(a));var h=b(function(l){f.next(l[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(Df())},
gza=function(a,b,c){var d=(void 0===c?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};return(0,T.merge)((0,T.of)(void 0),(0,T.fromEvent)(window,"scroll").pipe(Af(500))).pipe(B(function(){return d(a)}),Df())},hza=function(a){a&1&&(D(0,"span",8),P(1),E());a&2&&(a=L(),z(1),Bg(a.placeholder))},iza=function(a){a&1&&(D(0,"span",12),P(1),E());a&2&&(a=L(2),z(1),Bg(a.triggerValue))},jza=function(a){a&1&&xg(0,0,["*ngSwitchCase","true"])},kza=function(a){a&1&&(D(0,"span",9),O(1,iza,2,
1,"span",10),O(2,jza,1,0,"ng-content",11),E());a&2&&(a=L(),C("ngSwitch",!!a.customTrigger),z(2),C("ngSwitchCase",!0))},lza=function(a){if(a&1){var b=t();D(0,"div",13)(1,"div",14,15);K("@transformPanel.done",function(c){v(b);var d=L();return w(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){v(b);var d=L();return w(d._handleKeydown(c))});xg(3,1);E()()}a&2&&(a=L(),C("@transformPanelWrap",void 0),z(1),sg("mat-select-panel ",a._getPanelTheme(),""),og("transform-origin",a._transformOrigin)("font-size",
a._triggerFontSize,"px"),C("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),dg("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},mza=function(a){var b=function(){var c=a.apply(this,[].concat(p(bd.apply(0,arguments))))||this;c._fitToContent=!1;return c};X(b,a);b.prototype.ngOnInit=function(){this._createInkBarElement()};b.prototype.ngOnDestroy=function(){var c;null==(c=this._inkBarElement)||
c.remove();this._inkBarElement=this._inkBarContentElement=null};b.prototype._createInkBarElement=function(){var c=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=c.createElement("span");this._inkBarContentElement=c.createElement("span");this._inkBarElement.className="mdc-tab-indicator";this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline";this._inkBarElement.appendChild(this._inkBarContentElement);this._appendInkBarElement()};
b.prototype._appendInkBarElement=function(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}},nza=function(){},oza=function(){},pza=function(a){a&1&&xg(0)},qza=function(){},rza=function(a){a&1&&O(0,qza,0,0,"ng-template",10);a&2&&(a=L().$implicit,C("cdkPortalOutlet",a.templateLabel))},sza=function(a){a&1&&P(0);a&2&&(a=L().$implicit,Bg(a.textLabel))},tza=function(a,b){if(a&1){var c=t();D(0,"div",6);
K("click",function(){var f=v(c),h=f.$implicit;f=f.index;var l=L(),q=N(1);return w(l._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=v(c).index,l=L();return w(l._tabFocusChanged(f,h))});D(1,"div",7);O(2,rza,1,1,"ng-template",8);O(3,sza,1,1,"ng-template",null,9,$g);E()()}if(a&2){a=b.$implicit;b=b.index;var d=N(4),e=L();pg("mat-tab-label-active",e.selectedIndex===b);C("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);dg("tabIndex",
e._getTabIndex(b))("aria-posinset",b+1)("aria-setsize",e._tabs.length)("aria-controls",e._getTabContentId(b))("aria-selected",e.selectedIndex===b)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null);z(2);C("ngIf",a.templateLabel)("ngIfElse",d)}},uza=function(a,b){if(a&1){var c=t();D(0,"mat-tab-body",11);K("_onCentered",function(){v(c);var e=L();return w(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){v(c);var f=L();return w(f._setTabBodyWrapperHeight(e))});
E()}if(a&2){a=b.$implicit;b=b.index;var d=L();pg("mat-tab-body-active",d.selectedIndex===b);C("id",d._getTabContentId(b))("ngClass",a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);dg("tabindex",null!=d.contentTabIndex&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},vza=function(a){a&1&&tg(0)},wza=function(a){a&1&&(H(0),D(1,"span",3),O(2,vza,1,0,"ng-container",
4),E(),D(3,"onedev-hovercard",null,5),F(5,"b-issue-person-card",6),E(),I());if(a&2){var b=N(4);a=L().ngIf;var c=N(3);z(1);C("onedevHovercardTrigger",b);z(1);C("ngTemplateOutlet",c);z(3);C("email",a.email)}},yza=function(a){a&1&&(H(0),F(1,"img",8),I());a&2&&(a=L(2).ngIf,L(),z(1),C("src",xza[a.email],ue))},zza=function(a){a&1&&F(0,"img",11);a&2&&(a=L(3).ngIf,C("src",a.src,ue)("srcset",a.srcset))},Aza=function(a){a&1&&(D(0,"span",9),O(1,zza,1,2,"img",10),E());a&2&&(a=L(2).ngIf,pg("anonymous",!a.showImage),
z(1),C("ngIf",a.showImage))},Cza=function(a){a&1&&(O(0,yza,2,1,"ng-container",0),O(1,Aza,2,3,"span",7));if(a&2){a=L().ngIf;var b=L();C("ngIf",a.email&&Bza(b,a.email));z(1);C("ngIf",!Bza(b,a.email))}},Dza=function(a,b){a&1&&(H(0),O(1,wza,6,3,"ng-container",1),O(2,Cza,2,2,"ng-template",null,2,$g),I());if(a&2){a=b.ngIf;var c=N(3);b=L();z(1);C("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},Eza=function(a){a&1&&F(0,"b-user-image",5);a&2&&(a=L(),C("email",a.email))},Fza=function(a){a&1&&tg(0)},
Gza=function(a){a&1&&(H(0),D(1,"span",6),O(2,Fza,1,0,"ng-container",7),E(),D(3,"onedev-hovercard",null,8),F(5,"b-issue-person-card",9),E(),I());if(a&2){var b=N(4);a=L();var c=N(4);z(1);C("onedevHovercardTrigger",b);z(1);C("ngTemplateOutlet",c);z(3);C("email",a.email)}},Hza=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L(),z(1),Bg(a.email))},Iza=function(a){a&1&&(D(0,"span",10),F(1,"b-availability-chip",11),E());a&2&&(a=L(),z(1),C("user",a.email))},Jza=function(a){a&1&&F(0,"b-user-image",6);a&2&&
(a=L(),C("email",a.email))},Kza=function(a){a&1&&F(0,"b-user-display-name",7);a&2&&(a=L(),C("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},Lza=function(a){a&1&&tg(0)},Mza=function(a){a&1&&(H(0),D(1,"span",10),O(2,Lza,1,0,"ng-container",11),E(),D(3,"onedev-hovercard",null,12),F(5,"b-issue-person-card",13),E(),I());if(a&2){var b=N(4);L();var c=N(2);a=L();z(1);C("onedevHovercardTrigger",b);z(1);C("ngTemplateOutlet",c);z(3);C("email",a.email)}},Nza=function(a){a&1&&(D(0,
"span",14),P(1),E());a&2&&(a=L(2),z(1),Bg(a.email))},Oza=function(a){a&1&&(O(0,Mza,6,3,"ng-container",8),O(1,Nza,2,1,"ng-template",null,9,$g));if(a&2){var b=N(2);a=L();C("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},Pza=function(a){a&1&&(F(0,"mat-icon",15),R(1,"async"),R(2,"async"));if(a&2){a=L();var b,c;C("svgIcon",null!==(b=S(1,2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==(c=S(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},Qza=function(a){a&1&&(H(0),F(1,"b-availability-chip",16),I());
a&2&&(a=L(),z(1),C("user",a.email))},Rza=function(a){a&1&&(yd(),D(0,"svg",11),F(1,"circle",12),E());a&2&&(a=L(),dg("viewBox",a._viewBox()),z(1),og("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),dg("r",a._circleRadius()))},Sza=function(){return{diameter:100}},Tza=function(a){a&1&&(yd(),F(0,"circle",4));if(a&2){a=L();var b=N(1);og("animation-name","mat-progress-spinner-stroke-rotate-"+a._spinnerAnimationLabel)("stroke-dashoffset",
a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));dg("r",a._getCircleRadius())}},Uza=function(a){a&1&&(yd(),F(0,"circle",4));if(a&2){a=L();var b=N(1);og("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));dg("r",a._getCircleRadius())}},
Vza=function(a){a&1&&F(0,"mat-spinner",2);a&2&&C("diameter",36)},Wza=function(a){a&1&&F(0,"mat-spinner",3);a&2&&C("diameter",16)("strokeWidth",2)},Xza=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}},Yza=function(a,b){a&1&&(D(0,"div",0,1),xg(2),E());a&2&&(a=b.id,b=L(),C("id",b.id)("ngClass",b._classList),dg("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},Zza=function(a){a&1&&(D(0,"div")(1,"div",9),P(2," An issue cannot reference itself. "),
E()())},$za=function(a){a&1&&(D(0,"mat-option",10)(1,"div",11),F(2,"b-spinner",12),E()());a&2&&(z(2),C("large",!0))},aAa=function(a){a&1&&(D(0,"mat-option",13),P(1," No issues found. "),E())},bAa=function(a){a&1&&F(0,"mat-icon",24);if(a&2){a=L().$implicit;var b=L();C("svgIcon",b.STATUS_ICON[a.status])}},cAa=function(a){a&1&&F(0,"b-issue-card",25,26);if(a&2){var b=N(1);a=L().$implicit;C("onedevIsHovercardReady",b.init)("issueId",a.resourceId)}},eAa=function(a,b){a&1&&(D(0,"mat-option",14)(1,"div",
15),O(2,bAa,1,1,"mat-icon",16),D(3,"strong",17),P(4),E(),D(5,"onedev-hovercard",null,18),O(7,cAa,2,2,"b-issue-card",19),E(),D(8,"a",20),K("click",function(d){return d.stopPropagation()}),F(9,"mat-icon",21),E(),D(10,"span",22),P(11),E(),F(12,"div",23),R(13,"boldPrefixMatches"),E()());if(a&2){a=b.$implicit;var c=N(6);b=L();C("value",a);z(1);dg("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");z(1);C("ngIf",a.status);z(1);zg("title",a.resourceId);
z(1);Q(" ",a.resourceId," ");z(4);C("onedevHovercardTrigger",c)("href",b.getIssueLink(a),ue);z(3);Bg(dAa(a));z(1);zg("title",a.displayText);C("innerHTML",Jg(13,10,a.displayText,b.query),te)}},fAa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},gAa=function(a,b){var c;b=null!=(c=null==b?void 0:b.split(","))?c:[];a.clear();c=m(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},hAa=function(a){if(!a)return{left:"0",width:"0"};if(a.classList.contains("mat-tab-link")){var b=
window.getComputedStyle(a),c=b.paddingLeft?Number(b.paddingLeft.replace("px",""))||0:0;b=b.paddingRight?Number(b.paddingRight.replace("px",""))||0:0;return{left:a.offsetLeft+c+2+"px",width:a.offsetWidth-c-b-4+"px"}}b=a.querySelector(".mat-tab-label-content");if(!b)return{left:a.offsetLeft+2+"px",width:a.offsetWidth-4+"px"};c=a.offsetWidth;b=Math.min(Math.max(b.offsetWidth-4,24),c-4);return{left:a.offsetLeft+c/2-b/2+"px",width:b+"px"}},iAa=function(){},jAa=function(a){a&1&&O(0,iAa,0,0,"ng-template")},
kAa=function(a,b){a&1&&(H(0),O(1,jAa,1,0,null,12),I());if(a&2){a=b.$implicit;L(2);var c=N(12);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,Pp,a))}},lAa=function(a){if(a&1){var b=t();D(0,"p",13)(1,"a",14);K("click",function(){v(b);var c=L(2);return w(c.onCancel.emit())});P(2,"See all recent issues...");E()()}},mAa=function(a,b){a&1&&(H(0),O(1,kAa,2,4,"ng-container",10),O(2,lAa,3,0,"p",11),I());a&2&&(a=b.$implicit,z(1),C("ngForOf",a),z(1),C("ngIf",0<a.length))},nAa=function(a){a&1&&(D(0,
"h3",18),P(1," Buganizer "),D(2,"span",19),P(3,"(Your Team)"),E()())},oAa=function(){},pAa=function(a){a&1&&O(0,oAa,0,0,"ng-template")},qAa=function(a,b){a&1&&(H(0),O(1,pAa,1,0,null,12),I());if(a&2){a=b.$implicit;L(3);var c=N(12);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,Pp,a))}},rAa=function(a,b){a&1&&(D(0,"section",20),O(1,qAa,2,4,"ng-container",10),E());a&2&&(a=b.$implicit,z(1),C("ngForOf",a))},sAa=function(a,b){if(a&1){var c=t();H(0);P(1);D(2,"span",19);P(3,"(This Issue's ");
D(4,"a",22);K("click",function(){v(c);var d=L(3);return w(d.onCancel.emit())});P(5,"Component");E();P(6,")");E();I()}a&2&&(a=b.$implicit,b=L(3),z(1),Q(" ",a.name," "),z(3),C("routerLinkObj",b.viewIssues(a.componentId)))},tAa=function(a){a&1&&(D(0,"h3",18),O(1,sAa,7,2,"ng-container",21),R(2,"async"),E());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.contextComponent$)))},uAa=function(){},vAa=function(a){a&1&&O(0,uAa,0,0,"ng-template")},wAa=function(a,b){a&1&&(H(0),O(1,vAa,1,0,null,12),I());if(a&2){a=b.$implicit;
L(3);var c=N(12);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,Pp,a))}},xAa=function(a,b){a&1&&(D(0,"section",20),O(1,wAa,2,4,"ng-container",10),E());a&2&&(a=b.$implicit,z(1),C("ngForOf",a))},yAa=function(){},zAa=function(a){a&1&&O(0,yAa,0,0,"ng-template")},AAa=function(a,b){a&1&&(H(0),O(1,zAa,1,0,null,12),I());if(a&2){a=b.$implicit;L(3);var c=N(12);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,Pp,a))}},BAa=function(a){a&1&&(D(0,"p",24),P(1,"No results."),E())},CAa=function(a,
b){a&1&&(D(0,"section",20),O(1,AAa,2,4,"ng-container",10),O(2,BAa,2,0,"p",23),E());a&2&&(a=b.$implicit,z(1),C("ngForOf",a),z(1),C("ngIf",0===a.length))},DAa=function(a){a&1&&(D(0,"mat-tab",15),O(1,nAa,4,0,"h3",16),R(2,"async"),O(3,rAa,2,1,"section",17),R(4,"async"),O(5,tAa,3,3,"h3",16),R(6,"async"),O(7,xAa,2,1,"section",17),R(8,"async"),D(9,"h3",18),P(10," All Issues "),E(),O(11,CAa,3,2,"section",17),R(12,"async"),E());if(a&2){a=L();var b=N(14),c,d;z(1);C("ngIf",0!==(null==(c=S(2,8,a.myTeamResults$))?
null:c.length));z(2);C("ngIf",S(4,10,a.myTeamResults$))("ngIfElse",b);z(2);C("ngIf",0!==(null==(d=S(6,12,a.triggerComponentResults$))?null:d.length));z(2);C("ngIf",S(8,14,a.triggerComponentResults$))("ngIfElse",b);z(4);C("ngIf",S(12,16,a.globalSearchResults$))("ngIfElse",b)}},EAa=function(){},FAa=function(a){a&1&&O(0,EAa,0,0,"ng-template")},GAa=function(a,b){a&1&&(H(0),O(1,FAa,1,0,null,12),I());if(a&2){a=b.$implicit;L(3);var c=N(12);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,Pp,a))}},
HAa=function(a,b){a&1&&(D(0,"section",20),O(1,GAa,2,4,"ng-container",10),E());a&2&&(a=b.$implicit,z(1),C("ngForOf",a))},IAa=function(a){a&1&&(D(0,"mat-tab",25)(1,"h3",18),P(2," Exact ID Matches "),E(),O(3,HAa,2,1,"section",17),R(4,"async"),E());if(a&2){a=L();var b=N(14);z(3);C("ngIf",S(4,2,a.exactIdMatches$))("ngIfElse",b)}},JAa=function(a){a&1&&F(0,"b-issue-card",36,37);if(a&2){var b=N(1);a=L().$implicit;C("onedevIsHovercardReady",b.init)("issueId",a.issueId)}},KAa=function(a){a&1&&(D(0,"span",38),
P(1),E());a&2&&(a=L().$implicit,z(1),Q("(",null==a.aggregatedData?null:a.aggregatedData.voteCount," Votes)"))},LAa=function(a){a&1&&(D(0,"span",38),P(1),E());a&2&&(a=L().$implicit,z(1),Q("(",null==a?null:null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length," Duplicates)"))},MAa=function(a,b){a&1&&(D(0,"span"),P(1),E());a&2&&(a=b.$implicit,b=L(2),sg("chippy status-",a,""),z(1),Q(" ",b.STATUS_TERSE[a]," "))},OAa=function(a,b){if(a&1){var c=t();D(0,"onedev-hovercard",null,
26);O(2,JAa,2,2,"b-issue-card",27);E();D(3,"div",28);K("click",function(){var e=v(c).$implicit,f=L();NAa(f,e);return w()});D(4,"span",29)(5,"mat-checkbox",30);K("click",function(e){return e.stopPropagation()})("change",function(){var e=v(c).$implicit,f=L();return w(NAa(f,e))});E();D(6,"span");P(7);E();D(8,"span",31);P(9);E()();D(10,"span")(11,"a",32);K("click",function(){var e=v(c).$implicit,f=L();f.selectedIds.clear();f.selectedIds.add(e.issueId);f.onSelect.emit([{resourceId:e.issueId,displayText:e.snapshot[0].title,
status:e.snapshot[0].status,relations:[]}]);f.onSave.emit();return w()});P(12);E();O(13,KAa,2,1,"span",33);O(14,LAa,2,1,"span",33);E();D(15,"span",34);O(16,MAa,2,4,"span",35);E()()}if(a&2){a=b.$implicit;var d=N(1);b=L();z(5);C("checked",b.selectedIds.has(a.issueId));z(1);sg("p-chip priority-",b.getPriorityTag(a)," margin-s-right");z(1);Q(" ",a.snapshot[0].priority," ");z(2);Bg(a.issueId);z(2);C("onedevHovercardTrigger",d);z(1);Bg(a.snapshot[0].title);z(1);C("ngIf",b.shouldShowVotes(a));z(1);C("ngIf",
b.shouldShowDupes(a));z(2);C("ngIf",b.shouldShowStatus(a)&&b.getStatusTag(a))}},PAa=function(a){a&1&&(D(0,"p",24),P(1,"Loading..."),E())},QAa=function(a){return{resourceId:a,displayText:String(a),status:null,relations:[]}},RAa=function(a){return a.split(/[\s,]/g).map(function(b){return b.trim()}).filter(function(b){return 4<=b.length}).filter(function(b){return b.match(/^[0-9]+$/)})},SAa=function(a,b){a&1&&(H(0),P(1),I());a&2&&(a=b.$implicit,b=b.last,z(1),Cg(" ",a.resourceId,"",b?"":","," "))},TAa=
function(a){a&1&&(D(0,"span",8),O(1,SAa,2,2,"ng-container",9),E());a&2&&(a=L(),z(1),C("ngForOf",a.selectedIssues))},VAa=function(a){if(a&1){var b=t();H(0);D(1,"issue-picker-assistive",10);K("onSelect",function(c){v(b);L().selectedIssues=c;return w()})("onCancel",function(){v(b);var c=L();return w(c.onPressCancel())})("onSave",function(){v(b);var c=L();return w(UAa(c))});R(2,"async");E();I()}a&2&&(a=L(),z(1),C("contextIssueId",S(2,2,a.issueId$))("supportMultiSelect",a.data.allowMultipleIds))},WAa=
function(a,b){a&1&&(D(0,"a",19),P(1),E());a&2&&(a=b.$implicit,b=b.last,yg("href","issues/",a.resourceId,"",ue),z(1),Cg(" ",a.resourceId,"",b?"":","," "))},XAa=function(a){a&1&&(D(0,"div",17),O(1,WAa,2,3,"a",18),E());a&2&&(a=L(2),z(1),C("ngForOf",a.selectedIssues))},YAa=function(a){a&1&&(D(0,"div",17)(1,"a",20)(2,"span",21),P(3),E(),D(4,"span"),F(5,"mat-icon",22),E()()());a&2&&(a=L(2),z(1),yg("href","issues/",a.selectedIssues[0].resourceId,"",ue),z(2),Q(" ",a.selectedIssues[0].displayText," "))},$Aa=
function(a){if(a&1){var b=t();D(0,"div",23)(1,"div",24);K("click",function(){v(b);var c=L(2);return w(ZAa(c))})("keyup.space",function(){v(b);var c=L(2);return w(ZAa(c))});E()()}a&2&&(a=L(2),z(1),C("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),dg("aria-checked",a.isQueryRestricted))},aBa=function(a){if(a&1){var b=t();D(0,"div",11);O(1,XAa,2,1,"div",12);O(2,YAa,6,2,"div",12);E();D(3,"div",13)(4,"div",14);O(5,$Aa,2,2,"div",15);D(6,
"b-issue-picker",16);K("keydown.enter",function(){v(b);var c=L();return w(c.onEnter())})("entrySelect",function(c){v(b);L().selectedIssues=c;return w()})("queryChange",function(c){v(b);var d=L();return w(d.onQueryChange(c))});E()()()}a&2&&(a=L(),z(1),C("ngIf",1<a.selectedIssues.length),z(1),C("ngIf",1===a.selectedIssues.length),z(3),C("ngIf",!!a.queryRestriction),z(1),pg("bv2-rel-issue-issue-picker-full-width",!!a.queryRestriction),C("defaultChoices",a.data.defaultChoices)("enableAsyncSearch",!0)("currentResourceId",
a.data.currentResourceId)("currentResourceType",a.data.currentResourceType)("allowMultipleIds",a.data.allowMultipleIds))},cBa=function(a,b){return!!Qp(b,"enableAssistiveIssuePickers")&&!bBa&&0===(a.defaultChoices||[]).length},dBa=function(a,b){return[].concat(p(b)).map(function(c){return Rp[c]}).every(function(c){return c.check(a)})},eBa=function(a){return!!Rp[a]},Sp=function(a,b){return a===b?!0:(null==a?void 0:a.type)===(null==b?void 0:b.type)&&!(null==a||!a.ancestorChain.equals(null==b?void 0:
b.ancestorChain))},Tp=function(a){var b=Object.keys(a);return Promise.all(Object.values(a)).then(function(c){return Object.fromEntries(b.map(function(d,e){return[d,c[e]]}))})},Up=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},fBa=function(a){a&1&&xg(0)},gBa=function(a){a&1&&tg(0)},hBa=function(a){if(a&1){var b=t();D(0,"button",7,8);K("click",function(e){v(b);var f=L();return w(f.onClick(e))});O(2,gBa,1,0,"ng-container",9);E()}if(a&2){a=L();var c=N(1),d;C("color",
a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");dg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);C("ngTemplateOutlet",c)}},iBa=function(a){a&1&&tg(0)},jBa=function(a){if(a&1){var b=t();D(0,"button",10,8);K("click",function(e){v(b);var f=L();return w(f.onClick(e))});O(2,iBa,1,0,"ng-container",9);E()}if(a&2){a=L();var c=N(1),d;C("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==
d?d:"");dg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);C("ngTemplateOutlet",c)}},kBa=function(a){a&1&&tg(0)},lBa=function(a){if(a&1){var b=t();D(0,"button",11,8);K("click",function(e){v(b);var f=L();return w(f.onClick(e))});O(2,kBa,1,0,"ng-container",9);E()}if(a&2){a=L();var c=N(1),d;C("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");dg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);C("ngTemplateOutlet",
c)}},mBa=function(a){a&1&&tg(0)},nBa=function(a){if(a&1){var b=t();D(0,"button",12,8);K("click",function(e){v(b);var f=L();return w(f.onClick(e))});O(2,mBa,1,0,"ng-container",9);E()}if(a&2){a=L();var c=N(1),d;C("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");dg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);C("ngTemplateOutlet",c)}},oBa=function(a){a&1&&tg(0)},pBa=function(a){if(a&1){var b=t();D(0,"button",7,8);K("click",
function(e){v(b);var f=L();return w(f.onClick(e))});O(2,oBa,1,0,"ng-container",9);E()}if(a&2){a=L();var c=N(1),d;C("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");dg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);C("ngTemplateOutlet",c)}},qBa=function(a){switch(a){case 0:return"Row moved up";case 1:return"Row moved down";case 2:return"Row indented";case 3:return"Row unindented";case 4:return"Row moved";default:Qi(a)}},
sBa=function(a,b){var c=function(){return{position:d,rowElement:b}};if(b.classList.contains("dragging")||b.classList.contains("nodrop")||b.classList.contains("mat-header-row")){var d="none";return c()}var e=rBa(b),f=b.nextElementSibling&&rBa(b.nextElementSibling),h=b.previousElementSibling&&rBa(b.previousElementSibling);if("top"===a){var l;if((null==(l=b.previousElementSibling)?0:l.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if("bottom"===a){if(null!=f&&e<f){var q;
if(null==(q=b.nextElementSibling)?0:q.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;d="before";return c()}var u;if((null==(u=b.nextElementSibling)?0:u.classList.contains("dragging"))&&e===f)return d="none",c();d="after";return c()}d="current";return c()},rBa=function(a){return Number(a.dataset.level)},tBa=function(a){var b;return Vp(null!=(b=a.dataset.ancestorchain)?b:"")},uBa=function(a){a&1&&(H(0),P(1," Trackers are distinct communities with their own branding. "),I())},
vBa=function(a){a&1&&(D(0,"a",12),P(1,"Learn More"),E())},wBa=function(a){a&1&&(H(0),D(1,"button",1),F(2,"img",2)(3,"img",3),D(4,"span",4),P(5),E()(),D(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",7)(10,"span",8),P(11),O(12,uBa,2,0,"ng-container",0),E(),D(13,"div",9)(14,"a",10),P(15),E(),O(16,vBa,2,0,"a",11),E()()()(),I());if(a&2){var b=N(7);a=L();z(1);pg("xs",a.compactMode);C("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);z(1);C("src",a.logoLight,ue);z(1);C("src",a.logoDark,
ue);z(2);Bg(a.name);z(6);Q(" This component or issue is part of ",a.extendedName,". ");z(1);C("ngIf",!a.isGlobalBuganizer);z(2);C("href",a.redirectUrl,ue);z(1);Q("View ",a.extendedName,"");z(1);C("ngIf",!a.isGlobalBuganizer)}},xBa=function(a){a&1&&(F(0,"b-tracker-chip",1),R(1,"async"));a&2&&(a=L(),C("tracker",S(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},yBa=function(a){a&1&&F(0,"div",2)},zBa=function(a){a&1&&(H(0),
xg(1),I())},ABa=function(a){if(a&1){var b=t();D(0,"button",4);K("click",function(c){v(b);L().expansionChange.emit();c.stopPropagation();return w()});F(1,"b-icon",5);E()}a&2&&(a=L(),pg("collapsed",!a.expanded),dg("aria-label",a.expanded?"Collapse children":"Expand children"))},BBa=function(a){a&1&&F(0,"div",6)},CBa=function(a){a&1&&(D(0,"b-person-hovercard",3),P(1),E());a&2&&(a=L(),C("email",a.assignee),z(1),Q(" ",a.assignee," "))},DBa=function(a){a&1&&P(0,"--")},EBa=function(a){return a instanceof
Wp?a:new Wp(a,{})},Xp=function(a){a=EBa(a);return new Wp(a.char,Object.assign({},a.modifiers,{shift:!0}))},FBa=function(a){a=EBa(a);return new Wp(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},GBa=function(){var a=Xp("f");a=EBa(a);return new Wp(a.char,Object.assign({},a.modifiers,{alt:!0}))},IBa=function(a){if(a instanceof Wp){var b=HBa(a.char);a.modifiers.ctrl&&(b="ctrl+"+b);a.modifiers.alt&&(b="alt+"+b);a.modifiers.shift&&(b="shift+"+b);return b}return a instanceof Array?a.map(IBa).join(" "):
HBa(a)},Yp=function(){return bd.apply(0,arguments)},HBa=function(a){switch(a){case "a":case "b":case "c":case "d":case "e":case "f":case "g":case "h":case "i":case "j":case "k":case "l":case "m":case "n":case "o":case "p":case "q":case "r":case "s":case "t":case "u":case "v":case "w":case "x":case "y":case "z":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":case "0":case "/":case "*":case ".":case "<":case ">":case "?":return a;case "F1":return"f1";case "F3":return"f3";
case "DOWN":return"down";case "UP":return"up";case "RIGHT":return"right";case "LEFT":return"left";case "SPACE":return"space";case "ENTER":return"enter";default:return Qi(a)}},JBa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},KBa=function(a){if(a&1){var b=t();D(0,"div",0);K("keydown",function(c){v(b);var d=L();return w(d.processKeydown(c))});xg(1);E()}a&2&&(a=L(),qg(a.className),dg("id",a.id))},LBa=function(a){a&1&&F(0,"mat-icon",3)},MBa=function(a){a&1&&(D(0,"span",25),P(1),
E());a&2&&(a=L(3),z(1),Bg(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},NBa=function(a){a&1&&(D(0,"span",25),P(1),E());a&2&&(a=L(4),z(1),Bg(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},OBa=function(a){if(a&1){var b=t();D(0,"div",11)(1,"label",12);P(2,"Issue shortlink");E();D(3,"input",26,27);K("onHotkey",function(){v(b);var d=N(4),e=L(3);return w(Zp(e,d))})("focus",function(){v(b);var d=N(4);return w(d.select())});E();O(5,NBa,2,1,"span",15);D(6,"button",28);K("onHotkey",function(){v(b);var d=N(4),e=L(3);return w(Zp(e,
d))})("click",function(){v(b);var d=N(4),e=L(3);return w(Zp(e,d))});F(7,"mat-icon",17);E()()}if(a&2){var c=N(4);a=L(3);z(1);C("htmlFor",c.id);z(2);C("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys);dg("value",a.getAppBaseUrl().replace(/^.*?:\/\//,""));z(2);C("ngIf",a.enableHotkeys);z(1);C("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},PBa=function(a){a&1&&(D(0,"span",25),P(1),E());a&2&&(a=L(3),z(1),Bg(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},QBa=
function(a){a&1&&(D(0,"span",25),P(1),E());a&2&&(a=L(3),z(1),Bg(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},RBa=function(a){a&1&&(D(0,"span",25),P(1),E());a&2&&(a=L(4),z(1),Bg(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},TBa=function(a){if(a&1){var b=t();D(0,"div",11)(1,"label",12);P(2,"Issue email");E();D(3,"input",29,30);K("onHotkey",function(){v(b);var d=N(4),e=L(3);return w(Zp(e,d))})("focus",function(){v(b);var d=N(4);return w(d.select())});E();O(5,RBa,2,1,"span",15);D(6,"button",31);K("onHotkey",
function(){v(b);var d=N(4),e=L(3);return w(Zp(e,d))})("click",function(){v(b);var d=N(4),e=L(3);return w(Zp(e,d))});F(7,"mat-icon",17);E()()}if(a&2){var c=N(4);a=L(3);z(1);C("htmlFor",c.id);z(2);C("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys);dg("value","buganizer-system"+(SBa(a.activeSession)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");z(2);C("ngIf",a.enableHotkeys);z(1);C("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys)}},
UBa=function(a){a&1&&(D(0,"span",25),P(1),E());a&2&&(a=L(4),z(1),Bg(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},VBa=function(a){if(a&1){var b=t();D(0,"div",11)(1,"label",12);P(2,"TODO comment");E();D(3,"input",32,33);K("onHotkey",function(){v(b);var d=N(4),e=L(3);return w(Zp(e,d))})("focus",function(){v(b);var d=N(4);return w(d.select())});E();O(5,UBa,2,1,"span",15);D(6,"button",34);K("onHotkey",function(){v(b);var d=N(4),e=L(3);return w(Zp(e,d))})("click",function(){v(b);var d=N(4),e=L(3);return w(Zp(e,
d))});F(7,"mat-icon",17);E()()}if(a&2){var c=N(4);a=L(3);z(1);C("htmlFor",c.id);z(2);C("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);dg("value","TODO("+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+"): "+a.issueTitle);z(2);C("ngIf",a.enableHotkeys);z(1);C("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},WBa=function(a){if(a&1){var b=t();D(0,"div",10)(1,"div",11)(2,"label",12);P(3,"Issue ID");E();D(4,"input",13,14);K("onHotkey",function(){v(b);var f=N(5),h=
L(2);return w(Zp(h,f))})("focus",function(){v(b);var f=N(5);return w(f.select())});E();O(6,MBa,2,1,"span",15);D(7,"button",16);K("onHotkey",function(){v(b);var f=N(5),h=L(2);return w(Zp(h,f))})("click",function(){v(b);var f=N(5),h=L(2);return w(Zp(h,f))});F(8,"mat-icon",17);E()();O(9,OBa,8,7,"div",18);D(10,"div",11)(11,"label",12);P(12,"Issue URL");E();D(13,"input",19,20);K("onHotkey",function(){v(b);var f=N(14),h=L(2);return w(Zp(h,f))})("focus",function(){v(b);var f=N(14);return w(f.select())});
E();O(15,PBa,2,1,"span",15);D(16,"button",21);K("onHotkey",function(){v(b);var f=N(14),h=L(2);return w(Zp(h,f))})("click",function(){v(b);var f=N(14),h=L(2);return w(Zp(h,f))});F(17,"mat-icon",17);E()();D(18,"div",11)(19,"label",12);P(20,"URL and title");E();D(21,"input",22,23);K("onHotkey",function(){v(b);var f=N(22),h=L(2);return w(Zp(h,f))})("focus",function(){v(b);var f=N(22);return w(f.select())});E();O(23,QBa,2,1,"span",15);D(24,"button",24);K("onHotkey",function(){v(b);var f=N(22),h=L(2);return w(Zp(h,
f))})("click",function(){v(b);var f=N(22),h=L(2);return w(Zp(h,f))});F(25,"mat-icon",17);E()();O(26,TBa,8,7,"div",18);O(27,VBa,8,7,"div",18);E()}if(a&2){var c=N(5),d=N(14),e=N(22);a=L(2);C("cdkTrapFocusAutoCapture",!0);z(2);C("htmlFor",c.id);z(2);C("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);dg("value",a.issueId);z(2);C("ngIf",a.enableHotkeys);z(1);C("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);z(2);C("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);
z(2);C("htmlFor",d.id);z(2);C("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);dg("value",a.getIssueUrl());z(2);C("ngIf",a.enableHotkeys);z(1);C("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);z(3);C("htmlFor",e.id);z(2);C("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);dg("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);z(2);C("ngIf",a.enableHotkeys);z(1);C("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);
z(2);C("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);z(1);C("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},XBa=function(a){if(a&1){var b=t();H(0);D(1,"button",4,5);K("onHotkey",function(){v(b);var d=L();d.disabled||d.trigger.open();return w()})("onedevPopupPanelTriggerOpened",function(){v(b);var d=L();return w(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){v(b);var d=L();return w(d.isOpen=!1)})("click",function(){v(b);var d=L();d.disabled||
d.trigger.open();return w()});F(3,"mat-icon",6);E();D(4,"onedev-popup-panel",7,8);O(6,WBa,28,25,"div",9);E();I()}if(a&2){var c=N(5);a=L();z(1);C("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);dg("aria-label","Show links for the issue "+a.issueId);z(5);C("ngIf",a.isOpen)}},YBa=function(a){a&1&&F(0,"b-issue-id-picker",2);a&2&&(a=L(),C("issueId",a.id)("showCopyOptions",!1))},ZBa=function(a,b){a&1&&(D(0,"div",3),P(1),E());a&2&&(a=b.$implicit,b=
L(),sg("chippy status-",a,""),C("title",b.STATUS_FULL_TEXT[a]),z(1),Q(" ",b.STATUS_TERSE[a]," "))},$Ba=function(a){a&1&&P(0,"--")},aCa=function(a){if(a&1){var b=t();D(0,"a",15);K("click",function(){v(b);var c=L();return w(c.trackClick("viewTeamAssociationOnComponent"))});D(1,"button",11);P(2,"View team association on component");E()()}a&2&&(a=L(),C("href",a.manageComponentLink(),ue))},bCa=function(a){if(a&1){var b=t();D(0,"a",6);K("click",function(){v(b);var d=L(2);return w(d.trackClick("viewTeamInMoma"))});
D(1,"span");P(2);F(3,"mat-icon",7);E()()}if(a&2){a=L(2);var c=N(3);yg("href","https://moma.corp.google.com/team/",a.teamId,"",ue);C("onedevHovercardTrigger",c);dg("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");z(1);dg("id",a.teamLinkId);z(1);Q("",a.teamName?a.teamName:a.teamId," ")}},cCa=function(a){a&1&&(D(0,"span",8),P(1),E());if(a&2){a=L(2);var b=N(3);C("onedevHovercardTrigger",b);z(1);Bg(a.teamName?a.teamName:a.teamId)}},dCa=
function(a){a&1&&(H(0),O(1,bCa,4,6,"a",4),O(2,cCa,2,2,"span",5),I());a&2&&(a=L(),z(1),C("ngIf",a.anchorLinkEnabled),z(1),C("ngIf",!a.anchorLinkEnabled))},eCa=function(a){a&1&&F(0,"span",11)},fCa=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L(2),z(1),Bg(a.teamNotAssignedMessage))},gCa=function(a){a&1&&(O(0,eCa,1,0,"span",9),O(1,fCa,2,1,"span",10));a&2&&(a=L(),C("ngIf","0"!=a.teamId),z(1),C("ngIf","0"==a.teamId))},hCa=function(a){a&1&&F(0,"b-team-display",3);a&2&&(a=L(),C("teamId",a.teamId)("componentId",
a.componentId)("anchorLinkEnabled",!1))},iCa=function(a){a&1&&P(0,"--")},jCa=function(a){a&1&&(H(0),P(1),R(2,"enumToHuman"),I());a&2&&(a=L(),z(1),Bg(S(2,1,a.type)))},kCa=function(a){a&1&&P(0,"--")},lCa=function(a){a&1&&(D(0,"button",5,6),F(2,"mat-icon",7),E());if(a&2){a=L();var b=N(2);C("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);dg("aria-label",a.buttonLabel);z(2);C("svgIcon",a.buttonIcon)}},mCa=function(a){a&1&&(D(0,"div",8),P(1),E());a&2&&(a=L(),z(1),Bg(a.header))},nCa=function(a){a&1&&
F(0,"mat-icon",7);a&2&&(a=L(2).$implicit,C("svgIcon",a.icon))},oCa=function(a){a&1&&(D(0,"span",14),P(1),E());a&2&&(a=L(2).$implicit,z(1),Bg(a.hintText))},pCa=function(a){a&1&&F(0,"mat-icon",7);a&2&&(a=L(2).$implicit,C("svgIcon",a.icon))},qCa=function(a){a&1&&(D(0,"span",14),P(1),E());a&2&&(a=L(2).$implicit,z(1),Bg(a.hintText))},rCa=function(a){if(a&1){var b=t();D(0,"button",17);K("click",function(d){v(b);var e=L().$implicit,f=L(3);return w(f.onAction(d,e))})("mouseup",function(d){v(b);var e=L().$implicit,
f=L(3);return w(f.onAction(d,e))});O(1,pCa,1,1,"mat-icon",11);P(2);O(3,qCa,2,1,"span",12);E()}if(a&2){a=L().$implicit;var c=L(2).$implicit;C("disabled",a.disabled)("ngClass",c.className);dg("title",a.title);z(1);C("ngIf",a.icon);z(1);Q(" ",a.label," ");z(1);C("ngIf",a.hintText)}},sCa=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(d){v(b);var e=L().$implicit,f=L(3);return w(f.onAction(d,e))})("mouseup",function(d){v(b);var e=L().$implicit,f=L(3);return w(f.onAction(d,e))});D(1,"span",
19);F(2,"mat-icon",20);E();P(3);E()}if(a&2){a=L().$implicit;var c=L(2).$implicit;pg("b-menu-item-checked",a.selected);C("disabled",a.disabled)("ngClass",c.className);dg("title",a.title);z(3);Q(" ",a.label," ")}},tCa=function(a,b){a&1&&(H(0),O(1,rCa,4,6,"button",15),O(2,sCa,4,6,"button",16),I());a&2&&(a=b.$implicit,z(1),C("ngIf","action"===a.type),z(1),C("ngIf","select"===a.type))},uCa=function(a){a&1&&(H(0),D(1,"button",10),O(2,nCa,1,1,"mat-icon",11),P(3),O(4,oCa,2,1,"span",12),E(),D(5,"mat-menu",
null,13),O(7,tCa,3,2,"ng-container",4),E(),I());if(a&2){var b=N(6);a=L().$implicit;var c=L();z(1);C("matMenuTriggerFor",b);z(1);C("ngIf",a.icon);z(1);Q(" ",a.label," ");z(1);C("ngIf",a.hintText);z(3);C("ngForOf",a.items)("ngForTrackBy",c.trackByIndex)}},vCa=function(a){a&1&&F(0,"mat-icon",7);a&2&&(a=L(3).$implicit,C("svgIcon",a.icon))},wCa=function(a){a&1&&(D(0,"span",14),P(1),E());a&2&&(a=L(3).$implicit,z(1),Bg(a.hintText))},xCa=function(a){if(a&1){var b=t();D(0,"button",17);K("click",function(c){v(b);
var d=L(2).$implicit,e=L();return w(e.onAction(c,d))})("mouseup",function(c){v(b);var d=L(2).$implicit,e=L();return w(e.onAction(c,d))});O(1,vCa,1,1,"mat-icon",11);P(2);O(3,wCa,2,1,"span",12);E()}a&2&&(a=L(2).$implicit,C("disabled",a.disabled)("ngClass",a.className),dg("title",a.title),z(1),C("ngIf",a.icon),z(1),Q(" ",a.label," "),z(1),C("ngIf",a.hintText))},yCa=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(c){v(b);var d=L(2).$implicit,e=L();return w(e.onAction(c,d))})("mouseup",
function(c){v(b);var d=L(2).$implicit,e=L();return w(e.onAction(c,d))});D(1,"span",19);F(2,"mat-icon",20);E();P(3);E()}a&2&&(a=L(2).$implicit,pg("b-menu-item-checked",a.selected),C("disabled",a.disabled)("ngClass",a.className),dg("title",a.title)("aria-label",a.label+" results per page"),z(3),Q(" ",a.label," "))},zCa=function(a){a&1&&(H(0),O(1,xCa,4,6,"button",15),O(2,yCa,4,7,"button",16),I());a&2&&(a=L().$implicit,z(1),C("ngIf","action"===a.type),z(1),C("ngIf","select"===a.type))},ACa=function(a,
b){a&1&&(H(0),O(1,uCa,8,6,"ng-container",9),O(2,zCa,3,2,"ng-container",9),I());a&2&&(a=b.$implicit,z(1),C("ngIf","submenu"===a.type),z(1),C("ngIf","submenu"!==a.type))},BCa=function(a){var b=function(){var c=a.apply(this,[].concat(p(bd.apply(0,arguments))))||this;c._sticky=!1;c._hasStickyChanged=!1;return c};X(b,a);b.prototype.hasStickyChanged=function(){var c=this._hasStickyChanged;this._hasStickyChanged=!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};Ei.Object.defineProperties(b.prototype,
{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=Kh(c);this._hasStickyChanged=d!==this._sticky}}});return b},CCa=function(a,b){return a.concat(Array.from(b))},DCa=function(a){a&1&&F(0,"th",28)},ECa=function(a){if(a&1){var b=t();D(0,"td",29,30);K("click",function(c){v(b);N(1).focus();return w(c.stopPropagation())});E()}},FCa=function(a){a&1&&F(0,"th",28)},GCa=function(a){if(a&1){var b=t();D(0,"td",31,32);K("click",function(c){v(b);
N(1).focus();return w(c.stopPropagation())})("dragstart",function(c){v(b);var d=L();return w(d.handleDragStart(c))});F(2,"mat-icon",33);E()}},HCa=function(a){a&1&&(D(0,"th",28),P(1," Id "),E())},ICa=function(a,b){a&1&&(D(0,"td",34),F(1,"b-issue-id-cell",35),E());a&2&&(a=b.$implicit,z(1),C("id",a.id))},JCa=function(a){a&1&&(D(0,"th",28),P(1," Id "),E())},KCa=function(a){a&1&&(D(0,"td",34),P(1,"--"),E())},LCa=function(a){a&1&&(D(0,"th",28),P(1," Title "),E())},MCa=function(a,b){if(a&1){var c=t();D(0,
"td",34)(1,"b-expandable-issue-title-cell",36);K("expansionChange",function(){var d=v(c).$implicit,e=L();return w(e.toggleExpansion(d))});R(2,"async");R(3,"async");E()()}a&2&&(a=b.$implicit,z(1),C("issue",S(2,4,a.issue$))("expandable",S(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},NCa=function(a){a&1&&(D(0,"th",28),P(1," Type "),E())},OCa=function(a,b){a&1&&(D(0,"td",34),F(1,"b-issue-type-cell",37),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},PCa=
function(a){a&1&&(D(0,"th",28),P(1," Assignee "),E())},QCa=function(a,b){a&1&&(H(0),D(1,"b-person-hovercard",41),P(2),E(),I());a&2&&(a=b.$implicit,b=L(3),z(1),C("email",b.getAssigneeString(a)),z(1),Q(" ",b.ldapOnly(b.getAssigneeString(a))," "))},RCa=function(a){a&1&&(H(0),O(1,QCa,3,2,"ng-container",21),R(2,"async"),I());a&2&&(a=L().$implicit,z(1),C("ngIf",S(2,1,a.issue$)))},SCa=function(a,b){a&1&&F(0,"b-user-image",41);a&2&&C("email",b.$implicit)},TCa=function(a,b){a&1&&(H(0),O(1,SCa,1,1,"b-user-image",
42),I());a&2&&(a=b.$implicit,b=L(3),z(1),C("ngIf",b.getAssigneeString(a)))},UCa=function(a){a&1&&(H(0),O(1,TCa,2,1,"ng-container",21),R(2,"async"),I());a&2&&(a=L().$implicit,z(1),C("ngIf",S(2,1,a.issue$)))},VCa=function(a,b){a&1&&F(0,"b-user-image",41);a&2&&C("email",b.$implicit)},WCa=function(a){a&1&&(H(0),O(1,VCa,1,1,"b-user-image",42),I());if(a&2){a=L().$implicit;var b=L(3);z(1);C("ngIf",b.getAssigneeString(a))}},XCa=function(a,b){a&1&&(H(0),O(1,WCa,2,1,"ng-container",21),I());a&2&&(a=b.$implicit,
b=L(3),z(1),C("ngIf",b.isInProgress(a)))},YCa=function(a){a&1&&(H(0),O(1,XCa,2,1,"ng-container",21),R(2,"async"),I());a&2&&(a=L().$implicit,z(1),C("ngIf",S(2,1,a.issue$)))},ZCa=function(a){a&1&&(F(0,"b-issue-assignee-cell",37),R(1,"async"));a&2&&(a=L().$implicit,C("issue",S(1,1,a.issue$)))},$Ca=function(a){a&1&&(D(0,"td",34),H(1,38),O(2,RCa,3,3,"ng-container",39),O(3,UCa,3,3,"ng-container",39),O(4,YCa,3,3,"ng-container",39),O(5,ZCa,2,3,"b-issue-assignee-cell",40),I(),E());a&2&&(a=L(),z(1),C("ngSwitch",
a.options.assigneeMode),z(1),C("ngSwitchCase","short"),z(1),C("ngSwitchCase","avatar"),z(1),C("ngSwitchCase","avatar-in-progress"))},aDa=function(a){a&1&&(D(0,"th",28),P(1," Status "),E())},bDa=function(a,b){a&1&&(H(0),D(1,"a",45),P(2," Fix Pending "),E(),I());a&2&&(a=b.$implicit,z(1),yg("href","http://cl/",a.changelistNumber,"",ue),Ag("matTooltip","Open cl/",a.changelistNumber," from ",a.author,""))},cDa=function(a){a&1&&(H(0),O(1,bDa,3,3,"ng-container",21),I());if(a&2){a=L().$implicit;var b=L();
z(1);C("ngIf",null==b.projectData?null:null==b.projectData.bugToPendingFixCl?null:b.projectData.bugToPendingFixCl.get(a.id))}},dDa=function(a){a&1&&(F(0,"b-issue-status-cell",37),R(1,"async"));a&2&&(a=L().$implicit,C("issue",S(1,1,a.issue$)))},fDa=function(a,b){a&1&&(D(0,"td",34),O(1,cDa,2,1,"ng-container",43),O(2,dDa,2,3,"ng-template",null,44,$g),E());if(a&2){a=b.$implicit;var c=N(3);b=L();z(1);C("ngIf",b.options.showPendingFixCls&&eDa(b,a.id))("ngIfElse",c)}},gDa=function(a){a&1&&(D(0,"th",28),
P(1," Team "),E())},hDa=function(a,b){a&1&&(D(0,"td",34),F(1,"b-issue-team-cell",37),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},iDa=function(a){a&1&&F(0,"th",28)},jDa=function(a,b){a&1&&(D(0,"td",34)(1,"b-actions-menu",46),K("click",function(c){return c.stopPropagation()}),E()());a&2&&(a=b.$implicit,b=L(),z(1),C("menuItems",b.getMenuItems(a)))},lDa=function(a){a&1&&(D(0,"th",28),P(1," CLs "),E())},mDa=function(a,b){a&1&&(D(0,"b-async-data-placeholder",48)(1,"a",49),K("click",
function(c){return c.stopPropagation()}),F(2,"b-formatted-date-time",50),E()());a&2&&(a=b.ngIf,C("isReady",null!==a.cl),z(1),yg("href","http://cl/",null==a.cl?null:a.cl.changelistNumber,"",ue)("matTooltip","Submitted by ",null==a.cl?null:a.cl.author,""),z(1),C("paddingLeftPx",0)("timestamp",null==a.cl?null:a.cl.timestamp))},oDa=function(a){a&1&&(H(0),O(1,mDa,3,5,"b-async-data-placeholder",47),R(2,"async"),R(3,"mostRecentCL$"),I());a&2&&(a=L().$implicit,z(1),C("ngIf",Gg(5,nDa,S(2,1,S(3,3,a.issue$)))))},
pDa=function(a,b){a&1&&(D(0,"td",34),O(1,oDa,4,7,"ng-container",21),E());a&2&&(a=b.$implicit,z(1),C("ngIf",0<a.level))},qDa=function(a){a&1&&F(0,"th",28)},rDa=function(a){a&1&&(D(0,"b-actions-menu",46),K("click",function(c){return c.stopPropagation()}),E());if(a&2){a=L().$implicit;var b=L();C("menuItems",b.getMenuItemsForDraft(a))}},sDa=function(a){a&1&&F(0,"b-spinner")},tDa=function(a,b){a&1&&(D(0,"td",51),O(1,rDa,1,1,"b-actions-menu",52),O(2,sDa,1,0,"ng-template",null,53,$g),E());if(a&2){a=b.$implicit;
var c=N(3);z(1);C("ngIf",!a.saving)("ngIfElse",c)}},uDa=function(a,b){if(a&1){var c=t();D(0,"td",34)(1,"b-async-data-placeholder",48);R(2,"async");D(3,"b-button",54);K("onAction",function(){var d=v(c).$implicit,e=L();return w(e.displayAllSiblings(d))});D(4,"span",55);P(5);E()()()()}a&2&&(a=b.$implicit,b=L(),og("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),dg("colspan",b.tableColumns.length),z(1),C("isReady",!!S(2,5,a.parentIssue$)),z(4),Q("Display ",a.truncatedSiblingCount," more"))},vDa=
function(a){a&1&&(D(0,"th",28),P(1," Title "),E())},wDa=function(a,b){if(a&1){var c=t();D(0,"td",34)(1,"div",56)(2,"b-text-input-cell",57);K("valueChange",function(d){var e=v(c).$implicit;return w(e.title=d)})("commit",function(){var d=v(c).$implicit,e=L();return w(e.saveDraft(d))});E();D(3,"b-button",58);K("onAction",function(){var d=v(c).$implicit,e=L();return w(e.saveDraft(d))});P(4," Create ");E();D(5,"b-button",59);K("onAction",function(){var d=v(c).$implicit,e=L();return w(e.cancelDraft(d))});
P(6," Cancel ");E()()()}a&2&&(a=b.$implicit,og("padding-left",24*(a.level+1),"px"),z(2),C("value",a.title)("readonly",a.saving),z(1),C("disabled",!a.title||a.saving),z(2),C("disabled",a.saving))},xDa=function(a){a&1&&F(0,"tr",61)},yDa=function(a){a&1&&(H(0),O(1,xDa,1,0,"tr",60),I());a&2&&(a=L(),z(1),C("matHeaderRowDef",a.tableColumns))},ADa=function(a,b){if(a&1){var c=t();D(0,"tr",62);K("click",function(d){var e=v(c).$implicit,f=L();return w(f.navigateToIssue(d,e))})("mouseup",function(d){var e=v(c).$implicit,
f=L();return w(f.navigateToIssue(d,e))})("focusin",function(){var d=v(c).$implicit,e=L();return w($p(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=L();return w(f.onRowKeydown(e,d))});R(1,"async");R(2,"async");E()}a&2&&(a=b.$implicit,b=L(),pg("selected",S(1,8,zDa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(S(2,10,a.issue$))),C("row",a),dg("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},BDa=function(a,b){if(a&1){var c=t();D(0,
"tr",63);K("focusin",function(){var d=v(c).$implicit,e=L();return w($p(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=L();return w(f.onRowKeydown(e,d))});E()}a&2&&(a=b.$implicit,C("row",a),dg("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},CDa=function(a,b){if(a&1){var c=t();D(0,"tr",64);K("keydown",function(d){var e=v(c).$implicit,f=L();return w(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=v(c).$implicit,e=L();return w(e.cancelDraft(d))})("keydown.backspace",
function(){var d=v(c).$implicit,e=L();return w(d.title||e.cancelDraft(d))})("focusin",function(){var d=v(c).$implicit,e=L();return w($p(e.focusManager,d))});E()}a&2&&(a=b.$implicit,C("row",a),dg("data-type",a.type))},DDa=function(a){a&1&&F(0,"b-formatted-date-time",3);a&2&&(a=L(),C("timestamp",a.createdTime))},EDa=function(a){a&1&&P(0,"--")},FDa=function(a){a&1&&(D(0,"b-person-hovercard",3),P(1),E());a&2&&(a=L(),C("email",a.reporter),z(1),Q(" ",a.reporter," "))},GDa=function(a){a&1&&P(0,"--")},HDa=
function(a){if(a&1){var b=t();D(0,"div",3);K("@arrowPosition.start",function(){v(b);var c=L();return w(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){v(b);var c=L();return w(c._disableViewStateAnimation=!1)});F(1,"div",4);D(2,"div",5);F(3,"div",6)(4,"div",7)(5,"div",8);E()()}a&2&&(a=L(),C("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),z(2),C("@indicator",a._getArrowDirectionState()),z(1),C("@leftPointer",
a._getArrowDirectionState()),z(1),C("@rightPointer",a._getArrowDirectionState()))},IDa=function(a){a&1&&F(0,"th",21)},JDa=function(a){a&1&&F(0,"td",22)},KDa=function(a){a&1&&(D(0,"th",21),P(1," Id "),E())},LDa=function(a,b){a&1&&(D(0,"td",23),F(1,"b-issue-id-cell",24),E());a&2&&(a=b.$implicit,z(1),C("id",a.id))},MDa=function(a){a&1&&(D(0,"th",21),P(1," Title "),E())},NDa=function(a,b){a&1&&(D(0,"td",23),F(1,"b-issue-title-cell",25),R(2,"async"),E());a&2&&(a=b.$implicit,b=L(),z(1),C("issue",S(2,2,
a.issue$))("issueUrlFactory",b.issueUrlFactory))},ODa=function(a){a&1&&(D(0,"th",26),P(1," Type "),E())},PDa=function(a,b){a&1&&(D(0,"td",23),F(1,"b-issue-type-cell",27),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},QDa=function(a){a&1&&(D(0,"th",28),P(1," Assignee "),E())},RDa=function(a,b){a&1&&(D(0,"td",23),F(1,"b-issue-assignee-cell",27),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},SDa=function(a){a&1&&(D(0,"th",29),P(1," Reporter "),E())},
TDa=function(a,b){a&1&&(D(0,"td",23),F(1,"b-issue-reporter-cell",27),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},UDa=function(a){a&1&&(D(0,"th",30),P(1," Status "),E())},VDa=function(a,b){a&1&&(D(0,"td",23),F(1,"b-issue-status-cell",27),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},WDa=function(a){a&1&&(D(0,"th",21),P(1," Team "),E())},XDa=function(a,b){a&1&&(D(0,"td",23),F(1,"b-issue-team-cell",27),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",
S(2,1,a.issue$)))},YDa=function(a){a&1&&(D(0,"th",31),P(1," Created "),E())},ZDa=function(a,b){a&1&&(D(0,"td",23),F(1,"b-issue-created-time-cell",27),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},$Da=function(a){a&1&&F(0,"th",21)},aEa=function(a,b){a&1&&(D(0,"td",23)(1,"b-actions-menu",32),K("click",function(c){return c.stopPropagation()}),E()());a&2&&(a=b.$implicit,b=L(),z(1),C("menuItems",b.getMenuItems(a.id)))},bEa=function(a){a&1&&F(0,"tr",33)},cEa=function(a,b){if(a&
1){var c=t();D(0,"tr",34);K("click",function(d){var e=v(c).$implicit,f=L();return w(f.navigateToIssue(d,e.id))})("mouseup",function(d){var e=v(c).$implicit,f=L();return w(f.navigateToIssue(d,e.id))})("focusin",function(){var d=v(c).$implicit,e=L();return w($p(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=L();return w(f.onRowKeydown(e,d))});E()}a&2&&C("row",b.$implicit)},dEa=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},pn=function(a){return ep(a.issue$)},eEa=
function(a,b){if(!b||!b.direction)return a;switch(b.active){case "status":return zra()(a,b.direction);case "assignee":return Ara()(a,b.direction);case "reporter":return Cra()(a,b.direction);case "type":return Bra()(a,b.direction);case "createdTime":return Dra()(a,b.direction);default:return a}},fEa=function(a){if(a&1){var b=t();D(0,"div",6)(1,"button",7);K("click",function(){v(b);L(2).onDismiss.emit();return w()});D(2,"mat-icon",8);P(3);E()()()}if(a&2){a=L(2);var c;z(1);C("matTooltip",null!==(c=a.dismissTooltip)&&
void 0!==c?c:"")("disabled",a.disableDismiss);z(2);Q(" ",a.dismissIcon," ")}},gEa=function(a){a&1&&(D(0,"span"),P(1,"Unassigned"),E())},hEa=function(a){a&1&&F(0,"b-user-image",12);a&2&&(a=L(3),C("email",(null==a.issue.snapshot[0].assigneeUser?null:a.issue.snapshot[0].assigneeUser.emailAddress)||""))},iEa=function(a){a&1&&F(0,"b-user-display-name",13);a&2&&(a=L(3),C("email",a.issue.snapshot[0].assigneeUser.emailAddress||""))},jEa=function(a){a&1&&(D(0,"div",9),O(1,gEa,2,0,"span",0),O(2,hEa,1,1,"b-user-image",
10),O(3,iEa,1,1,"b-user-display-name",11),E());a&2&&(a=L(2),z(1),C("ngIf",!a.issue.snapshot[0].assigneeUser),z(1),C("ngIf",a.issue.snapshot[0].assigneeUser),z(1),C("ngIf",a.issue.snapshot[0].assigneeUser))},kEa=function(a,b){a&1&&(H(0),D(1,"span"),P(2),E(),I());a&2&&(a=b.$implicit,b=L(3),z(1),sg("chippy status-",a," margin-s-right"),z(1),Q(" ",b.STATUS_TERSE[a]," "))},lEa=function(a){a&1&&F(0,"b-issue-priority-display",16);a&2&&(a=L(3),C("issuePriority",a.issue.snapshot[0].priority))},mEa=function(a){a&
1&&(D(0,"span"),P(1),R(2,"enumToHuman"),E());a&2&&(a=L(3),z(1),Q(" ",S(2,1,a.issue.snapshot[0].type)," "))},nEa=function(a){a&1&&(D(0,"div",14),O(1,kEa,3,4,"ng-container",0),O(2,lEa,1,1,"b-issue-priority-display",15),O(3,mEa,3,3,"span",0),E());a&2&&(a=L(2),z(1),C("ngIf",a.convertIssueStatusStrToTag(a.issue.snapshot[0].status)),z(1),C("ngIf",!a.onlyTitle),z(1),C("ngIf",!a.onlyTitle))},oEa=function(a){a&1&&F(0,"mat-icon",20);a&2&&(a=L(3),C("svgIcon",a.moreInfoIconSvg))},pEa=function(a){a&1&&(D(0,"mat-icon",
21),P(1),E());a&2&&(a=L(3),z(1),Bg(a.moreInfoIcon))},qEa=function(a){a&1&&(H(0),D(1,"div"),O(2,oEa,1,1,"mat-icon",17),O(3,pEa,2,1,"mat-icon",18),D(4,"span",19),P(5),E()(),I());a&2&&(a=L(2),z(1),sg("more-info padded-s-top margin-s-top ",a.moreInfoAccentColor,""),z(1),C("ngIf",a.moreInfoIconSvg),z(1),C("ngIf",a.moreInfoIcon),z(2),Bg(a.moreInfoMessage))},rEa=function(a){a&1&&(H(0),D(1,"div",1)(2,"a",2),P(3),E()(),O(4,fEa,4,3,"div",3),O(5,jEa,4,3,"div",4),O(6,nEa,4,3,"div",5),O(7,qEa,6,6,"ng-container",
0),I());a&2&&(a=L(),z(2),yg("href","/issues/",a.issue.issueId,"",ue),z(1),Cg(" ",a.issue.snapshot[0].title," (",a.issue.issueId,") "),z(1),C("ngIf",a.dismissIcon),z(1),C("ngIf",!a.onlyTitle),z(1),C("ngIf",!a.onlyTitle),z(1),C("ngIf",a.moreInfoMessage&&!a.onlyTitle))},sEa=function(a){a=a.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.width,height:a.height,x:a.x,y:a.y}},tEa=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=a.top&&c<=d&&b>=e&&b<=
f},aq=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},uEa=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=.05*a.width,l=.05*a.height;return c>a.top-l&&c<e+l&&b>f-h&&b<d+h},yEa=function(a){var b=a.cloneNode(!0),c=b.querySelectorAll("[id]"),d=a.nodeName.toLowerCase();b.removeAttribute("id");for(var e=0;e<c.length;e++)c[e].removeAttribute("id");"canvas"===d?vEa(a,b):("input"===d||"select"===d||"textarea"===d)&&wEa(a,b);xEa("canvas",a,b,vEa);xEa("input, textarea, select",
a,b,wEa);return b},xEa=function(a,b,c,d){b=b.querySelectorAll(a);if(b.length)for(a=c.querySelectorAll(a),c=0;c<b.length;c++)d(b[c],a[c])},wEa=function(a,b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+"-"+zEa++)},vEa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},AEa=function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];if(e){var f=void 0;a.setProperty(d,e,(null==(f=c)?0:f.has(d))?"important":"")}else a.removeProperty(d)}},
bq=function(a,b){var c=b?"":"none";AEa(a.style,{"touch-action":b?"":"none","-webkit-user-drag":b?"":"none","-webkit-tap-highlight-color":b?"":"transparent","user-select":c,"-ms-user-select":c,"-webkit-user-select":c,"-moz-user-select":c})},CEa=function(a,b){AEa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},BEa)},DEa=function(a,b){return b&&"none"!=b?a+" "+b:a},EEa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},GEa=function(a){a=
getComputedStyle(a);var b=FEa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=FEa(a,"transition-duration");a=FEa(a,"transition-delay");return EEa(c[b])+EEa(a[b])},FEa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},HEa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},cq=function(a){return"t"===a.type[0]},IEa=function(a,b){a=a.rootNodes;if(1===a.length&&a[0].nodeType===
b.ELEMENT_NODE)return a[0];var c=b.createElement("div");a.forEach(function(d){return c.appendChild(d)});return c},JEa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=HEa(b.left,b.top)},dq=function(a,b,c){b=Math.max(0,Math.min(a.length-1,b));c=Math.max(0,Math.min(a.length-1,c));if(b!==c){for(var d=a[b],e=c<b?-1:1;b!==c;b+=e)a[b]=a[b+e];a[c]=d}},KEa=function(a,b){var c=a.top,d=a.bottom;a=.05*a.height;return b>=c-a&&b<=c+a?1:b>=d-a&&b<=d+a?2:0},LEa=function(a,
b){var c=a.left,d=a.right;a=.05*a.width;return b>=c-a&&b<=c+a?1:b>=d-a&&b<=d+a?2:0},MEa=function(a){a&1&&(D(0,"th",20),P(1," Id "),E())},NEa=function(a,b){a&1&&(D(0,"td",21),P(1),E());a&2&&(a=b.$implicit,z(1),Q(" ",a.issueId," "))},OEa=function(a){a&1&&(D(0,"th",20),P(1," Priority "),E())},PEa=function(a,b){a&1&&(D(0,"td",21),F(1,"b-issue-priority-display",22),E());a&2&&(a=b.$implicit,z(1),C("issuePriority",a.snapshot[0].priority))},QEa=function(a){a&1&&(D(0,"th",20),P(1," Title "),E())},REa=function(a,
b){a&1&&(D(0,"td",21),F(1,"b-issue-title-cell",23),E());a&2&&(a=b.$implicit,z(1),C("issue",a))},SEa=function(a){a&1&&(D(0,"th",20),P(1," Type "),E())},TEa=function(a,b){a&1&&(D(0,"td",21),F(1,"b-issue-type-cell",24),E());a&2&&(a=b.$implicit,z(1),C("issue",a))},UEa=function(a){a&1&&(D(0,"th",20),P(1," Status "),E())},VEa=function(a,b){a&1&&(D(0,"td",21),F(1,"b-issue-status-cell",24),E());a&2&&(a=b.$implicit,z(1),C("issue",a))},WEa=function(a){a&1&&(D(0,"th",20),P(1," Team "),E())},XEa=function(a,b){a&
1&&(D(0,"td",21),F(1,"b-issue-team-cell",24),E());a&2&&(a=b.$implicit,z(1),C("issue",a))},YEa=function(a){a&1&&(D(0,"th",25),P(1),E());a&2&&(a=L(2),z(1),Q(" ","avatar-in-progress"===a.assigneeMode?"":"Assignee"," "))},ZEa=function(a){a&1&&(H(0),D(1,"b-person-hovercard",29),P(2),E(),I());if(a&2){a=L(2).$implicit;var b=L(2);z(1);C("email",b.getAssigneeString(a));z(1);Q(" ",b.ldapOnly(b.getAssigneeString(a))," ")}},$Ea=function(a){a&1&&(H(0),O(1,ZEa,3,2,"ng-container",0),I());a&2&&(a=L().$implicit,z(1),
C("ngIf",a))},aFa=function(a,b){a&1&&F(0,"b-user-image",29);a&2&&C("email",b.$implicit)},bFa=function(a){a&1&&(H(0),O(1,aFa,1,1,"b-user-image",30),I());if(a&2){a=L(2).$implicit;var b=L(2);z(1);C("ngIf",b.getAssigneeString(a))}},cFa=function(a){a&1&&(H(0),O(1,bFa,2,1,"ng-container",0),I());a&2&&(a=L().$implicit,z(1),C("ngIf",a))},dFa=function(a,b){a&1&&F(0,"b-user-image",29);a&2&&C("email",b.$implicit)},eFa=function(a){a&1&&(H(0),O(1,dFa,1,1,"b-user-image",30),I());if(a&2){a=L(3).$implicit;var b=L(2);
z(1);C("ngIf",b.getAssigneeString(a))}},fFa=function(a){a&1&&(H(0),O(1,eFa,2,1,"ng-container",0),I());if(a&2){a=L(2).$implicit;var b=L(2);z(1);C("ngIf",b.isInProgress(a))}},gFa=function(a){a&1&&(H(0),O(1,fFa,2,1,"ng-container",0),I());a&2&&(a=L().$implicit,z(1),C("ngIf",a))},hFa=function(a){a&1&&F(0,"b-issue-assignee-cell",24);a&2&&(a=L().$implicit,C("issue",a))},iFa=function(a){a&1&&(D(0,"td",21),H(1,26),O(2,$Ea,2,1,"ng-container",27),O(3,cFa,2,1,"ng-container",27),O(4,gFa,2,1,"ng-container",27),
O(5,hFa,1,1,"b-issue-assignee-cell",28),I(),E());a&2&&(a=L(2),z(1),C("ngSwitch",a.assigneeMode),z(1),C("ngSwitchCase","short"),z(1),C("ngSwitchCase","avatar"),z(1),C("ngSwitchCase","avatar-in-progress"))},jFa=function(a){a&1&&(D(0,"th",31),P(1," Reporter "),E())},kFa=function(a,b){a&1&&(D(0,"td",21),F(1,"b-issue-reporter-cell",24),E());a&2&&(a=b.$implicit,z(1),C("issue",a))},lFa=function(a){a&1&&(D(0,"th",32),P(1," Created "),E())},mFa=function(a,b){a&1&&(D(0,"td",21),F(1,"b-issue-created-time-cell",
24),E());a&2&&(a=b.$implicit,z(1),C("issue",a))},nFa=function(a){a&1&&F(0,"th",20)},oFa=function(a,b){a&1&&(D(0,"td",21)(1,"b-actions-menu",33),K("click",function(c){return c.stopPropagation()}),E()());a&2&&(a=b.$implicit,b=L(2),z(1),C("menuItems",b.getMenuItems(a)))},pFa=function(a){a&1&&(D(0,"th",37),P(1),E());if(a&2){a=L(2).$implicit;var b=L(2);z(1);Q(" ",b.COLUMN_TITLES.get(a)," ")}},qFa=function(a){a&1&&tg(0)},sFa=function(a,b){a&1&&(D(0,"td",21),O(1,qFa,1,0,"ng-container",38),E());a&2&&(a=b.$implicit,
b=L().ngIf,z(1),C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(2,rFa,a)))},tFa=function(a){a&1&&(H(0,35),O(1,pFa,2,1,"th",36),O(2,sFa,2,4,"td",4),I());a&2&&(a=L().$implicit,zg("matColumnDef",a))},uFa=function(a,b){a&1&&(H(0),O(1,tFa,3,1,"ng-container",34),I());a&2&&(a=b.$implicit,b=L(2),z(1),C("ngIf",b.getViewCellTemplate(a)))},vFa=function(a){a&1&&F(0,"tr",39)},wFa=function(a){a&1&&F(0,"issue-card-compact",24);a&2&&(a=L().$implicit,C("issue",a))},xFa=function(a){if(a&1){var b=t();D(0,"tr",
40);K("click",function(c){var d=v(b).$implicit,e=L(2);return w(e.navigateToIssue(c,d))})("mouseup",function(c){var d=v(b).$implicit,e=L(2);return w(e.navigateToIssue(c,d))});O(1,wFa,1,1,"issue-card-compact",41);E()}},zFa=function(a,b){a&1&&(H(0),D(1,"table",1),H(2,2),O(3,MEa,2,0,"th",3),O(4,NEa,2,1,"td",4),I(),H(5,5),O(6,OEa,2,0,"th",3),O(7,PEa,2,1,"td",4),I(),H(8,6),O(9,QEa,2,0,"th",3),O(10,REa,2,1,"td",4),I(),H(11,7),O(12,SEa,2,0,"th",3),O(13,TEa,2,1,"td",4),I(),H(14,8),O(15,UEa,2,0,"th",3),O(16,
VEa,2,1,"td",4),I(),H(17,9),O(18,WEa,2,0,"th",3),O(19,XEa,2,1,"td",4),I(),H(20,10),O(21,YEa,2,1,"th",11),O(22,iFa,6,4,"td",4),I(),H(23,12),O(24,jFa,2,0,"th",13),O(25,kFa,2,1,"td",4),I(),H(26,14),O(27,lFa,2,0,"th",15),O(28,mFa,2,1,"td",4),I(),H(29,16),O(30,nFa,1,0,"th",3),O(31,oFa,2,1,"td",4),I(),O(32,uFa,2,1,"ng-container",17),O(33,vFa,1,0,"tr",18),O(34,xFa,2,0,"tr",19),E(),I());a&2&&(a=b.ngIf,b=L(),z(1),C("dataSource",b.displayedIssues$)("trackBy",b.trackByIssueLastModified)("cdkDropListConnectedTo",
Fg(7,yFa))("cdkDropListData",a),z(31),C("ngForOf",b.customColumns),z(1),C("matHeaderRowDef",b.displayedColumns),z(1),C("matRowDefColumns",b.displayedColumns))},AFa=function(a,b){if(a&1){var c=t();D(0,"div",5)(1,"mat-checkbox",6);K("change",function(d){var e=v(c).$implicit,f=L();e=e.key;d.checked?f.updatedColumns.push(e):f.updatedColumns.splice(f.updatedColumns.indexOf(e),1);return w()});E();P(2);E()}a&2&&(a=b.$implicit,b=L(),z(1),C("checked",b.currentColumns.includes(a.key)),z(1),Q(" ",a.value," "))},
BFa=function(a){a&1&&(D(0,"div"),F(1,"b-slo-time-indicator",1),E());a&2&&(a=L(),z(1),C("sloSnoozeUntil",a.sloSnoozeUntil)("sloBounds",a.assignmentSlo)("includeObjective",!0))},CFa=function(a){a&1&&(D(0,"div"),F(1,"b-slo-time-indicator",2),E());a&2&&(a=L(),z(1),C("sloSnoozeUntil",a.sloSnoozeUntil)("sloBounds",a.responseSlo)("includeObjective",!0))},DFa=function(a){a&1&&(D(0,"div"),F(1,"b-slo-time-indicator",3),E());a&2&&(a=L(),z(1),C("sloSnoozeUntil",a.sloSnoozeUntil)("sloBounds",a.closureSlo)("includeObjective",
!0))},EFa=function(a){a&1&&(D(0,"div",8),F(1,"b-slo-status-summary",9),E());a&2&&(a=L(),z(1),C("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric",a.onlyShowMetric))},FFa=function(a){a&1&&(H(0),P(1," No applicable SLO rules "),I())},GFa=function(a){a&1&&(H(0),P(1," No SLO set on issue component "),I())},HFa=function(a){a&1&&(D(0,"div",10),O(1,FFa,2,0,"ng-container",7),O(2,GFa,2,0,"ng-container",7),E());a&2&&(a=L(),z(1),C("ngIf",a.editSloLink),z(1),C("ngIf",!a.editSloLink))},
IFa=function(a){if(a&1){var b=t();D(0,"a",12);K("click",function(){v(b);var c=L(2);return w(c.trackOpenSlo())});P(1);E()}a&2&&(a=L(2),C("href",a.editSloLink,ue),z(1),Q(" ",a.sloName," "))},JFa=function(a){a&1&&(D(0,"span"),P(1," (private) "),E())},KFa=function(a){a&1&&(D(0,"span"),P(1," SLO definition: "),O(2,IFa,2,2,"a",11),O(3,JFa,2,0,"span",7),E());a&2&&(a=L(),z(2),C("ngIf",a.sloName),z(1),C("ngIf",!a.sloName))},LFa=function(a,b){a&1&&(D(0,"span",9),P(1," by "),F(2,"b-user-display-name",10),E());
a&2&&(a=b.ngIf,z(2),C("email",a)("hovercardEnabled",!1))},MFa=function(a,b){a&1&&(D(0,"div")(1,"span"),P(2),E(),F(3,"b-formatted-date-time",11),E());a&2&&(a=b.ngIf,b=L().ngIf,z(2),Bg(b.pending?"Created on: ":"Submitted on: "),z(1),C("timestamp",a))},NFa=function(a,b){a&1&&(H(0),F(1,"br"),P(2),I());a&2&&(a=b.$implicit,z(2),Q("",a," "))},OFa=function(a,b){a&1&&(H(0),D(1,"div",3)(2,"a",4),P(3," CL "),D(4,"span"),P(5),E()(),O(6,LFa,3,2,"span",5),F(7,"br")(8,"br"),O(9,MFa,4,2,"div",2),D(10,"div",6),F(11,
"div",7)(12,"br"),D(13,"div"),P(14," Affected files: "),O(15,NFa,3,1,"ng-container",8),E()()(),I());a&2&&(a=b.ngIf,b=L(),z(2),C("href","http://critique.corp.google.com/"+b.changelistId,ue),z(3),Bg(b.changelistId),z(1),C("ngIf",a.author),z(3),C("ngIf",a.timestamp),z(2),C("innerHTML",a.description,te),z(4),C("ngForOf",a.affectedFiles))},PFa=function(a){a&1&&F(0,"b-changelist-card",3,4);if(a&2){var b=N(1);a=L();C("onedevIsHovercardReady",b.init)("changelistId",a.changelistId)}},QFa=function(a,b){a&1&&
(D(0,"div",31)(1,"div",32),P(2," \u00b7 "),D(3,"a",17),P(4),E()()());if(a&2){a=b.$implicit;b=L().index;var c=L(2);z(3);Ag("href","https://critique.corp.google.com/cl/",c.changelistIds[b],"",a.replace("//","/").split("#")[0],"",ue);z(1);Q(" ",a.replace("//depot/google3/","").split("#")[0]," ")}},RFa=function(a,b){a&1&&(H(0),D(1,"div",9)(2,"div",10)(3,"div",11),F(4,"img",12),E(),D(5,"div",13)(6,"div",14)(7,"a",15),P(8),E()(),D(9,"div",16)(10,"a",17),P(11),E(),P(12," \u00b7 "),D(13,"span"),P(14),E(),
P(15," \u00b7 "),D(16,"span"),P(17,"Authored by "),F(18,"b-user-display",18),E(),P(19," \u00b7 "),D(20,"span"),P(21),E()()(),D(22,"div",19)(23,"button",20),F(24,"mat-icon",21),E(),D(25,"mat-menu",null,22)(27,"button",23),P(28," Hide this notification "),E()()()(),D(29,"div",24)(30,"p",25),P(31,"Affected files"),E(),O(32,QFa,5,3,"div",26),E(),D(33,"div",27)(34,"div",28),F(35,"mat-icon",29),D(36,"a",30),P(37," Open in Critique "),E()()()(),I());if(a&2){a=b.$implicit;b=b.index;var c=N(26),d=L(2);z(6);
C("title",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,""));z(1);yg("href","https://critique.corp.google.com/cl/",d.changelistIds[b],"",ue);z(1);Q(" ",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,"")," ");z(2);yg("href","https://critique.corp.google.com/cl/",d.changelistIds[b],"",ue);z(1);Q("cl/",d.changelistIds[b],"");z(3);Bg(a.pending?"Pending":"Submitted");z(4);C("model",d.emailToUser(a.author));z(3);Q("",a.affectedFiles.length," files affected");z(2);C("matMenuTriggerFor",c);
z(9);C("ngForOf",a.affectedFiles);z(4);yg("href","https://critique.corp.google.com/cl/",d.changelistIds[b],"",ue)}},SFa=function(a){a&1&&(D(0,"div",7),O(1,RFa,38,11,"ng-container",8),R(2,"async"),E());a&2&&(a=L(),z(1),C("ngForOf",S(2,1,a.changelists)))},TFa=function(a){a&1&&(D(0,"div",36),F(1,"b-spinner"),E())},UFa=function(a){a&1&&(H(0),D(1,"p",39),P(2),R(3,"async"),E(),I());if(a&2){a=L(2).$implicit;var b=L(2);z(2);b.currentDisplayDate=new Date(a.issue.majorModifiedTimeMicros/1E3);a=b.dateFormatter.formatUserCalendar(b.currentDisplayDate);
Bg(S(3,1,a))}},VFa=function(a){a&1&&(H(0),P(1),F(2,"b-user-display",18),I());if(a&2){a=L().$implicit;var b=L().ngIf,c=L(4);z(1);Q(" \u00b7 ",c.STATUS_TERSE[a]," to ");z(1);C("model",b.snapshot[0].assigneeUser)}},WFa=function(a){a&1&&(H(0),P(1),F(2,"b-user-display",18),I());if(a&2){a=L().$implicit;var b=L().ngIf,c=L(4);z(1);Q(" \u00b7 ",c.STATUS_TERSE[a]," \u00b7 ");z(1);C("model",b.snapshot[0].assigneeUser)}},XFa=function(a){a&1&&(H(0),P(1),I());if(a&2){a=L().$implicit;var b=L(5);z(1);Q(" \u00b7 ",
b.STATUS_TERSE[a]," ")}},YFa=function(a){a&1&&(H(0,47),O(1,VFa,3,2,"ng-container",48),O(2,WFa,3,2,"ng-container",48),O(3,XFa,2,1,"ng-container",49),I());if(a&2){a=L().ngIf;var b=L(4);C("ngSwitch",a.snapshot[0].status);z(1);C("ngSwitchCase",b.IssueStatus.ASSIGNED);z(1);C("ngSwitchCase",b.IssueStatus.ACCEPTED)}},ZFa=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Q("(",a.count,")"))},$Fa=function(a,b){if(a&1){var c=t();H(0);D(1,"span");P(2," \u00b7 ");D(3,"span",61);K("click",function(){v(c);
L(9);console.log("likeComment() is unimplemented");return w()});P(4);E()();O(5,ZFa,2,1,"span",37);I()}a&2&&(a=b.$implicit,z(4),Bg(a.hasReacted?"Unlike":"Like"),z(1),C("ngIf",0<a.count))},aGa=function(a){a&1&&(H(0),O(1,$Fa,6,2,"ng-container",37),I());if(a&2){a=L(2).$implicit;var b=L(6);z(1);C("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.get(b.ReactionType.UPVOTE))}},bGa=function(a){a&1&&(H(0),D(1,"div",56),F(2,"b-user-image",57),E(),D(3,"div",13)(4,"p",58)(5,"a",43),P(6),E()(),
D(7,"p",59),F(8,"b-user-display",18),P(9," commented \u00b7"),F(10,"b-formatted-date-time",60),O(11,aGa,2,1,"ng-container",37),E()(),I());if(a&2){a=L().$implicit;var b=L(2).ngIf,c=L(4);z(2);C("email",c.getUserEmailIfAvailable(a.event));z(2);C("title",a.event.unlinkifiedComment);z(1);Ag("href","/issues/",b.issueId,"#comment",a.event.commentNumber,"",ue);z(1);Q(" ",a.event.unlinkifiedComment," ");z(2);C("model",a.event.userPerformingActionUser);z(2);C("timestamp",a.event.modifiedDate);z(1);C("ngIf",
null==a.event.commentReactions?null:a.event.commentReactions.has(c.ReactionType.UPVOTE))}},cGa=function(a){a&1&&(H(0),D(1,"div",56),F(2,"b-user-image",57),E(),D(3,"div",13)(4,"p",62),P(5," Issue created "),E(),D(6,"p",59),F(7,"b-user-display",18),P(8," created issue \u00b7"),F(9,"b-formatted-date-time",60),E()(),I());if(a&2){a=L().$implicit;var b=L(6);z(2);C("email",b.getUserEmailIfAvailable(a.event));z(5);C("model",a.event.userPerformingActionUser);z(2);C("timestamp",a.event.modifiedDate)}},dGa=
function(a){a&1&&(H(0),D(1,"div",56),F(2,"b-user-image",57),E(),D(3,"div",13)(4,"p",62),P(5),E(),D(6,"p",59),F(7,"b-user-display",18),P(8," submitted "),F(9,"b-changelist-link",63),P(10," \u00b7"),F(11,"b-formatted-date-time",60),E()(),I());if(a&2){a=L().$implicit;var b=L(6);z(2);C("email",b.clAuthorToEmailAddress(a.event));z(3);Q(" ",b.clEventToClDescription(a.event)," ");z(2);C("model",b.clAuthorToUser(a.event));z(2);C("changelistId",b.getClNumber(a.event));z(2);C("timestamp",a.event.modifiedDate)}},
eGa=function(a){a&1&&(H(0),D(1,"div",56),F(2,"b-user-image",57),E(),D(3,"div",13)(4,"p",62),P(5),E(),D(6,"p",59),F(7,"b-user-display",18),P(8," submitted "),F(9,"b-changelist-link",63),P(10,", fixing "),D(11,"a",43),P(12),E(),P(13," \u00b7"),F(14,"b-formatted-date-time",60),E()(),I());if(a&2){a=L().$implicit;var b=L(2).ngIf,c=L(4);z(2);C("email",c.clAuthorToEmailAddress(a.event));z(3);Q(" ",c.clEventToClDescription(a.event)," ");z(2);C("model",c.clAuthorToUser(a.event));z(2);C("changelistId",c.getClNumber(a.event));
z(2);yg("href","/issues/",b.issueId,"",ue);z(1);Q("b/",b.issueId,"");z(2);C("timestamp",a.event.modifiedDate)}},fGa=function(a){a&1&&(H(0),D(1,"div",56),F(2,"b-user-image",57),E(),D(3,"div",13)(4,"p",62),P(5," Priority changed from "),F(6,"b-issue-priority-display",44),P(7," to "),F(8,"b-issue-priority-display",44),E(),D(9,"p",59),F(10,"b-user-display",18),P(11," updated issue \u00b7"),F(12,"b-formatted-date-time",60),E()(),I());if(a&2){a=L().$implicit;var b=L(6);z(2);C("email",b.getUserEmailIfAvailable(a.event));
z(4);C("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);C("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")));z(2);C("model",a.event.userPerformingActionUser);z(2);C("timestamp",a.event.modifiedDate)}},gGa=function(a){a&1&&(H(0),D(1,"div",56),F(2,"b-user-image",57),E(),D(3,"div",13)(4,"p",62),P(5),E(),D(6,"p",59),F(7,"b-user-display",18),P(8," updated issue \u00b7"),F(9,"b-formatted-date-time",60),E()(),I());if(a&2){a=L().$implicit;var b=L(6);
z(2);C("email",b.getUserEmailIfAvailable(a.event));z(3);Cg(" Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status")," ");z(2);C("model",a.event.userPerformingActionUser);z(2);C("timestamp",a.event.modifiedDate)}},hGa=function(a){a&1&&(H(0),D(1,"div",56),F(2,"b-user-image",57),E(),D(3,"div",13)(4,"p",62),P(5),E(),D(6,"p",59),F(7,"b-user-display",18),P(8," updated issue \u00b7"),F(9,"b-formatted-date-time",60),E()(),I());if(a&2){a=L().$implicit;var b=
L(6);z(2);C("email",b.getUserEmailIfAvailable(a.event));z(3);Cg(" Assignee changed from ",b.getPreviousDiffValue(a.event,"assignee")," to ",b.getNewDiffValue(a.event,"assignee")," ");z(2);C("model",a.event.userPerformingActionUser);z(2);C("timestamp",a.event.modifiedDate)}},iGa=function(a){a&1&&(H(0),D(1,"div",56),F(2,"b-user-image",57),E(),D(3,"div",13)(4,"p",62),P(5),E(),D(6,"p",59),F(7,"b-user-display",18),P(8," modified status update \u00b7"),F(9,"b-formatted-date-time",60),E()(),I());if(a&2){a=
L().$implicit;var b=L(6);z(2);C("email",b.getUserEmailIfAvailable(a.event));z(3);Q(" ",null==a.event.statusUpdate?null:a.event.statusUpdate.updateText," ");z(2);C("model",a.event.userPerformingActionUser);z(2);C("timestamp",a.event.modifiedDate)}},jGa=function(a){a&1&&(H(0),P(1," Default case "),I())},kGa=function(a,b){a&1&&(D(0,"div",55),H(1,47),O(2,bGa,12,8,"ng-container",48),O(3,cGa,10,3,"ng-container",48),O(4,dGa,12,5,"ng-container",48),O(5,eGa,15,7,"ng-container",48),O(6,fGa,13,5,"ng-container",
48),O(7,gGa,10,5,"ng-container",48),O(8,hGa,10,5,"ng-container",48),O(9,iGa,10,4,"ng-container",48),O(10,jGa,2,0,"ng-container",49),I(),E());a&2&&(a=b.$implicit,z(1),C("ngSwitch",a.eventType),z(1),C("ngSwitchCase","comment"),z(1),C("ngSwitchCase","newIssue"),z(1),C("ngSwitchCase","changelist"),z(1),C("ngSwitchCase","changelistFixed"),z(1),C("ngSwitchCase","priority"),z(1),C("ngSwitchCase","status"),z(1),C("ngSwitchCase","assignee"),z(1),C("ngSwitchCase","statusUpdate"))},lGa=function(a){if(a&1){var b=
t();D(0,"div",28);F(1,"mat-icon",64);D(2,"button",65);K("click",function(){v(b);var c=L(2).ngIf,d=L(4);return w(d.showCommentBox.set(c.issueId,!0))});P(3," Add a comment ");E()()}},mGa=function(a){if(a&1){var b=t();D(0,"div",66);F(1,"b-user-image",57);D(2,"mat-form-field");F(3,"textarea",67);E();D(4,"button",68);F(5,"mat-icon",69);E();D(6,"button",70);K("click",function(){v(b);var c=L(2).ngIf,d=L(4);return w(d.showCommentBox.set(c.issueId,!1))});F(7,"mat-icon",71);E();D(8,"button",72);F(9,"mat-icon",
73);E()()}a&2&&(a=L(6),z(1),C("email",a.currentUser.email),z(2),C("bFocus",!0))},nGa=function(a,b){a&1&&(H(0),D(1,"div",24)(2,"p",50),P(3,"Recent updates"),E(),O(4,kGa,11,9,"div",51),E(),D(5,"div",52),O(6,lGa,4,0,"div",53),O(7,mGa,10,2,"div",54),E(),I());if(a&2){a=b.ngIf;b=L().ngIf;var c=L(4);z(4);C("ngForOf",a.slice(-3));z(2);C("ngIf",!c.showCommentBox.get(b.issueId));z(1);C("ngIf",c.showCommentBox.get(b.issueId))}},oGa=function(a,b){a&1&&(H(0),D(1,"div",40)(2,"div",11),F(3,"img",41),E(),D(4,"div",
13)(5,"div",42)(6,"a",43),P(7),E()(),D(8,"div",16)(9,"a",43),P(10),E(),P(11," \u00b7 "),F(12,"b-issue-priority-display",44),O(13,YFa,4,3,"ng-container",45),E()(),D(14,"div",19)(15,"button",20),F(16,"mat-icon",21),E(),D(17,"mat-menu",null,22)(19,"button",23),P(20," Hide this notification "),E()()()(),O(21,nGa,8,3,"ng-container",46),R(22,"async"),I());if(a&2){a=b.ngIf;var c=N(18);L();var d=N(5);b=L().$implicit;var e=L(2);z(6);yg("href","/issues/",a.issueId,"",ue);z(1);Q(" ",a.snapshot[0].title," ");
z(2);yg("href","/issues/",a.issueId,"",ue);z(1);Q("b/",a.issueId,"");z(2);C("issuePriority",a.snapshot[0].priority);z(1);C("ngIf",e.convertIssueStatusStrToTag(a.snapshot[0].status));z(2);C("matMenuTriggerFor",c);z(6);C("ngIf",S(22,9,b.eventsToDisplay))("ngIfElse",d)}},pGa=function(a){a&1&&F(0,"b-spinner")},qGa=function(a){a&1&&(H(0),O(1,UFa,4,3,"ng-container",37),D(2,"div",9),O(3,oGa,23,11,"ng-container",37),O(4,pGa,1,0,"ng-template",null,38,$g),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(1);if(b.currentDisplayDate){var c=
b.getDayOfYear(new Date(a.issue.majorModifiedTimeMicros/1E3));b=b.getDayOfYear(b.currentDisplayDate);c=c===b}else c=!1;C("ngIf",!c);z(2);C("ngIf",a.issue)}},sGa=function(a,b){a&1&&(H(0),O(1,qGa,6,2,"ng-container",37),R(2,"async"),I());if(a&2){a=b.$implicit;var c;z(1);C("ngIf",0<(null!==(c=S(2,1,a.eventsToDisplay))&&void 0!==c?c:Fg(3,rGa)).length)}},tGa=function(a){if(a&1){var b=t();D(0,"div",74)(1,"p",75);P(2,"You've reached the end of recent activity.");E();D(3,"button",76);K("click",function(){v(b);
L();var c=N(1);return w(c.scrollTo(0,0))});P(4,"Back to top");E()()}},uGa=function(a){a&1&&(D(0,"div",7,33),O(2,TFa,2,0,"div",34),O(3,sGa,3,4,"ng-container",8),R(4,"async"),O(5,tGa,5,0,"div",35),E());a&2&&(a=L(),z(2),C("ngIf",a.loadingCards),z(1),C("ngForOf",S(4,3,a.artifacts)),z(2),C("ngIf",!a.loadingCards))},vGa=function(a){a&1&&tg(0)},wGa=function(a){a&1&&(H(0),D(1,"span",11),P(2,"No projects added"),E(),I())},xGa=function(a){a&1&&(H(0),O(1,wGa,3,0,"ng-container",10),R(2,"async"),R(3,"async"),
I());if(a&2){L();var b=N(2);a=L();var c;z(1);C("ngIf",0===S(2,1,a.unarchivedProjectsCount$)&&0===((null==(c=S(3,3,null==b?null:b.rows$))?null:c.length)||0))}},zGa=function(a){if(a&1){var b=t();D(0,"p",11);P(1);D(2,"a",14);K("click",function(){v(b);var c=L(4);return w(yGa(c,[]))});P(3,"Show all");E()()}a&2&&(a=L().ngIf,z(1),Cg("Filtering ",a.count," closed issue",1===a.count?"":"s",". "))},AGa=function(a){if(a&1){var b=t();D(0,"p");P(1,"Closed issues may be filtered. ");D(2,"a",14);K("click",function(){v(b);
var c=L(4);return w(yGa(c,[]))});P(3,"Show all");E()()}},BGa=function(a,b){a&1&&(H(0),O(1,zGa,4,2,"p",13),O(2,AGa,4,0,"p",10),I());if(a&2){a=b.ngIf;L(2);var c=N(2);z(1);C("ngIf",a.count);z(1);C("ngIf",0===a.count&&0<c.filters.length)}},CGa=function(a){if(a&1){var b=t();D(0,"a",14);K("click",function(){v(b);var c=L(3);return w(yGa(c,["OPEN"]))});P(1,"Only show open issues");E()}},EGa=function(a){a&1&&(H(0),O(1,BGa,3,2,"ng-container",10),R(2,"async"),O(3,CGa,2,0,"a",12),I());if(a&2){L();var b=N(2);
z(1);C("ngIf",Gg(4,DGa,S(2,2,b.model.filteredRowCount$)));z(2);C("ngIf",0===b.filters.length)}},FGa=function(a,b){a&1&&(D(0,"section"),F(1,"expandable-issues-table",8,9),R(3,"async"),O(4,xGa,4,5,"ng-container",10),R(5,"async"),O(6,EGa,4,6,"ng-container",10),R(7,"async"),E());if(a&2){a=b.$implicit;var c=N(2);b=L();var d,e;pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);pg("hidden",0===((null==(d=S(3,9,c.rows$))?null:d.length)||0));C("rootIssueId",a)("modifyMenuItems",b.modifyMenuItems)("filters",
b.hackyPrefs.prefs.projectFilters);z(3);C("ngIf",null!==S(5,11,b.unarchivedProjectsCount$));z(2);C("ngIf",null==(e=S(7,13,null==c?null:c.rows$))?null:e.length)}},GGa=function(a){if(a&1){var b=t();D(0,"issue-card-compact",23);K("onDismiss",function(){v(b);var c=L().$implicit,d=L(3);return w(d.addProject(c.issueId))});E()}a&2&&(a=L().$implicit,C("issue",a)("onlyTitle",!0))},HGa=function(a,b){a&1&&(H(0),O(1,GGa,1,2,"issue-card-compact",22),I());a&2&&(a=b.index,b=L(3),z(1),C("ngIf",a<b.suggestLimit))},
IGa=function(a){a&1&&(D(0,"p"),P(1," No projects to suggest. Check out the "),D(2,"a",24),P(3," work tracking data model "),F(4,"mat-icon",25),E()())},JGa=function(a){if(a&1){var b=t();D(0,"b-button",26);K("onAction",function(){v(b);var c=L().ngIf,d=L(2);return w(d.suggestLimit=c.length)});P(1," Show more ");E()}},KGa=function(a,b){a&1&&(H(0),D(1,"div",19),O(2,HGa,2,1,"ng-container",20),O(3,IGa,5,0,"p",10),O(4,JGa,2,0,"b-button",21),E(),I());a&2&&(a=b.ngIf,b=L(2),z(2),C("ngForOf",a),z(1),C("ngIf",
0===a.length),z(1),C("ngIf",a.length>b.suggestLimit))},LGa=function(a){a&1&&F(0,"b-spinner")},MGa=function(a){a&1&&(D(0,"div",15)(1,"h1",16),P(2,"Suggested projects"),E(),O(3,KGa,5,3,"ng-container",17),R(4,"async"),O(5,LGa,1,0,"ng-template",null,18,$g),E());if(a&2){var b=N(6);a=L();z(3);C("ngIf",S(4,2,a.suggestedProjects$))("ngIfElse",b)}},NGa=function(a){if(a&1){var b=t();D(0,"b-button",30);K("onAction",function(){v(b);var c=L(2);return w(c.createChild())});R(1,"async");P(2," Create new project ");
E()}a&2&&(a=L(2),C("disabled",!S(1,1,a.canEdit$)))},OGa=function(a){if(a&1){var b=t();O(0,NGa,3,3,"b-button",27);D(1,"b-button",28);K("onAction",function(){v(b);var c=L();return w(c.addChild())});R(2,"async");P(3," Add existing project ");E();D(4,"b-button",29);K("onAction",function(){v(b);var c=L();return w(c.showSuggestedProjects=!c.showSuggestedProjects)});R(5,"async");P(6);E()}a&2&&(a=L(),C("ngIf",a.isNonPublicSession),z(1),C("disabled",!S(2,4,a.canEdit$)),z(3),C("disabled",!S(5,6,a.canEdit$)),
z(2),Q(" ",a.showSuggestedProjects?"Hide suggestions":"Suggest projects"," "))},PGa=function(a){a&1&&(H(0),D(1,"div",9),F(2,"b-user-display",10),P(3," submitted "),F(4,"b-changelist-link",11),P(5," for "),D(6,"b-issue-reference-widget",12),P(7),E(),F(8,"b-formatted-date-time",13),E(),D(9,"p",14),P(10),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("model",b.clAuthorToUser(a.event));z(2);C("changelistId",b.getClNumber(a.event));z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);
z(1);Q("b/",a.issueId,"");z(1);C("timestamp",a.event.modifiedDate);z(2);Bg(b.clEventToClDescription(a.event))}},QGa=function(a){a&1&&(H(0),D(1,"div",9),F(2,"b-user-display",10),P(3," commented on "),D(4,"b-issue-reference-widget",12),P(5),E(),F(6,"b-formatted-date-time",13),E(),D(7,"p",14),P(8),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("model",a.event.userPerformingActionUser);z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Q("b/",a.issueId,"");z(1);C("timestamp",
a.event.modifiedDate);z(2);Bg(a.event.unlinkifiedComment)}},RGa=function(a){a&1&&(H(0),D(1,"div",9),F(2,"b-user-display",10),P(3," changed priority for "),D(4,"b-issue-reference-widget",12),P(5),E(),F(6,"b-formatted-date-time",13),E(),D(7,"p",15),P(8,"Priority changed from "),F(9,"b-issue-priority-display",16),P(10," to "),F(11,"b-issue-priority-display",16),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("model",a.event.userPerformingActionUser);z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",
a.issueId);z(1);Q("b/",a.issueId,"");z(1);C("timestamp",a.event.modifiedDate);z(3);C("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);C("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},SGa=function(a){a&1&&(H(0),D(1,"div",9),F(2,"b-user-display",10),P(3," changed status for "),D(4,"b-issue-reference-widget",12),P(5),E(),F(6,"b-formatted-date-time",13),E(),D(7,"p",15),P(8),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("model",a.event.userPerformingActionUser);
z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Q("b/",a.issueId,"");z(1);C("timestamp",a.event.modifiedDate);z(2);Cg("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},TGa=function(a){a&1&&(H(0),D(1,"div",9),F(2,"b-user-display",10),P(3," created new issue "),D(4,"b-issue-reference-widget",12),P(5),E(),F(6,"b-formatted-date-time",13),E(),D(7,"p",14),P(8),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("model",
a.event.userPerformingActionUser);z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Q("b/",a.issueId,"");z(1);C("timestamp",a.event.modifiedDate);z(2);Bg(""===a.event.unlinkifiedComment?"No description":a.event.unlinkifiedComment)}},UGa=function(a){a&1&&(H(0),D(1,"div",9),F(2,"b-user-display",10),P(3," fixed "),D(4,"b-issue-reference-widget",12),P(5),E(),P(6," with "),F(7,"b-changelist-link",11)(8,"b-formatted-date-time",13),E(),D(9,"p",14),P(10),E(),I());if(a&2){a=L().$implicit;
var b=L(2);z(2);C("model",b.clAuthorToUser(a.event));z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Q("b/",a.issueId,"");z(2);C("changelistId",b.getClNumber(a.event));z(1);C("timestamp",a.event.modifiedDate);z(2);Bg(b.clEventToClDescription(a.event))}},VGa=function(a){a&1&&(H(0),D(1,"div",9),F(2,"b-user-display",10),P(3),E(),I());a&2&&(a=L().$implicit,z(2),C("model",a.event.userPerformingActionUser),z(1),Q(" updated ",a.issueId," "))},WGa=function(a,b){a&1&&(D(0,"div",4)(1,
"div"),F(2,"b-user-image",5),E(),D(3,"div"),H(4,6),O(5,PGa,11,7,"ng-container",7),O(6,QGa,9,6,"ng-container",7),O(7,RGa,12,7,"ng-container",7),O(8,SGa,9,7,"ng-container",7),O(9,TGa,9,6,"ng-container",7),O(10,UGa,11,7,"ng-container",7),O(11,VGa,4,2,"ng-container",8),I(),E()());a&2&&(a=b.$implicit,b=b.last,L(2),pg("margin-xs-bottom",!b),z(2),C("email","changelist"===a.eventType||"changelistFixed"===a.eventType?hp(a.event)+"@google.com":Kj(a.event.userPerformingActionUser)),z(2),C("ngSwitch",a.eventType),
z(1),C("ngSwitchCase","changelist"),z(1),C("ngSwitchCase","comment"),z(1),C("ngSwitchCase","priority"),z(1),C("ngSwitchCase","status"),z(1),C("ngSwitchCase","newIssue"),z(1),C("ngSwitchCase","changelistFixed"))},XGa=function(a,b){a&1&&(H(0),D(1,"p",1),P(2),E(),D(3,"div",2),O(4,WGa,12,10,"div",3),E(),I());a&2&&(a=b.ngIf,b=L(),z(2),Bg(b.title),z(2),C("ngForOf",a)("ngForTrackBy",b.trackByEventModifiedTime))},ZGa=function(a){if(a&1){var b=t();H(0);D(1,"button",17);K("click",function(){v(b);var c=L();
c.numEventsDisplayed+=3;return w()});P(2);E();I()}a&2&&(a=L(),z(2),Q("Show ",YGa(a)," more "))},$Ga=function(a){a&1&&(D(0,"div",19),F(1,"img",20),P(2,"\u00a0 "),D(3,"a",21),P(4),E()());if(a&2){a=L().ngIf;var b=L(3);z(3);C("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),ue);z(1);Q("",a.clIds.length+a.pendingChangeLists.length," CLs")}},aHa=function(a,b){a&1&&F(0,"b-user-image",22);a&2&&C("email",b.$implicit)},bHa=function(a,b){a&1&&(D(0,"div",15)(1,"div",16),O(2,$Ga,5,2,"div",17),E(),O(3,aHa,
1,1,"b-user-image",18),R(4,"slice"),E());a&2&&(a=b.ngIf,z(2),C("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length),z(1),C("ngForOf",Kg(4,2,a.contributors,0,15)))},cHa=function(a){a&1&&(H(0),O(1,bHa,5,6,"div",14),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.projectData$)))},dHa=function(a,b){a&1&&(D(0,"div",26),F(1,"div",27),P(2),R(3,"number"),E());if(a&2){a=b.$implicit;b=L().$implicit;var c=L(3);Ag("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");z(1);dg("style",
c.makePie(a/100),Wea);z(1);Q(" ",Jg(3,4,a,"1.0-0"),"% Complete ")}},fHa=function(a){a&1&&(D(0,"a",21),P(1),E());if(a&2){a=L(2).$implicit;var b=L(3);C("href",b.makeCritiqueUrl(Fg(2,eHa),a.pendingChangeLists),ue);z(1);Q("(",a.pendingChangeLists.length," pending)")}},gHa=function(a){a&1&&(D(0,"div",19),F(1,"img",20),P(2,"\u00a0 "),D(3,"a",21),P(4),E(),P(5," \u00a0 "),O(6,fHa,2,3,"a",28),E());if(a&2){a=L().$implicit;var b=L(3);z(3);C("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),ue);z(1);Q("",
a.clIds.length+a.pendingChangeLists.length," CLs");z(2);C("ngIf",0<a.pendingChangeLists.length)}},hHa=function(a,b){a&1&&(D(0,"div",24),O(1,dHa,4,7,"div",25),O(2,gHa,7,3,"div",17),E());a&2&&(a=b.$implicit,z(1),C("ngIf",(a.totalCount-a.openCount)/a.totalCount*100),z(1),C("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},iHa=function(a){a&1&&(H(0),O(1,hHa,3,2,"div",23),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.projectData$)))},jHa=function(a,b){a&1&&(H(0),F(1,"flat-issues-table",
32),I());a&2&&(a=b.ngIf,b=L(3),z(1),C("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},kHa=function(a){a&1&&(D(0,"div",29),O(1,jHa,2,3,"ng-container",12),R(2,"slice"),R(3,"async"),D(4,"div",30)(5,"a",31),P(6,"View all issues"),E()()());if(a&2){a=L().ngIf;var b=L();z(1);C("ngIf",Kg(2,2,S(3,6,b.hotlistIssueIds$),0,10));z(4);yg("href","/hotlists/",a.hotlistId,"",ue)}},lHa=function(a){a&1&&(H(0),F(1,"activity-stream",35),R(2,"async"),I());a&2&&(a=L(3),z(1),C("activityEvents",
S(2,1,a.hotlistActivityEvents$)))},mHa=function(a){a&1&&F(0,"b-spinner")},nHa=function(a){a&1&&(D(0,"footer"),F(1,"hr"),O(2,lHa,3,3,"ng-container",33),R(3,"async"),O(4,mHa,1,0,"ng-template",null,34,$g),E());if(a&2){var b=N(5);a=L(2);z(2);C("ngIf",S(3,2,a.hotlistActivityEvents$))("ngIfElse",b)}},oHa=function(a,b){if(a&1){var c=t();D(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);K("click",function(){var d=v(c).ngIf,e=L();return w(eq(e.hackyPrefs,"hotlist-"+d.hotlistId))});P(5,"Remove");
E();D(6,"button",6);K("click",function(){var d=v(c).ngIf,e=L();return w(fq(e.hackyPrefs,"hotlist-"+d.hotlistId))});P(7,"Add");E()()();D(8,"div",7)(9,"span",8)(10,"a",9);P(11);E();D(12,"i",10);K("click",function(){var d=v(c).ngIf,e=L();return w(gq(e.hackyPrefs,"hotlist-"+d.hotlistId))});E()();D(13,"span",11);P(14);E()();O(15,cHa,3,3,"ng-container",12);E();O(16,iHa,3,3,"ng-container",12);O(17,kHa,7,8,"div",13);O(18,nHa,6,4,"footer",12);E()}a&2&&(a=b.ngIf,b=L(),pg("collapsed",b.isCollapsed(a))("add-mode",
b.addMode),z(10),yg("href","/hotlists/",a.hotlistId,"",ue),z(1),Q(" ",a.name," "),z(3),Q(" hotlists/",a.hotlistId," "),z(1),C("ngIf",!b.addMode),z(1),C("ngIf",!b.isCollapsed(a)),z(1),C("ngIf",!b.isCollapsed(a)),z(1),C("ngIf",!b.isCollapsed(a)))},pHa=function(a){a&1&&(D(0,"div",15),F(1,"img",16),P(2,"\u00a0 "),D(3,"a",17),P(4),E()());if(a&2){a=L().$implicit;var b=L(2);z(3);C("href",b.makeCritiqueUrl(a.clIds),ue);z(1);Q("",a.clIds.length," CLs")}},qHa=function(a,b){a&1&&F(0,"b-user-image",18);a&2&&
C("email",b.$implicit)},rHa=function(a,b){if(a&1){var c=t();D(0,"div",11);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.log(d))});D(1,"div",12);O(2,pHa,5,2,"div",13);E();O(3,qHa,1,1,"b-user-image",14);E()}a&2&&(a=b.$implicit,z(2),C("ngIf",0<a.clIds.length),z(1),C("ngForOf",a.contributors))},sHa=function(a){a&1&&(H(0),F(1,"b-issue-priority-display",20),I());a&2&&(a=L().$implicit,z(1),C("issuePriority",a))},tHa=function(a,b){a&1&&(H(0),O(1,sHa,2,1,"ng-container",10),I());a&2&&(a=b.$implicit,
z(1),C("ngIf","P0"===a||"P1"===a))},uHa=function(a){a&1&&(H(0),D(1,"div"),P(2),D(3,"a",21),P(4,"View as project"),E()(),I());a&2&&(a=L(2).$implicit,z(2),Cg(" \ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66 ",a.childIssueCount," ",1===a.childIssueCount?"child":"children",". "))},vHa=function(a){a&1&&(D(0,"div",15),F(1,"img",16),P(2,"\u00a0 "),D(3,"a",17),P(4),E()());if(a&2){a=L().$implicit;var b=L(2);z(3);C("href",b.makeCritiqueUrl(a.clIds),ue);z(1);Q("",a.clIds.length," CLs")}},wHa=function(a,b){if(a&
1){var c=t();D(0,"div",19);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.log(d))});O(1,tHa,2,1,"ng-container",10);O(2,uHa,5,2,"ng-container",10);O(3,vHa,5,2,"div",13);E()}a&2&&(a=b.$implicit,b=L().$implicit,z(1),C("ngIf",b.snapshot[0].priority),z(1),C("ngIf",0<b.childIssueCount),z(1),C("ngIf",0<a.clIds.length))},xHa=function(a,b){if(a&1){var c=t();H(0);D(1,"p",22);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.log(d))});P(2," Description: ");E();D(3,"p");P(4);R(5,"slice");
E();I()}a&2&&(a=b.$implicit,z(4),Q(" ",Kg(5,1,null==a.firstEvent?null:a.firstEvent.unlinkifiedComment,0,300)," "))},yHa=function(a,b){if(a&1){var c=t();D(0,"div",1);K("click",function(){var d=v(c).$implicit,e=L();return w(e.log(d))});D(1,"div",2)(2,"div")(3,"span",3)(4,"a",4);P(5);E();D(6,"i",5);K("click",function(){var d=v(c).$implicit,e=L();return w(gq(e.hackyPrefs,"project-"+d.issueId))});E()();D(7,"span",6);P(8);E()();O(9,rHa,4,2,"div",7);R(10,"async");E();O(11,wHa,4,3,"div",8);R(12,"async");
D(13,"div",9);O(14,xHa,6,5,"ng-container",10);R(15,"async");E();F(16,"div",2);E()}a&2&&(a=b.$implicit,b=L(),pg("collapsed",b.prefs.collapsed["project-"+a.issueId]),z(4),yg("href","/issues/",a.issueId,"/dependencies",ue),z(1),Q(" ",a.snapshot[0].title," "),z(3),Q(" ",a.issueId," "),z(1),C("ngIf",S(10,8,b.projectData$)),z(2),C("ngIf",S(12,10,b.projectData$)),z(3),C("ngIf",S(15,12,b.issueFr$)))},AHa=function(a){a=zHa(a);null!=a?(a=a.dateValue,a=new Date(a.year,a.month-1,a.day)):a=void 0;if(null==a)return"";
var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},CHa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+BHa+"&description="+a},DHa=function(a){return function(b){return fj(b,hq,1).map(function(c){return{workspaceId:c.getWorkspaceId(),workspaceName:c.getName(),issueId:a}})}},EHa=function(a){a&1&&(D(0,"div",21),F(1,"img",22),P(2,"\u00a0 "),D(3,"a",23),P(4),E()());if(a&2){a=L().$implicit;var b=L(3);
z(3);C("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),ue);z(1);Q("",a.clIds.length+a.pendingChangeLists.length," CLs")}},FHa=function(a,b){a&1&&F(0,"b-user-image",24);a&2&&C("email",b.$implicit)},GHa=function(a,b){if(a&1){var c=t();D(0,"div",17);K("click",function(){var d=v(c).$implicit,e=L(3);return w(e.log(d))});D(1,"div",18);O(2,EHa,5,2,"div",19);E();O(3,FHa,1,1,"b-user-image",20);R(4,"slice");E()}a&2&&(a=b.$implicit,z(2),C("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length),z(1),C("ngForOf",
Kg(4,2,a.contributors,0,15)))},HHa=function(a){a&1&&(H(0),O(1,GHa,5,6,"div",16),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.projectData$)))},IHa=function(a,b){a&1&&(D(0,"div",28),F(1,"div",29),P(2),R(3,"number"),E());if(a&2){a=b.$implicit;b=L().$implicit;var c=L(3);Ag("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");z(1);dg("style",c.makePie(a/100),Wea);z(1);Q(" ",Jg(3,4,a,"1.0-0"),"% Complete ")}},JHa=function(a){a&1&&(D(0,"div",21),F(1,"mat-icon",30),P(2),E());
if(a&2){a=L(3).$implicit;var b=L();z(2);Q(" Target: ",b.getEndDate(a)," ")}},LHa=function(a){a&1&&(D(0,"a",23),P(1),E());if(a&2){a=L(2).$implicit;var b=L(3);C("href",b.makeCritiqueUrl(Fg(2,KHa),a.pendingChangeLists),ue);z(1);Q("(",a.pendingChangeLists.length," pending)")}},MHa=function(a){a&1&&(D(0,"div",21),F(1,"img",22),P(2,"\u00a0 "),D(3,"a",23),P(4),E(),P(5," \u00a0 "),O(6,LHa,2,3,"a",31),E());if(a&2){a=L().$implicit;var b=L(3);z(3);C("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),ue);
z(1);Q("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);C("ngIf",0<a.pendingChangeLists.length)}},NHa=function(a,b){if(a&1){var c=t();D(0,"div",26);K("click",function(){var e=v(c).$implicit,f=L(3);return w(f.log(e))});O(1,IHa,4,7,"div",27);O(2,JHa,3,1,"div",19);O(3,MHa,7,3,"div",19);E()}if(a&2){a=b.$implicit;b=L(2).$implicit;var d=L();z(1);C("ngIf",(a.totalCount-a.openCount)/a.totalCount*100);z(1);C("ngIf",d.getEndDate(b));z(1);C("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length)}},
OHa=function(a){a&1&&(H(0),O(1,NHa,4,3,"div",25),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.projectData$)))},QHa=function(a){a&1&&(H(0),F(1,"expandable-issues-table",33),R(2,"async"),I());if(a&2){a=L(2).$implicit;var b=L();z(1);yg("saveExpansionAtKey","project-expansion-",a.issueId,"");C("rootIssueId",a.issueId)("filters",b.hackyPrefs.prefs.projectFilters)("tableColumns",b.TABLE_COLUMNS)("options",Fg(8,PHa))("projectData",S(2,6,b.projectData$))}},RHa=function(a){a&1&&(H(0),P(1," No children. "),
D(2,"a",34),P(3,"Add"),E(),I());a&2&&(a=L(2).$implicit,z(2),yg("href","/issues/",a.issueId,"/dependencies",ue))},SHa=function(a){a&1&&(D(0,"div",32),F(1,"hr"),O(2,QHa,3,9,"ng-container",14),O(3,RHa,4,1,"ng-container",14),E());a&2&&(a=L().$implicit,z(2),C("ngIf",0<a.childIssueCount),z(1),C("ngIf",0===a.childIssueCount))},THa=function(a,b){a&1&&(H(0),D(1,"a",35),P(2,"Taskflow"),E(),I());a&2&&(a=b.$implicit,z(1),C("href",a,ue))},UHa=function(a){a&1&&(H(0),D(1,"a",38),P(2),E(),I());if(a&2){a=L().$implicit;
var b=L(3);z(1);C("href",b.makeScreenshotViewUrl(a.screenshots),ue);z(1);Q("",a.screenshots.length," Screenshots")}},VHa=function(a,b){a&1&&(H(0),O(1,UHa,3,2,"ng-container",14),I());a&2&&(a=b.$implicit,z(1),C("ngIf",3<a.screenshots.length))},WHa=function(a){a&1&&(H(0),F(1,"activity-stream",39),R(2,"async"),I());a&2&&(a=L(3),z(1),C("activityEvents",S(2,2,a.projectActivityStream$))("title","Project Activity"))},XHa=function(a){a&1&&F(0,"b-spinner")},YHa=function(a){a&1&&(D(0,"footer"),F(1,"hr"),D(2,
"a",35),P(3,"PRD"),E(),D(4,"a",35),P(5,"Design Doc"),E(),D(6,"a",36),P(7,"Launch"),E(),O(8,THa,3,1,"ng-container",14),R(9,"async"),O(10,VHa,2,1,"ng-container",14),R(11,"async"),F(12,"hr"),O(13,WHa,3,4,"ng-container",1),R(14,"async"),O(15,XHa,1,0,"ng-template",null,37,$g),E());if(a&2){var b=N(16);a=L().$implicit;var c=L();z(2);yg("href","/issues/",a.issueId,"/resources?highlight=PRD",ue);z(2);yg("href","/issues/",a.issueId,"/resources?highlight=Design",ue);z(4);C("ngIf",S(9,6,c.taskFlowLink$));z(2);
C("ngIf",S(11,8,c.projectData$));z(3);C("ngIf",S(14,10,c.projectActivityStream$))("ngIfElse",b)}},ZHa=function(a,b){if(a&1){var c=t();H(0);D(1,"header",3)(2,"aside",4)(3,"div",5)(4,"button",6);K("click",function(){var d=v(c).$implicit,e=L();return w(eq(e.hackyPrefs,d.issueId))});P(5,"Remove");E();D(6,"button",7);K("click",function(){var d=v(c).$implicit,e=L();return w(fq(e.hackyPrefs,d.issueId))});P(7,"Add");E()()();D(8,"div",8)(9,"div",3)(10,"div",9)(11,"span",10)(12,"a",11);P(13);E();D(14,"i",12);
K("click",function(){var d=v(c).$implicit,e=L();return w(gq(e.hackyPrefs,"project-"+d.issueId))});E()();D(15,"span",13);P(16);E()();O(17,HHa,3,3,"ng-container",14);E()()();O(18,OHa,3,3,"ng-container",14);O(19,SHa,4,2,"div",15);O(20,YHa,17,12,"footer",14);I()}a&2&&(a=b.$implicit,b=L(),z(12),yg("href","/issues/",a.issueId,"/dependencies",ue),z(1),Q(" ",a.snapshot[0].title," "),z(3),Q(" ",a.issueId," "),z(1),C("ngIf",!b.addMode),z(1),C("ngIf",!b.isCollapsed(a.issueId)),z(1),C("ngIf",!b.isCollapsed(a.issueId)),
z(1),C("ngIf",!b.isCollapsed(a.issueId)))},$Ha=function(a){a&1&&(H(0),F(1,"b-spinner"),I())},aIa=function(a){if(a&1){var b=t();D(0,"p",41);P(1);D(2,"a",42);K("click",function(){v(b);var c=L(2);return w(eq(c.hackyPrefs,c.issueId))});P(3," Remove ");E()()}a&2&&(a=L(2),z(1),Q(" b/",a.issueId," "))},bIa=function(a){a&1&&(O(0,$Ha,2,0,"ng-container",1),O(1,aIa,4,1,"ng-template",null,40,$g));if(a&2){var b=N(2);a=L();C("ngIf",a.issueFridge.isThinking(a.issueId))("ngIfElse",b)}},dIa=function(a){a=cIa(a);null!=
a?(a=a.dateValue,a=new Date(a.year,a.month-1,a.day)):a=void 0;if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},fIa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+eIa+"&description="+a},gIa=function(a){return gua(a.getSearch())},hIa=function(a){a&1&&(D(0,"div",19),F(1,"img",20),P(2,"\u00a0 "),D(3,"a",21),P(4),E()());if(a&2){a=L().ngIf;var b=L(3);z(3);C("href",b.makeCritiqueUrl(a.clIds,
a.pendingChangeLists),ue);z(1);Q("",a.clIds.length+a.pendingChangeLists.length," CLs")}},iIa=function(a,b){a&1&&F(0,"b-user-image",22);a&2&&C("email",b.$implicit)},jIa=function(a,b){a&1&&(D(0,"div",15)(1,"div",16),O(2,hIa,5,2,"div",17),E(),O(3,iIa,1,1,"b-user-image",18),R(4,"slice"),E());a&2&&(a=b.ngIf,z(2),C("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length),z(1),C("ngForOf",Kg(4,2,a.contributors,0,15)))},kIa=function(a){a&1&&(H(0),O(1,jIa,5,6,"div",14),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",
S(2,1,a.savedSearchAggregatedData$)))},mIa=function(a){a&1&&(D(0,"a",21),P(1),E());if(a&2){a=L(2).$implicit;var b=L(3);C("href",b.makeCritiqueUrl(Fg(2,lIa),a.pendingChangeLists),ue);z(1);Q("(",a.pendingChangeLists.length," pending)")}},nIa=function(a){a&1&&(D(0,"div",19),F(1,"img",20),P(2,"\u00a0 "),D(3,"a",21),P(4),E(),P(5," \u00a0 "),O(6,mIa,2,3,"a",25),E());if(a&2){a=L().$implicit;var b=L(3);z(3);C("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),ue);z(1);Q("",a.clIds.length+a.pendingChangeLists.length,
" CLs");z(2);C("ngIf",0<a.pendingChangeLists.length)}},oIa=function(a,b){a&1&&(D(0,"div",24),O(1,nIa,7,3,"div",17),E());a&2&&(a=b.$implicit,z(1),C("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},pIa=function(a){a&1&&(H(0),O(1,oIa,2,1,"div",23),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.savedSearchAggregatedData$)))},qIa=function(a,b){a&1&&(H(0),F(1,"flat-issues-table",29),I());a&2&&(a=b.ngIf,b=L(3),z(1),C("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},
rIa=function(a){a&1&&(D(0,"div",26),O(1,qIa,2,3,"ng-container",12),R(2,"slice"),R(3,"async"),D(4,"div",27)(5,"a",28),P(6,"View all issues"),E()()());if(a&2){a=L().ngIf;var b=L();z(1);C("ngIf",Kg(2,2,S(3,6,b.savedSearchIssueIds$),0,10));z(4);yg("href","/savedsearches/",a.searchId,"",ue)}},sIa=function(a){a&1&&(H(0),F(1,"activity-stream",32),R(2,"async"),I());a&2&&(a=L(3),z(1),C("activityEvents",S(2,1,a.savedSearchActivityEvents$)))},tIa=function(a){a&1&&F(0,"b-spinner")},uIa=function(a){a&1&&(D(0,
"footer"),F(1,"hr"),O(2,sIa,3,3,"ng-container",30),R(3,"async"),O(4,tIa,1,0,"ng-template",null,31,$g),E());if(a&2){var b=N(5);a=L(2);z(2);C("ngIf",S(3,2,a.savedSearchActivityEvents$))("ngIfElse",b)}},vIa=function(a,b){if(a&1){var c=t();D(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);K("click",function(){var d=v(c).ngIf,e=L();return w(eq(e.hackyPrefs,"savedsearch-"+d.searchId))});P(5,"Remove");E();D(6,"button",6);K("click",function(){var d=v(c).ngIf,e=L();return w(fq(e.hackyPrefs,
"savedsearch-"+d.searchId))});P(7,"Add");E()()();D(8,"div",7)(9,"span",8)(10,"a",9);P(11);E();D(12,"i",10);K("click",function(){var d=v(c).ngIf,e=L();return w(gq(e.hackyPrefs,"savedsearch-"+d.searchId))});E()();D(13,"span",11);P(14);E()();O(15,kIa,3,3,"ng-container",12);E();O(16,pIa,3,3,"ng-container",12);O(17,rIa,7,8,"div",13);O(18,uIa,6,4,"footer",12);E()}a&2&&(a=b.ngIf,b=L(),pg("collapsed",b.isCollapsed(a)),z(10),yg("href","/savedsearches/",a.searchId,"",ue),z(1),Q(" ",a.name," "),z(3),Q(" savedsearches/",
a.searchId," "),z(1),C("ngIf",!b.addMode),z(1),C("ngIf",!b.isCollapsed(a)),z(1),C("ngIf",!b.isCollapsed(a)),z(1),C("ngIf",!b.isCollapsed(a)))},wIa=function(a){if(a&1){var b=t();D(0,"b-star-toggle",9);K("starClicked",function(){v(b);var c=L(2);return w(c.starClicked.emit())});R(1,"async");R(2,"async");E()}a&2&&(a=L(2),C("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!S(1,4,iq(a.isSavingStar,a.hotlist.hotlistId)))("starred",S(2,6,iq(a.starredHotlists,a.hotlist.hotlistId))))},
xIa=function(a){a&1&&(D(0,"p",10),P(1),E());a&2&&(a=L(2),z(1),Q(" ",a.hotlist.description," "))},yIa=function(a){a&1&&(D(0,"div",1)(1,"div",2)(2,"label",3),P(3),E(),D(4,"span",4),O(5,wIa,3,8,"b-star-toggle",5),D(6,"a",6),K("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),F(7,"mat-icon",7),E()()(),O(8,xIa,2,1,"p",8),E());a&2&&(a=L(),z(3),Q(" ",a.hotlist.name," "),z(2),C("ngIf",a.shouldShowStar(a.hotlist)),z(1),C("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),
z(2),C("ngIf",!a.isCompact&&a.hotlist.description))},zIa=function(a){a&1&&F(0,"mat-pseudo-checkbox",5);a&2&&(a=L(),C("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},AIa=function(a){a&1&&tg(0)},BIa=function(a){a&1&&(H(0),O(1,AIa,1,0,"ng-container",6),I());if(a&2){L();var b=N(12);z(1);C("ngTemplateOutlet",b)}},CIa=function(a){a&1&&tg(0)},DIa=function(a){a&1&&(H(0),O(1,CIa,1,0,"ng-container",6),I());if(a&2){L();var b=N(6);z(1);C("ngTemplateOutlet",b)}},GIa=function(a){if(a&1){var b=
t();D(0,"button",7);K("click",function(){v(b);var c=L();return w(EIa(c))});P(1," Create ");E()}a&2&&(a=L(),C("disabled",!(0<FIa(a).length)))},HIa=function(a){if(a&1){var b=t();D(0,"button",8);K("click",function(){v(b);var c=L();return w(jq(c))});P(1);E()}a&2&&(a=L(),C("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),dg("aria-label",a.saveBtnTooltip),z(1),Q(" ",a.saveBtnLabel," "))},JIa=function(a){if(a&1){var b=t();D(0,"button",19);K("click",function(){v(b);var c=L(2),
d=sj(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),jq(c)):IIa(c,d);return w()});P(1);R(2,"async");D(3,"span",20);P(4,"(add hotlist by ID)");E()()}a&2&&(a=L(2),z(1),Q(" ",S(2,1,a.query$)," "))},KIa=function(a){if(a&1){var b=t();D(0,"button",21);K("click",function(){v(b);L(2).showCreateNewPane=!0;return w()});P(1);R(2,"async");D(3,"span",20);P(4,"(create new)");E()()}a&2&&(a=L(2),z(1),Q(" ",S(2,1,a.query$)," "))},LIa=function(a,b){if(a&1){var c=t();H(0);D(1,"div",25,26);R(3,"async");
D(4,"mat-list-option",27);K("focus",function(){v(c);var f=N(2);return w(f.show())})("blur",function(){v(c);var f=N(2);return w(f.hide())});R(5,"async");D(6,"hotlist-matlist-option",28);K("starClicked",function(){var f=v(c).$implicit,h=L(3);return w(h.toggleStar(f.hotlistId))});E()()();I()}if(a&2){a=b.$implicit;b=L(3);var d,e;z(1);C("matTooltip",!1===(null==(d=S(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");z(3);og("height","auto");C("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",
!1===(null==(e=S(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);z(2);C("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},MIa=function(a){if(a&1){var b=t();H(0);D(1,"div",29)(2,"span",20);P(3," The number of hotlists is too large to show at once. ");E();D(4,"button",30);K("click",function(){v(b);var c=L(3);return w(c.forceShowOverflow$.next(!0))});P(5," Show all anyway ");E()();I()}},OIa=function(a,b){if(a&1){var c=t();H(0);D(1,"mat-selection-list",
22,23);K("selectionChange",function(d){v(c);var e=L(2);return w(NIa(e,d))});O(3,LIa,7,14,"ng-container",24);E();O(4,MIa,6,0,"ng-container",18);R(5,"async");I()}a&2&&(a=b.$implicit,b=L(2),z(3),C("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),z(1),C("ngIf",S(5,3,b.isOverflowMode$)))},PIa=function(a){if(a&1){var b=t();D(0,"header",9)(1,"h2");P(2,"Search for Hotlists");E();D(3,"div",10);F(4,"mat-icon",11);D(5,"input",12,13);K("input",function(){v(b);var c=N(6);L().query$.next(c.value);return w()});E()()();
D(7,"section",14,15);O(9,JIa,5,3,"button",16);R(10,"async");O(11,KIa,5,3,"button",17);R(12,"async");O(13,OIa,6,5,"ng-container",18);R(14,"async");E()}a&2&&(a=L(),z(9),C("ngIf",S(10,3,a.showLoadById$)),z(2),C("ngIf",S(12,5,a.showCreateNew$)),z(2),C("ngIf",S(14,7,a.visibleHotlists$)))},QIa=function(a){a&1&&(D(0,"header",9)(1,"h2"),P(2,"Create new hotlist"),E()(),D(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",34),P(7,"Name"),E(),F(8,"input",35),D(9,"label",36),P(10,"Description"),E(),F(11,"textarea",
37),D(12,"p",20),P(13," Note: Access controls can be adjusted after the hotlist is created. "),E()()()());a&2&&(a=L(),z(5),C("formGroup",a.hotlistUnderEdit))},RIa=function(a,b){return a.name.localeCompare(b.name)},SIa=function(a,b){if(null==a||""===a.trim())return!1;b=b.map(function(c){var d;return null==(d=c.name)?void 0:d.toLowerCase()});a=a.toLowerCase();return!b.includes(a)},TIa=function(a){var b,c=null!=(b=null==a?void 0:a.added.length)?b:0,d;b=null!=(d=null==a?void 0:a.removed.length)?d:0;return a?
0<c&&0===b?["Add ("+c+")","Add "+c+" hotlist(s)"]:0===c&&0<b?["Remove ("+b+")","Remove "+b+" hotlist(s)"]:["Save","Save all changes ("+c+" added, "+b+" removed)"]:["Save","(No changes)"]},UIa=function(a,b){a&1&&F(0,"hotlist-as-project-card",9);a&2&&C("hotlistId",b.$implicit)},VIa=function(a){a&1&&(H(0),O(1,UIa,1,1,"hotlist-as-project-card",8),I());if(a&2){a=L().$implicit;var b=L();z(1);C("ngIf",b.extractHotlistId(a))}},WIa=function(a){a&1&&F(0,"issue-as-immersed-card",12);a&2&&(a=L(2).$implicit,C("issueId",
a))},XIa=function(a){a&1&&F(0,"issue-as-project-card",12);a&2&&(a=L(2).$implicit,C("issueId",a))},YIa=function(a){a&1&&(H(0)(1,5),O(2,WIa,1,1,"issue-as-immersed-card",10),O(3,XIa,1,1,"issue-as-project-card",11),I()());if(a&2){a=L().$implicit;var b=L();z(1);C("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);z(1);C("ngSwitchCase",b.IMMERSED)}},ZIa=function(a){a&1&&F(0,"issue-as-immersed-card",12);a&2&&(a=L(2).$implicit,C("issueId",a))},$Ia=function(a){a&1&&F(0,"issue-as-project-card",
12);a&2&&(a=L(2).$implicit,C("issueId",a))},aJa=function(a){a&1&&(H(0)(1,5),O(2,ZIa,1,1,"issue-as-immersed-card",10),O(3,$Ia,1,1,"issue-as-project-card",11),I()());if(a&2){a=L().$implicit;var b=L();z(1);C("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);z(1);C("ngSwitchCase",b.IMMERSED)}},bJa=function(a,b){a&1&&F(0,"saved-search-as-project-card",14);a&2&&C("savedSearchId",b.$implicit)},cJa=function(a){a&1&&(H(0),O(1,bJa,1,1,"saved-search-as-project-card",13),I());if(a&2){a=
L().$implicit;var b=L();z(1);C("ngIf",b.extractSavedSearchId(a))}},dJa=function(a){if(a&1){var b=t();H(0);D(1,"p",15);P(2," Unknown id/url format: `");D(3,"code");P(4);E();P(5,"`. ");D(6,"a",16);K("click",function(){v(b);var c=L().$implicit,d=L();return w(eq(d.hackyPrefs,c))});P(7," Remove ");E();F(8,"br");P(9," Learn more: ");D(10,"a",17);P(11,"go/b-learn-project-add");E()();I()}a&2&&(a=L().$implicit,z(4),Bg(a))},eJa=function(a,b){a&1&&(H(0)(1,5),O(2,VIa,2,1,"ng-container",6),O(3,YIa,4,2,"ng-container",
6),O(4,aJa,4,2,"ng-container",6),O(5,cJa,2,1,"ng-container",6),O(6,dJa,12,1,"ng-container",7),I()());a&2&&(a=b.$implicit,b=L(),z(1),C("ngSwitch",b.inferEntityType(a)),z(1),C("ngSwitchCase","hotlist"),z(1),C("ngSwitchCase","plain-id"),z(1),C("ngSwitchCase","issue"),z(1),C("ngSwitchCase","savedsearch"))},gJa=function(a){if(a&1){var b=t();D(0,"aside",19)(1,"button",20);K("click",function(){v(b);var c=L(2);return w(c.onClickAdd())});F(2,"mat-icon",21);P(3," Add project ");E();D(4,"button",22);K("click",
function(){v(b);var c=L(2);return w(fJa(c))});P(5," Add Hotlist ");E();D(6,"button",22);K("click",function(){v(b);var c=L(2);c.projectPicker.open({prefilledSearchInput:"savedsearch-"}).then(c.addProject);return w()});P(7," Add Saved Search ");E()()}},hJa=function(a,b){a&1&&(H(0),O(1,gJa,8,0,"aside",18),I());a&2&&(a=b.$implicit,z(1),C("ngIf",0<a.length&&10>=a.length))},iJa=function(a){if(a&1){var b=t();H(0);D(1,"div",23);F(2,"img",24);D(3,"p");P(4," No Projects selected. ");D(5,"button",25);K("click",
function(){v(b);var c=L();return w(c.onClickAdd())});P(6,"Add Project");E()();D(7,"p",15)(8,"a",26);F(9,"mat-icon",27);E();P(10,' You can add hotlists or "parent" tracking issues. ');E()();I()}a&2&&(a=L(),z(2),C("src",a.SPACE_EMPTY_STATE,ue))},jJa=function(a,b){a&1&&(H(0),F(1,"issue-as-project-card",35),I());a&2&&(a=b.$implicit,z(1),C("issueId",a.issueId)("addMode",!0))},kJa=function(a){a&1&&(D(0,"p",15),P(1,"No projects found."),E())},lJa=function(a){if(a&1){var b=t();D(0,"button",36);K("click",
function(){v(b);var c=L(3);return w(c.projectSuggestLimit=2*c.projectSuggestLimit)});P(1," Show more ");E()}},mJa=function(a,b){a&1&&(H(0),D(1,"div",31)(2,"p",15)(3,"a",32),F(4,"mat-icon",27),E(),P(5," Calculated from your involvement with parent/child work items. "),E(),O(6,jJa,2,2,"ng-container",3),R(7,"slice"),O(8,kJa,2,0,"p",33),O(9,lJa,2,0,"button",34),E(),I());a&2&&(a=b.ngIf,b=L(2),z(6),C("ngForOf",Kg(7,3,a,0,b.projectSuggestLimit)),z(2),C("ngIf",0===a.length),z(1),C("ngIf",a.length>b.projectSuggestLimit))},
nJa=function(a){a&1&&F(0,"b-spinner")},oJa=function(a,b){a&1&&(H(0),F(1,"hotlist-as-project-card",38),I());a&2&&(a=b.$implicit,z(1),C("hotlistId",a)("addMode",!0))},pJa=function(a){a&1&&(D(0,"p",15),P(1,"No hotlists found."),E())},qJa=function(a){if(a&1){var b=t();D(0,"button",36);K("click",function(){v(b);var c=L(3);return w(c.hotlistSuggestLimit=2*c.hotlistSuggestLimit)});P(1," Show more ");E()}},rJa=function(a,b){a&1&&(H(0),D(1,"div",31)(2,"p",15)(3,"a",37),F(4,"mat-icon",27),E(),P(5," These hotlists appear most often in your recent issues. "),
E(),O(6,oJa,2,2,"ng-container",3),R(7,"slice"),O(8,pJa,2,0,"p",33),O(9,qJa,2,0,"button",34),E(),I());a&2&&(a=b.ngIf,b=L(2),z(6),C("ngForOf",Kg(7,3,a,b.skipFirstSuggestion?1:0,b.hotlistSuggestLimit)),z(2),C("ngIf",0===a.length),z(1),C("ngIf",a.length>b.hotlistSuggestLimit))},sJa=function(a){a&1&&F(0,"b-spinner")},tJa=function(a){a&1&&(H(0),D(1,"div")(2,"h2"),P(3," Suggestions "),E(),O(4,mJa,10,7,"ng-container",28),R(5,"async"),O(6,nJa,1,0,"ng-template",null,29,$g),E(),D(8,"div"),O(9,rJa,10,7,"ng-container",
28),R(10,"async"),O(11,sJa,1,0,"ng-template",null,30,$g),E(),I());if(a&2){var b=N(7),c=N(12);a=L();z(4);C("ngIf",S(5,4,a.suggestedProjects$))("ngIfElse",b);z(5);C("ngIf",S(10,6,a.suggestedHotlistIds$))("ngIfElse",c)}},vJa=function(a){for(var b={},c=m(a.getComponentsMap().entries()),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=yl(e)}var f,h;return{issuesWithSignals:fj(a,kq,1).map(uJa),numTotalResults:null!=(f=a.getNumTotalResults())?f:0,components:b,
nextPageToken:null!=(h=a.getNextPageToken())?h:""}},uJa=function(a){return{issue:Ol(a.getIssue()),signals:a.getSignalsList().map(wJa)}},wJa=function(a){return{signalType:Gqa[bk(a,1,0)],timestamp:bj(a.getTimestamp())}},xJa=function(a){return{dismissTimestamp:sl(a,cj,1)?bj(wk(a,cj,1)):void 0}},yJa=function(a){return Vqa[a]},AJa=function(a,b){if(a&1){var c=t();D(0,"span",6);K("click",function(){v(c);var e=L().$implicit,f=L();return w(f.toggleSignal(e))});F(1,"mat-icon",7);P(2);E()}if(a&2){a=b.$implicit;
b=L().$implicit;var d=L();sg("chippy rounded ",a.className," margin-s-right");pg("selected",d.selectedSignals.includes(b));C("matTooltip",zJa(b));z(1);C("svgIcon",a.icon);z(1);Cg(" ",a.text," (",d.signalCounts[b],") ")}},BJa=function(a,b){a&1&&(H(0),O(1,AJa,3,9,"span",5),I());a&2&&(a=b.$implicit,b=L(),z(1),C("ngIf",b.SIGNAL_MAPPING[a]))},CJa=function(a,b){if(a&1){var c=t();H(0);D(1,"issue-card-compact",9);K("onDismiss",function(){v(c);var e=L().$implicit,f=L();return w(f.dismissIssue(e.issueId))});
E();I()}if(a&2){a=b.$implicit;b=L().$implicit;var d=L();z(1);C("issue",b)("moreInfoIconSvg",a.icon)("moreInfoMessage",d.getSignalTypeTooltip(b.issueId))("moreInfoAccentColor",a.color)("disableDismiss",d.dismissInProgress[b.issueId])}},EJa=function(a,b){a&1&&(H(0),O(1,CJa,2,5,"ng-container",8),I());a&2&&(b=b.$implicit,a=L(),z(1),b=DJa(a,b.issueId),C("ngIf",b?a.SIGNAL_MAPPING[b.signalType]:null))},FJa=function(a,b){a&1&&(D(0,"span",1),F(1,"mat-icon",2),E());a&2&&(a=b.ngIf,b=L(),sg("chippy rounded ",
a.className," margin-xs-right"),C("matTooltip",b.getSignalTypeTooltip()),z(1),C("svgIcon",a.icon))},GJa=function(a,b){a&1&&(H(0),F(1,"b-signal-chip",6),I());a&2&&(a=b.$implicit,z(1),C("signal",a))},HJa=function(a,b){a&1&&(D(0,"span"),O(1,GJa,2,1,"ng-container",5),E());a&2&&(a=b.row,b=L(),z(1),C("ngIf",DJa(b,a.issueId)))},IJa=function(a,b){if(a&1){var c=t();H(0);D(1,"button",7);K("click",function(d){var e=v(c).$implicit,f=L().row;L().navigateToIssue(d,e,f);return w(d.stopPropagation())});P(2);E();
I()}if(a&2){a=b.$implicit;L(2);z(2);a:switch(a.signalType){case "MENTIONED":case "NEEDS_REPORTER_INPUT":a="Reply";break a;default:a="View"}Q(" ",a," ")}},JJa=function(a,b){a&1&&(D(0,"span"),O(1,IJa,3,1,"ng-container",5),E());a&2&&(a=b.row,b=L(),z(1),C("ngIf",DJa(b,a.issueId)))},KJa=function(a,b){if(a&1){var c=t();H(0);D(1,"issue-card-compact",4);K("onDismiss",function(){var d=v(c).$implicit,e=L();eq(e.hackyPrefs,d.issueId);e.refreshMonitor.refreshRequest.next();return w()});E();I()}a&2&&(a=b.$implicit,
z(1),C("issue",a))},LJa=function(a){a&1&&(H(0),P(1," No pinned issues. Click the 'pin' icon to add issues here. "),I())},MJa=function(a){a&1&&(D(0,"h4",11),P(1,"Pinned"),E())},NJa=function(a,b){if(a&1){var c=t();H(0);D(1,"issue-card-compact",12);K("onDismiss",function(){var d=v(c).$implicit,e=L(2);eq(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return w()});E();I()}a&2&&(a=b.$implicit,z(1),C("issue",a))},PJa=function(a){a&1&&(H(0),O(1,MJa,2,0,"h4",8),R(2,"async"),D(3,"section",9),O(4,NJa,2,1,
"ng-container",10),R(5,"async"),E(),I());if(a&2){a=L();var b;z(1);C("ngIf",null!==(b=0<(null!==(b=S(2,2,a.pinnedIssues$))&&void 0!==b?b:Fg(6,OJa)).length)&&void 0!==b?b:!1);z(3);C("ngForOf",S(5,4,a.pinnedIssues$))}},QJa=function(a){if(a&1){var b=t();H(0);D(1,"button",13);K("click",function(c){v(b);var d=L().row,e=L();eq(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return w(c.stopPropagation())});D(2,"mat-icon",14);P(3,"keep_off");E()();I()}},RJa=function(a){if(a&1){var b=t();H(0);D(1,"button",
15);K("click",function(c){v(b);var d=L().row,e=L();fq(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return w(c.stopPropagation())});D(2,"mat-icon",14);P(3,"keep");E()();I()}},SJa=function(a,b){a&1&&(D(0,"span"),O(1,QJa,4,0,"ng-container",1),O(2,RJa,4,0,"ng-container",1),E());a&2&&(a=b.row,b=L(),z(1),C("ngIf",lq(b.hackyPrefs).includes(a.issueId)),z(1),C("ngIf",!lq(b.hackyPrefs).includes(a.issueId)))},TJa=function(a,b){a&1&&(H(0),F(1,"flat-issues-table",5),I());a&2&&(a=b.ngIf,b=L(),z(1),pg("collapsed",
b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),C("issueIds",a)("displayedColumns",b.columnsToDisplay))},UJa=function(a){a&1&&F(0,"b-spinner")},VJa=function(a){a&1&&(D(0,"div",4),F(1,"mat-icon",5),P(2),R(3,"async"),E());if(a&2){a=L();var b=N(4);C("onedevHovercardTrigger",b);z(2);Q("",S(3,2,a.teamName$)," ")}},WJa=function(a,b){a&1&&F(0,"b-team-chip",7);a&2&&C("teamId",b.$implicit)},XJa=function(a){a&1&&(H(0),D(1,"div",2),F(2,"b-user-image",14)(3,"b-user-display",15),P(4," submitted "),F(5,"b-changelist-link",
16),P(6," for "),D(7,"b-issue-reference-widget",17),P(8),E(),F(9,"b-formatted-date-time",18),E(),D(10,"p",19),P(11),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("email",b.clAuthorToEmailAddress(a.event));z(1);C("model",b.clAuthorToUser(a.event));z(2);C("changelistId",b.getClNumber(a.event));z(2);C("href","b/issues/{{event.issueId}}")("issueId",a.issueId);z(1);Q("b/",a.issueId,"");z(1);C("timestamp",a.event.modifiedDate);z(2);Bg(b.clEventToClDescription(a.event))}},YJa=function(a){a&1&&(H(0),
D(1,"div",2),F(2,"b-user-image",14)(3,"b-user-display",15),P(4," commented on "),D(5,"b-issue-reference-widget",17),P(6),E(),F(7,"b-formatted-date-time",18),E(),D(8,"p",19),P(9),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("email",b.getUserEmailIfAvailable(a.event));z(1);C("model",a.event.userPerformingActionUser);z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Q("b/",a.issueId,"");z(1);C("timestamp",a.event.modifiedDate);z(2);Bg(a.event.unlinkifiedComment)}},ZJa=function(a){a&
1&&(H(0),D(1,"div",2),F(2,"b-user-image",14)(3,"b-user-display",15),P(4," changed priority for "),D(5,"b-issue-reference-widget",17),P(6),E(),F(7,"b-formatted-date-time",18),E(),D(8,"p",20),P(9,"Priority changed from "),F(10,"b-issue-priority-display",21),P(11," to "),F(12,"b-issue-priority-display",21),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("email",b.getUserEmailIfAvailable(a.event));z(1);C("model",a.event.userPerformingActionUser);z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",
a.issueId);z(1);Q("b/",a.issueId,"");z(1);C("timestamp",a.event.modifiedDate);z(3);C("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);C("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},$Ja=function(a){a&1&&(H(0),D(1,"div",2),F(2,"b-user-image",14)(3,"b-user-display",15),P(4," changed status for "),D(5,"b-issue-reference-widget",17),P(6),E(),F(7,"b-formatted-date-time",18),E(),D(8,"p",20),P(9),E(),I());if(a&2){a=L().$implicit;var b=L(2);
z(2);C("email",b.getUserEmailIfAvailable(a.event));z(1);C("model",a.event.userPerformingActionUser);z(2);C("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Q("b/",a.issueId,"");z(1);C("timestamp",a.event.modifiedDate);z(2);Cg("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},aKa=function(a){a&1&&(H(0),D(1,"div",2),F(2,"b-user-image",14)(3,"b-user-display",15),P(4),E(),I());if(a&2){a=L().$implicit;var b=L(2);z(2);C("email",
b.getUserEmailIfAvailable(a.event));z(1);C("model",a.event.userPerformingActionUser);z(1);Q(" updated ",a.issueId," ")}},bKa=function(a,b){a&1&&(D(0,"div",10),H(1,11),O(2,XJa,12,8,"ng-container",12),O(3,YJa,10,7,"ng-container",12),O(4,ZJa,13,8,"ng-container",12),O(5,$Ja,10,8,"ng-container",12),O(6,aKa,5,3,"ng-container",13),I(),E());a&2&&(a=b.$implicit,pg("margin-bottom",!b.last),z(1),C("ngSwitch",a.eventType),z(1),C("ngSwitchCase","changelist"),z(1),C("ngSwitchCase","comment"),z(1),C("ngSwitchCase",
"priority"),z(1),C("ngSwitchCase","status"))},cKa=function(a){a&1&&(D(0,"div",8),O(1,bKa,7,7,"div",9),E());a&2&&(a=L(),z(1),C("ngForOf",a.teamActivityEvents))},dKa=function(a,b){a&1&&F(0,"b-team-chip",12);a&2&&C("teamId",b.$implicit)},eKa=function(){},fKa=function(a){a&1&&O(0,eKa,0,0,"ng-template")},hKa=function(a,b){a&1&&(D(0,"li"),O(1,fKa,1,0,null,14),E());if(a&2){a=b.$implicit;L(2);var c=N(38);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,gKa,a))}},iKa=function(a,b){a&1&&(D(0,"div")(1,
"ol"),O(2,hKa,2,4,"li",13),E()());a&2&&(a=b.$implicit,z(2),C("ngForOf",null==a?null:a.results))},jKa=function(){},kKa=function(a){a&1&&O(0,jKa,0,0,"ng-template")},lKa=function(a,b){a&1&&(D(0,"li"),O(1,kKa,1,0,null,14),E());if(a&2){a=b.$implicit;L(2);var c=N(38);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,gKa,a))}},mKa=function(a,b){a&1&&(D(0,"div")(1,"ol"),O(2,lKa,2,4,"li",13),E()());a&2&&(a=b.$implicit,z(2),C("ngForOf",null==a?null:a.results))},nKa=function(a){a&1&&F(0,"b-issue-card",
24,25);if(a&2){var b=N(1);a=L().$implicit;C("onedevIsHovercardReady",b.init)("issueId",a.issueId)}},oKa=function(a){a&1&&(D(0,"span",26),P(1),E());a&2&&(a=L().$implicit,z(1),Q("(",null==a.aggregatedData?null:a.aggregatedData.voteCount," Votes)"))},pKa=function(a){a&1&&(D(0,"span",26),P(1),E());a&2&&(a=L().$implicit,z(1),Q("(",null==a?null:null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length," Duplicates)"))},qKa=function(a,b){a&1&&(D(0,"span"),P(1),E());a&2&&(a=b.$implicit,
b=L(2),sg("chippy status-",a,""),z(1),Q(" ",b.STATUS_TERSE[a]," "))},rKa=function(a,b){a&1&&(D(0,"onedev-hovercard",null,15),O(2,nKa,2,2,"b-issue-card",16),E(),D(3,"div",17)(4,"span",18)(5,"span"),P(6),E(),D(7,"span",19),P(8),E()(),D(9,"span")(10,"a",20),P(11),E(),O(12,oKa,2,1,"span",21),O(13,pKa,2,1,"span",21),E(),D(14,"span",22),O(15,qKa,2,4,"span",23),E()());if(a&2){a=b.$implicit;var c=N(1);b=L();z(5);sg("p-chip priority-",b.getPriorityTag(a)," margin-s-right");z(1);Q(" ",a.snapshot[0].priority,
" ");z(2);Bg(a.issueId);z(2);yg("href","/issues/",a.issueId,"",ue);C("onedevHovercardTrigger",c);z(1);Bg(a.snapshot[0].title);z(1);C("ngIf",b.shouldShowVotes(a));z(1);C("ngIf",b.shouldShowDupes(a));z(2);C("ngIf",b.shouldShowStatus(a)&&b.getStatusTag(a))}},sKa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},tKa=function(a,b){if(a&1){var c=t();H(0);D(1,"issue-card-compact",5);K("onDismiss",function(){var d=v(c).$implicit,e=L().hackyPrefs;d=d.issueId;var f=
e.prefs;f.issuesThisWeek&&f.issuesThisWeek.issues.includes(d)&&(f.issuesThisWeek.issues.splice(f.issuesThisWeek.issues.indexOf(d),1),e.save(f));return w()});E();I()}a&2&&(a=b.$implicit,z(1),C("issue",a)("onlyTitle",!0))},uKa=function(a,b){if(a&1){var c=t();H(0);D(1,"iframe",6);K("load",function(){v(c);var d=L();return w(d.contentLoaded=!0)});E();I()}a&2&&(a=b.$implicit,b=L(),z(1),pg("loading",!b.contentLoaded),C("src",a,Xea))},vKa=function(a){a&1&&F(0,"mat-spinner",7)},xKa=function(a){return wKa.some(function(b){return b.test(a)})},
yKa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},BKa=function(a){var b=yKa(a);b=(b&&zKa.includes(b)?yKa(a):"en").replaceAll("-","_").toLowerCase();var c;a=(null==(c=a.initializationData)?0:c.useNightlyRelease)?"nightly":"live";return Uh(AKa,a,b)},DKa=function(a,b,c){if(CKa)return CKa;var d=BKa(a);return CKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(e,f){var h=mq(document,"SCRIPT");Xi(h,d);h.onload=function(){b.feedbackV2GlobalObject?
e(b.feedbackV2GlobalObject):f("feedbackV2GlobalObject not found on window.")};h.onerror=function(){f("Feedback binary script tag failed to load: "+d.toString())};c.body.appendChild(h)})},EKa=function(a,b,c,d,e){e=void 0===e?!0:e;var f,h,l,q,u;return Ze(function(x){switch(x.nextAddress){case 1:return f=Date.now(),af(x,DKa(a,c,d),2);case 2:h=x.yieldResult;if(!(e||(null==(q=a.initializationData)?0:q.useNightlyRelease)||(null==(u=a.initializationData)?0:u.isLocalServer))){l=h.initializeFeedbackClient(a,
f,b);x.jumpTo(3);break}return af(x,h.initializeFeedbackClientAsync(a,f,b),4);case 4:l=x.yieldResult;case 3:return l.initiateAloha(),x.return(l)}})},FKa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,f,h,l;return Ze(function(q){f=e=c||da;if(f.isFormOpened)throw h=Error("ld"),h.name="DuplicateFormError",h;f.isFormOpened=!0;a.callbacks=a.callbacks||{};l=a.callbacks.onClose||function(){};a.callbacks.onClose=function(u){f.isFormOpened=!1;l(u)};try{return q.return(EKa(a,b,f,e.document,d))}catch(u){throw f.isFormOpened=
!1,u;}})},IKa=function(a,b){return Ze(function(c){return c.return(new Promise(function(d){var e=GKa(null!=b?b:"")+"/aloha_form_properties?productId="+a;Pi(e,function(f){f=f.target;var h=null;try{h=Uba(HKa,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(l){f=new HKa,h=new nq,h=oq(h,5,!0),h=oq(h,2,!0),h=oq(h,4,!1),h=oq(h,8,!0),h=oq(h,9,!0),h=oq(h,7,!0),h=oq(h,10,!0),h=oq(h,12,!0),h=oq(h,13,!1),h=oq(h,14,!0),h=oq(h,15,!0),h=Ok(f,nq,1,h)}d(h)},"GET","",{},2E3,!0)}))})},GKa=function(a){return xKa(a)?
a:"https://www.google.com/tools/feedback"},pq=function(a){return!!a},JKa=function(a,b){return[a.filter(b),a.filter(function(c){return!b(c)})]},KKa=function(a){window.localStorage.setItem("task_prioritization.hidden_task_ids",JSON.stringify(a))},LKa=function(a){return(0,T.pipe)(Jf(function(b,c){return"hidden"===c.type?[].concat(p(b),[c.id]):b.filter(function(d){return d!==c.id})},a),Pf(a))},MKa=function(a){a=new Date(a);var b=new Date;return b.getFullYear()===a.getFullYear()&&b.getMonth()===a.getMonth()&&
b.getDate()===a.getDate()?"back at "+a.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"back on "+a.toLocaleString("en-Us",{month:"short",day:"numeric"})},NKa=function(a,b,c){b=Math.round((b.getTime()-(new Date).getTime())/6E4);if(!(b>60*c))return c=5*Math.round(b/5),55>=c?c=c.toString()+" minutes":(c=Math.round(b/60),c=c.toString()+" hour"+(1===c?"":"s")),a+" "+c},PKa=function(a){return(a=a.map(OKa).find(function(b){return!!b}))?{type:"Future Availability",text:a}:void 0},OKa=
function(a){var b=new Date(a.timeRange.startTime);if(a.status.hasOutOfOffice)return NKa("OOO in",b,24);if(a.status.hasOutsideWorkingHours)return NKa("Outside working hours in",b,3)},QKa=function(a){a=a.map(function(b){return new qq({email:b})});return new rq({userIds:a})},RKa=function(a){return new T.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},
tq=function(a){return{"X-Goog-Api-Key":a,Authorization:sq([])||"","X-Goog-AuthUser":"0"}},SKa=function(a){return a.pipe(xf(a.pipe(Af(0))))},TKa=function(a){return a.getTagsList().includes(3)&&3===a.getType()},VKa=function(a){return UKa(a).some(function(b){return Tk(b,3)<=(new Date).getTime()})},WKa=function(a){return VKa(a)?!1:UKa(a).some(function(b){return 2592E5>=Tk(b,3)-(new Date).getTime()})},UKa=function(a){return(a=a.getSloStatus())?[a.getResponseBounds(),a.getClosureBounds(),a.getAssignmentBounds()].filter(pq).filter(function(b){return 0!==
Tk(b,3)}):[]},YKa=function(a){if(a=uq(a.getResource())){var b;var c=bk(a,18,0);var d=ij(a,6).length;var e={};d=null!=(b=(e[0]=0,e[1]=1,e[2]=2,e[3]=3,e[4]=4,e[5]=5,e[6]=5,e[7]=5,e)[d])?b:6;b=0!==d&&0!==c?XKa[c][d]:void 0;var f=(a=null==(f=a.getDescription().match(/REVIEW_TIME_SECONDS=(\d+)/))?void 0:f[1])?(new Date).getTime()/1E3-Number(a):void 0;if(!(!f||!b||f<b||21600>f))return{type:"Slow CL",text:"Slow CL",tooltipText:"This CL has taken longer to submit than similar CLs"}}},$Ka=function(a){var b=
a.numTasksPerSection,c=a.myWorkCriteria,d=a.needsMyInputCriteria,e=m(JKa(a.tasks,function(f){return f.isMyWork}));a=e.next().value;e=e.next().value;return[].concat(p(ZKa(a,c).slice(0,b)),p(ZKa(e,d).slice(0,b)))},vq=function(a){return a.resource.getLastModifiedTimestamp()},wq=function(a,b){return a.signals.some(function(c){return c.type===b})},ZKa=function(a,b){return a.sort(function(c,d){var e;return null!=(e=b.map(function(f){return Number(f(d))-Number(f(c))}).find(function(f){return 0!==f}))?e:
0})},aLa=function(a){return a.isMyWork||xl(wl(a.resource,xq,9,yq),8)},dLa=function(a){return 1===fj(wl(a.resource,xq,9,yq),zq,4).map(bLa).map(Number).reduce(cLa,0)},gLa=function(a){var b=(a=null==(b=wk(wl(a.resource,xq,9,yq),eLa,2))?void 0:wl(b,aj,1,fLa))?(new Date(a.getYear(),a.getMonth()-1,a.getDay())).getTime()-(new Date).getTime():void 0;return b&&6048E5>b?-b:-6048E5},bLa=function(a){return![2,1].includes(bk(a,2,0))},cLa=function(a,b){return a+b},hLa=function(a){return 3===Aq(a.resource).getStatus()},
iLa=function(a){return wq(a,"Current Iteration")},jLa=function(a){return wq(a,"P0")},kLa=function(a){return wq(a,"Out of SLO")},lLa=function(a){return wq(a,"Near SLO")},mLa=function(a){return Tk(Aq(a.resource),19)},uLa=function(a){for(var b=m(a),c=b.next();!c.done;c=b.next())c=c.value,nLa.set(c.id,c);return $Ka({tasks:a,numTasksPerSection:2,myWorkCriteria:[oLa,pLa,qLa,vq],needsMyInputCriteria:[oLa,rLa,pLa,sLa,qLa,tLa,vq]})},sLa=function(a){return wq(a,"Future Availability")},tLa=function(a){return!wq(a,
"Current Availability")},oLa=function(a){return xl(uq(a.resource),12)},rLa=function(a){var b=(a=null==(b=uq(a.resource).getDescription().match(/DIFFBASE=(\d+)/))?void 0:b[1])&&"cl/"+a;return b?(b=nLa.get(b))&&oLa(b)?rLa(b)-1:0:0},qLa=function(a){return wq(a,"Submission Deadline")},pLa=function(a){return wq(a,"Rollback")},vLa=function(a){return gj(Bq(a.resource),21)},wLa=function(a){return gj(Bq(a.resource),24)},xLa=function(a){return gj(Bq(a.resource),23)},yLa=function(a){return gj(Bq(a.resource),
22)},zLa=function(a){return xl(Bq(a.resource),25)},ALa=function(a){var b=new Set(a.map(function(c){return pk(c.resource,yq)}));if(0===b.size)return a;if(1===b.size)switch([].concat(p(b.keys()))[0]){case 6:return $Ka({tasks:a,numTasksPerSection:2,myWorkCriteria:[jLa,hLa,iLa,kLa,lLa,mLa],needsMyInputCriteria:[jLa,kLa,lLa,mLa]});case 5:return $Ka({tasks:a,numTasksPerSection:2,myWorkCriteria:[vLa,wLa,vq],needsMyInputCriteria:[zLa,yLa,xLa,vq]});case 8:return uLa(a);case 9:return $Ka({tasks:a.filter(aLa),
numTasksPerSection:1,myWorkCriteria:[gLa,vq],needsMyInputCriteria:[gLa,dLa,vq]});default:return a}throw Error("md");},BLa=function(a){var b,c;a=null!=(c=null==(b=Aq(a.getResource()))?void 0:b.getBlockingIssueIdsList().length)?c:0;return 0<a?(0,T.of)({type:"Blocking",text:"Blocking "+a+" issue"+(1<a?"s":"")}):(0,T.of)(void 0)},CLa=function(){return(0,T.pipe)(Jf(function(a,b){return a.concat(b)}))},DLa=function(a){a=a.getResource();switch(pk(a,yq)){case 8:return 2===uq(a).getCategory();case 6:return xl(Aq(a),
13);case 5:return Bq(a).getOwnedByMe();case 9:return wl(a,xq,9,yq).getOwnedByMe();default:return!1}},ELa=function(a){a=uq(a.getResource());return 1===(null==a?void 0:a.getCategory())?a.getAuthorEmail():""},FLa=function(a){if(a&1){var b=t();H(0);F(1,"br");P(2," Some tasks are hidden, ");D(3,"a",11);K("click",function(){v(b);var c=L(3);return w(c.showHiddenTasks.emit())});P(4,"show hidden tasks");E();P(5,"? ");I()}},GLa=function(a){a&1&&(D(0,"mat-header-cell",8),F(1,"img",9),D(2,"div"),P(3," No tasks available that meet the criteria. "),
O(4,FLa,6,0,"ng-container",10),E()());a&2&&(a=L(2),z(4),C("ngIf",a.areTasksHidden))},HLa=function(a){a&1&&F(0,"mat-cell")},ILa=function(a){a&1&&F(0,"mat-header-row",12)},JLa=function(a){a&1&&F(0,"mat-row")},MLa=function(a){a&1&&(D(0,"mat-table",2),H(1,3),O(2,GLa,5,1,"mat-header-cell",4),O(3,HLa,1,0,"mat-cell",5),I(),O(4,ILa,1,0,"mat-header-row",6),O(5,JLa,1,0,"mat-row",7),E());a&2&&(C("dataSource",Fg(3,KLa)),z(4),C("matHeaderRowDef",Fg(4,LLa)),z(1),C("matRowDefColumns",Fg(5,LLa)))},NLa=function(a){a&
1&&(D(0,"mat-header-cell"),P(1,"Task title"),E())},OLa=function(a,b){if(a&1){var c=t();D(0,"mat-cell")(1,"div",19);F(2,"mat-icon",20);R(3,"taskIcon");D(4,"span",21)(5,"a",22);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.logTaskOpenedMetric(d))});P(6);E()()()()}a&2&&(a=b.$implicit,z(2),C("svgIcon",S(3,3,a)),z(3),C("href",a.resourceUrl,ue),z(1),Q(" ",a.title," "))},PLa=function(a){a&1&&(D(0,"mat-header-cell"),P(1," Signals "),E())},QLa=function(a,b){a&1&&(D(0,"div",24),P(1),E());a&2&&
(a=b.$implicit,C("matTooltip",a.tooltipText)("matTooltipDisabled",!a.tooltipText),z(1),Q(" ",a.text," "))},RLa=function(a,b){a&1&&(D(0,"mat-cell"),O(1,QLa,2,3,"div",23),E());a&2&&(a=b.$implicit,z(1),C("ngForOf",a.signals))},SLa=function(a){a&1&&(D(0,"mat-header-cell"),P(1," Actions "),E())},TLa=function(a){if(a&1){var b=t();D(0,"button",27);K("click",function(){v(b);var c=L().$implicit,d=L(2);return w(d.unhideTask(c))});F(1,"mat-icon",20);E()}a&2&&(z(1),C("svgIcon","show_task"))},ULa=function(a){if(a&
1){var b=t();D(0,"button",28);K("click",function(){v(b);var c=L().$implicit,d=L(2);return w(d.hideTask(c))});F(1,"mat-icon",20);E()}a&2&&(z(1),C("svgIcon","hide_task"))},VLa=function(a,b){a&1&&(D(0,"mat-cell"),O(1,TLa,2,1,"button",25),R(2,"async"),O(3,ULa,2,1,"ng-template",null,26,$g),E());if(a&2){a=b.$implicit;var c=N(4);z(1);C("ngIf",S(2,2,a.isHidden$))("ngIfElse",c)}},WLa=function(a){a&1&&F(0,"mat-header-row")},XLa=function(a,b){a&1&&(D(0,"mat-row"),R(1,"async"),E());a&2&&pg("hidden-task",S(1,
2,b.$implicit.isHidden$))},YLa=function(a){a&1&&(D(0,"mat-table",2),H(1,13),O(2,NLa,2,0,"mat-header-cell",14),O(3,OLa,7,5,"mat-cell",5),I(),H(4,15),O(5,PLa,2,0,"mat-header-cell",14),O(6,RLa,2,1,"mat-cell",5),I(),H(7,16),O(8,SLa,2,0,"mat-header-cell",14),O(9,VLa,5,4,"mat-cell",5),I(),O(10,WLa,1,0,"mat-header-row",17),O(11,XLa,2,4,"mat-row",18),E());a&2&&(a=L(),C("dataSource",a.tasks),z(10),C("matHeaderRowDef",a.displayedColumns),z(1),C("matRowDefColumns",a.displayedColumns))},ZLa=function(a){var b=
{attributeFilter:["aria-label","aria-valuenow"]};return new T.Observable(function(c){(new MutationObserver(function(d){var e=d[0].target,f;d=null!=(f=e.getAttribute("aria-label"))?f:"";var h;f=null!=(h=e.getAttribute("aria-valuenow"))?h:"indeterminate";c.next([d,f])})).observe(a,b)})},$La=function(a){a&1&&(H(0),P(1,"Recommended Tasks"),I())},aMa=function(a){a&1&&(H(0),P(1,"Needs My Input"),I())},bMa=function(a){a&1&&F(0,"mat-progress-spinner",5);a&2&&C("diameter",16)},cMa=function(a){a&1&&(H(0),P(1,
"Less"),I())},dMa=function(a){a&1&&(H(0),P(1,"More"),I())},eMa=function(a){if(a&1){var b=t();D(0,"button",8);K("click",function(){v(b);var c=L().ngIf,d=L(2);c=!c.viewAll;d.viewAll$.next(c);d.metrics.logUsageMetric("toggle_view_all",c);return w()});P(1," View ");O(2,cMa,2,0,"ng-container",2);O(3,dMa,2,0,"ng-container",2);E()}a&2&&(a=L().ngIf,z(2),C("ngIf",a.viewAll),z(1),C("ngIf",!a.viewAll))},fMa=function(a){a&1&&(H(0),P(1,"Hide"),I())},gMa=function(a){a&1&&(H(0),P(1,"Show"),I())},iMa=function(a){if(a&
1){var b=t();D(0,"button",9);K("click",function(){v(b);var c=L().ngIf,d=L(2);return w(hMa(d,!c.showHidden))});O(1,fMa,2,0,"ng-container",2);O(2,gMa,2,0,"ng-container",2);P(3," Hidden Tasks ");E()}a&2&&(a=L().ngIf,z(1),C("ngIf",a.showHidden),z(1),C("ngIf",!a.showHidden))},jMa=function(a){a&1&&(H(0),O(1,eMa,4,2,"button",6),R(2,"async"),O(3,iMa,4,2,"button",7),R(4,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,2,a.areTasksFiltered$)),z(2),C("ngIf",S(4,4,a.areTasksHidden$)))},lMa=function(a){a&1&&(xg(0),
O(1,jMa,5,6,"ng-container",2),R(2,"async"),R(3,"async"));a&2&&(a=L(),z(1),C("ngIf",Hg(5,kMa,S(2,1,a.showHidden$),S(3,3,a.viewAll$))))},mMa=function(a){if(a&1){var b=t();H(0);D(1,"tp-task-table",10);K("showHiddenTasks",function(){v(b);var e=L(2);return w(hMa(e,!0))});R(2,"async");E();I()}if(a&2){a=L().ngIf;var c=L(),d;z(1);C("tasks",a.tasks)("showZeroState",!!a.areAllTasksLoaded&&0===a.tasks.length)("areTasksHidden",null!==(d=S(2,3,c.areTasksHidden$))&&void 0!==d?d:!1)}},nMa=function(a,b){a&1&&(H(0),
O(1,mMa,3,5,"ng-container",2),I());a&2&&(a=b.ngIf,z(1),C("ngIf",a.tasks&&(0<a.tasks.length||a.areAllTasksLoaded)))},oMa=function(a,b){if(a&1){var c=t();D(0,"button",38);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.prefs.sectionA=d)});P(1);E()}a&2&&(a=b.$implicit,z(1),Q(" ",a," "))},pMa=function(a,b){if(a&1){var c=t();D(0,"button",38);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.prefs.sectionW=d)});P(1);E()}a&2&&(a=b.$implicit,z(1),Q(" ",a," "))},qMa=function(a,b){if(a&
1){var c=t();D(0,"button",38);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.prefs.sectionT=d)});P(1);E()}a&2&&(a=b.$implicit,z(1),Q(" ",a," "))},rMa=function(a){a&1&&F(0,"working-on-this-week")},sMa=function(a){a&1&&F(0,"pinned-issues")},tMa=function(a){a&1&&F(0,"needs-attention-widget")},uMa=function(a){a&1&&F(0,"needs-attention-table")},vMa=function(a){a&1&&(D(0,"section",39),O(1,rMa,1,0,"working-on-this-week",35),O(2,sMa,1,0,"pinned-issues",35),O(3,tMa,1,0,"needs-attention-widget",
35),O(4,uMa,1,0,"needs-attention-table",35),E());a&2&&(a=L(2),z(1),C("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("working-on-this-week")),z(1),C("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("pinned-issues")),z(1),C("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-cards")),z(1),C("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-table")))},wMa=function(a){a&1&&F(0,"my-projects",40)},xMa=function(a){a&1&&F(0,"my-projects-as-cards")},
yMa=function(a){a&1&&(D(0,"h2"),P(1," My issues "),E())},zMa=function(a){a&1&&F(0,"working-on-this-week")},AMa=function(a){if(a&1){var b=t();D(0,"pinned-issues",41,42);K("cdkDropListDropped",function(c){v(b);var d=L(2);fq(d.hackyPrefs,c.previousContainer.data[c.previousIndex].issueId);d.refreshMonitor.refreshRequest.next();return w()});E()}},BMa=function(a){a&1&&F(0,"recently-viewed-i-own")},CMa=function(a){a&1&&F(0,"suggested-issues")},DMa=function(a){a&1&&F(0,"team-inbox",45)},EMa=function(a,b){a&
1&&(D(0,"div",47),P(1),E());a&2&&(a=b.ngIf,z(1),Q(" ",a," "))},FMa=function(a){a&1&&(D(0,"tp-needs-attention",45),O(1,EMa,2,1,"div",46),R(2,"async"),E());a&2&&(a=L(3),z(1),C("ngIf",S(2,1,a.taskPrioritizationTasksCount$)))},GMa=function(a){a&1&&F(0,"team-activity-stream",45)},HMa=function(a){a&1&&F(0,"b-feed",45)},IMa=function(a){a&1&&(D(0,"section",43),O(1,DMa,1,0,"team-inbox",44),O(2,FMa,3,3,"tp-needs-attention",44),O(3,GMa,1,0,"team-activity-stream",44),O(4,HMa,1,0,"b-feed",44),E());a&2&&(a=L(2),
z(1),C("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-inbox")),z(1),C("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("tp-my-work")),z(1),C("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-activity-stream")),z(1),C("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("activity-feed")))},MMa=function(a){if(a&1){var b=t();D(0,"article",2)(1,"header",3)(2,"aside",4)(3,"form",5);K("submit",function(){v(b);var c=L(),d=c.ldapOverride;null!=d&&(document.location.search=
"?ldap="+d,c.hackyPrefs.init(d));return w()});D(4,"input",6);K("ngModelChange",function(c){v(b);var d=L();return w(d.ldapOverride=c)});E();F(5,"input",7);E();D(6,"button",8);K("click",function(){v(b);var c=L();JMa(c.userFeedback);return w()});P(7," Give feedback ");E();D(8,"button",9);K("click",function(){v(b);var c=L();c.showSettings=!c.showSettings;return w(c.log(c.prefs))});F(9,"mat-icon",10);E()()();D(10,"aside",11)(11,"div",12)(12,"h2",13);P(13," Dashboard Settings ");E();D(14,"p",13);P(15," Layout: ");
D(16,"mat-button-toggle-group",14);K("change",function(c){v(b);var d=L().hackyPrefs;d.save(Object.assign({},d.prefs,{layout:c.value}));return w()});D(17,"mat-button-toggle",15)(18,"mat-icon",16);P(19,"space_dashboard");E()();D(20,"mat-button-toggle",17)(21,"mat-icon",16);P(22,"view_stream");E()()();P(23," Refresh: ");D(24,"button",18);K("click",function(){v(b);L().refreshMonitor.refreshRequest.next();return w()});F(25,"mat-icon",19);E();P(26," Show Hidden Settings ");D(27,"mat-button-toggle-group",
20);K("change",function(c){v(b);var d=L(),e=d.hackyPrefs;e.save(Object.assign({},e.prefs,{showHiddenSettings:c.value}));d.showSettings=!1;return w()});D(28,"mat-button-toggle",21);P(29," Yes ");E();D(30,"mat-button-toggle",22);P(31," No ");E()()();D(32,"form",23);K("submit",function(){v(b);var c=L();console.log("Saving settings",c.prefs);c.showSettings=!1;c.hackyPrefs.save(c.prefs);return w()});D(33,"div",13)(34,"h2");P(35," Configure Widgets in Each Section ");E();D(36,"label");P(37,"A: Alerts - Needs my Attention");
E();D(38,"div",24)(39,"input",25);K("ngModelChange",function(c){v(b);var d=L();return w(d.prefs.sectionA=c)});E();D(40,"span",26);O(41,oMa,2,1,"button",27);E()();D(42,"label");P(43,"W: My Work - Big Rocks");E();D(44,"div",24)(45,"input",25);K("ngModelChange",function(c){v(b);var d=L();return w(d.prefs.sectionW=c)});E();D(46,"span",26);O(47,pMa,2,1,"button",27);E()();D(48,"label");P(49,"T: Team - Broader awareness, opportunity");E();D(50,"div",24)(51,"input",25);K("ngModelChange",function(c){v(b);
var d=L();return w(d.prefs.sectionT=c)});E();D(52,"span",26);O(53,qMa,2,1,"button",27);E()()();D(54,"button",28);P(55,"Close");E();D(56,"a",29);P(57,"Power edit");E();D(58,"button",30);K("click",function(){v(b);var c=L();return w(KMa(c))});P(59,"Clear all settings");E()()()();D(60,"div",31);O(61,vMa,5,4,"section",32);D(62,"section",33);O(63,wMa,1,0,"my-projects",34);O(64,xMa,1,0,"my-projects-as-cards",35);O(65,yMa,2,0,"h2",35);O(66,zMa,1,0,"working-on-this-week",35);O(67,AMa,2,0,"pinned-issues",36);
O(68,BMa,1,0,"recently-viewed-i-own",35);O(69,CMa,1,0,"suggested-issues",35);E();O(70,IMa,5,4,"section",37);E()()}a&2&&(a=L(),pg("settings-open",a.showSettings)("show-hidden-settings",a.prefs.showHiddenSettings),z(4),C("ngModel",a.ldapOverride)("ngModelOptions",Fg(38,LMa)),z(4),pg("active",a.showSettings),z(2),pg("collapsed",!a.showSettings),z(7),C("checked",null==a.prefs.layout||a.prefs.layout.includes("-a")),z(3),C("checked",null==a.prefs.layout||a.prefs.layout.includes("-b")),z(8),C("value",!0)("checked",
a.prefs.showHiddenSettings),z(2),C("value",!1)("checked",!a.prefs.showHiddenSettings),z(9),C("ngModel",a.prefs.sectionA)("ngModelOptions",Fg(39,LMa)),z(2),C("ngForOf",a.VALID_WIDGETS_A),z(4),C("ngModel",a.prefs.sectionW)("ngModelOptions",Fg(40,LMa)),z(2),C("ngForOf",a.VALID_WIDGETS_W),z(4),C("ngModel",a.prefs.sectionT)("ngModelOptions",Fg(41,LMa)),z(2),C("ngForOf",a.VALID_WIDGETS_T),z(3),yg("href","/issues/",a.prefs.id,"",ue),z(4),sg("grid padded margin-s-top ",a.prefs.layout,""),z(1),C("ngIf",a.isCurrentUserHomepage),
z(2),C("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tree")),z(1),C("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-cards")),z(1),C("ngIf",(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"))||(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own"))),z(1),C("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("working-on-this-week")),z(1),C("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues")),
z(1),C("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own")),z(1),C("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("suggested-issues")),z(1),C("ngIf",a.isCurrentUserHomepage))},NMa=function(){var a;return null==(a=document.location.search.match(/\bldap=(.*)\b/))?void 0:a[1]},OMa=function(a){a&1&&(D(0,"button",15)(1,"span"),P(2,"Edit"),E(),F(3,"b-icon",16),E());if(a&2){a=L();var b=N(7);C("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},PMa=function(a){a&
1&&(D(0,"button",15)(1,"span"),P(2,"Link"),E(),F(3,"b-icon",16),E());if(a&2){a=L();var b=N(66);C("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},QMa=function(a){a&1&&(D(0,"button",15)(1,"span"),P(2,"CC"),E(),F(3,"b-icon",16),E());if(a&2){a=L();var b=N(82);C("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},RMa=function(a,b){if(a&1){var c=t();D(0,"button",3);K("click",function(){var d=v(c).$implicit,e=L();return w(e.quickBulkEdit("PRIORITY",d))});P(1);E()}a&2&&(a=b.$implicit,z(1),Q(" ",a," "))},
SMa=function(a,b){if(a&1){var c=t();D(0,"button",3);K("click",function(){var d=v(c).$implicit,e=L();return w(e.quickBulkEdit("SEVERITY",d))});P(1);E()}a&2&&(a=b.$implicit,z(1),Q(" ",a," "))},TMa=function(a,b){if(a&1){var c=t();D(0,"button",3);K("click",function(){var d=v(c).$implicit,e=L();return w(e.quickBulkEdit("STATUS",d))});P(1);E()}a&2&&(a=b.$implicit,b=L(),z(1),Q(" ",b.STATUS_FULL_TEXT[a]," "))},UMa=function(a,b){if(a&1){var c=t();D(0,"button",17);K("click",function(){var e=v(c).$implicit,
f=L();return w(f.quickBulkEdit("TYPE",e))});P(1);E()}if(a&2){a=b.$implicit;b=L();var d;C("matTooltip",null!==(d=b.constants.protoIssueTypesShortDescriptions.get(a))&&void 0!==d?d:"");z(1);Q(" ",b.constants.protoIssueTypesDisplayNames.get(a)," ")}},VMa=function(a){if(a&1){var b=t();D(0,"button",5);K("click",function(){v(b);var c=L(2);return w(c.exportCsvClicked.emit())});P(1,"Export issues to CSV ");E()}},WMa=function(a){if(a&1){var b=t();D(0,"button",5);K("click",function(){v(b);var c=L(2);return w(c.flagAsSpamClicked.emit())});
P(1,"Flag issues as spam ");E()}},XMa=function(a){a&1&&(H(0),D(1,"button",1)(2,"span"),P(3,"More"),E(),F(4,"b-icon",2),E(),D(5,"mat-menu",null,3),O(7,VMa,2,0,"button",4),O(8,WMa,2,0,"button",4),E(),I());if(a&2){var b=N(6);a=L();z(1);C("disabled",a.isAnonymous)("matMenuTriggerFor",b);z(6);C("ngIf",a.showExportCsv);z(1);C("ngIf",a.showFlagIssuesAsSpam)}},YMa=function(a){a&1&&(H(0),P(1," Network connection has been interrupted. "),I())},ZMa=function(a){a&1&&P(0," Network connection has been interrupted or login credentials may have expired. ")},
bNa=function(a){if(a&1){var b=t();D(0,"button",5);K("click",function(c){v(b);L(2);c.stopPropagation();c.preventDefault();var d={width:690,height:500,top:window.screenTop+(window.outerHeight-500)/2,left:window.screenLeft+(window.outerWidth-690)/2};c=window;var e=kca("undefined"!=typeof"/refreshSso".href?"/refreshSso".href:"/refreshSso")||qc;var f=void 0!==self.crossOriginIsolated,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var l="unsafe-url"===h;h=d.noreferrer;
if(f&&h){if(l)throw Error("nd");h=!1}f=d.target||"/refreshSso".target;l=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":l.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;default:l.push(q+"="+(d[q]?1:0))}q=l.join(",");ya()&&c.navigator&&c.navigator.standalone&&f&&"_self"!=f?(d=mq(document,"A"),e=e instanceof mc?e:$Ma(e),d.href=nc(e),d.target=f,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),
d.dispatchEvent(e)):h?(c=aNa("",c,f,q),e=nc(e),c&&(Cq&&ja(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=Rh('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Dq(e)+'">'),(c=c.document)&&c.write&&(c.write(Ml(e)),c.close()))):((c=aNa(e,c,f,q))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return w()});P(1," Log in again ");E()}},cNa=function(a){a&1&&(D(0,"b-callout",1)(1,"b-callout-body"),O(2,YMa,2,0,"ng-container",
2),O(3,ZMa,1,0,"ng-template",null,3,$g),E(),D(5,"b-callout-actions"),O(6,bNa,2,0,"button",4),E()());if(a&2){var b=N(4);a=L();C("messageType","error");z(2);C("ngIf",a.isAnonymous)("ngIfElse",b);z(4);C("ngIf",!a.isAnonymous)}},dNa=function(a){a&1&&(D(0,"a",1),P(1," Hiring!\n"),E())},eNa=function(a,b){a&1&&(D(0,"tr")(1,"td",5),P(2),E(),D(3,"td"),P(4,":"),E(),D(5,"td",6),P(6),E()());a&2&&(a=b.$implicit,z(2),Bg(a.displayAs),z(4),Bg(a.description))},fNa=function(a,b){a&1&&(D(0,"thead")(1,"tr"),F(2,"th",
3),D(3,"th",4),P(4),E()(),O(5,eNa,7,2,"tr",1),E());a&2&&(a=b.$implicit,z(4),Bg(a.title),z(1),C("ngForOf",a.hotkeys))},gNa=function(a){if(!a.aggregatedData)return 0;a=a.aggregatedData;var b=Date.now()-a.modifiedTimeMicros/1E3;return Math.pow(.5,b/6048E5)+1-Math.pow(.5,a.voteCount/50)},jNa=function(a,b){var c=new hNa;iNa(c,a,b);return c},iNa=function(a,b,c){var d=Ca(b.snapshot),e=b.aggregatedData;var f=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=f;a.id=b.issueId;a.issueId=b.issueId;
a.trackerId=b.trackerId;d.componentId&&(a.componentId=d.componentId);a.componentPath=c&&c.componentPathInfo&&c.componentPathInfo.componentPathName?c.componentPathInfo.componentPathName.map(function(l){return String(l)}):[String(d.componentId)];d.type&&(a.type=d.type);if(d.status){a.status=d.status;var h;a.isClosed=!(null==(h=ln[d.status])?0:h.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=Gj(d.reporterUser);a.assignee=Gj(d.assigneeUser);a.assigneeEmail=
Kj(d.assigneeUser);a.verifier=Gj(d.verifierUser);a.verifierEmail=Kj(d.verifierUser);a.cc=Hj(d.ccUsers);a.collaborator=Hj(d.collaboratorsUsers);a.changelist=d.changelist;a.postmortem=d.postmortems;a.hotlistId=d.hotlistId;a.blockingIssueId=d.blockingIssueId;a.blockedByIssueId=d.blockedByIssueId;a.teamId=e&&e.teamId?e.teamId:0;a.createdTime=e?Math.round(e.createdTimeMicros/1E3):0;a.modifiedTime=e?Math.round(e.modifiedTimeMicros/1E3):0;a.resolvedTime=e&&e.resolvedTimeMicros?Math.round(e.resolvedTimeMicros/
1E3):null;a.verifiedTime=e&&e.verifiedTimeMicros?Math.round(e.verifiedTimeMicros/1E3):null;a.majorModifiedTime=b.majorModifiedTimeMicros?Math.round(b.majorModifiedTimeMicros/1E3):0;a.archived=b.isArchived;a.lastViewedTime=b.userData&&b.userData.lastViewedTimeMicros?Math.round(b.userData.lastViewedTimeMicros/1E3):null;a.title=d.title;a.foundInVersion=d.foundInVersion;a.targetedToVersion=d.targetedToVersion;a.verifiedInVersion=d.verifiedInVersion;d.inProd&&(a.inProd=d.inProd);a.duplicateOfIssueId=d.duplicateOfIssueId;
a.starred=b.userData&&b.userData.starred?b.userData.starred:!1;a.voteCount=e?e.voteCount:0;a.magic=gNa(b);a.duplicateCount=d.duplicateIssueId?d.duplicateIssueId.length:0;a.ccCount=d.ccUsers?d.ccUsers.length:0;a.collaboratorCount=d.collaboratorsUsers?d.collaboratorsUsers.length:0;a.lastModifier=Gj(d.authorUser);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(b=m(c.componentPathInfo.allCustomField),c=b.next();!c.done;c=
b.next())c=c.value,a.customFieldMap[String(c.customFieldId)]=c,a.customFieldNameToIdMap[c.name.toLowerCase()]=c.customFieldId;if(d.customField)for(b=m(d.customField),c=b.next();!c.done;c=b.next())c=c.value,a.customFieldValueMap[String(c.customFieldId)]=c;a.hotlists=[];a.retentionState=e?e.retentionState:void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;a.sloSnoozeUntil=d.sloSnoozeUntil;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort)},
kNa=function(a){a&1&&F(0,"bug-screensaver")},lNa=function(a){a&1&&(D(0,"footer"),F(1,"img",1),R(2,"async"),D(3,"span",2),P(4),R(5,"async"),E(),P(6," Powered by Google "),D(7,"span",3),P(8,"|"),E(),D(9,"a",4),P(10,"Privacy"),E(),D(11,"span",3),P(12,"|"),E(),D(13,"a",5),P(14,"Terms"),E()());a&2&&(a=L(),z(1),C("src",S(2,2,a.trackerLogo$),ue),z(3),Q("",S(5,4,a.trackerName$)," Issue Tracker"))},mNa=function(a){var b;return null!=(b=Pj(a))?b:null},nNa=function(a){var b;return null!=(b=Qj(a))?b:null},oNa=
function(a,b){if(a&1){var c=t();H(0);D(1,"b-fab-segmented",1);K("clickMain",function(f){v(c);var h=L(3);return w(h.trackClick(f))})("clickSegment",function(f){v(c);var h=L(3);return w(h.trackClick(f))});E();I()}if(a&2){a=b.ngIf;b=L().ngIf;var d=L().ngIf,e=L();z(1);C("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},pNa=function(a){a&1&&(H(0),O(1,oNa,2,4,"ng-container",0),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.buttonIcon$)))},qNa=function(a){a&1&&(H(0),O(1,pNa,3,3,"ng-container",
0),R(2,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,1,a.buttonLabel$)))},rNa=function(a){for(var b=m(a.item||[]),c=b.next();!c.done;c=b.next())c=c.value,"hotlistId"in c?c.resourceType="HOTLIST":"savedSearchId"in c&&(c.resourceType="SAVED_SEARCH");return a},sNa=function(a){return a.map(rNa)},uNa=function(a){var b={name:a.getName(),description:a.getDescription()};1===pk(a,Eq)?b.hotlistId=Number(a.getHotlistId()):4===pk(a,Eq)&&(b.savedSearchId=Number(tNa(a,4)));return b},vNa=function(a){var b;return{bookmarkGroupId:Number(a.getBookmarkGroupId()),
name:a.getName(),description:a.getDescription(),archived:a.getArchived(),item:(null!=(b=a.getItemList())?b:[]).map(uNa),adminUsers:Lj(a.getAdminUsersList())}},wNa=function(a){var b=new Fq;b.setName(a.name);void 0!==a.description&&b.setDescription(a.description);void 0!==a.hotlistId?b.setHotlistId(String(a.hotlistId)):void 0!==a.savedSearchId&&Zj(b,4,Eq,String(a.savedSearchId));return b},xNa=function(a){var b;return(null!=(b=a.getBookmarkGroupsList())?b:[]).map(vNa)},yNa=function(a){a&1&&tg(0)},zNa=
function(a){a&1&&tg(0)},ANa=function(a){a&1&&(H(0),O(1,zNa,1,0,"ng-container",1),I());a&2&&(a=L(),z(1),C("ngTemplateOutlet",a.content))},BNa=function(a){a&1&&P(0," Archived ")},CNa=function(a){a&1&&(D(0,"button",16),K("click",function(c){return c.stopPropagation()}),F(1,"mat-icon",17),E());if(a&2){L();var b=N(5);C("matMenuTriggerFor",b)}},DNa=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L(3).$implicit;return w(c.unstar())});P(1," Unstar ");E()}},ENa=function(a){if(a&
1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L(3).$implicit;return w(c.unarchive())});P(1," Unarchive ");E()}},FNa=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L(2).$implicit,d=L(3);return w(d.handleBookmarkGroupOpen(c.id))});P(1," Open ");E();D(2,"button",18);K("click",function(){v(b);var c=L(2).$implicit,d=L(3);return w(d.handleBookmarkGroupDashboard(c.id))});P(3," Dashboard ");E();D(4,"button",18);K("click",function(){v(b);var c=L(2).$implicit,
d=L(3);return w(d.openEditBookmarkGroup(c.id))});P(5," Settings ");E();O(6,DNa,2,0,"button",19);O(7,ENa,2,0,"button",19)}a&2&&(a=L(2).$implicit,z(6),C("ngIf",a.isUnstarable()),z(1),C("ngIf",a.isEditable()))},GNa=function(a){a&1&&(D(0,"div",11)(1,"span",12),P(2),E(),O(3,CNa,2,1,"button",13),D(4,"mat-menu",null,14),O(6,FNa,8,2,"ng-template",15),E()());a&2&&(a=L().$implicit,fg("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),z(2),Bg(a.name),z(1),C("ngIf",a))},HNa=function(a,b){if(a&1){var c=t();
D(0,"li",22)(1,"a",23);K("click",function(d){var e=v(c).$implicit,f=L(5);return w(f.onAnchorClick(e.href,d))});D(2,"span",12);P(3);E()()()}a&2&&(a=b.$implicit,b=L(2).$implicit,pg("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),Xha("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),C("title",a.name),z(1),C("href",a.href,ue),z(2),Q(" ",a.name," "))},INa=function(a){a&1&&(D(0,"ul",20),O(1,HNa,
4,12,"li",21),E());a&2&&(a=L().$implicit,z(1),C("ngForOf",a.items))},JNa=function(a,b){a&1&&(D(0,"li",7)(1,"sidebar-zippy",8),O(2,GNa,7,3,"ng-template",null,9,$g),O(4,INa,2,1,"ng-template",null,10,$g),E()());if(a&2){a=b.$implicit;var c=N(3),d=N(5);C("title",a.name);z(1);C("header",c)("content",d)}},KNa=function(a){a&1&&(D(0,"button",28),F(1,"mat-icon",17),E());if(a&2){L();var b=N(6);C("matMenuTriggerFor",b)}},LNa=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L(2).$implicit;
return w(c.unstar())});P(1," Unstar ");E()}},MNa=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L(2).$implicit;return w(c.unarchive())});P(1," Unarchive ");E()}},NNa=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L().$implicit,d=L(3);return w(d.openEditHotlist(c.id))});P(1," Settings ");E();O(2,LNa,2,0,"button",19);O(3,MNa,2,0,"button",19)}a&2&&(a=L().$implicit,z(2),C("ngIf",a.isUnstarable()),z(1),C("ngIf",a.isEditable()))},ONa=function(a,
b){if(a&1){var c=t();D(0,"li",24)(1,"a",25);K("click",function(d){var e=v(c).$implicit,f=L(3);return w(f.onAnchorClick(e.href,d))});D(2,"span",12);P(3);E()();O(4,KNa,2,1,"button",26);D(5,"mat-menu",null,27);O(7,NNa,4,2,"ng-template",15);E()()}a&2&&(a=b.$implicit,pg("selected",a.isSelected()),yg("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),C("title",a.name),z(1),C("href",a.href,ue),z(2),Bg(a.name),z(1),C("ngIf",a))},PNa=function(a){a&1&&(D(0,"ul",4),O(1,JNa,6,3,"li",5),O(2,ONa,8,7,"li",
6),E());a&2&&(a=L(2),z(1),C("ngForOf",a.bookmarkGroups),z(1),C("ngForOf",a.hotlists))},QNa=function(a){a&1&&(D(0,"div"),F(1,"hr"),D(2,"sidebar-zippy",1),O(3,BNa,1,0,"ng-template",null,2,$g),O(5,PNa,3,2,"ng-template",null,3,$g),E()());if(a&2){var b=N(4),c=N(6);z(2);C("header",b)("content",c)}},RNa=function(a){a&1&&F(0,"b-spinner")},SNa=function(a){if(a&1){var b=t();D(0,"b-star-toggle",15);K("starClicked",function(){v(b);var c=L().$implicit,d=L();return w(d.toggleStar(c))});E()}a&2&&(a=L().$implicit,
C("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},TNa=function(a){a&1&&F(0,"b-hotlist-card",16);a&2&&(a=L().$implicit,C("hotlist",a))},UNa=function(a){a&1&&F(0,"b-bookmark-group-card",17);a&2&&(a=L().$implicit,C("bookmarkGroup",a))},VNa=function(a,b){a&1&&(D(0,"mat-option",8)(1,"div",9),O(2,SNa,1,3,"b-star-toggle",10),D(3,"onedev-hovercard",null,11),O(5,TNa,1,1,"b-hotlist-card",12),O(6,UNa,1,1,"b-bookmark-group-card",13),E(),D(7,"span",14),P(8),E()()());
if(a&2){a=b.$implicit;var c=N(4);b=L();C("value",a);z(1);pg("bv2-bookmark-group",b.showHotlists&&a.isGroup);z(1);C("ngIf",b.shouldShowStar(a));z(3);C("ngIf",!a.isGroup);z(1);C("ngIf",!!a.isGroup);z(1);C("onedevHovercardTrigger",c);z(1);Bg(a.name)}},WNa=function(){return Uga(function(){return(0,T.from)(Promise.resolve(void 0))})},XNa=function(a){a&1&&F(0,"a",1)},YNa=function(a){if(a&1){var b=t();D(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);K("itemSelect",function(c){v(b);
var d=L();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return w()});E()()()}a&2&&(a=L(),z(2),C("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},ZNa=function(a){if(a&1){var b=t();D(0,"span");P(1,"Bookmark groups");E();D(2,"b-hotlist-search-popup",4);K("itemSelect",function(c){v(b);var d=L();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return w()});E()}a&2&&(z(2),C("showHotlists",!1))},$Na=function(a){a&1&&(D(0,
"button",17),K("click",function(c){return c.stopPropagation()}),F(1,"mat-icon",18),E());if(a&2){L();var b=N(5);C("matMenuTriggerFor",b)}},aOa=function(a){if(a&1){var b=t();D(0,"button",19);K("click",function(){v(b);var c=L(3).$implicit;return w(c.unstar())});P(1," Unstar ");E()}},bOa=function(a){if(a&1){var b=t();D(0,"button",19);K("click",function(){v(b);var c=L(3).$implicit;return w(c.archive())});P(1," Archive ");E()}},cOa=function(a){if(a&1){var b=t();D(0,"button",19);K("click",function(){v(b);
var c=L(3).$implicit;return w(c.setAsPreferredHomepage())});P(1," Set as homepage ");E()}},dOa=function(a){if(a&1){var b=t();D(0,"button",19);K("click",function(){v(b);var c=L(2).$implicit,d=L(3);return w(d.handleBookmarkGroupOpen(c.id))});P(1," Open ");E();D(2,"button",19);K("click",function(){v(b);var c=L(2).$implicit,d=L(3);return w(d.handleBookmarkGroupDashboard(c.id))});P(3," Dashboard ");E();D(4,"button",19);K("click",function(){v(b);var c=L(2).$implicit,d=L(3);return w(d.editBookmarkGroup(c.id))});
P(5," Settings ");E();O(6,aOa,2,0,"button",20);O(7,bOa,2,0,"button",20);O(8,cOa,2,0,"button",20)}a&2&&(a=L(2).$implicit,z(6),C("ngIf",a.isUnstarable()),z(1),C("ngIf",a.isEditable()),z(1),C("ngIf",!a.isPreferredHomepage()))},eOa=function(a){a&1&&(D(0,"div",12)(1,"span",13),P(2),E(),O(3,$Na,2,1,"button",14),D(4,"mat-menu",null,15),O(6,dOa,9,3,"ng-template",16),E()());a&2&&(a=L().$implicit,fg("id","bv2-user-bookmarkgroup-item-",a.id,""),z(2),Bg(a.name),z(1),C("ngIf",a))},fOa=function(a){a&1&&(D(0,"button",
27),F(1,"mat-icon",18),E());if(a&2){L();var b=N(6);C("matMenuTriggerFor",b)}},gOa=function(a){if(a&1){var b=t();D(0,"button",19);K("click",function(){v(b);var c=L(2).$implicit;return w(c.unstar())});P(1," Unstar ");E()}},hOa=function(a){if(a&1){var b=t();D(0,"button",19);K("click",function(){v(b);var c=L(2).$implicit;return w(c.setAsPreferredHomepage())});P(1," Set as homepage ");E()}},iOa=function(a){if(a&1){var b=t();D(0,"button",19);K("click",function(){v(b);var c=L().$implicit,d=L(5);"HOTLIST"===
c.type?d.location.url(d.paths.editHotlist(c.id)):d.location.url(d.paths.editSavedSearch(c.id));return w()});P(1," Settings ");E();O(2,gOa,2,0,"button",20);O(3,hOa,2,0,"button",20)}a&2&&(a=L().$implicit,z(2),C("ngIf",a.isUnstarable()),z(1),C("ngIf",!a.isPreferredHomepage()))},jOa=function(a,b){if(a&1){var c=t();D(0,"li",23)(1,"a",24);K("click",function(d){var e=v(c).$implicit,f=L(5);return w(f.onAnchorClick(e.href,d))});D(2,"span",13);P(3);E()();O(4,fOa,2,1,"button",25);D(5,"mat-menu",null,26);O(7,
iOa,4,2,"ng-template",16);E()()}a&2&&(a=b.$implicit,b=L(2).$implicit,pg("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),Xha("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),C("title",a.name),z(1),C("href",a.href,ue),z(2),Q(" ",a.name," "),z(1),C("ngIf",b))},kOa=function(a){a&1&&(D(0,"ul",21),O(1,jOa,8,13,"li",22),E());a&2&&(a=L().$implicit,z(1),C("ngForOf",a.items))},lOa=function(a,b){a&
1&&(D(0,"li",8)(1,"sidebar-zippy",9),O(2,eOa,7,3,"ng-template",null,10,$g),O(4,kOa,2,1,"ng-template",null,11,$g),E()());if(a&2){a=b.$implicit;var c=N(3),d=N(5);C("title",a.name);z(1);C("header",c)("content",d)("expanded",!1)}},mOa=function(a){a&1&&(D(0,"ul",6),O(1,lOa,6,4,"li",7),E());a&2&&(a=L(2),z(1),C("ngForOf",a.bookmarkGroups))},nOa=function(a){a&1&&O(0,mOa,2,1,"ul",5);a&2&&(a=L(),C("ngIf",a.bookmarkGroups))},oOa=function(a){if(a&1){var b=t();D(0,"span");P(1,"Hotlists");E();D(2,"b-hotlist-search-popup",
4);K("itemSelect",function(c){v(b);var d=L();Lp(d.analytics,"hotlistSearch","goToHotlist");d.location.url(c.href);return w()});E()}a&2&&(z(2),C("showGroups",!1))},pOa=function(a){a&1&&(D(0,"button",14),F(1,"mat-icon",15),E());if(a&2){L();var b=N(6);C("matMenuTriggerFor",b)}},qOa=function(a){if(a&1){var b=t();D(0,"button",16);K("click",function(){v(b);var c=L(2).$implicit;return w(c.unstar())});P(1," Unstar ");E()}},rOa=function(a){if(a&1){var b=t();D(0,"button",16);K("click",function(){v(b);var c=
L(2).$implicit;return w(c.setAsPreferredHomepage())});P(1," Set as homepage ");E()}},sOa=function(a){if(a&1){var b=t();D(0,"button",16);K("click",function(){v(b);var c=L().$implicit,d=L(3);return w(d.openEditHotlist(c.id))});P(1," Settings ");E();O(2,qOa,2,0,"button",17);O(3,rOa,2,0,"button",17)}a&2&&(a=L().$implicit,z(2),C("ngIf",a.isUnstarable()),z(1),C("ngIf",!a.isPreferredHomepage()))},tOa=function(a,b){if(a&1){var c=t();D(0,"li",8)(1,"a",9);K("click",function(d){var e=v(c).$implicit,f=L(3);return w(f.onAnchorClick(e.href,
d))});D(2,"span",10);P(3);E()();O(4,pOa,2,1,"button",11);D(5,"mat-menu",null,12);O(7,sOa,4,2,"ng-template",13);E()()}a&2&&(a=b.$implicit,pg("selected",a.isSelected()),yg("id","bv2-user-hotlists-hotlist-item-",a.id,""),C("title",a.name),z(1),C("href",a.href,ue),z(2),Bg(a.name),z(1),C("ngIf",a))},uOa=function(a){a&1&&(D(0,"ul",6),O(1,tOa,8,7,"li",7),E());a&2&&(a=L(2),z(1),C("ngForOf",a.hotlists))},vOa=function(a){a&1&&O(0,uOa,2,1,"ul",5);a&2&&(a=L(),C("ngIf",a.hotlists))},wOa=function(a){a&1&&(D(0,
"span"),P(1,"Saved searches"),E())},xOa=function(a){if(a&1){var b=t();D(0,"button",14);K("click",function(){v(b);var c=L(2).$implicit;return w(c.setAsPreferredHomepage())});P(1," Set as homepage ");E()}},zOa=function(a){if(a&1){var b=t();D(0,"button",14);K("click",function(){v(b);var c=L().$implicit,d=L(3);return w(d.openEditSavedSearch(c.id))});P(1," Settings ");E();O(2,xOa,2,0,"button",15);D(3,"button",14);K("click",function(){v(b);var c=L().$implicit,d=L(3);return w(yOa(d,c))});P(4," Delete ");
E()}a&2&&(a=L().$implicit,z(2),C("ngIf",!a.isPreferredHomepage()))},AOa=function(a,b){if(a&1){var c=t();D(0,"li",7)(1,"a",8);K("click",function(e){var f=v(c).$implicit,h=L(3);return w(h.onAnchorClick(f.href,e))});D(2,"span",9);P(3);E()();D(4,"button",10);F(5,"mat-icon",11);E();D(6,"mat-menu",null,12);O(8,zOa,5,1,"ng-template",13);E()()}if(a&2){a=b.$implicit;var d=N(7);pg("selected",a.isSelected());fg("id","bv2-saved-searches-search-item-",a.id,"");C("title",a.name);z(1);C("href",a.href,ue);z(2);Bg(a.name);
z(1);C("matMenuTriggerFor",d)}},BOa=function(a){a&1&&(D(0,"ul",5),O(1,AOa,9,7,"li",6),E());a&2&&(a=L(2),z(1),C("ngForOf",a.searches))},COa=function(a){a&1&&O(0,BOa,2,1,"ul",4);a&2&&(a=L(),C("ngIf",a.searches))},FOa=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(DOa).length;var c=a.filter(function(d){return!DOa(d)}).filter(EOa).length;return{filters:b,text:a.length-b-c,resourceIds:c}},EOa=function(a){a=
String(a);a=a.replace("http://b/","");a=a.replace("https://b/","");a=a.replace("b/","");a=a.trim();return 3>a.length?!1:!/[^0-9]/.test(a)},DOa=function(a){return!!a.match(/\w:\w/g)},GOa=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},IOa=function(a){a&1&&(D(0,"onedev-feature-tooltip-controller",23)(1,"onedev-feature-tooltip",24)(2,"p",25),P(3,'New "Needs Attention" Page'),E(),P(4," Track issues which need your attention based on activity. "),E()());a&2&&(a=L(),C("showTooltip$",a.showFeatureTooltip$),
z(1),C("customPositions",Gg(3,HOa,a.TOOLTIP_POSITIONS.RIGHT_CENTER_BOTTOM))("tooltipId",a.TOOLTIP_ID_NEEDS_ATTENTION_SIDEBAR))},JOa=function(a,b){a&1&&F(0,"mat-icon",29);a&2&&(a=b.$implicit,C("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" tasks need attention"))},KOa=function(a){a&1&&F(0,"mat-icon",30)},LOa=function(a){if(a&1){var b=t();H(0);D(1,"li")(2,"a",8);K("click",function(d){v(b);var e=L();e.onAnchorClick(e.experimentalHomepagePath,d);e.appSearchState.clear();
return w()});O(3,JOa,1,3,"mat-icon",26);R(4,"async");O(5,KOa,1,0,"ng-template",null,27,$g);P(7," Home ");D(8,"span",28);P(9," \u2728 ");E()()();I()}if(a&2){var c=N(6);a=L();z(1);pg("selected",!!a.location.path().match(/^\/dash\b/));z(1);C("href",a.experimentalHomepagePath,ue);z(1);C("ngIf",S(4,5,a.taskPrioritizationTasksCount$))("ngIfElse",c)}},MOa=function(a,b){a&1&&F(0,"mat-icon",34);a&2&&(a=b.$implicit,C("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+
a+" issues need attention"))},NOa=function(a){a&1&&F(0,"mat-icon",35)},OOa=function(a){if(a&1){var b=t();D(0,"li",31)(1,"a",32);K("click",function(d){v(b);var e=L();return w(e.onAnchorClick(e.needsAttentionPath,d))});O(2,MOa,1,3,"mat-icon",33);R(3,"async");O(4,NOa,1,0,"ng-template",null,27,$g);P(6," Needs attention ");E()()}if(a&2){var c=N(5);a=L();pg("selected",!!a.location.path().match(/^\/attention\b/));z(1);C("href",a.needsAttentionPath,ue)("onedevFeatureTooltip",a.TOOLTIP_ID_NEEDS_ATTENTION_SIDEBAR)("hideTooltipWhenAnchorNotVisible",
!0);z(1);C("ngIf",S(3,7,a.needsAttentionIssueCount$))("ngIfElse",c)}},POa=function(a){a&1&&(H(0),D(1,"button",36),F(2,"mat-icon",37),E(),I());if(a&2){L();var b=N(15);z(1);C("matMenuTriggerFor",b)}},ROa=function(a){if(a&1){var b=t();D(0,"button",38);K("click",function(){v(b);var c=L();return w(QOa(c))});P(1," Set as homepage ");E()}},TOa=function(a){if(a&1){var b=t();D(0,"li")(1,"a",8);K("click",function(c){v(b);var d=L();return w(d.onAnchorClick(d.votedPath,c))});F(2,"mat-icon",39);P(3," Upvoted by me ");
E()()}a&2&&(a=L(),pg("selected",SOa(a.appSearchState)),z(1),C("href",a.votedPath,ue))},UOa=function(a,b){if(a&1){var c=t();D(0,"li")(1,"a",8);K("click",function(d){var e=v(c).$implicit,f=L();return w(f.onAnchorClick(e,d))});F(2,"mat-icon",40);P(3," Recently Viewed ");E()()}a&2&&(a=b.$implicit,b=L(),pg("selected",!!b.location.path().match(/^\/recent\b/)),z(1),C("href",a,ue))},VOa=function(a,b){b=void 0===b?156:b;var c=document.createElement("i");c.id=a;c.title=a;c.style.width="10px";c.style.height=
"10px";c.style.borderRadius="10px";c.style.backgroundColor="#ccc";c.style.zIndex="999";c.style.position="absolute";c.style.top="34px";c.style.left=b+"px";c.style.opacity="0";document.body.appendChild(c);return c},WOa=function(a,b,c){a.style.animation="";a.style.backgroundColor=b;setTimeout(function(){a.style.animation="blink-then-fade "+c+"ms ease-in 1"},0)},YOa=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;XOa++;var d=156;d+=12*(XOa-1);return function(e){e=void 0===e?b:e;var f,h=null!=
(f=document.getElementById(a))?f:VOa(a,d);WOa(h,e,c)}},ZOa=function(a){a=void 0===a?!1:a;var b=Gua(),c=b.total,d=b.redundancyRatio;Wo("after-60s","xhr","redundant",b.redundant);Wo("after-60s","xhr","total",c);Wo("after-60s","xhr","redundancyRatio",d);a&&(console.table(Eua()),console.log(b))},aPa=function(a){if(a&1){var b=t();D(0,"a",8);K("keydown.enter",function(){v(b);var c=L(2);return w($Oa(c))})("keydown.space",function(){v(b);var c=L(2);return w($Oa(c))})("click",function(){v(b);var c=L(2);return w($Oa(c))});
P(1," Dismiss");E()}},bPa=function(a){a&1&&(D(0,"div",4)(1,"div",5),F(2,"span",6),O(3,aPa,2,0,"a",7),E()());a&2&&(a=L(),z(2),C("innerHtml",a.announcement.message,te),z(1),C("ngIf",a.announcement.dismissible))},dPa=function(a){if(a&1){var b=t();D(0,"b-resizable-sidebar",9);K("widthChanged",function(c){v(b);var d=L();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,cPa(d,c));return w()});F(1,"b-sidebar");E()}a&2&&(a=L(),C("size",a.matSidebarWidth)("disableToggleBtn",!0))},ePa=function(a){switch(a){case "COMFORTABLE":return"d-comfort";
case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},fPa=function(a){a&1&&(D(0,"div",2),P(1," You are about to access a file marked as restricted. Access will be logged and audited. You must delete any downloaded files from local storage when finished. "),D(2,"a",13),P(3," Learn more "),E()());a&2&&(a=L(2),z(2),C("href",a.getRestrictedAccessHelpLink(),ue))},hPa=function(a){a&1&&(H(0),O(1,fPa,4,1,"div",8),I());a&2&&(a=L(),z(1),C("ngIf",gPa(a)))},iPa=function(a){a&
1&&(D(0,"div",2)(1,"span",14),P(2," You do not have access to view this attachment. "),E()())},jPa=function(a){a&1&&F(0,"mat-spinner",15)},lPa=function(a){if(a&1){var b=t();D(0,"button",10);K("click",function(){v(b);var c=L(2),d=new jj;c.date=d;c.dateSelectionChange.emit(d);kPa(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return w(c.saveClicked.emit())});P(1,"Today");E()}},mPa=function(a){if(a&1){var b=t();D(0,"button",11);K("click",function(){v(b);
var c=L(2);c.date=void 0;c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return w(c.saveClicked.emit())});P(1,"None");E()}},nPa=function(a){a&1&&(D(0,"div",1),O(1,lPa,2,0,"button",8),O(2,mPa,2,0,"button",9),F(3,"mat-divider"),E());a&2&&(a=L(),z(1),C("ngIf",a.todayButtonEnabled),z(1),C("ngIf",a.noneButtonEnabled&&!a.required))},oPa=function(a){a&1&&F(0,"b-formatted-date-time",4);a&2&&(a=L(),C("date",a.value))},pPa=function(a){a&1&&(H(0),P(1,"---"),I())},qPa=function(a,b){if(a&1){var c=
t();D(0,"div",8)(1,"mat-checkbox",9);K("change",function(){var d=v(c).$implicit,e=L();e.focusFilterBox();var f=e.valueMap.get(d);f?e.valueMap.set(d,!1):!1===f?(f=null===e.originalValueMap.get(d),e.valueMap.set(d,f?null:!0)):e.valueMap.set(d,!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});return w()})("click",function(d){return d.stopPropagation()});P(2);E()()}a&2&&(a=b.$implicit,b=L(),C("title",b.getDisplayString(a)),z(1),C("checked",!!b.valueMap.get(a))("indeterminate",null===
b.valueMap.get(a)),z(1),Q(" ",b.getDisplayString(a)," "))},sPa=function(a){if(a&1){var b=t();D(0,"input",10,11);K("keydown",function(c){v(b);var d=L();"Enter"===c.key&&(rPa(d)&&d.addValue(),c.preventDefault());return w()})("click",function(c){return c.stopPropagation()})("ngModelChange",function(c){v(b);var d=L();return w(d.filterValue=c)});E()}a&2&&(a=L(),C("type","REPEATED_NUMERIC"===a.type?"number":"text")("ngModel",a.filterValue)("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},
tPa=function(a){a&1&&F(0,"mat-divider")},uPa=function(a){if(a&1){var b=t();D(0,"div",12);K("click",function(c){v(b);var d=L();c.stopPropagation();return w(d.addValue())});P(1," Add ");E()}},vPa=function(a){if(a&1){var b=t();D(0,"div")(1,"b-date-time-input",13);K("valueChange",function(c){v(b);var d=L();return w(d.currentSelectedDate=c)});E();D(2,"div",14);K("click",function(c){v(b);var d=L();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():
"",d.addValue(),d.currentSelectedDate=void 0;return w()});P(3," Add ");E()()}a&2&&(a=L(),z(1),C("value",a.currentSelectedDate))},wPa=function(a){a&1&&tg(0)},yPa=function(a){if(a&1){var b=t();D(0,"div",3);K("click",function(){v(b);var d=L();return w(d.select(void 0))});O(1,wPa,1,0,"ng-container",4);E()}if(a&2){a=L();var c=N(3);C("option",void 0);dg("aria-selected",a.isSelected(void 0));z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Fg(4,xPa))}},zPa=function(a){a&1&&tg(0)},BPa=function(a){if(a&
1){var b=t();D(0,"div",3);K("click",function(){v(b);var e=L().$implicit,f=L();return w(f.select(e))});O(1,zPa,1,0,"ng-container",4);E()}if(a&2){a=L().$implicit;var c=L(),d=N(3);C("option",a);dg("aria-selected",c.isSelected(a));z(1);C("ngTemplateOutlet",d)("ngTemplateOutletContext",Gg(4,APa,a))}},CPa=function(a,b){a&1&&(H(0),O(1,BPa,2,6,"div",0),I());a&2&&(a=b.$implicit,z(1),C("ngIf",a))},DPa=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L(2).$implicit,z(1),Q(" ",a," "))},EPa=function(a){a&1&&(D(0,"span",
8),P(1,"--"),E())},FPa=function(a){a&1&&(H(0),O(1,DPa,2,1,"ng-container",5),O(2,EPa,2,0,"ng-template",null,7,$g),I());if(a&2){var b=N(3);a=L().$implicit;z(1);C("ngIf",null!=a)("ngIfElse",b)}},GPa=function(a){a&1&&tg(0)},HPa=function(a){a&1&&O(0,GPa,1,0,"ng-container",4);if(a&2){a=L().$implicit;var b=L();C("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Gg(2,APa,a))}},IPa=function(a){a&1&&(O(0,FPa,4,2,"ng-container",5),O(1,HPa,1,4,"ng-template",null,6,$g));if(a&2){var b=N(2);a=L();C("ngIf",
!a.optionTemplate)("ngIfElse",b)}},JPa=function(a){a&1&&tg(0)},LPa=function(a){a&1&&(H(0),O(1,JPa,1,0,"ng-container",10),I());a&2&&(a=L(),z(1),C("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Gg(2,KPa,a.value)))},MPa=function(a){a&1&&tg(0)},NPa=function(a){a&1&&(H(0),O(1,MPa,1,0,"ng-container",10),I());a&2&&(a=L(2),z(1),C("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Gg(2,KPa,a.value)))},OPa=function(a){a&1&&O(0,NPa,2,4,"ng-container",3);if(a&2){a=L();var b=N(8);C("ngIf",
a.optionTemplate)("ngIfElse",b)}},PPa=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L(2),z(1),Q(" ",a.value," "))},QPa=function(a){a&1&&(D(0,"span",12),P(1,"--"),E())},RPa=function(a){a&1&&(O(0,PPa,2,1,"ng-container",3),O(1,QPa,2,0,"ng-template",null,11,$g));if(a&2){var b=N(2);a=L();C("ngIf",null!=a.value)("ngIfElse",b)}},SPa=function(a){a&1&&(yd(),D(0,"svg",13),F(1,"path",14),E())},TPa=function(a){a&1&&(D(0,"div"),P(1," The selected issues have no custom fields in common. "),E())},UPa=function(a){a&1&&
(D(0,"span"),P(1,"*"),E())},VPa=function(a){if(a&1){var b=t();D(0,"input",16);K("ngModelChange",function(c){v(b);var d=L(2).$implicit;return w(d.textValue=c)});E()}a&2&&(a=L(2).$implicit,L(),C("ngModel",a.textValue),dg("aria-labelledby",Gq(a)))},WPa=function(a){if(a&1){var b=t();D(0,"input",17);K("ngModelChange",function(c){v(b);var d=L(2).$implicit;return w(d.numericValue=c)});E()}a&2&&(a=L(2).$implicit,L(),C("ngModel",a.numericValue),dg("aria-labelledby",Gq(a)))},YPa=function(a){if(a&1){var b=t();
D(0,"div")(1,"b-date-time-input",18);K("valueChange",function(e){v(b);var f=L(2).$implicit;L();return w(f.dateValue=e?lj(e):void 0)});E()()}if(a&2){a=L(2).$implicit;var c=L(),d;z(1);C("value",null!==(d=XPa(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",Gq(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},$Pa=function(a){if(a&1){var b=t();D(0,"onedev-single-select",19);K("valueChange",function(d){v(b);var e=L(2).$implicit;return w(e.enumValue=
d)});E()}if(a&2){a=L(2).$implicit;L();var c;C("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:Fg(3,ZPa));dg("aria-labelledby",Gq(a))}},bQa=function(a){if(a&1){var b=t();D(0,"b-bulk-repeated-field-picker",20);K("onSave",function(e){v(b);var f=L(2).$implicit,h=L();return w(aQa(h,f.customFieldId,e))});E()}if(a&2){a=L(2).$implicit;var c=L(),d;C("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(d=a.allowedValue)&&
void 0!==d?d:Fg(3,ZPa))}},cQa=function(a){a&1&&(H(0,10),O(1,VPa,1,2,"input",11),O(2,WPa,1,2,"input",12),O(3,YPa,2,4,"div",13),O(4,$Pa,1,4,"onedev-single-select",14),O(5,bQa,1,4,"b-bulk-repeated-field-picker",15),I());if(a&2){a=L().$implicit;var b=L();C("ngSwitch",b.getCustomFieldType(a));z(1);C("ngSwitchCase","TEXT");z(1);C("ngSwitchCase","NUMERIC");z(1);C("ngSwitchCase","DATE");z(1);C("ngSwitchCase","ENUM")}},dQa=function(a){if(a&1){var b=t();D(0,"span");P(1," Multiple values ");E();D(2,"a",21);
K("click",function(){v(b);var c=L().$implicit,d=L();return w(d.clearCustomFieldValue(c))});P(3,"X");E()}},eQa=function(a,b){a&1&&(D(0,"div",5)(1,"div",6)(2,"label",7),P(3),O(4,UPa,2,0,"span",1),E()(),O(5,cQa,6,5,"ng-template",8),O(6,dQa,4,0,"ng-template",null,9,$g),E());if(a&2){a=b.$implicit;var c=N(7);L();z(2);C("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");dg("id",Gq(a));z(1);Q(" ",a.name," ");z(1);C("ngIf",a.required);z(1);C("ngIf",!a.hasMultipleValues)("ngIfElse",c)}},fQa=function(a){a&
1&&(D(0,"div",8),F(1,"b-spinner"),E())},gQa=function(a){a&1&&F(0,"code",22);a&2&&(a=L(2).$implicit,L(2),C("innerHtml",Ml(a.formattingModeDiff),te))},hQa=function(a){a&1&&(D(0,"code",23),P(1),E());a&2&&(a=L(2).$implicit,z(1),Q(" ",a.formattingMode," "))},iQa=function(a){a&1&&(D(0,"p",19),P(1," Formatting: "),O(2,gQa,1,1,"code",20),O(3,hQa,2,1,"code",21),E());a&2&&(a=L(3),z(2),C("ngIf",a.diffView),z(1),C("ngIf",!a.diffView))},jQa=function(a){if(a&1){var b=t();D(0,"div")(1,"span",24)(2,"b-person-hovercard",
25);R(3,"omitObfuscatedEmail");P(4);R(5,"appendDomain");E()();D(6,"a",26);K("click",function(c){v(b);var d=L().$implicit,e=L(2);d=d.version;c.stopPropagation();c=e.paths.editIssue(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return w()});P(7);E()()}a&2&&(a=L().$implicit,L(2),z(2),C("email",S(3,5,Kj(a.lastEditorUser))),z(2),Q(" <",S(5,7,Kj(a.lastEditorUser)),"> "),z(2),fg("aria-label","Comment version ",a.version,""),yg("id","bv2-edit-issue-comment-",a.version,""),
z(1),Q(" #",a.version,""))},kQa=function(a){a&1&&(D(0,"div",30),P(1),E());a&2&&(a=L(2).$implicit,z(1),Bg(a.preview))},lQa=function(a){a&1&&(D(0,"div",31),P(1,"Comment deleted."),E())},mQa=function(a){a&1&&(D(0,"div",32),P(1,"Comment history restricted."),E())},nQa=function(a){a&1&&(H(0),O(1,kQa,2,1,"div",27),O(2,lQa,2,0,"div",28),O(3,mQa,2,0,"div",29),I());a&2&&(a=L().$implicit,z(1),C("ngIf",!a.restricted&&!a.deleted),z(1),C("ngIf",!a.restricted&&a.deleted),z(1),C("ngIf",a.restricted))},oQa=function(a){a&
1&&(D(0,"div",35),P(1,"Comment deleted."),E())},pQa=function(a){a&1&&(D(0,"div",36),R(1,"async"),E());if(a&2){a=L(2).$implicit;var b=L(2);pg("codefont",S(1,3,b.codefont.codefont$));C("innerHtml",a.unlinkifiedComment,te)}},qQa=function(a){a&1&&(D(0,"div",36),R(1,"async"),E());if(a&2){a=L(2).$implicit;var b=L(2);pg("codefont",S(1,3,b.codefont.codefont$));C("innerHtml",Ml(a.diff),te)}},rQa=function(a){a&1&&(D(0,"div",32),P(1," This comment is not available due to present or past restrictions on the comment. "),
E())},sQa=function(a){a&1&&(H(0),O(1,oQa,2,0,"div",33),O(2,pQa,2,5,"div",34),O(3,qQa,2,5,"div",34),O(4,rQa,2,0,"div",29),I());if(a&2){a=L().$implicit;var b=L(2);z(1);C("ngIf",!a.restricted&&a.deleted);z(1);C("ngIf",!b.diffView&&!a.restricted&&!a.deleted);z(1);C("ngIf",b.diffView&&!a.restricted&&!a.deleted);z(1);C("ngIf",a.restricted)}},tQa=function(a,b){if(a&1){var c=t();D(0,"li",11)(1,"div",12);F(2,"b-user-image",13);E();D(3,"div",14);K("click",function(){var d=v(c).$implicit;return w(d.open=!d.open)});
F(4,"b-user-display",15)(5,"b-formatted-date-time",16);O(6,iQa,4,2,"p",17);O(7,jQa,8,9,"div",18);O(8,nQa,4,3,"ng-container",18);E();O(9,sQa,5,4,"ng-container",18);E()}a&2&&(a=b.$implicit,L(2),pg("comment-version-open",a.open),z(2),C("email",Kj(a.lastEditorUser)),z(2),C("model",a.lastEditorUser),z(1),C("timestamp",a.lastModified),z(1),C("ngIf",!a.deleted),z(1),C("ngIf",a.open),z(1),C("ngIf",!a.open),z(1),C("ngIf",a.open))},uQa=function(a){a&1&&(D(0,"ul",9),O(1,tQa,10,9,"li",10),E());a&2&&(a=L(),z(1),
C("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},xQa=function(a,b){var c=new vQa;a=Hq(c,a,b);wQa(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return zp("SPAN",{"class":"diff-removed"},d);case 1:return zp("SPAN",{"class":"diff-added"},d);case 0:return zp("SPAN",{"class":null},d);default:throw Error("vd`"+e);}});return Ap(c)},yQa=function(a){var b;return"DELETED"===(null==(b=a.entityStatus)?void 0:b.status)},zQa=function(a){return a?new Set(ij(a,1).map(function(b){return rj(b)})):
new Set},Iq=function(a,b,c){return a.has(b)?c:""},AQa=function(a,b,c){return a.has(b)?c:[]},Jq=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},DQa=function(a){if(!a)return"";var b=BQa.get(bk(a,1,0)),c=gj(a,2),d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=CQa.get(bk(a,3,0));c=gj(a,4);a=gj(a,5);d=", Restricted Retention: "+d;c&&(d+=", Restricted Days: "+c);a&&(d+=", Restricted+ Days: "+a);return b+d},FQa=function(a){if(!a)return"";var b=a.getInherit(),
c=EQa.get(a.getSource()),d=a.getId();a=a.getComment();b="Inherit: "+b+", Source: "+c+", ID: "+d;return a?b+(", Justification: "+a):b},GQa=function(a){if(!a)return"";var b=a.getInherit();a=a.getId();return"Inherit: "+b+", ID: "+a},HQa=function(a){a&1&&(D(0,"li")(1,"a",4),P(2," Create an issue in this component"),E()());a&2&&(a=L(2),z(1),C("href",a.createIssueUrl,ue))},IQa=function(a,b){a&1&&(H(0),D(1,"h3"),P(2),E(),D(3,"p"),P(4),E(),F(5,"b-access-level-indicator",3),D(6,"p"),P(7),E(),D(8,"ul")(9,"li")(10,
"a",4),P(11," View recent open issues"),E()(),O(12,HQa,3,1,"li",2),D(13,"li")(14,"a",4),P(15," View component"),E()()(),I());a&2&&(a=b.ngIf,b=L(),z(2),Bg(a.name),z(2),Q("ID: ",b.componentId,""),z(1),C("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),z(2),Bg(a.description),z(3),C("href",b.recentIssuesUrl,ue),z(2),C("ngIf",!b.isAnonymous),z(2),C("href",b.viewComponentUrl,ue))},JQa=function(a,b){a&1&&(D(0,"mat-option",19),P(1),E());a&2&&(a=b.$implicit,C("value",a),
z(1),Q(" ",a," "))},KQa=function(a){if(a&1){var b=t();D(0,"mat-form-field",16)(1,"mat-select",17);K("selectionChange",function(c){v(b);var d=L(2);return w(d._changePageSize(c.value))});O(2,JQa,2,2,"mat-option",18);E()()}a&2&&(a=L(2),C("appearance",a._formFieldAppearance)("color",a.color),z(1),C("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering)("aria-label",a._intl.itemsPerPageLabel),z(1),C("ngForOf",
a._displayedPageSizeOptions))},LQa=function(a){a&1&&(D(0,"div",20),P(1),E());a&2&&(a=L(2),z(1),Bg(a.pageSize))},MQa=function(a){a&1&&(D(0,"div",12)(1,"div",13),P(2),E(),O(3,KQa,3,8,"mat-form-field",14),O(4,LQa,2,1,"div",15),E());a&2&&(a=L(),z(2),Q(" ",a._intl.itemsPerPageLabel," "),z(1),C("ngIf",1<a._displayedPageSizeOptions.length),z(1),C("ngIf",1>=a._displayedPageSizeOptions.length))},NQa=function(a){if(a&1){var b=t();D(0,"button",21);K("click",function(){v(b);var c=L();if(c.hasPreviousPage()){var d=
c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return w()});yd();D(1,"svg",7);F(2,"path",22);E()()}a&2&&(a=L(),C("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),dg("aria-label",a._intl.firstPageLabel))},OQa=function(a){if(a&1){var b=t();yd();zd();D(0,"button",23);K("click",function(){v(b);var c=L();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):
0)-1;c._emitPageEvent(d)}return w()});yd();D(1,"svg",7);F(2,"path",24);E()()}a&2&&(a=L(),C("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),dg("aria-label",a._intl.lastPageLabel))},PQa=function(a){if(a&1){var b=t();D(0,"mat-paginator",3);K("page",function(c){v(b);var d=L(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return w()});E()}a&2&&(a=L(),C("length",a.children.length)("pageSize",
a.pageSize)("pageSizeOptions",a.pageSizeOptions))},QQa=function(a,b){if(a&1){var c=t();D(0,"li")(1,"a",4);K("click",function(){var e=v(c).$implicit,f=L();return w(f.onVisit.emit(e))});P(2);E();D(3,"onedev-hovercard",null,5);F(5,"b-component-card",6);E()()}if(a&2){a=b.$implicit;var d=N(4);b=L();z(1);C("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),ue);z(1);Q(" ",a.name," ");z(3);C("componentId",a.componentId.toString())}},RQa=function(a){if(a&1){var b=t();D(0,"button",6);
K("click",function(){v(b);var c=L();return w(c.onClickCopyIssueShortLinks.emit())});P(1);E()}a&2&&(a=L(),z(1),Q(" Copy '",a.shortLinkPrefix,"'' links "))},SQa=function(a,b){a&1&&(D(0,"span",5)(1,"a",6),P(2),E(),D(3,"onedev-hovercard",null,7),F(5,"b-component-card",8),E()());if(a&2){a=b.$implicit;var c=N(4);z(1);C("onedevHovercardTrigger",c)("routerLinkObj",a.route);z(1);Bg(a.name);z(3);C("componentId",a.id.toString())}},TQa=function(a){a&1&&(D(0,"span",9),P(1,"[Archived]"),E())},Kq=function(a,b){b=
void 0===b?Mn:b;var c,d=null!=(c=null==a?void 0:a.componentPathId)?c:[],e,f=null!=(e=null==a?void 0:a.componentPathName)?e:[];return d.map(function(h,l){var q;l=null!=(q=f[l])?q:String(h);q=b(h);return{id:h,name:l,route:q}})},UQa=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Bg(a.text))},VQa=function(a){a&1&&(D(0,"span"),F(1,"b-access-level-indicator",2),E());a&2&&(a=L().$implicit,z(1),C("accessLevel",a.accessLevel))},WQa=function(a,b){a&1&&(D(0,"span"),O(1,UQa,2,1,"span",1),
O(2,VQa,2,1,"span",1),E());a&2&&(a=b.$implicit,b=L(),z(1),C("ngIf",b.isText(a)),z(1),C("ngIf",!b.isText(a)))},YQa=function(a,b){var c=XQa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},ZQa=function(a){if(a&1){var b=t();D(0,"div");F(1,"br");D(2,"mat-checkbox",8);K("ngModelChange",function(c){v(b);var d=L();return w(d.acknowledged=c)});E();D(3,"span");P(4,"All information in this issue is suitable for external sharing.");
E()()}a&2&&(a=L(),z(2),C("ngModel",a.acknowledged))},$Qa=function(a){if(a&1){var b=t();D(0,"button",9);K("click",function(){v(b);var c=L();return w(c.allow())});P(1," Move Issue ");E()}a&2&&(a=L(),C("disabled",!a.acknowledged))},aRa=function(a){if(a&1){var b=t();D(0,"a",18);K("click",function(){v(b);var c=L().$implicit,d=L();return w(d.showChildren(c))});F(1,"mat-icon",19);E()}},bRa=function(a){if(a&1){var b=t();D(0,"a",20);K("click",function(){v(b);var c=L().$implicit;return w(c.showChildren=!1)});
F(1,"mat-icon",21);E()}},dRa=function(a){a&1&&(D(0,"a",22),P(1," (Recent Issues) "),E());if(a&2){a=L().$implicit;var b=L();C("href",b.paths.listIssues(Gg(1,cRa,"status:open componentid:"+a.componentId)),ue)}},eRa=function(a){a&1&&(D(0,"span"),P(1,"[Archived]"),E())},fRa=function(a){a&1&&(D(0,"a",23),P(1," Create issue "),E());if(a&2){a=L().$implicit;var b=L();C("href",b.paths.createIssue()+"?component="+a.componentId,ue)}},gRa=function(a){a&1&&(D(0,"div",28),P(1," No child components found. "),E())},
hRa=function(a){a&1&&(D(0,"div",29),F(1,"b-spinner"),E())},iRa=function(a){if(a&1){var b=t();D(0,"component-subtree-list",30);K("childClosed",function(d){v(b);var e=L(3);return w(e.onSubtreeChildClosed(d))});E()}if(a&2){a=L(2).$implicit;var c=L();C("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},jRa=function(a){a&1&&(D(0,"div",24),O(1,gRa,2,0,"div",25),O(2,hRa,2,0,"div",26),O(3,iRa,1,4,"component-subtree-list",27),E());a&2&&(a=
L().$implicit,z(1),C("ngIf",a.noChildren),z(1),C("ngIf",!(a.noChildren||a.children)),z(1),C("ngIf",a.children))},kRa=function(a,b){if(a&1){var c=t();D(0,"li",2);K("click",function(d){var e=v(c).$implicit,f=L();return w(f.setSelected(e.componentId,d))});D(1,"div",3);F(2,"div",4);D(3,"div",5);O(4,aRa,2,0,"a",6);O(5,bRa,2,0,"a",7);E();D(6,"div",8)(7,"div")(8,"a",9);P(9);E();O(10,dRa,2,3,"a",10);O(11,eRa,2,0,"span",11);F(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);E();D(14,"div",14);
P(15);E()();D(16,"div",15);O(17,fRa,2,1,"a",16);E()();O(18,jRa,4,3,"div",17);E()}a&2&&(a=b.$implicit,b=L(),yg("id","component-",a.componentId,""),z(4),C("ngIf",!a.showChildren),z(1),C("ngIf",a.showChildren),z(3),C("href",b.paths.viewComponent(a.componentId),ue),z(1),Q(" ",a.name," "),z(1),C("ngIf",!a.archived),z(1),C("ngIf",a.archived),z(1),C("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),C("trackerId",a.trackerId),z(2),Bg(a.description),z(2),C("ngIf",!a.archived),z(1),C("ngIf",
a.showChildren))},lRa=function(a){if(a&1){var b=t();D(0,"a",18);K("click",function(){v(b);var c=L().$implicit,d=L();return w(d.showChildren(c))});F(1,"mat-icon",19);E()}},mRa=function(a){if(a&1){var b=t();D(0,"a",20);K("click",function(){v(b);var c=L().$implicit;return w(c.showChildren=!1)});F(1,"mat-icon",21);E()}},oRa=function(a){a&1&&(D(0,"a",22),P(1," (Recent Issues) "),E());if(a&2){a=L().$implicit;var b=L();C("href",b.paths.listIssues(Gg(1,nRa,"status:open componentid:"+a.componentId)),ue)}},
pRa=function(a){a&1&&(D(0,"span"),P(1,"[Archived]"),E())},qRa=function(a){a&1&&(D(0,"a",23),P(1," Create issue "),E());if(a&2){a=L().$implicit;var b=L();C("href",b.paths.createIssue()+"?component="+a.componentId,ue)}},rRa=function(a){a&1&&(D(0,"div",28),P(1," No child components found. "),E())},sRa=function(a){a&1&&(D(0,"div",29),F(1,"b-spinner"),E())},tRa=function(a){if(a&1){var b=t();D(0,"component-subtree-list",30);K("childClosed",function(d){v(b);var e=L(3);return w(e.onSubtreeChildClosed(d))});
E()}if(a&2){a=L(2).$implicit;var c=L();C("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},uRa=function(a){a&1&&(D(0,"div",24),O(1,rRa,2,0,"div",25),O(2,sRa,2,0,"div",26),O(3,tRa,1,4,"component-subtree-list",27),E());a&2&&(a=L().$implicit,z(1),C("ngIf",a.noChildren),z(1),C("ngIf",!(a.noChildren||a.children)),z(1),C("ngIf",a.children))},vRa=function(a,b){if(a&1){var c=t();D(0,"li",2);K("click",function(d){var e=v(c).$implicit,f=
L();return w(f.setSelected(e.componentId,d))});D(1,"div",3);F(2,"div",4);D(3,"div",5);O(4,lRa,2,0,"a",6);O(5,mRa,2,0,"a",7);E();D(6,"div",8)(7,"div")(8,"a",9);P(9);E();O(10,oRa,2,3,"a",10);O(11,pRa,2,0,"span",11);F(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);E();D(14,"div",14);P(15);E()();D(16,"div",15);O(17,qRa,2,1,"a",16);E()();O(18,uRa,4,3,"div",17);E()}a&2&&(a=b.$implicit,b=L(),C("id","component-"+a.componentId),z(4),C("ngIf",!a.showChildren),z(1),C("ngIf",a.showChildren),
z(3),C("href",b.paths.viewComponent(a.componentId),ue),z(1),Q(" ",a.name," "),z(1),C("ngIf",!a.archived),z(1),C("ngIf",a.archived),z(1),C("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),C("trackerId",a.trackerId),z(2),Bg(a.description),z(2),C("ngIf",!a.archived),z(1),C("ngIf",a.showChildren))},Lq=function(a){return(null!=a?a:[]).map(dk)},Mq=function(a){return(null!=a?a:[]).map(fk)},Nq=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),
254>=a.length)?a:""},zRa=function(){var a=Oq("gapi.config.get");if((a=Nq(a&&a("googleapis.config/sessionIndex")))||(a=Nq(da.__X_GOOG_AUTHUSER))||(a=Nq(Oq("google.authuser"))))return a;var b=da.location.href||"",c=wRa.exec(b);try{a=Nq(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=xRa.exec(b);try{a=Nq(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=yRa.exec(b);return(a=Nq(a&&a[1]))?a:""},ARa=function(){var a=Oq("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=
(a=Oq("gapi.auth2.getAuthInstance"))?a():null;if(!a||!a.isSignedIn.get())return null;a=(b=a.currentUser.get().getAuthResponse(!0))&&b.access_token;if(!a)return null;b=b.token_type}return{Authorization:(b||"Bearer")+" "+a}},BRa=function(a){a=void 0===a?"":a;var b;if(!(b=ARa())){b=a;var c=void 0===c?zRa():c;a={};var d=sq([]);d&&(a.Authorization=d);b||(b=(b=Oq("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},CRa=function(a,b){b=void 0===
b?0:b;var c;if(c=0===b)c=(c=Oq("gapi.config.get"))?(c=c("oauth-flow/authUrl"))&&(0<c.indexOf("staging")||0<c.indexOf("test"))?2:1:0,c=2===c;c&&(b=7);switch(b){case 7:b="dev-";c="-googleapis.corp";break;case 1:b="autopush-";c="-googleapis.sandbox";break;case 2:b="staging-";c="-googleapis.sandbox";break;default:b="",c=".clients6"}a="https://"+b+a+c+".google.com";(b=(b=Oq("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},ERa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):
(new Promise(function(c){return da.setTimeout(c,b)})).then(function(){return DRa(a-1,2*b)})},DRa=function(a,b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=da;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return ERa(a,b);da.gapi||(da.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,f){d.load("client",function(){d.client?e(d):f("gapi.client missing")})})},FRa=function(){var a=void 0===a?"":a;var b=void 0===b?zRa():b;var c=Oq("gapi.config.update");c("googleapis.config/auth/useFirstPartyAuth",
!0);c("googleapis.config/auth/useFirstPartyAuthV2",!0);b&&c("googleapis.config/sessionIndex",b);a&&c("client/apiKey",a)},GRa=function(a){return(new Pq).setEventType(2).setRpcType(2).setLookupType(a)},HRa=function(a){a=Math.round(1E3*a);return isFinite(a)?a:null},Sq=function(a,b,c,d){Qq.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;IRa(this.transport_,this.id_);d&&Rq(d.getEventTarget(),"a",this.onContactsChange_,!1,this)},JRa=function(a){var b={};if(a){a=
m(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=b[c]||d)}}return b},LRa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return KRa(b.name,b.email)}).join(", "):""},ORa=function(a,b,c){var d=[];a&&(MRa("name",a.name,b,d,c),MRa("phone",a.phone,b,d,c),MRa("photo",a.photo,b,d,c));return d.map(function(e){return new NRa(e)})},MRa=function(a,b,c,d,e){if(b){b=m(b);for(var f=b.next();!f.done;f=
b.next())if(f=f.value,"CONTACT"!==Oq("metadata.containerType",f)){var h=c,l=d,q=e,u=Oq("metadata.encodedContainerId",f),x=Oq("metadata.containerType",f);if(h.contains(u,x))var y=h.get(u,x)||0;else y=l.length,h.set(u,x,y),l.push({}),q.push(u);y=l[y];y[a]=y[a]||[];y[a].push(f)}}},QRa=function(a,b){if(a){a=PRa(a);for(var c=0;c<a.getFieldLength();c++){var d=a.getField(c);if(d.hasValue()&&(!b||b(d.getMetaData())))return d.getValue()}}return null},RRa=function(a,b){if(a){a=a.getPhone();for(var c=0;c<a.getFieldLength();c++){var d=
a.getField(c);if(d.hasValue()&&(!b||b(d.getMetaData())))return d.getValue()}}return null},SRa=function(a,b){if(a){a=a.getPhoto();for(var c=0;c<a.getFieldLength();c++){var d=a.getField(c);if(d.hasUrl()&&(!b||b(d.getMetaData())))return d.getUrl()}}return null},TRa=function(a){this.query_=a;this.error_=0},Uq=function(a,b){b=a(b||URa,void 0);a=Tq();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=VRa(b),WRa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},
VRa=function(a){return Ta(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Vq)?a:xp("zSoyz"):xp(String(a))},Xq=function(a,b,c,d,e,f,h){this.serverBase_="string"===typeof a?new Wq(a):a;this.useApiary_=!!c;this.apiaryClientDeferred_=d;this.onAuthError_=e;this.testGaia_=!!f;this.contactStoreConfig_=h;this.commonAcParams_={};this.acWrappers_={};this.onAcCompleteListeners_={};this.inputToAcWrapper_={};this.focusedElement_=null},XRa=function(a){a=a.getEmail();if(!a)return!1;for(var b=m(["-pager","+pager",
"-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(0<=a.indexOf(c.value))return!0;return!1},aSa=function(a,b,c){a=a.filter(YRa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=ZRa(new $Ra(c),b,c.length);return a.concat(b.map(function(d){return d.contact}))},bSa=function(a){a&1&&(F(0,"div"),R(1,"lowercase"));a&2&&(a=L(3),sg("bv2-edit-icon ",S(1,3,a.type),""))},cSa=function(a){a&1&&(D(0,"div")(1,"label"),P(2),E(),O(3,bSa,2,5,"div",10),
E());a&2&&(a=L(2),sg("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),Q(" ",a.title," "),z(1),C("ngIf",!a.readonly&&!a.disabled))},dSa=function(a){a&1&&tg(0)},eSa=function(a){if(a&1){var b=t();D(0,"div",14);K("menuClosed",function(){v(b);var e=L(2);return w(Yq(e,null,!1,!0))});O(1,dSa,1,0,"ng-container",15);E()}if(a&2){L();var c=N(6);L();var d=N(7);C("matMenuTriggerFor",d);z(1);C("ngTemplateOutlet",c)}},fSa=function(a){a&1&&tg(0)},gSa=function(a){a&1&&(D(0,"div",16),O(1,fSa,1,
0,"ng-container",15),E());if(a&2){L();var b=N(6);z(1);C("ngTemplateOutlet",b)}},hSa=function(a){a&1&&F(0,"b-user-membership-chip",25);a&2&&(a=L(5),C("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},iSa=function(a){a&1&&F(0,"b-user-image",26);a&2&&(a=L(5),C("email",a.value))},jSa=function(a){a&1&&(D(0,"span",27)(1,"b-person-hovercard",28),P(2),E()());a&2&&(a=L(5),z(1),C("email",a.value),z(1),Q(" ",a.getDisplayValue("--")," "))},kSa=function(a){a&1&&(H(0),D(1,"div",21),O(2,
hSa,1,4,"b-user-membership-chip",22),O(3,iSa,1,1,"b-user-image",23),O(4,jSa,3,2,"span",24),E(),I());a&2&&(a=L(4),z(2),C("ngIf",a.enableTeamAnnotations&&!!a.value),z(1),C("ngIf",!a.enableTeamAnnotations&&!!a.value),z(1),C("ngIf",!a.enableTeamAnnotations))},lSa=function(a){a&1&&(D(0,"div"),O(1,kSa,5,3,"ng-container",3),E());a&2&&(a=L(3),z(1),C("ngIf",a.isUser))},mSa=function(a){a&1&&F(0,"b-truncated-span",33);a&2&&(a=L(4),C("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},
nSa=function(a){a&1&&F(0,"b-truncated-span",34);a&2&&(a=L(4),C("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},oSa=function(a){a&1&&F(0,"b-truncated-span",33);a&2&&(a=L(4),sg("chippy status-",a.convertIssueStatusStrToTag(a.value),""),C("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},pSa=function(a){a&1&&F(0,"div",35)},qSa=function(a){a&1&&(D(0,"div"),O(1,mSa,1,3,"b-truncated-span",29),O(2,nSa,1,4,"b-truncated-span",
30),O(3,oSa,1,6,"b-truncated-span",31),O(4,pSa,1,0,"div",32),E());a&2&&(a=L(3),z(1),C("ngIf","Priority"!==a.title&&"Status"!==a.title),z(1),C("ngIf","Priority"===a.title),z(1),C("ngIf","Status"===a.title),z(1),C("ngIf",!a.title&&!a.readonly&&!a.disabled))},rSa=function(a){a&1&&(D(0,"div",36),F(1,"mat-icon",37),E())},sSa=function(a){a&1&&(D(0,"div",38),F(1,"mat-icon",39),E())},uSa=function(a){if(a&1){var b=t();D(0,"div",17,18);K("keydown",function(c){v(b);var d=L(2);return w(tSa(d,c))})("click",function(c){v(b);
var d=L(2);return w(Yq(d,c,!0,!1))});O(2,lSa,2,1,"div",3);O(3,qSa,5,4,"div",3);O(4,rSa,2,0,"div",19);O(5,sSa,2,0,"div",20);E()}a&2&&(a=L(2),pg("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),z(2),C("ngIf",a.isUser),z(1),C("ngIf",!a.isUser),z(1),C("ngIf","ENUM"!=a.type),z(1),C("ngIf","ENUM"==a.type))},vSa=function(a){if(a&1){var b=t();D(0,"div",8,9);K("click",function(c){v(b);var d=L();return w(Yq(d,c,!0,!1))})("keydown",function(c){v(b);var d=L();return w(tSa(d,c))});O(2,
cSa,4,5,"div",10);O(3,eSa,2,2,"div",11);O(4,gSa,2,1,"div",12);O(5,uSa,6,8,"ng-template",null,13,$g);E()}a&2&&(a=L(),sg("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),pg("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),gg("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),C("matTooltip",a.getTooltip()),dg("aria-disabled",!1),z(2),C("ngIf",a.title),z(1),C("ngIf","ENUM"===a.type),z(1),C("ngIf","ENUM"!==a.type))},wSa=function(a){if(a&1){var b=t();D(0,"div",
43);K("click",function(){v(b);var c=L(2);return w(c.setFieldValue(!c.value))});D(1,"label");P(2);E()()}a&2&&(a=L(2),sg("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),Bg(a.title))},ySa=function(a){if(a&1){var b=t();D(0,"div",40);O(1,wSa,3,4,"div",41);D(2,"b-slide-toggle",42);K("modelChange",function(){v(b);var d=L();return w(d.setFieldValue(!d.value))});E()()}if(a&2){a=L();var c;sg("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");C("ngClass",Hg(10,xSa,a.disabled,
a.readonly))("matTooltip",a.getTooltip());dg("aria-disabled",!1);z(1);C("ngIf",a.title);z(1);C("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},zSa=function(a){a&1&&F(0,"b-availability-chip",45);a&2&&(a=L(2),C("user",a.value))},ASa=function(a){a&1&&(H(0),O(1,zSa,1,1,"b-availability-chip",44),I());a&2&&(a=L(),z(1),C("ngIf",a.value&&a.enableWaldoAvailability))},BSa=function(a){if(a&1){var b=t();D(0,"button",48);K("click",function(){v(b);var c=
L(2);return w(c.clearFieldValue())});D(1,"span",49);F(2,"mat-icon",50);E();P(3," \u00a0 ");E()}a&2&&(a=L(2),pg("b-menu-item-checked",null==a.value),C("disabled",null==a.value))},CSa=function(a,b){if(a&1){var c=t();D(0,"button",51);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.setFieldValue(d.value))});D(1,"span",49);F(2,"mat-icon",50);E();P(3);E()}a&2&&(a=b.$implicit,b=L(2),pg("b-menu-item-checked",b.value==a.value),C("disabled",b.value==a.value)("matTooltip",a.altText||""),dg("aria-label",
a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),z(3),Q(" ",a.displayText," "))},DSa=function(a){a&1&&(O(0,BSa,4,3,"button",46),O(1,CSa,4,7,"button",47));a&2&&(a=L(),C("ngIf",a.clearable),z(1),C("ngForOf",a.choices))},ESa=function(a){a&1&&tg(0)},FSa=function(a){a&1&&tg(0)},GSa=function(a){if(a&1){var b=t();D(0,"div",43);K("click",function(d){return d.stopPropagation()});D(1,"b-date-time-picker-content",57);K("dateSelectionChange",function(d){v(b);var e=L(2);return w(e.googDateValue=
null!==d&&void 0!==d?d:null)})("saveClicked",function(){v(b);var d=L(2);return w(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){v(b);var d=L(2);return w(Yq(d,null,!1,!1))});E()()}if(a&2){a=L(2);var c;z(1);C("required",!(a.clearable&&"DATE"===a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},ISa=function(a){if(a&1){var b=t();D(0,"textarea",66);K("ngModelChange",function(c){v(b);var d=L(4);return w(d.textBuffer=c)})("keydown",function(c){v(b);var d=L(4);return w(HSa(d,
c))});E()}a&2&&(a=L(4),C("ngModel",a.textBuffer),dg("aria-label",a.title))},KSa=function(a){if(a&1){var b=t();D(0,"input",67);K("ngModelChange",function(c){v(b);var d=L(4);return w(d.textBuffer=c)})("keydown",function(c){v(b);var d=L(4);return w(JSa(d,c))});E()}a&2&&(a=L(4),C("ngModel",a.textBuffer),dg("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},LSa=function(a){a&1&&(D(0,"div"),O(1,ISa,1,2,"textarea",64),O(2,KSa,1,3,"input",65),E());a&2&&(a=L(3),z(1),C("ngIf",a.multiline),z(1),
C("ngIf",!a.multiline))},MSa=function(a){if(a&1){var b=t();D(0,"textarea",70);K("ngModelChange",function(c){v(b);var d=L(4);return w(d.textBuffer=c)})("keydown",function(c){v(b);var d=L(4);return w(HSa(d,c))})("autocompleteActive",function(c){v(b);var d=L(4);return w(d.autocompleteActive=c)});E()}a&2&&(a=L(4),C("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),dg("aria-label",a.title))},NSa=function(a){if(a&1){var b=t();D(0,"input",71);K("ngModelChange",function(c){v(b);var d=L(4);return w(d.textBuffer=
c)})("keydown",function(c){v(b);var d=L(4);return w(JSa(d,c))})("autocompleteActive",function(c){v(b);var d=L(4);return w(d.autocompleteActive=c)});E()}a&2&&(a=L(4),C("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),dg("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},OSa=function(a){a&1&&(D(0,"div"),O(1,MSa,1,3,"textarea",68),O(2,NSa,1,4,"input",69),E());a&2&&(a=L(3),z(1),C("ngIf",a.multiline),z(1),C("ngIf",!a.multiline))},QSa=function(a){if(a&1){var b=t();D(0,"div",58);
K("click",function(c){return c.stopPropagation()});O(1,LSa,3,2,"div",3);O(2,OSa,3,2,"div",3);D(3,"div",59)(4,"button",60);K("click",function(){v(b);var c=L(2);return w(PSa(c))});F(5,"mat-icon",61);E();D(6,"button",62);K("click",function(c){v(b);var d=L(2);return w(Yq(d,c,!1,!0))});F(7,"mat-icon",63);E()();D(8,"div",36);F(9,"mat-icon",37);E()()}a&2&&(a=L(2),z(1),C("ngIf",!a.isUser),z(1),C("ngIf",a.isUser),z(2),fg("aria-label","Apply change to ",a.title,""),yg("matTooltip","Apply change to ",a.title,
""),C("disabled",a.value==a.textBuffer),z(2),fg("aria-label","Discard change to ",a.title,""),yg("matTooltip","Discard change to ",a.title,""))},RSa=function(a){a&1&&(D(0,"div",52,53),O(2,ESa,1,0,"ng-container",54),O(3,FSa,1,0,"ng-container",54),O(4,GSa,2,2,"div",55),O(5,QSa,10,7,"div",56),E());a&2&&(a=L(),sg("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),C("ngSwitch",a.type),z(2),C("ngSwitchCase","ENUM"),z(1),C("ngSwitchCase","BOOL"),z(1),C("ngSwitchCase","DATE"))},SSa=
function(a){switch(null==a?void 0:a.type){case "ENUM":return"ENUM";case "DATE":return"DATE";case "TEXT":return"TEXT";case "NUMERIC":return"NUMERIC";default:return null}},TSa=function(a){a&1&&F(0,"b-icon",7);a&2&&(a=L(),C("name",a.iconName))},USa=function(a){a&1&&(D(0,"span",8),P(1),E());a&2&&(a=L(),z(1),Bg(a.title))},VSa=function(a){a&1&&(D(0,"div",9),P(1,"\u00a0"),E())},WSa=function(a){a&1&&(D(0,"label"),P(1),E());a&2&&(a=L(),z(1),Q(" ",a.title," "))},YSa=function(a,b){a&1&&(D(0,"div",18),tg(1,19),
E());if(a&2){a=b.$implicit;b=b.index;L(2);var c=N(13);z(1);C("ngTemplateOutletContext",Hg(2,XSa,a,b))("ngTemplateOutlet",c)}},$Sa=function(a){a&1&&(D(0,"collapsible-panel",15),O(1,YSa,2,5,"div",16),tg(2,17),E());if(a&2){a=L();var b=N(15);C("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);z(1);C("ngForOf",ZSa(a))("ngForTrackBy",a.trackByIndex);z(1);C("ngTemplateOutlet",b)}},aTa=function(a,b){a&1&&(D(0,"div",18),tg(1,19),E());if(a&2){a=b.$implicit;
b=b.index;L(2);var c=N(13);z(1);C("ngTemplateOutletContext",Hg(2,XSa,a,b))("ngTemplateOutlet",c)}},bTa=function(a){a&1&&(D(0,"div"),P(1,"--"),E())},cTa=function(a){a&1&&(H(0),O(1,aTa,2,5,"div",16),tg(2,17),O(3,bTa,2,0,"div",3),I());if(a&2){a=L();var b=N(15);z(1);C("ngForOf",ZSa(a))("ngForTrackBy",a.trackByIndex);z(1);C("ngTemplateOutlet",b);z(1);C("ngIf",!(null==a.values?0:a.values.length))}},fTa=function(a){if(a&1){var b=t();D(0,"button",24);K("menuOpened",function(){v(b);var d=L(2);dTa(d);d.enumPendingValues=
new Set(d.values||[]);return w()})("menuClosed",function(){v(b);var d=L(2);return w(eTa(d))});P(1,"Edit ");E()}if(a&2){a=L(2);var c=N(17);fg("aria-label","Add item to ",a.title,"");C("matMenuTriggerFor",c)}},gTa=function(a){a&1&&(D(0,"button",25),P(1,"Add "),E());if(a&2){a=L(2);var b=N(22);fg("aria-label","Add item to ",a.title,"");C("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},hTa=function(a){if(a&1){var b=t();D(0,"button",26);K("beforeOpened",function(){v(b);var d=L(2);
return w(d.invalidMessage="")});P(1,"Add ");E()}if(a&2){a=L(2);var c=N(20);fg("aria-label","Add item to ",a.title,"");yg("matTooltip","Add item to ",a.title,"");C("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},iTa=function(a){a&1&&(H(0,20),O(1,fTa,2,2,"button",21),O(2,gTa,2,3,"button",22),O(3,hTa,2,4,"button",23),I());a&2&&(a=L(),C("ngSwitch",a.type),z(1),C("ngSwitchCase","REPEATED_ENUM"),z(1),C("ngSwitchCase","REPEATED_DATE"))},jTa=function(a){a&1&&(D(0,"div"),F(1,"b-changelist-link",
37),E());if(a&2){a=L(2).item;var b=L();z(1);C("changelistId",b.asNumber(a))}},kTa=function(a){a&1&&(D(0,"div")(1,"a",38),P(2),E()());if(a&2){a=L(3).item;var b=L();z(1);C("href",b.getTaskFlowLink(a),ue);dg("aria-label","Workspace"+a.workspaceId);z(1);Q(" ",a.workspaceName," ")}},lTa=function(a){a&1&&O(0,kTa,3,3,"div",30);if(a&2){L();var b=N(6);L();a=L();C("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},mTa=function(a){a&1&&(D(0,"div"),F(1,"b-team-display",39),E());a&2&&(a=L(3).item,z(1),C("teamId",a.teamId)("componentId",
a.componentId))},nTa=function(a){a&1&&O(0,mTa,2,2,"div",30);if(a&2){L();var b=N(8);L();a=L();C("ngIf","TEAM"===a.type)("ngIfElse",b)}},oTa=function(a){if(a&1){var b=t();D(0,"div")(1,"a",40);K("click",function(){v(b);var c=L(4);return w(c.trackClick("postmortem"))});P(2);E()()}a&2&&(a=L(3).item,z(1),yg("href","https://pm.corp.google.com/",a,"",ue),fg("aria-label","Postmortem ",a,""),z(1),Q(" ",a," "))},pTa=function(a){a&1&&O(0,oTa,3,3,"div",30);if(a&2){L();var b=N(10);L();a=L();C("ngIf","POSTMORTEMS"===
a.type)("ngIfElse",b)}},qTa=function(a){a&1&&(D(0,"div"),F(1,"b-truncated-span",42),E());if(a&2){a=L(3).item;var b=L();z(1);C("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},rTa=function(a){a&1&&F(0,"b-user-membership-chip",46);if(a&2){a=L(4).item;var b=L();C("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)}},sTa=function(a){a&1&&(D(0,"b-person-hovercard",47),P(1),E());a&2&&(a=L(4).item,C("email",a),z(1),Q(" ",a," "))},tTa=function(a){a&1&&(D(0,"div",43),O(1,rTa,
1,4,"b-user-membership-chip",44),O(2,sTa,2,2,"b-person-hovercard",45),E());a&2&&(a=L(4),z(1),C("ngIf",a.enableTeamAnnotations),z(1),C("ngIf",!a.enableTeamAnnotations))},uTa=function(a){a&1&&(O(0,qTa,2,3,"div",3),O(1,tTa,3,2,"div",41));if(a&2){a=L(2).item;var b=L();C("ngIf",!b.isUser&&b.isString(a));z(1);C("ngIf",b.isUser&&b.isString(a))}},vTa=function(a){if(a&1){var b=t();D(0,"button",48,49);K("click",function(){v(b);var d=L(2).$index,e=L();return w(e.removeItem(d))});E()}if(a&2){a=L(2).item;var c=
L();gg("aria-label","Remove ",a," from ",c.title,"");C("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},wTa=function(a){a&1&&(D(0,"div",28)(1,"div",29),O(2,jTa,2,1,"div",30),O(3,lTa,1,2,"ng-template",null,31,$g),O(5,nTa,1,2,"ng-template",null,32,$g),O(7,pTa,1,2,"ng-template",null,33,$g),O(9,uTa,2,2,"ng-template",null,34,$g),E(),O(11,vTa,2,4,"button",35),F(12,"div",36),E());if(a&2){var b=N(4);L();a=L();z(2);C("ngIf","CHANGELISTS"===a.type)("ngIfElse",b);z(9);C("ngIf",!a.readonly&&"REPEATED_ENUM"!==
a.type)}},xTa=function(a,b){a&1&&O(0,wTa,13,3,"div",27);a&2&&(a=b.$index,b=L(),C("ngIf",b.showingAll||a<b.defaultLineCount||!!b.values&&b.values.length===b.defaultLineCount+1))},yTa=function(a){if(a&1){var b=t();D(0,"div",51,52);K("click",function(c){v(b);var d=L(2);return w(Zq(d,!1,c))})("keydown.enter",function(c){v(b);var d=L(2);return w(Zq(d,!1,c))})("keydown.space",function(c){v(b);var d=L(2);return w(Zq(d,!1,c))});P(2," (show fewer) ");E()}a&2&&(a=L(2),gg("aria-label","Show at most ",a.defaultLineCount,
" ",a.title," items"),yg("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},zTa=function(a){if(a&1){var b=t();D(0,"div")(1,"div",53);P(2);D(3,"span",54,55);K("click",function(c){v(b);var d=L(2);return w(Zq(d,!0,c))})("keydown.enter",function(c){v(b);var d=L(2);return w(Zq(d,!0,c))})("keydown.space",function(c){v(b);var d=L(2);return w(Zq(d,!0,c))});P(5," (show all) ");E()()()}a&2&&(a=L(2),z(2),Q(" ... and ",a.values.length-a.defaultLineCount," more "),z(1),gg("aria-label",
"Show all ",null==a.values?null:a.values.length," ",a.title," items"),yg("matTooltip","Show all ",null==a.values?null:a.values.length," items in the list"))},ATa=function(a){a&1&&(O(0,yTa,3,3,"div",50),O(1,zTa,6,4,"div",3));a&2&&(a=L(),C("ngIf",a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1),z(1),C("ngIf",!a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1))},BTa=function(a,b){if(a&1){var c=t();D(0,"button",57);K("click",function(d){var e=v(c).$implicit,f=L(2);e=e.value;
f.enumPendingValues.has(e)?f.enumPendingValues.delete(e):f.enumPendingValues.add(e);null==d||d.stopPropagation();return w()});D(1,"span",58);F(2,"mat-icon",59);E();P(3);E()}a&2&&(a=b.$implicit,b=L(2),pg("b-menu-item-checked",b.enumPendingValues.has(a.value)),C("disabled",b.listFieldDisabled),dg("aria-label",a.displayText),z(3),Q(" ",a.displayText," "))},CTa=function(a){a&1&&O(0,BTa,4,5,"button",56);a&2&&(a=L(),C("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},DTa=function(a){a&1&&
F(0,"input",69);a&2&&(a=L(2),fg("aria-label","Addition to ",a.title,""),C("bContactAutocomplete","MULTI"))},ETa=function(a){a&1&&F(0,"input",70);a&2&&(a=L(2),fg("aria-label","Addition to ",a.title,""),C("type","REPEATED_NUMERIC"===a.type?"number":"text"))},FTa=function(a){a&1&&(D(0,"mat-error"),P(1),E());a&2&&(a=L(2),gg("aria-label","",a.title," error: ",a.invalidMessage,""),z(1),Q(" ",a.invalidMessage," "))},ITa=function(a){if(a&1){var b=t();D(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,
"form",60,61);K("ngSubmit",function(){v(b);var d=N(3),e=N(4),f=L();return w(GTa(f,d,e))});O(5,DTa,1,2,"input",62);O(6,ETa,1,2,"input",63);D(7,"div",64)(8,"button",65);F(9,"mat-icon",66);E();D(10,"button",67);K("click",function(){v(b);var d=L();return w(HTa(d,!0))});F(11,"mat-icon",68);E()();O(12,FTa,2,3,"mat-error",3);E()()()}if(a&2){var c=N(3);a=L();z(5);C("ngIf",a.isUser);z(1);C("ngIf",!a.isUser);z(2);fg("aria-label","Apply addition to ",a.title,"");C("disabled",!c.valid||a.listFieldDisabled);z(2);
fg("aria-label","Discard addition to ",a.title,"");z(2);C("ngIf",a.invalidMessage)}},JTa=function(a){if(a&1){var b=t();D(0,"b-date-time-picker-content",71);K("dateChange",function(c){v(b);var d=L();return w(c&&d.addItems(c))})("cancelClicked",function(){v(b);var c=L();return w(HTa(c,!1))});E()}a&2&&C("required",!0)("renderPanel",!1)},$q=function(a,b){return{originX:a,originY:b}},ar=function(a,b){return{overlayX:a,overlayY:b}},KTa=function(a){switch(null==a?void 0:a.type){case "REPEATED_TEXT":return"REPEATED_TEXT";
case "REPEATED_DATE":return"REPEATED_DATE";case "REPEATED_ENUM":return"REPEATED_ENUM";case "REPEATED_NUMERIC":return"REPEATED_NUMERIC";default:return null}},NTa=function(a){if(a&1){var b=t();D(0,"b-edit-field",3);K("valueChange",function(e){v(b);var f=L(2);return w(f.save.emit(e))});E()}if(a&2){a=L().ngIf;var c=L(),d;C("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("clearable",!c.field.required)("value",LTa(c))("displayValueOverride",
c.getDisplayValue())("choices",null!==(d=a.choices)&&void 0!==d?d:Fg(11,MTa))("showEnumTitle",!0)("disabled",c.disabled)}},PTa=function(a){if(a&1){var b=t();D(0,"b-list-field",4);K("valuesChange",function(d){v(b);var e=L(2);return w(e.save.emit(d.values))});E()}if(a&2){a=L().ngIf;var c=L();C("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("values",OTa(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",
c.disabled)}},QTa=function(a,b){a&1&&(H(0),O(1,NTa,1,12,"b-edit-field",1),O(2,PTa,1,9,"b-list-field",2),I());a&2&&(a=b.ngIf,z(1),C("ngIf",!a.isRepeated()),z(1),C("ngIf",a.isRepeated()))},RTa=function(a){a&1&&(H(0),F(1,"mat-icon",11),I())},STa=function(a){if(a&1){var b=t();H(0);D(1,"button",12);K("mousedown",function(c){v(b);var d=L();return w(d.back(c))});F(2,"mat-icon",13);E();I()}},TTa=function(a){if(a&1){var b=t();H(0);D(1,"button",14);K("mousedown",function(c){v(b);var d=L();return w(d.expand(d.componentOption,
c))});F(2,"mat-icon",15);E();I()}a&2&&(a=L(),z(1),C("matTooltip","View child components of "+a.componentOption.name),dg("aria-label","View child components of "+a.componentOption.name))},UTa=function(a){if(a&1){var b=t();H(0);D(1,"a",19);K("mousedown",function(d){v(b);var e=L().$implicit;L(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return w()});R(2,"boldPrefixMatches");R(3,"toString");E();I()}if(a&2){a=L().$implicit;var c=L(2);z(1);C("innerHtml",Jg(2,1,S(3,4,a.name),c.query),
te)}},VTa=function(a){a&1&&P(0);a&2&&(a=L().$implicit,Q(" ",a.name," "))},WTa=function(a){a&1&&(H(0),P(1,"\u00a0>\u00a0"),I())},XTa=function(a,b){a&1&&(H(0),O(1,UTa,4,6,"ng-container",6),O(2,VTa,1,1,"ng-template",null,17,$g),O(4,WTa,2,0,"ng-container",18),I());if(a&2){a=b.$implicit;b=b.last;var c=N(3);z(1);C("ngIf",a.name!=a.id)("ngIfElse",c);z(3);C("ngIf",!b)}},YTa=function(a){a&1&&(H(0),O(1,XTa,5,3,"ng-container",16),I());a&2&&(a=L(),z(1),C("ngForOf",a.componentOption.componentPath))},ZTa=function(a,
b){if(a&1){var c=t();H(0);D(1,"a",20);K("mousedown",function(d){var e=v(c).ngIf;L(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return w()});P(2);E();I()}a&2&&(a=b.ngIf,z(2),Q(" ",a.name," "))},$Ta=function(a){a&1&&O(0,ZTa,3,1,"ng-container",18);a&2&&(a=L(),C("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},aUa=function(a){a&1&&(D(0,"span",21),P(1," [Archived] "),E())},bUa=function(a){return{type:"team",id:a.getId(),name:a.getName(),description:a.getDescription(),
pathNames:a.getPathNamesList(),pathIds:a.getPathIdsList(),expanded:!1}},cUa=function(a){return{type:"team",id:a.getId(),name:a.getName(),description:a.getDescription(),expanded:!1}},br=function(a){var b,c,d=null!=(c=null==(b=a.componentPathInfo)?void 0:b.componentPathId)?c:[],e,f,h=null!=(f=null==(e=a.componentPathInfo)?void 0:e.componentPathName)?f:[];b=d.map(function(l,q){return{id:l,name:h[q],pathText:h.slice(0,q+1).join(" > ")}});return{type:"component",id:a.componentId,name:a.name,description:a.description,
accessLimit:a.accessLimit,archived:a.archived,componentPath:b,trackerId:a.trackerId}},dUa=function(a){return new Map([].concat(p(a.entries())).map(function(b){var c=m(b);b=c.next().value;c=c.next().value;return[b,c.map(cUa)]}))},eUa=function(a){a&1&&F(0,"img",5);a&2&&(a=L(),dg("src",a.getLogoUrl(),ue))},fUa=function(a){a&1&&(D(0,"span",9),P(1,"no components"),E())},gUa=function(a){a&1&&(D(0,"div",6),F(1,"div",7),R(2,"boldPrefixMatches"),O(3,fUa,2,0,"span",8),E());a&2&&(a=L(),z(1),C("innerHtml",Jg(2,
2,a.teamOption.name,a.query),te),z(2),C("ngIf",a.hasNoComponent))},hUa=function(a){if(a&1){var b=t();H(0);D(1,"a",15);K("mousedown",function(c){v(b);var d=L(2).index,e=L(2);d=null==e.teamOption.pathIds?null:e.teamOption.pathIds[d];c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return w()});P(2);E();I()}a&2&&(a=L(2).$implicit,z(2),Bg(a))},iUa=function(a){a&1&&P(0);a&2&&(a=L(2).$implicit,Bg(a))},jUa=function(a){a&1&&(H(0),O(1,hUa,3,1,"ng-container",12),O(2,iUa,1,1,"ng-template",null,
14,$g),H(4),P(5," \u00b7 "),I()());if(a&2){var b=N(3);a=L(3);z(1);C("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},kUa=function(a){a&1&&(H(0),D(1,"strong",17),P(2),E(),I());a&2&&(a=L(2).$implicit,z(2),Bg(a))},lUa=function(a){a&1&&P(0);a&2&&(a=L(2).$implicit,Bg(a))},mUa=function(a){a&1&&(O(0,kUa,3,1,"ng-container",12),O(1,lUa,1,1,"ng-template",null,16,$g));if(a&2){var b=N(2);a=L(3);C("ngIf",a.compact)("ngIfElse",b)}},nUa=function(a,b){a&1&&(H(0),O(1,jUa,6,2,"ng-container",12),O(2,mUa,3,2,"ng-template",
null,13,$g),I());if(a&2){a=b.last;var c=N(3);z(1);C("ngIf",!a)("ngIfElse",c)}},oUa=function(a){a&1&&(D(0,"div",10),O(1,nUa,4,2,"ng-container",11),E());a&2&&(a=L(),z(1),C("ngForOf",a.teamOption.pathNames))},pUa=function(){var a=Zc(Ci),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},qUa=function(a){if(a&1){var b=t();D(0,"button",9);K("mousedown",function(c){v(b);L().clearQuery();return w(cr(c))});F(1,"mat-icon",10);E()}},rUa=function(a){a&1&&(D(0,"div",13),P(1," Checking for admin access... "),
E())},sUa=function(a){a&1&&(D(0,"div",15),P(1," You do not have admin access to this component. "),D(2,"a",16),P(3,"View component admins"),E()());a&2&&(a=L(3),z(2),C("href",a.paths.manageComponent(a.selectedComponent.componentId,"access"),ue))},tUa=function(a){a&1&&O(0,sUa,4,1,"div",14);a&2&&(a=L(2),C("ngIf",!a.hasAccess&&a.selectedComponent))},uUa=function(a){a&1&&(D(0,"div"),O(1,rUa,2,0,"div",11),O(2,tUa,1,1,"ng-template",null,12,$g),E());if(a&2){var b=N(3);a=L();z(1);C("ngIf",a.checkingAccess)("ngIfElse",
b)}},vUa=function(a){a&1&&F(0,"mat-progress-bar",24)},wUa=function(a){a&1&&(H(0),P(1,"s"),I())},yUa=function(a,b){if(a&1){var c=t();H(0);D(1,"div",30);K("mousedown",function(e){var f=v(c).$implicit,h=L(5);xUa(h.searchState,f);return w(cr(e))});D(2,"team-row",31);K("selectTeamId",function(e){v(c);var f=L(5);return w(dr(f.searchState,e))});E()();I()}if(a&2){a=b.$implicit;b=L(5);var d=N(3);z(1);C("data",a);z(1);C("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},
zUa=function(a){a&1&&(D(0,"div",27)(1,"div",28),P(2," Filter components by my teams "),D(3,"span"),P(4),O(5,wUa,2,0,"ng-container",5),E()(),O(6,yUa,3,4,"ng-container",29),F(7,"mat-divider"),E());a&2&&(a=L().ngIf,z(4),Q("",a.length," team"),z(1),C("ngIf",1<a.length),z(1),C("ngForOf",a))},AUa=function(a,b){a&1&&(H(0),O(1,zUa,8,3,"div",26),I());a&2&&(a=b.ngIf,z(1),C("ngIf",a.length))},BUa=function(a){a&1&&tg(0)},DUa=function(a){a&1&&(H(0),O(1,AUa,2,1,"ng-container",5),R(2,"async"),O(3,BUa,1,0,"ng-container",
25),I());if(a&2){a=L(2);var b=N(12);z(1);C("ngIf",S(2,3,a.searchState.myTeams$));z(2);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(5,CUa,a.searchState.recentComponents))}},EUa=function(a){a&1&&(H(0),P(1,"s"),I())},FUa=function(a){a&1&&tg(0)},IUa=function(a,b){a&1&&(H(0),O(1,FUa,1,0,"ng-container",25),I());if(a&2){a=b.$implicit;b=b.index;L(5);var c=N(10);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Hg(4,GUa,a,Gg(2,HUa,b)))}},JUa=function(a){if(a&1){var b=t();D(0,"button",33);K("mousedown",
function(){v(b);var c=L(5);return w(c.searchState.showAllTeams$.next(!0))});F(1,"mat-icon",34);P(2," Show all teams ");E()}},KUa=function(a,b){a&1&&(D(0,"div",27)(1,"div",28),P(2," Filter components by teams "),D(3,"span"),P(4),O(5,EUa,2,0,"ng-container",5),E()(),O(6,IUa,2,7,"ng-container",29),R(7,"async"),O(8,JUa,3,0,"button",32),R(9,"async"),F(10,"mat-divider"),E());a&2&&(a=b.ngIf,b=L(4),z(4),Q("",a," team"),z(1),C("ngIf",1<a),z(1),C("ngForOf",S(7,4,b.searchState.filteredTeamOptions$)),z(2),C("ngIf",
S(9,6,b.searchState.hasHiddenTeams$)))},LUa=function(a,b){a&1&&(H(0),O(1,KUa,11,8,"div",26),I());a&2&&(a=b.ngIf,z(1),C("ngIf",a.length))},MUa=function(a){a&1&&tg(0)},OUa=function(a){a&1&&(H(0),O(1,LUa,2,1,"ng-container",5),R(2,"async"),O(3,MUa,1,0,"ng-container",25),I());if(a&2){a=L(2);var b=N(12);z(1);C("ngIf",S(2,3,a.searchState.teamOptions$));z(2);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(5,NUa,a.searchState.componentOptions))}},PUa=function(a){a&1&&tg(0)},RUa=function(a,b){a&1&&(H(0),
O(1,PUa,1,0,"ng-container",25),I());if(a&2){a=b.$implicit;b=b.index;L(7);var c=N(10);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Hg(4,GUa,a,Gg(2,QUa,b)))}},SUa=function(a){a&1&&(D(0,"div",42),O(1,RUa,2,7,"ng-container",29),E());a&2&&(a=L(2).ngIf,z(1),C("ngForOf",a))},VUa=function(a){if(a&1){var b=t();H(0);O(1,SUa,2,1,"div",41);D(2,"button",33);K("mousedown",function(c){v(b);var d=L(5),e=d.searchState.teamScope$.value;e.expanded?TUa(d.searchState,e):UUa(d.searchState,e);return w(cr(c))});
F(3,"mat-icon",34);P(4);E();I()}a&2&&(a=L(5),z(1),C("ngIf",a.searchState.teamScope$.value.expanded),z(2),pg("expanded",a.searchState.teamScope$.value.expanded),z(1),Q(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},WUa=function(a,b){a&1&&(H(0),O(1,VUa,5,4,"ng-container",5),I());a&2&&(a=b.ngIf,z(1),C("ngIf",a.length))},ZUa=function(a){if(a&1){var b=t();D(0,"div",36)(1,"div",28);P(2," Filtering by team: ");E();D(3,"div",37)(4,"team-row",38);K("selectTeamId",function(d){v(b);
var e=L(3);return w(dr(e.searchState,d))});E();D(5,"button",39);K("mousedown",function(d){v(b);var e=L(3);XUa(e.searchState);return w(cr(d))});F(6,"mat-icon",40);E()();O(7,WUa,2,1,"ng-container",5);E()}if(a&2){a=L(3);var c=N(3);z(3);C("data",a.searchState.teamScope$.value)("listOrder",Fg(7,YUa));z(1);C("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);z(3);C("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},$Ua=function(a){a&
1&&tg(0)},bVa=function(a){a&1&&(H(0),O(1,ZUa,8,8,"div",35),O(2,$Ua,1,0,"ng-container",25),I());if(a&2){a=L(2);var b=N(12);z(1);C("ngIf",a.searchState.teamScope$.value);z(1);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(3,aVa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},eVa=function(a){if(a&1){var b=t();D(0,"div",44)(1,"div",45);P(2,"Component Tree Browser");E();D(3,"component-row",46);K("goBack",function(){v(b);var c=L(3);return w(cVa(c.searchState))})("selectComponentId",
function(c){v(b);var d=L(3);return w(dVa(d.searchState,c))});E()()}a&2&&(a=L(3),z(3),C("componentOption",a.searchState.componentScope))},fVa=function(a){a&1&&tg(0)},hVa=function(a){a&1&&(H(0),O(1,eVa,4,1,"div",43),O(2,fVa,1,0,"ng-container",25),I());if(a&2){a=L(2);var b=N(12);z(1);C("ngIf",a.searchState.componentScope);z(1);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(3,gVa,a.searchState.componentOptions))}},iVa=function(a){if(a&1){var b=t();D(0,"div",17,18);K("mousedown",function(c){v(b);
L();return w(cr(c))});D(2,"div",19);O(3,vUa,1,0,"mat-progress-bar",20);E();D(4,"div",21);H(5,22);R(6,"async");O(7,DUa,4,7,"ng-container",23);O(8,OUa,4,7,"ng-container",23);O(9,bVa,3,6,"ng-container",23);O(10,hVa,3,5,"ng-container",23);I();E()()}a&2&&(a=L(),z(3),C("ngIf",a.isLoading()),z(2),C("ngSwitch",S(6,6,a.searchState.state$)),z(2),C("ngSwitchCase","default"),z(1),C("ngSwitchCase","global"),z(1),C("ngSwitchCase","team_scope"),z(1),C("ngSwitchCase","component_scope"))},jVa=function(a){if(a&1){var b=
t();D(0,"button",50);K("mousedown",function(c){v(b);var d=L().team,e=L();d.expanded?TUa(e.searchState,d):UUa(e.searchState,d);return w(cr(c))});F(1,"mat-icon",51);E()}a&2&&(a=L().team,z(1),pg("expanded",a.expanded))},kVa=function(a){a&1&&tg(0)},mVa=function(a,b){a&1&&(H(0),O(1,kVa,1,0,"ng-container",25),I());if(a&2){a=b.$implicit;b=b.index;var c=L(2),d=c.level;c=c.order;L();var e=N(10);z(1);C("ngTemplateOutlet",e)("ngTemplateOutletContext",Ig(lVa,a,d+1,c.concat(b)))}},nVa=function(a){a&1&&(H(0),O(1,
mVa,2,6,"ng-container",29),I());if(a&2){a=L().team;var b=L();z(1);C("ngForOf",b.searchState.getChildTeams(a.id))}},oVa=function(a,b){if(a&1){var c=t();D(0,"div",47);K("mousedown",function(h){var l=v(c).team,q=L();xUa(q.searchState,l);return w(cr(h))});D(1,"div",48);O(2,jVa,2,2,"button",49);D(3,"team-row",31);K("selectTeamId",function(h){v(c);var l=L();return w(dr(l.searchState,h))});E()()();O(4,nVa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=L(),f=N(3);C("listOrder",b)("data",
a);z(1);og("margin-left",28*d,"px");z(1);C("ngIf",e.searchState.getChildTeams(a.id).length);z(1);pg("indent",!e.searchState.getChildTeams(a.id).length);C("teamOption",a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));z(1);C("ngIf",a.expanded)}},pVa=function(a){a&1&&(H(0),P(1,"s"),I())},rVa=function(a,b){if(a&1){var c=t();D(0,"div",56);K("mousedown",function(e){var f=v(c).$implicit,h=L(3);qVa(h.searchState,f.id);return w(cr(e))});D(1,"component-row",57);K("selectComponentId",
function(e){v(c);var f=L(3);return w(qVa(f.searchState,e))})("expandComponent",function(e){v(c);var f=L(3);return w(f.searchState.expandComponent(e))});E()()}if(a&2){a=b.$implicit;b=L(2).mode;L();var d=N(3);C("data",a);z(1);C("componentOption",a)("query",d.value)("mode",b)}},sVa=function(a,b){a&1&&(D(0,"div",54)(1,"div",28),P(2),D(3,"span"),P(4),O(5,pVa,2,0,"ng-container",5),E()(),O(6,rVa,2,4,"div",55),E());if(a&2){a=b.ngIf;var c=L();b=c.mode;c=c.$implicit;z(2);Q(" ","recent"===b?"Select recent component":
"Select component"," ");z(2);Q("",a," component");z(1);C("ngIf",1<a);z(1);C("ngForOf",c)}},tVa=function(a){a&1&&(H(0),P(1," No recent components "),I())},uVa=function(a){a&1&&(H(0),P(1," No child components "),I())},vVa=function(a){a&1&&(H(0),P(1),F(2,"mat-icon",61),P(3," above ("),D(4,"a",62),P(5,"learn more "),F(6,"mat-icon",63),E(),P(7," about team associations)"),I());a&2&&(a=L(4).teamScope,z(1),Q(" for ",a.name,". Remove the team filter by clicking on the "))},wVa=function(a){a&1&&(H(0),P(1,
" No components found "),O(2,vVa,8,1,"ng-container",5),I());a&2&&(a=L(3).teamScope,z(2),C("ngIf",a))},xVa=function(a){a&1&&(D(0,"div",59),H(1,22),O(2,tVa,2,0,"ng-container",23),O(3,uVa,2,0,"ng-container",23),O(4,wVa,3,1,"ng-container",60),I(),E());a&2&&(a=L(2).mode,z(1),C("ngSwitch",a),z(1),C("ngSwitchCase","recent"),z(1),C("ngSwitchCase","leaf"))},yVa=function(a){a&1&&O(0,xVa,5,3,"div",58);a&2&&(a=L(2),C("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},zVa=function(a,b){a&1&&(O(0,
sVa,7,4,"div",52),O(1,yVa,1,1,"ng-template",null,53,$g));if(a&2){a=b.$implicit;var c=N(2);C("ngIf",a.length)("ngIfElse",c)}},AVa=function(a,b){b=m([a.listOrder,b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==b[c])return a[c]-b[c];return a.length-b.length},BVa=function(a){a&1&&(D(0,"div"),P(1," Loading custom fields... "),E())},CVa=function(a){a&1&&(D(0,"div"),P(1),E());a&2&&(a=L(2),z(1),Q(" There are no custom fields in component ",a.selectedComponent.name,
". "))},DVa=function(a,b){a&1&&(D(0,"mat-option",9),P(1),E());a&2&&(a=b.$implicit,C("value",a),z(1),Q(" ",a.name," "))},EVa=function(a){if(a&1){var b=t();D(0,"div")(1,"mat-form-field",6)(2,"mat-label");P(3,"Custom field");E();D(4,"mat-select",7);K("selectionChange",function(c){v(b);var d=L(2);return w(d.fieldSelected.emit(c.value))});O(5,DVa,2,2,"mat-option",8);E()()()}a&2&&(a=L(2),z(5),C("ngForOf",a.customFields))},FVa=function(a){a&1&&(D(0,"div",4),O(1,BVa,2,0,"div",5),O(2,CVa,2,1,"div",5),O(3,
EVa,6,1,"div",5),E());a&2&&(a=L(),z(1),C("ngIf",null==a.customFields),z(1),C("ngIf",a.customFields&&!a.customFields.length),z(1),C("ngIf",null==a.customFields?null:a.customFields.length))},GVa=function(a){a&1&&tg(0)},HVa=function(){},IVa=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L().value,z(1),Bg(a.textValue))},JVa=function(a){a&1&&(H(0),F(1,"b-formatted-date-time",5),I());if(a&2){a=L().value;var b=L();z(1);C("date",b.toDate(a.dateValue))}},KVa=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L().value,z(1),
Bg(a.enumValue))},LVa=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L().value,z(1),Bg(a.numericValue))},MVa=function(a,b){a&1&&(H(0),P(1),I());a&2&&(a=b.$implicit,b=b.last,z(1),Cg("",a,"",b?"":", ",""))},NVa=function(a){a&1&&(H(0),O(1,MVa,2,2,"ng-container",6),I());a&2&&(a=L().value,z(1),C("ngForOf",a.repeatedTextValue.values))},OVa=function(a,b){a&1&&(H(0),F(1,"b-formatted-date-time",5),P(2),I());if(a&2){a=b.$implicit;b=b.last;var c=L(3);z(1);C("date",c.toDate(a));z(1);Bg(b?"":", ")}},PVa=function(a){a&
1&&(H(0),O(1,OVa,3,2,"ng-container",6),I());a&2&&(a=L().value,z(1),C("ngForOf",a.repeatedDateValue.values))},QVa=function(a,b){a&1&&(H(0),P(1),I());a&2&&(a=b.$implicit,b=b.last,z(1),Cg("",a,"",b?"":", ",""))},RVa=function(a){a&1&&(H(0),O(1,QVa,2,2,"ng-container",6),I());a&2&&(a=L().value,z(1),C("ngForOf",a.repeatedEnumValue.values))},SVa=function(a,b){a&1&&(H(0),P(1),I());a&2&&(a=b.$implicit,b=b.last,z(1),Cg("",a,"",b?"":", ",""))},TVa=function(a){a&1&&(H(0),O(1,SVa,2,2,"ng-container",6),I());a&2&&
(a=L().value,z(1),C("ngForOf",a.repeatedNumericValue.values))},UVa=function(a,b){a&1&&(O(0,IVa,2,1,"ng-container",4),O(1,JVa,2,1,"ng-container",4),O(2,KVa,2,1,"ng-container",4),O(3,LVa,2,1,"ng-container",4),O(4,NVa,2,1,"ng-container",4),O(5,PVa,2,1,"ng-container",4),O(6,RVa,2,1,"ng-container",4),O(7,TVa,2,1,"ng-container",4));a&2&&(a=b.value,b=L(),C("ngIf",null!=a.textValue),z(1),C("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),z(1),C("ngIf",null!=a.enumValue),z(1),C("ngIf",null!=a.numericValue),
z(1),C("ngIf",null!=a.repeatedTextValue),z(1),C("ngIf",null!=a.repeatedDateValue),z(1),C("ngIf",null!=a.repeatedEnumValue),z(1),C("ngIf",null!=a.repeatedNumericValue))},er=function(a){var b=void 0===b?VVa:b;var c=Va(a),d=function(e){e=m(e);e.next();e=rf(e);return b(c,e)};return function(){var e=bd.apply(0,arguments),f=this||da,h=WVa.get(f);h||(h={},WVa.set(f,h));f=h;h=[this].concat(p(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var l=m(h);h=l.next().value;l=rf(l);h=a.apply(h,
l);f=f[e]=h}return f}},fr=function(a){var b={};a=a.replace(/\r/g,"").split("\n");for(var c=0;c<a.length;c++){var d=a[c],e=d.indexOf(":");0>e||(b[d.substring(0,e)]=d.substring(e+2,d.length))}return b},gr=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},XVa=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},ZVa=function(a){a=kc(a);for(var b=0;b<YVa.length;++b){var c=YVa[b],d=gr(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,XVa(a,c))}return a},
$Va=function(a){a=kc(a);XVa(a,"X-Goog-Upload-Status");return a},aWa=function(a){a&1&&(D(0,"span"),P(1),R(2,"humanFileSize"),R(3,"humanFileSize"),E());if(a&2){a=L().$implicit;var b;z(1);Cg(" ",S(2,2,a.transferredBytes)," of ",S(3,4,null!==(b=a.size)&&void 0!==b?b:0)," ")}},bWa=function(a){a&1&&(D(0,"span",11),P(1),E());a&2&&(a=L().$implicit,z(1),Q(" ",a.errorMessage," "))},cWa=function(a){a&1&&(D(0,"span",11),P(1),R(2,"humanFileSize"),E());if(a&2){a=L().$implicit;var b;z(1);Q(" ",S(2,1,null!==(b=a.size)&&
void 0!==b?b:0)," ")}},eWa=function(a,b){if(a&1){var c=t();D(0,"div",3)(1,"div",4);F(2,"mat-icon",5);D(3,"span",6);P(4);E();D(5,"span",7);O(6,aWa,4,6,"span",8);O(7,bWa,2,1,"span",9);O(8,cWa,3,3,"span",9);E()();D(9,"button",10);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.cancel(d))});E()()}a&2&&(a=b.$implicit,b=L(2),C("ngClass",Gg(8,dWa,a.state===b.uploadStates.ERROR)),z(3),C("matTooltip",a.name),z(1),Bg(a.name),z(2),C("ngIf",a.state===b.uploadStates.UPLOADING),z(1),C("ngIf",a.state===
b.uploadStates.ERROR),z(1),C("ngIf",a.state===b.uploadStates.COMPLETE),z(1),C("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),dg("aria-label","Remove attachment"+a.name))},fWa=function(a){a&1&&(D(0,"div",1),O(1,eWa,10,10,"div",2),E());a&2&&(a=L(),z(1),C("ngForOf",a.uploads))},gWa=function(a){this.action=a;this.wfv=!1},iWa=function(){var a=new hr,b=new ir;oq(b,5,!0);var c=hWa();c.setType(7);c.setDirection(2);jr(b,c);kr(b,1);lr(a,b);a.setSourceId(2);a.setName("Shared with me");
return a},jWa=function(){var a=new hr,b=new ir,c=new mr;c.setType(10);c.setDirection(2);jr(b,c);kr(b,1);lr(a,b);a.setSourceId(2);a.setName("Recent");return a},kWa=function(){var a=new hr,b=new ir;b.setStarred(!0);jr(b,hWa());kr(b,1);lr(a,b);a.setSourceId(2);a.setName("Starred");return a},hWa=function(){var a=new mr;a.setType(4);a.setDirection(1);return a},nWa=function(){var a=new nr;a.addSource(lWa());a.addSource(mWa());return a},lWa=function(){var a=new hr,b=new or;b.setViewMode(1);Dk(b,2,1);oq(b,
5,!0);oq(b,6,!1);Ok(a,or,6,b);a.setSourceId(3);a.setName("Photos");return a},mWa=function(){var a=new hr,b=new or;b.setViewMode(2);oq(b,5,!0);oq(b,6,!1);Ok(a,or,6,b);a.setSourceId(3);a.setName("Albums");return a},oWa=function(){var a=new hr,b=new or;b.setViewMode(1);Dk(b,2,1);oq(b,5,!1);oq(b,6,!0);Ok(a,or,6,b);a.setSourceId(3);a.setName("Videos");return a},pWa=function(a){a=void 0===a?1:a;var b=new hr;b.setSourceId(6);b.setName("YouTube");var c=new pr;c.setViewMode(a);Ok(b,pr,9,c);return b},qWa=function(a,
b){gWa.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},uWa=function(a,b){b=b?rWa:sWa;if(!tWa(a)){a=a||Tq(document);var c=a.createElement("SCRIPT");Xi(c,b);c.type="text/javascript";a.document_.body.appendChild(c)}},tWa=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},wWa=function(a,b){var c=b&&b.getWindow()||window;if(tWa(b))a();else if(vWa)vWa.push(a);else var d=vWa=[a],e=c.setInterval(function(){if(tWa(b)){c.clearInterval(e);for(var f=0;f<d.length;f++)d[f]();
vWa=null}},100)},yWa=function(a,b){var c;a:{for(c=b.target;c;){if(1==c.nodeType){var d=qr(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!xWa(a,c)||c.scrollHeight==c.clientHeight||0<b.deltaY&&1>=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)&&b.stopPropagation()},CWa=function(a){if(a&1){var b=t();D(0,"input",7,8);K("change",function(){v(b);var c=L();if(zWa(c)){var d=rr(c);AWa(c);BWa(c,!0);rr(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=
c.textAreaLastCursorLocation;d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return w()})("keyup",function(c){v(b);var d=L();document.activeElement===sr(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,BWa(d,!0),rr(d).focus()):BWa(d));return w()});E()}a&2&&(a=L(),C("value",a.autocompleteUserName))},DWa=function(a){a&1&&F(0,"div",9,10)},EWa=function(a){a&1&&tg(0)},FWa=function(a){a&1&&tg(0)},GWa=function(a){if(a&1){var b=t();D(0,"b-drive-attachment",11);
K("onPickDoc",function(c){v(b);var d=L(2);d.comment&&(d.comment.value+="\n\n"+c.url+" ("+c.name+")");return w()})("onCloneBlob",function(c){v(b);var d=L(2);d.comment&&d.comment.uploads.push(c);return w()});E()}a&2&&(a=L(2),C("disabled",a.attachmentsDisabled))},HWa=function(a){if(a&1){var b=t();H(0);D(1,"button",15);K("click",function(){v(b);var c=L(3);return w(c.onRestrict.emit())});F(2,"mat-icon",16);E();I()}a&2&&(a=L(3),z(1),C("disabled",a.attachmentsDisabled))},IWa=function(a){if(a&1){var b=t();
D(0,"button",17);K("click",function(){v(b);var c=L(3);return w(c.onRestrict.emit())});F(1,"mat-icon",16);P(2);E()}a&2&&(a=L(3),z(2),Q(" ",a.getRestrictedLabel()," "))},JWa=function(a){a&1&&(D(0,"div",12),O(1,HWa,3,1,"ng-container",13),O(2,IWa,3,1,"ng-template",null,14,$g),E());if(a&2){var b=N(3);a=L(2);z(1);C("ngIf",!a.isRestricted())("ngIfElse",b)}},KWa=function(a){if(a&1){var b=t();D(0,"div",7);xg(1,1,["class","goog-inline-block"]);D(2,"b-attachment-selector",8);K("onSelect",function(d){v(b);var e=
L();d=e.attachmentUploader.upload(d);e.comment&&e.comment.uploads.push(d);return w()});E();O(3,GWa,1,1,"b-drive-attachment",9);R(4,"async");O(5,JWa,4,2,"div",10);E()}if(a&2){a=L();var c;z(2);C("disabled",a.attachmentsDisabled);z(1);C("ngIf",!(null!==(c=S(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));z(2);C("ngIf",a.showRestrictionOptions)}},LWa=function(a){a&1&&(D(0,"div"),F(1,"b-live-preview",18),E());a&2&&(a=L(),z(1),C("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",
a.comment.formattingMode))},NWa=function(a,b){if(a&1){var c=t();D(0,"button",13);K("click",function(){var d=v(c).$implicit,e=L(3);return w(MWa(e.issueEditBuilder,d))});P(1);E()}a&2&&(a=b.$implicit,b=L(3),C("disabled",b.issueEditBuilder.issueState==a),z(1),Q(" ",a.displayValue," "))},OWa=function(a){if(a&1){var b=t();D(0,"div",27)(1,"span");P(2,"Multiple");E();D(3,"a",28);K("click",function(){v(b);var c=L(4);return w(c.issueEditBuilder.clearAssignee())});P(4,"X");E()()}},PWa=function(a){if(a&1){var b=
t();D(0,"div",27)(1,"span");P(2,"Possibly multiple");E();D(3,"a",28);K("click",function(){v(b);var c=L(4);return w(c.issueEditBuilder.clearAssignee())});P(4,"X");E()()}},RWa=function(a){if(a&1){var b=t();D(0,"div")(1,"input",29);K("ngModelChange",function(c){v(b);var d=L(4);return w(d.issueEditBuilder.commonAssignee=c)})("ngModelChange",function(){v(b);var c=L(4);return w(QWa(c.issueEditBuilder))});E()()}a&2&&(a=L(4),z(1),C("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete","SINGLE"),
dg("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},SWa=function(a){if(a&1){var b=t();D(0,"div",27)(1,"span");P(2);E();D(3,"a",30);K("click",function(){v(b);var c=L(4);return w(c.issueEditBuilder.clearVerifier())});P(4,"X");E()()}a&2&&(a=L(4),pg("bv2-invalid-multiple-user-chip",!tr(a.issueEditBuilder)),z(2),Q(" Multiple ",tr(a.issueEditBuilder)?"":"(some unset)"," "))},TWa=function(a){if(a&1){var b=t();D(0,"div",27)(1,"span");P(2);E();D(3,"a",30);K("click",function(){v(b);var c=L(4);
return w(c.issueEditBuilder.clearVerifier())});P(4,"X");E()()}a&2&&(a=L(4),pg("bv2-invalid-multiple-user-chip",!tr(a.issueEditBuilder)),z(2),Q(" Possibly multiple ",tr(a.issueEditBuilder)?"":"(some unset)"," "))},UWa=function(a){if(a&1){var b=t();D(0,"div")(1,"input",31);K("ngModelChange",function(c){v(b);var d=L(4);return w(d.issueEditBuilder.commonVerifier=c)});E()()}a&2&&(a=L(4),z(1),C("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?null:
a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),dg("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},VWa=function(a){a&1&&(D(0,"div")(1,"div",21)(2,"label",22),P(3," Assignee "),E(),D(4,"div",15),O(5,OWa,5,0,"div",23),O(6,PWa,5,0,"div",23),O(7,RWa,2,3,"div",24),E()(),D(8,"div",21)(9,"label",25),P(10," Verifier "),E(),D(11,"div",15),O(12,SWa,5,3,"div",26),O(13,TWa,5,3,"div",26),O(14,UWa,2,4,"div",24),E()()());a&2&&(a=L(3),z(4),C("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),
z(1),C("ngSwitchCase","MULTIPLE"),z(1),C("ngSwitchCase","POSSIBLY_MULTIPLE"),z(5),C("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),z(1),C("ngSwitchCase","MULTIPLE"),z(1),C("ngSwitchCase","POSSIBLY_MULTIPLE"))},WWa=function(a){if(a&1){var b=t();D(0,"div",21)(1,"label",32);P(2," Issue ID ");E();D(3,"input",33);K("ngModelChange",function(c){v(b);var d=L(3);return w(d.issueEditBuilder.commonDuplicateOf=c.trim())});E()()}a&2&&(a=L(3),z(3),C("ngModel",a.issueEditBuilder.commonDuplicateOf),dg("cdkFocusInitial",
a.focus===a.FocusableField.DUPE_ID||null))},XWa=function(a,b){a&1&&(D(0,"li"),P(1),F(2,"b-access-level-indicator",36),E());a&2&&(a=b.$implicit,z(1),Q(" ",a.path," "),z(1),C("accessLevel",a.accessLevel))},YWa=function(a){a&1&&(D(0,"div",34)(1,"div")(2,"strong"),P(3,"You are editing issues in components that have external viewers:"),E()(),D(4,"ul"),O(5,XWa,3,2,"li",35),E()());a&2&&(a=L(3),z(5),C("ngForOf",a.externalWarnings))},ZWa=function(a){if(a&1){var b=t();D(0,"div",9)(1,"button",10)(2,"span");
P(3);E();F(4,"b-icon",11);E();D(5,"mat-menu",null,12)(7,"button",13);K("click",function(){v(b);var d=L(2);return w(d.issueEditBuilder.issueState=void 0)});P(8,"No change ");E();O(9,NWa,2,2,"button",14);E();D(10,"div",15);O(11,VWa,15,6,"div",16);O(12,WWa,4,2,"div",17);E();D(13,"div")(14,"b-comment-box",18);K("onSubmit",function(){v(b);var d;null==(d=L(2).matDialogRef)||d.close(!0);return w()});E()();F(15,"div",19);O(16,YWa,6,1,"div",20);E()}if(a&2){var c=N(6);a=L(2);z(1);C("matMenuTriggerFor",c);z(2);
Bg(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");z(4);C("disabled",!a.issueEditBuilder.issueState);z(2);C("ngForOf",a.issueStates);z(1);C("ngSwitch",!a.issueEditBuilder.issueState||"DUPLICATE"!==a.issueEditBuilder.issueState.status);z(1);C("ngSwitchCase",!0);z(3);C("comment",a.comment)("showToolbar",!1);z(2);C("ngIf",0<a.externalWarnings.length)}},$Wa=function(a){if(a&1){var b=t();D(0,"div",37)(1,"b-recaptcha",38);K("onUpdate",function(c){v(b);var d=L(2);return w(d.issueEditBuilder.recaptchaResponse=
c)});E()()}},bXa=function(a){a&1&&(D(0,"form",null,1)(2,"h1",2),P(3,"Change issue status"),E(),D(4,"div",3)(5,"span"),P(6,"Enter updated issue status information below"),E(),O(7,ZWa,17,9,"div",4),E(),O(8,$Wa,2,0,"div",5),D(9,"div",6)(10,"button",7),P(11," Cancel "),E(),D(12,"button",8),P(13," Save "),E()()());if(a&2){var b=N(1);a=L();z(7);C("ngIf",a.issueEditBuilder);z(1);C("ngIf",a.issueEditBuilder&&a.enableRecaptcha);z(2);C("mat-dialog-close",!1);z(2);var c=C("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=
a.issueEditBuilder){d=aXa(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!tr(a.issueEditBuilder)&&!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},ur=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||"EXTERNAL_PUBLIC"===a},cXa=function(a){var b;return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?
void 0:b.accessLevel)},vr=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},dXa=function(a,b){return a?a.join(" > "):String(b)},eXa=function(a){switch(a){case "INTERNAL":return"Google internal (can be made visible to Google FTEs and TVCs)";case "EXTERNAL_PARTNER":return"Google partners (can be made visible to external Google partners)";case "EXTERNAL_PUBLIC":return"Public (can be made visible to anyone with a Google Account)";case "ACCESS_LEVEL_UNSPECIFIED":return"Not specified";
default:return""}},fXa=function(a){a&1&&(D(0,"div")(1,"p"),P(2),E()());a&2&&(a=L(),z(2),Cg(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},gXa=function(a,b){a&1&&(D(0,"li"),P(1),E());a&2&&(a=b.$implicit,z(1),Cg(" ",a.issueId," - ",a.title," "))},hXa=function(a){a&1&&(D(0,"div")(1,"p"),P(2),E(),D(3,"ul"),O(4,gXa,2,2,"li",9),E()());a&2&&(a=L(),z(2),Q(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),
z(2),C("ngForOf",a.protectedIssues))},mXa=function(a,b){if(a&1){var c=t();D(0,"div",18,19);K("click",function(){var e=v(c).$implicit,f=L(2);iXa(f,e)||wr(f,e);return w()});D(2,"mat-pseudo-checkbox",20);K("click",function(e){var f=v(c).$implicit,h=L(2);e.stopPropagation();return w(jXa(h,f))});E();D(3,"span");P(4);E()()}if(a&2){a=b.$implicit;b=b.index;var d=L(2);og("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");pg("focused",b===d.focusedRowIndex);zg("title",a.name);dg("id","hotlist-item-"+
a.hotlistId)("aria-checked",kXa(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",iXa(d,a));z(2);C("state",lXa(d.selectedHotlistMap[a.hotlistId]))("disabled",iXa(d,a));z(2);Q(" ",a.name," ")}},nXa=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L(2),z(1),Q(" (",a.filterText,")"))},oXa=function(a){if(a&1){var b=t();D(0,"div",21,22);K("click",function(){v(b);var c=L(2);return w(c.loadHotlist())})("keydown.enter",function(){v(b);var c=L(2);return w(c.loadHotlist())});P(2,"Load hotlist from id ");D(3,
"span");P(4);E()()}a&2&&(a=L(2),pg("focused",a.focusedRowIndex===a.choices.length+1),dg("aria-label","Load hotlist from"+a.filterText),z(4),Q("(",a.filterText,")"))},qXa=function(a){if(a&1){var b=t();D(0,"div",23,24);K("click",function(){v(b);var c=L(2);return w(pXa(c))})("keydown.enter",function(){v(b);var c=L(2);return w(pXa(c))});P(2,"Apply");E()}a&2&&(a=L(2),pg("focused",a.focusedRowIndex===a.choices.length+2))},rXa=function(a){if(a&1){var b=t();D(0,"div",5)(1,"div",10,11);O(3,mXa,5,11,"div",
12);E()();F(4,"mat-divider");D(5,"div",13,14);K("click",function(){v(b);var c=L();return w(c.createHotlist())})("keydown.enter",function(){v(b);var c=L();return w(c.createHotlist())});P(7,"Create new hotlist ");O(8,nXa,2,1,"span",15);E();O(9,oXa,5,4,"div",16);O(10,qXa,3,2,"div",17)}a&2&&(a=L(),z(3),C("ngForOf",a.choices),z(2),pg("focused",a.focusedRowIndex===a.choices.length),C("disabled",!a.canCreate),dg("aria-label","Create new hotlist"+a.filterText),z(3),C("ngIf",!!a.filterText),z(1),C("ngIf",
a.canLoad),z(1),C("ngIf",a.pendingChanges))},tXa=function(a){if(a&1){var b=t();D(0,"b-app-bar-bulk-edit-menus",6);K("onBulkEdit",function(c){v(b);var d=L();return w(d.bulkEdit(c))})("onQuickBulkEdit",function(c){v(b);var d=L();return w(d.quickBulkEdit(c))})("onBulkEditIssueRelation",function(c){v(b);var d=L();return w(d.bulkEditIssueRelation(c))})("onBulkMarkIssueRead",function(){v(b);var c=L();return w(c.bulkMarkIssueRead())});E()}a&2&&(a=L(),C("readStatePrompt",sXa(a)))},xXa=function(a){if(a&1){var b=
t();D(0,"b-copy-issue-id-button",7);K("onClickCopyIssueIds",function(){v(b);var c=L();return w(uXa(c.copyIssueIdService,xr(c)))})("onClickCopyIssueShortLinks",function(){v(b);var c=L();return w(vXa(c.copyIssueIdService,xr(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=L();return w(wXa(c.copyIssueIdService,xr(c)))});E()}a&2&&(a=L(),C("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},yXa=function(a){if(a&1){var b=
t();D(0,"div",8)(1,"b-hotlist-picker",9);K("onApply",function(c){v(b);var d=L();return w(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=L();return w(d.onCreateHotlist.emit(c))})("onLoad",function(c){v(b);var d=L();return w(d.onLoadHotlist.emit(c))});E()()}a&2&&(a=L(),z(1),C("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},AXa=function(a){if(a&1){var b=t();D(0,"b-comment-box",16);K("commentChange",function(c){v(b);var d=L(2);return w(d.comment=c)})("onSubmit",
function(){v(b);var c=L(2);return w(zXa(c))});E()}a&2&&(a=L(2),C("comment",a.comment)("showToolbar",!1))},BXa=function(a,b){a&1&&(D(0,"li"),P(1),F(2,"b-access-level-indicator",19),E());a&2&&(a=b.$implicit,z(1),Q(" ",a.path," "),z(1),C("accessLevel",a.accessLevel))},CXa=function(a){a&1&&(D(0,"div",17)(1,"div")(2,"strong"),P(3,"You are commenting on issues in components that have external viewers:"),E()(),D(4,"ul"),O(5,BXa,3,2,"li",18),E()());a&2&&(a=L(2),z(5),C("ngForOf",a.externalWarnings))},DXa=
function(a){if(a&1){var b=t();D(0,"div",20)(1,"b-recaptcha",21);K("onUpdate",function(c){v(b);var d=L(2);return w(d.recaptchaResponse=c)});E()()}},EXa=function(a){a&1&&(D(0,"h1",10),P(1,"Add comment"),E(),D(2,"mat-dialog-content"),O(3,AXa,1,2,"b-comment-box",11),O(4,CXa,6,1,"div",12),E(),O(5,DXa,2,0,"div",13),D(6,"mat-dialog-actions")(7,"button",14),P(8," Cancel "),E(),D(9,"button",15),P(10," Save "),E()());a&2&&(a=L(),z(3),C("ngIf",a.comment),z(1),C("ngIf",0<a.externalWarnings.length),z(1),C("ngIf",
a.enableRecaptcha),z(2),C("mat-dialog-close",!1),z(2),C("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},FXa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},zr=function(a,b){b=void 0===b?{}:b;return null==b.id?"":yr(a,b)},yr=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=nsa(a,b));c&&(a=a+"#"+c);return a},GXa=function(a){if(a&1){var b=t();D(0,"button",7);K("click",function(){v(b);var c=L(2);return w(c.removeHotlist.emit())});
F(1,"mat-icon",8);E()}a&2&&(a=L(2),pg("invisible",a.disabled),dg("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},HXa=function(a){a&1&&(H(0),D(1,"span",1)(2,"span",2)(3,"a",3),P(4),E()(),O(5,GXa,2,4,"button",4),E(),D(6,"onedev-hovercard",null,5),F(8,"b-hotlist-card",6),E(),I());if(a&2){var b=N(7);a=L();z(1);og("padding-right",a.removable?0:"10px");pg("muted",a.disabled);C("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);z(2);C("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),
ue);dg("aria-label",a.getAriaLabel(a.hotlist));z(1);Bg(a.hotlist.name);z(1);C("ngIf",a.removable);z(3);C("hotlist",a.hotlist)}},KXa=function(a){for(var b=m(IXa),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return JXa.title},LXa=function(a){a&1&&F(0,"mat-icon",10);a&2&&(a=L(),C("matTooltip",a.disabledDropdownTooltip))},MXa=function(a,b){if(a&1){var c=t();D(0,"div",11);K("click",function(){var d=v(c).$implicit,e=L();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);
return w()});D(1,"div",12);F(2,"mat-icon",13);D(3,"span",14);P(4);E()();D(5,"div",15);P(6);E()()}a&2&&(a=b.$implicit,z(2),C("svgIcon",a.icon),z(2),Q(" ",a.title," "),z(2),Q(" ",a.description," "))},NXa=function(){return{color:"accent"}},OXa=function(a){a&1&&(D(0,"span"),P(1,"Edit"),E())},PXa=function(a){a&1&&(D(0,"span"),P(1,"Cancel"),E())},VXa=function(a){if(a&1){var b=t();H(0);D(1,"td")(2,"div")(3,"div",11);P(4);E();D(5,"div",12)(6,"a",13);P(7);E()()()();D(8,"td",3)(9,"mat-radio-button",14);K("change",
function(d){v(b);var e=L(2);return w(QXa(e,d.value))});E()();D(10,"td",3)(11,"b-button",15);K("onAction",function(){v(b);var d=L().$implicit,e=L();return w(RXa(e,d))});O(12,OXa,2,0,"span",9);O(13,PXa,2,0,"span",9);E()();D(14,"td",3)(15,"b-button",16);K("onAction",function(){v(b);var d=L().$implicit,e=L();return w(SXa(e,d))});P(16," Delete ");E()();I()}if(a&2){a=L().$implicit;var c=L();z(3);pg("selected",TXa(c,a));z(1);Q(" ",a.name," ");z(2);C("href",UXa(c,a),ue);dg("aria-label",a.name+"- Click to create a new issue");
z(1);Q(" ",UXa(c,a)," ");z(2);yg("id","template-default-radio-",a.index,"");C("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);z(2);C("bAriaLabel",TXa(c,a)?"Cancel editing "+a.name:"Edit "+a.name);z(1);C("ngIf",!TXa(c,a));z(1);C("ngIf",TXa(c,a));z(2);C("bAriaLabel","Delete "+a.name)("disabled",!(0<=a.index&&!c.templates[a.index].default))}},WXa=function(a){a&1&&(D(0,"h2",66),P(1," Create Template "),E())},XXa=function(a){a&1&&(D(0,"h2",
66),P(1),E());a&2&&(a=L(2).$implicit,z(1),Cg(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},YXa=function(a){if(a&1){var b=t();D(0,"div",20)(1,"div",21)(2,"label",67);P(3,"Issue Access Level");E()();D(4,"b-issue-access-limits-dropdown",68);K("updatedAccessLimitLevel",function(c){v(b);var d=L(2).$implicit;return w(d.editableTemplate.onAccessLimitLevelSelected(c))});E()()}a&2&&(a=L(2).$implicit,z(4),C("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel))},
$Xa=function(a,b){if(a&1){var c=t();D(0,"button",69);K("click",function(){var e=v(c).$implicit,f=L(2).$implicit,h=L();f.issueType=e.value;return w(ZXa(h))});P(1);E()}if(a&2){a=b.$implicit;b=L(2).$implicit;var d;C("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");z(1);Q(" ",a.displayText," ")}},aYa=function(a,b){if(a&1){var c=t();D(0,"button",70);K("click",function(){var d=v(c).$implicit,e=L(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=
!0;return w()});P(1);E()}a&2&&(a=b.$implicit,b=L(2).$implicit,C("disabled",b.editableTemplate.priority===a.value),z(1),Q(" ",a.displayText," "))},bYa=function(a,b){if(a&1){var c=t();D(0,"button",70);K("click",function(){var d=v(c).$implicit,e=L(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return w()});P(1);E()}a&2&&(a=b.$implicit,b=L(2).$implicit,C("disabled",b.editableTemplate.severity===a.value),z(1),Q(" ",a.displayText," "))},cYa=function(a,b){if(a&1){var c=t();
D(0,"div",71)(1,"b-hotlist-chip",72);K("removeHotlist",function(){var d=v(c).$implicit,e=L(3);return w(e.removeHotlist(d.hotlistId))});E()()}a&2&&(a=b.$implicit,z(1),C("hotlist",a))},eYa=function(a){if(a&1){var b=t();D(0,"div",20)(1,"div",21)(2,"label",73);P(3,"Collaborators");E();F(4,"mat-icon",74);E();D(5,"input",75);K("ngModelChange",function(c){v(b);var d=L(2).$implicit;return w(dYa(d.editableTemplate,c))});E()()}a&2&&(a=L(2).$implicit,z(5),C("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", ")))},
fYa=function(a){a&1&&(D(0,"h3"),P(1,"Custom issue fields"),E())},gYa=function(a){if(a&1){var b=t();D(0,"input",83);K("ngModelChange",function(d){v(b);var e=L().$implicit,f=L(2).$implicit;return w(f.editableTemplate.customFieldValues[e.id].textValue=d)})("ngModelChange",function(){v(b);L(3).$implicit.editableTemplate.dirty=!0;return w()});E()}if(a&2){a=L().$implicit;var c=L(2).$implicit;fg("id","template-cf-",a.id,"");C("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},hYa=function(a){if(a&
1){var b=t();D(0,"input",84);K("ngModelChange",function(d){v(b);var e=L().$implicit,f=L(2).$implicit;return w(f.editableTemplate.customFieldValues[e.id].numericValue=d)})("ngModelChange",function(){v(b);L(3).$implicit.editableTemplate.dirty=!0;return w()});E()}if(a&2){a=L().$implicit;var c=L(2).$implicit;fg("id","template-cf-",a.id,"");C("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},jYa=function(a){if(a&1){var b=t();D(0,"b-edit-field",85);K("valueChange",function(h){v(b);var l=
L().$implicit,q=L(2).$implicit,u=L();return w(u.setCustomField(q,l.id,h))});E()}if(a&2){a=L().$implicit;var c=L(2).$implicit,d=L(),e,f;fg("id","template-cf-",a.id,"");C("type",d.FieldType.ENUM)("name",a.name)("clearable",!0)("value",null!==(e=null==c.editableTemplate.customFieldValues[a.id]?null:c.editableTemplate.customFieldValues[a.id].enumValue)&&void 0!==e?e:null)("choices",null!==(f=a.enumFields)&&void 0!==f?f:Fg(6,iYa))}},kYa=function(a){if(a&1){var b=t();D(0,"bv2-input-date-picker",86);K("boundValueChange",
function(e){v(b);var f=L().$implicit,h=L(2).$implicit,l=L();return w(h.editableTemplate.customFieldValues[f.id].dateValue=l.getDateValue(e))})("boundValueChange",function(){v(b);L(3).$implicit.editableTemplate.dirty=!0;return w()});E()}if(a&2){a=L().$implicit;var c=L(2).$implicit,d;fg("id","template-cf-",a.id,"");C("boundValue",null!==(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},mYa=function(a){if(a&1){var b=t();D(0,"b-list-field",87);K("valuesChange",function(e){v(b);
var f=L().$implicit,h=L(2).$implicit,l=L();return w(l.setCustomField(h,f.id,e.values))});E()}if(a&2){a=L().$implicit;var c=L(2).$implicit,d=L();fg("id","template-cf-",a.id,"");C("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",lYa(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},nYa=function(a,b){a&1&&(D(0,"div")(1,"div",21)(2,"label",76),P(3),E()(),D(4,"div",77),O(5,gYa,1,2,"input",78),O(6,hYa,1,2,"input",79),O(7,jYa,1,7,"b-edit-field",80),
O(8,kYa,1,2,"bv2-input-date-picker",81),O(9,mYa,1,6,"b-list-field",82),E()());a&2&&(a=b.$implicit,sg("cell-",a.cellType,""),z(2),yg("for","template-cf-",a.id,""),z(1),Cg("",a.name," (id=",a.id,")"),z(1),C("ngSwitch",a.type),z(1),C("ngSwitchCase","TEXT"),z(1),C("ngSwitchCase","NUMERIC"),z(1),C("ngSwitchCase","ENUM"),z(1),C("ngSwitchCase","DATE"))},rYa=function(a){if(a&1){var b=t();D(0,"td",17)(1,"div",18);O(2,WXa,2,0,"h2",19);O(3,XXa,2,2,"h2",19);D(4,"div",20)(5,"div",21)(6,"label",22);P(7,"Template Name");
E()();D(8,"input",23);K("ngModelChange",function(h){v(b);var l=L().$implicit;return w(l.editableTemplate.name=h)})("ngModelChange",function(){v(b);L().$implicit.editableTemplate.dirty=!0;return w()});E()();D(9,"div",20)(10,"div",21)(11,"label",24);P(12,"Description of Template");E()();D(13,"input",25);K("ngModelChange",function(h){v(b);var l=L().$implicit;return w(l.editableTemplate.description=h)})("ngModelChange",function(){v(b);L().$implicit.editableTemplate.dirty=!0;return w()});E()();D(14,"div",
26)(15,"h3");P(16," Standard issue fields ");E();O(17,YXa,5,2,"div",27);D(18,"div",20)(19,"div",21)(20,"label",28);P(21,"Title");E()();D(22,"input",29);K("ngModelChange",function(h){v(b);var l=L().$implicit;return w(l.editableTemplate.title=h)})("ngModelChange",function(){v(b);L().$implicit.editableTemplate.dirty=!0;return w()});E()();D(23,"div",30)(24,"div",21)(25,"label",31);P(26,"Type");E()();D(27,"button",32)(28,"span");P(29);E();F(30,"b-icon",33);E();D(31,"mat-menu",34,35);O(33,$Xa,2,3,"button",
36);E()();D(34,"div",30)(35,"div",21)(36,"label",37);P(37,"Priority");E()();D(38,"button",38)(39,"span");P(40);E();F(41,"b-icon",33);E();D(42,"mat-menu",34,39);O(44,aYa,2,2,"button",40);E()();D(45,"div",30)(46,"div",21)(47,"label",41);P(48,"Severity");E()();D(49,"button",42)(50,"span");P(51);E();F(52,"b-icon",33);E();D(53,"mat-menu",34,43);O(55,bYa,2,2,"button",40);E()();D(56,"div",44)(57,"div",21)(58,"label",45);P(59,"Default Hotlists");E()();D(60,"b-hotlist-picker",46);K("onApply",function(h){v(b);
var l=L(2);return w(l.handleHotlistPickerSave(h))})("onCreate",function(h){v(b);var l=L(2);return w(l.createHotlist(h))})("onLoad",function(h){v(b);var l=L(2);return w(l.loadHotlist(h))});E();O(61,cYa,2,1,"div",47);E();F(62,"div",48);D(63,"div",49)(64,"div",21)(65,"label",50);P(66,"Assignee");E()();D(67,"input",51);K("ngModelChange",function(h){v(b);var l=L().$implicit;return w(l.editableTemplate.assignee=h)})("ngModelChange",function(){v(b);L().$implicit.editableTemplate.dirty=!0;return w()});E()();
D(68,"div",49)(69,"div",21)(70,"label",52);P(71,"Verifier");E()();D(72,"input",53);K("ngModelChange",function(h){v(b);var l=L().$implicit;return w(l.editableTemplate.verifier=h)})("ngModelChange",function(){v(b);L().$implicit.editableTemplate.dirty=!0;return w()});E()();O(73,eYa,6,2,"div",27);D(74,"div",20)(75,"div",21)(76,"label",54);P(77,"CC");E()();D(78,"input",55);K("ngModelChange",function(h){v(b);var l=L().$implicit;return w(oYa(l.editableTemplate,h))});E()();D(79,"div",20)(80,"div",21)(81,
"label",56);P(82,"Initial Comment");E()();D(83,"textarea",57);K("ngModelChange",function(h){v(b);var l=L().$implicit;return w(l.editableTemplate.comment=h)})("ngModelChange",function(){v(b);L().$implicit.editableTemplate.dirty=!0;return w()});P(84,"              ");E();D(85,"b-markdown-toggle",58);K("change",function(h){v(b);var l=L().$implicit;return w(l.editableTemplate.setFormattingMode(h))});E()();D(86,"div",20)(87,"div",21)(88,"label",59);P(89,"In Prod");E()();D(90,"b-slide-toggle",60);K("modelChange",
function(){v(b);var h=L().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return w()});E()()();D(91,"div",61);O(92,fYa,2,0,"h3",9);O(93,nYa,10,11,"div",62);E();D(94,"div",63)(95,"b-button",64);K("onAction",function(){v(b);var h=L(2);return w(pYa(h))});P(96," Save ");E();D(97,"b-button",65);K("onAction",function(){v(b);var h=L(2);return w(qYa(h))});P(98," Cancel ");E()()()()}if(a&2){var c=N(32),d=N(43),e=N(54);a=L().$implicit;var f=L();z(2);C("ngIf",a.editableTemplate.new);z(1);C("ngIf",!a.editableTemplate.new);
z(5);C("ngModel",a.editableTemplate.name);z(5);C("ngModel",a.editableTemplate.description);z(4);C("ngIf",f.enableIssueAccessLimits);z(5);C("ngModel",a.editableTemplate.title);z(5);C("matMenuTriggerFor",c);z(2);Bg(a.issueType);z(2);C("overlapTrigger",!0);z(2);C("ngForOf",f.issueTypeChoices);z(5);C("matMenuTriggerFor",d);z(2);Bg(a.editableTemplate.priority);z(2);C("overlapTrigger",!0);z(2);C("ngForOf",f.priorityChoices);z(5);C("matMenuTriggerFor",e);z(2);Bg(a.editableTemplate.severity);z(2);C("overlapTrigger",
!0);z(2);C("ngForOf",f.severityChoices);z(5);C("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);z(1);C("ngForOf",f.selectedHotlists);z(6);C("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);z(5);C("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.verifier);z(1);C("ngIf",f.enableCollaborators);z(5);C("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));z(5);C("ngModel",a.editableTemplate.comment);z(2);C("initialValue",a.editableTemplate.formattingMode);
z(5);C("model",a.editableTemplate.inProd);z(2);C("ngIf",0<f.customFieldRows.length);z(1);C("ngForOf",f.customFieldRows);z(2);C("disabled",!a.editableTemplate.isDirty())}},sYa=function(a,b){a&1&&(D(0,"tr"),O(1,VXa,17,15,"ng-container",9),O(2,rYa,99,34,"td",10),E());a&2&&(a=b.$implicit,z(1),C("ngIf",!a.editableTemplate),z(1),C("ngIf",!!a.editableTemplate))},tYa=function(a,b){a&1&&(D(0,"div",88),P(1),E(),D(2,"div",89)(3,"button",90),P(4," Cancel "),E(),D(5,"button",91),P(6," Confirm "),E()());a&2&&(a=
b.$implicit,z(1),Q(' Are you sure you want to delete the template "',a.name,'"? '),z(2),C("mat-dialog-close",!1),z(2),C("mat-dialog-close",!0))},uYa=function(a,b){a&1&&(D(0,"div",88),P(1),E(),D(2,"div",89)(3,"button",92),P(4," Cancel "),E(),D(5,"button",92),P(6," Don't Save "),E(),D(7,"button",93),P(8," Save "),E()());a&2&&(a=b.$implicit,z(1),Q(' Do you want to save changes to template "',a.name,'" before closing? '),z(2),C("mat-dialog-close",void 0),z(2),C("mat-dialog-close",!1),z(2),C("mat-dialog-close",
!0))},wYa=function(a){if("CUSTOM_FIELD"===a.type)return new Ar({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});a=rj(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return vYa.includes(a)?Br(a):null},yYa=function(a){return xYa(a.map(wYa).filter(function(b){return!!b}))},zYa=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",
customFieldId:sj(b.name),customFieldName:void 0}:(b=(b.name||"").replace(/([A-Z])/g,"_$1").toUpperCase(),"DUPLICATE_OF_ISSUE_ID"===b&&(b="CANONICAL_ISSUE_ID"),b={type:b,customFieldId:void 0,customFieldName:void 0});return b})},xYa=function(a){return bn(a,function(b){return b.name})},Br=function(a){var b={name:a,label:a.toUpperCase()},c=AYa[a];c?Object.assign(b,c):vYa.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new Ar(b)},
CYa=function(a,b){b=void 0===b?document.documentElement:b;return(0,T.concat)((0,T.defer)(function(){return(0,T.of)(b.querySelector(a))}),BYa(b,{childList:!0,subtree:!0}).pipe(sf(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),B(function(){return b.querySelector(a)}))).pipe(sf(Vj),Ef(),B(function(c){return c}))},BYa=function(a,b){return new T.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},Cr=function(a,
b){return function(c){var d=c.target.closest(a);d&&c.currentTarget.contains(d)&&b(c,d)}},DYa=function(a,b){a&1&&F(0,"col");a&2&&sg("",b.$implicit.name,"-col")},EYa=function(a){a&1&&tg(0)},GYa=function(a,b){a&1&&(H(0),O(1,EYa,1,0,"ng-container",8),I());a&2&&(a=b.$implicit,b=L(),z(1),C("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Gg(2,FYa,a)))},HYa=function(a){a&1&&tg(0)},JYa=function(a,b){a&1&&(H(0),O(1,HYa,1,0,"ng-container",8),I());if(a&
2){a=b.$implicit;b=b.index;var c=L(),d=c.$implicit;c=c.index;var e=L().ngIf;z(1);C("ngTemplateOutlet",e[b])("ngTemplateOutletContext",Ig(IYa,d,a,c))}},KYa=function(a,b){if(a&1){var c=t();D(0,"tr",10,11);K("click",function(){var e=v(c).index,f=L(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return w()})("focus",function(){var e=v(c).index,f=L(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return w()});O(2,JYa,2,6,"ng-container",4);
E()}if(a&2){a=b.$implicit;b=b.index;var d=L(2);pg("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);dg("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));z(2);C("ngForOf",d.columns)}},LYa=function(a){a&1&&(H(0),O(1,KYa,3,12,"tr",9),I());a&2&&(a=L(),z(1),C("ngForOf",a.list))},MYa=function(a,b){a&1&&(D(0,"th"),F(1,"pop-grid-default-th",12),E());a&2&&(a=b.column,
z(1),C("column",a))},NYa=function(a,b){a&1&&(D(0,"td"),F(1,"pop-grid-default-cell",13),E());a&2&&(a=b.row,b=b.column,z(1),C("row",a)("column",b))},OYa=function(a){if(a&1){var b=t();D(0,"b-sortable-header",3);K("sortChanged",function(c){v(b);var d=L();d.grid&&d.grid.sortChange.emit(c);return w()});E()}a&2&&(a=L(),C("columnLabel",a.column.label)("columnName",a.column.name)("defaultSortDirection",a.column.defaultSortDirection||"ASC")("sort",null==a.grid?null:a.grid.sort)("matTooltip",a.column.tooltip||
""))},PYa=function(a){a&1&&(D(0,"span",6),P(1),E());a&2&&(a=L(2),z(1),Q("column-",a.column.name,""))},QYa=function(a){a&1&&(D(0,"div",4),O(1,PYa,2,1,"span",5),P(2),E());a&2&&(a=L(),dg("aria-label",a.column.label),z(1),C("ngIf",!a.column.label),z(1),Q(" ",a.column.label," "))},RYa=function(a){if(a&1){var b=t();D(0,"div",13,14);K("menuOpened",function(){v(b);var d=L();return w(d.menuOpen=!0)})("menuClosed",function(){v(b);var d=L();return w(d.menuOpen=!1)})("keydown.enter",function(d){v(b);N(1).openMenu();
d.preventDefault();return w(d.stopPropagation())})("keydown.space",function(){v(b);var d=N(1);return w(d.openMenu())});E()}if(a&2){a=L();var c=N(5);pg("columnpicker-button-active",a.menuOpen);fg("aria-label","",a.column.fullLabel," column configuration");C("matMenuTriggerFor",c)}},UYa=function(a,b){if(a&1){var c=t();D(0,"button",15);K("click",function(){var d=v(c).$implicit,e=L();return w(SYa(e,d.name))});F(1,"b-icon",16);D(2,"span",17);P(3);E()()}a&2&&(a=b.$implicit,b=L(),pg("b-menu-item-checked",
TYa(a.name).get(b.listViewPrefs)),z(3),Q(" ",a.menuItem," "))},VYa=function(a){a&1&&F(0,"mat-divider")},WYa=function(a){if(a&1){var b=t();D(0,"button",22);K("click",function(){v(b);var c=L().$implicit,d=L().before,e=L();return w(e.add(c,d))});P(1);E()}a&2&&(a=L().$implicit,C("matTooltip",a.tooltip),z(1),Q(" ",a.fullLabel," "))},YYa=function(a){a&1&&(D(0,"button",9)(1,"span"),P(2),E()());if(a&2){a=L().$implicit;var b=L().before;L();var c=N(18);C("matMenuTriggerFor",c)("matMenuTriggerData",Hg(3,XYa,
a.columns,b));z(2);Bg(a.label)}},ZYa=function(a,b){a&1&&(H(0),O(1,WYa,2,2,"button",20),O(2,YYa,3,6,"button",21),I());a&2&&(a=b.$implicit,b=L(2),z(1),C("ngIf",b.isIssueGridColumn(a)),z(1),C("ngIf",!b.isIssueGridColumn(a)))},aZa=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){var c=v(b).before,d=L();return w($Ya(d,c))});P(1," Custom Field ");E();F(2,"mat-divider");O(3,ZYa,3,2,"ng-container",19)}a&2&&(a=L(),z(3),C("ngForOf",a.currentAvailableItems))},bZa=function(a,b){if(a&1){var c=
t();D(0,"button",18);K("click",function(){var d=v(c).$implicit,e=L().before,f=L();return w(f.add(d,e))});P(1);E()}a&2&&(a=b.$implicit,z(1),Q(" ",a.fullLabel," "))},cZa=function(a,b){a&1&&O(0,bZa,2,1,"button",23);a&2&&C("ngForOf",b.columns)},TYa=function(a){switch(a){case "showHotlists":return{get:function(b){return b.showHotlists},set:function(b,c){b.showHotlists=c}};case "wrapTitles":return{get:function(b){return b.wrapTitles},set:function(b,c){b.wrapTitles=c}};case "wrapComponents":return{get:function(b){return b.wrapComponents},
set:function(b,c){b.wrapComponents=c}};case "showStatusIcons":return{get:function(b){var c;return"icon"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"icon":void 0}};case "status-plain":return{get:function(b){var c;return"plain"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"plain":void 0}};case "rtlComponentPath":return{get:function(b){return b.rtlComponentPath},
set:function(b,c){b.rtlComponentPath=c}};default:throw Error("me`"+a);}},dZa=function(a){a&1&&(H(0),P(1," This issue has not been modified since "),F(2,"b-formatted-date-time",1),P(3," and is scheduled for deletion on "),D(4,"strong"),F(5,"b-formatted-date-time",1),E(),P(6,". "),D(7,"a",2),P(8,"Learn more"),E(),I());a&2&&(a=L(),z(2),C("mode","date")("timestamp",a.modifiedTime),z(3),C("mode","date")("timestamp",a.retentionExpireTime),z(2),C("href",a.documentationLink,ue))},eZa=function(a){a&1&&(D(0,
"b-base-chip",1)(1,"div",2),F(2,"retention-text",3),E(),D(3,"div",4),F(4,"retention-help-text",5),E()());a&2&&(a=L(),C("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),z(2),C("retentionState",a.retentionState)("compactMode",a.compactMode),z(2),C("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},fZa=function(a){var b=void 0===b?new Date:b;var c=qp(pp(a.scheduledDeletionTime));b=b.getTime();a=(a=Bva(a.retentionPeriod))?1E3*
a.getSeconds()+(a.getNanos()||0)/1E6:0;return b>=c-Math.max(12096E5,.2*a)},gZa=function(a){a&1&&tg(0)},hZa=function(a,b){a&1&&(D(0,"th",22),O(1,gZa,1,0,"ng-container",23),E());a&2&&(a=b.column,b=L(),dg("data-stable-column-name",a.name),z(1),C("ngIf",b.isIssueGridColumn(a)))},iZa=function(a){a&1&&tg(0)},jZa=function(a,b){a&1&&(D(0,"th",24),O(1,iZa,1,0,"ng-container",23),E());a&2&&(a=b.column,b=L(),dg("data-stable-column-name",a.name),z(1),C("ngIf",b.isIssueGridColumn(a)))},lZa=function(a){if(a&1){var b=
t();H(0);D(1,"mat-pseudo-checkbox",26);K("click",function(c){v(b);var d=L(2);c.stopPropagation();return w(d.toggleAllIssueSelection())})("keydown.enter",function(c){v(b);var d=L(2);c.stopPropagation();return w(d.toggleAllIssueSelection())})("keydown.space",function(c){v(b);var d=L(2);c.stopPropagation();return w(d.toggleAllIssueSelection())});E();I()}a&2&&(a=L(2),z(1),C("state",a.getHeaderCheckboxState()),dg("aria-checked",kZa(a)))},mZa=function(a,b){a&1&&(D(0,"th",25),O(1,lZa,2,2,"ng-container",
23),E());a&2&&(a=b.column,b=L(),dg("data-stable-column-name",a.name),z(1),C("ngIf",b.isIssueGridColumn(a)))},nZa=function(a){a&1&&tg(0)},oZa=function(a,b){a&1&&(D(0,"th"),O(1,nZa,1,0,"ng-container",23),E());a&2&&(a=b.column,b=L(),dg("data-stable-column-name",a.name),z(1),C("ngIf",b.isIssueGridColumn(a)))},pZa=function(a){a&1&&(H(0),F(1,"pop-grid-default-th",27),I());a&2&&(a=L().column,z(1),C("column",a))},qZa=function(a,b){a&1&&(D(0,"th"),O(1,pZa,2,1,"ng-container",23),E());a&2&&(a=b.column,b=L(),
dg("data-stable-column-name",a.name),z(1),C("ngIf",b.isIssueGridColumn(a)))},rZa=function(a){if(a&1){var b=t();D(0,"b-column-picker",30);K("selectedColumnsChange",function(d){v(b);var e=L(3);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return w()});E()}if(a&2){a=L(2).column;var c=L();C("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},sZa=function(a){a&1&&F(0,"pop-grid-default-th",27);a&2&&(a=L(2).column,C("column",a))},tZa=function(a){a&1&&(H(0),O(1,rZa,
1,3,"b-column-picker",28),O(2,sZa,1,1,"pop-grid-default-th",29),I());a&2&&(a=L(2),z(1),C("ngIf",a.enableColumnSaving),z(1),C("ngIf",!a.enableColumnSaving))},uZa=function(a,b){a&1&&(D(0,"th"),O(1,tZa,3,2,"ng-container",23),E());a&2&&(a=b.column,b=L(),dg("data-stable-column-name",a.name),z(1),C("ngIf",b.isIssueGridColumn(a)))},vZa=function(a){a&1&&tg(0)},wZa=function(a){a&1&&(D(0,"td",22),O(1,vZa,1,0,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},xZa=function(a){a&1&&tg(0)},yZa=
function(a){a&1&&(D(0,"td",31),O(1,xZa,1,0,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},zZa=function(a){if(a&1){var b=t();H(0);D(1,"mat-pseudo-checkbox",32);K("click",function(c){v(b);var d=L(),e=d.index;d=d.row;var f=L();c.stopPropagation();return w(f.onCheckboxClicked(c,e,d))});E();I()}a&2&&(a=L().row,z(1),C("state",a.selected?"checked":"unchecked"),dg("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},AZa=function(a){a&1&&(D(0,"td",25),O(1,zZa,2,3,"ng-container",
23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},BZa=function(a){if(a&1){var b=t();H(0);D(1,"b-star-toggle",34);K("starClicked",function(){v(b);var d=L().row,e=L();return w(e.toggleStar(d))});E();I()}if(a&2){a=L().row;var c=L();z(1);C("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},CZa=function(a){a&1&&(D(0,"td",33),O(1,BZa,2,4,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},DZa=function(a){a&
1&&(H(0),D(1,"span"),P(2),E(),I());a&2&&(a=L().row,z(1),dg("title",a.position),z(1),Q(" ",a.position," "))},EZa=function(a){a&1&&(D(0,"td"),O(1,DZa,3,2,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},FZa=function(a){a&1&&(H(0),D(1,"a",36),P(2),E(),I());if(a&2){a=L().row;var b=L();z(1);C("href",b.paths.editIssue(a.issueId),ue);dg("title",a.title);z(1);Q(" ",a.issueId," ")}},GZa=function(a){a&1&&(D(0,"td",35),O(1,FZa,3,3,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},
HZa=function(a){a&1&&F(0,"archived-issue-indicator")},IZa=function(a,b){a&1&&F(0,"b-hotlist-chip-smart",47);a&2&&C("id",b.$implicit)("removable",!1)},JZa=function(a){a&1&&(D(0,"div",45),O(1,IZa,1,2,"b-hotlist-chip-smart",46),E());a&2&&(a=L(2).row,z(1),C("ngForOf",a.hotlistId))},KZa=function(a){a&1&&(H(0),D(1,"div",38),O(2,HZa,1,0,"archived-issue-indicator",23),F(3,"b-access-level-indicator",39)(4,"b-tracker-chip-smart",40)(5,"b-retention-chip",41),D(6,"div",42)(7,"a",43),P(8),E()(),O(9,JZa,2,1,"div",
44),E(),I());if(a&2){a=L().row;var b=L();z(1);pg("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);z(1);C("ngIf",a.archived);z(1);C("accessLevel",a.accessLevel)("compactMode",!0);z(1);C("trackerId",a.trackerId)("compactMode",!0);z(1);C("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);C("href",b.paths.editIssue(a.issueId),ue);dg("title",a.title);z(1);Q(" ",a.title," ");z(1);C("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},
LZa=function(a){a&1&&(D(0,"td",37),O(1,KZa,10,15,"ng-container",23),E());a&2&&(a=L(),pg("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),z(1),C("ngIf",a.isIssueRow()))},NZa=function(a){a&1&&(H(0),D(1,"div",49),P(2),E(),I());if(a&2){a=L().row;var b=L();z(1);C("ngClass",Ig(MZa,b.isLowPriority(a),b.isHighPriority(a),b.isP0Priority(a)));z(1);Q(" P",a.priority," ")}},OZa=function(a){a&1&&(D(0,"td",48),O(1,NZa,3,6,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},
PZa=function(a){a&1&&(H(0),D(1,"div",49),P(2),E(),I());a&2&&(a=L().row,L(),z(1),C("ngClass",Ig(MZa,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),z(1),Q(" S",a.severity," "))},QZa=function(a){a&1&&(D(0,"td",50),O(1,PZa,3,6,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},RZa=function(a){a&1&&F(0,"mat-icon",56);if(a&2){a=L().$implicit;var b=L(3);C("svgIcon",b.STATUS_ICON[a])}},SZa=function(a){a&1&&(H(0),P(1),I());if(a&2){a=L().$implicit;var b=L(3);z(1);Bg(b.STATUS_TERSE[a])}},
TZa=function(a){a&1&&(D(0,"span"),P(1),E());if(a&2){a=L().$implicit;var b=L(3);sg("chippy status-",a," margin-left-auto");z(1);Q(" ",b.STATUS_TERSE[a]," ")}},UZa=function(a,b){a&1&&(H(0),D(1,"span",52),O(2,RZa,1,1,"mat-icon",53),O(3,SZa,2,1,"ng-container",54),O(4,TZa,2,4,"span",55),E(),I());a&2&&(a=b.$implicit,b=L(3),z(1),C("ngSwitch",null==b.listViewPrefs?null:null==b.listViewPrefs.fieldStatus?null:b.listViewPrefs.fieldStatus.mode)("title",b.STATUS_FULL_TEXT[a]===b.STATUS_TERSE[a]?"":b.STATUS_FULL_TEXT[a]),
z(1),C("ngSwitchCase","icon"),z(1),C("ngSwitchCase","plain"))},VZa=function(a){a&1&&(H(0),O(1,UZa,5,4,"ng-container",23),I());if(a&2){a=L().row;var b=L();z(1);C("ngIf",b.convertIssueStatusStrToTag(a.status))}},WZa=function(a){a&1&&(D(0,"td",51),O(1,VZa,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},XZa=function(a){a&1&&(H(0),P(1),R(2,"enumToHuman"),I());a&2&&(a=L().row,z(1),Q(" ",S(2,1,a.type)," "))},YZa=function(a){a&1&&(D(0,"td",57),O(1,XZa,3,3,"ng-container",23),E());a&
2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},ZZa=function(a){a&1&&(D(0,"b-person-hovercard",60),R(1,"omitObfuscatedEmail"),P(2),E());a&2&&(a=L(2).row,C("email",S(1,2,a.reporter)),z(2),Q(" ",a.reporter," "))},$Za=function(a){a&1&&(D(0,"span"),P(1,"--"),E())},a_a=function(a){a&1&&(H(0),O(1,ZZa,3,4,"b-person-hovercard",59),R(2,"omitObfuscatedEmail"),O(3,$Za,2,0,"span",23),I());a&2&&(a=L().row,z(1),C("ngIf",S(2,2,a.reporter)),z(2),C("ngIf",!a.reporter))},b_a=function(a){a&1&&(D(0,"td",58),O(1,a_a,4,4,"ng-container",
23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},c_a=function(a){a&1&&(D(0,"b-person-hovercard",60),R(1,"omitObfuscatedEmail"),P(2),E());a&2&&(a=L(2).row,C("email",S(1,2,a.assignee)),z(2),Q(" ",a.assignee," "))},d_a=function(a){a&1&&(D(0,"span"),P(1,"--"),E())},e_a=function(a){a&1&&(H(0),O(1,c_a,3,4,"b-person-hovercard",59),R(2,"omitObfuscatedEmail"),O(3,d_a,2,0,"span",23),I());a&2&&(a=L().row,z(1),C("ngIf",S(2,2,a.assignee)),z(2),C("ngIf",!a.assignee))},f_a=function(a){a&1&&(D(0,"td",58),O(1,
e_a,4,4,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},g_a=function(a){a&1&&(D(0,"b-person-hovercard",60),R(1,"omitObfuscatedEmail"),P(2),E());a&2&&(a=L(2).row,C("email",S(1,2,a.verifier)),z(2),Q(" ",a.verifier," "))},h_a=function(a){a&1&&(D(0,"span"),P(1,"--"),E())},i_a=function(a){a&1&&(H(0),O(1,g_a,3,4,"b-person-hovercard",59),R(2,"omitObfuscatedEmail"),O(3,h_a,2,0,"span",23),I());a&2&&(a=L().row,z(1),C("ngIf",S(2,2,a.verifier)),z(2),C("ngIf",!a.verifier))},j_a=function(a){a&
1&&(D(0,"td",58),O(1,i_a,4,4,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},k_a=function(a){a&1&&(H(0),D(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),E(),I());a&2&&(a=L().row,z(1),dg("title",S(2,2,a.cc)),z(2),Q(" ",S(4,4,a.cc)," "))},l_a=function(a){a&1&&(D(0,"td",58),O(1,k_a,5,6,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},m_a=function(a){a&1&&(H(0),D(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),E(),I());a&2&&(a=L().row,z(1),dg("title",
S(2,2,a.changelist)),z(2),Q(" ",S(4,4,a.changelist)," "))},n_a=function(a){a&1&&(D(0,"td",58),O(1,m_a,5,6,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},o_a=function(a){a&1&&(H(0),D(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),E(),I());a&2&&(a=L().row,z(1),dg("title",S(2,2,a.postmortem)),z(2),Q(" ",S(4,4,a.postmortem)," "))},p_a=function(a){a&1&&(D(0,"td",58),O(1,o_a,5,6,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},q_a=function(a){a&1&&tg(0)},
r_a=function(a){a&1&&(D(0,"span"),P(1,", "),E())},t_a=function(a,b){a&1&&(H(0),O(1,q_a,1,0,"ng-container",62),O(2,r_a,2,0,"span",23),I());if(a&2){a=b.$implicit;b=b.last;L(3);var c=N(48);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(3,s_a,a));z(1);C("ngIf",!b)}},u_a=function(a){a&1&&(H(0),O(1,t_a,3,5,"ng-container",61),I());a&2&&(a=L().row,z(1),C("ngForOf",a.blockingIssueId))},v_a=function(a){a&1&&(D(0,"td",58),O(1,u_a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},
w_a=function(a){a&1&&tg(0)},x_a=function(a){a&1&&(D(0,"span"),P(1,", "),E())},y_a=function(a,b){a&1&&(H(0),O(1,w_a,1,0,"ng-container",62),O(2,x_a,2,0,"span",23),I());if(a&2){a=b.$implicit;b=b.last;L(3);var c=N(48);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(3,s_a,a));z(1);C("ngIf",!b)}},z_a=function(a){a&1&&(H(0),O(1,y_a,3,5,"ng-container",61),I());a&2&&(a=L().row,z(1),C("ngForOf",a.blockedByIssueId))},A_a=function(a){a&1&&(D(0,"td",58),O(1,z_a,2,1,"ng-container",23),E());a&2&&(a=L(),
z(1),C("ngIf",a.isIssueRow()))},B_a=function(a){a&1&&tg(0)},C_a=function(a){a&1&&(H(0),O(1,B_a,1,0,"ng-container",62),I());if(a&2){a=L(2).row;L();var b=N(48);z(1);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(2,s_a,a.duplicateOfIssueId))}},D_a=function(a){a&1&&(H(0),O(1,C_a,2,4,"ng-container",23),I());a&2&&(a=L().row,z(1),C("ngIf",a.duplicateOfIssueId))},E_a=function(a){a&1&&(D(0,"td",58),O(1,D_a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},F_a=function(a){a&1&&(H(0),
F(1,"b-formatted-date-time",64),I());a&2&&(a=L().row,z(1),C("timestamp",a.createdTime))},G_a=function(a){a&1&&(D(0,"td",63),O(1,F_a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},H_a=function(a){a&1&&(H(0),F(1,"b-formatted-date-time",64),I());a&2&&(a=L().row,z(1),C("timestamp",a.modifiedTime))},I_a=function(a){a&1&&(D(0,"td",63),O(1,H_a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},J_a=function(a){a&1&&(H(0),F(1,"b-formatted-date-time",64),I());a&
2&&(a=L().row,z(1),C("timestamp",a.resolvedTime))},K_a=function(a){a&1&&(D(0,"td",63),O(1,J_a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},L_a=function(a){a&1&&(H(0),F(1,"b-formatted-date-time",64),I());a&2&&(a=L().row,z(1),C("timestamp",a.verifiedTime))},M_a=function(a){a&1&&(D(0,"td",63),O(1,L_a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},N_a=function(a){a&1&&(H(0),D(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),E(),I());a&2&&(a=L().row,
z(1),dg("title",S(2,2,a.foundInVersion)),z(2),Q(" ",S(4,4,a.foundInVersion)," "))},O_a=function(a){a&1&&(D(0,"td",58),O(1,N_a,5,6,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},P_a=function(a){a&1&&(H(0),D(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),E(),I());a&2&&(a=L().row,z(1),dg("title",S(2,2,a.targetedToVersion)),z(2),Q(" ",S(4,4,a.targetedToVersion)," "))},Q_a=function(a){a&1&&(D(0,"td",58),O(1,P_a,5,6,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},
R_a=function(a){a&1&&(H(0),D(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),E(),I());a&2&&(a=L().row,z(1),dg("title",S(2,2,a.verifiedInVersion)),z(2),Q(" ",S(4,4,a.verifiedInVersion)," "))},S_a=function(a){a&1&&(D(0,"td",58),O(1,R_a,5,6,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},T_a=function(a){a&1&&(H(0),P(1),R(2,"yesNo"),I());a&2&&(a=L().row,z(1),Q(" ",S(2,1,a.inProd)," "))},U_a=function(a){a&1&&(D(0,"td",58),O(1,T_a,3,3,"ng-container",23),E());a&2&&(a=L(),z(1),
C("ngIf",a.isIssueRow()))},V_a=function(a){a&1&&(H(0),P(1),R(2,"yesNo"),I());a&2&&(a=L().row,z(1),Q(" ",S(2,1,a.archived)," "))},W_a=function(a){a&1&&(D(0,"td",58),O(1,V_a,3,3,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},X_a=function(a){a&1&&(H(0),D(1,"div",38)(2,"div",42)(3,"span"),R(4,"componentPath"),P(5),R(6,"componentPath"),E()()(),I());a&2&&(a=L().row,z(3),dg("title",S(4,2,a.componentPath)),z(2),Bg(S(6,4,a.componentPath)))},Z_a=function(a){a&1&&(D(0,"td",65),O(1,X_a,7,
6,"ng-container",23),E());if(a&2){a=L();var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);C("ngClass",Hg(2,Y_a,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));z(1);C("ngIf",a.isIssueRow())}},$_a=function(a){a&1&&(D(0,"slo-status-card",68),F(1,"b-aggregated-slo-status-indicator",69),E());a&2&&(a=L(2).row,C("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil),z(1),C("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil))},a0a=function(a){a&1&&(H(0),O(1,$_a,
2,5,"slo-status-card",67),I());a&2&&(a=L().row,z(1),C("ngIf",a.sloStatus))},b0a=function(a){a&1&&(D(0,"td",66),O(1,a0a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},c0a=function(a){a&1&&(D(0,"slo-status-card",71),F(1,"b-slo-time-indicator",72),E());a&2&&(a=L(2).row,C("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","RESPONSE"),z(1),C("sloBounds",a.sloStatus.responseBounds))},d0a=function(a){a&1&&(H(0),O(1,c0a,2,5,"slo-status-card",
70),I());a&2&&(a=L().row,z(1),C("ngIf",a.sloStatus))},e0a=function(a){a&1&&(D(0,"td",66),O(1,d0a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},f0a=function(a){a&1&&(D(0,"slo-status-card",71),F(1,"b-slo-time-indicator",72),E());a&2&&(a=L(2).row,C("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","ASSIGNMENT"),z(1),C("sloBounds",a.sloStatus.assignmentBounds))},g0a=function(a){a&1&&(H(0),O(1,f0a,2,5,"slo-status-card",70),I());a&2&&
(a=L().row,z(1),C("ngIf",a.sloStatus))},h0a=function(a){a&1&&(D(0,"td",66),O(1,g0a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},i0a=function(a){a&1&&(D(0,"slo-status-card",71),F(1,"b-slo-time-indicator",72),E());a&2&&(a=L(2).row,C("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","CLOSURE"),z(1),C("sloBounds",a.sloStatus.closureBounds))},j0a=function(a){a&1&&(H(0),O(1,i0a,2,5,"slo-status-card",70),I());a&2&&(a=L().row,z(1),C("ngIf",
a.sloStatus))},k0a=function(a){a&1&&(D(0,"td",66),O(1,j0a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},l0a=function(a,b){a&1&&F(0,"b-formatted-date-time",74);a&2&&(a=b.$implicit,L(3),C("timestamp",1E3*a.seconds))},m0a=function(a){a&1&&(H(0),O(1,l0a,1,1,"b-formatted-date-time",73),I());a&2&&(a=L().row,z(1),C("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},n0a=function(a){a&1&&(D(0,"td",58),O(1,m0a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),
C("ngIf",a.isIssueRow()))},o0a=function(a){a&1&&F(0,"div",76)},p0a=function(a){a&1&&(D(0,"div"),F(1,"b-team-display",77),E());a&2&&(a=L(2).row,z(1),C("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},q0a=function(a){a&1&&(H(0),O(1,o0a,1,0,"div",75),O(2,p0a,2,3,"div",23),I());a&2&&(a=L(2),z(1),C("ngIf",a.isLoadingTeams),z(1),C("ngIf",!a.isLoadingTeams))},r0a=function(a){a&1&&(D(0,"td",58),O(1,q0a,3,2,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},
s0a=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L().row,z(1),Q(" ",null==a.effort?null:a.effort.estimate," "))},t0a=function(a){a&1&&(D(0,"td",58),O(1,s0a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},u0a=function(a){a&1&&(H(0),P(1),I());if(a&2){a=L().row;var b=L();z(1);Q(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},v0a=function(a){a&1&&(D(0,"td",58),O(1,u0a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},w0a=function(a){a&
1&&(H(0),P(1),I());if(a&2){a=L().row;var b=L();z(1);Q(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalComplete)||"":""," ")}},x0a=function(a){a&1&&(D(0,"td",58),O(1,w0a,2,1,"ng-container",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isIssueRow()))},y0a=function(a){a&1&&F(0,"b-issue-card",81,82);if(a&2){var b=N(1);a=L().id;C("onedevIsHovercardReady",b.init)("issueId",a)}},z0a=function(a,b){a&1&&(D(0,"onedev-hovercard",null,78),O(2,y0a,2,2,"b-issue-card",79),E(),D(3,"span",80),P(4),E());if(a&
2){a=b.id;var c=N(1);z(3);C("onedevHovercardTrigger",c);z(1);Bg(a)}},A0a=function(a){if(a&1){var b=t();D(0,"b-app-bar-bulk-edit-menus",10);K("onBulkEdit",function(c){v(b);var d=L();return w(d.bulkEdit(c))})("onQuickBulkEdit",function(c){v(b);var d=L();return w(d.quickBulkEdit(c))})("onBulkEditIssueRelation",function(c){v(b);var d=L();return w(d.bulkEditIssueRelation(c))})("onBulkMarkIssueRead",function(){v(b);var c=L();return w(c.bulkMarkIssueRead())});E()}a&2&&(a=L(),C("readStatePrompt",sXa(a)))},
B0a=function(a){if(a&1){var b=t();D(0,"b-copy-issue-id-button",11);K("onClickCopyIssueIds",function(){v(b);var c=L();return w(uXa(c.copyIssueIdService,xr(c)))})("onClickCopyIssueShortLinks",function(){v(b);var c=L();return w(vXa(c.copyIssueIdService,xr(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=L();return w(wXa(c.copyIssueIdService,xr(c)))});E()}a&2&&(a=L(),C("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},
C0a=function(a){if(a&1){var b=t();D(0,"div",12)(1,"b-hotlist-picker",13);K("onApply",function(c){v(b);var d=L();return w(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=L();return w(d.onCreateHotlist.emit(c))})("onLoad",function(c){v(b);var d=L();return w(d.onLoadHotlist.emit(c))});E()()}a&2&&(a=L(),z(1),C("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},D0a=function(a){if(a&1){var b=t();D(0,"hotlist-add-issue-btn",16);K("issueAddedToHotlist",function(){v(b);
var c=L(2);return w(c.refresh())});E()}a&2&&(a=L(2),C("hotlistId",a.currentHotlistId))},E0a=function(a){a&1&&F(0,"hotlist-archive-btn",17);a&2&&(a=L(2),C("hotlistId",a.currentHotlistId))},F0a=function(a){a&1&&(H(0),O(1,D0a,1,1,"hotlist-add-issue-btn",14),O(2,E0a,1,1,"hotlist-archive-btn",15),I());a&2&&(a=L(),z(1),C("ngIf",a.enableBulkEditUi),z(1),C("ngIf",a.isHotlistAdmin))},G0a=function(a){a&1&&(D(0,"span",21),P(1,"Reporting"),E())},H0a=function(a){if(a&1){var b=t();D(0,"b-button",18);K("onAction",
function(){v(b);var c=L();return w(c.openInEstado())});F(1,"b-icon",19);O(2,G0a,2,0,"span",20);E()}a&2&&(a=L(),C("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),z(2),C("ngIf",!a.hasSelectedIssues()))},I0a=function(a){if(a&1){var b=t();D(0,"b-comment-box",28);K("commentChange",function(c){v(b);var d=L(2);return w(d.comment=c)})("onSubmit",function(){v(b);var c=L(2);return w(zXa(c))});E()}a&2&&(a=L(2),C("comment",a.comment)("showToolbar",!1))},J0a=function(a,
b){a&1&&(D(0,"li"),P(1),F(2,"b-access-level-indicator",31),E());a&2&&(a=b.$implicit,z(1),Q(" ",a.path," "),z(1),C("accessLevel",a.accessLevel))},K0a=function(a){a&1&&(D(0,"div",29)(1,"div")(2,"strong"),P(3,"You are commenting on issues in components that have external viewers:"),E()(),D(4,"ul"),O(5,J0a,3,2,"li",30),E()());a&2&&(a=L(2),z(5),C("ngForOf",a.externalWarnings))},L0a=function(a){if(a&1){var b=t();D(0,"div",32)(1,"b-recaptcha",33);K("onUpdate",function(c){v(b);var d=L(2);return w(d.recaptchaResponse=
c)});E()()}},M0a=function(a){a&1&&(D(0,"h1",22),P(1,"Add comment"),E(),D(2,"mat-dialog-content"),O(3,I0a,1,2,"b-comment-box",23),O(4,K0a,6,1,"div",24),E(),O(5,L0a,2,0,"div",25),D(6,"mat-dialog-actions")(7,"button",26),P(8," Cancel "),E(),D(9,"button",27),P(10," Save "),E()());a&2&&(a=L(),z(3),C("ngIf",a.comment),z(1),C("ngIf",0<a.externalWarnings.length),z(1),C("ngIf",a.enableRecaptcha),z(2),C("mat-dialog-close",!1),z(2),C("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",
!0))},O0a=function(a,b){if(a&1){var c=t();D(0,"div",5)(1,"b-contact-chip",6);K("chipSelection",function(){var d=v(c).index,e=L();e.selectedChipIndex!==d&&Dr(e,d)&&(N0a(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return w()})("chipClear",function(){v(c);var d=L();return w(N0a(d))})("chipRemove",function(){var d=v(c).index,e=L();return w(e.removeItem(d))});E()()}a&2&&(a=b.$implicit,b=L(),z(1),C("isReadonly",a.isReadonly)("isSelected",a.isSelected)("isWidgetDisabled",b.isWidgetDisabled())("principalType",
a.principalType)("detailedUserType",a.detailedUserType)("nestedChips",a.nestedChips)("value",a.value)("displayText",a.displayText)("accessLevel",b.getAccessLevel()))},R0a=function(a){if(a&1){var b=t();D(0,"input",7,8);K("autocompleteActive",function(){v(b);var c=L();return w(c.chipifyFn())})("ngModelChange",function(c){v(b);var d=L();return w(d.typedText=c)})("focus",function(){v(b);var c=L();return w(P0a(c))})("blur",function(){v(b);var c=L();Q0a(c,c.typedText.split(",")[0].trim());c.isFocused=!1;
return w()});E()}a&2&&(a=L(),C("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()),dg("id",a.idForInputBox))},S0a=function(a){a&1&&(D(0,"span"),P(1," Groups cannot be granted Restricted+ reader permission. "),D(2,"a",9),P(3,"Learn more"),E()());a&2&&(a=L(),z(2),dg("href",Kp(a.documentationLinks)+"#components",ue))},T0a=function(a){a&1&&(D(0,"span"),P(1," Invalid user(s). "),E())},U0a=function(a){a&1&&(D(0,"span"),
P(1,' "Public" or external users are not allowed for component designated as "internal access". '),E())},V0a=function(a){a&1&&(D(0,"span"),P(1,' "Public" is not allowed for components designated as "external partner access". '),E())},W0a=function(a){a&1&&(D(0,"span"),P(1," SLO lead can not be a group. "),E())},X0a=function(a){a&1&&(D(0,"span"),P(1," SLO lead can only be a full-time Googler. "),E())},Y0a=function(a){if(a&1){var b=t();D(0,"div",7)(1,"button",8);K("click",function(){v(b);var c=L();return w(c.onPressSave())});
P(2," Save ");E();D(3,"button",9);K("click",function(){v(b);var c=L();return w(c.onPressRevert())});P(4," Revert changes ");E()()}a&2&&(a=L(),z(1),C("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),z(2),C("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},Z0a=function(a){if(a&
1){var b=t();D(0,"div",7)(1,"button",8);K("click",function(){v(b);var d=L();return w(d.save())});P(2," Save ");E();D(3,"button",9);K("click",function(){v(b);var d=L();return w(d.revert())});P(4," Revert changes ");E();F(5,"hotlist-archive-btn",10);R(6,"async");E()}if(a&2){a=L();var c;z(1);C("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");z(2);C("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":
"Go back to the last saved state");z(2);C("hotlistId",null!==(c=S(6,5,a.id$))&&void 0!==c?c:void 0)}},$0a=function(a,b){a&1&&(H(0),P(1),I());a&2&&(a=b.$implicit,z(1),Q(" ",a.name," "))},a1a=function(a){a&1&&(D(0,"strong",4),P(1,"(archived)"),E())},b1a=function(a){a&1&&F(0,"b-spinner")},c1a=function(a){a&1&&(F(0,"hotlist-add-issue-btn",5),R(1,"async"));if(a&2){a=L();var b;C("hotlistId",null!==(b=S(1,1,a.id$))&&void 0!==b?b:void 0)}},d1a=function(a){a&1&&(D(0,"p",8),P(1," This hotlist cannot be edited because you are not an administrator of it. "),
E())},e1a=function(a){a&1&&(H(0),F(1,"b-edit-hotlist-toolbar",1),D(2,"div",2),F(3,"b-edit-hotlist-header",1),D(4,"mat-tab-group",3)(5,"mat-tab",4),F(6,"b-edit-hotlist-basic",5),R(7,"async"),E(),D(8,"mat-tab",6),F(9,"b-edit-hotlist-acl",5),R(10,"async"),E()(),O(11,d1a,2,0,"p",7),R(12,"async"),E(),I());a&2&&(a=L(),z(1),C("hotlistId",a.id),z(2),C("hotlistId",a.id),z(1),C("selectedIndex",a.tabIndex),z(2),C("hotlistId",a.id)("isReadOnly",!1===S(7,8,a.isAdmin$)),z(3),C("hotlistId",a.id)("isReadOnly",!1===
S(10,10,a.isAdmin$)),z(2),C("ngIf",!1===S(12,12,a.isAdmin$)))},f1a=function(a,b){a&1&&(H(0),F(1,"empty-toolbar"),D(2,"div",9)(3,"h2"),P(4,"Error"),E(),D(5,"p"),P(6),E()(),I());a&2&&(a=b.$implicit,z(6),Bg(a))},g1a=function(a){a&1&&(D(0,"b-callout",1)(1,"b-callout-body"),P(2),E()());a&2&&(a=L(),z(2),Bg(a.error))},h1a=function(a){a&1&&tg(0)},i1a=function(a){a&1&&(D(0,"span"),P(1,"Details"),E())},j1a=function(a){a&1&&(D(0,"span"),P(1,"Members"),E())},l1a=function(a){a&1&&(D(0,"div",13)(1,"a",14),O(2,
i1a,2,0,"span",15),O(3,j1a,2,0,"span",15),E()());if(a&2){a=L(2);z(1);if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=k1a(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":Mwa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}C("href",b,ue);z(1);C("ngIf",k1a(a.email));z(1);C("ngIf",!k1a(a.email))}},m1a=function(a){a&1&&(H(0),D(1,"span",2),O(2,h1a,1,0,"ng-container",3),
E(),D(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),P(11),E()(),D(12,"div",10),F(13,"mat-icon",11),D(14,"span"),P(15),E()()(),O(16,l1a,4,3,"div",12),E()()()(),I());if(a&2){var b=N(4);a=L();var c=N(2);z(1);C("onedevHovercardTrigger",b);z(1);C("ngTemplateOutlet",c);z(9);Bg(a.getName());z(4);Bg(a.email);z(1);C("ngIf",a.shouldShowLinks())}},n1a=function(a){a&1&&xg(0)},o1a=function(a,b){a&1&&F(0,"mat-icon",8);a&2&&C("svgIcon",b.ngIf)},p1a=function(a){a&1&&
(D(0,"b-person-hovercard",9),P(1),E());a&2&&(a=L(),C("email",a.value),z(1),Q(" ",a.displayText," "))},q1a=function(a){a&1&&(D(0,"b-group-email-card",9),P(1),E());a&2&&(a=L(),C("email",a.value),z(1),Q(" ",a.displayText," "))},r1a=function(a){a&1&&(D(0,"div"),P(1),E());a&2&&(a=L(),z(1),Q(" ",a.displayText," "))},s1a=function(a){if(a&1){var b=t();D(0,"div",10);K("click",function(){v(b);var c=L();return w(c.chipRemove.emit())});F(1,"mat-icon",11);E()}a&2&&(a=L(),yg("matTooltip","'Remove ",a.displayText,
"'"),dg("aria-label","Remove "+a.displayText))},t1a=function(a,b){a&1&&(D(0,"div",19),F(1,"b-contact-chip",20),E());a&2&&(a=b.$implicit,b=L(2),z(1),C("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},u1a=function(a){a&1&&(D(0,"div",12)(1,"div",13)(2,"div",14),O(3,t1a,2,5,"div",15),D(4,"div",16),F(5,"div",17)(6,"div",18),E()()()());a&2&&(a=L(),z(3),C("ngForOf",a.nestedChips))},v1a=function(a){a&1&&(H(0),
P(1,", "),I())},w1a=function(a,b){a&1&&(H(0),P(1),O(2,v1a,2,0,"ng-container",14),I());if(a&2){a=b.$implicit;b=b.last;var c=L(2);z(1);Q(" ",c.convertUserToString(a)," ");z(1);C("ngIf",!b)}},x1a=function(a,b){if(a&1){var c=t();D(0,"tr",7);K("click",function(){var e=v(c).$implicit,f=L();return w(f.editHotlist(e))})("focus",function(){var e=v(c).index,f=L();return w(f.setFocusOnIndex(e))});F(1,"td",2);D(2,"td",8)(3,"a",9);K("click",function(e){return e.stopPropagation()});P(4);E()();D(5,"td",10);P(6);
E();D(7,"td",11);O(8,w1a,3,2,"ng-container",12);E();D(9,"td",13);P(10);E()()}if(a&2){a=b.$implicit;b=b.index;var d=L();pg("grid-focus",d.isFocused(b));dg("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);C("href",d.paths.editHotlist(a.hotlistId),ue);z(1);Q(" ",a.name," ");z(2);Q(" ",a.description," ");z(2);C("ngForOf",a.adminUsers);z(2);Q(" ",a.hotlistId," ")}},y1a=function(a){if(a&1){var b=t();D(0,"button",9);K("click",function(){v(b);var c=L(2);return w(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});
P(1," Move to top ");E()}},z1a=function(a){if(a&1){var b=t();D(0,"button",10);K("click",function(){v(b);var c=L(2);return w(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});P(1," Move up ");E()}},A1a=function(a){if(a&1){var b=t();D(0,"button",11);K("click",function(){v(b);var c=L(2);return w(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});P(1," Move down ");E()}},B1a=function(a){if(a&1){var b=t();D(0,"button",12);K("click",function(){v(b);var c=L(2);return w(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});
P(1," Move to bottom ");E()}},C1a=function(a){if(a&1){var b=t();O(0,y1a,2,0,"button",4);O(1,z1a,2,0,"button",5);O(2,A1a,2,0,"button",6);O(3,B1a,2,0,"button",7);D(4,"button",8);K("click",function(){v(b);var c=L();return w(c.removePanel())});P(5," Remove ");E()}a&2&&(a=L(),C("ngIf",!a.first),z(1),C("ngIf",!a.first),z(1),C("ngIf",!a.last),z(1),C("ngIf",!a.last))},D1a=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L(),dg("title",a.getValue()),z(1),Q(" ",a.getValue(),"\n"))},E1a=function(a){a&1&&F(0,
"b-custom-field-value-display",2);a&2&&(a=L(),C("customFieldValue",a.getCustomFieldValue()))},F1a=function(a){a&1&&F(0,"b-actions-menu",7);a&2&&(a=L(),C("menuItems",a.menuItems))},G1a=function(a){a&1&&(D(0,"span",8)(1,"strong"),P(2),E(),P(3,"\u00a0of\u00a0"),D(4,"strong"),P(5),E()());a&2&&(a=L(),z(2),Cg("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),z(3),Bg(a.searchResults.totalText))},H1a=function(a){a&1&&(D(0,"div"),P(1," Hotlist not found. "),E())},I1a=function(a){a&
1&&(D(0,"div"),P(1," Loading details... "),E())},J1a=function(a){a&1&&F(0,"b-panel-controls",11);a&2&&(a=L(2),C("panelId",a.panel.panelId))},K1a=function(a){a&1&&(D(0,"span",12),P(1," \u00a0(changed) "),E())},L1a=function(a){a&1&&(D(0,"div"),O(1,J1a,1,1,"b-panel-controls",6),D(2,"span",7),P(3," Hotlist: "),D(4,"a",8)(5,"span",9),P(6),E()()(),O(7,K1a,2,0,"span",10),E());a&2&&(a=L(),z(1),C("ngIf",a.isDashboardEditable),z(3),C("href",a.paths.viewHotlist(a.hotlistId),ue),z(1),zg("matTooltip",a.resource.description),
z(1),Bg(a.resource.name),z(1),C("ngIf",a.hasParamChanges()))},M1a=function(a){if(a&1){var b=t();D(0,"div",13)(1,"button",14);K("click",function(){v(b);var c=L();return w(c.save())});P(2,"Save ");E();D(3,"button",15);K("click",function(){v(b);var c=L();return w(c.discardChanges())});P(4," Discard changes ");E()()}},N1a=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L(3),z(1),Q(" Searching for ",a.searchParams.query," ..."))},O1a=function(a){a&1&&(D(0,"div",19),F(1,"b-spinner",20),O(2,N1a,2,1,"span",
3),E());a&2&&(a=L(2),z(1),C("large",!1),z(1),C("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},P1a=function(a){a&1&&(D(0,"div",21),P(1," No issues in hotlist. "),E())},R1a=function(a){if(a&1){var b=t();D(0,"div",22)(1,"b-issues-grid",23);K("init",function(c){v(b);var d=L(2);return w(Q1a(d,c))})("focusedRowIndexChange",function(c){v(b);var d=L(2);return w(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=L(2);return w(d.issueColumns=c)})("sortChange",function(c){v(b);
var d=L(2);return w(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){v(b);var d=L(2);return w(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){v(b);var d=L(2);return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=L(2);return w(c.goToPage(c.page+1))})("onPrevPage",function(){v(b);var c=L(2);return w(c.goToPage(c.page-1))});E()()}a&2&&(a=L(2),z(1),C("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",
a.isColumnSaveEnabled)("sort",a.getSort()))},S1a=function(a){a&1&&(D(0,"div"),O(1,O1a,3,2,"div",16),O(2,P1a,2,0,"div",17),O(3,R1a,2,5,"div",18),E());a&2&&(a=L(),z(1),C("ngIf",a.isLoading),z(1),C("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),z(1),C("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},T1a=function(a){a&1&&(D(0,"div"),P(1," Saved search not found. "),E())},
U1a=function(a){a&1&&(D(0,"div"),P(1," Loading details... "),E())},V1a=function(a){a&1&&F(0,"b-panel-controls",11);a&2&&(a=L(2),C("panelId",a.panel.panelId))},W1a=function(a){a&1&&(D(0,"span",12),P(1," \u00a0(changed) "),E())},X1a=function(a){a&1&&(D(0,"div",6),O(1,V1a,1,1,"b-panel-controls",7),D(2,"span",6),P(3," Saved search: "),D(4,"a",8)(5,"span",9),P(6),E()()(),O(7,W1a,2,0,"span",10),E());a&2&&(a=L(),z(1),C("ngIf",a.isDashboardEditable),z(3),C("href",a.paths.viewSavedSearch(a.savedSearchId),
ue),z(1),zg("matTooltip",a.resource.description),z(1),Bg(a.resource.name),z(1),C("ngIf",a.hasParamChanges()))},Y1a=function(a,b){a&1&&(D(0,"span"),P(1),E());a&2&&(a=b.ngIf,z(1),Q("Searching for ",a,"..."))},Z1a=function(a){a&1&&(D(0,"div",16),F(1,"b-spinner",17),O(2,Y1a,2,1,"span",3),E());a&2&&(a=L(2),z(1),C("large",!1),z(1),C("ngIf",null==a.searchParams?null:a.searchParams.query))},$1a=function(a){a&1&&(D(0,"div",18),P(1," No issues in saved search. "),E())},a2a=function(a){if(a&1){var b=t();D(0,
"div",19)(1,"b-issues-grid",20);K("init",function(c){v(b);var d=L(2);return w(Q1a(d,c))})("focusedRowIndexChange",function(c){v(b);var d=L(2);return w(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=L(2);return w(d.columnsChange(c))})("sortChange",function(c){v(b);var d=L(2);return w(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=L(2);return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=L(2);return w(c.goToPage(c.page+1))})("onPrevPage",
function(){v(b);var c=L(2);return w(c.goToPage(c.page-1))});E()()}a&2&&(a=L(2),z(1),C("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},b2a=function(a){a&1&&(D(0,"div"),O(1,Z1a,3,2,"div",13),O(2,$1a,2,0,"div",14),O(3,a2a,2,5,"div",15),E());a&2&&(a=L(),z(1),C("ngIf",a.isLoading),z(1),C("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),z(1),C("ngIf",!a.isLoading&&a.searchResults&&
0!==a.searchResults.issues.length))},c2a=function(a,b){a&1&&(D(0,"span",3)(1,"a",4),P(2),E()());a&2&&(a=b.$implicit,z(1),yg("routerLink","/teams/",a.id,"/edit"),C("preserveFragment",!0),z(1),Bg(a.name))},d2a=function(a){a&1&&(D(0,"p")(1,"span",6),P(2,"NOTE:"),E(),P(3),D(4,"a",7),P(5,"Learn more"),E()());a&2&&(a=L(),z(3),Q(" ",a.data.noteText," "),z(1),C("href",a.getDisablingFieldsHelpLink(),ue))},e2a=function(a){a&1&&(H(0),F(1,"span",26)(2,"b-icon",27),I());a&2&&(a=L(),z(1),C("innerHTML",a.menuLabel,
te))},f2a=function(a){a&1&&(D(0,"div",28),P(1," This includes emails about major updates and: "),D(2,"ul",29)(3,"li"),P(4,"All title, hotlist, and status changes."),E(),D(5,"li"),P(6,"Blocking, Blocked By, or Duplicate changes."),E(),D(7,"li"),P(8,"Changes to Reporter, Verifier, and CCs."),E(),D(9,"li"),P(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),E(),D(11,"li"),P(12,"Changes to custom fields marked as minor."),E()()())},g2a=function(a){a&1&&(D(0,"div",30),P(1," This includes emails about: "),
D(2,"ul",29)(3,"li"),P(4,"New comments."),E(),D(5,"li"),P(6,"Priority or Severity changes."),E(),D(7,"li"),P(8,"Assignee changes."),E(),D(9,"li"),P(10,"Component changes."),E(),D(11,"li"),P(12,"Issue closure or reopening."),E(),D(13,"li"),P(14,"Changes to custom fields marked as major."),E()()())},h2a=function(a,b){a&1&&(D(0,"mat-option",6),P(1),E());a&2&&(a=b.$implicit,C("value",a),z(1),Q(" ",a.getName()," "))},i2a=function(a){a&1&&(D(0,"span",11),P(1," (must be between 30 days and 10 years) "),
E())},k2a=function(a){if(a&1){var b=t();D(0,"div",12)(1,"b-duration-picker",13);K("durationDaysChange",function(c){v(b);var d=L();d.model.retentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Er(d);return w()});E();D(2,"div",14);P(3);E()()}a&2&&(a=L(),z(1),C("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),z(2),Q(" Issues will be marked for deletion when they have not been modified for ",j2a(a.model.retentionPeriodDays),". "))},l2a=function(a){a&
1&&(D(0,"div",15)(1,"p"),P(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),D(3,"b"),P(4,"one or more"),E(),P(5," of the following is true:"),E(),D(6,"ol")(7,"li"),P(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),E(),D(9,"li"),P(10,"You have a process in place to manually delete this data within an approved period of time."),E(),D(11,"li"),P(12,"Legal and Privacy have approved this non-standard retention period."),
E()()())},m2a=function(a){a&1&&(D(0,"span",11),P(1," (Issue Retention is shorter than default Restricted Retention) "),E())},o2a=function(a){a&1&&(D(0,"span",11),P(1),E());a&2&&(a=L(),z(1),Q(" ",n2a(a)," "))},p2a=function(a){a&1&&(D(0,"div",21)(1,"p"),P(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),
E()())},r2a=function(a){if(a&1){var b=t();D(0,"div",12)(1,"div")(2,"span",16);P(3,"Restricted retention:");E();D(4,"b-duration-picker",17);K("durationDaysChange",function(c){v(b);var d=L();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Er(d);return w()});E()();D(5,"div",18)(6,"p");P(7);E()();D(8,"div")(9,"span",16);P(10,"Restricted+ retention:");E();D(11,"b-duration-picker",19);K("durationDaysChange",function(c){v(b);var d=L();d.model.spiiRetentionPeriodDays=
null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Er(d);return w()});E()();D(12,"div",18)(13,"p");P(14);E()();O(15,p2a,3,0,"div",20);E()}a&2&&(a=L(),z(4),C("disabled",!Fr(a))("durationDays",a.model.piiRetentionPeriodDays),z(3),Q(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",j2a(a.model.piiRetentionPeriodDays),". "),z(4),C("disabled",!Fr(a))("durationDays",a.model.spiiRetentionPeriodDays),z(3),Q(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
j2a(a.model.spiiRetentionPeriodDays),". "),z(1),C("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&q2a(a)))},s2a=function(a){a&1&&(D(0,"div",22)(1,"p"),P(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),E()())},Gr=function(a,b,
c,d){var e=t2a(a.slice(0,b),c);e=e&&e.index||0;var f=a.slice(b);c=(new RegExp(d||c,"gi")).exec(f);return{val:a.slice(e,(c?c.index:f.length)+b),idx:e}},t2a=function(a,b){b=new RegExp(b,"gi");for(var c,d=null;null!=(c=b.exec(a));)d=c,d.index=b.lastIndex;return d},Hr=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},u2a=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,token:a}},Ir=function(a,b,c,d){c=void 0===c?!1:c;d=void 0===d?!1:d;var e=
b.val.toLowerCase();a=a.filter(function(q){q=q.name.toLowerCase();return q!==e||d?c?uj(q,e):ja(q,e):!1});b=b.idx;for(var f=b+e.length,h=m(a),l=h.next();!l.done;l=h.next())l=l.value.completionCfg,l.startIdx=b,l.endIdx=f,l.matchingString=e;return a},Jr=function(a,b,c,d){return{trackId:b+":"+a,name:a,id:a,label:c,completionCfg:{enableShadowPlaceholder:!0,completionValue:a,type:d}}},x2a=function(a,b){if(a&1){var c=t();D(0,"div",9)(1,"div",10);K("click",function(d){var e=v(c).$implicit,f=L();e=e.key;if(d=
void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=f.options.propertyValues[e];d.value=!d.value;v2a(f);w2a(f);f.optionsChange.emit(f.options);return w()});D(2,"mat-checkbox",11);K("change",function(d){var e=v(c).$implicit,f=L();e.value.value=d.checked;v2a(f);w2a(f);f.optionsChange.emit(f.options);return w()})("click",function(d){return d.stopPropagation()});P(3);E()()()}a&2&&(a=b.$implicit,dg("aria-checked",a.value.value),z(2),C("checked",a.value.value),z(1),Q(" ",a.value.displayString," "))},
y2a=function(a){a&1&&(D(0,"div",12),P(1),E());a&2&&(a=L(),z(1),Q(" ",a.errorString," "))},A2a=function(a){if(a&1){var b=t();D(0,"span",4)(1,"input",5);K("ngModelChange",function(c){v(b);var d=L(2);return w(d.businessDayString=c)})("ngModelChange",function(){v(b);var c=L(2);return w(z2a(c))});E();D(2,"span",8);P(3,"days,");E()()}a&2&&(a=L(2),z(1),pg("ng-invalid",!!a.errorString),C("ngModel",a.businessDayString))},C2a=function(a,b){a&1&&(D(0,"mat-option",9),P(1),E());a&2&&(a=b.$implicit,b=L(2),C("value",
a),z(1),Q(" ",B2a(b,a)," "))},G2a=function(a){if(a&1){var b=t();D(0,"span",2);O(1,A2a,4,3,"span",3);D(2,"span",4)(3,"input",5);K("ngModelChange",function(c){v(b);var d=L();return w(d.intervalString=c)})("ngModelChange",function(){v(b);var c=L();return w(z2a(c))});E();D(4,"mat-select",6);K("ngModelChange",function(c){v(b);var d=L();return w(d.intervalUnit=c)})("selectionChange",function(){v(b);var c=L();D2a(c);E2a(c);return w()});O(5,C2a,2,2,"mat-option",7);E()()()}a&2&&(a=L(),z(1),C("ngIf",2==a.dayType),
z(2),pg("invalid",!!a.errorString),C("ngModel",a.intervalString),z(1),C("ngModel",a.intervalUnit),z(1),C("ngForOf",2==a.dayType?[Mr,Nr]:[Mr,Nr,F2a]))},H2a=function(a){a&1&&(D(0,"span",13),P(1),E());a&2&&(a=L(2),z(1),Cg(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},I2a=function(a){a&1&&(D(0,"span"),P(1,", "),E())},J2a=function(a){a&1&&(D(0,"span"),O(1,I2a,2,0,"span",12),D(2,"span"),P(3),E()());a&2&&(a=L(2),z(1),C("ngIf",a.objectiveBusinessDays),z(2),Cg("",a.intervalString,
" ",B2a(a,a.intervalUnit),""))},K2a=function(a){a&1&&(D(0,"span",10),O(1,H2a,2,2,"span",11),O(2,J2a,4,3,"span",12),E());a&2&&(a=L(),z(1),C("ngIf",a.objectiveBusinessDays),z(1),C("ngIf",a.intervalString&&"0"!=a.intervalString))},M2a=function(a){if(a&1){var b=t();D(0,"b-icon",22);K("click",function(){v(b);var c=L(2);return w(L2a(c,0))});E()}a&2&&C("name","add")("size","small")},O2a=function(a){if(a&1){var b=t();D(0,"span",17)(1,"span",18)(2,"span",19);O(3,M2a,1,2,"b-icon",20);E();D(4,"span",19)(5,"b-icon",
21);K("click",function(c){v(b);var d=L();return w(N2a(d,c))});E()()()()}a&2&&(a=L(),z(3),C("ngIf",a.canPerformActions),z(2),C("name","delete")("size","small"))},P2a=function(a){a&1&&F(0,"td",42)},Q2a=function(a){if(a&1){var b=t();D(0,"td",43)(1,"slo-element-property-picker",44);K("optionsChange",function(c){v(b);var d=L().$implicit;return w(d.typePickerValues=c)});E()()}a&2&&(a=L().$implicit,z(1),C("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},R2a=function(a){if(a&
1){var b=t();D(0,"td",45)(1,"slo-element-property-picker",46);K("optionsChange",function(c){v(b);var d=L().$implicit;return w(d.priorityPickerValues=c)});E()()}a&2&&(a=L().$implicit,z(1),C("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},S2a=function(a){if(a&1){var b=t();D(0,"td",47)(1,"slo-element-property-picker",48);K("optionsChange",function(d){v(b);var e=L().$implicit;return w(e.postmortemPickerValues=d)});E()()}if(a&2){a=L().$implicit;
var c=L(2);z(1);C("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},U2a=function(a,b){a&1&&(D(0,"mat-option",53),P(1),E());a&2&&(a=b.$implicit,L(4),C("value",a),z(1),Q(" ",0===a?" - ":T2a.get(a)," "))},V2a=function(a){if(a&1){var b=t();D(0,"td",49)(1,"mat-form-field",50)(2,"mat-select",51);K("ngModelChange",function(d){v(b);var e=L().$implicit;return w(e.selectedMetric=d)});O(3,U2a,2,2,"mat-option",52);E()()()}if(a&2){a=L().$implicit;
var c=L(2);z(2);C("ngModel",a.selectedMetric)("customValidators",a.metricValidators);z(1);C("ngForOf",c.metricChoices)}},W2a=function(a){if(a&1){var b=t();D(0,"td",54)(1,"slo-objective-selector",55);K("objectiveDurationChange",function(c){v(b);var d=L().$implicit;return w(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){v(b);var d=L().$implicit;return w(d.selectedObjectiveBusinessDays=c)});E()()}a&2&&(a=L().$implicit,z(1),C("dayType",a.selectedDayType)("objectiveDuration",
a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("validator",a.validateObjective))},Y2a=function(a,b){a&1&&(D(0,"mat-option",53),P(1),E());a&2&&(a=b.$implicit,L(4),C("value",a),z(1),Q(" ",X2a.get(a||1)," "))},Z2a=function(a){if(a&1){var b=t();D(0,"td",56)(1,"mat-form-field",57)(2,"mat-select",58);K("ngModelChange",function(d){v(b);var e=L().$implicit;return w(e.selectedDayType=d)})("selectionChange",function(){v(b);var d=L().$implicit;2===d.selectedDayType?0===
d.selectedObjectiveDuration.getSeconds()%86400&&(d.selectedObjectiveBusinessDays=d.selectedObjectiveDuration.getSeconds()/86400,d.selectedObjectiveDuration.setSeconds(0)):(0===d.selectedObjectiveDuration.getSeconds()&&d.selectedObjectiveDuration.setSeconds(86400*d.selectedObjectiveBusinessDays),d.selectedObjectiveBusinessDays=0);return w()});O(3,Y2a,2,2,"mat-option",52);E()()()}if(a&2){a=L().$implicit;var c=L(2);z(2);C("ngModel",a.selectedDayType);z(1);C("ngForOf",c.dayTypes)}},c3a=function(a){if(a&
1){var b=t();D(0,"td",59)(1,"span",18)(2,"span",19)(3,"b-icon",60);K("click",function(){v(b);var c=L(3);if(c.openRow)if(c.openRow.isValid())$2a(c.openRow.typePickerValues)&&$2a(c.openRow.priorityPickerValues)&&$2a(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:xp("An SLO rule that matches all issues is not allowed. These rules are considered too broad, and are typically created in error. Some filtering criteria is required to continue."),confirmButtonText:"Ok",
showCancelButton:!1}):a3a(c);else{var d=c.openRow;(2!=d.selectedDayType?0<d.selectedObjectiveDuration.getSeconds():0<d.selectedObjectiveDuration.getSeconds()||0<d.selectedObjectiveBusinessDays)||c.confirmationDialogService.open({title:"SLO validation error",content:xp('An SLO rule must specify a valid duration.\nFor "Calendar" day objectives, the duration must be a positive integer.\nFor "Business" day objectives, a day and/or hour/minute duration must be specified.'),confirmButtonText:"Ok",showCancelButton:!1})}return w()});
E()();D(4,"span",19)(5,"b-icon",61);K("click",function(){v(b);var c=L().$implicit,d=L(2);return w(b3a(d,c))});E()()()()}a&2&&(z(3),C("name","done")("size","small"),z(2),C("name","delete")("size","small"))},d3a=function(a){a&1&&F(0,"td",62)},e3a=function(a){a&1&&(D(0,"div"),P(1),E());a&2&&(a=L(2).$implicit,z(1),Q("ERROR: ",a.parseResult.error,""))},f3a=function(a,b){a&1&&(D(0,"span",68)(1,"span",69),P(2),E()());a&2&&(a=b.$implicit,z(2),Bg(a))},h3a=function(a){a&1&&(D(0,"span",66),O(1,f3a,3,1,"span",
67),E());if(a&2){a=L(2).$implicit;z(1);if(0===a.parseResult.types.length)a=["Any"];else{for(var b=[],c=m(a.controllerReference.sloParseService.jspbTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(g3a(a.controllerReference,d));a=b}C("ngForOf",a)}},i3a=function(a){a&1&&(D(0,"td",63),O(1,e3a,2,1,"div",64),O(2,h3a,2,1,"span",65),E());a&2&&(a=L().$implicit,z(1),C("ngIf",a.parseResult.error),z(1),C("ngIf",!a.parseResult.error))},j3a=function(a){a&1&&(D(0,
"div"),P(1),E());a&2&&(a=L(2).$implicit,z(1),Q("ERROR: ",a.parseResult.error,""))},k3a=function(a,b){a&1&&(D(0,"span",68)(1,"span",69),P(2),E()());a&2&&(a=b.$implicit,z(2),Bg(a))},m3a=function(a){a&1&&(D(0,"span",66),O(1,k3a,3,1,"span",67),E());if(a&2){a=L(2).$implicit;z(1);if(0===a.parseResult.priorities.length)a=["Any"];else{for(var b=[],c=m(a.controllerReference.sloParseService.jspbPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(l3a(a.controllerReference,
d));a=b}C("ngForOf",a)}},n3a=function(a){a&1&&(D(0,"td",70),O(1,j3a,2,1,"div",64),O(2,m3a,2,1,"span",65),E());a&2&&(a=L().$implicit,z(1),C("ngIf",a.parseResult.error),z(1),C("ngIf",!a.parseResult.error))},o3a=function(a){a&1&&(D(0,"div"),P(1),E());a&2&&(a=L(2).$implicit,z(1),Q("ERROR: ",a.parseResult.error,""))},p3a=function(a,b){a&1&&(D(0,"span",68)(1,"span",69),P(2),E()());a&2&&(a=b.$implicit,z(2),Bg(a))},q3a=function(a){a&1&&(D(0,"span",66),O(1,p3a,3,1,"span",67),E());if(a&2){a=L(2).$implicit;
z(1);var b=a.parseResult.postmortemValues.includes("ANY"),c=a.parseResult.postmortemValues.includes("NONE");a=b===c?["Either"]:[a.controllerReference.anyNoneDisplayValues.get(a.parseResult.postmortemValues[0])];C("ngForOf",a)}},r3a=function(a){a&1&&(D(0,"td",71),O(1,o3a,2,1,"div",64),O(2,q3a,2,1,"span",65),E());a&2&&(a=L().$implicit,z(1),C("ngIf",a.parseResult.error),z(1),C("ngIf",!a.parseResult.error))},s3a=function(a){a&1&&(D(0,"td",72),P(1),E());a&2&&(a=L().$implicit,L(2),z(1),a=a.sloElement.getMetric(),
a=0===a?" - ":T2a.get(a),Q(" ",a," "))},t3a=function(a){if(a&1){var b=t();D(0,"td",73)(1,"slo-objective-selector",74);K("objectiveDurationChange",function(c){v(b);var d=L().$implicit;return w(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){v(b);var d=L().$implicit;return w(d.selectedObjectiveBusinessDays=c)});E()()}a&2&&(a=L().$implicit,z(1),C("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",
!a.isEditing_))},u3a=function(a){a&1&&(D(0,"td",75),P(1),E());a&2&&(a=L().$implicit,L(2),z(1),a=a.sloElement.getDayType(),a=X2a.get(a||1),Q(" ",a," "))},w3a=function(a){if(a&1){var b=t();D(0,"b-icon",85);K("click",function(c){v(b);var d=L(2).$implicit,e=L(2);return w(v3a(e,d,c))});E()}a&2&&C("name","edit")("size","small")},x3a=function(a){a&1&&F(0,"b-icon",86);if(a&2){L();var b=N(8);C("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},z3a=function(a){if(a&1){var b=t();D(0,"button",
87);K("click",function(){v(b);var c=L(2).$implicit,d=L(2);return w(y3a(d,c,1))});P(1," Move row down ");E()}},A3a=function(a){if(a&1){var b=t();D(0,"button",88);K("click",function(){v(b);var c=L(2).$implicit,d=L(2);return w(y3a(d,c,-1))});P(1," Move row up ");E()}},C3a=function(a){if(a&1){var b=t();D(0,"td",76)(1,"span",18)(2,"span",19);O(3,w3a,1,2,"b-icon",77);E();D(4,"span",19)(5,"span");O(6,x3a,1,3,"b-icon",78);E();D(7,"mat-menu",null,79);O(9,z3a,2,0,"button",80);O(10,A3a,2,0,"button",81);D(11,
"button",82);K("click",function(){v(b);var d=L().$implicit,e=L(2);L2a(e,e.collection.indexOf(d)+1);return w()});P(12," Add row below ");E();D(13,"button",83);K("click",function(){v(b);var d=L().$implicit,e=L(2);L2a(e,e.collection.indexOf(d));return w()});P(14," Add row above ");E();D(15,"button",84);K("click",function(){v(b);var d=L().$implicit,e=L(2);return w(b3a(e,d))});P(16," Remove ");E()()()()()}if(a&2){a=L().$implicit;var c=L(2);z(3);C("ngIf",a.canEdit);z(3);C("ngIf",a.canEdit);z(3);C("ngIf",
B3a(c,a,1).valid);z(1);C("ngIf",B3a(c,a,-1).valid)}},D3a=function(a,b){a&1&&(D(0,"tr",25),O(1,P2a,1,0,"td",26),O(2,Q2a,2,3,"td",27),O(3,R2a,2,3,"td",28),O(4,S2a,2,3,"td",29),O(5,V2a,4,3,"td",30),O(6,W2a,2,4,"td",31),O(7,Z2a,4,2,"td",32),O(8,c3a,6,4,"td",33),O(9,d3a,1,0,"td",34),O(10,i3a,3,2,"td",35),O(11,n3a,3,2,"td",36),O(12,r3a,3,2,"td",37),O(13,s3a,2,1,"td",38),O(14,t3a,2,4,"td",39),O(15,u3a,2,1,"td",40),O(16,C3a,17,4,"td",41),E());a&2&&(a=b.$implicit,b=L(2),pg("draggable",!b.isDisabled&&null==
b.openRow),z(1),C("ngIf",a.isEditing_),z(1),C("ngIf",a.isEditing_),z(1),C("ngIf",a.isEditing_),z(1),C("ngIf",a.isEditing_),z(1),C("ngIf",a.isEditing_),z(1),C("ngIf",a.isEditing_),z(1),C("ngIf",a.isEditing_),z(1),C("ngIf",a.isEditing_),z(1),C("ngIf",!a.isEditing_),z(1),C("ngIf",!a.isEditing_),z(1),C("ngIf",!a.isEditing_),z(1),C("ngIf",!a.isEditing_),z(1),C("ngIf",!a.isEditing_),z(1),C("ngIf",!a.isEditing_),z(1),C("ngIf",!a.isEditing_),z(1),C("ngIf",!a.isEditing_))},E3a=function(a){if(a&1){var b=t();
D(0,"tbody",23);K("cdkDropListDropped",function(c){v(b);var d=L();return w(d.onDrop(c))});O(1,D3a,17,18,"tr",24);E()}a&2&&(a=L(),C("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),z(1),C("ngForOf",a.collection))},F3a=function(a){a&1&&(D(0,"div",89),P(1," There are currently no rules for this SLO "),E())},G3a=function(a,b){if(a&1){var c=t();D(0,"tr",7);K("click",function(){var e=v(c).$implicit,f=L();return w(f.editSlo(e))})("focus",function(){var e=v(c).index,f=
L();return w(f.setFocusOnIndex(e))});F(1,"td",2);D(2,"td",8)(3,"a",9);K("click",function(e){return e.stopPropagation()});P(4);E()();D(5,"td",10);P(6);E()()}if(a&2){a=b.$implicit;b=b.index;var d=L();pg("grid-focus",d.isFocused(b));dg("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);C("href",d.paths.editSlo(a.getSloId()),ue);z(1);Q(" ",a.getName()," ");z(2);Q(" ",a.getDescription()," ")}},H3a=function(a,b){a&1&&(D(0,"mat-option",6),P(1),E());a&2&&(a=b.$implicit,C("value",a),z(1),
Q(" ",a.label," "))},I3a=function(a){a&1&&(H(0),D(1,"h3"),P(2," View as: "),D(3,"mat-form-field")(4,"mat-select",3)(5,"mat-select-trigger",4),P(6),E(),O(7,H3a,2,2,"mat-option",5),E()()(),I());a&2&&(a=L(),z(4),C("formControl",a.currentSnoozeType),z(2),Q(" ",null==a.currentSnoozeType.value?null:a.currentSnoozeType.value.label," "),z(1),C("ngForOf",a.snoozeTypeChoices))},J3a=function(a){if(a)return(Array.isArray(a)?a.map(function(b){return sj(b)}):[sj(a)]).filter(function(b){return!isNaN(b)})},K3a=function(a,
b){if(b&&!Array.isArray(b))return a.find(function(c){return!Or(c,b)})},L3a=function(a,b){"string"===typeof a&&(a=a.trim())&&b(Oj(a))},M3a=function(a,b){if(!a)return[];a=m("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())L3a(c.value,function(d){return b.push(d)});return tna(b)},Pr=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},Qr=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(Sh(b)))},N3a=function(a,
b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(Sh(b)))},O3a=function(a,b){a.setAttribute("pkd-ps-state",String(Sh("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(Sh("2")))},function(){a.setAttribute("pkd-ps-state",String(Sh("3")))})},S3a=function(a){var b=Uq(P3a,{id:Rr(Q3a)});a.appendChild(b);return new R3a(b)},Sr=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},T3a=function(a){return Array.from(a.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(b){return!("true"===
b.getAttribute("aria-hidden")||b.hasAttribute("disabled")||b.hasAttribute("hidden"))})},Ur=function(a){return new Tr(a)},Vr=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},V3a=function(a,b){return new U3a(a,b)},W3a=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},Y3a=function(a,b,c){return new Wr(new X3a(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},Xr=function(a){if(a=a.getAttribute("pk-log")){var b=m(a.split(";"));a=b.next().value;var c=
b.next().value,d=b.next().value;b=b.next().value;return{id:a,veid:Number(c),action:d.split(","),pairs:b.split(",")}}return null},Yr=function(a,b,c,d){d=void 0===d?[]:d;d=void 0===d?[]:d;b=[Rr(Z3a),b,c.join(","),d.join(",")].join(";");b=Sh(b);a.setAttribute("pk-log",String(b))},a4a=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=$3a.get(a))?void 0:b.get("ENOWEf"),label:"Hide Suggestion",keyboardShortcut:[],veid:127674})},b4a=function(a){return a.map(function(b){if(Zr)switch(b){case 512:return"\u2318";
case 18:return"Option"}switch(b){case 16:return"Shift";case 512:return"Ctrl";case 18:return"Alt";case 191:return"/";case 39:return"\u2006\u279d";default:return String.fromCharCode(b)}})},e4a=function(a,b){var c=Rr($r.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=b4a(a.keyboardShortcut);a:switch(b=b.getDensity(),b){case 0:b="googleMaterialDefaultDensity";break a;case 1:b="workspaceMaterialComfortableDensity";break a;case 2:b="workspaceMaterialCompactDensity";break a;default:throw Error("se`"+
b);}d=Uq(c4a,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&Yr(d,a.veid,["impression","pk-click"]);return new d4a(d,a)},g4a=function(a){var b=new f4a([]);return new as(a,b)},m4a=function(a,b,c,d,e){var f=h4a(c),h=bs(a),l=cs(a);l&&h.intersection(i4a(l));j4a(h,Tq(a),Tq(c));a=k4a(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new ds(b,h.top+(a&1?h.height:0));h=es(h,f);a=k4a(c,d);h=l4a(h,fs(c),a).rect;c=cs(c);c.top-=f.y;c.right-=f.x;c.bottom-=f.y;c.left-=f.x;f=h;f.left<c.left?f.left=
c.left:f.left+f.width>c.right&&(f.left=c.right-f.width);h=f;e&&(e=h,d&1?e.top<c.top&&(d=c.top-e.top,e.top+=d,e.height-=d):(d=e.top+e.height,d>c.bottom&&(e.height-=d-c.bottom)),h=e);return h},p4a=function(a,b){gs(a,new ds(b.left,b.top));b=b.getSize();n4a(fs(a),b)||o4a(a,b)},q4a=function(a,b,c){return new hs(a,b,c)},t4a=function(a,b,c,d){var e=Uq(r4a);Yr(e,28041,["impression"]);var f=new s4a(e);a.appendChild(e);return new is(e,b,c,f,d)},u4a=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";
return a},ks=function(a,b,c,d,e,f){e=void 0===e?new js:e;f=void 0===f?"":f;b=Uq(v4a,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:f||"https://lh3.googleusercontent.com/a/default-user",size:c,preloadSize:d,pixelRatio:w4a()});e=new x4a(b,e);a.appendChild(b);return e},A4a=function(a,b){b=Uq(y4a,{label:b.label});a.appendChild(b);return new z4a(b)},C4a=function(a,b){for(var c=m(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);
(b=B4a.get(b))&&a.classList.add(b)},E4a=function(a,b){var c="",d=0;b=m(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c=c+a.substring(d,e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return D4a(D4a(Dq(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},F4a=function(a){var b=a.getDisplayName();return b?E4a(b,a.getMatchInfo().getDisplayNameMatches()):
""},G4a=function(a){var b=a.getDisplayValue();return b?E4a(b,a.getMatchInfo().getDisplayValueMatches()):""},H4a=function(a,b){var c=b?F4a(a):Dq(a.getDisplayName());b=b?G4a(a):Dq(a.getDisplayValue());c=c||b;b=b||Dq(a.getDescription());var d=a.getPrimaryTarget();return{hovercardId:1===d.getTargetType()||6===d.getTargetType()?a.getDisplayValue():d.getProfileId(),label:c,sublabel:b,photos:[a.getPhotoUrl()]}},K4a=function(a,b,c){var d=b.result();var e=H4a(d,!1),f=b.getDisplayNameWithOverrideApplied();
d=Dq(f)||e.sublabel;var h=e.sublabel;b=e.photos;var l=e.hovercardId;e=ls;f='<div peoplekit-id="'+ms("tJHJj")+'" class="'+ms("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+ms(l)+'" data-name="'+ms(f)+'"><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';l=ls('<div class="'+ms("peoplekitComponentsHideconfirmationdialogImplAvatar")+'"><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+
'" peoplekit-id="'+ms("d6MZcd")+'"></div></div>');f=f+l+'</div><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';d=ls('<div class="'+ms("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+'"><div peoplekit-id="'+ms("E0kCZc")+'" class="'+ms("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+ms("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ns(I4a(d))+"</div>"+(h?'<div class="'+ms("peoplekitComponentsHideconfirmationdialogImplSublabel")+
" "+ms("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ns(I4a(h))+"</div>":"")+"</div>");d=e(f+d+"</div></div></div>");h='<div peoplekit-id="'+ms("bN97Pc")+'" class="'+ms("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';h=h+'Hide Suggestion?</div><div class="'+(ms("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');h=ls(h+"This person will no longer be shown as a suggestion. To see them again, search for them while sharing a photo.</div></div>");
d=Uq(J4a,{content:h,header:d});a.appendChild(d);a=A4a(Sr(d,"IbE0S"),{label:"Cancel"});h=h={confirmButtonText:"Hide"};h=h.confirmButtonText;e="";switch(Ta(h)?h.toString():h){case "Confirm":e+="Confirm";break;case "Hide":e+="Hide";break;case "Show":e+="Show";break;default:e+="Apply"}h=A4a(Sr(d,"McfNlf"),{label:e});C4a(d,c.getTheme());a=new os(d,a,h);d=Sr(a.getRoot(),"d6MZcd");ks(d,b,36,36,c);return new ps(a)},L4a=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("se`"+
a);}},qs=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("se`"+a);}},M4a=function(){var a=void 0===a?10:a;var b="";if(1>a)return b;for(;b.length<a;)b+=Math.random().toString(36).substring(2);return b.length>a?b.substring(0,a):b},N4a=function(a){var b=a.getCaller(),c=a.getClient();a=a.getRequestType();return b&&c&&a?JSON.stringify([b.serialize(),c.serialize(),a]):
null},O4a=function(a){var b=new rs;if(a instanceof ss)switch(b.setErrorType(a.type),a.type){case 2:b.setErrorMessage("Failed to load flags from service");break;case 3:b.setErrorMessage("Failed to retrieve flags from cache");break;case 4:b.setErrorMessage("Operation failed to complete before timeout");break;case 6:b.setErrorMessage("Operation failed because of invalid keys.")}else b.setErrorType(5),b.setErrorMessage(a.message);return b},vs=function(a){a=void 0===a?null:a;var b=(new ts).setExperimentFlags(new us).setSource(3);
a&&b.setError(O4a(a));return b},W4a=function(a){var b=void 0===b?new P4a:b;if(Q4a)return Q4a;var c=new R4a(a),d=new S4a(a);if(b.storage_)try{b.storage_.setItem("__sak","1");b.storage_.removeItem("__sak");var e=!0}catch(f){e=!1}else e=!1;b=e?new ws(a,b):new xs(a);b.clean();c=new T4a(new U4a(b,c),d);return Q4a=new V4a(a,c)},Y4a=function(a,b,c,d){var e=H4a(a,!0);a=X4a(a,e,b,d);b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);
return{id:a.id,hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,photos:a.photos,densityClass:a.densityClass,tags:a.tags,allowSublabelTranslation:d}},X4a=function(a,b,c,d){var e=[];xl(ys.getExperiments(),3,!1)&&c.getWarnForExternalSelections()&&2===a.getPrimaryTarget().getOrgState()&&e.push({iconUrl:"https://www.gstatic.com/people/peoplekit/icons/light_theme/domain_disabled_grey900.svg",altText:"External",style:1});return{id:Rr(Z4a),hovercardId:b.hovercardId,label:b.label,
sublabel:b.sublabel,photos:b.photos,densityClass:d,tags:e,allowSublabelTranslation:!1}},b5a=function(a,b,c){var d="",e=Dq(a.getDescription()),f=!1,h=a.getMemberList().length;if(1<h||a.getDisplayName())d=a.getMemberList().map(function(l){var q="";if(l.getPrimaryTarget().getName()){var u,x;(q=(q=null==(u=l.getPrimaryTarget())?void 0:null==(x=u.getName())?void 0:x.getGivenName())?E4a(q,l.getMatchInfo().getGivenNameMatches()):"")||(q=F4a(l))}q||(q=G4a(l));return q}),b&&(d=d.reverse()),d=F4a(a)||$4a({memberNames:d}),
e||c||null===a.getTotalMemberCount()||(e=Number(a.getTotalMemberCount()),e=a5a({memberCount:e}),f=!0);else if(1===h)return d=a.getMemberList()[0],e=H4a(d,!0),Object.assign({},e,{type:a.getPrimaryTarget().getTargetType(),flatResult:d,allowSublabelTranslation:!1});b=a.getPhotoUrl();b=a.getDisplayName()&&b?[b]:a.getMemberList().map(function(l){return l.getPhotoUrl()});return{hovercardId:"",label:d,sublabel:e,type:a.getPrimaryTarget().getTargetType(),photos:b,allowSublabelTranslation:f}},d5a=function(a,
b,c,d,e,f){a=b5a(a,d,e);if(a.flatResult)return f=X4a(a.flatResult,a,b,f),b=f.sublabel,d=f.allowSublabelTranslation,c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation),{id:f.id,hovercardId:f.hovercardId,label:f.label,sublabel:c.shouldHideSublabel?"":b,photos:f.photos,densityClass:f.densityClass,tags:f.tags,type:a.type,allowSublabelTranslation:d};b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);
return{id:Rr(c5a),hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,type:a.type,photos:a.photos,densityClass:f,tags:[],allowSublabelTranslation:d}},f5a=function(a,b,c,d,e,f){return new e5a(a,b,c,d,e,f)},h5a=function(a,b){return new g5a(a,void 0===b?"":b)},i5a=function(a){var b=-1;(a=zs(a))&&qm(a,2)&&(b=gj(a,2,0));return"index:"+b},o5a=function(a,b){var c=Uq(j5a,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});a.appendChild(c);var d=c.classList,e=d.add;a:{var f=
b.density||0;switch(f){case 0:f="googleMaterialDefaultDensity";break a;case 1:f="workspaceMaterialComfortableDensity";break a;case 2:f="workspaceMaterialCompactDensity";break a;default:throw Error("se`"+f);}}e.call(d,f);if(b.tooltipLabel){e=c.getAttribute("data-tooltip-id")||"";d={label:b.tooltipLabel,ariaLabel:b.ariaLabel};e=Uq(k5a,{label:d.label,id:e,ariaLabel:d.ariaLabel});a.appendChild(e);var h=new l5a(e,d.showDelayMs,d.hideDelayMs);m5a(h,c)}return new n5a(c,b.icon,b.disabledIcon,h,b.disableNavigationFocus,
b.onClick)},q5a=function(a,b,c,d){var e=Object.assign({},c);e.onClick=function(f){d.select(a.getSelection(),1);var h;null==(h=c.onClick)||h.call(c,f)};return new p5a(a,b,e)},r5a=function(a,b){b.resultCustomization.secondaryActionButtonConfig&&(a=q5a(a,b.appearanceConfig,b.resultCustomization.secondaryActionButtonConfig,b.interactions));return a},u5a=function(){return function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomization,h=Y4a(b,d,f,qs(e.getDensity())),
l=Uq(s5a,h);Yr(l,25285,["impression","pk-select","pk-deselect"],[i5a(b.getPrimaryTarget().getLoggingToken())]);var q=Sr(l,"d6MZcd"),u=L4a(e.getDensity()),x;f=null!=(x=f.backupAvatarUrl)?x:"";e=ks(q,h.photos,u,u,e,f);b=new t5a(l,b,c,d,h.tags,e);c=new As(new Bs(b,c));c=r5a(c,a);xl(a.clientConfig.internal,7,!1)&&(c=new Cs(c,a.appearanceConfig,a.clientConfig));return c}},x5a=function(a){return function(b){var c=b.result,d=b.resultConfig,e=b.appearanceConfig,f=b.clientConfig,h=b.resultCustomization;b=
b.isRightToLeft;var l=c.getPrimaryTarget().getId();f=Ds(l)||Es(l)?d5a(c,d,h,b,xl(f.internal,6,!1),qs(e.getDensity())):Y4a(c,d,h,qs(e.getDensity()));b=Object;l=b.assign;a:switch(a){case 1:var q=ls('<div class="'+ms("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+ms(". Already selected")+'">'+ls('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+(ms("peoplekitComponentsResultlistitemDisabledSelectedIcon")+'"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>'))+
"</div>");break a;case 2:q=ls("");break a;default:q='<div class="'+ms("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',q=ls(q+"DISABLED</div>")}b=Uq(v5a,l.call(b,{},f,{disableReason:q}));l=Sr(b,"d6MZcd");q=L4a(e.getDensity());var u;h=null!=(u=h.backupAvatarUrl)?u:"";e=ks(l,f.photos,q,q,e,h);return new w5a(b,c,d,f.tags,e)}},A5a=function(a,b,c,d,e,f,h,l){h=Uq(y5a,{header:h||""});a.appendChild(h);a=S3a(Sr(h,"tjneg"));return{resultList:new z5a(a,b,c,d,e,f,l),list:a}},B5a=function(a,b,c,
d,e,f,h,l){h=Uq(y5a,{header:h||""});a.appendChild(h);a=S3a(Sr(h,"tjneg"));var q=V3a({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{});b=new z5a(a,b,c,d,e,f,l);q.attach(h,b.getNavigatable());return{resultList:b,list:a}},D5a=function(a,b,c,d,e,f,h,l){a=xl(d.internal,7,!1)?B5a(a,b,c,d,e,h,l,f):A5a(a,b,c,d,e,h,l,f);return new C5a(a.resultList,f)},F5a=function(a,b,c,d,e,f,h,l,q){a=A5a(a,b,c,d,e,l,q,f);b=a.resultList;b=new E5a(b,a.list,h);return new C5a(b,f)},H5a=function(a,
b){return new G5a(a,b)},I5a=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},Fs=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},Gs=function(a,b,c,d){var e;d=m(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;try{f(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},J5a=function(a,b,c,d,e){e=m(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,d)},K5a=function(a){var b=
document.createElement("div"),c=a.action,d=a.pairs;if(b){var e="";c&&c.length&&(e="; track:"+c.join(",").trim());c="";d&&d.length&&(c="; "+d.join("; ").trim());b.setAttribute("jslog",a.veid+e+c);b.LSWHIf=void 0}return b},L5a=function(a){return Array.from(a).filter(function(b){return b instanceof Element}).flatMap(function(b){var c=Array.from(b.querySelectorAll("[pk-log]"));b.hasAttribute("pk-log")&&c.push(b);return c})},N5a=function(a){if(M5a.has(a))return M5a.get(a);throw Error("Ee`"+a);},P5a=function(a){if(O5a.has(a))return O5a.get(a);
throw Error("Fe`"+a);},Q5a=function(a){for(var b=new Map,c=m(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},S5a=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?a.parentNode.host:R5a(a):null},T5a=function(a,b){for(a=S5a(a);a&&!b(a);)a=S5a(a)},V5a=function(a,b,c,d,e,f){var h=c.beginSession(function(){},f.sessionOptions||new Hs);return U5a(a,b,c,h,d,e,f)},U5a=function(a,b,c,d,e,f,h){f.internal.getClearcut().setInterfaceType(4);
f.internal.getClearcut().setComponentFlow(7);var l=f.internal,q=e.getEnvironmentConfig(),u=q.experimentsConfig_.getProfileId();if(u)if(l.getExperiments().getIsEnabled()){var x=Ab(W5a||(W5a=X5a('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));x=new Y5a(x,7)}else x=new Is;else x=new Is;l=l.getExperiments();q=x.loadExperiments(l.getApplication(),(new Js).setPeopleApiEnv(q.apiEnv_),u);ys=new Z5a(l,q);q=Uq($5a);a.appendChild(q);C4a(q,e.getTheme());Yr(q,64611,["impression"]);
a=new Ks;u=e.getEntryPoint();u=new a6a(d,a,u);l=f.internal.getClearcut();x=new b6a(l);x=Ls(x);l=l.getInterfaceType();l=new c6a(new d6a(x,l));var y=new e6a(h.intelligence);h=Uq(f6a);q.appendChild(h);x=Uq(g6a);Yr(x,85843,["impression"]);h.appendChild(x);var G=Sr(x,"tjneg");a:{var J=e.getAutocompleteHeader();switch(e.getAutocompleteGroupingType()){case 1:y=F5a(G,e,e,f,a,u,new h6a(e.getAutocompleteGroupingLabel()),y,J);break a;case 2:y=F5a(G,e,e,f,a,u,new i6a(e.getAutocompleteGroupingLabel()),y,J);break a;
case 3:var M=e.getAutocompleteCustomGrouping();y=M?F5a(G,e,e,f,a,u,M,y,J):D5a(G,e,e,f,a,u,y,J);break a;default:y=D5a(G,e,e,f,a,u,y,J)}}G=Sr(G,"rymPhb");b.setAttribute("aria-owns",G.id);b.setAttribute("aria-controls",G.id);G.setAttribute("aria-labelledby",b.id);J=e.getNoResultsMessage();G=Uq(j6a);J?J.display?J=new k6a(G,J):(J=Uq(l6a,J),G.appendChild(J),J=new m6a):J=new n6a;x.appendChild(G);l=new o6a(x,b,y,d,l,e,J);xl(f.internal,7,!1)&&(l=new Ms(l,c,d,f));b=new p6a(h,b,l,a,e);O3a(b.getRoot(),c);c=f.internal.getClearcut();
f=e.getEntryPoint();d=ys.getExperiments();xl(d,2,!1)||xl(c,6,!0)?(d=new Ns,h=zRa(),f=(new q6a).setClientId(c.getClientId()).setApplication(c.getSocialApplicationOrUndefined()).setEntryPoint(f).setVersionName("1.0").setBaselineCl(513929239),f=new Os(d,1394,h,void 0,void 0,void 0,new r6a(f)),f.setClientSideLogOnlyForDevelopment(!c.getEnableClearcut()||!1),c=new s6a,d=ys.getExperimentIds(),c=Lm(c,3,d),f.clearcut_.setClearExperimentIds(c),q.hasAttribute("pk-log")?(c=new t6a(new Ps(q),f),c=new u6a(q,c),
c=new v6a(c)):c=new w6a):c=new w6a;c.start();return new x6a(q,b,a,u,c,e)},z6a=function(a){var b=[],c=a.indexOf("@");0>c?c=a.length-1:1<a.length-c&&(b.push(a.substring(c)),a=a.substring(0,c+1));if("@"===a)return b;b.push(a);y6a.lastIndex=0;for(var d=y6a.exec(a);d&&d.index<c;d=y6a.exec(a))b.push(a.substring(Number(y6a.lastIndex)));return b},D6a=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(A6a)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=m(a);for(var c=a.next();!c.done;c=
a.next()){c=Qs(B6a(c.value)).replace(C6a,"").toUpperCase().toLowerCase();c=m(z6a(c).filter(Boolean));for(var d=c.next();!d.done;d=c.next())b.add(d.value)}var e="";return Array.from(b).sort().reverse().filter(function(f){if(e.startsWith(f))return!1;e=f;return!0})},F6a=function(a){var b;return E6a(function(c){1==c.nextAddress&&(b=0);if(3!=c.nextAddress)return b<a?af(c,b,3):c.jumpTo(0);b++;return c.jumpTo(2)})},G6a=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&Ds(a.id)&&9!==a.id.getType()?
isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},J6a=function(a,b,c){if(Ds(a.id)||Ds(b.id)){var d=H6a.has(a.id.getType()),e=H6a.has(b.id.getType());if(d!==e)return d?-1:1;if(Ds(a.id)&&Ds(b.id))return I6a(a,b,c,!1)}d=G6a(a,c);c=G6a(b,c);(c=d!==c?d>c?-1:1:0)||(c=1===a.dataSource,c=c!==(1===b.dataSource)?c?-1:1:0);c||(a=!!a.isPrimary,c=a!==!!b.isPrimary?a?-1:1:0);return c},I6a=function(a,b,c,d){var e=isFinite(a.itemAffinity)?a.itemAffinity:-Infinity,f=isFinite(b.itemAffinity)?b.itemAffinity:
-Infinity;return e!==f?e>f?-1:1:d?J6a(a,b,c):0},O6a=function(a,b,c){var d=Rs(b.getTargetType(),b.getValue()),e=[].concat(p(b.getProfileIdList().map(K6a)),p(b.getContactIdList().map(L6a)),p(b.getCustomSourceIdList().map(M6a)));N6a.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:b.getContactIdList().length?1:2,isMe:!!b.getIsMe(),isPrimary:a.getTargetList()[0]===b,itemAffinity:a.hasAffinity()?a.getAffinity().getValue():-Infinity,fieldAffinity:b.hasAffinity()?b.getAffinity().getValue():
-Infinity,provenance:c,resultExtendedData:a.hasExtendedData()?a.getExtendedData():void 0,targetData:b,resultData:a}},P6a=function(a){return(a||"").trim()},X6a=function(a){var b=a.resultData,c=a.targetData,d=Q6a(Ss(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&R6a(d,b.getResultType());c.hasValue()&&d.setValue(P6a(c.getValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new S6a).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&
(e=c.getPhoto(),d.setPhoto((new Ts).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(b.hasTotalMemberCount()){var f;a.totalMemberCount=null!=(f=b.getTotalMemberCount())?f:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||"");c.hasOrgState()&&T6a(d,c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&U6a(d,c.getTagList().map(function(h){return V6a(h.altText_).setIconUrl(h.getIconUrl())}));
c.hasExtendedData()&&W6a(d,c.getExtendedData());return d},Z6a=function(a){return a?Y6a.get(a)||0:0},b7a=function(a){switch(a.getValueCase()){case 2:return Us(a.getEmail().getValue()||"");case 3:return a=a.getPhone(),$6a(a.getOriginalValue()||a.getDisplayValue()||Db(a,2)||"");case 4:a=wl(a,Vs,4,Ws);if(a.hasProfileId())return a=a.getProfileId()||"",new Xs(8,Pr(a).toLowerCase(),a);switch(pk(a,Ys)){case 2:return a=a.getEmail()||"",new Xs(6,Pr(a).toLowerCase(),a);case 3:return a7a(a.getPhone()||"")}}return Zs},
c7a=function(a,b){return sl(a,$s,3)&&wk(a,$s,3).getIsPlaceholder()?3:at(b,8)?1:0},d7a=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},e7a=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},f7a=function(a){return!!a&&!!a.getPrimary()},h7a=function(a){var b=a.getDisplayInfo();if(!b)return"";a=[];var c=b.getName();c&&(c.hasValue()?a.push(c.getValue()):(c.hasGivenName()&&a.push(c.getGivenName()),c.hasFamilyName()&&
a.push(c.getFamilyName())));(b=b.getPhoto())&&b.hasUrl()&&a.push(b.getUrl());return a.length?"NameAndPhotoOnly"+g7a(a):""},j7a=function(a){var b=new bt,c=a?2:1;i7a(b.setEventType(4),c).setToken(a);return b},l7a=function(a,b){var c=new ct;c=(new bt).setLookupInfo(c);dt(c.setEventType(6),9).setItemCount(a.length).setQueryScope(k7a.get(b)||0);return c},m7a=function(){var a=new bt;dt(a.setEventType(6),11);return a},n7a=function(){var a=new bt;dt(a.setEventType(6),10);return a},o7a=function(a,b){var c=
new bt;dt(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(k7a.get(b)||0);return c},p7a=function(a){var b=new bt;dt(b.setEventType(6),5).setQueryScope(k7a.get(a)||0);return b},q7a=function(a,b){switch(a){case 8:case 3:case 17:return(new et).setProfileId(b);case 1:case 6:return(new et).setEmail(b);case 7:case 2:return(new et).setPhone(b);default:return null}},t7a=function(a){return((a=fj(a,r7a,2).find(function(b){return 1===Db(b,1)}))?s7a.get(Db(a,2)):0)||0},w7a=function(a,b){b.hasAffinity()&&
a.setFieldLoggingId(u7a(Sba(ft(b.getAffinity(),1))||""));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new S6a).setDisplayName(c.getValue()).setGivenName(c.getGivenName()).setFamilyName(c.getFamilyName()),f=e.setSourceType;a:switch(c.getSourceType()){case 1:c=3;break a;case 2:c=4;break a;default:c=0}d.call(a,f.call(e,c))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new Ts).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(v7a.get(b.getType())||0)))},y7a=function(a,b){if(b.hasProfileId())switch(pk(b,
Ys)){case 2:var c=b.getEmail()||"";return x7a(Ss(a.id).setValue(b.getProfileId()||""),(new gt).setType(1).setValue(c));case 3:return c=b.getPhone()||"",x7a(Ss(a.id).setValue(b.getProfileId()||""),(new gt).setType(2).setValue(c));default:return b=b.getProfileId()||"",Ss(a.id).setValue(b)}switch(pk(b,Ys)){case 2:return b=b.getEmail()||"",x7a(Ss(a.id).setValue(b),(new gt).setType(1).setValue(b));case 3:return b=b.getPhone()||"",x7a(Ss(a.id).setValue(b),(new gt).setType(2).setValue(b));default:return b=
b.getProfileId()||"",Ss(a.id).setValue(b)}},B7a=function(a,b){var c=Q6a(Ss(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&w7a(c,b);a.group&&((b=fj(a.group,z7a,6).find(function(d){return null!=ht(d,1,A7a)}))?c.setValue(ht(b,1,A7a)||""):a.group.hasGroupId()&&c.setValue(a.group.getGroupId()||""));a.targetExtendedData&&(c.extendedData_=a.targetExtendedData);a.target=c},D7a=function(a){return new C7a(a)},G7a=function(a){if(8===a.getTargetType()){var b=a.getOriginatingField();if(b&&
(b=b.getType(),b=E7a.get(b)))return b}return(b=F7a.get(a.getTargetType()))?b:Ds(a.getId())?8:0},I7a=function(a,b,c){var d=new it,e=new jt;Ok(d,jt,2,e);e.setProvenance(b);b=new kt;Ok(d,kt,1,b);k(b,9,1===c);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=8===G7a(a)?8:a.getIsPersonalResult()?4:3;k(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&E7a.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);Ds(a.getId())||b.setName(a.getName()?
a.getName().getDisplayName():null);c=G7a(a);k(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(3===a.getDataSource());8===Db(b,7)&&b.setGroupId(a.getId().getValue());return new H7a(a,d)},K7a=function(a){a=J7a.indexOf(a.provenance);return 0>a?J7a.length:a},L7a=function(a){return a.containerIds&&a.containerIds.some(function(b){return 3===b.getType()})},N7a=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===
c?b:e});return new Wr(new M7a(a,d))},P7a=function(a,b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=m(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),f=d.getPrimaryTarget();d=N7a(d,new O7a(f,e))}return[c,d]})));return a},Q7a=function(a){return 0!==a&&12!==a},S7a=function(){return new R7a(bd.apply(0,arguments))},U7a=function(){return new T7a(bd.apply(0,
arguments))},W7a=function(){var a=bd.apply(0,arguments);return 1===a.length?a[0]:new V7a(a)},X7a=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},b):c(a)})},Y7a=function(a,b,c){b=X7a(b,c);return Promise.race([a,b])},Z7a=function(a,b){var c=0;return function(d){if(!a.isCancelled()){var e=d.getMetadata();e.setCallbackNumber(c);e.setIsFirstCallback(!c);a.isDone()&&e.setIsLastCallback(!0);if(d.getResults().length||e.getIsLastCallback()||0!==e.getCode())c++,b(d)}}},b8a=
function(a,b,c,d){b=$7a(a,b).map(function(e){var f=m(e);e=f.next().value;f=f.next().value;return new lt(e,f)});c=$7a(a,c).map(function(e){var f=m(e);e=f.next().value;f=f.next().value;return new lt(e,f)});a=$7a(a,d).map(function(e){var f=m(e);e=f.next().value;f=f.next().value;return new lt(e,f)});return new a8a(b,c,a)},c8a=function(a){switch(a.getType()){case 1:case 6:return 1;case 2:case 7:return 2;case 17:case 3:case 8:return 3;default:return 0}},d8a=function(a){return a.reduce(function(b,c){var d=
c8a(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},e8a=function(a,b){b=void 0===b?new mt:b;var c=new Map;a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=m(d.data.keys()),f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.data.get(f))}return{data:c,metadata:b}},g8a=function(a){return!a||a instanceof f8a?a:new f8a(a)},i8a=function(a){return h8a.get(a)||0},k8a=function(a,b){var c=j8a(nt(new ot,"PeopleStore").setLogSource(bk(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(513929239).setEnableClearcut(a.getEnableClearcut()),
[].concat(p(b.getExperiments().getExperimentIdsList()),p(pt?pt.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());(a=fj(a,qt,5).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(rt(a,4));return c},l8a=function(a){return(sl(a,st,12)?wk(wk(a,st,12),qt,2):a.getSources())||new qt},m8a=function(a){return(sl(a,st,12)?wk(wk(a,st,12),qt,3):a.getSources())||new qt},n8a=function(a,b){return a.reduce(function(c,d){var e=b(d);c.has(e)||c.set(e,
[]);c.get(e).push(d);return c},new Map)},o8a=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return Tk(a,3,0)+":"+Tk(a,4,0)+":"+Tk(a,5,0)+":"+a.getInstanceId()},p8a=function(a){return sl(a,jt,2)?zs(a).getContext()||0:0},q8a=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?Tk(d,3,0)+"-"+Tk(d,4,0)+"-"+Tk(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},tt=function(a,
b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!xl(h,4,!1)});if(d){d=m(a);for(var e=d.next();!e.done;e=d.next())k(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=m(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=q8a(a);c=[];a=m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var f=new r8a;f.setSessionState(e);f.setEventType(b);Sb(f,3,d);s8a(f,e.getSources());
c.push(f)}return c},t8a=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new ut},u8a=function(a){a&1&&(D(0,"a",3),P(1),R(2,"async"),E());if(a&2){a=L();var b;C("href",a.manageComponentLink,ue);z(1);Bg(null==(b=S(2,2,a.component$))?null:b.name)}},v8a=function(a){a&1&&(D(0,"output"),P(1),E());a&2&&(a=L(),z(1),Bg(a.componentId))},w8a=function(a){a&1&&(D(0,"li")(1,"label"),P(2,"Component"),E(),F(3,"b-async-component",6),E());a&2&&(a=
L(2),z(3),C("componentId",a.issueComponentId))},x8a=function(a){a&1&&(D(0,"li")(1,"label"),P(2,"Team"),E(),F(3,"b-team-display",7),E());a&2&&(a=L(2),z(3),C("teamId",a.issueTeamId))},y8a=function(a){a&1&&(D(0,"ol",3)(1,"li")(2,"label"),P(3,"ID"),E(),D(4,"output"),P(5),E()(),D(6,"li")(7,"label"),P(8,"Type"),E(),D(9,"output"),P(10),E()(),D(11,"li")(12,"label"),P(13,"Priority"),E(),F(14,"b-issue-priority-display",4),E(),D(15,"li")(16,"label"),P(17,"Severity"),E(),D(18,"output"),P(19),E()(),D(20,"li")(21,
"label"),P(22,"Status"),E(),D(23,"output"),P(24),E()(),D(25,"li")(26,"label"),P(27,"Last modified"),E(),D(28,"output"),P(29),R(30,"date"),E()(),O(31,w8a,4,1,"li",5),O(32,x8a,4,1,"li",5),E());a&2&&(a=L(),z(5),Bg(a.issueId),z(5),Bg(a.issueType),z(4),C("issuePriority",a.issuePriority),z(5),Bg(a.issueSeverity),z(5),Bg(a.issueStatus),z(5),Bg(Jg(30,8,a.issueLastModified,"medium")),z(2),C("ngIf",a.issueComponentId),z(1),C("ngIf",a.issueTeamId))},z8a=function(a){return a.startsWith('"')&&a.endsWith('"')||
a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},A8a=function(a){a.label||(a=nj(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},C8a=function(a){return{type:B8a[a.getType()],value:a.getValue()}},E8a=function(a){var b,c;return{type:D8a[a.getType()],values:(null!=(b=a.getValuesList())?b:[]).map(E8a),simpleValues:(null!=(c=fj(a,F8a,3))?c:[]).map(C8a)}},J8a=function(a){var b,c=G8a[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(E8a);b=xl(a,3);if(a.hasLabel()){var e=
a.getLabel();e={field:H8a[e.getField()],customFieldId:Number(e.getCustomFieldId())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:I8a[bk(a,5,0)]}},O8a=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:lk(wl(a,K8a,2,L8a),1)},queryBuilderResponse:void 0};case 1:a=wl(a,vt,1,L8a);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:M8a[a.getType()],expressions:(null!=(b=fj(a,N8a,2))?b:[]).map(J8a)}};default:return{syntaxErrorResponse:void 0,
queryBuilderResponse:void 0}}},P8a=function(a){a&1&&(D(0,"span",11),P(1," > "),E())},R8a=function(a,b){if(a&1){var c=t();D(0,"span")(1,"a",9);K("click",function(d){var e=v(c).$implicit,f=L(2);e=new wt(e.pathIds,e.pathNames);f.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();Q8a(f.autocompleteTrigger);return w()});P(2);E();O(3,P8a,2,0,"span",10);E()}a&2&&(a=b.$implicit,b=b.last,z(1),C("matTooltip",a.pathNameText),z(1),Bg(a.name),z(1),C("ngIf",!b))},S8a=function(a,b){a&1&&(D(0,"mat-option",
6)(1,"div"),O(2,R8a,4,3,"span",7),E(),D(3,"span",8),P(4),R(5,"slice"),E()());a&2&&(a=b.$implicit,C("value",a),z(2),C("ngForOf",a.teamPath),z(1),C("matTooltip",a.description),z(1),Q("",Kg(5,4,a.description,0,100)," "))},T8a=function(a){return a.getTeamSuggestionsList().map(function(b){return new wt(b.getPathIdsList(),b.getPathNamesList(),b.getDescription())})},U8a=function(a,b){a&1&&(D(0,"mat-option",5)(1,"div",6),P(2),E()());a&2&&(a=b.$implicit,C("value",a),z(2),Q(" ",a.name," "))},V8a=function(a,
b){a&1&&(D(0,"mat-option",13),P(1),E());a&2&&(a=b.$implicit,C("value",a.key),z(1),Q(" ",a.value," "))},W8a=function(a){if(a&1){var b=t();D(0,"mat-form-field",10)(1,"mat-select",11);K("ngModelChange",function(c){v(b);var d=L(2);return w(d.expressionType=c)});O(2,V8a,2,2,"mat-option",12);R(3,"keyvalue");E()()}a&2&&(a=L(2),z(1),C("ngModel",a.expressionType),z(1),C("ngForOf",S(3,2,a.globalTypeLabels)))},X8a=function(a,b){a&1&&(D(0,"mat-option",13),P(1),E());a&2&&(a=b.$implicit,C("value",a[0]),z(1),Q(" ",
a[1]," "))},Y8a=function(a,b){a&1&&(D(0,"mat-option",13),P(1),E());if(a&2){a=b.$implicit;b=L(2).$implicit;var c=L(2);C("value",a);z(1);Q(" ",c.getTypeLabel(b,a)," ")}},Z8a=function(a){if(a&1){var b=t();D(0,"mat-form-field",10)(1,"mat-select",21);K("ngModelChange",function(c){v(b);var d=L().$implicit;return w(d.type=c)});O(2,Y8a,2,2,"mat-option",12);E()()}a&2&&(a=L().$implicit,z(1),C("ngModel",a.type),z(1),C("ngForOf",a.getLegalTypes()))},$8a=function(a,b){if(a&1){var c=t();D(0,"div",28)(1,"mat-checkbox",
29);K("change",function(d){var e=v(c).$implicit,f=L(3).$implicit;return w(f.enumValues[e.id]=d.checked)});P(2);E()()}a&2&&(a=b.$implicit,b=L(3).$implicit,z(1),C("checked",b.enumValues[a.id]),z(1),Q(" ",a.label||a.id," "))},a9a=function(a){a&1&&(D(0,"div",26),O(1,$8a,3,2,"div",27),E());a&2&&(a=L(2).$implicit,z(1),C("ngForOf",a.getOptions()))},b9a=function(a){if(a&1){var b=t();D(0,"div")(1,"input",30);K("ngModelChange",function(c){v(b);var d=L(3).$implicit;return w(d.csv=c)});E()()}a&2&&(a=L(3).$implicit,
z(1),C("ngModel",a.csv)("bContactAutocomplete","MULTI"))},c9a=function(a){if(a&1){var b=t();D(0,"div",22)(1,"input",31);K("ngModelChange",function(c){v(b);var d=L(3).$implicit;return w(d.csv=c)});E()()}a&2&&(a=L(3).$implicit,z(1),C("ngModel",a.csv))},d9a=function(a){if(a&1){var b=t();D(0,"div",22)(1,"input",32);K("ngModelChange",function(c){v(b);var d=L(3).$implicit;return w(d.csv=c)});E()()}a&2&&(a=L(3).$implicit,z(1),C("ngModel",a.csv))},e9a=function(a){if(a&1){var b=t();D(0,"div",22)(1,"input",
33);K("ngModelChange",function(c){v(b);var d=L(3).$implicit;return w(d.csv=c)});E()()}a&2&&(a=L(3).$implicit,z(1),C("ngModel",a.csv))},f9a=function(a){a&1&&(D(0,"div"),O(1,b9a,2,2,"div",24),O(2,c9a,2,1,"div",18),O(3,d9a,2,1,"div",18),O(4,e9a,2,1,"div",18),E());a&2&&(a=L(2).$implicit,z(1),C("ngIf","user"==a.getWidgetType()),z(1),C("ngIf","csv"==a.getWidgetType()),z(1),C("ngIf","id"==a.getWidgetType()),z(1),C("ngIf","number"==a.getWidgetType()))},g9a=function(a,b){if(a&1){var c=t();D(0,"div",37)(1,
"div",38)(2,"input",33);K("ngModelChange",function(d){var e=v(c).$implicit;return w(e.value=d)});E()();D(3,"button",39);K("click",function(){var d=v(c).$implicit,e=L(3).$implicit,f=L(2);return w(xt(f,e,d))});E()()}a&2&&(a=b.$implicit,z(2),C("ngModel",a.value))},h9a=function(a){if(a&1){var b=t();D(0,"button",40);K("click",function(){v(b);var c=L(3).$implicit,d=L(2);return w(yt(d,c))});P(1);E()}a&2&&(a=L(3).$implicit,z(1),Q(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},i9a=function(a){a&1&&(D(0,
"div",34),O(1,g9a,4,1,"div",35),O(2,h9a,2,1,"button",36),E());a&2&&(a=L(2).$implicit,z(1),C("ngForOf",a.values),z(1),C("ngIf",a.type))},k9a=function(a){if(a&1){var b=t();D(0,"div",49);K("click",function(){v(b);var d=L(2).$implicit,e=L(5);return w(j9a(e,d))});R(1,"componentPath");D(2,"span",50);P(3);R(4,"componentPath");E()()}if(a&2){a=L(2).$implicit;var c=L(5);C("title",S(1,2,c.components[a.value]));z(3);Q(" ",S(4,4,c.components[a.value])," ")}},l9a=function(a){if(a&1){var b=t();D(0,"div",38)(1,"b-team-component-picker",
51);K("selectedComponentChange",function(c){v(b);var d=L(7);d.componentUnderEdit=null!==c&&void 0!==c?c:null;d.componentUnderEdit&&(d.chipUnderEdit.value=d.componentUnderEdit.componentId,d.components[d.componentUnderEdit.componentId]=d.componentUnderEdit);d.componentUnderEdit=null;zt(d);return w()});E()()}a&2&&(a=L(7),z(1),C("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},m9a=function(a){if(a&1){var b=t();D(0,"div",43);O(1,k9a,5,6,"div",44);O(2,l9a,2,
3,"div",45);D(3,"button",46);K("click",function(){v(b);var d=L().$implicit;L(5);d.includeSubs=!d.includeSubs;return w()});F(4,"mat-icon",47);E();D(5,"button",48);K("click",function(){v(b);var d=L().$implicit,e=L(3).$implicit,f=L(2);return w(xt(f,e,d))});E()()}if(a&2){a=L().$implicit;var c=L(5);z(1);C("ngIf",c.chipUnderEdit!==a);z(1);C("ngIf",c.chipUnderEdit===a);z(1);C("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");dg("aria-checked",a.includeSubs);z(1);C("svgIcon",
a.includeSubs?"child-components-24px":"child-components-hide-24px")}},n9a=function(a,b){a&1&&(H(0),O(1,m9a,6,5,"div",42),I());a&2&&(a=b.$implicit,b=L(5),z(1),C("ngIf",b.chipUnderEdit===a||a.value))},o9a=function(a){if(a&1){var b=t();D(0,"button",40);K("click",function(){v(b);var c=L(3).$implicit,d=L(2);return w(yt(d,c))});P(1);E()}a&2&&(a=L(3).$implicit,z(1),Q(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},p9a=function(a){a&1&&(D(0,"div",34),O(1,n9a,2,1,"ng-container",41),O(2,o9a,2,1,"button",
36),E());a&2&&(a=L(2).$implicit,z(1),C("ngForOf",a.values),z(1),C("ngIf",a.type))},r9a=function(a){if(a&1){var b=t();D(0,"div",49);K("click",function(){v(b);var d=L(2).$implicit,e=L(5);return w(q9a(e,d))});D(1,"span",50);P(2);E()()}if(a&2){a=L(2).$implicit;var c=L(5);C("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);z(2);Q(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},s9a=function(a){if(a&1){var b=t();D(0,"div",38)(1,"b-tracker-picker",54);K("onTrackerSelect",
function(c){v(b);var d=L(7);Lp(d.analytics,Mp.SEARCH,"builder-autocomplete-select","tracker",isNaN(Number(c.trackerId))?0:Number(c.trackerId));d.chipUnderEdit.value=c.trackerId;d.trackers[c.trackerId]=c;d.trackerUnderEdit=null;zt(d);return w()});E()()}a&2&&(a=L(7),z(1),C("selectedTracker",a.trackerUnderEdit))},t9a=function(a){if(a&1){var b=t();D(0,"div",53);O(1,r9a,3,2,"div",44);O(2,s9a,2,1,"div",45);D(3,"button",48);K("click",function(){v(b);var d=L().$implicit,e=L(3).$implicit,f=L(2);return w(xt(f,
e,d))});E()()}if(a&2){a=L().$implicit;var c=L(5);z(1);C("ngIf",c.chipUnderEdit!==a);z(1);C("ngIf",c.chipUnderEdit===a)}},u9a=function(a,b){a&1&&(H(0),O(1,t9a,4,2,"div",52),I());a&2&&(a=b.$implicit,b=L(5),z(1),C("ngIf",b.chipUnderEdit===a||a.value))},v9a=function(a){if(a&1){var b=t();D(0,"button",40);K("click",function(){v(b);var c=L(3).$implicit,d=L(2);return w(yt(d,c))});P(1);E()}a&2&&(a=L(3).$implicit,z(1),Q(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},w9a=function(a){a&1&&(D(0,"div",34),
O(1,u9a,2,1,"ng-container",41),O(2,v9a,2,1,"button",36),E());a&2&&(a=L(2).$implicit,z(1),C("ngForOf",a.values),z(1),C("ngIf",a.type))},y9a=function(a){if(a&1){var b=t();D(0,"div",49);K("click",function(){v(b);var d=L(2).$implicit,e=L(6);return w(x9a(e,d))});R(1,"teamPath");D(2,"span",50);P(3);R(4,"teamPath");E()()}if(a&2){a=L(2).$implicit;var c=L(6);C("title",S(1,2,c.teams[a.value]));z(3);Q(" ",S(4,4,c.teams[a.value])," ")}},A9a=function(a){if(a&1){var b=t();D(0,"div",38)(1,"b-team-picker",58);K("onTeamSelect",
function(c){v(b);var d=L(8);return w(z9a(d,c))});E()()}a&2&&(a=L(8),z(1),C("teamSelected",a.teamUnderEdit))},B9a=function(a){if(a&1){var b=t();D(0,"div",56);O(1,y9a,5,6,"div",44);O(2,A9a,2,1,"div",45);D(3,"button",57);K("click",function(){v(b);var d=L().$implicit;L(6);d.includeSubs=!d.includeSubs;return w()});F(4,"mat-icon",47);E();D(5,"button",48);K("click",function(){v(b);var d=L().$implicit,e=L(4).$implicit,f=L(2);return w(xt(f,e,d))});E()()}if(a&2){a=L().$implicit;var c=L(6);z(1);C("ngIf",c.chipUnderEdit!==
a);z(1);C("ngIf",c.chipUnderEdit===a);z(1);C("title",a.includeSubs?"Subteams are included":"Subteams are not included");dg("aria-checked",a.includeSubs);z(1);C("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},C9a=function(a,b){a&1&&(H(0),O(1,B9a,6,5,"div",55),I());a&2&&(a=b.$implicit,b=L(6),z(1),C("ngIf",b.chipUnderEdit===a||a.value))},D9a=function(a){if(a&1){var b=t();D(0,"button",40);K("click",function(){v(b);var c=L(4).$implicit,d=L(2);return w(yt(d,c))});P(1);E()}a&2&&(a=
L(4).$implicit,z(1),Q(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},E9a=function(a){a&1&&(H(0),O(1,C9a,2,1,"ng-container",41),O(2,D9a,2,1,"button",36),I());a&2&&(a=L(3).$implicit,z(1),C("ngForOf",a.values),z(1),C("ngIf",a.type))},F9a=function(a){a&1&&(D(0,"div",34),O(1,E9a,3,2,"ng-container",24),E());a&2&&(a=L(4),z(1),C("ngIf",a.sessionIsInternal))},H9a=function(a){if(a&1){var b=t();D(0,"div")(1,"bv2-input-date-picker",59);K("boundValueChange",function(c){v(b);L(3).$implicit.dateFrom=G9a(c);
return w()});E();P(2," and ");D(3,"bv2-input-date-picker",59);K("boundValueChange",function(c){v(b);L(3).$implicit.dateTo=G9a(c);return w()});E()()}a&2&&(a=L(3).$implicit,z(1),C("boundValue",a.dateFrom)("isRequired",!0),z(2),C("boundValue",a.dateTo)("isRequired",!0))},I9a=function(a){if(a&1){var b=t();D(0,"div");P(1," the last ");D(2,"input",60);K("ngModelChange",function(c){v(b);var d=L(3).$implicit;return w(d.duration=c)});E();P(3," days. ");E()}a&2&&(a=L(3).$implicit,z(2),C("ngModel",a.duration))},
J9a=function(a){if(a&1){var b=t();D(0,"div")(1,"bv2-input-date-picker",59);K("boundValueChange",function(c){v(b);L(3).$implicit.dateFrom=G9a(c);return w()});E()()}a&2&&(a=L(3).$implicit,z(1),C("boundValue",a.dateFrom)("isRequired",!0))},K9a=function(a){a&1&&(D(0,"div"),O(1,H9a,4,4,"div",24),O(2,I9a,4,1,"div",24),O(3,J9a,2,2,"div",24),E());a&2&&(a=L(2).$implicit,z(1),C("ngIf","RANGE"==a.type||"NRANGE"==a.type),z(1),C("ngIf","DURATION"==a.type||"NDURATION"==a.type),z(1),C("ngIf","LE"==a.type||"LT"==
a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},L9a=function(a){if(a&1){var b=t();D(0,"div",49);K("click",function(){v(b);var d=L(2).$implicit,e=L(5);return w(At(e,d))});D(1,"span",50);P(2);E()()}if(a&2){a=L(2).$implicit;var c=L(5);C("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);z(2);Q(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value," ")}},M9a=function(a,b){a&1&&(D(0,"mat-option",13),P(1),E());a&2&&(a=b.$implicit,C("value",a.hotlistId),z(1),
Q(" ",a.name," "))},N9a=function(a){if(a&1){var b=t();D(0,"mat-form-field",64)(1,"mat-select",65);K("ngModelChange",function(d){v(b);var e=L(2).$implicit;return w(e.value=d)})("selectionChange",function(){v(b);var d=L(7);return w(zt(d))});O(2,M9a,2,2,"mat-option",12);E()()}if(a&2){a=L(2).$implicit;var c=L(5);z(1);C("ngModel",a.value);z(1);C("ngForOf",c.userHotlists)}},O9a=function(a){if(a&1){var b=t();D(0,"div",62);O(1,L9a,3,2,"div",44);O(2,N9a,3,2,"mat-form-field",63);D(3,"button",48);K("click",
function(){v(b);var d=L().$implicit,e=L(3).$implicit,f=L(2);return w(xt(f,e,d))});E()()}if(a&2){a=L().$implicit;var c=L(5);z(1);C("ngIf",c.chipUnderEdit!==a);z(1);C("ngIf",c.chipUnderEdit===a)}},P9a=function(a,b){a&1&&(H(0),O(1,O9a,4,2,"div",61),I());a&2&&(a=b.$implicit,b=L(5),z(1),C("ngIf",b.chipUnderEdit===a||a.value))},Q9a=function(a){if(a&1){var b=t();D(0,"button",40);K("click",function(){v(b);var c=L(3).$implicit,d=L(2);return w(yt(d,c))});P(1);E()}a&2&&(a=L(3).$implicit,z(1),Q(" + ","OR"==a.type||
"NAND"==a.type?"OR":"AND"," "))},R9a=function(a){a&1&&(D(0,"div",34),O(1,P9a,2,1,"ng-container",41),O(2,Q9a,2,1,"button",36),E());a&2&&(a=L(2).$implicit,z(1),C("ngForOf",a.values),z(1),C("ngIf",a.type))},S9a=function(a){if(a&1){var b=t();D(0,"div",49);K("click",function(){v(b);var d=L(2).$implicit,e=L(5);return w(At(e,d))});D(1,"span",50);P(2);E()()}if(a&2){a=L(2).$implicit;var c=L(5);C("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);z(2);Q(" ",(null==c.savedSearches[a.value]?
null:c.savedSearches[a.value].name)||a.value," ")}},T9a=function(a,b){a&1&&(D(0,"mat-option",13),P(1),E());a&2&&(a=b.$implicit,C("value",a.searchId),z(1),Q(" ",a.name," "))},U9a=function(a){if(a&1){var b=t();D(0,"mat-form-field",64)(1,"mat-select",66);K("ngModelChange",function(d){v(b);var e=L(2).$implicit;return w(e.value=d)})("selectionChange",function(){v(b);var d=L(7);return w(zt(d))});O(2,T9a,2,2,"mat-option",12);E()()}if(a&2){a=L(2).$implicit;var c=L(5);z(1);C("ngModel",a.value);z(1);C("ngForOf",
c.userSavedSearches)}},V9a=function(a){if(a&1){var b=t();D(0,"div",62);O(1,S9a,3,2,"div",44);O(2,U9a,3,2,"mat-form-field",63);D(3,"button",48);K("click",function(){v(b);var d=L().$implicit,e=L(3).$implicit,f=L(2);return w(xt(f,e,d))});E()()}if(a&2){a=L().$implicit;var c=L(5);z(1);C("ngIf",c.chipUnderEdit!==a);z(1);C("ngIf",c.chipUnderEdit===a)}},W9a=function(a,b){a&1&&(H(0),O(1,V9a,4,2,"div",61),I());a&2&&(a=b.$implicit,b=L(5),z(1),C("ngIf",b.chipUnderEdit===a||a.value))},X9a=function(a){if(a&1){var b=
t();D(0,"button",40);K("click",function(){v(b);var c=L(3).$implicit,d=L(2);return w(yt(d,c))});P(1);E()}a&2&&(a=L(3).$implicit,z(1),Q(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Y9a=function(a){a&1&&(D(0,"div",34),O(1,W9a,2,1,"ng-container",41),O(2,X9a,2,1,"button",36),E());a&2&&(a=L(2).$implicit,z(1),C("ngForOf",a.values),z(1),C("ngIf",a.type))},Z9a=function(a){a&1&&(D(0,"div",22),O(1,a9a,2,1,"div",23),O(2,f9a,5,4,"div",24),O(3,i9a,3,2,"div",25),O(4,p9a,3,2,"div",25),O(5,w9a,3,2,"div",25),
O(6,F9a,2,1,"div",25),O(7,K9a,4,3,"div",24),O(8,R9a,3,2,"div",25),O(9,Y9a,3,2,"div",25),E());if(a&2){a=L().$implicit;var b=L(2);z(1);C("ngIf","enum"===a.getWidgetType());z(1);C("ngIf",a instanceof Bt);z(1);C("ngIf","text"==a.getWidgetType());z(1);C("ngIf","component"==a.getWidgetType());z(1);C("ngIf",b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());z(1);C("ngIf","team"==a.getWidgetType());z(1);C("ngIf","date"===a.getWidgetType());z(1);C("ngIf","hotlist"==a.getWidgetType());z(1);C("ngIf","savedsearch"==
a.getWidgetType())}},$9a=function(a){a&1&&(D(0,"div",67),P(1),E());if(a&2){a=L().$implicit;var b=L(2);z(1);Q(" ",b.getCustomFieldName(a)," ")}},c$a=function(a){if(a&1){var b=t();D(0,"div",68)(1,"b-custom-field-picker",69);K("fieldSelected",function(c){v(b);var d=L().index,e=L(2),f=c.customFieldId;e.customFields[f]=c;e.expressions[d]=a$a(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);b$a(e,e.expressions[d]);return w()});E()()}},e$a=function(a,b){if(a&1){var c=t();D(0,"div",14)(1,"div",15)(2,
"mat-form-field",10)(3,"mat-select",16);K("ngModelChange",function(d){var e=v(c).$implicit;return w(e.label.field=d)})("selectionChange",function(){var d=v(c).index,e=L(2);return w(d$a(e,d))});O(4,X8a,2,2,"mat-option",12);E()();O(5,Z8a,3,2,"mat-form-field",3);E();D(6,"button",17);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.removeExpression(d))});E();O(7,Z9a,10,9,"div",18);O(8,$9a,2,1,"div",19);O(9,c$a,2,0,"div",20);E()}a&2&&(a=b.$implicit,b=L(2),z(3),C("ngModel",a.label.field),z(1),
C("ngForOf",b.availableLabels),z(1),C("ngIf",!a.isPendingCustomField),z(2),C("ngIf",!a.isPendingCustomField),z(1),C("ngIf",a.label.customFieldId),z(1),C("ngIf",a.isPendingCustomField))},f$a=function(a,b){if(a&1){var c=t();D(0,"button",70);K("click",function(){var d=v(c).$implicit,e=L(2);e.expressions.push({label:{field:d[0]}});d$a(e,e.expressions.length-1);return w()});P(1);E()}a&2&&(a=b.$implicit,z(1),Q(" ",a[1]," "))},g$a=function(a){a&1&&(D(0,"div",1)(1,"span",2),P(2,"Advanced search query builder"),
E(),O(3,W8a,4,4,"mat-form-field",3),O(4,e$a,10,6,"div",4),D(5,"div",5)(6,"button",6),P(7),E(),D(8,"mat-menu",7,8),O(10,f$a,2,1,"button",9),E()()());if(a&2){var b=N(9);a=L();z(3);C("ngIf",a.expressions.length);z(1);C("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);z(2);C("matMenuTriggerFor",b);z(1);Q(" ",a.expressionType," ... ");z(3);C("ngForOf",a.availableLabels)}},h$a=function(a){a&1&&F(0,"div",3)},i$a=function(a){a&1&&F(0,"div",4)},k$a=function(a){if(a&1){var b=t();D(0,"button",2);K("click",
function(){v(b);var c=L();return w(j$a(c))});F(1,"mat-icon",3);P(2);E()}a&2&&(a=L(),C("matTooltip","Open release notes"),z(1),C("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),z(1),Q(" ",a.buttonLabel," "))},l$a=function(a){if(a&1){var b=t();D(0,"button",4);K("click",function(){v(b);var c=L();return w(j$a(c))});P(1);E()}a&2&&(a=L(),z(1),Q(" ",a.buttonLabel," "))},m$a=function(a){if(a&1){var b=t();D(0,"button",9);K("click",function(c){v(b);var d=L();return w(d.manageSlos(c))});
P(1,"Manage SLOs");E()}},n$a=function(a){a&1&&(D(0,"a",13),P(1,"Early Access "),F(2,"b-feature-stage-label",14),E())},o$a=function(a){a&1&&(H(0),F(1,"mat-divider")(2,"b-whats-new-button",15),I());a&2&&(z(2),C("menuMode",!0))},p$a=function(a){a&1&&F(0,"b-whats-new-button",4);a&2&&(a=L(),C("alertMode",a.majorReleaseNotesUpdated))},q$a=function(a){if(a&1){var b=t();D(0,"button",5);K("click",function(){v(b);L().userFeedback.startFeedback();return w()});F(1,"mat-icon",6);E()}},r$a=function(a,b){if(a&1){var c=
t();D(0,"button",6);K("click",function(){var d=v(c).$implicit,e=L();e.currentTracker.setTrackerId(d.trackerId);e.appSearchState.searchTriggered$.next("switch-trackers");return w()});F(1,"img",7);D(2,"span",8);P(3);E()()}a&2&&(a=b.$implicit,C("value",a.trackerId),dg("title",a.name),z(1),C("src",null==a.branding?null:a.branding.logoUrl,ue),z(2),Bg(a.name))},s$a=function(a){if(a&1){var b=t();D(0,"button",5);K("click",function(){v(b);var c=L();return w(c.clickMenu.emit())});F(1,"mat-icon",6);E()}},v$a=
function(a,b){a&1&&(D(0,"output",7),P(1),E());a&2&&(a=b.$implicit,C("ngClass",a.color?Gg(2,t$a,a.color):Fg(4,u$a)),z(1),Bg(a.name))},w$a=function(a){a&1&&F(0,"tracker-switcher",2);a&2&&(a=L(),C("associatedTrackers",a.associatedTrackers))},x$a=function(a){a&1&&(D(0,"span"),P(1," Currently selected hotlist: "),D(2,"strong"),P(3),E()());a&2&&(a=L(3),z(3),Bg(a.header.hotlist.name))},y$a=function(a){a&1&&P(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},z$a=function(a){a&
1&&(H(0),O(1,x$a,4,1,"span",5),O(2,y$a,1,0,"ng-template",null,6,$g),I());if(a&2){var b=N(3);a=L(2);z(1);C("ngIf",a.header.hotlist)("ngIfElse",b)}},A$a=function(a){a&1&&(D(0,"span"),P(1,"Currently selected saved search: "),D(2,"strong"),P(3),E()());a&2&&(a=L(3),z(3),Bg(a.header.savedSearch.name))},B$a=function(a){a&1&&P(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},C$a=function(a){a&1&&(H(0),O(1,A$a,4,1,"span",5),O(2,B$a,1,0,"ng-template",null,7,$g),I());if(a&
2){var b=N(3);a=L(2);z(1);C("ngIf",a.header.savedSearch)("ngIfElse",b)}},D$a=function(a){a&1&&(D(0,"span"),P(1," and "),D(2,"strong"),P(3,"subcomponents"),E()())},E$a=function(a){a&1&&(D(0,"span"),P(1," Currently selected component: "),D(2,"strong",9),P(3),E(),F(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),O(6,D$a,4,0,"span",4),E());if(a&2){a=L(3);z(3);var b=a.header.component;Bg(b.componentPathInfo&&b.componentPathInfo.componentPathName?b.componentPathInfo.componentPathName.join(" > "):
b.name);z(1);C("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);z(1);C("trackerId",a.header.component.trackerId);z(1);C("ngIf",a.header.includeChildren)}},F$a=function(a){a&1&&P(0," Start typing a component name or ID to see auto-complete suggestions. ")},G$a=function(a){a&1&&(H(0),O(1,E$a,7,4,"span",5),O(2,F$a,1,0,"ng-template",null,8,$g),I());if(a&2){var b=N(3);a=L(2);z(1);C("ngIf",a.header.component)("ngIfElse",b)}},H$a=function(a){a&1&&(D(0,"span"),
P(1," Currently selected tracker: "),D(2,"strong"),P(3),E()());a&2&&(a=L(3),z(3),Bg(a.header.tracker.name))},I$a=function(a){a&1&&P(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},J$a=function(a){a&1&&(H(0),O(1,H$a,4,1,"span",5),O(2,I$a,1,0,"ng-template",null,12,$g),I());if(a&2){var b=N(3);a=L(2);z(1);C("ngIf",a.header.tracker)("ngIfElse",b)}},K$a=function(a){a&1&&(D(0,"span"),P(1," and "),D(2,"strong"),P(3,"subteams"),E()())},L$a=function(a){a&1&&(D(0,"span"),P(1," Currently selected team: "),
D(2,"strong"),P(3),E(),O(4,K$a,4,0,"span",4),E());a&2&&(a=L(3),z(3),Bg(a.header.team.name),z(1),C("ngIf",a.header.includeChildren))},M$a=function(a){a&1&&P(0," Start typing a team name or ID to see auto-complete suggestions. ")},N$a=function(a){a&1&&(H(0),O(1,L$a,5,2,"span",5),O(2,M$a,1,0,"ng-template",null,13,$g),I());if(a&2){var b=N(3);a=L(2);z(1);C("ngIf",a.header.team)("ngIfElse",b)}},O$a=function(a,b){a&1&&(D(0,"span"),P(1," Currently selected custom field: "),D(2,"strong"),P(3),E(),P(4," of type "),
D(5,"strong"),P(6),R(7,"lowercase"),E(),P(8,". "),E());a&2&&(a=b.$implicit,z(3),Bg(a.name),z(3),Bg(S(7,2,a.type)))},P$a=function(a){a&1&&P(0," customfield[id]: [value] ")},Q$a=function(a){a&1&&(H(0),O(1,O$a,9,4,"span",5),O(2,P$a,1,0,"ng-template",null,14,$g),I());if(a&2){var b=N(3);a=L(2);z(1);C("ngIf",a.header.customField)("ngIfElse",b)}},R$a=function(a){a&1&&(D(0,"div",3),O(1,z$a,4,2,"ng-container",4),O(2,C$a,4,2,"ng-container",4),O(3,G$a,4,2,"ng-container",4),O(4,J$a,4,2,"ng-container",4),O(5,
N$a,4,2,"ng-container",4),O(6,Q$a,4,2,"ng-container",4),E());a&2&&(a=L(),z(1),C("ngIf","hotlist"===a.header.type),z(1),C("ngIf","savedsearch"===a.header.type),z(1),C("ngIf","component"===a.header.type),z(1),C("ngIf","tracker"===a.header.type),z(1),C("ngIf","team"===a.header.type),z(1),C("ngIf","customfield"===a.header.type))},S$a=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Cg(" ",a.id,": ",a.name," "))},T$a=function(a){a&1&&(D(0,"span"),P(1),D(2,"span"),P(3),E()());a&2&&(a=
L().$implicit,z(1),Q(" Hotlist ",a.hotlistId,": "),z(2),Bg(a.name))},U$a=function(a){a&1&&(D(0,"span"),P(1),D(2,"span"),P(3),E(),F(4,"br"),D(5,"span",16),P(6),E()());a&2&&(a=L().$implicit,z(1),Q(" Saved search ",a.searchId,": "),z(2),Bg(a.name),z(3),Bg(a.query))},V$a=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Q(" ",a.name," "))},W$a=function(a){a&1&&(D(0,"span"),P(1," > "),E())},Y$a=function(a,b){if(a&1){var c=t();H(0);D(1,"span",19);K("click",function(d){var e=v(c).$implicit;
X$a(e);return w(d.stopPropagation())});P(2);E();O(3,W$a,2,0,"span",4);I()}a&2&&(a=b.$implicit,b=b.last,z(1),Ag("title","",a.id,": ",a.name,""),z(1),Bg(a.name),z(1),C("ngIf",!b))},Z$a=function(a){a&1&&(D(0,"span"),P(1," Component "),D(2,"strong",9),P(3),E(),F(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),D(6,"span",17),O(7,Y$a,4,4,"ng-container",18),E()());a&2&&(a=L().$implicit,z(3),Bg(a.componentId),z(1),C("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),C("trackerId",
a.trackerId),z(2),C("ngForOf",a.componentPath))},$$a=function(a){a&1&&(D(0,"span"),P(1),D(2,"span"),P(3),E()());a&2&&(a=L().$implicit,z(1),Q(" Tracker ",a.trackerId,": "),z(2),Bg(a.name))},aab=function(a){a&1&&(D(0,"span"),P(1," > "),E())},bab=function(a,b){if(a&1){var c=t();H(0);D(1,"span",19);K("click",function(d){var e=v(c).$implicit;X$a(e);return w(d.stopPropagation())});P(2);E();O(3,aab,2,0,"span",4);I()}a&2&&(a=b.$implicit,b=b.last,z(1),Ag("title","",a.id,": ",a.name,""),z(1),Bg(a.name),z(1),
C("ngIf",!b))},cab=function(a){a&1&&(D(0,"span"),P(1," Team "),D(2,"strong"),P(3),E(),D(4,"span",17),O(5,bab,4,4,"ng-container",18),E()());a&2&&(a=L().$implicit,z(3),Bg(a.id),z(2),C("ngForOf",a.teamPath))},dab=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Cg(" ",a.label,": ",a.name," "))},fab=function(a,b){if(a&1){var c=t();D(0,"b-app-search-auto-complete-option",15);K("optionClicked",function(e){v(c);var f=L();0<=e&&e<f.items.length&&(e=f.items[e],e.id&&e.completionCfg&&eab(e),
f.itemSelected.emit(e));return w()});O(1,S$a,2,2,"span",4);O(2,T$a,4,2,"span",4);O(3,U$a,7,3,"span",4);O(4,V$a,2,1,"span",4);O(5,Z$a,8,4,"span",4);O(6,$$a,4,2,"span",4);O(7,cab,6,2,"span",4);O(8,dab,2,2,"span",4);E()}if(a&2){a=b.$implicit;b=b.index;var d=L();fg("id","b-app-search-option-",b,"");C("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);z(1);C("ngIf","issue"===a.completionCfg.type);z(1);C("ngIf","hotlist"===a.completionCfg.type);z(1);C("ngIf","savedsearch"===a.completionCfg.type);
z(1);C("ngIf","atom"===a.completionCfg.type);z(1);C("ngIf","component"===a.completionCfg.type);z(1);C("ngIf","tracker"===a.completionCfg.type);z(1);C("ngIf","team"===a.completionCfg.type);z(1);C("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},hab=function(a){if(a&1){var b=t();D(0,"div",21)(1,"input",22,23);K("ngModelChange",function(c){v(b);var d=L();return w(d.searchName=c)})("keydown.Tab",function(){v(b);var c=L();return w(gab(c))})("keydown.enter",function(){v(b);var c=L();return w(c.saveSearch())});
E();D(3,"button",24);K("click",function(){v(b);var c=L();return w(c.saveSearch())});F(4,"mat-icon",25);E()()}a&2&&(a=L(),z(1),C("ngModel",a.searchName),z(2),C("disabled",!a.searchName))},iab=function(a){a&1&&(H(0),D(1,"span",10),P(2),E(),I());a&2&&(a=L(),z(1),pg("muted",a.disabled),z(1),Bg(a.cardTitle))},jab=function(a){a&1&&F(0,"mat-icon",11)},kab=function(a){a&1&&F(0,"mat-icon",12)},lab=function(a){a&1&&(D(0,"mat-select-trigger"),F(1,"mat-icon",20),D(2,"span"),P(3),E()());a&2&&(a=L(3),z(1),C("svgIcon",
a.selectedOption.icon),z(2),Bg(a.selectedOption.displayText))},nab=function(a){a&1&&F(0,"mat-icon",20);a&2&&(a=L().$implicit,C("svgIcon",a.icon))},oab=function(a,b){a&1&&(D(0,"mat-option",21),O(1,nab,1,1,"mat-icon",22),P(2),E());a&2&&(a=b.$implicit,C("value",a),z(1),C("ngIf",a.icon),z(1),Q("",a.displayText," "))},pab=function(a){if(a&1){var b=t();D(0,"mat-form-field",16)(1,"mat-label");P(2," Choose type... ");E();D(3,"mat-select",17);K("valueChange",function(c){v(b);var d=L(2);return w(d.selectedOption=
c)})("selectionChange",function(c){v(b);L(2).dropdownSelectionChanged.emit(c.value);return w()});O(4,lab,4,2,"mat-select-trigger",18);O(5,oab,3,3,"mat-option",19);E()()}a&2&&(a=L(2),z(3),C("disabled",a.disabled)("value",a.selectedOption),z(1),C("ngIf",a.selectedOption&&a.selectedOption.icon),z(1),C("ngForOf",a.dropdownOptions))},qab=function(a){if(a&1){var b=t();D(0,"mat-form-field",13)(1,"input",14);K("ngModelChange",function(c){v(b);var d=L();return w(d.cardTitleChange.emit(c))});E()();O(2,pab,
6,4,"mat-form-field",15)}a&2&&(a=L(),z(1),pg("muted",a.disabled||!a.selected),C("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),dg("aria-label",a.ariaLabelForCardTitle),z(1),C("ngIf",a.dropdownOptions.length))},rab=function(a){a&1&&(D(0,"div",23),xg(1),E())},sab=function(a){a&1&&(D(0,"button",31),F(1,"mat-icon",32),E());a&2&&(a=L(2),C("disabled",a.disabled))},tab=function(a){a&1&&F(0,"mat-divider",33);a&2&&C("vertical",!0)},uab=function(a){a&1&&
(D(0,"mat-slide-toggle",34),P(1," Required "),E());a&2&&(a=L(2),C("disabled",a.disabled))},vab=function(a){if(a&1){var b=t();D(0,"mat-slide-toggle",35);K("change",function(c){v(b);var d=L(2);return w(d.isInheritedChange.emit(c))});P(1," Inherited ");E()}a&2&&(a=L(2),C("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},wab=function(a){if(a&1){var b=t();D(0,"div",24)(1,"button",25);K("click",function(){v(b);
var c=L();return w(c.onSave())});P(2," Save ");E();D(3,"button",26);K("click",function(){v(b);var c=L();return w(c.onCancel())});P(4," Cancel ");E();O(5,sab,2,1,"button",27);O(6,tab,1,1,"mat-divider",28);O(7,uab,2,1,"mat-slide-toggle",29);O(8,vab,2,4,"mat-slide-toggle",30);E()}a&2&&(a=L(),z(1),C("disabled",a.isSaveButtonDisabled),z(2),C("disabled",a.disabled),z(2),C("ngIf",a.showDeleteButton),z(1),C("ngIf",a.showDeleteButton&&a.showRequiredToggle),z(1),C("ngIf",a.showRequiredToggle),z(1),C("ngIf",
a.showInheritedToggle))},xab=function(a){a&1&&(D(0,"h3"),P(1),E());a&2&&(a=L(2),z(1),Q(" Edit Custom Field ",a.editableField.customFieldId," "))},yab=function(a){a&1&&(D(0,"h3"),P(1," Create Custom Field "),E())},zab=function(a){a&1&&(D(0,"div",40),P(1),E());a&2&&(a=L(2),z(1),Q(" ",a.serverError," "))},Bab=function(a,b){a&1&&(D(0,"button",41),P(1),R(2,"enumToHuman"),E());if(a&2){a=b.$implicit;L();var c=N(32);C("matMenuTriggerFor",c)("matMenuTriggerData",Gg(5,Aab,a));z(1);Q(" ",S(2,3,a)," ")}},Cab=
function(a,b){if(a&1){var c=t();D(0,"button",43);K("click",function(){var d=v(c).$implicit,e=L().type,f=L(2);return w(f.setType(e,"Multiple"===d))});P(1);E()}a&2&&(a=b.$implicit,z(1),Q(" ",a," "))},Dab=function(a){a&1&&O(0,Cab,2,1,"button",42);a&2&&(a=L(2),C("ngForOf",a.secondaryTypes))},Fab=function(a){if(a&1){var b=t();D(0,"td",7)(1,"label",44);P(2," Allowed Values: ");E();D(3,"b-list-field",45);K("valuesChange",function(c){v(b);var d=L(2);return w(Eab(d,c.values))});E()()}a&2&&(a=L(2),z(3),C("defaultLineCount",
3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},Gab=function(a){a&1&&(D(0,"label",46),P(1," Default Value: "),E())},Jab=function(a,b){if(a&1){var c=t();D(0,"b-edit-field",47);K("valueChange",function(d){v(c);var e=L(2);Hab(e,d);return w()});E()}a&2&&(a=b.ngIf,b=L(2),C("name","Default")("type",a)("tooltip","Set default value")("value",Iab(b))("choices",b.allowedValues)("showEnumTitle",
!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},Kab=function(a){a&1&&(D(0,"label",48),P(1," Default Values: "),E())},Lab=function(a,b){if(a&1){var c=t();D(0,"b-list-field",49);K("valuesChange",function(d){v(c);var e=L(2);Hab(e,d.values);return w()});E()}a&2&&(a=b.ngIf,b=L(2),C("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",b.isSaving)("truncate",!0))},Mab=
function(a,b){if(a&1){var c=t();D(0,"button",50);K("click",function(){var d=v(c).$implicit,e=L(2);return w(e.setFieldSignificance(d))});P(1);R(2,"enumToHuman");E()}a&2&&(a=b.$implicit,z(1),Q(" ",S(2,1,a)," "))},Nab=function(a){if(a&1){var b=t();D(0,"div",4);O(1,xab,2,1,"h3",3);O(2,yab,2,0,"h3",3);O(3,zab,2,1,"div",5);D(4,"form",6)(5,"div",7)(6,"label",8);P(7,"Name:");E();D(8,"input",9);K("ngModelChange",function(h){v(b);var l=L();return w(l.editableField.name=h)});E()();D(9,"div",7)(10,"label",10);
P(11,"Description:");E();D(12,"textarea",11);K("ngModelChange",function(h){v(b);var l=L();return w(l.editableField.description=h)});E()();D(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,"label",14);P(18," Type: ");E();D(19,"onedev-hovercard",null,15)(21,"div",16)(22,"div",17);P(23," You can only choose type of field when creating a new custom field. You won't be able to edit it after the custom field is created. ");E()()()();D(24,"button",18);P(25);R(26,"enumToHuman");F(27,"b-icon",19);E();D(28,
"mat-menu",null,20);O(30,Bab,3,7,"button",21);E();D(31,"mat-menu",null,22);O(33,Dab,1,1,"ng-template",23);E()();O(34,Fab,4,7,"td",24);D(35,"td",7);O(36,Gab,2,0,"label",25);O(37,Jab,1,9,"b-edit-field",26);O(38,Kab,2,0,"label",27);O(39,Lab,1,8,"b-list-field",28);E();D(40,"td",7)(41,"label",29);P(42," Required: ");E();D(43,"b-edit-field",30);K("valueChange",function(h){v(b);var l=L();return w(l.editableField.required=!!h)});E()();D(44,"td",7)(45,"div",13)(46,"label",31);P(47," Field Significance: ");
E();D(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);P(52," This affects whether users will receive notifications when changes are made to this field. ");F(53,"br");P(54," See\u00a0 ");D(55,"a",34);P(56,"Email Settings ");E()()()()();D(57,"button",35);P(58);R(59,"enumToHuman");F(60,"b-icon",19);E();D(61,"mat-menu",null,36);O(63,Mab,3,3,"button",37);E()()()();D(64,"button",38);K("click",function(){v(b);var h=L();return w(h.save())});P(65," Save ");E();D(66,"button",39);K("click",function(){v(b);
var h=L();return w(h.cancel())});P(67," Cancel ");E()()()}if(a&2){var c=N(20),d=N(29),e=N(49),f=N(62);a=L();z(1);C("ngIf",!!a.editableField.customFieldId);z(1);C("ngIf",!a.editableField.customFieldId);z(1);C("ngIf",a.serverError);z(5);C("bFocus",a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);z(4);C("ngModel",a.editableField.description)("disabled",a.isSaving);z(5);C("onedevHovercardTrigger",c);z(7);C("matMenuTriggerFor",d)("disabled",!!a.editableField.customFieldId);
z(1);Q(" ",S(26,28,a.editableField.type)," ");z(5);C("ngForOf",a.typeChoices);z(4);C("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));z(2);C("ngIf",!a.editableField.isRepeated());z(1);C("ngIf",a.getSingleEditFieldType(a.editableField));z(1);C("ngIf",a.editableField.isRepeated());z(1);C("ngIf",a.getListFieldType(a.editableField));z(4);C("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",a.editableField.required);z(3);C("onedevHovercardTrigger",
e);z(9);C("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",ue);z(2);C("matMenuTriggerFor",f);z(1);Q(" ",S(59,30,a.editableField.fieldSignificance)," ");z(5);C("ngForOf",a.significanceChoices);z(1);C("disabled",!a.hasUnsavedChanges()||!a.editableField.name)}},Oab=function(a){a&1&&(D(0,"div",51),F(1,"b-spinner",52),E());a&2&&(z(1),C("large",!0))},Pab=function(a){a&1&&(D(0,"th"),P(1,"Actions"),E())},Rab=function(a){if(a&1){var b=t();D(0,"td",59)(1,"button",60);K("click",function(){v(b);
var c=L().index,d=L(2);return w(d.editField(c))});P(2,"Edit");E();D(3,"button",60);K("click",function(){v(b);var c=L().index,d=L(2);return w(Qab(d,c))});P(4,"Delete");E()()}},Sab=function(a,b){a&1&&(D(0,"tr",56)(1,"td"),P(2),E(),D(3,"td"),P(4),E(),D(5,"td"),P(6),R(7,"enumToHuman"),E(),D(8,"td"),P(9),E(),D(10,"td"),P(11),R(12,"yesNo"),E(),D(13,"td"),F(14,"b-custom-field-value-display",57),E(),D(15,"td"),P(16),R(17,"arrayToHuman"),E(),D(18,"td"),P(19),R(20,"enumToHuman"),E(),O(21,Rab,5,0,"td",58),E());
a&2&&(a=b.$implicit,b=L(2),C("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),z(2),Bg(a.name),z(2),Bg(a.customFieldId),z(2),Bg(S(7,10,a.type)),z(3),Bg(a.description),z(2),Bg(S(12,12,a.required)),z(3),C("customFieldValue",a.typedDefaultValue),z(2),Bg(S(17,14,a.allowedValue)),z(3),Bg(S(20,16,a.fieldSignificance)),z(2),C("ngIf",b.editMode))},Uab=function(a){a&1&&(D(0,"tr")(1,"td",61),P(2," There are no custom fields defined on this component. "),E()())},Vab=function(a){a&1&&(D(0,"tr")(1,
"td",62)(2,"strong"),P(3,"Fields inherited from parent components"),E()()())},Wab=function(a){a&1&&(H(0),F(1,"b-component-card",69,70),I());if(a&2){var b=N(2);a=L().$implicit;z(1);C("onedevIsHovercardReady",b.init)("componentId",a.componentId.toString())}},Yab=function(a){if(a&1){var b=t();D(0,"b-field-state-menu",71,72);K("fieldStateChange",function(d){v(b);var e=L(),f=e.$implicit;e=e.index;var h=L(3);return w(h.updateCustomFieldState(f,d,e))});E()}if(a&2){a=L().$implicit;var c=L(3);C("fieldName",
a.name)("fieldState",a.stateOnIssues)("enabledOnParent",Xab(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);dg("aria-label",c.msgFieldStateTip)}},Zab=function(a,b){if(a&1){var c=t();D(0,"tr",56)(1,"td");P(2);E();D(3,"td");P(4);E();D(5,"td");P(6);R(7,"enumToHuman");E();D(8,"td");P(9);E();D(10,"td");P(11);R(12,"yesNo");E();D(13,"td");F(14,"b-custom-field-value-display",57);E();D(15,"td");P(16);R(17,"arrayToHuman");E();D(18,"td");P(19);R(20,"enumToHuman");E();D(21,"td",59)(22,
"div",63)(23,"div",64);P(24,"Inherited From");E();D(25,"a",65);K("click",function(){v(c);var e=L(3);return w(e.trackClick("parentCustomFields"))});P(26);E();D(27,"onedev-hovercard",null,66);O(29,Wab,3,2,"ng-container",67);E()();O(30,Yab,2,6,"b-field-state-menu",68);E()()}if(a&2){a=b.$implicit;var d=N(28);b=L(3);C("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");z(2);Bg(a.name);z(2);Bg(a.customFieldId);z(2);Bg(S(7,13,a.type));z(3);Bg(a.description);z(2);Bg(S(12,15,a.required));z(3);C("customFieldValue",
a.typedDefaultValue);z(2);Bg(S(17,17,a.allowedValue));z(3);Bg(S(20,19,a.fieldSignificance));z(6);C("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),ue);z(1);Q(" ",b.componentIdsToNames[a.componentId]," ");z(4);C("ngIf",b.editMode)}},$ab=function(a){a&1&&(H(0),O(1,Zab,31,21,"tr",54),I());a&2&&(a=L(2),z(1),C("ngForOf",a.inheritedCustomFields))},abb=function(a){a&1&&(D(0,"tfoot")(1,"tr")(2,"td",62),P(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),
D(4,"a",73),P(5,"Field Ordering"),E(),P(6," tab."),F(7,"br"),P(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),E()()())},bbb=function(a){if(a&1){var b=t();D(0,"div",74)(1,"button",75);K("click",function(){v(b);var c=L(2);c.editableField=new Aj;c.originalEditableFieldValue=nj(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return w()});P(2," Add a Custom Field ");E()()}},cbb=function(a){a&1&&(D(0,"div")(1,"table",
53)(2,"tr")(3,"th"),P(4,"Name"),E(),D(5,"th"),P(6,"ID"),E(),D(7,"th"),P(8,"Type"),E(),D(9,"th"),P(10,"Description"),E(),D(11,"th"),P(12,"Required?"),E(),D(13,"th"),P(14,"Default Value"),E(),D(15,"th"),P(16,"Allowed Values"),E(),D(17,"th"),P(18,"Field Significance"),E(),O(19,Pab,2,0,"th",3),E(),O(20,Sab,22,18,"tr",54),O(21,Uab,3,0,"tr",3),O(22,Vab,4,0,"tr",3),O(23,$ab,2,1,"ng-container",3),O(24,abb,9,0,"tfoot",3),E(),O(25,bbb,3,0,"div",55),E());a&2&&(a=L(),z(19),C("ngIf",a.editMode),z(1),C("ngForOf",
a.customFields),z(1),C("ngIf",!a.customFields.length),z(1),C("ngIf",a.inheritedCustomFields.length),z(1),C("ngIf",a.inheritedCustomFields.length),z(1),C("ngIf",a.customFields.length),z(1),C("ngIf",a.editMode))},dbb=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L().index,d=L();return w(d.removeAtIndex.emit(c))});F(1,"mat-icon",19);E()}a&2&&(a=L().$implicit,dg("aria-label","Delete row "+a.label))},ebb=function(a,b){if(a&1){var c=t();D(0,"div",9)(1,"div",10);F(2,"mat-icon",
11);D(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);K("change",function(f){var h=v(c).index,l=L();l.options[h].label=f.target.value;l.optionsChange.emit(l.options);return w()});E()()();D(7,"div",1)(8,"mat-form-field",12)(9,"input",15,16);K("change",function(f){var h=v(c).index,l=L();return w(l.valueChange(f,h))});E()()();O(11,dbb,2,1,"button",17);E()()}if(a&2){a=b.$implicit;var d=N(6),e=N(10);b=L();z(4);C("appearance",d.focused||e.focused?"standard":"none");z(1);pg("muted",b.disabled);C("value",
a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);z(3);C("appearance",d.focused||e.focused?"standard":"none");z(1);pg("muted",b.disabled);C("value",a.value)("placeholder",null==a.value?"Average days":"")("disabled",b.disabled);z(2);C("ngIf",!b.disabled)}},fbb=function(a){if(a&1){var b=t();D(0,"button",20);K("click",function(){v(b);var c=L();return w(c.addRow.emit())});P(1," Add row\n");E()}},gbb=function(a){a&1&&tg(0)},hbb=function(a){a&1&&(H(0),O(1,gbb,1,0,"ng-container",
5),I());if(a&2){L();var b=N(7);z(1);C("ngTemplateOutlet",b)}},ibb=function(a){if(a&1){var b=t();H(0);D(1,"b-numeric-config",6);K("valueChange",function(c){v(b);var d=L();return w(d.numericSpecMultiplier=c)});E();I()}a&2&&(a=L(),z(1),C("disabled",a.disabled)("value",a.numericSpecMultiplier))},jbb=function(a){a&1&&tg(0)},kbb=function(a){if(a&1){var b=t();D(0,"div",7)(1,"label",8);P(2,"Aggregation Rule");E();D(3,"a",9);F(4,"mat-icon",10);E();F(5,"br");D(6,"mat-form-field",11)(7,"mat-select",12);K("valueChange",
function(c){v(b);var d=L();return w(d.selectedAggregationRule=c)});D(8,"mat-select-trigger");P(9);R(10,"aggregationRuleText");E();D(11,"mat-option",13)(12,"div",14);P(13);R(14,"aggregationRuleText");E();D(15,"div",15);P(16,"All parents and children are added to the total");E()();D(17,"mat-option",13)(18,"div",14);P(19);R(20,"aggregationRuleText");E();D(21,"div",15);P(22,"Take the assigned estimate if larger than total of all immediate children");E()()()()()}a&2&&(a=L(),z(7),C("value",a.selectedAggregationRule)("disabled",
a.disabled),z(2),Q(" ",S(10,7,a.selectedAggregationRule)," "),z(2),C("value",a.aggregationRules.SUM),z(2),Bg(S(14,9,a.aggregationRules.SUM)),z(4),C("value",a.aggregationRules.MAX),z(2),Bg(S(20,11,a.aggregationRules.MAX)))},lbb=function(a){if(a&1){var b=t();D(0,"b-config-grid",16);K("optionsChange",function(c){v(b);var d=L();return w(d.enumSpecOptions=c)})("addRow",function(){v(b);var c=L();return w(c.addRow())})("removeAtIndex",function(c){v(b);L().enumSpecOptions.splice(c,1);return w()});E()}a&2&&
(a=L(),C("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},mbb=function(a){return a&&"0"!==a.getTeamId()?a.getDeleted()?"DELETED":"VALID":"MISSING"},nbb=function(a){if(a&1){var b=t();D(0,"div",6);P(1," Select a team from the suggestions below, or edit in ");D(2,"a",7);K("click",function(){v(b);var c=L();return w(c.trackClick("viewTeamAssociationOnComponent"))});P(3,"component settings");E();P(4,".\n");E()}a&2&&(a=L(),z(2),C("href",a.componentSetting,ue))},obb=function(a){a&1&&(D(0,
"div",6),P(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),D(2,"a",8),P(3,"component settings"),E(),P(4,".\n"),E());a&2&&(a=L(),z(2),C("href",a.componentSetting,ue))},pbb=function(a){if(a&1){var b=t();D(0,"mat-radio-group",9);K("ngModelChange",function(c){v(b);var d=L();return w(d.teamAction=c)});D(1,"p")(2,"mat-radio-button",10);P(3," Don't make any changes ");E()();D(4,"p")(5,"mat-radio-button",11);P(6," Map component to selected team ");
E()()()}a&2&&(a=L(),C("ngModel",a.teamAction))},qbb=function(a){a&1&&(H(0),D(1,"span",19),P(2),E(),I());a&2&&(a=L().$implicit,z(2),Bg(a.teamPath))},rbb=function(a){a&1&&P(0," -- ")},sbb=function(a,b){a&1&&(O(0,qbb,3,1,"ng-container",17),O(1,rbb,1,0,"ng-template",null,18,$g));if(a&2){a=b.$implicit;var c=N(2);C("ngIf",a)("ngIfElse",c)}},tbb=function(a){if(a&1){var b=t();D(0,"div",12)(1,"onedev-single-select",13);K("valueChange",function(d){v(b);var e=L();return w(e.selectedTeam=d)})("valueChange",function(d){v(b);
var e=L();return w(e.selectOption(d))});E();O(2,sbb,3,2,"ng-template",null,14,$g);D(4,"a",15);K("click",function(){v(b);var d=L();return w(d.trackClick("viewTeamInMoma"))});F(5,"mat-icon",16);E()()}if(a&2){var c=N(3);a=L();z(1);C("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",c);z(3);dg("href",a.getMomaTeamLink(),ue)}},ubb=function(a){if(a&1){var b=t();D(0,"b-callout-actions")(1,"b-button",2);K("click",function(){v(b);var c=
L();return w(c.openDialog())});P(2);E()()}a&2&&(a=L(),z(2),Bg(a.buttonName))},vbb=function(a){a&1&&(D(0,"div",8),F(1,"b-team-warning",9),E());a&2&&(a=L().ngIf,z(1),C("warningType",a)("messageOnly",!0))},wbb=function(a,b){a&1&&(H(0),O(1,vbb,2,2,"div",7),I());a&2&&(a=b.ngIf,b=L(),z(1),C("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},xbb=function(a){if(a&1){var b=t();D(0,"div",10)(1,"mat-checkbox",11);K("change",function(c){v(b);var d=L();d.inherit=!c.checked;d.model.inherit=d.inherit;!d.isTopLevel&&
d.inherit&&d.parentModel&&(d.model.id=d.parentModel.id);d.teamIdChanged$.next(d.model.id);d.modelChange.emit(d.model);return w()});P(2," Override the inherited team ");E()()}a&2&&(a=L(),z(1),C("disabled",!a.isAdmin)("checked",!a.inherit))},zbb=function(a){if(a&1){var b=t();D(0,"a",13);K("click",function(){v(b);L(2);Wo(Mp.MANAGE_COMPONENT,"navigate","to-internal-team-page");return w()});F(1,"mat-icon",14);E()}a&2&&(a=L(2),C("routerLink",ybb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},
Abb=function(a){a&1&&(H(0),O(1,zbb,2,2,"a",12),I());a&2&&(a=L(),z(1),C("ngIf",ybb(a)))},Bbb=function(a){if(a&1){var b=t();D(0,"a",16);K("click",function(){v(b);var c=L(2);Wo(Mp.MANAGE_COMPONENT,"linkout-moma","team",Number(c.model.id));return w()});F(1,"mat-icon",14);E()}a&2&&(a=L(2),dg("href",a.getMomaTeamLink(),ue))},Cbb=function(a){a&1&&O(0,Bbb,2,1,"a",15);a&2&&(a=L(),C("ngIf",ybb(a)))},Dbb=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Q("(",a.disabledReason,")"))},Ebb=function(a,
b){a&1&&(D(0,"mat-radio-button",8),P(1),O(2,Dbb,2,1,"span",9),E());a&2&&(a=b.$implicit,C("value",a)("disabled",!a.enabled),z(1),Q(" ",a.displayText," "),z(1),C("ngIf",!a.enabled))},Fbb=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Q("(",a.disabledReason,")"))},Gbb=function(a,b){a&1&&(D(0,"mat-radio-button",8),P(1),O(2,Fbb,2,1,"span",9),E());a&2&&(a=b.$implicit,C("value",a)("disabled",!a.enabled),z(1),Q(" ",a.displayText," "),z(1),C("ngIf",!a.enabled))},Hbb=function(a){return a?
"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},Ibb=function(a){a&1&&F(0,"mat-icon",7);if(a&2){a:switch(L().reactionType){case "UPVOTE":a="thumb_up_24px";break a;default:a="warning"}C("svgIcon",a)}},Jbb=function(a){a&1&&F(0,"b-spinner")},Kbb=function(a,b){a&1&&(D(0,"div")(1,"div",9),P(2),E()());a&2&&(a=b.$implicit,L(2),z(2),Bg(Kj(a.user)))},Lbb=function(a){a&1&&(H(0),O(1,Kbb,3,1,"div",8),I());a&2&&(a=L(),z(1),C("ngForOf",
a.allResponders))},Obb=function(a,b){if(a&1){var c=t();D(0,"li",11);K("keydown",function(e){var f=v(c).index,h=L();return w(h.onKeyDown(e,f))})("focus",function(){var e=v(c).index,f=L();return w(f.onFocus(e))});F(1,"mat-icon",12);D(2,"span");P(3);E();D(4,"div",13)(5,"button",14);K("click",function(){var e=v(c).index,f=L();return w(Mbb(f,e))});F(6,"mat-icon",15);E();D(7,"button",16);K("click",function(){var e=v(c).index,f=L();return w(Nbb(f,e))});F(8,"mat-icon",17);E()()()}if(a&2){a=b.$implicit;b=
b.index;var d=L();dg("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);z(3);Bg(a.name);z(2);pg("invisible",0===b);z(2);pg("invisible",b===d.fields.length-1)}},Pbb=function(a){a&1&&(D(0,"th",14),P(1," Order"),E())},Qbb=function(a,b){a&1&&(D(0,"td",15),P(1),E());a&2&&(a=b.index,z(1),Q(" ",a+1," "))},Rbb=function(a){a&1&&(D(0,"th",14),P(1," Name"),E())},Sbb=function(a,b){a&1&&(D(0,"td",15),P(1),E());a&2&&(a=b.$implicit,z(1),Q(" ",a.name," "))},Tbb=function(a){a&1&&(D(0,"th",14),P(1," Type"),E())},
Ubb=function(a,b){a&1&&(D(0,"td",15),P(1),R(2,"toCustomFieldTypeDisplayValue"),E());a&2&&(a=b.$implicit,z(1),Q(" ",S(2,1,a.type)," "))},Vbb=function(a){a&1&&(D(0,"th",14),P(1," Required"),E())},Wbb=function(a,b){a&1&&(D(0,"td",15),P(1),E());a&2&&(a=b.$implicit,z(1),Q(" ",a.required?"Yes":"No"," "))},Xbb=function(a){a&1&&(D(0,"th",14),P(1," ID"),E())},Ybb=function(a,b){a&1&&(D(0,"td",15),P(1),E());a&2&&(a=b.$implicit,z(1),Q(" ",a.customFieldId," "))},Zbb=function(a){a&1&&F(0,"tr",16)},$bb=function(a){a&
1&&F(0,"tr",17)},acb=function(a){a&1&&(D(0,"div",18),P(1," There are no custom fields defined on this component. "),E())},dcb=function(a){if(a&1){var b=t();D(0,"div",19)(1,"div")(2,"button",20);K("click",function(){v(b);var c=L();return w(bcb(c))});P(3," Reorder fields ");E();D(4,"button",20);K("click",function(){v(b);var c=L();return w(ccb(c))});P(5," Reset ordering ");E()()()}a&2&&(a=L(),z(2),C("disabled",0===a.fields.length),z(2),C("disabled","CUSTOMIZED"!==a.fieldOrdering))},ecb=function(a){a&
1&&(D(0,"span"),P(1),E());a&2&&(a=L(),z(1),a=a.lineNumbers.length,Q(" (",a+(1==a?" TODO":" TODOs"),") "))},gcb=function(a,b){if(a&1){var c=t();D(0,"li",5)(1,"a",6);K("click",function(){v(c);var d=L(2);return w(d.trackClick("lineNumber"))});P(2);E()()}a&2&&(a=b.$implicit,b=L(2),z(1),C("href",fcb(b,a),ue),z(1),Bg(a))},hcb=function(a){a&1&&(D(0,"span"),P(1," ("),D(2,"ul",3),O(3,gcb,3,2,"li",4),E(),P(4,") "),E());a&2&&(a=L(),z(3),C("ngForOf",a.lineNumbers))},icb=function(a){a&1&&F(0,"div",2)},jcb=function(a){a&
1&&(H(0),xg(1),I())},kcb=function(a){a&1&&(yd(),D(0,"svg",1),F(1,"path",2),E());a&2&&(a=L(),C("matTooltip",a.warning))},lcb=function(a){a&1&&tg(0)},ocb=function(a){if(a&1){var b=t();D(0,"div",1);K("keydown",function(c){v(b);var d=L();return w(d.processKeydown(c))});D(1,"div",2);O(2,lcb,1,0,"ng-container",3);E();D(3,"div",4)(4,"button",5);K("click",function(){v(b);var c=L();return w(mcb(c))});P(5,"Save");E();D(6,"button",6);K("click",function(){v(b);var c=L();return w(ncb(c))});P(7,"Cancel");E()()()}a&
2&&(a=L(),C("cdkTrapFocusAutoCapture",!0),z(2),C("ngTemplateOutlet",a.editorTemplate))},pcb=function(a){a&1&&tg(0)},rcb=function(a){a&1&&(H(0),O(1,pcb,1,0,"ng-container",8),I());a&2&&(a=L(),z(1),C("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Gg(2,qcb,a.value)))},scb=function(a){a&1&&P(0);a&2&&(a=L(),Bg(null!=a.value?a.value:"--"))},tcb=function(a){a&1&&(yd(),D(0,"svg",9),F(1,"path",10),E())},ucb=function(a){if(a&1){var b=t();D(0,"input",11);K("ngModelChange",function(c){v(b);var d=
L();return w(d.editingValue=c)});E()}a&2&&(a=L(),C("ngModel",a.editingValue))},vcb=function(a){return null!=a?Number(a):void 0},wcb=function(a){a&1&&F(0,"mat-icon",12);if(a&2){L();var b=N(5);C("onedevHovercardTrigger",b)}},xcb=function(a){if(a&1){var b=t();H(0);D(1,"onedev-numeric-field",13);K("valueChange",function(d){v(b);var e=L(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return w()});E();I()}if(a&2){a=L(2);var c=N(2);z(1);C("value",
a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},ycb=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L().$implicit,z(1),Q(" ",a.label," "))},zcb=function(a){a&1&&P(0," -- ")},Acb=function(a,b){a&1&&(O(0,ycb,2,1,"ng-container",16),O(1,zcb,1,0,"ng-template",null,17,$g));if(a&2){a=b.$implicit;var c=N(2);C("ngIf",a)("ngIfElse",c)}},Ccb=function(a){if(a&1){var b=t();H(0);D(1,"onedev-single-select",14);K("valueChange",function(e){v(b);var f=L(2);return w(f.selectOption(e))});
E();O(2,Acb,3,2,"ng-template",null,15,$g);I()}if(a&2){var c=N(3);a=L(2);var d;z(1);C("value",a.selectedOption)("options",null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:Fg(6,Bcb))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",!a.disabled)}},Dcb=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L(2),z(1),Q(" ",null==a.effort?null:a.effort.estimate," "))},Ecb=function(a){a&1&&(D(0,"onedev-edit-field")(1,"onedev-field-label",2),
P(2),O(3,wcb,1,1,"mat-icon",3),E(),D(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),P(8," This estimate was made under a different configuration and needs to be updated. "),D(9,"a",7),P(10,"Learn more"),E()()()(),D(11,"onedev-field-value",8),H(12,9),O(13,xcb,2,4,"ng-container",10),O(14,Ccb,4,7,"ng-container",10),O(15,Dcb,2,1,"ng-container",11),I(),E()());a&2&&(a=L(),z(1),C("thinking",a.thinking),z(1),Q(" ",a.fieldName," "),z(1),C("ngIf",!a.isCompatibleValue),z(8),C("thinking",a.thinking),z(1),
C("ngSwitch",a.fieldType),z(1),C("ngSwitchCase","NUMERIC"),z(1),C("ngSwitchCase","DROPDOWN"))},Fcb=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L(2),z(1),Q(" ",null==a.effort?null:a.effort.estimate," "))},Gcb=function(a){a&1&&P(0);a&2&&(a=L().$implicit,Q(" ",null!=a?a:"--"," "))},Hcb=function(a,b){a&1&&(O(0,Fcb,2,1,"ng-container",16),O(1,Gcb,1,1,"ng-template",null,18,$g));if(a&2){a=b.$implicit;var c=N(2);b=L();C("ngIf",b.isNaN(a))("ngIfElse",c)}},Icb=function(a){a&1&&F(0,"mat-icon",13)},Jcb=function(a){a&
1&&F(0,"mat-icon",14)},Kcb=function(a){a&1&&(D(0,"span"),F(1,"b-formatted-date-time",22),E());a&2&&(a=L(2),z(1),C("timestamp",a.sloSnoozeUntil))},Lcb=function(a){a&1&&(D(0,"span"),F(1,"b-formatted-date-time",22),E());a&2&&(a=L(2),z(1),C("timestamp",a.issueCreationTimestamp/1E3))},Mcb=function(a){if(a&1){var b=t();D(0,"snooze-date-time-picker",23);K("closePicker",function(){v(b);var c=L(2);return w(c.isDateTimePickerOpen=!1)})("snoozeUntilCommit",function(c){v(b);L(2).onSnoozeChange.next(c);return w()});
E()}a&2&&(a=L(2),C("sloStatus",a.sloStatus)("snoozeUntil",a.sloSnoozeUntil))},Ncb=function(a){if(a&1){var b=t();D(0,"div",11);P(1," SLO starts on: ");D(2,"div",15)(3,"a",16,17);K("click",function(){v(b);var d=L();return w(d.isDateTimePickerOpen=!d.isDateTimePickerOpen)});O(5,Kcb,2,1,"span",18);O(6,Lcb,2,1,"span",18);E();D(7,"a",19);F(8,"mat-icon",20);E();O(9,Mcb,1,2,"ng-template",21);E()()}if(a&2){var c=N(4);a=L();z(5);C("ngIf",a.sloSnoozeUntil);z(1);C("ngIf",!a.sloSnoozeUntil);z(3);C("cdkConnectedOverlayOrigin",
c)("cdkConnectedOverlayOpen",a.isDateTimePickerOpen)}},Ocb=function(a,b){if(a&1){var c=t();D(0,"a",25);K("click",function(){v(c);var d=L(2);return w(d.trackOpenSlo())});P(1);E()}a&2&&(a=b.ngIf,b=L(2),dg("href",b.editSloLink,ue),z(1),Q(" ",a.getName()," "))},Pcb=function(a){a&1&&(D(0,"div",11),P(1," SLO definition: "),O(2,Ocb,2,2,"a",24),R(3,"async"),E());a&2&&(a=L(),z(2),C("ngIf",S(3,1,a.slo$)))},Qcb=function(a){if(a&1){var b=t();D(0,"a",26);K("click",function(){v(b);L();Wo(Mp.MANAGE_COMPONENT,"open",
"fromIssueSloBox");return w()});P(1,"Select an SLO");E()}a&2&&(a=L(),dg("href",a.componentSloLink,ue))},Rcb=function(a){a&1&&(D(0,"a",10),P(1," Create Component "),E());a&2&&(a=L(),C("href",a.createComponentPath,ue))},Scb=function(a){if(a&1){var b=t();D(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);K("selectedComponentChange",function(d){v(b);var e=L();return w(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});R(3,"async");E()()()}if(a&2){a=
L();var c;z(2);C("includeArchived",null!==(c=S(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},Ucb=function(a){if(a&1){var b=t();D(0,"div",13)(1,"b-slide-toggle",14);K("modelChange",function(d){v(b);var e=L();e.includeArchived$.next(d);d=e.componentTree;d=d.focusedController?d.focusedController.selectedId?d.focusedController.selectedId:-1:d.rootController.selectedId?d.rootController.selectedId:-1;0<d&&
Tcb(e,d,(0,T.firstValueFrom)(e.topLevelComponents$));return w()});R(2,"async");E()()}if(a&2){a=L();var c;z(1);C("model",null!==(c=S(2,2,a.includeArchived$))&&void 0!==c?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},Vcb=function(a){a&1&&(D(0,"div",15),F(1,"b-spinner",16),E())},Wcb=function(a){a&1&&(D(0,"p",3),P(1),E());a&2&&(a=L(),z(1),Bg(a.packageMentionSet.packageName))},Xcb=function(a,b){a&1&&(D(0,"li"),F(1,"b-file-mention",4),E());a&2&&(a=b.$implicit,
b=L(),z(1),C("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},$cb=function(a){a&1&&(D(0,"span"),P(1),D(2,"b"),P(3),E(),P(4," on "),D(5,"b"),P(6),R(7,"date"),E(),P(8,". "),E());a&2&&(a=L(4),z(1),Q(" Currently, the ",a.contentType," is scheduled for deletion in "),z(2),Bg(Ycb(Zcb(a).getTime(),!0)),z(3),Bg(Jg(7,3,Zcb(a),"longDate")))},adb=function(a){a&1&&(D(0,"span")(1,"b"),P(2,"Retention:"),E(),P(3),
D(4,"b"),P(5),E(),P(6," from the last modification of the issue. "),O(7,$cb,9,6,"span",11),E());if(a&2){a=L(3);var b=N(10);z(3);Q(" This ",a.contentType," has a retention period of ");z(2);Bg(a.getRetentionPeriod());z(2);C("ngIf",!(Zcb(a).getTime()<(new jj).getTime()))("ngIfElse",b)}},bdb=function(a){a&1&&(P(0),D(1,"b"),P(2,"overridden"),E(),P(3," retention period set to match the issue retention period. "));a&2&&(a=L(3),Q(" The ",a.contentType," has an "))},cdb=function(a){a&1&&(D(0,"p",10),O(1,
adb,8,4,"span",11),O(2,bdb,4,1,"ng-template",12),E());if(a&2){a=L(2);var b=N(8);C("ngSwitch",a.retention);z(1);C("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);z(1);C("ngSwitchCase",a.retentionModel.INDEFINITE)}},ddb=function(a){a&1&&(D(0,"div",7)(1,"p")(2,"b"),P(3,"Restricted Access:"),E(),P(4),D(5,"a",8),P(6," Learn More "),E()(),O(7,cdb,3,4,"p",9),E());a&2&&(a=L(),z(4),Q(" This ",a.contentType," is only available to users with the appropriate permissions. "),
z(1),C("rel",a.EXTERNAL_LINK_REL),dg("href",a.documentationLinks.getRestrictedAccessHelpLink(),ue),z(2),C("ngIf",a.retentionState))},edb=function(a){a&1&&(D(0,"b"),P(1,"Retention:"),E(),P(2));a&2&&(a=L(),z(2),Q(" This ",a.contentType," has an indefinite retention period. "))},fdb=function(a){a&1&&(P(0," The retention has "),D(1,"b"),P(2,"expired"),E(),P(3),D(4,"b"),P(5),R(6,"date"),E(),P(7,". "));a&2&&(a=L(),z(3),Q(" and the ",a.contentType," was scheduled for deletion on "),z(2),Bg(Jg(6,2,Zcb(a),
"longDate")))},gdb=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L(),z(1),Q("Retain ",a.resource," as long as issue?"))},hdb=function(a){a&1&&(D(0,"span"),P(1,"Apply component retention settings?"),E())},idb=function(a){a&1&&(D(0,"span")(1,"p"),P(2),E(),D(3,"p")(4,"b"),P(5,"Please note long retention is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored."),E(),F(6,"br"),P(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),
E()());a&2&&(a=L(),z(2),Q("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},jdb=function(a){a&1&&(D(0,"span")(1,"p"),P(2),E()());a&2&&(a=L(),z(2),Cg("This ",a.resource," is currently retained as long as the issue. If you select this option, this ",a.resource," will be scheduled for deletion based on the component retention settings."))},kdb=function(a){if(a&1){var b=t();D(0,"mat-checkbox",9);K("ngModelChange",function(c){v(b);
var d=L();return w(d.acknowledgeToMatchIssueRetention=c)});P(1," I acknowledge ");E()}a&2&&(a=L(),C("ngModel",a.acknowledgeToMatchIssueRetention))},ldb=function(a){a&1&&(D(0,"span",6),P(1," Select at least one tracker "),E())},mdb=function(a,b){if(a&1){var c=t();D(0,"div",7)(1,"mat-checkbox",8);K("change",function(d){var e=v(c).$implicit,f=L();return w(f.trackerCheckboxValues[e.trackerId]=d.checked)});P(2);E()()}a&2&&(a=b.$implicit,b=L(),z(1),C("checked",b.trackerCheckboxValues[a.trackerId]||!1),
z(1),Q(" ",a.name," "))},ndb=function(a){a&1&&(F(0,"b-tracker-search",6),R(1,"async"),R(2,"async"));a&2&&(a=L(),C("currentTrackerId",S(1,2,a.currentTracker.trackerId$))("availableTrackers",S(2,4,a.currentTracker.availableTrackers$)))},odb=function(a){a&1&&(D(0,"div",7),F(1,"b-spinner"),D(2,"span"),P(3,"Initializing query builder..."),E()())},pdb=function(a){a&1&&(D(0,"div",10),F(1,"mat-icon",11),D(2,"p"),P(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),
E()())},qdb=function(a){a&1&&(D(0,"div"),P(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),E())},rdb=function(a){a&1&&(D(0,"div",8),O(1,pdb,4,0,"div",9),O(2,qdb,2,0,"div",5),E());a&2&&(a=L(),z(1),C("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),z(1),C("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},
sdb=function(a){a&1&&(D(0,"div",8),P(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),E())},tdb=function(a){a&1&&F(0,"b-tracker-account-menu-hack")},udb=function(a){a&1&&(D(0,"span"),P(1),F(2,"span",16),E());a&2&&(a=L(2).$implicit,z(1),Q(" ",a.diff.oldValue," "))},vdb=function(a){a&1&&(D(0,"span")(1,"label"),P(2),E(),O(3,udb,3,1,"span",15),P(4),E());a&2&&(a=L().$implicit,z(2),Q("",a.fieldName,":"),z(1),C("ngIf",a.diff.oldValue),
z(1),Q(" ",a.diff.newValue," "))},wdb=function(a,b){a&1&&(D(0,"div")(1,"label"),P(2),E(),P(3),E());a&2&&(a=b.$implicit,b=L(3).$implicit,z(2),Q("-",b.fieldName,":"),z(1),Q(" ",a," "))},xdb=function(a){a&1&&(H(0),O(1,wdb,4,2,"div",17),I());a&2&&(a=L(2).$implicit,z(1),C("ngForOf",a.diff.removed))},ydb=function(a,b){a&1&&(D(0,"div")(1,"label"),P(2),E(),P(3),E());a&2&&(a=b.$implicit,b=L(3).$implicit,z(2),Q("+",b.fieldName,":"),z(1),Q(" ",a," "))},zdb=function(a){a&1&&(H(0),O(1,ydb,4,2,"div",17),I());a&
2&&(a=L(2).$implicit,z(1),C("ngForOf",a.diff.added))},Adb=function(a){a&1&&(D(0,"div"),O(1,xdb,2,1,"ng-container",15),O(2,zdb,2,1,"ng-container",15),E());a&2&&(a=L().$implicit,z(1),C("ngIf",a.diff.removed),z(1),C("ngIf",a.diff.added))},Bdb=function(a,b){a&1&&(D(0,"div",14),O(1,vdb,5,3,"span",15),O(2,Adb,3,2,"div",15),E());a&2&&(a=b.$implicit,z(1),C("ngIf","SINGLE_VALUE"==a.diffType),z(1),C("ngIf","COLLECTION"==a.diffType))},Cdb=function(a,b){a&1&&(D(0,"li",5)(1,"div",6),F(2,"b-user-image",7),E(),
D(3,"div",8)(4,"h4"),F(5,"b-user-display-name",9),D(6,"span",10),F(7,"b-formatted-date-time",11),E()(),D(8,"div",12),O(9,Bdb,3,2,"div",13),E()()());a&2&&(a=b.$implicit,b=L(),z(2),C("email",b.userToDisplay(a.author)),z(3),C("email",b.userToDisplay(a.author)),z(2),C("timestamp",a.timestamp),z(2),C("ngForOf",a.diffs))},Ddb=function(a){var b=window.homepagePreferences;a="/"+(a?"dash":"issues");if("NEEDS_ATTENTION"===(null==b?void 0:b.resourceType))return"/attention";if(null==b||!b.resourceId)return a;
switch(b.resourceType){case "BOOKMARK_GROUP":return"/dashboard/"+b.resourceId;case "SAVED_SEARCH":return"/savedsearches/"+b.resourceId;case "HOTLIST":return"/hotlists/"+b.resourceId;default:return a}},Edb=function(a){a&1&&(H(0),P(1," > "),I())},Fdb=function(a,b){a&1&&(H(0),D(1,"a",7),P(2),E(),O(3,Edb,2,0,"ng-container",3),I());a&2&&(a=b.$implicit,b=b.last,z(1),fg("aria-label","View recent issues in ",a.name,""),C("routerLinkObj",a.route),z(1),Bg(a.name),z(1),C("ngIf",!b))},Gdb=function(a){a&1&&(D(0,
"span"),P(1," [Archived]"),E())},Hdb=function(a){a&1&&(D(0,"div",5),O(1,Fdb,4,4,"ng-container",6),R(2,"async"),O(3,Gdb,2,0,"span",3),R(4,"async"),E());a&2&&(a=L(),z(1),C("ngForOf",S(2,2,a.componentPath$)),z(2),C("ngIf",S(4,4,a.isArchived$)))},Idb=function(a,b){a&1&&(H(0),D(1,"div",8),F(2,"mat-icon",9),D(3,"div",10),P(4),E()(),D(5,"p",11),P(6),E(),D(7,"p",10),P(8),E(),I());a&2&&(a=b.$implicit,z(4),Bg(a.name),z(2),Q("Component ID: ",a.componentId,""),z(2),Bg(a.description))},Jdb=function(a,b){a&1&&
(D(0,"div",12)(1,"a",13),P(2,"View recent open issues"),E(),D(3,"a",14),P(4,"View component settings"),E(),D(5,"a",15),P(6,"Create issue in this component"),E()());a&2&&(a=b.$implicit,z(1),C("routerLinkObj",a.recentIssues),z(2),C("routerLinkObj",a.componentSettings),z(2),C("routerLinkObj",a.createIssue))},Kdb=function(a){a&1&&(D(0,"a",15),P(1," Create Component "),E())},Ldb=function(a){a&1&&(D(0,"p",19),P(1," None found. "),D(2,"a",20),P(3,"Learn More"),E()())},Mdb=function(a){a&1&&(H(0),F(1,"b-component-path-card",
31,32),I());if(a&2){var b=N(2);a=L().$implicit;z(1);C("onedevIsHovercardReady",b.init)("componentId",a.componentId)}},Ndb=function(a,b){a&1&&(D(0,"li")(1,"a",21)(2,"div",22)(3,"span",23),P(4),F(5,"b-access-level-indicator",24)(6,"b-tracker-chip-smart",25),E(),D(7,"p",26),P(8),E()(),D(9,"div",27)(10,"a",28),P(11," Edit "),E(),D(12,"a",28),P(13," Create Issue "),E()()(),D(14,"onedev-hovercard",null,29),O(16,Mdb,3,2,"ng-container",30),E()());if(a&2){a=b.$implicit;var c=N(15);b=L(2);z(1);C("routerLinkObj",
b.viewIssues(a.componentId));z(1);C("onedevHovercardTrigger",c);z(2);Q(" ",a.name||a.componentId," ");z(1);C("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);z(1);C("trackerId",a.trackerId)("showHovercard",!1);z(2);Bg(a.description);z(2);C("routerLinkObj",b.componentSettings(a.componentId));z(2);C("routerLinkObj",b.createIssue(a.componentId))}},Odb=function(a,b){a&1&&(H(0),O(1,Ldb,4,0,"p",16),D(2,"ol",17),O(3,Ndb,17,10,"li",18),E(),I());a&2&&(a=b.$implicit,z(1),
C("ngIf",0===a.length),z(2),C("ngForOf",a))},Qdb=function(a){a&1&&(D(0,"a",25),P(1," Learn more "),E());a&2&&(L(),C("href",Pdb(),ue))},Rdb=function(a){var b;return(null!=(b=a.getIssueDigestsList())?b:[]).map(fpa)},Tdb=function(a){var b=new Set,c=0;a=m(a.matchAll(Sdb));for(var d=a.next();!d.done;d=a.next())if(d=m(d.value).next().value,!b.has(d)){c+=d.length;if(2049<c)break;b.add(d)}return[].concat(p(b))},Udb=function(a){a&1&&(D(0,"div"),F(1,"b-spinner"),D(2,"span"),P(3,"Loading..."),E()())},Vdb=function(a){a&
1&&(D(0,"div",2),O(1,Udb,4,0,"div",3),E());if(a&2){a=L();var b=N(2);z(1);C("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},Wdb=function(a){a&1&&(D(0,"span",17)(1,"strong"),P(2),E(),P(3," of "),D(4,"strong"),P(5),E()());a&2&&(a=L(4),z(2),Cg("",a.startIndex,"\u2013",a.endIndex,""),z(3),Bg(a.totalText))},Xdb=function(a){if(a&1){var b=t();D(0,"div",11);O(1,Wdb,6,3,"span",12);D(2,"b-button",13);K("onAction",function(){v(b);var c=L(3);return w(c.fetchIssues(c.page-1))});F(3,"b-icon",14);E();D(4,"b-button",
15);K("onAction",function(){v(b);var c=L(3);return w(c.fetchIssues(c.page+1))});F(5,"b-icon",16);E()()}a&2&&(a=L(3),z(1),C("ngIf",!a.isRefreshing),z(1),C("disabled",1>=a.page),z(2),C("disabled",a.page>=a.numPages))},Ydb=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L(3);return w(c.triggerSimilarIssuesSurvey())});F(1,"mat-icon",19);E()}},Zdb=function(a){a&1&&(D(0,"li")(1,"h3"),P(2),E(),O(3,Xdb,6,3,"div",9),O(4,Ydb,2,0,"button",10),E());a&2&&(a=L(2),z(2),Bg(a.getHeader()),
z(1),C("ngIf",!a.enableSimilarIssues),z(1),C("ngIf",a.showSuggestedDupes))},$db=function(a){a&1&&(D(0,"div",20),P(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),E())},aeb=function(a){if(a&1){var b=t();D(0,"b-issue-card",26,27);K("init",function(){v(b);var e=L(4);return w(e.trackTitleHoverOver())});E()}if(a&2){var c=N(1);a=L().$implicit;var d=L(3);C("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+
d.getGroupName())}},beb=function(a,b){if(a&1){var c=t();D(0,"li",22)(1,"onedev-hovercard",null,23);O(3,aeb,2,3,"b-issue-card",24);E();D(4,"a",25);K("click",function(){v(c);var e=L(3);return w(e.trackTitleClick())});P(5);E()()}if(a&2){a=b.$implicit;var d=N(2);b=L(3);C("ngClass",b.enableSimilarIssues?"magic-box-item-new":"magic-box-item");z(4);yg("href","issues/",a.id,"",ue);C("onedevHovercardTrigger",d);z(1);Q(" ",a.title," ")}},ceb=function(a){a&1&&(H(0),O(1,beb,6,4,"li",21),I());a&2&&(a=L(2),z(1),
C("ngForOf",a.magicBoxIssues))},deb=function(a){a&1&&(D(0,"li"),P(1),E());a&2&&(a=L(2),z(1),Q(" No ",a.getHeader().toLowerCase()," found. "))},eeb=function(a){a&1&&(D(0,"li",28)(1,"a",29),P(2," View All Issues \u2192 "),E()());a&2&&(a=L(2),z(1),zg("href",a.viewAllHref,ue))},feb=function(a){if(a&1){var b=t();D(0,"li",30)(1,"button",31);K("click",function(){v(b);var c=L(2);c.fetchIssues(c.page+1);Lp(c.analytics,Mp.MAGIC_BOX,"loadMore");return w()});F(2,"mat-icon",32);P(3," Load more ");E()()}},geb=
function(a){if(a&1){var b=t();D(0,"li",33)(1,"a",29)(2,"button",34);K("click",function(){v(b);var c=L(2);Lp(c.analytics,Mp.MAGIC_BOX,"viewAll");return w()});P(3,"View all ");F(4,"mat-icon",35);E()()()}a&2&&(a=L(2),z(1),zg("href",a.viewAllHref,ue))},heb=function(a){a&1&&(D(0,"li"),F(1,"b-spinner"),D(2,"span"),P(3,"Loading..."),E()())},ieb=function(a){a&1&&(D(0,"ul"),O(1,Zdb,5,3,"li",4),O(2,$db,2,0,"div",5),O(3,ceb,2,1,"ng-container",4),O(4,deb,2,1,"li",4),O(5,eeb,3,1,"li",6),O(6,feb,4,0,"li",7),O(7,
geb,5,1,"li",8),O(8,heb,4,0,"li",4),E());a&2&&(a=L(),z(1),C("ngIf",!a.hideHeader),z(1),C("ngIf",a.showSuggestedDupes),z(1),C("ngIf",!a.isRefreshing),z(1),C("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),z(1),C("ngIf",!a.isRefreshing&&1<a.numPages&&!a.enableSimilarIssues&&a.viewAllHref),z(1),C("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),z(1),C("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),z(1),C("ngIf",a.isRefreshing))},jeb=function(a){a&
1&&tg(0)},leb=function(a){a&1&&(H(0),O(1,jeb,1,0,"ng-container",8),I());a&2&&(a=L(),z(1),C("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Gg(2,keb,a.value)))},meb=function(a){a&1&&P(0);a&2&&(a=L(),Bg(a.value||"--"))},neb=function(a){a&1&&(yd(),D(0,"svg",9),F(1,"path",10),E());a&2&&(a=L(),pg("centered",a.centerEditIcon))},oeb=function(a){a&1&&F(0,"textarea",15);a&2&&(a=L(3),C("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},peb=function(a){a&1&&F(0,"input",16);
a&2&&(a=L(3),C("formControl",a.editingValue))},qeb=function(a){a&1&&(H(0),D(1,"div",12),O(2,oeb,1,2,"textarea",13),O(3,peb,1,1,"ng-template",null,14,$g),E(),I());if(a&2){var b=N(4);a=L(2);z(2);C("ngIf",a.allowMultipleLines)("ngIfElse",b)}},reb=function(a){a&1&&tg(0)},teb=function(a){a&1&&(H(0),O(1,reb,1,0,"ng-container",8),I());a&2&&(a=L(2),z(1),C("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Gg(2,seb,a.editingValue)))},ueb=function(a){a&1&&(O(0,qeb,5,2,"ng-container",11),O(1,teb,
2,4,"ng-container",11));a&2&&(a=L(),C("ngIf",!a.editorTemplate),z(1),C("ngIf",a.editorTemplate))},veb=function(){},web=function(a){a&1&&F(0,"span",2);a&2&&(a=L(),C("@indicatorRotate",a._getExpandedState()))},xeb=function(a){if(a&1){var b=t();D(0,"b-hotlist-picker",24);K("onApply",function(c){v(b);var d=L();return w(d.handleHotlistPickerSave(c))})("onLoad",function(c){v(b);var d=L();return w(d.loadHotlist(c))})("onCreate",function(c){v(b);var d=L();return w(d.createHotlist(c))});E()}a&2&&(a=L(),C("selectedHotlistIds",
a.selectedHotlistIds)("choices",a.hotlists))},Ceb=function(a){a&1&&(D(0,"div",25),F(1,"b-icon",26),D(2,"span"),P(3),E(),D(4,"a",27),P(5,"View access settings"),E()());a&2&&(a=L(),C("ngClass",Hg(5,yeb,zeb(a),Aeb(a))),z(1),C("name","alert")("size","small"),z(2),Q("",Beb(a),"\u00a0"),z(1),C("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",ue))},Feb=function(a){a&1&&(D(0,"div",30),P(1),E());a&2&&(a=L(2),z(1),Q(" Error: The following required field(s) have not been filled: ",
Deb(a).concat(Eeb(a)).join(", ")," "))},Geb=function(a){a&1&&(D(0,"li"),P(1),E());if(a&2){a=L(3);z(1);var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||b.push('"Parents"');Bg(b?b.join(" & ")+" must be"+((1>=b.length?" a":"")+" comma separated list")+((1<b.length?"s":"")+" of issue IDs"):"")}},Heb=function(a){a&1&&(D(0,"li"),P(1),E());a&2&&(a=L(3),z(1),Q(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", "),
" "))},Ieb=function(a){a&1&&(D(0,"div",30),P(1," Error: The following field(s) have invalid values: "),D(2,"ul"),O(3,Geb,2,1,"li",20),O(4,Heb,2,1,"li",20),E()());a&2&&(a=L(2),z(3),C("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),z(1),C("ngIf",!a.isCollaboratorsValid))},Jeb=function(a){a&1&&(D(0,"div",30),P(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),E())},Leb=function(a){a&1&&(D(0,"div",28),O(1,Feb,2,1,"div",
29),O(2,Ieb,5,2,"div",29),O(3,Jeb,2,0,"div",29),E());a&2&&(a=L(),z(1),C("ngIf",0!==Deb(a).length||0!==Eeb(a).length),z(1),C("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),z(1),C("ngIf",Keb(a.comment)))},Meb=function(a,b){if(a&1){var c=t();D(0,"div",33)(1,"b-hotlist-chip",34);K("removeHotlist",function(){var d=v(c).$implicit,e=L(2);return w(e.removeHotlist(d.hotlistId))});E()()}a&2&&(a=b.$implicit,z(1),C("hotlist",a))},Neb=function(a){a&
1&&(D(0,"div",31),O(1,Meb,2,1,"div",32),E());a&2&&(a=L(),z(1),C("ngForOf",a.selectedHotlists))},Oeb=function(a,b){if(a&1){var c=t();D(0,"button",43);K("click",function(){var d=v(c).$implicit,e=L(2);e.selectedTemplate=d;e.getIssueTemplate();return w()});P(1);E()}a&2&&(a=b.$implicit,z(1),Bg(a.name))},Peb=function(a){if(a&1){var b=t();D(0,"button",43);K("click",function(){v(b);var c=L(2);c.selectedTemplate=c.availableExistingIssueTemplate;c.getIssueTemplate();return w()});P(1);E()}a&2&&(a=L(2),z(1),
Bg(a.availableExistingIssueTemplate.name))},Qeb=function(a){a&1&&(D(0,"div",35)(1,"div",14)(2,"label",36),P(3,"Template"),E()(),D(4,"button",37),P(5),F(6,"b-icon",38),E(),D(7,"mat-menu",39,40),O(9,Oeb,2,1,"button",41),O(10,Peb,2,1,"button",42),E()());if(a&2){var b=N(8);a=L();var c;z(4);C("matMenuTriggerFor",b);z(1);Bg(null!==(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");z(2);C("overlapTrigger",!0);z(2);C("ngForOf",a.availablePredefinedTemplates);z(1);C("ngIf",a.availableExistingIssueTemplate)}},
Reb=function(a){a&1&&(D(0,"div",44)(1,"div",30),P(2," You do not have permission to create issues in this component. "),E()())},Seb=function(a){if(a&1){var b=t();D(0,"div",66)(1,"b-magic-box",67);K("headerChange",function(c){v(b);var d=L(3);return w(d.magicBoxHeader=c)});E()()}a&2&&(a=L(3),z(1),C("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},Ueb=function(a){if(a&1){var b=
t();D(0,"div",62)(1,"div",63)(2,"a",64);K("click",function(){v(b);var c=L(2);return w(Teb(c))})("keydown.enter",function(){v(b);var c=L(2);return w(Teb(c))})("keydown.space",function(){v(b);var c=L(2);return w(Teb(c))});P(3);E()();O(4,Seb,2,6,"div",65);E()}a&2&&(a=L(2),z(3),Cg(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),z(1),C("ngIf",!a.showRecentIssuesInline&&a.issue.componentId))},Veb=function(a,b){if(a&1){var c=t();D(0,"button",71);K("click",function(){var d=
v(c).$implicit,e=L(3);return w(e.setPriority(d.value))});P(1);E()}a&2&&(a=b.$implicit,z(1),Bg(a.displayText))},Web=function(a){if(a&1){var b=t();D(0,"div",35)(1,"div",14)(2,"label",68);P(3,"Priority");E()();D(4,"button",69);P(5);F(6,"b-icon",38);E();D(7,"mat-menu",39,70)(9,"button",71);K("click",function(){v(b);var d=L(2);return w(d.setPriority())});P(10,"--");E();O(11,Veb,2,1,"button",72);E()()}if(a&2){var c=N(8);a=L(2);z(4);C("matMenuTriggerFor",c);dg("aria-label","Priority, required"+(a.issue.priority?
", "+a.issue.priority:""));z(1);Q("",a.issue.priority?a.issue.priority:"--"," ");z(2);C("overlapTrigger",!0);z(4);C("ngForOf",a.priorityChoices)}},Yeb=function(a,b){if(a&1){var c=t();D(0,"button",76);K("click",function(){var d=v(c).$implicit,e=L(3);return w(Xeb(e,d.value))});P(1);E()}a&2&&(a=b.$implicit,zg("title",a.altText||""),z(1),Bg(a.displayText))},Zeb=function(a){if(a&1){var b=t();D(0,"div",35)(1,"div",14)(2,"label",73);P(3,"Type");E()();D(4,"button",69);R(5,"enumToHuman");P(6);R(7,"enumToHuman");
F(8,"b-icon",38);E();D(9,"mat-menu",39,74)(11,"button",71);K("click",function(){v(b);var d=L(2);return w(Xeb(d))});P(12,"--");E();O(13,Yeb,2,2,"button",75);E()()}if(a&2){var c=N(10);a=L(2);z(4);C("matMenuTriggerFor",c);dg("aria-label","Type, required"+(a.issue.type?S(5,5,", "+a.issue.type):""));z(2);Q("",S(7,7,a.issue.type||"--")," ");z(3);C("overlapTrigger",!0);z(4);C("ngForOf",a.issueTypeChoices)}},$eb=function(a){if(a&1){var b=t();D(0,"div",80)(1,"div",14)(2,"label",81);P(3,"Assignee");E()();D(4,
"div",82)(5,"input",83);K("ngModelChange",function(c){v(b);var d=L(3);return w(d.assigneeText=c)});E()()()}a&2&&(a=L(3),z(5),C("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},afb=function(a){a&1&&(D(0,"mat-error"),P(1," Collaborators only accepts individual users. "),E())},bfb=function(a){if(a&1){var b=t();D(0,"div",84)(1,"div",14)(2,"label",85);P(3,"Collaborators");E();F(4,"mat-icon",86);E();D(5,"div",82)(6,"input",87);K("ngModelChange",function(c){v(b);var d=L(3);return w(d.collaboratorsText=
Ct(c))});E()();O(7,afb,2,0,"mat-error",20);E()}a&2&&(a=L(3),z(6),pg("invalid",!a.isCollaboratorsValid),C("ngModel",Dt(a.collaboratorsText))("bContactAutocomplete","MULTI"),z(1),C("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},cfb=function(a){if(a&1){var b=t();D(0,"div",88)(1,"div",14)(2,"label",89);P(3,"CC");E()();D(4,"div",82)(5,"input",90);K("ngModelChange",function(c){v(b);var d=L(3);return w(d.ccsText=Ct(c))});E()()()}a&2&&(a=L(3),z(5),C("ngModel",Dt(a.ccsText))("bContactAutocomplete","MULTI"))},
dfb=function(a){a&1&&(H(0),D(1,"div",12),O(2,$eb,6,2,"div",77),O(3,bfb,8,5,"div",78),E(),D(4,"div",12),O(5,cfb,6,2,"div",79),E(),I());a&2&&(a=L(2),z(2),C("ngIf",a.canEditIssuesInComponent),z(1),C("ngIf",a.canEditIssuesInComponent),z(2),C("ngIf",a.canEditIssuesInComponent))},efb=function(a){if(a&1){var b=t();D(0,"div",80)(1,"div",14)(2,"label",81);P(3,"Assignee");E()();D(4,"div",82)(5,"input",83);K("ngModelChange",function(c){v(b);var d=L(3);return w(d.assigneeText=c)});E()()()}a&2&&(a=L(3),z(5),C("ngModel",
a.assigneeText)("bContactAutocomplete","SINGLE"))},ffb=function(a){if(a&1){var b=t();D(0,"div",88)(1,"div",14)(2,"label",89);P(3,"CC");E()();D(4,"div",82)(5,"input",90);K("ngModelChange",function(c){v(b);var d=L(3);return w(d.ccsText=Ct(c))});E()()()}a&2&&(a=L(3),z(5),C("ngModel",Dt(a.ccsText))("bContactAutocomplete","MULTI"))},gfb=function(a){a&1&&(H(0),D(1,"div",12),O(2,efb,6,2,"div",77),O(3,ffb,6,2,"div",79),E(),I());a&2&&(a=L(2),z(2),C("ngIf",a.canEditIssuesInComponent),z(1),C("ngIf",a.canEditIssuesInComponent))},
hfb=function(a){if(a&1){var b=t();D(0,"div",12)(1,"div",13)(2,"b-issue-access-limits-dropdown",91);K("updatedAccessLimitLevel",function(c){v(b);var d=L(2);return w(d.onAccessLimitLevelSelected(c))});E()()()}a&2&&(a=L(2),z(2),C("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel))},ifb=function(a,b){if(a&1){var c=t();D(0,"button",71);K("click",function(){var d=v(c).$implicit,e=L(3);return w(e.issue.severity=e.toIssueSeverity(d.value))});P(1);E()}a&2&&(a=b.$implicit,z(1),Bg(a.displayText))},
jfb=function(a){a&1&&(D(0,"span"),P(1,"*"),E())},kfb=function(a){a&1&&(D(0,"span"),P(1,"*"),E())},lfb=function(a){a&1&&(D(0,"span"),P(1,"*"),E())},nfb=function(a){if(a&1){var b=t();D(0,"div",99)(1,"div",14)(2,"label",117);P(3," Parents ");O(4,lfb,2,0,"span",20);E()();D(5,"input",118);K("ngModelChange",function(c){v(b);var d=L(3);d.parentIssueIds=mfb(d,c).map(Cp);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(Dt(d.parentIssueIds));return w()});E()()}a&2&&(a=L(3),z(4),C("ngIf",!a.isParentIssueIdsValid),
z(1),C("ngModel",Dt(a.parentIssueIds)))},ofb=function(a){a&1&&(D(0,"span"),P(1,"*"),E())},pfb=function(a){if(a&1){var b=t();D(0,"div",99)(1,"div",14)(2,"label",119);P(3," Children ");O(4,ofb,2,0,"span",20);E()();D(5,"input",120);K("ngModelChange",function(c){v(b);var d=L(3);d.childrenIssueIds=mfb(d,c).map(Cp);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(Dt(d.childrenIssueIds));return w()});E()()}a&2&&(a=L(3),z(4),C("ngIf",!a.isChildIssueIdsValid),z(1),C("ngModel",Dt(a.childrenIssueIds)))},
qfb=function(a){if(a&1){var b=t();D(0,"div",99)(1,"div",14)(2,"label",121);P(3," Access level ");E()();D(4,"b-issue-access-limits-dropdown",122);K("updatedAccessLimitLevel",function(c){v(b);var d=L(3);return w(d.onAccessLimitLevelSelected(c))});E()()}a&2&&(a=L(3),z(4),C("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel))},rfb=function(a){if(a&1){var b=t();D(0,"onedev-text-field",126);K("valueChange",function(d){v(b);var e=L(2).$implicit,f=L(3);return w(f.setCustomFieldValue(e,d))});
E()}if(a&2){a=L(2).$implicit;var c=L(3);yg("id","bv2-custom-field-",a.customFieldId,"");C("value",a.textValue);dg("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},sfb=function(a){if(a&1){var b=t();D(0,"onedev-numeric-field",126);K("valueChange",function(d){v(b);var e=L(2).$implicit,f=L(3);return w(f.setCustomFieldValue(e,d))});E()}if(a&2){a=L(2).$implicit;var c=L(3);yg("id","bv2-custom-field-",a.customFieldId,"");C("value",a.numericValue);dg("required",
c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},tfb=function(a){if(a&1){var b=t();D(0,"div")(1,"bv2-input-date-picker",127);K("boundValueChange",function(d){v(b);var e=L(2).$implicit,f=L(3);return w(f.setCustomFieldValue(e,d))});E()()}if(a&2){a=L(2).$implicit;var c=L(3);z(1);zg("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");C("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},
ufb=function(a){if(a&1){var b=t();D(0,"onedev-single-select",128);K("valueChange",function(d){v(b);var e=L(2).$implicit,f=L(3);return w(f.setCustomFieldValue(e,d))});E()}if(a&2){a=L(2).$implicit;var c=L(3);C("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);dg("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},vfb=function(a,b){a&1&&(D(0,"div"),O(1,rfb,1,4,"onedev-text-field",124),O(2,sfb,1,4,"onedev-numeric-field",124),O(3,tfb,2,4,"div",20),
O(4,ufb,1,4,"onedev-single-select",125),E());a&2&&(a=b.ngIf,b=L(4),z(1),C("ngIf",a===b.FieldType.TEXT),z(1),C("ngIf",a===b.FieldType.NUMERIC),z(1),C("ngIf",a===b.FieldType.DATE),z(1),C("ngIf",a===b.FieldType.ENUM))},wfb=function(a,b){if(a&1){var c=t();D(0,"div")(1,"b-list-field",129);K("valuesChange",function(e){v(c);var f=L().$implicit,h=L(3);return w(h.setCustomFieldValue(f,e.values))});E()()}if(a&2){a=b.ngIf;b=L().$implicit;var d=L(3);z(1);C("defaultLineCount",2)("type",a)("values",d.getListFieldValues(b))("enumChoices",
d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);dg("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},yfb=function(a,b){a&1&&(D(0,"div",99)(1,"div",14)(2,"label",123),P(3),E()(),O(4,vfb,5,4,"div",20),O(5,wfb,2,6,"div",20),E());if(a&2){a=b.$implicit;b=L(3);z(2);yg("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];zg("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+"]");C("ngClass",Gg(7,xfb,
b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");dg("aria-label",d);z(1);Q(" ",b.getCustomFieldName(a)," ");z(1);C("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));z(1);C("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},zfb=function(a){if(a&1){var b=t();D(0,"mat-expansion-panel",92)(1,"mat-expansion-panel-header")(2,"mat-panel-title");
P(3," Advanced fields (Required fields marked with");D(4,"span",93);P(5,"*");E();P(6,") ");E()();D(7,"div",94)(8,"div",95)(9,"div",14)(10,"label",96);P(11," Severity ");E()();D(12,"button",97);P(13);F(14,"b-icon",38);E();D(15,"mat-menu",39,98);O(17,ifb,2,1,"button",72);E()();D(18,"div",99)(19,"div",14)(20,"label",100);P(21," Found in ");E()();D(22,"input",101);K("ngModelChange",function(d){v(b);var e=L(2);return w(e.issue.foundInVersion=Ct(d))});E()();D(23,"div",102)(24,"div",14)(25,"label",103);
P(26," In prod ");E()();D(27,"mat-slide-toggle",104);K("ngModelChange",function(d){v(b);var e=L(2);return w(e.issue.inProd=d)});E()();F(28,"div",54);D(29,"div",99)(30,"div",14)(31,"label",105);P(32," Reporter ");E()();D(33,"input",106);K("ngModelChange",function(d){v(b);var e=L(2);return w(e.reporterText=d)});E()();D(34,"div",99)(35,"div",14)(36,"label",107);P(37," Verifier ");E()();D(38,"input",108);K("ngModelChange",function(d){v(b);var e=L(2);return w(e.verifierText=d)});E()();D(39,"div",99)(40,
"div",14)(41,"label",109);P(42," Targeted to ");E()();D(43,"input",110);K("ngModelChange",function(d){v(b);var e=L(2);return w(e.issue.targetedToVersion=Ct(d))});E()();F(44,"div",54);D(45,"div",99)(46,"div",14)(47,"label",111);P(48," Blocked by ");O(49,jfb,2,0,"span",20);E()();D(50,"input",112);K("ngModelChange",function(d){v(b);var e=L(2);e.issue.blockedByIssueId=mfb(e,d);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(Dt(e.issue.blockedByIssueId));return w()});E()();D(51,"div",99)(52,"div",
14)(53,"label",113);P(54," Blocking ");O(55,kfb,2,0,"span",20);E()();D(56,"input",114);K("ngModelChange",function(d){v(b);var e=L(2);e.issue.blockingIssueId=mfb(e,d);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(Dt(e.issue.blockingIssueId));return w()});E()();O(57,nfb,6,2,"div",115);O(58,pfb,6,2,"div",115);O(59,qfb,5,2,"div",115);F(60,"div",54);O(61,yfb,6,9,"div",116);E()()}if(a&2){var c=N(16);a=L(2);z(12);C("matMenuTriggerFor",c);dg("aria-label","Severity"+(a.issue.severity?", "+a.issue.severity:
""));z(1);Bg(a.issue.severity);z(2);C("overlapTrigger",!0);z(2);C("ngForOf",a.severityChoices);z(5);C("ngModel",Dt(a.originalIssueCopy.foundInVersion));z(5);C("ngModel",a.issue.inProd);z(6);C("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");z(5);C("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");z(5);C("ngModel",Dt(a.originalIssueCopy.targetedToVersion));z(6);C("ngIf",!a.isBlockedByIssueIdValid);z(1);C("ngModel",Dt(a.issue.blockedByIssueId));z(5);C("ngIf",!a.isBlockingIssueIdValid);
z(1);C("ngModel",Dt(a.issue.blockingIssueId));z(1);C("ngIf",!a.sessionIsExternal);z(1);C("ngIf",!a.sessionIsExternal);z(1);C("ngIf",a.enableIssueAccessLimits&&!vr(a.selectedComponent));z(2);C("ngForOf",a.issue.customField)}},Afb=function(a){a&1&&(D(0,"div",25),F(1,"b-icon",26),D(2,"span"),P(3),E(),D(4,"a",27),P(5,"View access settings"),E()());a&2&&(a=L(2),C("ngClass",Hg(5,yeb,zeb(a),Aeb(a))),z(1),C("name","alert")("size","small"),z(2),Q("",Beb(a),"\u00a0"),z(1),C("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,
"access"):"",ue))},Bfb=function(a){if(a&1){var b=t();D(0,"div",130)(1,"b-recaptcha",131);K("onUpdate",function(c){v(b);var d=L(2);return w(d.recaptchaResponse=c)});E()()}},Ffb=function(a){if(a&1){var b=t();D(0,"div");O(1,Ueb,5,3,"div",45);D(2,"div",12)(3,"div",13)(4,"div",14)(5,"label",46);P(6,"Title");E()();D(7,"div",47)(8,"input",48);K("ngModelChange",function(c){v(b);var d=L();return w(d.setTitle(c))});E()()();O(9,Web,12,5,"div",18);O(10,Zeb,14,9,"div",18);E();O(11,dfb,6,3,"ng-container",20);O(12,
gfb,4,2,"ng-container",20);D(13,"div",49)(14,"div",12)(15,"div",13)(16,"div",14)(17,"label",50);P(18,"Description");E()();D(19,"b-comment-box",51);K("commentChange",function(c){v(b);var d=L();return w(d.comment=c)})("onChange",function(){v(b);var c=L();return w(c.saveCommentDraft())})("onSubmit",function(c){v(b);var d=L();return w(Cfb(d,!c))})("onRestrict",function(){v(b);var c=L();return w(c.showNewContentJudgementDialog())});D(20,"b-markdown-toggle",52);K("change",function(c){v(b);var d=L();return w(d.comment.formattingMode=
c)});E()()()();O(21,hfb,3,2,"div",53);F(22,"div",54);D(23,"div",55);O(24,zfb,62,20,"mat-expansion-panel",56);E();O(25,Afb,6,8,"div",9);O(26,Bfb,2,0,"div",57);D(27,"div",58)(28,"b-button",59);K("onAction",function(){v(b);var c=L();return w(Cfb(c,!0))});P(29," Create ");E();D(30,"b-button",60);K("onAction",function(){v(b);var c=L();return w(Cfb(c,!1))});P(31," Create & Start Another ");E();D(32,"b-button",61);K("onAction",function(){v(b);var c=L();c.draftStore.$window.sessionStorage.removeItem(tp("0"));
c.$route.reload();return w()});P(33," Discard ");E()()()()}a&2&&(a=L(),z(1),C("ngIf",a.selectedComponent),z(7),C("ngModel",a.issue.title)("bFocus",a.newIssueStarted),z(1),C("ngIf",a.canEditIssuesInComponent),z(1),C("ngIf",a.canEditIssuesInComponent),z(1),C("ngIf",a.enableCollaborators),z(1),C("ngIf",!a.enableCollaborators),z(7),C("supportsPreview",!0)("comment",a.comment)("disabled",a.isSaving)("judgementForNewContent",a.judgementForNewContent)("componentId",null==a.selectedComponent?null:a.selectedComponent.componentId)("placeholder",
a.piiWarningMessage)("idForAriaLabel",a.descriptionBoxId)("audience",a.audience)("showRestrictionOptions",a.canEditIssuesInComponent)("ngClass",Gg(25,Dfb,Keb(a.comment))),z(1),C("initialValue",a.comment.formattingMode),z(1),C("ngIf",a.canEditIssuesInComponent&&a.enableIssueAccessLimits&&!!vr(a.selectedComponent)),z(3),C("ngIf",a.canEditIssuesInComponent),z(1),C("ngIf",zeb(a)||Aeb(a)),z(1),C("ngIf",a.enableRecaptcha),z(2),C("disabled",Efb(a)),z(2),C("disabled",Efb(a)),z(2),C("disabled",Efb(a)))},Gfb=
function(a,b){a&1&&(D(0,"h2",132),P(1,"This component has a default description"),E(),D(2,"mat-dialog-content"),P(3," You have already entered a description, but the component you chose has a default description: "),D(4,"div",133),P(5),E()(),D(6,"mat-dialog-actions")(7,"button",134),P(8,"Use component description"),E(),D(9,"button",135),P(10,"Keep my description"),E()());a&2&&(a=b.$implicit,z(5),Bg(a),z(2),C("mat-dialog-close",!0))},Hfb=function(a,b){b.assigneeText=Gj(a.assigneeUser);b.reporterText=
Gj(a.reporterUser);b.verifierText=Gj(a.verifierUser);b.collaboratorsText=Hj(a.collaboratorsUsers);b.ccsText=Hj(a.ccUsers)},Jfb=function(a,b){var c=a.assigneeText;null===c?c=null:(c=c.trim(),c=c.endsWith(",")?c.slice(0,c.length-1):c);a.assigneeText=c;null!=a.assigneeText&&(b.assigneeUser=Oj(a.assigneeText));null!=a.reporterText&&(b.reporterUser=Oj(a.reporterText));null!=a.verifierText&&(b.verifierUser=Oj(a.verifierText));a.collaboratorsText&&(c=Ifb(a.collaboratorsText),c.length?b.collaboratorsUsers=
c:b.collaboratorsUsers=void 0);a.ccsText&&(a=Ifb(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},Ifb=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())(c=Oj(c.value))&&b.push(c);return b},Lfb=function(a,b){for(var c=m(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=Kfb[d];"customField"===d||mj(e,f)||(Array.isArray(e)?a[d]?(e=tna([].concat(p(e),p(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},Mfb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},Nfb=
function(a){var b={};a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=c.allowedValue.map(function(d){return{value:d,displayText:d}}));return b},Ofb=function(a){if(a&1){var b=t();D(0,"b-star-toggle",12);K("starClicked",function(){v(b);var c=L(2);return w(c.toggleStar())});E()}a&2&&(a=L(2),C("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},Pfb=function(a){a&1&&F(0,"b-star-toggle",13);a&2&&C("starMessage",
"You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},Qfb=function(a){if(a&1){var b=t();D(0,"div")(1,"div",7);O(2,Ofb,1,3,"b-star-toggle",8);O(3,Pfb,1,4,"b-star-toggle",9);D(4,"span",10);P(5);D(6,"span")(7,"button",11);K("click",function(){v(b);var c=L();return w(c.editBookmarkGroup())});E()()()()()}a&2&&(a=L(),z(2),C("ngIf",!a.isAdmin),z(1),C("ngIf",a.isAdmin),z(2),
Q("",a.bookmarkGroup.name," "))},Tfb=function(a){if(a&1){var b=t();D(0,"b-saved-search-panel",17);K("focusedRowIndexChange",function(f){v(b);var h=L().$implicit,l=L();return w(Rfb(l,h,f))})("selectionChange",function(f){v(b);var h=L(2);return w(Sfb(h,f))})("resultsLoaded",function(f){v(b);var h=L(2);return w(h.loadHotlists(f))});E()}if(a&2){var c=L();a=c.$implicit;var d=c.first;c=c.last;var e=L();C("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",
d)("last",c)}},Ufb=function(a){if(a&1){var b=t();D(0,"b-hotlist-panel",18);K("focusedRowIndexChange",function(f){v(b);var h=L().$implicit,l=L();return w(Rfb(l,h,f))})("selectionChange",function(f){v(b);var h=L(2);return w(Sfb(h,f))})("resultsLoaded",function(f){v(b);var h=L(2);return w(h.loadHotlists(f))});E()}if(a&2){var c=L();a=c.$implicit;var d=c.first;c=c.last;var e=L();C("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",
c)}},Vfb=function(a,b){a&1&&(D(0,"div",14),O(1,Tfb,1,6,"b-saved-search-panel",15),O(2,Ufb,1,6,"b-hotlist-panel",16),E());a&2&&(C("ngSwitch",b.$implicit.type),z(1),C("ngSwitchCase","SAVED_SEARCH"),z(1),C("ngSwitchCase","HOTLIST"))},Wfb=function(a){if(a&1){var b=t();D(0,"button",8);K("click",function(){v(b);var c=L();return w(c.archive())});P(1," Archive bookmark group ");E()}a&2&&(a=L(),C("disabled",a.hasUnsavedChanges()||a.isSaving()))},Xfb=function(a){if(a&1){var b=t();D(0,"button",8);K("click",
function(){v(b);var c=L();return w(c.unarchive())});P(1," Unarchive bookmark group ");E()}a&2&&(a=L(),C("disabled",a.hasUnsavedChanges()||a.isSaving()))},Yfb=function(a){a&1&&(D(0,"span",32),P(1," (archived) "),E())},$fb=function(a,b){if(a&1){var c=t();D(0,"div")(1,"b-hotlist-chip-smart",48);K("removeHotlist",function(){var d=v(c).ngIf,e=L(4);return w(Zfb(e,d))});E()()}a&2&&(a=b.ngIf,z(1),C("id",a))},bgb=function(a,b){if(a&1){var c=t();D(0,"div",49)(1,"a",50);P(2);E();D(3,"span",51);K("click",function(){var e=
v(c).ngIf,f=L(4);return w(agb(f,e))})("keydown.enter",function(){var e=v(c).ngIf,f=L(4);return w(agb(f,e))})("keydown.space",function(){var e=v(c).ngIf,f=L(4);return w(agb(f,e))});P(4," \u00d7 ");E()()}if(a&2){a=b.ngIf;b=L().$implicit;var d=L(3);z(1);C("href",d.paths.viewSavedSearch(a),ue)("matTooltip","Go to saved search: "+d.getDisplayName(b));z(1);Q(" S: ",d.getDisplayName(b)," ");z(1);C("matTooltip","Remove item: "+d.getDisplayName(b));dg("aria-label","Remove item: "+d.getDisplayName(b))}},cgb=
function(a){a&1&&(D(0,"span",52),P(1,"<None>"),E())},dgb=function(a,b){a&1&&(D(0,"div",45),O(1,$fb,2,1,"div",7),O(2,bgb,5,5,"div",46),O(3,cgb,2,0,"span",47),E());if(a&2){a=b.$implicit;b=L(3);z(1);var c;var d="HOTLIST"===a.resourceType?null==(c=a.hotlistId)?void 0:c.toString():void 0;C("ngIf",d);z(1);C("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);z(1);C("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},fgb=function(a,b){if(a&1){var c=t();D(0,
"button",61);K("click",function(){var d=v(c).$implicit,e=L(5);return w(egb(e,d))});P(1);E()}a&2&&(a=b.$implicit,z(1),Q("",a.name," "))},ggb=function(a){a&1&&O(0,fgb,2,1,"button",60);a&2&&(a=L(4),C("ngForOf",a.savedSearchChoices))},igb=function(a){a&1&&(D(0,"div",53)(1,"label",54),P(2,"Add from saved searches:"),E(),D(3,"button",55)(4,"span",56),P(5,"Select"),E(),F(6,"mat-icon",57),E(),D(7,"mat-menu",null,58),O(9,ggb,1,1,"ng-template",59),E()());if(a&2){var b=N(8);z(3);C("matMenuTriggerFor",b)}},ngb=
function(a){if(a&1){var b=t();H(0);D(1,"div",30)(2,"label",33)(3,"span",18);P(4,"Selected items");E()();D(5,"div",34,35);O(7,dgb,4,3,"div",36);E()();D(8,"div",37)(9,"div",38)(10,"label",39);P(11,"Add hotlist from favorites:");E();D(12,"b-hotlist-picker",40);K("onApply",function(c){v(b);var d=L(2);return w(jgb(d,c))})("onCreate",function(c){v(b);var d=L(2);return w(kgb(d,c))})("onLoad",function(c){v(b);var d=L(2);return w(lgb(d,c))});E()();D(13,"div",41)(14,"label",42);P(15,"Add hotlist by query:");
E();D(16,"b-hotlist-search",43);K("itemSelect",function(c){v(b);var d=L(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(mgb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return w()});E()();O(17,igb,10,1,"div",44);E();I()}a&2&&(a=L(2),z(7),C("ngForOf",a.bookmarkGroupUnderEdit.item),z(5),C("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),z(4),C("showGroups",!1)("allowStarring",
!1),z(1),C("ngIf",0<a.savedSearchChoices.length))},pgb=function(a){a&1&&(D(0,"span"),P(1),D(2,"a",65),P(3),E()());if(a&2){a=L().$implicit;var b=L(3);z(1);Q(" Hotlist ",a.hotlistId,": ");z(1);C("href",ogb(b,a),ue);z(1);Q(" ",a.name||"(name not available)"," ")}},qgb=function(a){a&1&&(D(0,"span"),P(1),D(2,"a",65),P(3),E()());if(a&2){a=L().$implicit;var b=L(3);z(1);Q(" Saved search ",a.savedSearchId,": ");z(1);C("href",ogb(b,a),ue);z(1);Q(" ",a.name||"(name not available)"," ")}},rgb=function(a,b){a&
1&&(D(0,"li"),O(1,pgb,4,3,"span",7),O(2,qgb,4,3,"span",7),E());a&2&&(a=b.$implicit,z(1),C("ngIf","HOTLIST"===a.resourceType),z(1),C("ngIf","SAVED_SEARCH"===a.resourceType))},sgb=function(a){a&1&&(D(0,"div",62)(1,"label")(2,"span",18),P(3,"Items"),E()(),D(4,"div",63)(5,"ul"),O(6,rgb,3,2,"li",64),E()()());a&2&&(a=L(2),z(6),C("ngForOf",a.bookmarkGroup.item))},tgb=function(a){if(a&1){var b=t();D(0,"div",66)(1,"button",67);K("click",function(){v(b);var c=L(2);return w(c.saveMetadata())});P(2," Update ");
E();D(3,"button",68);K("click",function(){v(b);var c=L(2);return w(c.revertMetadataChanges())});P(4," Revert changes ");E()()}a&2&&(a=L(2),z(1),C("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},ugb=function(a){if(a&1){var b=t();D(0,"div",66)(1,"button",67);K("click",function(){v(b);var c=L(2);return w(c.saveAccessPolicy())});P(2," Update ");E();D(3,"button",68);K("click",function(){v(b);var c=L(2);return w(c.revertAccessPolicyChanges())});P(4," Revert changes ");E()()}a&2&&(a=L(2),z(1),
C("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},ygb=function(a){if(a&1){var b=t();H(0);D(1,"div",9)(2,"h2");P(3);E();O(4,Yfb,2,0,"span",10);D(5,"a",11);P(6," (View Dashboard)");E()();D(7,"mat-tab-group",12);K("selectedIndexChange",function(d){v(b);var e=L();return w(e.selectedTabIndex=d)})("selectedIndexChange",function(d){v(b);var e=L();return w(e.tabChange(d))});D(8,"mat-tab",13)(9,"div",14);F(10,"b-error-banner",15);D(11,"div",16)(12,
"label",17)(13,"span",18);P(14,"Name");E()();D(15,"input",19,20);K("ngModelChange",function(d){v(b);var e=L();return w(e.bookmarkGroupUnderEdit.name=d)});E()();D(17,"div",16)(18,"label",21)(19,"span",18);P(20,"Description");E()();D(21,"textarea",22);K("ngModelChange",function(d){v(b);var e=L();return w(e.bookmarkGroupUnderEdit.description=d)});E()();O(22,ngb,18,7,"ng-container",23);O(23,sgb,7,1,"ng-template",null,24,$g);O(25,tgb,5,1,"div",25);E()();D(26,"mat-tab",26)(27,"div",14)(28,"div",16)(29,
"label")(30,"span",18);P(31,"Admins");E();D(32,"p",27);P(33," Edit access controls, edit name and description, reorder items, add/remove items ");E()();D(34,"b-multi-user-input",28);K("usersChange",function(d){v(b);var e=L();return w(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){v(b);var e=L();return w(e.isAdminsFieldValid=d)});E()();D(35,"div",16)(36,"label")(37,"span",18);P(38,"View only");E();D(39,"p",27);P(40," View the bookmark group ");E();D(41,"b-multi-user-input",29);K("usersChange",
function(d){v(b);var e=L();return w(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){v(b);var e=L();return w(e.isReaderFieldValid=d)});E()()();D(42,"div",30);P(43," See ");D(44,"a",31);P(45,"access control documentation");E();P(46," for an explanation of the settings. ");E();O(47,ugb,5,1,"div",25);E()()();I()}if(a&2){var c=N(24);a=L();z(3);Cg(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," ");z(1);C("ngIf",a.isArchived());z(1);C("href",a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),
ue);z(2);C("selectedIndex",a.selectedTabIndex);z(3);C("error",a.error);z(1);C("ngClass",Gg(28,vgb,a.isEditDisabled()));z(4);C("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());z(2);C("ngClass",Gg(30,vgb,a.isEditDisabled()));z(4);C("ngModel",a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());z(1);C("ngIf",a.isAdmin)("ngIfElse",c);z(3);C("ngIf",a.isAdmin);z(3);C("ngClass",Gg(32,vgb,a.isEditDisabled()));z(6);pg("disabled",a.isEditDisabled());C("users",a.accessPolicyUnderEdit.admins);
z(1);C("ngClass",Gg(34,vgb,a.isEditDisabled()));z(6);pg("disabled",a.isEditDisabled());C("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Gg(38,wgb,Gg(36,xgb,a.accessPolicyUnderEdit.admins)));z(3);C("href",Kp(a.documentationLinks)+"#bookmark-groups",ue);z(3);C("ngIf",a.isAdmin)}},zgb=function(a){if(a&1){var b=t();D(0,"button",8);K("click",function(){v(b);var c=L();return w(c.delete())});P(1," Delete saved search ");E()}a&2&&(a=L(),C("disabled",
a.hasUnsavedChanges()||a.isSaving()))},Agb=function(a){a&1&&(H(0),D(1,"div",9)(2,"h2"),P(3," Saved search not found "),E()(),I())},Bgb=function(a){if(a&1){var b=t();D(0,"div",34)(1,"button",35);K("click",function(){v(b);var c=L(2);return w(c.saveMetadata())});P(2," Update ");E();D(3,"button",36);K("click",function(){v(b);var c=L(2);return w(c.revertMetadataChanges())});P(4," Revert changes ");E()()}a&2&&(a=L(2),z(1),C("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Cgb=function(a){if(a&
1){var b=t();D(0,"div",34)(1,"button",35);K("click",function(){v(b);var c=L(2);return w(c.saveAccessPolicy())});P(2," Update ");E();D(3,"button",36);K("click",function(){v(b);var c=L(2);return w(c.revertAccessPolicyChanges())});P(4," Revert changes ");E()()}a&2&&(a=L(2),z(1),C("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Ggb=function(a){if(a&1){var b=t();H(0);D(1,"div",9)(2,"h2");P(3);E();D(4,"a",10);P(5," (View Issues)");E()();D(6,"mat-tab-group",
11);K("selectedIndexChange",function(c){v(b);var d=L();return w(d.selectedTabIndex=c)})("selectedIndexChange",function(c){v(b);var d=L();return w(d.tabChange(c))});D(7,"mat-tab",12)(8,"div",13);F(9,"b-error-banner",14);D(10,"div",15)(11,"label",16)(12,"span",17);P(13,"Name");E()();D(14,"input",18,19);K("ngModelChange",function(c){v(b);var d=L();return w(d.savedSearchUnderEdit.name=c)});E()();D(16,"div",15)(17,"label",20)(18,"span",17);P(19,"Description");E()();D(20,"textarea",21);K("ngModelChange",
function(c){v(b);var d=L();return w(d.savedSearchUnderEdit.description=c)});P(21,"            ");E()();D(22,"div",22)(23,"label",23)(24,"span",17);P(25,"Query");E();D(26,"p",24);P(27," To modify query and display preferences, run the saved search and modify its parameters ");E();D(28,"div",25);P(29);E()()();O(30,Bgb,5,1,"div",26);E()();D(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,"label",28)(35,"span",17);P(36,"Admins");E();D(37,"p",24);P(38," Edit access controls, edit name and description, edit query ");
E()();D(39,"b-multi-user-input",29);K("usersChange",function(c){v(b);var d=L();return w(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){v(b);var d=L();return w(d.isAdminsFieldValid=c)});E()();D(40,"div",15)(41,"label",30)(42,"span",17);P(43,"View and execute search");E()();D(44,"b-multi-user-input",31);K("usersChange",function(c){v(b);var d=L();return w(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){v(b);var d=L();return w(d.isReaderFieldValid=c)});E()();D(45,"div",32);P(46,
" See ");D(47,"a",33);P(48,"access control documentation");E();P(49," for an explanation of the settings. ");E();O(50,Cgb,5,1,"div",26);E()()();I()}a&2&&(a=L(),z(3),Cg(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),z(1),C("href",a.paths.viewSavedSearch(a.savedSearch.searchId),ue),z(2),C("selectedIndex",a.selectedTabIndex),z(3),C("error",a.error),z(1),C("ngClass",Gg(26,Dgb,a.isEditDisabled())),z(4),C("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),z(2),C("ngClass",
Gg(28,Dgb,a.isEditDisabled())),z(4),C("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),z(9),Q(" ",a.savedSearch.query," "),z(1),C("ngIf",a.isAdmin),z(3),C("ngClass",Gg(30,Dgb,a.isEditDisabled())),z(6),pg("disabled",a.isEditDisabled()),C("users",a.accessPolicyUnderEdit.admins),z(1),C("ngClass",Gg(32,Dgb,a.isEditDisabled())),z(4),pg("disabled",a.isEditDisabled()),C("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Gg(36,
Egb,Gg(34,Fgb,a.accessPolicyUnderEdit.admins))),z(3),C("href",Kp(a.documentationLinks)+"#saved-searches",ue),z(3),C("ngIf",a.isAdmin))},Hgb=function(a){a&1&&(D(0,"div",7),F(1,"b-spinner"),E())},Igb=function(a){if(a&1){var b=t();D(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);K("change",function(c){v(b);var d=L(2);return w(d.alertState.setValue(c.checked))});E()();D(3,"div")(4,"strong",42);P(5,"SLO Notifications");E();D(6,"div",43);P(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
E()()()}a&2&&(a=L(2),pg("bv2-edit-resource-readonly",a.isEditDisabled()),z(2),C("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},Jgb=function(a){a&1&&(D(0,"div",44),P(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),D(2,"a",45),P(3," Learn more "),E()())},Lgb=function(a){if(a&1){var b=t();D(0,"b-button",50);K("onAction",function(){v(b);var c=L(3);return w(Kgb(c,!0))});P(1," Archive ");E()}a&2&&(a=L(3),C("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},Mgb=function(a){if(a&1){var b=t();D(0,"b-button",51);K("onAction",function(){v(b);var c=L(3);return w(Kgb(c,!1))});P(1," Unarchive ");E()}a&2&&(a=L(3),C("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Ngb=function(a){if(a&1){var b=t();D(0,"div",26)(1,"b-button",46);K("onAction",function(){v(b);var d=L(2);return w(d.saveMetadata())});P(2," Update ");E();D(3,"b-button",47);K("onAction",function(){v(b);var d=L(2);return w(d.revertMetadataChanges())});P(4," Revert changes ");
E();O(5,Lgb,2,1,"b-button",48);O(6,Mgb,2,1,"b-button",49);E()}if(a&2){L();var c=N(9);a=L();z(1);C("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);z(2);C("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!!c.pending||!!c.invalid);z(2);C("ngIf",a.slo&&!a.slo.getIsArchived());z(1);C("ngIf",a.slo&&a.slo.getIsArchived())}},Ogb=function(a){if(a&1){var b=t();D(0,"div",25)(1,"b-button",52);K("onAction",function(){v(b);var c=L(2);return w(c.saveAccessPolicy())});
P(2," Update ");E();D(3,"b-button",53);K("onAction",function(){v(b);var c=L(2);return w(c.revertAccessPolicyChanges())});P(4," Revert changes ");E()()}a&2&&(a=L(2),z(1),C("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},Pgb=function(a){if(a&1){var b=t();D(0,"div")(1,"div",8)(2,"h2")(3,"span",9);P(4);E()()();D(5,"mat-tab-group",10);K("selectedIndexChange",function(c){v(b);var d=L();return w(d.selectedTabIndex=c)})("selectedIndexChange",function(c){v(b);var d=L();return w(d.tabChange(c))});
D(6,"mat-tab",11)(7,"div",12)(8,"form",13,14)(10,"div",15)(11,"label",16)(12,"span",17);P(13,"Name");E()();D(14,"input",18);K("ngModelChange",function(c){v(b);var d=L();return w(d.editableCopy.setName(c))});E()();D(15,"div",15)(16,"label",19)(17,"span",17);P(18,"Description");E()();D(19,"textarea",20);K("ngModelChange",function(c){v(b);var d=L();return w(d.editableCopy.setDescription(c))});P(20,"              ");E()();O(21,Igb,8,4,"div",21);E();O(22,Jgb,4,0,"div",22);D(23,"div",15)(24,"slo-elements-picker",
23);K("onCollectionUpdate",function(c){v(b);var d=L();return w(d.updateCollection(c))})("onValidation",function(c){v(b);var d=L();return w(d.elementPickerIsValid=c)});E()();D(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);K("onAction",function(){v(b);var c=L();return w(c.showUpdateHistoryModal())});P(29," View history ");E()()();D(30,"div",25);O(31,Ngb,7,4,"div",28);E()()()();D(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);P(38,"Admins");E();D(39,
"p",33);P(40," Edit name, description and metrics ");E()();D(41,"b-multi-user-input",34);K("usersChange",function(c){v(b);var d=L();return w(d.editableAccessPolicy.admins=c)})("isValid",function(c){v(b);var d=L();return w(d.validity.admins=c)});E()();D(42,"div",15)(43,"label",35)(44,"span",17);P(45,"Readers");E();D(46,"p",33);P(47," View the SLO definition (this is not required to see an issue's SLO status) ");E()();D(48,"b-multi-user-input",36);K("usersChange",function(c){v(b);var d=L();return w(d.editableAccessPolicy.readers=
c)})("isValid",function(c){v(b);var d=L();return w(d.validity.readers=c)});E()()();D(49,"div",15);P(50," See ");D(51,"a",37);P(52,"access control documentation");E();P(53," for an explanation of the settings. ");E();O(54,Ogb,5,1,"div",38);E()()()()}a&2&&(a=L(),z(4),Cg(" SLO ",a.slo.getSloId(),": ",a.slo.getName()," "),z(1),C("selectedIndex",a.selectedTabIndex),z(5),pg("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),C("required",!0)("ngModel",a.editableCopy.getName())("disabled",a.isEditDisabled()),
z(1),pg("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),C("ngModel",a.editableCopy.getDescription())("disabled",a.isEditDisabled()),z(2),C("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),z(1),C("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),z(1),pg("bv2-edit-resource-readonly",a.isEditDisabled()),z(1),C("isDisabled",a.isEditDisabled())("collection",Et(a.editableCopy)),z(7),C("ngIf",a.isAdmin()),z(4),pg("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),C("users",a.editableAccessPolicy.admins),
dg("disabled",a.isEditDisabled()?!0:null),z(1),pg("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),C("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),dg("disabled",a.isEditDisabled()?!0:null),z(3),yg("href","",Kp(a.documentationLinks),"#slos",ue),z(3),C("ngIf",a.isAdmin()))},Qgb=function(a){if(a&1){var b=t();D(0,"div",5);F(1,"img",6)(2,"img",7);D(3,"p",8);P(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");E();D(5,"p",9);P(6,' If this issue blocked another, it would mean that it should be resolved first, and it would show up in the "Blockers" list for that issue. ');
D(7,"a",10);P(8,"Learn more");E()();D(9,"button",11);K("click",function(){v(b);var c=L(2);return w(c.onClickAdd())});P(10," Add ");E()()}a&2&&(a=L(2),z(1),C("src",a.TEA_LIGHT,ue),z(1),C("src",a.TEA_DARK,ue))},Rgb=function(a,b){a&1&&F(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=L(6),C("issueIds",a)("menuItemFactory",b.getMenuItems))},Sgb=function(a){a&1&&(H(0),O(1,Rgb,1,2,"b-issues-table",17),R(2,"async"),I());a&2&&(a=L(5),z(1),C("ngIf",S(2,1,a.blockedAndOpenIds$)))},Tgb=function(a){a&1&&(D(0,"p",19),
P(1,"Not blocking any open issues \ud83e\udd73"),E())},Ugb=function(a,b){a&1&&(H(0),D(1,"h4",15),P(2),E(),O(3,Sgb,3,3,"ng-container",12),O(4,Tgb,2,0,"ng-template",null,16,$g),I());if(a&2){a=b.$implicit;var c=N(5);z(2);Q("Open (",a.length,")");z(1);C("ngIf",0<a.length)("ngIfElse",c)}},Vgb=function(a,b){a&1&&F(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=L(6),C("issueIds",a)("menuItemFactory",b.getMenuItems))},Wgb=function(a){a&1&&(H(0),D(1,"h4",15),P(2),E(),O(3,Vgb,1,2,"b-issues-table",17),R(4,"async"),
I());if(a&2){a=L().$implicit;var b=L(4);z(2);Q("Closed (",a.length,")");z(1);C("ngIf",S(4,2,b.blockedAndClosedIds$))}},Xgb=function(a,b){a&1&&(H(0),O(1,Wgb,5,4,"ng-container",1),I());a&2&&(a=b.$implicit,z(1),C("ngIf",0<a.length))},Ygb=function(a){a&1&&(H(0),O(1,Ugb,6,3,"ng-container",1),R(2,"async"),O(3,Xgb,2,1,"ng-container",1),R(4,"async"),I());a&2&&(a=L(3),z(1),C("ngIf",S(2,2,a.blockedAndOpen$)),z(2),C("ngIf",S(4,4,a.blockedAndClosed$)))},Zgb=function(a,b){a&1&&(D(0,"li")(1,"a",22)(2,"span",9),
P(3),E(),D(4,"aside",23),F(5,"button",24),E()()());a&2&&(a=b.$implicit,z(1),yg("routerLink","/issues/",a,""),fg("aria-label","Issue ",a,""),z(2),Q("b/",a,""))},$gb=function(a){a&1&&(D(0,"h4",15),P(1,"Loading..."),E(),D(2,"ol",20),O(3,Zgb,6,3,"li",21),E());a&2&&(a=L(2).$implicit,z(3),C("ngForOf",a))},ahb=function(a,b){a&1&&(H(0),D(1,"a",25),P(2," View as search results "),E(),I());a&2&&(a=b.ngIf,z(1),C("routerLink",a.path)("queryParams",a.params))},bhb=function(a){if(a&1){var b=t();O(0,Ygb,5,6,"ng-container",
12);R(1,"async");O(2,$gb,4,1,"ng-template",null,13,$g);D(4,"aside",14)(5,"button",11);K("click",function(){v(b);var d=L(2);return w(d.onClickAdd())});P(6," Add ");E();O(7,ahb,3,2,"ng-container",1);R(8,"async");E()}if(a&2){var c=N(3);a=L(2);C("ngIf",S(1,3,a.issuesBeingBlocked$))("ngIfElse",c);z(7);C("ngIf",S(8,5,a.searchUrl$))}},chb=function(a,b){a&1&&(H(0),O(1,Qgb,11,2,"div",3),O(2,bhb,9,7,"ng-template",null,4,$g),I());if(a&2){a=b.$implicit;var c=N(3);z(1);C("ngIf",0===a.length)("ngIfElse",c)}},dhb=
function(a){a&1&&(D(0,"aside",26),F(1,"b-spinner"),E())},ehb=function(a,b){a&1&&(H(0),F(1,"b-issues-table",1),I());a&2&&(a=b.ngIf,b=L(),z(1),C("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},fhb=function(a){a&1&&F(0,"th",27)},ghb=function(a){if(a&1){var b=t();D(0,"td",28,29);K("click",function(c){v(b);N(1).focus();return w(c.stopPropagation())});E()}},hhb=function(a){a&1&&F(0,"th",27)},ihb=function(a){if(a&1){var b=
t();D(0,"td",30,31);K("click",function(c){v(b);N(1).focus();return w(c.stopPropagation())})("dragstart",function(c){v(b);var d=L();return w(d.handleDragStart(c))});F(2,"mat-icon",32);E()}},jhb=function(a){a&1&&(D(0,"th",27),P(1," Id "),E())},khb=function(a,b){a&1&&(D(0,"td",33),F(1,"b-issue-id-cell",34),E());a&2&&(a=b.$implicit,z(1),C("id",a.id))},lhb=function(a){a&1&&(D(0,"th",27),P(1," Id "),E())},mhb=function(a){a&1&&(D(0,"td",33),P(1,"--"),E())},nhb=function(a){a&1&&(D(0,"th",27),P(1," Title "),
E())},ohb=function(a,b){if(a&1){var c=t();D(0,"td",33)(1,"b-expandable-issue-title-cell",35);K("expansionChange",function(){var d=v(c).$implicit,e=L();return w(e.toggleExpansion(d))});R(2,"async");R(3,"async");E()()}a&2&&(a=b.$implicit,z(1),C("issue",S(2,4,a.issue$))("expandable",S(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},phb=function(a){a&1&&(D(0,"th",27),P(1," Type "),E())},qhb=function(a,b){a&1&&(D(0,"td",33),F(1,"b-issue-type-cell",36),R(2,"async"),E());a&2&&(a=b.$implicit,
z(1),C("issue",S(2,1,a.issue$)))},rhb=function(a){a&1&&(D(0,"th",27),P(1," Assignee "),E())},shb=function(a,b){a&1&&(D(0,"td",33),F(1,"b-issue-assignee-cell",36),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},thb=function(a){a&1&&(D(0,"th",27),P(1," Status "),E())},uhb=function(a,b){a&1&&(D(0,"td",33),F(1,"b-issue-status-cell",36),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},vhb=function(a){a&1&&(D(0,"th",27),P(1," Team "),E())},whb=function(a,b){a&
1&&(D(0,"td",33),F(1,"b-issue-team-cell",36),R(2,"async"),E());a&2&&(a=b.$implicit,z(1),C("issue",S(2,1,a.issue$)))},xhb=function(a){a&1&&F(0,"th",27)},yhb=function(a,b){a&1&&(D(0,"td",33)(1,"b-actions-menu",37),K("click",function(c){return c.stopPropagation()}),E()());a&2&&(a=b.$implicit,b=L(),z(1),C("menuItems",b.getMenuItems(a)))},zhb=function(a){a&1&&F(0,"th",27)},Ahb=function(a){a&1&&(D(0,"b-actions-menu",37),K("click",function(c){return c.stopPropagation()}),E());if(a&2){a=L().$implicit;var b=
L();C("menuItems",b.getMenuItemsForDraft(a))}},Bhb=function(a){a&1&&F(0,"b-spinner")},Chb=function(a,b){a&1&&(D(0,"td",38),O(1,Ahb,1,1,"b-actions-menu",39),O(2,Bhb,1,0,"ng-template",null,40,$g),E());if(a&2){a=b.$implicit;var c=N(3);z(1);C("ngIf",!a.saving)("ngIfElse",c)}},Dhb=function(a,b){if(a&1){var c=t();D(0,"td",33)(1,"b-async-data-placeholder",41);R(2,"async");D(3,"b-button",42);K("onAction",function(){var d=v(c).$implicit,e=L();return w(e.displayAllSiblings(d))});D(4,"span",43);P(5);E()()()()}a&
2&&(a=b.$implicit,b=L(),og("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),dg("colspan",b.tableColumns.length),z(1),C("isReady",!!S(2,5,a.parentIssue$)),z(4),Q("Display ",a.truncatedSiblingCount," more"))},Ehb=function(a){a&1&&(D(0,"th",27),P(1," Title "),E())},Fhb=function(a,b){if(a&1){var c=t();D(0,"td",33)(1,"div",44)(2,"b-text-input-cell",45);K("valueChange",function(d){var e=v(c).$implicit;return w(e.title=d)})("commit",function(){var d=v(c).$implicit,e=L();return w(e.saveDraft(d))});
E();D(3,"b-button",46);K("onAction",function(){var d=v(c).$implicit,e=L();return w(e.saveDraft(d))});P(4," Create ");E();D(5,"b-button",47);K("onAction",function(){var d=v(c).$implicit,e=L();return w(e.cancelDraft(d))});P(6," Cancel ");E()()()}a&2&&(a=b.$implicit,og("padding-left",24*(a.level+1),"px"),z(2),C("value",a.title)("readonly",a.saving),z(1),C("disabled",!a.title||a.saving),z(2),C("disabled",a.saving))},Ghb=function(a){a&1&&F(0,"tr",48)},Hhb=function(a,b){if(a&1){var c=t();D(0,"tr",49);K("click",
function(d){var e=v(c).$implicit,f=L();return w(f.navigateToIssue(d,e))})("mouseup",function(d){var e=v(c).$implicit,f=L();return w(f.navigateToIssue(d,e))})("focusin",function(){var d=v(c).$implicit,e=L();return w($p(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=L();return w(f.onRowKeydown(e,d))});R(1,"async");R(2,"async");E()}a&2&&(a=b.$implicit,b=L(),pg("selected",S(1,8,zDa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(S(2,10,a.issue$))),C("row",a),dg("data-level",
a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Ihb=function(a,b){if(a&1){var c=t();D(0,"tr",50);K("focusin",function(){var d=v(c).$implicit,e=L();return w($p(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=L();return w(f.onRowKeydown(e,d))});E()}a&2&&(a=b.$implicit,C("row",a),dg("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Jhb=function(a,b){if(a&1){var c=t();D(0,"tr",51);K("keydown",function(d){var e=v(c).$implicit,
f=L();return w(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=v(c).$implicit,e=L();return w(e.cancelDraft(d))})("keydown.backspace",function(){var d=v(c).$implicit,e=L();return w(d.title||e.cancelDraft(d))})("focusin",function(){var d=v(c).$implicit,e=L();return w($p(e.focusManager,d))});E()}a&2&&(a=b.$implicit,C("row",a),dg("data-type",a.type))},Khb=function(a,b){a&1&&(H(0),F(1,"b-issues-table",1),I());a&2&&(a=b.ngIf,b=L(),z(1),C("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",
b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},Lhb=function(a,b){if(a&&a.length)return a.map(b)},Mhb=function(a){return{filename:a.getFilename(),lineNumber:ej(a,2),changeNumber:Tk(a,3)}},Ohb=function(a){return{packageName:lk(a,1),fileMentionSet:Lhb(fj(a,Nhb,2),Mhb)}},Qhb=function(a){return{totalMentions:gj(a,1),truncated:xl(a,2),packageMentionSet:Lhb(fj(a,Phb,3),Ohb)}},Ft=function(a){var b=Rhb(a.open);a=Rhb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},Rhb=function(a){var b=a.count;
a=a.exact;return 0===b||a?""+b:b+"+"},Shb=function(a){return"("+Rhb(a)+")"},Gt=function(a){return{count:99<a?99:a,exact:99<a?!1:!0}},Thb=function(a,b){switch(b){case "BLOCKED_BY":return"blockingid:"+a+" status:open";case "BLOCKING":return"blockedbyid:"+a+" status:open";case "DUPLICATE":return"canonicalid:"+a;case "CHILDREN":return"parentid:"+a+" status:open";case "PARENT":break;default:Qi(b)}},Uhb=function(a,b){a&1&&(D(0,"span",10),P(1),E());a&2&&(a=b.ngIf,yg("title","",a," applied filter(s)"),z(1),
Bg(a))},Vhb=function(a){a&1&&(H(0),O(1,Uhb,2,2,"span",9),R(2,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,1,a.internalSelectedOptions.size$)))},Whb=function(a){a&1&&(D(0,"h1",11),P(1),E());a&2&&(a=L(),z(1),Bg(a.overlayTitle))},Xhb=function(a){a&1&&(D(0,"h1"),P(1),E());a&2&&(a=L().$implicit,z(1),Bg(a.title))},Yhb=function(a){a&1&&(D(0,"p"),P(1),E());a&2&&(a=L().$implicit,z(1),Bg(a.description))},Zhb=function(a,b){if(a&1){var c=t();D(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);K("change",function(d){var e=
v(c).$implicit,f=L();e=e.key;d.checked?f.internalSelectedOptions.add(e):f.internalSelectedOptions.delete(e);f.onChange.emit(new Set(f.internalSelectedOptions));return w()});R(3,"async");E();D(4,"div");O(5,Xhb,2,1,"h1",3);O(6,Yhb,2,1,"p",3);E()()()}a&2&&(a=b.$implicit,b=L(),z(2),C("checked",S(3,3,iq(b.internalSelectedOptions,a.key))),z(3),C("ngIf",a.title),z(1),C("ngIf",a.description))},$hb=function(a){if(a&1){var b=t();H(0);F(1,"mat-divider");D(2,"div",15)(3,"button",16);K("click",function(){v(b);
var c=L(),d=N(1);return w(c.cancel(d))});P(4);E();D(5,"button",17);K("click",function(){v(b);var c=L(),d=N(1);return w(c.confirm(d))});P(6);E()();I()}a&2&&(a=L(),z(4),Bg(a.cancelButtonLabel),z(2),Bg(a.confirmButtonLabel))},aib=function(a){a&1&&F(0,"b-spinner")},bib=function(a){a&1&&tg(0)},cib=function(a){a&1&&(H(0),O(1,bib,1,0,"ng-container",25),I());if(a&2){L();var b=N(58);z(1);C("ngTemplateOutlet",b)}},dib=function(a){a&1&&(F(0,"b-parents-table",27),R(1,"async"),R(2,"async"));if(a&2){a=L().ngIf;
var b=L();C("issueId",a)("parentIds",S(1,3,b.parentIds$))("filters",S(2,5,b.issueFilters.value$))}},eib=function(a){a&1&&tg(0)},gib=function(a){a&1&&(H(0),O(1,eib,1,0,"ng-container",28),R(2,"async"),I());if(a&2){a=L(2);var b=N(54);z(1);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(4,fib,S(2,2,null==a.parentsTable?null:a.parentsTable.filteredRowCount$)))}},hib=function(a){a&1&&(H(0),O(1,dib,3,7,"b-parents-table",26),R(2,"async"),O(3,gib,3,6,"ng-container",1),R(4,"async"),I());if(a&2){a=L();
var b=N(20);z(1);C("ngIf",S(2,3,a.parentsCount$))("ngIfElse",b);z(2);C("ngIf",S(4,5,a.issueFilters.value$))}},iib=function(a){a&1&&tg(0)},jib=function(a){a&1&&(D(0,"div")(1,"span",29),P(2,"This issue has no parents"),E(),O(3,iib,1,0,"ng-container",25),E());if(a&2){L();var b=N(58);z(3);C("ngTemplateOutlet",b)}},kib=function(a){a&1&&tg(0)},lib=function(a){a&1&&(H(0),O(1,kib,1,0,"ng-container",25),I());if(a&2){L();var b=N(56);z(1);C("ngTemplateOutlet",b)}},mib=function(a){a&1&&(F(0,"b-blockers-table",
31),R(1,"async"),R(2,"async"));if(a&2){a=L().ngIf;var b=L();C("issueId",a)("filters",S(1,3,b.issueFilters.value$))("blockerIds",S(2,5,b.blockerIds$))}},nib=function(a){a&1&&tg(0)},oib=function(a){a&1&&(H(0),O(1,nib,1,0,"ng-container",28),R(2,"async"),I());if(a&2){a=L(2);var b=N(54);z(1);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(4,fib,S(2,2,null==a.blockersTable?null:a.blockersTable.filteredRowCount$)))}},pib=function(a){a&1&&(H(0),O(1,mib,3,7,"b-blockers-table",30),R(2,"async"),O(3,oib,
3,6,"ng-container",1),R(4,"async"),I());if(a&2){a=L();var b=N(33);z(1);C("ngIf",S(2,3,a.showBlockersTable$))("ngIfElse",b);z(2);C("ngIf",S(4,5,a.issueFilters.value$))}},qib=function(a){a&1&&tg(0)},rib=function(a){a&1&&(D(0,"div")(1,"span",29),P(2,"This issue is not blocked "),D(3,"span",32),P(4,"\ud83c\udf89"),E()(),O(5,qib,1,0,"ng-container",25),E());if(a&2){L();var b=N(56);z(5);C("ngTemplateOutlet",b)}},sib=function(a){a&1&&tg(0)},tib=function(a){a&1&&(H(0),O(1,sib,1,0,"ng-container",25),I());if(a&
2){L();var b=N(60);z(1);C("ngTemplateOutlet",b)}},uib=function(a){a&1&&(D(0,"div",33)(1,"section",34)(2,"div",35),P(3," Progress: "),E(),D(4,"div",35),P(5),R(6,"number"),R(7,"async"),R(8,"number"),R(9,"async"),E(),D(10,"div",36),R(11,"async"),D(12,"div",37)(13,"div",38),R(14,"async"),E(),D(15,"onedev-hovercard",null,39)(17,"div",40)(18,"div",41),P(19),R(20,"async"),E()()()()(),F(21,"mat-icon",42),D(22,"onedev-hovercard",null,43)(24,"div",40)(25,"div",44)(26,"p"),P(27," The progress of child issues takes into consideration all child issues and descendant issues which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is not reflected in the progress bar. "),
E()()()()()());if(a&2){var b=N(16),c=N(23);a=L();z(5);Cg(" ",Jg(6,8,S(7,11,a.totalDaysComplete$),"1.0-2")," of ",Jg(8,13,S(9,16,a.totalDaysCount$),"1.0-2")," days complete ");z(5);fg("aria-label","",S(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");z(2);C("onedevHovercardTrigger",b);z(1);og("width",S(14,20,a.totalDaysDisplayPercent$),"%");z(6);Q(" ",S(20,22,a.progressHovercardContent$)," ");z(2);C("onedevHovercardTrigger",c)}},vib=function(a,b){a&1&&(F(0,"b-issue-relations-table",
45),R(1,"async"),R(2,"async"),R(3,"async"));if(a&2){a=b.ngIf;b=L();var c;pg("hidden",!(null==(c=S(1,4,null==b.relationsTable?null:b.relationsTable.rows$))?0:c.length)&&!S(2,6,null==b.relationsTable?null:b.relationsTable.filteredRowCount$));C("rootIssueId",a)("filters",S(3,8,b.issueFilters.value$))}},wib=function(a){a&1&&tg(0)},xib=function(a){a&1&&(H(0),O(1,wib,1,0,"ng-container",28),R(2,"async"),I());if(a&2){a=L();var b=N(54);z(1);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(4,fib,S(2,2,
null==a.relationsTable?null:a.relationsTable.filteredRowCount$)))}},yib=function(a){a&1&&tg(0)},zib=function(a){a&1&&(H(0),D(1,"span",29),P(2,"This issue has no children"),E(),O(3,yib,1,0,"ng-container",25),I());if(a&2){L(2);var b=N(60);z(3);C("ngTemplateOutlet",b)}},Aib=function(a){a&1&&(H(0),O(1,zib,4,1,"ng-container",1),R(2,"async"),R(3,"async"),I());if(a&2){a=L();var b;z(1);C("ngIf",0===S(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=S(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?
null:b.length)||0))}},Bib=function(a){if(a&1){var b=t();D(0,"p",29);P(1);D(2,"button",47);K("click",function(){v(b);var c=L(2);return w(c.issueFilters.reset([]))});P(3,"Show all");E()()}a&2&&(a=L().filteredCount,z(1),Cg(" Filtering ",a," issue",1===a?"":"s",". "))},Cib=function(a,b){a&1&&O(0,Bib,4,2,"p",46);a&2&&C("ngIf",b.filteredCount)},Eib=function(a){if(a&1){var b=t();D(0,"b-button",48);K("onAction",function(){v(b);var c=L();return w(Dib(c))});R(1,"async");P(2," Add blocker ");E()}a&2&&(a=L(),
C("disabled",!S(1,1,a.canEdit$)))},Gib=function(a){if(a&1){var b=t();D(0,"b-button",49);K("onAction",function(){v(b);var c=L();return w(Fib(c))});R(1,"async");P(2," Add parent ");E()}a&2&&(a=L(),C("disabled",!S(1,1,a.canEdit$)))},Hib=function(a){if(a&1){var b=t();D(0,"b-button",52);K("onAction",function(){v(b);var c=L(2);return w(c.createChild())});R(1,"async");P(2," Create new child ");E()}a&2&&(a=L(2),C("disabled",!S(1,1,a.canEdit$)))},Iib=function(a){if(a&1){var b=t();O(0,Hib,3,3,"b-button",50);
D(1,"b-button",51);K("onAction",function(){v(b);var c=L();return w(c.addChild())});R(2,"async");P(3," Add existing child ");E()}a&2&&(a=L(),C("ngIf",a.isNonPublicSession),z(1),C("disabled",!S(2,2,a.canEdit$)))},Jib=function(a,b){return(0,T.combineLatest)([a,b]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},Kib=function(a){return 1===a?a+" day":a+" days"},Lib=function(a){a&1&&(D(0,"div",3),F(1,"mat-icon",4),D(2,"span",5),P(3),R(4,"async"),
E()());if(a&2){a=L();var b;z(3);Q("",null==(b=S(4,1,a.issues$))?null:b.length," parent issues")}},Mib=function(a){a&1&&(D(0,"div",3),F(1,"mat-icon",6),D(2,"span",5),P(3),R(4,"async"),E()());if(a&2){a=L();var b;z(3);Q("Blocked by ",null==(b=S(4,1,a.issues$))?null:b.length," issues")}},Nib=function(a,b){a&1&&(D(0,"span"),P(1),E());a&2&&(a=b.$implicit,b=L(4),sg("chippy status-",a," margin-s-left"),z(1),Q(" ",b.STATUS_TERSE[a]," "))},Oib=function(a){a&1&&(H(0),D(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",
11),P(5),E(),D(6,"div",12),P(7),E()(),D(8,"div",10)(9,"div",13),P(10),E(),O(11,Nib,2,4,"span",14),E()()(),I());if(a&2){var b=L();a=b.$implicit;b=b.last;var c=L(2);z(1);yg("routerLink","/issues/",a.issueId,"");z(1);pg("border-bottom",!b);z(3);Bg(a.issueId);z(2);Bg(a.snapshot[0].title);z(2);C("ngClass",c.priorityClass(a.snapshot[0].priority));z(1);Bg(a.snapshot[0].priority);z(1);C("ngIf",c.convertIssueStatusStrToTag(a.snapshot[0].status))}},Pib=function(a,b){a&1&&(H(0),O(1,Oib,12,8,"ng-container",2),
I());a&2&&(a=b.index,z(1),C("ngIf",5>a))},Rib=function(a){if(a&1){var b=t();H(0);D(1,"div",15)(2,"button",16);K("click",function(){v(b);var c=L(2);return w(Qib(c))});P(3,"View all parent issues");E()();I()}},Sib=function(a){if(a&1){var b=t();H(0);D(1,"div",15)(2,"button",16);K("click",function(){v(b);var c=L(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();Ht(c.router,"/issues/"+c.currentIssueId+"/dependencies");return w()});P(3,"View all blockers");E()();I()}},Tib=function(a,b){a&1&&
(D(0,"div"),O(1,Pib,2,1,"ng-container",7),O(2,Rib,4,0,"ng-container",2),O(3,Sib,4,0,"ng-container",2),E());a&2&&(a=b.$implicit,b=L(),z(1),C("ngForOf",a),z(1),C("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),C("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},Uib=function(a){a&1&&F(0,"mat-icon",7)},Vib=function(a){a&1&&(H(0),F(1,"b-list-issues-card",8,9),I());if(a&2){var b=N(2);L();var c=N(5);a=L();z(1);C("onedevIsHovercardReady",b.init)("hovercardInstance",
c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",a.ListIssuesHovercardMode.PARENT_ISSUES)}},Wib=function(a){a&1&&(H(0),D(1,"a",3),P(2),E(),O(3,Uib,1,0,"mat-icon",4),D(4,"onedev-hovercard",null,5),O(6,Vib,3,5,"ng-container",6),E(),I());if(a&2){var b=N(5);a=L();z(1);yg("title","",a.multiParentIssueIds.length," parents at this position");C("onedevHovercardTrigger",b);z(1);Q("",a.multiParentIssueIds.length," Parents\u2026");z(1);C("ngIf",1<a.multiParentIssueIds.length)}},Xib=function(a,
b){a&1&&(H(0),D(1,"b-issue-reference-widget",10),P(2),E(),F(3,"mat-icon",7),I());if(a&2){a=b.$implicit;b=b.last;var c=L();z(1);C("href",c.getIssueLink(a))("issueId",a);z(1);c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=Ywa(a)):a=String(a);Bg(a);z(1);pg("last",b)}},Yib=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},Jt=function(a){return new It((a instanceof It?a:new It(a)).value,!0)},Zib=function(a){if(a.oauthTokens){var b=a.oauthTokens;return(0,T.firstValueFrom)(b).then(function(c){c=
new T.BehaviorSubject(c);b.subscribe(c);return new Kt(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new Lt(a.apiKey,a.appAuthTokens)):Promise.resolve(new Mt(a.apiKey,a.authUser)):Promise.reject(Error("Xe"))},$ib=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}},ajb=function(a){return new T.Observable(function(b){var c=
Nt(function(){b.next({});b.complete()},a);return function(){Ot(c)}})},bjb=function(a){var b=new Pt;b.setName(a);return b},djb=function(a){a.isPrivate?(a=new Qt,Zj(a,2,cjb,!0)):(a=new Qt,Zj(a,1,cjb,!0));return a},fjb=function(a){var b=new Rt;a=m(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new St;if(d.value instanceof Tt)d.isDecreasing?Zj(c,4,Ut,d.value.toString()):Zj(c,2,Ut,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?Zj(c,3,Ut,d.value):Zj(c,1,Ut,d.value);
else if("number"===typeof d.value)d.isDecreasing?Zj(c,9,Ut,tb(d.value)):Zj(c,10,Ut,tb(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?Zj(c,5,Ut,qb(d.value,!1,!1)):Zj(c,7,Ut,qb(d.value,!1,!1));else if(d.value instanceof Vt)d.isDecreasing?(d=ejb(d.value),am(c,11,Ut,d)):(d=ejb(d.value),am(c,12,Ut,d));else if(d.value instanceof Wt){var e=d.value.rep;"number"===typeof e?d.isDecreasing?Zj(c,9,Ut,tb(e)):Zj(c,10,Ut,tb(e)):"string"===typeof e&&(d.isDecreasing?Zj(c,6,Ut,e):Zj(c,8,Ut,e))}Jp(b,
1,St,c)}return b},jjb=function(a,b){if(a instanceof Xt)return 0<fj(b,St,1).length?null:gjb.apply(Xt,p(a.parts));a=Array.of.apply(Array,p(a.root.parts));b=m(fj(b,St,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,pk(c,Ut)){case 4:var d=a,e=d.push,f=Yt,h=Zt(c,Ut,4);c=Db(c,h);e.call(d,Jt(f(c)));break;case 2:d=a;e=d.push;f=Yt;h=Zt(c,Ut,2);c=Db(c,h);e.call(d,new It(f(c)));break;case 6:d=a;e=d.push;f=Zt(c,Ut,6);c=Db(c,f);e.call(d,Jt(new Wt(c)));break;case 8:d=a;e=d.push;f=Zt(c,Ut,8);c=Db(c,f);
e.call(d,new It(new Wt(c)));break;case 10:a.push(new It(new Wt($t(c,Zt(c,Ut,10)))));break;case 9:a.push(Jt(new Wt($t(c,Zt(c,Ut,9)))));break;case 3:a.push(Jt(ht(c,3,Ut)));break;case 1:a.push(new It(ht(c,1,Ut)));break;case 7:d=void 0;a.push(new It(null==(d=ft(c,Zt(c,Ut,7)))?void 0:hjb(d)));break;case 5:d=void 0;a.push(Jt(null==(d=ft(c,Zt(c,Ut,5)))?void 0:hjb(d)));break;case 12:c=ijb(wl(c,cj,12,Ut));if(null===c)return null;a.push(new It(c));break;case 11:c=ijb(wl(c,cj,11,Ut));if(null===c)return null;
a.push(Jt(c));break;case 0:return null;default:return null}return gjb.apply(Xt,p(a))},kjb=function(a){a&1&&F(0,"b-live-preview",11);a&2&&(a=L(),C("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},ljb=function(a){if(a&1){var b=t();D(0,"section")(1,"div",12)(2,"b-recaptcha",13);K("onUpdate",function(c){v(b);var d=L();return w(d.recaptchaResponse=c)});E()()()}},mjb=function(a){return function(b){var c,d;return{resourceId:b.issueId,
displayText:null!=(c=b.snapshot[0].title)?c:"",status:null!=(d=b.snapshot[0].status)?d:null,relations:[a]}}},njb=function(a){var b=[],c=new Map;a=m(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,""!==d.displayText)if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(p(e.relations),p(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},ojb=function(a){a&1&&(H(0),P(1,"\u2026 >"),I())},pjb=function(a){a&1&&(H(0),P(1,"\u2026"),I())},qjb=function(a){if(a&1){var b=t();
D(0,"a",16);K("click",function(){v(b);var c=L(4);return w(c.compactMode$.next(!1))});O(1,ojb,2,0,"ng-container",6);O(2,pjb,2,0,"ng-container",6);E()}a&2&&(a=L().$implicit,z(1),C("ngIf",a.isSpliced),z(1),C("ngIf",a.isTruncated))},rjb=function(a){a&1&&(D(0,"a",17),P(1),E());if(a&2){a=L().$implicit;var b=N(7);pg("muted",a.name==a.id);C("routerLinkObj",a.route)("onedevHovercardTrigger",b);z(1);Bg(a.name)}},sjb=function(a){a&1&&(D(0,"span",18),P(1),E());a&2&&(a=L().$implicit,pg("muted",a.name==a.id),z(1),
Bg(a.name))},tjb=function(a){a&1&&(H(0),P(1," > "),I())},ujb=function(a){a&1&&(H(0),F(1,"b-component-path-card",19,20),I());if(a&2){var b=N(2);a=L().$implicit;z(1);C("onedevIsHovercardReady",b.init)("componentId",a.id)}},vjb=function(a,b){a&1&&(H(0),O(1,qjb,3,2,"a",11),O(2,rjb,2,5,"a",12),O(3,sjb,2,3,"ng-template",null,13,$g),O(5,tjb,2,0,"ng-container",6),D(6,"onedev-hovercard",null,14),O(8,ujb,3,2,"ng-container",15),E(),I());if(a&2){a=b.$implicit;b=b.last;var c=N(4),d=L(3);z(1);C("ngIf",a.isSpliced||
a.isTruncated);z(1);C("ngIf",!d.viewOnly)("ngIfElse",c);z(3);C("ngIf",!b)}},wjb=function(a,b){a&1&&(D(0,"span",9),O(1,vjb,9,4,"ng-container",10),E());a&2&&(a=b.$implicit,z(1),C("ngForOf",a))},xjb=function(a){a&1&&(D(0,"span"),P(1,"[Archived]"),E())},yjb=function(a){if(a&1){var b=t();D(0,"button",21);K("click",function(){v(b);L(2).editing=!0;return w()});F(1,"mat-icon",22);E()}},zjb=function(a){a&1&&(D(0,"a",23),R(1,"async"),F(2,"mat-icon",24),E());if(a&2){a=L(2);var b;C("routerLinkObj",a.popoutLink(null==
(b=S(1,1,a.component$))?null:b.componentId))}},Ajb=function(a){a&1&&(D(0,"b-async-data-placeholder",2),R(1,"async"),D(2,"div",3),F(3,"mat-icon",4),O(4,wjb,2,1,"span",5),R(5,"async"),O(6,xjb,2,0,"span",6),R(7,"async"),O(8,yjb,2,0,"button",7),O(9,zjb,3,3,"a",8),E()());a&2&&(a=L(),C("isReady",S(1,5,a.isReady$)),z(4),C("ngIf",S(5,7,a.componentPath$)),z(2),C("ngIf",S(7,9,a.isArchived$)),z(2),C("ngIf",!a.viewOnly),z(1),C("ngIf",a.popoutLink))},Cjb=function(a){if(a&1){var b=t();D(0,"b-team-component-picker",
25);K("selectedComponentChange",function(c){v(b);var d=L();d.editing=!1;c&&Bjb(d.issueEditComponentService,d.issueId,c);return w()})("dropdownClosed",function(){v(b);L().editing=!1;return w()});R(1,"async");E()}a&2&&(a=L(),C("selectedComponent",S(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},Djb=function(a){a&1&&(yd(),zd(),H(0),P(1),I());a&2&&(a=L(),z(1),Q("Insights (",a.availablePanels.size,")"))},Ejb=function(a){a&1&&(yd(),zd(),D(0,"button",18),F(1,"mat-icon",19),E());if(a&2){a=L();var b=
N(16);pg("icon-only-mode",a.iconOnly);C("ngClass",a.buttonClassname)("disabled",0===a.availablePanels.size)("matMenuTriggerFor",b)}},Fjb=function(a,b){if(a&1){var c=t();D(0,"button",20);K("click",function(){var d=v(c).$implicit;L().openSidebar.emit({panel:d.panel});return w()});P(1);E()}a&2&&(a=b.$implicit,b=L(),C("disabled",!b.availablePanels.has(a.panel)),z(1),Q(" ",a.label," "))},Gjb=function(a){return["google","corp","devops","tools"].reduce(function(b,c){b=void 0===b?{}:b;return null==b[c]?void 0:
b[c]},a)},Hjb=function(){var a=void 0===a?window:a;var b=void 0===b?5E3:b;var c=100;return new Promise(function(d,e){function f(){var h=Gjb(a);null!=h?d(h):(setTimeout(f,c),c*=2)}f();setTimeout(function(){var h=Gjb(a);null!=h?d(h):e("timeout: "+b)},b)})},Ijb=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},Jjb=function(a){if(a&1){var b=t();D(0,"b-insights-graph-menu",2);K("openSidebar",function(d){v(b);var e=L(2);return w(e.openSidebar(d.panel))});E()}if(a&2){a=L().ngIf;var c=
L();C("supportMultiplePanelTypes",c.supportMultiplePanelTypes)("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},Kjb=function(a){a&1&&(H(0),O(1,Jjb,1,4,"b-insights-graph-menu",1),R(2,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,1,a.shouldShowInsightsGraphMenu$)))},Mjb=function(a,b){if(a&1){var c=t();D(0,"button",1);K("click",function(){v(c);var d=L();return w(Ljb(d))});R(1,"async");P(2);E()}a&2&&(a=b.ngIf,b=L(),C("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||
!1===S(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),z(2),Q(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},Njb=function(a){a&1&&tg(0)},Ojb=function(a){a&1&&(H(0),O(1,Njb,1,0,"ng-container",5),I());a&2&&(a=L(),z(1),C("ngTemplateOutlet",a.content))},Pjb=function(a,b){if(a&1){var c=t();D(0,"button",13);K("click",function(e){var f=v(c).$implicit;return w(f.action(e))});F(1,"mat-icon",14);P(2);E()}if(a&2){a=b.$implicit;var d;C("disabled",a.disabled)("title",a.title);
dg("aria-label",a.title);z(1);C("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");z(1);Q(" ",a.label," ")}},Qjb=function(a){if(a&1){var b=t();H(0);D(1,"button",15);K("click",function(d){v(b);var e=L(2);d.stopPropagation();d.preventDefault();var f;null==(f=e.helpHover)||f.toggle();return w()});F(2,"mat-icon",16);P(3," Retention: ");F(4,"retention-text",17);P(5," \u00a0 ");F(6,"help-hover",18);E();I()}if(a&2){a=L().ngIf;var c=N(14);z(4);C("retentionState",a.retentionState);z(2);C("content",c)}},Rjb=function(a){a&
1&&(H(0),F(1,"retention-help-text",19),I());a&2&&(a=L(2).ngIf,z(1),C("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},Sjb=function(a){a&1&&O(0,Rjb,2,2,"ng-container",0);a&2&&(a=L().ngIf,C("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},Tjb=function(a,b){if(a&1){var c=t();H(0);F(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",2);D(3,"smart-dupe-btn",3,4);K("onHotkey",function(){v(c);var e=N(4);return w(Ljb(e))});E();D(5,"b-notification-menu",5);K("subscriptionChange",
function(e){v(c);var f=L();return w(f.updateSubscription(e))})("showNotificationSettings",function(e){v(c);var f=L();return w(f.showNotificationSettings(e))});E();F(6,"insights-graph-menu-smart",6);D(7,"button",7);F(8,"mat-icon",8);E();D(9,"mat-menu",9,10);O(11,Pjb,3,5,"button",11);O(12,Qjb,7,2,"ng-container",0);E();O(13,Sjb,1,1,"ng-template",null,12,$g);I()}if(a&2){a=b.ngIf;var d=N(10);b=L();z(1);C("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);z(1);C("issueId",a.issueId);z(1);
C("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);z(2);C("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);z(1);C("iconOnly",!0);z(1);C("matMenuTriggerFor",d);z(4);C("ngForOf",a.menuItems);z(1);C("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime)}},Ujb=function(a){a&1&&(D(0,"h3",3,4),P(2),E());a&2&&(a=L(),dg("title",a.isLongTitle?a.titlePlain:""),z(2),Q(" ",a.titleTruncated,"\n"))},Xjb=function(a){if(a&1){var b=t();D(0,"mat-form-field",
5)(1,"input",6,7);K("keyup",function(c){v(b);var d=L();return w(Vjb(d,c))})("blur",function(){v(b);var c=L();return w(Vjb(c,null))});E()()}a&2&&(a=L(),C("ngStyle",Gg(2,Wjb,a.editModeWidth)),z(1),C("value",a.titlePlain))},Zjb=function(a){if(a&1){var b=t();D(0,"button",8);K("click",function(){v(b);var c=L();return w(Yjb(c))});F(1,"mat-icon",9);E()}a&2&&(a=L(),C("disabled",a.disabled))},$jb=function(){},akb=function(a){a&1&&(D(0,"output"),P(1),R(2,"async"),E());if(a&2){a=L().ngIf;var b=L();z(1);Cg(" ",
a," of ",S(2,2,b.currentSearchResults.totalText$)," ")}},ekb=function(a,b){if(a&1){var c=t();H(0);O(1,akb,3,4,"output",0);D(2,"span",1)(3,"button",2);K("onHotkey",function(){v(c);var d=L();return w(bkb(d.currentSearchResults))})("click",function(){v(c);var d=L();return w(bkb(d.currentSearchResults))});R(4,"async");F(5,"mat-icon",3);E();D(6,"button",4);K("onHotkey",function(){v(c);var d=L();return w(ckb(d.currentSearchResults))})("click",function(){v(c);var d=L();return w(ckb(d.currentSearchResults))});
R(7,"async");F(8,"mat-icon",5);E()();I()}a&2&&(a=b.ngIf,b=L(),z(1),C("ngIf",-1!==a),z(1),C("ngClass",Gg(10,dkb,-1===a)),z(1),C("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!S(4,6,b.currentSearchResults.hasPreviousIssue$)),z(3),C("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!S(7,8,b.currentSearchResults.hasNextIssue$)))},fkb=function(a){if(a&1){var b=t();H(0);D(1,"button",16);K("click",function(){v(b);var c=L();return w(c.onPressCancel())});P(2," Cancel ");E();D(3,"button",17);K("click",
function(){v(b);var c=L();return w(c.onPressSave())});R(4,"async");P(5," Save ");E();I()}a&2&&(a=L(),z(3),C("disabled",!S(4,1,a.hasSelectionChanged$)))},gkb=function(a){if(a&1){var b=t();D(0,"button",18);K("click",function(){v(b);var c=L();return w(c.onPressCancel())});P(1," Close ");E()}},hkb=function(a){a&1&&F(0,"b-access-level-indicator",6);a&2&&(a=L(2).$implicit,C("accessLevel",a.accessLevel))},ikb=function(a){a&1&&F(0,"b-access-limits-chip",7);a&2&&(a=L(2).$implicit,C("issueId",a.issueId)("componentId",
a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},jkb=function(a){a&1&&F(0,"b-retention-chip",8);a&2&&(a=L(2).$implicit,C("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},kkb=function(a){a&1&&(D(0,"div",2),O(1,hkb,1,1,"b-access-level-indicator",3),O(2,ikb,1,3,"b-access-limits-chip",4),O(3,jkb,1,3,"b-retention-chip",5),E());a&2&&(a=L().$implicit,z(1),C("ngIf",a.isShowingPublicPartner),z(1),C("ngIf",a.isAccessLimited),z(1),C("ngIf",a.isShowingRetention))},
lkb=function(a,b){a&1&&(H(0),O(1,kkb,4,3,"div",1),I());a&2&&(a=b.$implicit,z(1),C("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},mkb=function(a){a&1&&tg(0)},nkb=function(a){a&1&&(H(0),O(1,mkb,1,0,"ng-container",23),I());if(a&2){L();var b=N(12);z(1);C("ngTemplateOutlet",b)}},okb=function(a,b){a&1&&F(0,"ancestors-breadcrumbs",30);a&2&&(a=b.ngIf,b=L(3),C("ancestors",a)("issueId",b.issueId))},pkb=function(a){a&1&&(H(0),F(1,"b-component-breadcrumb-chip",26),R(2,"async"),D(3,
"div",27),O(4,okb,1,2,"ancestors-breadcrumbs",28),R(5,"async"),F(6,"b-issue-id-picker",29),R(7,"async"),R(8,"async"),R(9,"async"),E(),I());a&2&&(a=L(2),z(1),C("componentId",S(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),z(3),C("ngIf",S(5,10,a.ancestors$)),z(2),C("issueId",a.issueId)("componentId",S(7,12,a.componentId$))("issueTitle",S(8,14,a.issueTitle$))("isExternalIssue",!!S(9,16,a.isWithinExternalComponent$)))},qkb=function(a){if(a&1){var b=t();D(0,"b-team-chip",24);K("onTeamLoaded",
function(){v(b);var c=L();return w(c.isTeamLoaded=!0)});R(1,"async");R(2,"async");E();O(3,pkb,10,18,"ng-container",25)}a&2&&(a=L(),C("componentId",S(1,3,a.componentId$))("teamId",S(2,5,a.teamId$)),z(3),C("ngIf",a.isTeamLoaded))},rkb=function(a){a&1&&(H(0),F(1,"b-component-breadcrumb-chip",31),R(2,"async"),D(3,"div",32),F(4,"b-issue-id-picker",33),R(5,"async"),R(6,"async"),R(7,"async"),E(),I());a&2&&(a=L(2),z(1),C("componentId",S(2,6,a.componentId$))("issueId",a.issueId),z(3),C("issueId",a.issueId)("componentId",
S(5,8,a.componentId$))("issueTitle",S(6,10,a.issueTitle$))("isExternalIssue",!!S(7,12,a.isWithinExternalComponent$)))},skb=function(a){if(a&1){var b=t();D(0,"b-team-chip",24);K("onTeamLoaded",function(){v(b);var c=L();return w(c.isTeamLoaded=!0)});R(1,"async");R(2,"async");E();O(3,rkb,8,14,"ng-container",25)}a&2&&(a=L(),C("componentId",S(1,3,a.componentId$))("teamId",S(2,5,a.teamId$)),z(3),C("ngIf",a.isTeamLoaded))},tkb=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L().$implicit,z(1),Q(" ",a," "))},ukb=
function(a,b){a&1&&(D(0,"div",34),F(1,"mat-icon",35),O(2,tkb,2,1,"ng-container",25),E());if(a&2){a=b.$implicit;L();var c=N(36);C("onedevHovercardTrigger",c);z(2);C("ngIf",2<=a)}},vkb=function(a){a&1&&(H(0),F(1,"b-list-issues-card",36,37),R(3,"async"),I());if(a&2){var b=N(2);a=L();var c=N(36);z(1);C("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",S(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},wkb=function(a){return 1===a?
"Blocked":"Blocked by "+a+" issues"},xkb=function(a){if(0!==a.length)return 1===a.length?au.ISSUE(a[0]):au.ISSUE_LIST},ykb=function(a,b){a&1&&(D(0,"div",1),F(1,"img",2),D(2,"h3"),P(3),E(),D(4,"a",3),R(5,"async"),P(6),E()());a&2&&(a=b.$implicit,b=L(),z(1),C("src",null==a.branding?null:a.branding.logoUrl,ue),z(2),Q("This issue is a part of the ",a.name," tracker."),z(1),C("href",S(5,4,b.trackerRedirectUrl$),ue),z(2),Q(" View in ",a.name," Tracker "))},zkb=function(a){a&1&&(D(0,"div")(1,"ol")(2,"li")(3,
"label"),P(4,"Issue ID"),E(),D(5,"output"),P(6),E()(),D(7,"li")(8,"label"),P(9,"Type"),E(),D(10,"output"),P(11),E()(),D(12,"li")(13,"label"),P(14,"Status"),E(),D(15,"output"),P(16),E()()()());a&2&&(a=L(2),z(6),Bg(a.issueId),z(5),Bg(a.issueType),z(5),Bg(a.issueStatus))},Akb=function(a){a&1&&(D(0,"div",1)(1,"div",2),F(2,"img",3),R(3,"async"),F(4,"mat-icon",4)(5,"img",3),R(6,"async"),E(),D(7,"h3",5),P(8),R(9,"async"),E(),O(10,zkb,17,3,"div",6),D(11,"div",7)(12,"a",8),R(13,"async"),P(14,"Continue"),E()()());
a&2&&(a=L(),z(2),C("src",S(3,5,a.currentTrackerLogo$),ue),z(3),C("src",S(6,7,a.trackerLogo$),ue),z(3),Q(" Redirecting to ",S(9,9,a.trackerName$)," "),z(2),C("ngIf",null!=a.issue),z(2),C("href",S(13,11,a.trackerRedirectUrl$),ue))},Bkb=function(a,b){b&&(null!=b.autocompleteGroupingType&&a.setAutocompleteGroupingType(b.autocompleteGroupingType),null!=b.autocompleteGroupingLabel&&a.setAutocompleteGroupingLabel(b.autocompleteGroupingLabel),null!=b.autocompleteHeader&&a.setAutocompleteHeader(b.autocompleteHeader),
null!=b.autocompleteMaxResultsBeforeScroll&&a.setAutocompleteMaxResultsBeforeScroll(b.autocompleteMaxResultsBeforeScroll),null!=b.density&&a.setDensity(b.density),null!=b.moveAutocompleteAboveAnchorIfOffscreen&&a.setMoveAutocompleteAboveAnchorIfOffscreen(b.moveAutocompleteAboveAnchorIfOffscreen),null!=b.autoActivateFirstSuggestion&&a.setAutoActivateFirstSuggestion(b.autoActivateFirstSuggestion),null!=b.showSuggestions&&a.setShowSuggestions(b.showSuggestions),null!=b.noResultsMessage&&a.setNoResultsMessage(b.noResultsMessage))},
Ckb=function(a){if(a&1){var b=t();D(0,"input",3,4);K("peoplekitAutocompleteSelectionChange",function(c){v(b);var d=L();0<c.length&&(d.inputValue=c[0].result().getPrimaryTarget().getValue());return w()})("ngModelChange",function(c){v(b);var d=L();return w(d.inputValue=c)});E()}a&2&&(a=L(),C("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions)("ngModel",a.inputValue))},Dkb=function(a){a&1&&tg(0)},Fkb=function(a){a&1&&(H(0),O(1,Dkb,1,0,"ng-container",
6),I());a&2&&(a=L(),z(1),C("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",Gg(2,Ekb,a.email)))},Gkb=function(a){a&1&&P(0);a&2&&(a=L(),Q(" ",a.email," "))},Hkb=function(a){a&1&&(yd(),D(0,"svg",7),F(1,"path",8),E())},Ikb=function(a){a&1&&F(0,"b-user-membership-chip",4);if(a&2){a=L().$implicit;var b=L(),c;C("email",a)("teamId",null!==(c=b.teamId)&&void 0!==c?c:"")("enableSmallChip",!0)}},Jkb=function(a,b){a&1&&O(0,Ikb,1,3,"b-user-membership-chip",3);a&2&&C("ngIf",b.$implicit)},Kkb=
function(a){a&1&&tg(0)},Lkb=function(a){a&1&&(H(0),O(1,Kkb,1,0,"ng-container",32),I());if(a&2){L();var b=N(67);z(1);C("ngTemplateOutlet",b)}},Nkb=function(a,b){a&1&&F(0,"b-list-field",34);a&2&&(a=b.ngIf,b=L(3),C("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",Gg(5,Mkb,a)))},Okb=function(a){a&1&&(H(0),O(1,Nkb,1,7,"b-list-field",33),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.teamHovercardInputs$)))},Qkb=function(a){if(a&1){var b=t();D(0,"div",36)(1,
"b-team-warning",37);K("updateTeam",function(){v(b);var h=L(3);h.issueFridge.poke(h.issueId);return w()});R(2,"async");R(3,"async");E()()}if(a&2){a=L().ngIf;var c=L().ngIf,d=L(),e,f;z(1);C("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=S(2,4,d.component$))?null:e.parentComponentId)||0)("teamSuggestions",null!==(f=S(3,6,d.teamSuggestions$))&&void 0!==f?f:Fg(8,Pkb))}},Rkb=function(a){a&1&&(H(0),O(1,Qkb,4,9,"div",35),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.shouldDisplayTeamSuggestions$)))},
Tkb=function(a){if(a&1){var b=t();H(0);D(1,"b-edit-field",38,39);K("valueChange",function(f){v(b);var h=N(2),l=L(2);return w(Skb(l,h,null!==f&&void 0!==f?f:""))});R(3,"async");R(4,"async");R(5,"async");E();I()}if(a&2){a=L().ngIf;var c=L(),d,e;z(1);C("name","reporter")("title","Reporter")("type",c.FieldType.TEXT)("value",a.reporter)("user",null!==(d=a.reporterUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!S(3,10,c.hasAclToEdit$))("disabled",!!S(4,12,c.isSaving$("reporter")))("showAvailability",
!0)("teamId",null!==(e=S(5,14,c.teamId$))&&void 0!==e?e:"")}},Vkb=function(a){if(a&1){var b=t();D(0,"onedev-edit-field")(1,"onedev-field-label");P(2,"Reporter");E();D(3,"onedev-field-value",40);R(4,"async");D(5,"b-user-picker",41);K("emailChange",function(e){v(b);var f=L(2);return w(Ukb(f.editIssueService,f.issueId,e))});R(6,"async");R(7,"async");E()()()}if(a&2){a=L().ngIf;var c=L(),d;z(3);C("thinking",!!S(4,4,c.isSaving$("reporter")));z(2);C("user",a.reporterUser)("teamId",null!==(d=S(6,6,c.teamId$))&&
void 0!==d?d:"")("disabled",!S(7,8,c.hasAclToEdit$))}},Wkb=function(a){a&1&&tg(0)},Xkb=function(a){a&1&&(H(0),O(1,Wkb,1,0,"ng-container",32),I());if(a&2){L();var b=N(69);z(1);C("ngTemplateOutlet",b)}},Ykb=function(a,b){if(a&1){var c=t();D(0,"div",43);F(1,"div",44);D(2,"span",45);K("click",function(){var d=v(c).ngIf,e=L(3);return w(bu(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;bu(L(3),e);d.stopPropagation();return w(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;bu(L(3),
e);d.stopPropagation();return w(d.preventDefault())});R(3,"async");R(4,"async");P(5);E()()}a&2&&(a=b.ngIf,b=L(3),z(2),pg("disabled",!!S(3,6,b.isSaving$("status"))),C("matTooltip",a.description||""),dg("aria-disabled",!!S(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),z(3),Q(" ",a.displayText," "))},Zkb=function(a){a&1&&(H(0),O(1,Ykb,6,10,"div",42),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.issueStatusQuickAction$)))},alb=function(a){a&1&&(D(0,"onedev-feature-tooltip-controller",
46)(1,"onedev-feature-tooltip",47)(2,"p",48),P(3,"View or change issue access level"),E(),P(4," Now issue admins can set issue access level. Other people can view. "),E()());a&2&&(a=L(2),C("showTooltip$",a.showAccessLimitFeatureTooltip$),z(1),C("customPositions",Hg(3,$kb,a.TOOLTIP_POSITIONS.TOP_LEFT,a.TOOLTIP_POSITIONS.BOTTOM_LEFT))("tooltipId",a.ISSUE_ACCESS_LIMIT_ACTIONS_FEATURE_TOOLTIP_ID))},blb=function(a){a&1&&(D(0,"span"),P(1," Edit "),E())},clb=function(a){a&1&&(D(0,"span"),P(1," View "),E())},
dlb=function(a){if(a&1){var b=t();D(0,"div",49)(1,"div",50)(2,"span",51);P(3,"Access");E();D(4,"div",52)(5,"span",53);P(6);R(7,"async");E();D(8,"div",54);K("click",function(){v(b);var d=L(2);return w(d.toggleAccessLimits())})("keydown.enter",function(d){v(b);var e=L(2);return w(e.toggleAccessLimitsWithKeystroke(d))})("keydown.space",function(d){v(b);var e=L(2);return w(e.toggleAccessLimitsWithKeystroke(d))});R(9,"async");R(10,"async");R(11,"async");R(12,"async");O(13,blb,2,0,"span",0);R(14,"async");
R(15,"async");O(16,clb,2,0,"span",0);R(17,"async");R(18,"async");E()()();D(19,"onedev-hovercard",null,55)(21,"div",56)(22,"div",57)(23,"span",58);P(24);R(25,"async");R(26,"async");D(27,"a",59);P(28,"Learn more.");E()()()()()()}if(a&2){var c=N(20);a=L(2);z(1);C("onedevFeatureTooltip",a.ISSUE_ACCESS_LIMIT_ACTIONS_FEATURE_TOOLTIP_ID)("hideTooltipWhenAnchorNotVisible",!0)("onedevHovercardTrigger",c)("onedevHovercardActive",!0)("onedevHovercardConfig",a.ACCESS_LIMITS_HOVERCARD_CONFIG);z(5);Bg(a.getAccessLimitLevelDisplay(S(7,
12,a.accessLimitLevel$)));z(2);C("matTooltip",cu(S(11,18,a.enableIssueAccessLimits$),S(12,20,a.accessLimitLevel$))?"Manage issue level access limits":"View issue level access limits");dg("aria-label",cu(S(9,14,a.enableIssueAccessLimits$),S(10,16,a.accessLimitLevel$))?"Manage issue level access limits":"View issue level access limits");z(5);C("ngIf",S(14,22,a.enableIssueAccessLimits$)&&S(15,24,a.hasAclToAdmin$));z(3);C("ngIf",!(S(17,26,a.enableIssueAccessLimits$)&&S(18,28,a.hasAclToAdmin$)));z(8);
Q(" ",cu(S(25,30,a.enableIssueAccessLimits$),S(26,32,a.accessLimitLevel$))?"Manage issue level access limits.":"View issue level access limits."," ");z(3);C("href",a.documentationLinks.getIssueAccessLimit(),ue)}},elb=function(a){a&1&&(F(0,"b-issue-card",60,61),R(2,"async"));if(a&2){var b=N(1);a=L(2);C("onedevIsHovercardReady",b.init)("issueId",S(2,2,a.canonicalIssueId$))}},glb=function(a){if(a&1){var b=t();D(0,"b-estimated-effort-row",62);K("effortChange",function(e){v(b);var f=L(2);return w(flb(f.editIssueService,
f.issueId,e))});R(1,"async");R(2,"async");R(3,"async");E()}if(a&2){a=L(2);var c,d;C("effort",null!==(c=S(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=S(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!S(3,7,a.hasAclToEdit$))}},ilb=function(a){a&1&&(D(0,"div"),P(1),R(2,"async"),D(3,"a",68),P(4,"Learn more"),E()());if(a&2){a=L(2).ngIf;var b=L();z(1);Q(" Expanded access is turned on for this component. ",S(2,2,b.enableCollaborators$)||0<a.collaborators.length?"Assignees, verifiers and collaborators":
"Assignees and verifiers"," can edit issues in this component, and CC'd users can comment on them. ");z(2);C("href",hlb(b.documentationLinks),ue)}},jlb=function(a){a&1&&(D(0,"div",63)(1,"span",64),P(2,"Expanded Access"),E(),D(3,"xap-bubble",65)(4,"xap-icon-trigger"),F(5,"mat-icon",66),E(),O(6,ilb,5,4,"ng-template",null,67,$g),E()());if(a&2){var b=N(7);z(3);C("panelTemplate",b)}},klb=function(a){a&1&&(D(0,"span",74),R(1,"async"),P(2),E());if(a&2){a=L().ngIf;var b=L(4);pg("disabled",!!S(1,3,b.isSaving$("assignee")));
z(2);Q(" ",a.displayText," ")}},llb=function(a,b){if(a&1){var c=t();D(0,"div",72);K("onHotkey",function(){var d=v(c).ngIf,e=L(4);return w(bu(e,d))})("click",function(){var d=v(c).ngIf,e=L(4);return w(bu(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;bu(L(4),e);d.stopPropagation();return w(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;bu(L(4),e);d.stopPropagation();return w(d.preventDefault())});R(1,"async");F(2,"div",44);O(3,klb,3,5,"span",73);R(4,"async");E()}a&2&&(a=b.ngIf,
b=L(4),C("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),dg("aria-disabled",!!S(1,5,b.isSaving$("assignee")))("aria-label",a.description),z(3),C("ngIf",S(4,7,b.hasAclToEdit$)))},mlb=function(a){a&1&&(H(0),O(1,llb,5,9,"div",71),R(2,"async"),I());a&2&&(a=L(3),z(1),C("ngIf",S(2,1,a.issueAssigneeQuickAction$)))},olb=function(a){if(a&1){var b=t();H(0);D(1,"b-edit-field",69,70);K("onHotkey",function(){v(b);var f=N(2);return w(Yq(f,null,!0,!1))})("valueChange",function(f){v(b);
var h=N(2),l=L(2);return w(nlb(l,h,null!==f&&void 0!==f?f:""))});R(3,"async");R(4,"async");R(5,"async");E();O(6,mlb,3,3,"ng-container",0);I()}if(a&2){a=L().ngIf;var c=L(),d,e;z(1);C("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("name","assignee")("title","Assignee")("type",c.FieldType.TEXT)("value",a.assignee)("user",null!==(d=a.assigneeUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!S(3,12,c.hasAclToEdit$))("disabled",!!S(4,14,c.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(e=S(5,16,
c.teamId$))&&void 0!==e?e:"");z(5);C("ngIf",c.defaultAssigneeQuickActionEnabled)}},qlb=function(a){if(a&1){var b=t();D(0,"div",79);K("click",function(){v(b);var c=L(3);return w(plb(c.editIssueService,c.issueId,""))});P(1," Un-assign ");E()}},rlb=function(a,b){if(a&1){var c=t();D(0,"div",81);K("onHotkey",function(){var d=v(c).ngIf,e=L(4);return w(bu(e,d))})("click",function(){var d=v(c).ngIf,e=L(4);return w(bu(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;bu(L(4),e);d.stopPropagation();return w(d.preventDefault())})("keydown.space",
function(d){var e=v(c).ngIf;bu(L(4),e);d.stopPropagation();return w(d.preventDefault())});R(1,"async");R(2,"async");P(3);E()}a&2&&(a=b.ngIf,b=L(4),pg("disabled",!!S(1,7,b.isSaving$("assignee"))),C("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),dg("aria-disabled",!!S(2,9,b.isSaving$("assignee")))("aria-label",a.description),z(3),Q(" ",a.displayText," "))},slb=function(a){a&1&&(H(0),O(1,rlb,4,11,"div",80),R(2,"async"),I());a&2&&(a=L(3),z(1),C("ngIf",S(2,1,a.issueAssigneeQuickAction$)))},
tlb=function(a){if(a&1){var b=t();D(0,"onedev-edit-field")(1,"onedev-field-label");P(2,"Assignee");E();D(3,"onedev-field-value",40);R(4,"async");D(5,"b-user-picker",75,76);K("onHotkey",function(){v(b);var e=N(6);return w(e.openPopOver())})("emailChange",function(e){v(b);var f=L(2);return w(plb(f.editIssueService,f.issueId,e))});R(7,"async");R(8,"async");E();D(9,"div",77);O(10,qlb,2,0,"div",78);R(11,"async");O(12,slb,3,3,"ng-container",0);R(13,"async");E()()()}if(a&2){a=L().ngIf;var c=L(),d;z(3);C("thinking",
!!S(4,7,c.isSaving$("assignee")));z(2);C("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",null!==(d=S(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",!S(8,11,c.hasAclToEdit$));z(5);C("ngIf",a.assigneeUser&&S(11,13,c.hasAclToEdit$));z(2);C("ngIf",c.defaultAssigneeQuickActionEnabled&&S(13,15,c.hasAclToEdit$))}},vlb=function(a){if(a&1){var b=t();H(0);D(1,"b-edit-field",82,83);K("valueChange",function(f){v(b);var h=N(2),l=L(2);return w(ulb(l,h,null!==f&&void 0!==f?f:""))});R(3,"async");
R(4,"async");R(5,"async");E();I()}if(a&2){a=L().ngIf;var c=L(),d,e;z(1);C("name","verifier")("title","Verifier")("type",c.FieldType.TEXT)("value",a.verifier)("user",null!==(d=a.verifierUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!S(3,10,c.hasAclToEdit$))("disabled",!!S(4,12,c.isSaving$("verifier")))("showAvailability",!0)("teamId",null!==(e=S(5,14,c.teamId$))&&void 0!==e?e:"")}},xlb=function(a){if(a&1){var b=t();D(0,"onedev-edit-field")(1,"onedev-field-label");P(2,"Verifier");E();D(3,"onedev-field-value",
40);R(4,"async");D(5,"b-user-picker",41);K("emailChange",function(e){v(b);var f=L(2);return w(wlb(f.editIssueService,f.issueId,e))});R(6,"async");R(7,"async");E()()()}if(a&2){a=L().ngIf;var c=L(),d;z(3);C("thinking",!!S(4,4,c.isSaving$("verifier")));z(2);C("user",a.verifierUser)("teamId",null!==(d=S(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!S(7,8,c.hasAclToEdit$))}},ylb=function(a){a&1&&(D(0,"span"),P(1," Remove me "),E())},zlb=function(a){a&1&&(D(0,"span"),P(1," Add me "),E())},Blb=function(a){if(a&
1){var b=t();D(0,"div",54);K("click",function(){v(b);var c=L(3);return w(Alb(c))})("keydown.enter",function(c){v(b);var d=L(3);Alb(d);c.stopPropagation();c.preventDefault();return w()})("keydown.space",function(c){v(b);var d=L(3);Alb(d);c.stopPropagation();c.preventDefault();return w()});R(1,"async");R(2,"async");R(3,"async");R(4,"async");O(5,ylb,2,0,"span",0);R(6,"async");O(7,zlb,2,0,"span",0);R(8,"async");R(9,"async");E()}a&2&&(a=L(3),pg("disabled",!!S(1,7,a.isSaving$("collaborators"))),C("matTooltip",
S(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),dg("aria-disabled",!!S(2,9,a.isSaving$("collaborators")))("aria-label",S(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),z(5),C("ngIf",S(6,15,a.isCurrentUserCollaborator$)),z(2),C("ngIf",!S(8,17,a.isCurrentUserCollaborator$)&&S(9,19,a.hasAclToEdit$)))},Clb=function(a){a&1&&(D(0,"span"),P(1," Un-CC me "),E())},Dlb=function(a){a&1&&(D(0,
"span"),P(1," CC me "),E())},Glb=function(a){if(a&1){var b=t();D(0,"div",54);K("click",function(){v(b);var c=L(3);return w(Elb(c))})("keydown.enter",function(c){v(b);var d=L(3);return w(Flb(d,c))})("keydown.space",function(c){v(b);var d=L(3);return w(Flb(d,c))});R(1,"async");R(2,"async");R(3,"async");R(4,"async");O(5,Clb,2,0,"span",0);R(6,"async");O(7,Dlb,2,0,"span",0);R(8,"async");R(9,"async");E()}a&2&&(a=L(3),pg("disabled",!!S(1,7,a.isSaving$("ccs"))),C("matTooltip",S(4,13,a.isCurrentUserCCd$)?
"Remove yourself from CC":"Add yourself to CC"),dg("aria-disabled",!!S(2,9,a.isSaving$("ccs")))("aria-label",S(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),z(5),C("ngIf",S(6,15,a.isCurrentUserCCd$)),z(2),C("ngIf",!S(8,17,a.isCurrentUserCCd$)&&S(9,19,a.isAllowedToEditCC$)))},Jlb=function(a){if(a&1){var b=t();H(0);D(1,"b-collaborators-field",84,85);K("valuesChange",function(l){v(b);var q=N(2),u=L(2);return w(Hlb(u,q,l.values))});R(3,"async");R(4,"async");R(5,"async");R(6,
"async");D(7,"div",86);O(8,Blb,10,21,"div",87);R(9,"async");R(10,"async");R(11,"async");E()();D(12,"onedev-hovercard",null,88)(14,"div",56)(15,"div",57)(16,"span",58);P(17," Collaborators are users who are actively working on an issue. ");D(18,"a",89);P(19,"Learn more.");E();P(20);R(21,"async");E()()()();D(22,"b-list-field",90,91);K("valuesChange",function(l){v(b);var q=N(23),u=L(2);return w(Ilb(u,q,l.values))});R(24,"async");R(25,"async");R(26,"async");D(27,"div",86);O(28,Glb,10,21,"div",87);R(29,
"async");R(30,"async");R(31,"async");E()();I()}if(a&2){var c=N(13);a=L().ngIf;var d=L(),e,f,h;z(1);C("readonly",!S(3,25,d.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!S(4,27,d.isSaving$("collaborators")))("teamId",null!==(e=S(5,29,d.teamId$))&&void 0!==e?e:"")("isCollapsible",!0)("additionAllowed",null!==(f=S(6,31,d.enableCollaborators$))&&void 0!==f?f:!1)("onedevHovercardTrigger",c)("onedevHovercardActive",!0)("onedevHovercardConfig",
d.COLLABORATORS_HOVERCARD_CONFIG);z(7);C("ngIf",S(9,33,d.isCurrentUserCollaborator$)||!S(10,35,d.isCurrentUserCollaborator$)&&S(11,37,d.hasAclToEdit$));z(12);Q(" ",S(21,39,d.enableCollaborators$)?"":"Rollout is underway to this component, until then you cannot add collaborators"," ");z(2);Ag("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");C("defaultLineCount",5)("readonly",!S(24,41,d.isAllowedToEditCC$))("type",d.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",
a.ccUsers)("listFieldDisabled",!!S(25,43,d.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("teamId",null!==(h=S(26,45,d.teamId$))&&void 0!==h?h:"");z(6);C("ngIf",S(29,47,d.isCurrentUserCCd$)||!S(30,49,d.isCurrentUserCCd$)&&S(31,51,d.isAllowedToEditCC$))}},Klb=function(a){a&1&&(D(0,"span"),P(1," Un-CC me "),E())},Llb=function(a){a&1&&(D(0,"span"),P(1," CC me "),E())},Mlb=function(a){if(a&1){var b=t();D(0,"div",54);K("click",function(){v(b);var c=L(3);return w(Elb(c))})("keydown.enter",function(c){v(b);
var d=L(3);return w(Flb(d,c))})("keydown.space",function(c){v(b);var d=L(3);return w(Flb(d,c))});R(1,"async");R(2,"async");R(3,"async");R(4,"async");O(5,Klb,2,0,"span",0);R(6,"async");O(7,Llb,2,0,"span",0);R(8,"async");R(9,"async");E()}a&2&&(a=L(3),pg("disabled",!!S(1,7,a.isSaving$("ccs"))),C("matTooltip",S(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),dg("aria-disabled",!!S(2,9,a.isSaving$("ccs")))("aria-label",S(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),
z(5),C("ngIf",S(6,15,a.isCurrentUserCCd$)),z(2),C("ngIf",!S(8,17,a.isCurrentUserCCd$)&&S(9,19,a.isAllowedToEditCC$)))},Nlb=function(a){if(a&1){var b=t();D(0,"b-list-field",92,91);K("valuesChange",function(e){v(b);var f=N(1),h=L(2);return w(Ilb(h,f,e.values))});R(2,"async");R(3,"async");R(4,"async");D(5,"div",86);O(6,Mlb,10,21,"div",87);R(7,"async");R(8,"async");R(9,"async");E()()}if(a&2){a=L().ngIf;var c=L(),d;C("defaultLineCount",5)("readonly",!S(2,9,c.isAllowedToEditCC$))("type",c.ListFieldType.USERCHIP)("isUser",
!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!S(3,11,c.isSaving$("ccs")))("teamId",null!==(d=S(4,13,c.teamId$))&&void 0!==d?d:"");z(6);C("ngIf",S(7,15,c.isCurrentUserCCd$)||!S(8,17,c.isCurrentUserCCd$)&&S(9,19,c.isAllowedToEditCC$))}},Olb=function(a){a&1&&tg(0)},Plb=function(a){a&1&&(H(0),O(1,Olb,1,0,"ng-container",32),I());if(a&2){L();var b=N(71);z(1);C("ngTemplateOutlet",b)}},Qlb=function(a){a&1&&F(0,"b-list-field",93);if(a&2){a=L().ngIf;var b=L(2);C("readonly",!0)("defaultLineCount",
3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Rlb=function(a,b){a&1&&(H(0),O(1,Qlb,1,6,"b-list-field",19),R(2,"async"),I());a&2&&(a=b.ngIf,b=L(2),z(1),C("ngIf",S(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Slb=function(a){a&1&&F(0,"b-list-field",93);if(a&2){a=L().ngIf;var b=L();C("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip",
"Postmortems (auto-populated from a daily dump of Requiem)")}},Ulb=function(a,b){a&1&&(D(0,"div"),tg(1,94),E());if(a&2){a=b.$implicit;L();var c=N(83);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,Tlb,a))}},Vlb=function(a){a&1&&tg(0)},Wlb=function(a){a&1&&(H(0),O(1,Vlb,1,0,"ng-container",32),I());if(a&2){L();var b=N(81);z(1);C("ngTemplateOutlet",b)}},Xlb=function(a){a&1&&F(0,"hr",95)},Ylb=function(a){a&1&&tg(0)},Zlb=function(a){a&1&&(H(0),O(1,Ylb,1,0,"ng-container",32),I());if(a&2){L(2);
var b=N(67);z(1);C("ngTemplateOutlet",b)}},$lb=function(a){a&1&&tg(0)},amb=function(a){a&1&&(H(0),O(1,$lb,1,0,"ng-container",32),I());if(a&2){L(2);var b=N(69);z(1);C("ngTemplateOutlet",b)}},bmb=function(a){a&1&&tg(0)},cmb=function(a){a&1&&(H(0),O(1,bmb,1,0,"ng-container",32),I());if(a&2){L(2);var b=N(71);z(1);C("ngTemplateOutlet",b)}},dmb=function(a,b){a&1&&(D(0,"div"),tg(1,94),E());if(a&2){a=b.$implicit;L(2);var c=N(83);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,Tlb,a))}},emb=function(a){a&
1&&tg(0)},fmb=function(a){a&1&&(H(0),O(1,emb,1,0,"ng-container",32),I());if(a&2){L(2);var b=N(81);z(1);C("ngTemplateOutlet",b)}},gmb=function(a){a&1&&(D(0,"collapsible-panel",96),R(1,"async"),O(2,Zlb,2,1,"ng-container",0),R(3,"async"),O(4,amb,2,1,"ng-container",0),R(5,"async"),O(6,cmb,2,1,"ng-container",0),R(7,"async"),O(8,dmb,2,4,"div",20),R(9,"async"),O(10,fmb,2,1,"ng-container",0),R(11,"async"),E());if(a&2){a=L(2);var b;C("titleWhenCollapsed",null!==(b=S(1,8,a.showHiddenFieldsLabel$))&&void 0!==
b?b:"")("titleWhenExpanded","Hide additional fields");z(2);C("ngIf",a.showSloStatus&&!S(3,10,a.isSloStatusPrimary$));z(2);C("ngIf",!S(5,12,a.isSeverityPrimary$));z(2);C("ngIf",a.showChangelists&&!S(7,14,a.isChangelistPrimary$));z(2);C("ngForOf",S(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);z(2);C("ngIf",!S(11,18,a.isForgottenFourPrimary$))}},imb=function(a){if(a&1){var b=t();D(0,"b-issue-slo-box",98);K("onSnoozeChange",function(h){v(b);var l=L(3);return w(hmb(l.editIssueService,
l.issueId,h.date,h.snoozeType))});R(1,"async");R(2,"async");R(3,"async");R(4,"async");E()}if(a&2){a=L(2).ngIf;var c=L(),d,e,f;C("sloStatus",null!==(d=S(1,6,c.sloStatus$))&&void 0!==d?d:void 0)("sloSnoozeUntil",a.sloSnoozeUntil)("sloId",null!==(e=S(2,8,c.sloId$))&&void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",!!S(3,10,c.hasAclToEdit$))("issueCreationTimestamp",null!==(f=S(4,12,c.createdTimeMicros$))&&void 0!==f?f:0)}},jmb=function(a){a&1&&O(0,imb,5,14,"ng-template",97);a&2&&(a=L(2),
C("refreshable",a.refreshMonitor.getObservable()))},lmb=function(a){if(a&1){var b=t();D(0,"b-edit-field",99);K("valueChange",function(d){v(b);var e=L(2);return w(kmb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});R(1,"async");R(2,"async");E()}if(a&2){a=L().ngIf;var c=L();C("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity, which reflects how much the issue affects the use of the product")("value",a.severity)("choices",c.severityChoices)("readonly",
!S(1,8,c.hasAclToEdit$))("disabled",!!S(2,10,c.isSaving$("severity")))}},mmb=function(a){if(a&1){var b=t();D(0,"insights-graph-btn",103);K("pressed",function(){v(b);var c=L(3).issueInsightsSidebarService;Lp(c.analytics,Mp.SIDEBAR,"ingress-click");c.openSidebar("deployments");return w()});E()}},omb=function(a){if(a&1){var b=t();D(0,"b-list-field",100);K("valuesChange",function(h){v(b);var l=L(2);return w(nmb(l.editIssueService,l.issueId,h.values))});R(1,"async");R(2,"async");D(3,"div",101);O(4,mmb,
1,0,"insights-graph-btn",102);R(5,"async");E()();F(6,"b-list-field",93);R(7,"async");R(8,"async");R(9,"async")}if(a&2){a=L().ngIf;var c=L(),d,e,f;C("readonly",!S(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",!!S(2,17,c.isSaving$("changelists")));z(4);C("ngIf",S(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));z(2);pg("bv2-issue-metadata-error",null==(d=S(7,21,c.pendingChangelists$))?
null:d.hasError);C("readonly",!0)("defaultLineCount",3)("title","Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=S(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:Fg(27,Pkb))("tooltip",(null==(f=S(9,25,c.pendingChangelists$))?0:f.hasError)?"Error fetching pending CLs":"Pending changelists (auto-populated)")}},qmb=function(a){if(a&1){var b=t();D(0,"b-edit-field",104);K("valueChange",function(d){v(b);var e=L(2);return w(pmb(e.editIssueService,e.issueId,null!==
d&&void 0!==d?d:""))});R(1,"csv");R(2,"async");R(3,"async");E()}if(a&2){a=L().ngIf;var c=L();C("name","foundInVersion")("title","Found In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product affected by this issue (comma-separated list)")("value",S(1,8,a.foundInVersion))("readonly",!S(2,10,c.hasAclToEdit$))("disabled",!!S(3,12,c.isSaving$("foundInVersion")))}},smb=function(a){if(a&1){var b=t();D(0,"b-edit-field",105);K("valueChange",function(d){v(b);var e=L(2);return w(rmb(e.editIssueService,
e.issueId,null!==d&&void 0!==d?d:""))});R(1,"csv");R(2,"async");R(3,"async");E()}if(a&2){a=L().ngIf;var c=L();C("name","targetedToVersion")("title","Targeted To")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue should be fixed (comma-separated list)")("value",S(1,8,a.targetedToVersion))("readonly",!S(2,10,c.hasAclToEdit$))("disabled",!!S(3,12,c.isSaving$("targetedToVersion")))}},umb=function(a){if(a&1){var b=t();D(0,"b-edit-field",104);K("valueChange",
function(d){v(b);var e=L(2);return w(tmb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});R(1,"csv");R(2,"async");R(3,"async");E()}if(a&2){a=L().ngIf;var c=L();C("name","verifiedInVersion")("title","Verified In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue fix was verified (comma-separated list)")("value",S(1,8,a.verifiedInVersion))("readonly",!S(2,10,c.hasAclToEdit$))("disabled",!!S(3,12,c.isSaving$("verifiedInVersion")))}},wmb=
function(a){if(a&1){var b=t();D(0,"b-edit-field",106);K("valueChange",function(d){v(b);var e=L(2);return w(vmb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});R(1,"async");R(2,"async");E()}if(a&2){a=L().ngIf;var c=L();C("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!S(1,7,c.hasAclToEdit$))("disabled",!!S(2,9,c.isSaving$("inProd")))}},xmb=function(a){a&1&&tg(0)},ymb=function(a){a&1&&tg(0)},zmb=
function(a){a&1&&tg(0)},Amb=function(a){a&1&&tg(0)},Bmb=function(a){a&1&&(D(0,"div",4),O(1,xmb,1,0,"ng-container",32),O(2,ymb,1,0,"ng-container",32),O(3,zmb,1,0,"ng-container",32),O(4,Amb,1,0,"ng-container",32),E());if(a&2){L();var b=N(73),c=N(75),d=N(77),e=N(79);z(1);C("ngTemplateOutlet",b);z(1);C("ngTemplateOutlet",c);z(1);C("ngTemplateOutlet",d);z(1);C("ngTemplateOutlet",e)}},Dmb=function(a,b){if(a&1){var c=t();D(0,"b-custom-field-editor",107);K("save",function(e){var f=v(c).$implicit,h=L(2);return w(Cmb(h.editIssueService,
h.issueId,f.customFieldId,e))});R(1,"async");R(2,"async");E()}if(a&2){a=b.$implicit;b=L().ngIf;var d=L();C("issue",b)("field",a)("readonly",!S(1,4,d.hasAclToEdit$))("disabled",!!S(2,6,d.isSaving$(a.customFieldId)))}},Hmb=function(a,b){if(a&1){var c=t();H(0);O(1,Lkb,2,1,"ng-container",0);R(2,"async");O(3,Okb,3,3,"ng-container",0);O(4,Rkb,3,3,"ng-container",0);R(5,"async");O(6,Tkb,6,16,"ng-container",1);O(7,Vkb,8,10,"ng-template",null,2,$g);D(9,"b-edit-field",3);K("valueChange",function(u){v(c);var x=
L();return w(Emb(x.editIssueService,x.issueId,null!==u&&void 0!==u?u:""))});R(10,"async");R(11,"async");E();D(12,"div",4)(13,"b-edit-field",5);K("onHotkey",function(u){v(c);var x=L();(u=Xm("P"+u))&&Fmb(x.editIssueService,x.issueId,u);return w()})("valueChange",function(u){v(c);var x=L();return w(Fmb(x.editIssueService,x.issueId,null!==u&&void 0!==u?u:""))});R(14,"async");R(15,"async");E();O(16,Xkb,2,1,"ng-container",0);R(17,"async");E();D(18,"div",6)(19,"b-edit-field",7);K("valueChange",function(u){v(c);
var x=L();return w(Gmb(x,null!==u&&void 0!==u?u:""))});R(20,"async");R(21,"async");R(22,"async");R(23,"async");E();O(24,Zkb,3,3,"ng-container",0);R(25,"async");E();O(26,alb,5,6,"onedev-feature-tooltip-controller",8);R(27,"async");R(28,"async");O(29,dlb,29,34,"div",9);R(30,"async");R(31,"async");D(32,"onedev-hovercard",null,10);O(34,elb,3,4,"b-issue-card",11);E();O(35,glb,4,9,"b-estimated-effort-row",12);R(36,"async");R(37,"async");D(38,"div",13);R(39,"async");O(40,jlb,8,1,"div",14);R(41,"async");
D(42,"div",15);O(43,olb,7,18,"ng-container",1);O(44,tlb,14,17,"ng-template",null,16,$g);E();O(46,vlb,6,16,"ng-container",1);O(47,xlb,8,10,"ng-template",null,17,$g);O(49,Jlb,32,53,"ng-container",1);R(50,"async");O(51,Nlb,10,21,"ng-template",null,18,$g);E();O(53,Plb,2,1,"ng-container",0);R(54,"async");O(55,Rlb,3,3,"ng-container",0);R(56,"async");O(57,Slb,1,6,"b-list-field",19);O(58,Ulb,2,4,"div",20);R(59,"async");O(60,Wlb,2,1,"ng-container",0);R(61,"async");O(62,Xlb,1,0,"hr",21);R(63,"async");O(64,
gmb,12,20,"collapsible-panel",22);R(65,"async");O(66,jmb,1,1,"ng-template",null,23,$g);O(68,lmb,3,12,"ng-template",null,24,$g);O(70,omb,10,28,"ng-template",null,25,$g);O(72,qmb,4,14,"ng-template",null,26,$g);O(74,smb,4,14,"ng-template",null,27,$g);O(76,umb,4,14,"ng-template",null,28,$g);O(78,wmb,3,11,"ng-template",null,29,$g);O(80,Bmb,5,4,"ng-template",null,30,$g);O(82,Dmb,3,8,"ng-template",null,31,$g);I()}if(a&2){a=b.ngIf;var d=N(8),e=N(33),f=N(45),h=N(48),l=N(52);b=L();var q;z(1);C("ngIf",b.showSloStatus&&
S(2,52,b.isSloStatusPrimary$));z(2);C("ngIf",b.sessionIsInternal);z(1);C("ngIf",S(5,54,b.teamWarningType$));z(2);C("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);z(3);C("name","type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",!S(10,56,b.hasAclToEdit$))("disabled",!!S(11,58,b.isSaving$("type")));z(4);C("name","priority")("title","Priority")("type",b.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",a.priority)("choices",
b.priorityChoices)("hotkey",b.HOTKEYS.CHANGE_ISSUE_PRIORITY)("readonly",!S(14,60,b.hasAclToEdit$))("disabled",!!S(15,62,b.isSaving$("priority")));z(3);C("ngIf",S(17,64,b.isSeverityPrimary$));z(3);C("name","status")("title","Status")("type",b.FieldType.ENUM)("value",a.status)("choices",null!==(q=S(20,66,b.statusChoices$))&&void 0!==q?q:Fg(106,Pkb))("readonly",!S(21,68,b.hasAclToEdit$))("disabled",!!S(22,70,b.isSaving$("status")))("onedevHovercardActive",!!S(23,72,b.canonicalIssueId$))("onedevHovercardTrigger",
e);z(5);C("ngIf",S(25,74,b.hasAclToEdit$));z(2);C("ngIf",cu(S(27,76,b.enableIssueAccessLimits$),S(28,78,b.accessLimitLevel$)));z(3);C("ngIf",cu(S(30,80,b.enableIssueAccessLimits$),S(31,82,b.accessLimitLevel$)));z(6);C("ngIf",b.sessionIsInternal&&S(36,84,b.isEffortEnabled$)&&!S(37,86,b.isWithinExternalComponent$));z(3);pg("implicit-access-box",S(39,88,b.showImplicitAccessIndicator$));z(2);C("ngIf",S(41,90,b.showImplicitAccessIndicator$));z(3);C("ngIf",!b.enablePeoplekitAc)("ngIfElse",f);z(3);C("ngIf",
!b.enablePeoplekitAc)("ngIfElse",h);z(3);C("ngIf",S(50,92,b.enableCollaborators$)||0<a.collaborators.length)("ngIfElse",l);z(4);C("ngIf",b.showChangelists&&S(54,94,b.isChangelistPrimary$));z(2);C("ngIf",S(56,96,b.workspaces$));z(2);C("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));z(1);C("ngForOf",S(59,98,b.visibleCustomFields$))("ngForTrackBy",b.trackCustomField);z(2);C("ngIf",S(61,100,b.isForgottenFourPrimary$));z(2);C("ngIf",S(63,102,b.hasHiddenFields$));z(2);C("ngIf",
S(65,104,b.hasHiddenFields$))}},Imb=function(a){a&1&&F(0,"edit-issue-metadata",5);a&2&&(a=L(),C("issueId",a.issueId))},Jmb=function(a,b){if(a instanceof Element){var c=Pj(window.sessionStorage.getItem(b));if(null!=c){a.scrollTo(0,c);var d=new ResizeObserver(function(){a.scrollTo(0,c);d.disconnect()});d.observe(a);setTimeout(function(){a.scrollTo(0,c);d.disconnect()},100)}}},Kmb=function(a,b){a&1&&(D(0,"h2",5),P(1),E());a&2&&(a=b.ngIf,z(1),Q("Issue ",a,""))},Lmb=function(a){a&1&&F(0,"div")},Mmb=function(a){a&
1&&(D(0,"a",19),P(1,"Learn more"),E())},Nmb=function(a){if(a&1){var b=t();D(0,"button",20);K("click",function(){var c=v(b).ngIf,d=L(5);return w(d.editIssueService.unarchive(c))});P(1," Unarchive ");E()}},Omb=function(a){a&1&&(D(0,"b-callout",16)(1,"b-callout-body"),P(2,"This issue has been archived. "),O(3,Mmb,2,0,"a",17),E(),D(4,"b-callout-actions"),O(5,Nmb,2,0,"button",18),R(6,"async"),E()());a&2&&(a=L(4),C("messageType","caution")("format","app")("iconOverride","archive_24px"),z(3),C("ngIf",a.activeSession.isInternalSession()),
z(2),C("ngIf",S(6,5,a.id$)))},Pmb=function(a){a&1&&(D(0,"a",23),P(1,"Learn more"),E())},Qmb=function(a){a&1&&(D(0,"b-callout",21)(1,"b-callout-body"),P(2," This issue is in an archived component. "),O(3,Pmb,2,0,"a",22),E()());a&2&&(a=L(4),C("format","app")("iconOverride","archive_24px"),z(3),C("ngIf",a.activeSession.isInternalSession()))},Rmb=function(a,b){a&1&&(H(0),P(1," Reason: "),D(2,"code"),P(3),E(),P(4,". "),I());a&2&&(a=b.$implicit,z(3),Bg(a))},Smb=function(a){a&1&&(D(0,"a",27),P(1,"Learn more"),
E())},Umb=function(a){if(a&1){var b=t();D(0,"button",28);K("click",function(){var d=v(b).ngIf,e=L(5);return w(Tmb(e.editIssueService,d))});R(1,"async");R(2,"async");P(3," Undelete ");E()}if(a&2){a=L(5);var c;C("matTooltip",null!==(c=S(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!S(2,4,a.permissions.canUndeleteIssue$))}},Vmb=function(a){a&1&&(D(0,"b-callout",24)(1,"b-callout-body"),P(2," This issue has been deleted. "),O(3,Rmb,5,1,"ng-container",6),R(4,"async"),O(5,Smb,2,0,"a",25),
E(),D(6,"b-callout-actions"),O(7,Umb,4,6,"button",26),R(8,"async"),E()());if(a&2){a=L(4);var b;z(3);C("ngIf",null==(b=S(4,3,a.snapshot$))?null:b.deletionReason);z(2);C("ngIf",a.activeSession.isInternalSession());z(2);C("ngIf",S(8,5,a.id$))}},Wmb=function(a,b){a&1&&(D(0,"output",37),P(1),E());a&2&&(a=b.$implicit,z(1),Q(" ",a," "))},Ymb=function(a,b){a&1&&(D(0,"a",34,35),P(2),O(3,Wmb,2,1,"output",36),R(4,"async"),E());if(a&2){a=b.$implicit;var c=N(1);C("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",
Fg(7,Xmb));z(2);Q(" ",a.title," ");z(1);C("ngIf",S(4,5,a.count$))}},Zmb=function(a,b){a&1&&(D(0,"header",29),F(1,"b-tracker-banner",30),R(2,"async"),R(3,"async"),F(4,"issue-header",31),D(5,"nav",32),O(6,Ymb,5,8,"a",33),E()());a&2&&(a=b.$implicit,b=L(4),z(1),C("issueId",S(2,4,b.id$))("trackerId",S(3,6,b.issueTrackerId$)),z(3),C("issueId",a),z(2),C("ngForOf",b.tabs))},$mb=function(a,b){a&1&&F(0,"issue-metadata-sidebar",31);a&2&&C("issueId",b.ngIf)},anb=function(a){a&1&&(D(0,"div",8),R(1,"async"),O(2,
Omb,7,7,"b-callout",9),R(3,"async"),O(4,Qmb,4,3,"b-callout",10),R(5,"async"),O(6,Vmb,9,7,"b-callout",11),R(7,"async"),O(8,Zmb,7,8,"header",12),R(9,"async"),D(10,"div",13)(11,"article",14),F(12,"router-outlet"),E(),O(13,$mb,1,1,"issue-metadata-sidebar",15),R(14,"async"),E()());a&2&&(a=L(3),pg("issue-editor-false",!S(1,7,a.permissions.hasAclToEdit$)),z(2),C("ngIf",S(3,9,a.archived$)),z(2),C("ngIf",S(5,11,a.inArchivedComponent$)),z(2),C("ngIf",S(7,13,a.deleted$)),z(2),C("ngIf",S(9,15,a.id$)),z(5),C("ngIf",
S(14,17,a.id$)))},bnb=function(a){a&1&&(D(0,"div"),O(1,anb,15,19,"div",7),R(2,"async"),E());if(a&2){a=L(2);var b=N(7);z(1);C("ngIf",!S(2,2,a.showTrackerRedirect$))("ngIfElse",b)}},cnb=function(a){a&1&&(O(0,bnb,3,4,"div",6),R(1,"async"));a&2&&(a=L(),C("ngIf",!S(1,1,a.issue404$)))},dnb=function(a){a&1&&(D(0,"div",38),F(1,"b-tracker-redirect",39),R(2,"async"),E());a&2&&(a=L(),z(1),C("issue",S(2,1,a.issue$)))},enb=function(a){a&1&&(D(0,"div",38),F(1,"b-access-denied-metadata",40),R(2,"async"),E());a&
2&&(a=L(),z(1),C("issueMetadata",S(2,1,a.issueMetadata$)))},fnb=function(a,b){a&1&&(H(0),F(1,"b-issues-table",1),I());a&2&&(a=b.ngIf,b=L(),z(1),C("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},hnb=function(a){if(a&1){var b=t();D(0,"div",5);F(1,"img",6);D(2,"p",7);P(3," This issue has no duplicates ");E();D(4,"p",8);P(5," A duplicate is an issue with similar content. ");E();D(6,"p",8);P(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');
D(8,"a",9);P(9,"Learn more");E()();D(10,"button",10);K("click",function(){v(b);var c=L(2);return w(gnb(c))});P(11," Add ");E()()}a&2&&(a=L(2),z(1),C("src",a.ROBOT_SLEEPING,ue))},inb=function(a){a&1&&F(0,"b-duplicates-table",15);if(a&2){a=L(2).$implicit;var b=L();C("issueId",b.lastKnownId)("duplicateIds",a)}},jnb=function(a,b){a&1&&(H(0),D(1,"a",16),P(2," View as search results "),E(),I());a&2&&(a=b.ngIf,z(1),C("routerLink",a.path)("queryParams",a.params))},knb=function(a){if(a&1){var b=t();D(0,"h4",
11);P(1);R(2,"async");D(3,"button",12);K("click",function(){v(b);var c=L(2);return w(gnb(c))});P(4," Add ");E()();O(5,inb,1,2,"b-duplicates-table",13);D(6,"aside",14);O(7,jnb,3,2,"ng-container",1);R(8,"async");E()}a&2&&(a=L(2),z(1),Q("Duplicates ",S(2,3,a.counts.countDuplicateDisplay$)," "),z(4),C("ngIf",a.lastKnownId),z(2),C("ngIf",S(8,5,a.dupeUrl$)))},lnb=function(a){a&1&&(H(0),O(1,hnb,12,1,"div",3),R(2,"async"),O(3,knb,9,7,"ng-template",null,4,$g),I());if(a&2){var b=N(4);a=L();z(1);C("ngIf",!S(2,
2,a.showTable$))("ngIfElse",b)}},mnb=function(a){a&1&&(D(0,"aside",17),F(1,"b-spinner"),E())},nnb=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L(),pg("muted",a.isGreyedOut),z(1),Q(" ",a.displayName,""))},onb=function(a){if(a&1){var b=t();D(0,"a",2);K("click",function(c){v(b);var d=L();return w(d.handleClick(c))});P(1);E()}a&2&&(a=L(),C("href",a.linkUrl,ue)("rel",a.EXTERNAL_LINK_REL),z(1),Q(" ",a.displayName,""))},pnb=function(a){a&1&&F(0,"b-restricted-chip",10);a&2&&(a=L(),C("label",a.getRestrictedLabel())("retentionState",
null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},qnb=function(a){a&1&&(D(0,"span",11),F(1,"b-actions-menu",12),E());a&2&&(a=L(),z(1),C("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},unb=function(a){if(a&1){var b=t();D(0,"span")(1,"b-conditional-link",13);K("customHandler",function(){v(b);var c=L();c.isRestricted()?rnb(c,!1):c.domSafe.openInNewTab(snb(c,!1));return w()});E()()}a&2&&(a=L(),sg("bv2-issue-attachment-link ",
tnb(a),""),z(1),C("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",snb(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},vnb=function(a){if(a&1){var b=t();D(0,"span")(1,"b-conditional-link",13);K("customHandler",function(){v(b);var c=L();c.isRestricted()?rnb(c,!0):c.domSafe.openInNewTab(snb(c,!0));return w()});E()()}a&2&&(a=L(),sg("bv2-issue-attachment-link ",tnb(a),""),z(1),C("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",snb(a,!0))("linkEnabled",!0)("useCustomHandler",
!0))},wnb=function(a){a&1&&(D(0,"span",14)(1,"a",15),F(2,"mat-icon",16),E()());a&2&&(a=L(),z(1),C("href",a.documentationLinks.getRestrictedAccessHelpLink(),ue)("disableRipple",!0),z(1),C("svgIcon","help-outline"))},xnb=function(a){a&1&&(D(0,"div",17),P(1," You do not have access to this restricted attachment. "),D(2,"a",18),P(3,"Learn more"),E()());a&2&&(a=L(),z(2),C("href",a.documentationLinks.getRestrictedAccessHelpLink(),ue))},znb=function(a){if(a&1){var b=t();D(0,"button",20,21);K("click",function(){v(b);
var c=L(2);return w(ynb(c))});P(2," Edit ");E()}},Anb=function(a,b){a&1&&(H(0),P(1," on behalf of "),F(2,"b-user-display-name",22),I());a&2&&(a=b.ngIf,z(2),C("email",a)("showEmail",!1))},Bnb=function(a){a&1&&(H(0),O(1,Anb,3,2,"ng-container",12),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.onBehalfOfEmail$)))},Cnb=function(a,b){if(a&1){var c=t();D(0,"a",23);K("click",function(d){var e=v(c).$implicit;L(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return w()});P(1);
E()}a&2&&(a=b.$implicit,b=L().$implicit,L(),C("routerLinkObj",Ln(a,{comment:1})),dg("aria-label","Comment number"+b.commentNumber),z(1),Q(" #",b.commentNumber,""))},Enb=function(a){a&1&&(H(0),D(1,"span",24),P(2," \u2022 Edited"),E(),I());if(a&2){a=L().$implicit;var b=L();z(1);C("matTooltip",Dnb(b,a))}},Fnb=function(a){a&1&&(H(0),D(1,"p",25),P(2," Description has been deleted. "),E(),I())},Gnb=function(a){if(a&1){var b=t();D(0,"b-restricted-comment-placeholder",28);K("onConfirm",function(){v(b);var c=
L().ngIf,d=L(3).$implicit,e=L();return w(e.loadRestrictedComment(c,d))});R(1,"async");E()}a&2&&(a=L(5),C("disabled",!S(1,1,a.mayReadPii$)))},Hnb=function(a){a&1&&(H(0),O(1,Gnb,2,3,"b-restricted-comment-placeholder",27),R(2,"async"),I());a&2&&(a=L(4),z(1),C("ngIf",S(2,1,a.shouldShowRestrictedPlaceholder$)))},Inb=function(a){a&1&&(H(0),O(1,Hnb,3,3,"ng-container",12),R(2,"async"),I());a&2&&(a=L(3),z(1),C("ngIf",S(2,1,a.id$)))},Jnb=function(a,b){a&1&&(F(0,"b-note-container",31),R(1,"async"));if(a&2){a=
b.$implicit;b=L().ngIf;var c=L(4);C("issueId",b)("issueAccessLevel",S(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},Knb=function(a){a&1&&(H(0),O(1,Jnb,2,6,"b-note-container",30),R(2,"async"),I());if(a&2){a=L(3).$implicit;var b=L();z(1);C("ngIf",""!==a.unlinkifiedComment&&S(2,1,b.firstNote$))}},Lnb=function(a){a&1&&(H(0),P(1," Add one."),I())},Mnb=function(a){a&1&&(D(0,"p",32),P(1," No description yet."),O(2,Lnb,2,0,"ng-container",12),E());a&2&&(a=L(4),z(2),C("ngIf",a.canEditComment()))},
Nnb=function(a){a&1&&(O(0,Knb,3,3,"ng-container",12),R(1,"async"),O(2,Mnb,3,1,"p",29));if(a&2){a=L(2).$implicit;var b=L();C("ngIf",S(1,2,b.id$));z(2);C("ngIf",""===a.unlinkifiedComment)}},Onb=function(a){a&1&&(O(0,Inb,3,3,"ng-container",17),R(1,"async"),O(2,Nnb,3,4,"ng-template",null,26,$g));if(a&2){var b=N(3);a=L(2);C("ngIf",S(1,2,a.isRedacted$))("ngIfElse",b)}},Pnb=function(a,b){a&1&&(H(0),F(1,"b-attachment-viewer",36),I());if(a&2){a=b.ngIf;b=L().$implicit;var c=L(3);z(1);C("issueId",a)("attachment",
b)("attachmentUploader",c.getUserEmailIfAvailable())}},Qnb=function(a,b){a&1&&(D(0,"div",35),O(1,Pnb,2,3,"ng-container",12),R(2,"async"),E());a&2&&(a=b.$implicit,b=L(3),yg("id","attachment",a.attachmentId,""),z(1),C("ngIf",S(2,2,b.id$)))},Rnb=function(a){a&1&&(D(0,"div",33),O(1,Qnb,3,4,"div",34),E());a&2&&(a=L().$implicit,z(1),C("ngForOf",a.attachments))},Tnb=function(a,b){a&1&&(D(0,"div",2),F(1,"mat-icon",3),D(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),P(6,"Description"),E(),O(7,znb,3,0,"button",
8),F(8,"b-user-display",9),D(9,"onedev-hovercard",null,10),F(11,"b-issue-person-card",11),E(),P(12," created issue "),O(13,Bnb,3,3,"ng-container",12),R(14,"async"),O(15,Cnb,2,3,"a",13),R(16,"async"),O(17,Enb,3,1,"ng-container",12),R(18,"async"),E(),D(19,"div"),F(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),R(23,"async"),E()(),O(24,Fnb,3,0,"ng-container",17),R(25,"async"),O(26,Onb,4,4,"ng-template",null,18,$g),O(28,Rnb,2,1,"div",19),E()());if(a&2){a=b.$implicit;var c=N(10),d=N(27);b=L();
var e;z(7);C("ngIf",b.canEditComment());z(1);C("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);z(3);C("email",b.getUserEmailIfAvailable());z(2);C("ngIf",S(14,13,b.isAuthorNotReporter$));z(2);C("ngIf",a.commentNumber&&S(16,15,b.id$));z(2);C("ngIf",S(18,17,b.isShowCommentHistoryActionInMenu$));z(3);C("timestamp",a.modifiedDate);z(1);C("buttonLabel","Description actions")("menuItems",null!==(e=S(23,19,b.commentActionMenuItems$))&&void 0!==e?e:Fg(23,Snb));z(3);C("ngIf",S(25,21,b.isDeleted$))("ngIfElse",
d);z(4);C("ngIf",null==a?null:null==a.attachments?null:a.attachments.length)}},Unb=function(a){a&1&&F(0,"b-spinner")},Vnb=function(a){return(null==a?void 0:a.emailAddress)||(null==a?void 0:a.obfuscatedEmailAddress)||""},Wnb=function(a){a&1&&F(0,"mat-icon",3)},Xnb=function(a){a&1&&F(0,"b-spinner")},Ynb=function(a,b){a&1&&(D(0,"span",11),P(1," of "),D(2,"a",12),P(3),E()());if(a&2){a=b.$implicit;L(2);var c=N(12);z(2);yg("routerLink","/issues/",a,"");C("onedevHovercardTrigger",c);z(1);Q(" ",a," ")}},
Znb=function(a,b){a&1&&(D(0,"div")(1,"div",9),R(2,"async"),P(3),E(),O(4,Ynb,4,3,"span",10),R(5,"async"),E());a&2&&(a=b.$implicit,b=L(),z(1),sg("chippy ",S(2,6,b.statusCssClass$),""),C("title",b.STATUS_JS_FULL_TEXT[a]),z(2),Q(" ",b.STATUS_JS_TERSE[a]," "),z(1),C("ngIf",S(5,8,b.canonicalId$)))},$nb=function(a,b){a&1&&(D(0,"span"),P(1),E());a&2&&(a=b.$implicit,b=L(),sg("b-chip squared issue-type-",a,""),z(1),Q(" ",b.ISSUE_TYPE_TEXT[a]," "))},bob=function(a,b){if(a&1){var c=t();D(0,"b-hotlist-chip-smart",
17);K("removeHotlist",function(){var d=v(c).$implicit,e=L(2);return w(aob(e,d))});E()}a&2&&C("id",b.$implicit)},dob=function(a,b){if(a&1){var c=t();D(0,"div",13)(1,"button",14);K("onHotkey",function(){v(c);var d=L();return w(cob(d))})("click",function(){v(c);var d=L();return w(cob(d))});F(2,"mat-icon",15);P(3);R(4,"async");E();O(5,bob,1,1,"b-hotlist-chip-smart",16);E()}a&2&&(a=b.$implicit,b=L(),z(1),C("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),z(2),Q(" ",S(4,3,b.textOfHotlistBtn$)," "),z(2),C("ngForOf",
a))},eob=function(a){a&1&&(D(0,"div",18),F(1,"smart-full-history-btn"),E())},fob=function(a){a&1&&(F(0,"b-issue-card",19,20),R(2,"async"));if(a&2){var b=N(1);a=L();C("onedevIsHovercardReady",b.init)("issueId",S(2,2,a.canonicalId$))}},gob=function(a){return null==a?void 0:a.snapshot[0].hotlistId},iob=function(a){a&1&&(D(0,"onedev-feature-tooltip-controller",8)(1,"onedev-feature-tooltip",9)(2,"p",10),P(3,"Comment Filtering and Sorting"),E(),P(4," Filter comments based on author and sort comments based on creation time "),
E()());a&2&&(a=L(),C("showTooltip$",a.showFeatureTooltip$),z(1),C("customPositions",Hg(3,hob,a.TOOLTIP_POSITIONS.TOP_CENTER_LEFT,a.TOOLTIP_POSITIONS.BOTTOM_CENTER_LEFT))("tooltipId",a.COMMENT_THREAD_ACTIONS_FEATURE_TOOLTIP_ID))},job=function(a,b){a&1&&(D(0,"mat-option",14)(1,"div",15),P(2),E(),D(3,"div",16),P(4),E()());a&2&&(a=b.$implicit,C("value",a),z(2),Bg(a.name),z(2),Bg(a.description))},kob=function(a){if(a&1){var b=t();D(0,"mat-form-field",11)(1,"mat-select",12);K("valueChange",function(c){v(b);
var d=L();return w(d.selectedFilter=c)})("selectionChange",function(c){v(b);var d=L();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(Rf(d.destroyed$)).subscribe();Lp(d.analytics,Mp.EDIT_ISSUE,"click",c.commentFilterType);return w()});D(2,"mat-select-trigger");P(3);E();O(4,job,5,3,"mat-option",13);E()()}a&2&&(a=L(),z(1),C("value",a.selectedFilter),z(2),Bg(null==a.selectedFilter?null:a.selectedFilter.displayName),z(1),C("ngForOf",a.filters))},lob=function(a){a&
1&&(H(0),F(1,"mat-icon",17),D(2,"span"),P(3,"Oldest first"),E(),I())},mob=function(a){a&1&&(H(0),F(1,"mat-icon",18),D(2,"span"),P(3,"Newest first"),E(),I())},qob=function(a){switch(a){case "FULL_HISTORY":return nob;case "ALL_COMMENTS":return du;case "HUMAN_ONLY":return oob;case "TEAM_AND_ASSIGNEE":return pob;default:return du}},sob=function(a){du.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";return rob},tob=function(a){a&1&&(H(0),P(1,", "),F(2,"br"),I())},uob=
function(a){a&1&&(H(0),P(1," reacted"),I())},vob=function(a,b){a&1&&(H(0),D(1,"div"),P(2),O(3,tob,3,0,"ng-container",3),O(4,uob,2,0,"ng-container",3),R(5,"async"),E(),I());if(a&2){a=b.$implicit;b=b.last;var c=L();z(2);Q(" ",a,"");z(1);C("ngIf",!b);z(1);C("ngIf",!S(5,3,c.isOverflowReactionCount$)&&b)}},wob=function(a){if(a&1){var b=t();D(0,"span");P(1," and ");D(2,"button",4);K("click",function(){v(b);var c=L();if(c.commentNumber&&c.issueId){var d,e,f=null!=(e=null==(d=ep(c.reactionState$))?void 0:
d.type)?e:"REACTION_TYPE_UNSPECIFIED";c.matDialogService.open(eu,{width:"560px",data:{commentNumber:c.commentNumber,issueId:c.issueId,reactionType:f}})}return w()});P(3);R(4,"async");E();P(5," reacted ");E()}a&2&&(a=L(),z(3),Q(" ",S(4,1,a.overflowReactionCount$)," more "))},xob=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L(2),z(1),Q(" by ",Gj(a.event.lastCommentEditorUser),""))},yob=function(a){a&1&&(H(0)(1),P(2,"Message last modified"),I(),O(3,xob,2,1,"ng-container",0),H(4),P(5," on "),F(6,"b-formatted-date-time",
1),I()());a&2&&(a=L(),z(3),C("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),z(3),C("timestamp",a.event.commentLastModifiedAtDate))},zob=function(a){a&1&&F(0,"b-user-email",5);a&2&&(a=L().$implicit,C("email",a.text)("withProfile",!0))},Aob=function(a){a&1&&(D(0,"b-issue-reference-widget",6),H(1),P(2),I(),E());if(a&2){a=L().$implicit;var b=L();C("href",Hn(a.text))("issueId",b.getIssueId(a));z(2);Bg(a.text)}},Bob=function(a){a&1&&(H(0),P(1),I());a&2&&(a=L().$implicit,z(1),Bg(a.text))},
Cob=function(a,b){a&1&&(H(0)(1,1),O(2,zob,1,2,"b-user-email",2),O(3,Aob,3,3,"b-issue-reference-widget",3),O(4,Bob,2,1,"ng-container",4),I()());a&2&&(a=b.$implicit,z(1),C("ngSwitch",a.tag),z(1),C("ngSwitchCase","user"),z(1),C("ngSwitchCase","bug"))},Dob=function(a){a&1&&(H(0),F(1,"b-component-card",3,4),I());if(a&2){var b=N(2);a=L();z(1);C("onedevIsHovercardReady",b.init)("componentId",a.id)}},Eob=function(a){a&1&&(D(0,"span"),P(1),E());if(a&2){a=L(5);var b;z(1);Bg(null!==(b=a.effortSpecName)&&void 0!==
b?b:"Estimated Effort")}},Fob=function(a){a&1&&(D(0,"label"),O(1,Eob,2,1,"span",11),P(2,":\u200b "),E());if(a&2){a=L(4);var b=N(5);z(1);C("ngIf",a.effortEnabled)("ngIfElse",b)}},Gob=function(a){a&1&&(D(0,"label"),P(1),E());a&2&&(a=L(3).$implicit,z(1),Q("",a.displayName,":\u200b"))},Hob=function(a){a&1&&(D(0,"span"),F(1,"b-user-display-name",14),E());a&2&&(a=L().$implicit,z(1),C("email",a)("showEmail",!0))},Iob=function(a){a&1&&(H(0),F(1,"plain-component-path",15),I());a&2&&(a=L(4).$implicit,z(1),
C("id",a.oldValue))},Job=function(a){a&1&&F(0,"b-formatted-date-time",17);if(a&2){a=L(2).$implicit;var b=L(4);C("timestamp",1E3*b.asNumber(a))}},Kob=function(a){a&1&&(D(0,"span"),P(1,"[Issue creation date]"),E())},Lob=function(a){a&1&&(D(0,"span"),O(1,Job,1,1,"b-formatted-date-time",16),O(2,Kob,2,0,"span",5),E());a&2&&(a=L().$implicit,z(1),C("ngIf","<none>"!==a),z(1),C("ngIf","<none>"===a))},Mob=function(a){a&1&&(H(0),D(1,"span"),P(2),E(),I());if(a&2){a=L().$implicit;var b=L(4);z(2);Bg(b.getAccessLimitLevel(a))}},
Nob=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Bg(a))},Oob=function(a){a&1&&(H(0),O(1,Hob,2,2,"span",5),O(2,Iob,2,1,"ng-container",5),O(3,Lob,3,2,"span",5),O(4,Mob,3,1,"ng-container",5),O(5,Nob,2,1,"span",5),P(6," \u00a0 "),F(7,"span",13),P(8," \u00a0 "),I());a&2&&(a=L(3).$implicit,z(1),C("ngIf",a.isUser),z(1),C("ngIf","component"===a.name),z(1),C("ngIf","sloSnoozeUntil"==a.name),z(1),C("ngIf","access_limit"===a.name),z(1),C("ngIf",!a.isUser&&"component"!==a.name&&"sloSnoozeUntil"!==
a.name&&"access_limit"!==a.name))},Pob=function(a){a&1&&F(0,"b-user-display-name",14);a&2&&(a=L().$implicit,C("email",a)("showEmail",!0))},Qob=function(a){a&1&&(D(0,"span"),F(1,"plain-component-path",15),E());a&2&&(a=L(4).$implicit,z(1),C("id",a.newValue))},Rob=function(a){a&1&&F(0,"b-formatted-date-time",17);if(a&2){a=L(2).$implicit;var b=L(4);C("timestamp",1E3*b.asNumber(a))}},Sob=function(a){a&1&&(D(0,"span"),P(1,"[Issue creation date]"),E())},Tob=function(a){a&1&&(D(0,"span"),O(1,Rob,1,1,"b-formatted-date-time",
16),O(2,Sob,2,0,"span",5),E());a&2&&(a=L().$implicit,z(1),C("ngIf","<none>"!==a),z(1),C("ngIf","<none>"===a))},Uob=function(a){a&1&&(H(0),D(1,"span"),P(2),E(),I());if(a&2){a=L().$implicit;var b=L(4);z(2);Bg(b.getAccessLimitLevel(a))}},Wob=function(a){a&1&&(D(0,"span",20),P(1),E());if(a&2){a=L().$implicit;var b=L(3).$implicit;C("ngClass",Gg(2,Vob,b.oldValue&&"title"==b.name));z(1);Bg(a)}},Xob=function(a){a&1&&(H(0),O(1,Pob,1,2,"b-user-display-name",18),O(2,Qob,2,1,"span",5),O(3,Tob,3,2,"span",5),O(4,
Uob,3,1,"ng-container",5),O(5,Wob,2,4,"span",19),I());a&2&&(a=L(3).$implicit,z(1),C("ngIf",a.isUser),z(1),C("ngIf","component"===a.name),z(1),C("ngIf","sloSnoozeUntil"===a.name),z(1),C("ngIf","access_limit"===a.name),z(1),C("ngIf",!a.isUser&&"component"!=a.name&&"sloSnoozeUntil"!=a.name&&"access_limit"!=a.name))},Yob=function(a){a&1&&(D(0,"div",10),O(1,Fob,3,2,"label",11),O(2,Gob,2,1,"ng-template",null,12,$g),O(4,Oob,9,5,"ng-container",5),O(5,Xob,6,5,"ng-container",5),E());if(a&2){var b=N(3);a=L(2).$implicit;
z(1);C("ngIf","effort"===a.name)("ngIfElse",b);z(3);C("ngIf",a.oldValue);z(1);C("ngIf",a.newValue)}},Zob=function(a){a&1&&(D(0,"span"),P(1,", "),E())},$ob=function(a,b){a&1&&(D(0,"span"),F(1,"b-user-display-name",14),O(2,Zob,2,0,"span",5),E());a&2&&(a=b.$implicit,b=b.last,z(1),C("email",a)("showEmail",!0),z(1),C("ngIf",!b))},apb=function(a){a&1&&(D(0,"span"),O(1,$ob,3,3,"span",21),E());a&2&&(a=L(4).$implicit,z(1),C("ngForOf",a.added))},bpb=function(a){a&1&&(D(0,"span"),P(1,", "),E())},cpb=function(a,
b){a&1&&(D(0,"span")(1,"span"),P(2),E(),O(3,bpb,2,0,"span",5),E());a&2&&(a=b.$implicit,b=b.last,z(2),Bg(a),z(1),C("ngIf",!b))},dpb=function(a){a&1&&(D(0,"span"),O(1,cpb,4,2,"span",21),E());a&2&&(a=L(4).$implicit,z(1),C("ngForOf",a.added))},epb=function(a){a&1&&(D(0,"div")(1,"label"),P(2),E(),O(3,apb,2,1,"span",5),O(4,dpb,2,1,"span",5),E());a&2&&(a=L(3).$implicit,z(2),Q("+",a.displayName,":\u200b"),z(1),C("ngIf",a.isUser),z(1),C("ngIf",!a.isUser))},fpb=function(a){a&1&&(D(0,"span"),P(1,", "),E())},
gpb=function(a,b){a&1&&(D(0,"span"),F(1,"b-user-display-name",14),O(2,fpb,2,0,"span",5),E());a&2&&(a=b.$implicit,b=b.last,z(1),C("email",a)("showEmail",!0),z(1),C("ngIf",!b))},hpb=function(a){a&1&&(D(0,"span"),O(1,gpb,3,3,"span",21),E());a&2&&(a=L(4).$implicit,z(1),C("ngForOf",a.removed))},ipb=function(a){a&1&&(D(0,"span"),P(1,", "),E())},jpb=function(a,b){a&1&&(D(0,"span")(1,"span"),P(2),E(),O(3,ipb,2,0,"span",5),E());a&2&&(a=b.$implicit,b=b.last,z(2),Bg(a),z(1),C("ngIf",!b))},kpb=function(a){a&
1&&(D(0,"span"),O(1,jpb,4,2,"span",21),E());a&2&&(a=L(4).$implicit,z(1),C("ngForOf",a.removed))},lpb=function(a){a&1&&(D(0,"div")(1,"label"),P(2),E(),O(3,hpb,2,1,"span",5),O(4,kpb,2,1,"span",5),E());a&2&&(a=L(3).$implicit,z(2),Q("-",a.displayName,":\u200b"),z(1),C("ngIf",a.isUser),z(1),C("ngIf",!a.isUser))},mpb=function(a){a&1&&(D(0,"div",10),O(1,epb,5,3,"div",5),O(2,lpb,5,3,"div",5),E());if(a&2){a=L(2).$implicit;var b=L();z(1);C("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));z(1);C("ngIf",
a.removed&&a.removed.length&&b.isStringArray(a.removed))}},npb=function(a){a&1&&tg(0)},ppb=function(a,b){a&1&&(D(0,"span"),O(1,npb,1,0,"ng-container",22),E());if(a&2){a=b.$implicit;b=b.last;var c=L(4).$implicit;L();var d=N(3);z(1);C("ngTemplateOutlet",d)("ngTemplateOutletContext",Ig(opb,c,a,b))}},qpb=function(a){a&1&&(D(0,"div")(1,"label"),P(2),E(),O(3,ppb,2,6,"span",21),E());a&2&&(a=L(3).$implicit,z(2),Q("+",a.displayName,":\u200b"),z(1),C("ngForOf",a.added))},rpb=function(a){a&1&&tg(0)},spb=function(a,
b){a&1&&(D(0,"span"),O(1,rpb,1,0,"ng-container",22),E());if(a&2){a=b.$implicit;b=b.last;var c=L(4).$implicit;L();var d=N(3);z(1);C("ngTemplateOutlet",d)("ngTemplateOutletContext",Ig(opb,c,a,b))}},tpb=function(a){a&1&&(D(0,"div")(1,"label"),P(2),E(),O(3,spb,2,6,"span",21),E());a&2&&(a=L(3).$implicit,z(2),Q("-",a.displayName,":\u200b"),z(1),C("ngForOf",a.removed))},upb=function(a){a&1&&(D(0,"div",10),O(1,qpb,4,2,"div",5),O(2,tpb,4,2,"div",5),E());if(a&2){a=L(2).$implicit;var b=L();z(1);C("ngIf",a.added&&
a.added.length&&b.isLinkedItemArray(a.added));z(1);C("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},vpb=function(a){a&1&&F(0,"b-formatted-date-time",17);a&2&&(a=L().$implicit,C("timestamp",a))},wpb=function(a){a&1&&(D(0,"span"),P(1," - "),E())},xpb=function(a,b){a&1&&(D(0,"span"),F(1,"b-formatted-date-time",17),O(2,wpb,2,0,"span",5),E());a&2&&(a=b.$implicit,b=b.last,z(1),C("timestamp",a),z(1),C("ngIf",!b))},ypb=function(a){a&1&&(D(0,"span"),O(1,xpb,3,2,"span",21),E());a&2&&
(a=L(4).$implicit,z(1),C("ngForOf",a.oldValue.split(", ")))},zpb=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Bg(a))},Cpb=function(a){a&1&&(H(0),O(1,vpb,1,1,"b-formatted-date-time",16),O(2,ypb,2,1,"span",5),O(3,zpb,2,1,"span",5),P(4," \u00a0 "),F(5,"span",13),P(6," \u00a0 "),I());if(a&2){a=L(3).$implicit;var b=L();z(1);C("ngIf",Apb(b,a,"oldValue"));z(1);C("ngIf",Bpb(b,a,"oldValue"));z(1);C("ngIf",!Apb(b,a,"oldValue")&&!Bpb(b,a,"oldValue"))}},Dpb=function(a){a&1&&F(0,"b-formatted-date-time",
17);a&2&&(a=L().$implicit,C("timestamp",a))},Epb=function(a){a&1&&(D(0,"span"),P(1," - "),E())},Fpb=function(a,b){a&1&&(D(0,"span"),F(1,"b-formatted-date-time",17),O(2,Epb,2,0,"span",5),E());a&2&&(a=b.$implicit,b=b.last,z(1),C("timestamp",a),z(1),C("ngIf",!b))},Gpb=function(a){a&1&&(D(0,"span"),O(1,Fpb,3,2,"span",21),E());a&2&&(a=L(4).$implicit,z(1),C("ngForOf",a.newValue.split(", ")))},Hpb=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Bg(a))},Ipb=function(a){a&1&&(H(0),O(1,Dpb,
1,1,"b-formatted-date-time",16),O(2,Gpb,2,1,"span",5),O(3,Hpb,2,1,"span",5),I());if(a&2){a=L(3).$implicit;var b=L();z(1);C("ngIf",Apb(b,a,"newValue"));z(1);C("ngIf",Bpb(b,a,"newValue"));z(1);C("ngIf",!Apb(b,a,"newValue")&&!Bpb(b,a,"newValue"))}},Jpb=function(a){a&1&&(D(0,"div",10)(1,"label"),P(2),E(),O(3,Cpb,7,3,"ng-container",5),O(4,Ipb,4,3,"ng-container",5),E());if(a&2){a=L(2).$implicit;var b=L();z(1);dg("title",b.customFieldName(a));z(1);Q("",b.customFieldName(a),":\u200b");z(1);C("ngIf",a.oldValue);
z(1);C("ngIf",a.newValue)}},Kpb=function(a){a&1&&(D(0,"span",26),P(1,"Updated"),E())},Lpb=function(a){a&1&&(D(0,"span"),P(1,"Deleted"),E())},Mpb=function(a){a&1&&(D(0,"span"),P(1),E());a&2&&(a=L().$implicit,z(1),Q("Edited (unknown status '",a.status,"')"))},Npb=function(a,b){a&1&&(H(0)(1,7),O(2,Kpb,2,0,"span",23),O(3,Lpb,2,0,"span",24),O(4,Mpb,2,1,"span",25),I()());a&2&&(a=b.$implicit,z(1),C("ngSwitch",a.status),z(1),C("ngSwitchCase","ACTIVE"),z(1),C("ngSwitchCase","DELETED"))},Opb=function(a){a&
1&&(D(0,"div",10)(1,"label"),P(2),E(),O(3,Npb,5,3,"ng-container",5),E());a&2&&(a=L(2).$implicit,z(2),Q("",a.displayName,":\u200b"),z(1),C("ngIf",null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},Ppb=function(a){a&1&&(D(0,"div",10)(1,"label"),P(2),E(),D(3,"pre",27),P(4),R(5,"json"),E()());a&2&&(a=L(2).$implicit,z(2),Q("",a.displayName,":\u200b"),z(2),Bg(S(5,2,a)))},Qpb=function(a){a&1&&(H(0),F(1,"b-formatted-date-time",6),H(2,7),O(3,Yob,6,4,"div",8),O(4,mpb,3,2,"div",8),O(5,upb,3,2,
"div",8),O(6,Jpb,5,4,"div",8),O(7,Opb,4,2,"div",8),O(8,Ppb,6,4,"div",9),I()());a&2&&(a=L().$implicit,z(1),C("timestamp",a.timestamp),z(1),C("ngSwitch",!0),z(1),C("ngSwitchCase","SINGLE_VALUE"===a.type),z(1),C("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),z(1),C("ngSwitchCase","LINKED_COLLECTION"===a.type),z(1),C("ngSwitchCase","CUSTOM_FIELD"===a.type),z(1),C("ngSwitchCase","STATUS_UPDATE"===a.type))},Rpb=function(a,b){a&1&&(D(0,"div",4),O(1,Qpb,9,7,"ng-container",5),E());a&2&&
(a=b.$implicit,b=L(),z(1),C("ngIf","sloSnoozeUntil"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():!0))},Spb=function(a){a&1&&(D(0,"span"),P(1,", "),E())},Tpb=function(a){a&1&&(D(0,"span")(1,"b-issue-reference-widget",29),P(2),E(),O(3,Spb,2,0,"span",5),E());if(a&2){a=L().$implicit;var b=L(),c=b.change;b=b.isLast;z(1);C("href",c.href)("issueId",a);z(1);Bg(a);z(1);C("ngIf",!b)}},Upb=function(a){a&1&&(D(0,"span"),P(1,", "),E())},Vpb=function(a){a&1&&(H(0),F(1,"hotlist-link",15),O(2,Upb,
2,0,"span",5),I());if(a&2){a=L(2).$implicit;var b=L().isLast;z(1);C("id",a);z(1);C("ngIf",!b)}},Wpb=function(a){a&1&&(D(0,"span"),P(1,", "),E())},Xpb=function(a){a&1&&(D(0,"a",31),P(1),E(),O(2,Wpb,2,0,"span",5));if(a&2){a=L(2).$implicit;var b=L(),c=b.isLast;C("href",b.change.href,ue);z(1);Bg(a);z(1);C("ngIf",!c)}},Ypb=function(a){a&1&&(O(0,Vpb,3,2,"ng-container",11),O(1,Xpb,3,3,"ng-template",null,30,$g));if(a&2){var b=N(2);a=L(2).diff;var c=L();C("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},Zpb=function(a){a&
1&&(H(0),O(1,Tpb,4,4,"span",11),O(2,Ypb,3,2,"ng-template",null,28,$g),I());if(a&2){var b=N(3);a=L().diff;var c=L();z(1);C("ngIf",c.isIssueDiff(a))("ngIfElse",b)}},$pb=function(a,b){a&1&&O(0,Zpb,4,2,"ng-container",5);a&2&&C("ngIf",b.change.value)},aqb=function(a){a&1&&(D(0,"span"),P(1,"Estimated Effort (disabled)"),E())},bqb=function(a,b){a&1&&(F(0,"b-user-membership-chip",29),R(1,"async"));if(a&2){a=b.ngIf;b=L(2);var c;C("user",b.event.userPerformingActionUser)("email",a)("teamId",null!==(c=S(1,3,
b.teamId$))&&void 0!==c?c:"")}},cqb=function(a){a&1&&F(0,"b-user-display",30);a&2&&(a=L(2),C("model",a.event.userPerformingActionUser))},dqb=function(a){a&1&&tg(0)},eqb=function(a){a&1&&(H(0),D(1,"span",31),O(2,dqb,1,0,"ng-container",32),E(),D(3,"onedev-hovercard",null,33),F(5,"b-issue-person-card",34),E(),I());if(a&2){var b=N(4);L();var c=N(11);a=L();z(1);C("onedevHovercardTrigger",b);z(1);C("ngTemplateOutlet",c);z(3);C("email",a.getUserEmailIfAvailable())}},fqb=function(a){a&1&&(D(0,"span",35),
P(1),E());a&2&&(a=L(2),z(1),Q(" <",Gj(a.event.userPerformingActionUser),"> "))},gqb=function(a){if(a&1){var b=t();D(0,"span")(1,"a",36);K("click",function(c){v(b);var d=L(2);return w(d.scrollCommentIntoView(c,d.event.commentNumber))});P(2);E()()}a&2&&(a=L(2),z(1),C("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),dg("aria-label","Comment number"+a.event.commentNumber),z(1),Q(" #",a.event.commentNumber,""))},iqb=function(a){if(a&1){var b=t();D(0,"button",37);K("click",function(){v(b);
var c=L(2);return w(hqb(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});E()}},jqb=function(a){a&1&&F(0,"b-restricted-chip",38);if(a&2){a=L(2);var b,c;C("label",a.getRestrictedLabel())("retention",null!==(b=a.event.commentRetention)&&void 0!==b?b:void 0)("retentionState",null!==(c=a.event.commentRetentionState)&&void 0!==c?c:void 0)}},lqb=function(a){a&1&&(F(0,"b-actions-menu",39,40),R(2,"async"));if(a&2){a=L(2);var b;C("buttonLabel","Comment actions")("menuItems",null!==(b=
S(2,2,a.commentActionMenuItems$))&&void 0!==b?b:Fg(4,kqb))}},mqb=function(a){a&1&&(D(0,"div",41),F(1,"b-tagged-text",42),E());a&2&&(a=L(2),z(1),C("texts",a.event.taggedSummary))},nqb=function(a){a&1&&(F(0,"b-issue-event-details",43),R(1,"async"),R(2,"async"),R(3,"async"));if(a&2){a=L().ngIf;var b=L(),c,d;C("diffs",null!==(c=S(1,4,b.preEventDiffs$))&&void 0!==c?c:Fg(10,kqb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=S(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!S(3,8,b.isEffortEnabled$))}},
oqb=function(a){a&1&&(D(0,"div",44),P(1," Comment has been deleted. "),E())},pqb=function(a){if(a&1){var b=t();D(0,"b-restricted-comment-placeholder",45);K("onConfirm",function(){v(b);var c=L(2);return w(c.loadRestrictedComment())});R(1,"async");E()}a&2&&(a=L(2),C("disabled",!S(1,1,a.mayReadPii$)))},qqb=function(a){a&1&&F(0,"b-note-container",46);a&2&&(a=L(2),C("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},rqb=
function(a){if(a&1){var b=t();H(0);F(1,"b-summarized-note-container",46);D(2,"button",47);K("click",function(){v(b);var c=L(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return w()});F(3,"mat-icon",48);P(4,"Expand details");E();I()}a&2&&(a=L(2),z(1),C("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},sqb=function(a){if(a&1){var b=t();H(0);D(1,"button",47);K("click",function(){v(b);var c=L(2);c.wasSummarized=
!0;c.isSummarized=!c.isSummarized;return w()});F(2,"mat-icon",49);P(3,"Collapse details");E();I()}},tqb=function(a){a&1&&F(0,"b-formatted-date-time",50);a&2&&(a=L(2),C("timestamp",a.event.modifiedDate))},uqb=function(a){a&1&&F(0,"mat-icon",58)},vqb=function(a){a&1&&F(0,"mat-icon",59)},wqb=function(a,b){a&1&&(D(0,"span"),P(1),E());a&2&&(a=b.ngIf,z(1),Bg(a))},xqb=function(a){a&1&&F(0,"b-comment-reaction-responders-card",60);a&2&&(a=L(3),C("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",
a.issueId)("commentNumber",a.event.commentNumber))},Cqb=function(a){if(a&1){var b=t();D(0,"div",51)(1,"button",52,53);K("click",function(){v(b);var d=L(2);return w(yqb(d))});R(3,"async");R(4,"async");R(5,"async");O(6,uqb,1,0,"mat-icon",54);O(7,vqb,1,0,"mat-icon",55);O(8,wqb,2,1,"span",0);R(9,"async");E();D(10,"onedev-hovercard",null,56);O(12,xqb,1,3,"b-comment-reaction-responders-card",57);R(13,"async");E()()}if(a&2){var c=N(11);a=L(2);z(1);C("ariaLabel",zqb(a,a.ReactionType.UPVOTE))("ngClass",Gg(20,
Aqb,S(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",!!S(5,14,a.showCommentReactionHovercard$));dg("aria-disabled",!S(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);z(5);C("ngIf",!Bqb(a,a.ReactionType.UPVOTE));z(1);C("ngIf",Bqb(a,a.ReactionType.UPVOTE));z(1);C("ngIf",S(9,16,a.upvoteReactionCountDisplayString$));z(4);C("ngIf",!S(13,18,a.noUpvoteReactions$))}},Dqb=function(a){if(a&1){var b=t();D(0,
"a",64);K("click",function(){v(b);var c=L(3);return w(c.showCommentHistoryDialog(c.event.commentNumber))});P(1," Show History ");E()}},Eqb=function(a){a&1&&(D(0,"div",61),F(1,"b-comment-edit-timestamp-message",62),O(2,Dqb,2,0,"a",63),E());a&2&&(a=L(2),z(1),C("event",a.event),z(1),C("ngIf",a.commentHistoryEnabled))},Fqb=function(a){a&1&&(F(0,"b-issue-event-details",43),R(1,"async"),R(2,"async"),R(3,"async"));if(a&2){a=L().ngIf;var b=L(),c,d;C("diffs",null!==(c=S(1,4,b.postEventDiffs$))&&void 0!==c?
c:Fg(10,kqb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=S(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!S(3,8,b.isEffortEnabled$))}},Gqb=function(a,b){a&1&&(D(0,"div",67),F(1,"b-attachment-viewer",68),E());a&2&&(a=b.$implicit,b=L(3),yg("id","attachment",a.attachmentId,""),z(1),C("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},Hqb=function(a){a&1&&(D(0,"div",65),O(1,Gqb,2,4,"div",66),E());a&2&&(a=L(2),z(1),C("ngForOf",a.event.attachments))},
Jqb=function(a){a&1&&(H(0),D(1,"div",1),F(2,"b-user-image",2),E(),D(3,"div",3)(4,"h4",4),R(5,"async"),O(6,bqb,2,5,"b-user-membership-chip",5),O(7,cqb,1,1,"ng-template",null,6,$g),O(9,eqb,6,3,"ng-container",7),O(10,fqb,2,1,"ng-template",null,8,$g),O(12,gqb,3,3,"span",0),O(13,iqb,1,0,"button",9),R(14,"async"),D(15,"span",10),O(16,jqb,1,3,"b-restricted-chip",11),F(17,"b-formatted-date-time",12),O(18,lqb,3,5,"b-actions-menu",13),E()(),F(19,"div",14),O(20,mqb,2,1,"div",15),O(21,nqb,4,11,"b-issue-event-details",
16),R(22,"async"),F(23,"div",14),D(24,"div",17)(25,"div",18),O(26,oqb,2,0,"div",19),O(27,pqb,2,3,"b-restricted-comment-placeholder",20),D(28,"div",21),O(29,qqb,1,4,"b-note-container",22),O(30,rqb,5,4,"ng-container",0),O(31,sqb,4,0,"ng-container",0),E(),D(32,"div",23)(33,"div",24),O(34,tqb,1,1,"b-formatted-date-time",25),R(35,"async"),E(),O(36,Cqb,14,22,"div",26),E()(),O(37,Eqb,3,2,"div",27),E(),O(38,Fqb,4,11,"b-issue-event-details",16),R(39,"async"),F(40,"div",14),O(41,Hqb,2,1,"div",28),F(42,"div",
14),E(),I());if(a&2){var b=N(8),c=N(11);a=L();z(2);C("email",a.getUserEmailIfAvailable());z(2);dg("aria-label",S(5,23,a.ariaLabelHeading$));z(2);C("ngIf",a.enableTeamAnnotations&&a.getUserEmailIfAvailable())("ngIfElse",b);z(3);C("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",c);z(3);C("ngIf",a.isCommentEvent(a.event));z(1);C("ngIf",S(14,25,a.canEditComment$)&&!fu(a));z(3);C("ngIf",a.isRestricted());z(1);C("timestamp",a.event.modifiedDate);z(1);C("ngIf",a.isCommentEvent(a.event));
z(2);C("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);z(1);C("ngIf","FULL_HISTORY"===S(22,27,a.showFullHistoryFromFiltering$));z(5);C("ngIf",a.isDeleted());z(1);C("ngIf",fu(a)&&!a.isDeleted());z(2);C("ngIf",Iqb(a)&&!fu(a)&&!a.isDeleted()&&!a.isSummarized);z(1);C("ngIf",Iqb(a)&&!fu(a)&&!a.isDeleted()&&a.isSummarized);z(1);C("ngIf",a.wasSummarized&&!a.isSummarized);z(3);C("ngIf",S(35,29,a.isShowingCommentTimestamp$));z(2);var d,e=a.ReactionType.UPVOTE,f,h=!a.issuePermissionService.hasAclToComment()&&
0===(null==(d=a.event.commentReactions)?void 0:null==(f=d.get(e))?void 0:f.count);d=a.isInternalSession&&a.commentReactionsEnabled&&Iqb(a)&&!a.isDeleted()&&!fu(a)&&!h;C("ngIf",d);z(1);C("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!fu(a));z(1);C("ngIf","FULL_HISTORY"===S(39,31,a.showFullHistoryFromFiltering$));z(3);C("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},Kqb=function(a){a&1&&(D(0,"aside",3),F(1,"b-spinner"),E())},Lqb=function(a){a&
1&&(H(0),P(1,"s"),I())},Mqb=function(a){if(a&1){var b=t();H(0);D(1,"div",6)(2,"button",7);K("click",function(){v(b);var f=L().index,h=L(),l,q,u=null!=(q=null==(l=h.foldedCommentsCounts.get(f))?void 0:l.eventFoldedCount)?q:0;for(l=0;l<u&&((gn(h.internalEvents[f-l])||hn(h.internalEvents[f-l]))&&h.eventDisplayMode.set(f-l,"full"),0!==f-l);l++);h.foldedCommentsCounts.delete(f);return w()});P(3);O(4,Lqb,2,0,"ng-container",4);E();F(5,"div",8);E();I()}if(a&2){a=L().index;var c=L(),d,e;z(3);Q(" ",null==(d=
c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");z(1);C("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?null:e.commentFoldedCount)&&void 0!==e?e:1))}},Nqb=function(a){a&1&&(D(0,"div",9),F(1,"b-history-event",10),E());if(a&2){var b=L();a=b.$implicit;b=b.index;var c=L();z(1);C("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},Pqb=function(a,b){a&1&&(H(0),O(1,Mqb,6,
2,"ng-container",4),O(2,Nqb,2,4,"div",5),I());if(a&2){a=b.$implicit;b=b.index;var c=L(),d;z(1);C("ngIf",c.enableCommentFiltering&&c.foldedCommentsCounts.has(b)&&0<(null!==(d=null==(d=c.foldedCommentsCounts.get(b))?null:d.commentFoldedCount)&&void 0!==d?d:0));z(1);if(d=c.internalIssueId)if(c.enableCommentFiltering)d=Oqb(c.eventDisplayMode.get(b));else{var e,f;d=(c.showFullHistory||a.isMajorEvent)&&(gn(a)&&!!a.unlinkifiedComment||hn(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(f=a.postDiffs)?
void 0:f.length))}C("ngIf",d)}},Qqb=function(a){a&1&&(D(0,"aside",3),F(1,"b-spinner"),E())},Rqb=function(a){if(a&1){var b=t();D(0,"div",12)(1,"b-recaptcha",13);K("onUpdate",function(c){v(b);var d=L(4);return w(d.recaptchaResponse$.next(c))});E()()}},Tqb=function(a){if(a&1){var b=t();D(0,"span")(1,"mat-checkbox",14);K("change",function(){v(b);var c=L(4);return w(Sqb(c))});R(2,"async");R(3,"async");P(4," CC Me ");E()()}a&2&&(a=L(4),z(1),C("checked",!!S(2,2,a.autoCcOnComment$))("disabled",!!S(3,4,a.isCurrentUserCCd$)))},
Uqb=function(a){a&1&&(D(0,"mat-checkbox",17),P(1," CC Me "),E());a&2&&C("checked",!0)("disabled",!0)},Vqb=function(a){a&1&&(D(0,"span",15),O(1,Uqb,2,2,"mat-checkbox",16),R(2,"async"),E());a&2&&(a=L(4),z(1),C("ngIf",S(2,1,a.isCurrentUserCCd$)))},Wqb=function(a){if(a&1){var b=t();D(0,"b-markdown-toggle",18);K("change",function(c){v(b);var d=L().ngIf;return w(d.formattingMode=c)});E()}a&2&&(a=L().ngIf,C("initialValue",a.formattingMode))},Yqb=function(a,b){if(a&1){var c=t();H(0);D(1,"b-comment-box",3,
4);K("onHotkey",function(){v(c);var l=N(2);return w(Xqb(l,"editpage-hotkey"))})("onChange",function(){v(c);var l=L(3);return w(l.saveCommentDraft())})("onFocusEvent",function(){v(c);var l=L(3);return w(l.wasFocused=!0)})("onSubmit",function(){v(c);var l=L(3);return w(l.submitCommentBox())})("onRestrict",function(){v(c);var l=L(3);return w(l.showNewContentJudgementDialog())});R(3,"async");R(4,"async");R(5,"async");R(6,"async");O(7,Rqb,2,0,"div",5);D(8,"div",6)(9,"b-button",7);K("onAction",function(){v(c);
var l=L(3);return w(l.submitCommentBox())})("click",function(){v(c);var l=L(3);return w(l.submitCommentBox())});R(10,"async");P(11," Comment ");E();D(12,"div",8);O(13,Tqb,5,6,"span",0);R(14,"async");R(15,"async");O(16,Vqb,3,3,"span",9);R(17,"async");R(18,"async");O(19,Wqb,1,1,"b-markdown-toggle",10);R(20,"async");E();F(21,"b-access-level-indicator",11);R(22,"async");E()();I()}if(a&2){a=b.ngIf;b=L(2).ngIf;var d=L(),e,f,h;z(1);C("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",
b.issueId)("comment",a)("componentId",b.componentId)("placeholder",null!==(e=S(3,15,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(f=S(4,17,d.judgementForNewContent$))&&void 0!==f?f:void 0)("audience",null!==(h=S(5,19,d.audience$))&&void 0!==h?h:void 0)("disabled",!1===S(6,21,d.commentBoxEnabled$));z(6);C("ngIf",d.enableRecaptcha);z(2);C("disabled",!1===S(10,23,d.commentButtonEnabled$));z(4);C("ngIf",!S(14,25,d.isCurrentUserCCd$)&&S(15,27,d.hasAclToEdit$));z(3);
C("ngIf",S(17,29,d.isCurrentUserCCd$)||!S(18,31,d.hasAclToEdit$));z(3);C("ngIf",S(20,33,d.hasAclToComment$));z(2);C("accessLevel",S(22,35,d.accessLevel$))}},$qb=function(a){a&1&&(H(0),D(1,"h3",1),P(2,"Add comment"),E(),D(3,"div",2),R(4,"async"),O(5,Yqb,23,37,"ng-container",0),R(6,"async"),E(),I());a&2&&(a=L(2),z(3),C("ngClass",Hg(6,Zqb,S(4,2,a.empty$),!a.wasFocused)),z(2),C("ngIf",S(6,4,a.comment$)))},arb=function(a,b){a&1&&(H(0),O(1,$qb,7,9,"ng-container",0),I());a&2&&(a=b.ngIf,z(1),C("ngIf",!a.isDeleted))},
drb=function(a){var b=(new gu).setParent(a.parent);a=a.userEngagement;var c=(new hu).setType(brb[a.type]);void 0!==a.rejectionReason&&k(c,3,crb[a.rejectionReason]);return Ok(b,hu,2,c)},hrb=function(a){var b=void 0;switch(pk(a,erb)){case 9:b={recommendedIssue:Ol(wl(a,el,9,erb))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:frb[a.getType()],recommendation:lk(a,5),score:a.getScore(),confidence:grb[a.getConfidence()],createTime:bj(wk(a,cj,8)),content:b}},jrb=function(a){return{recommendations:fj(a,
irb,1).map(hrb),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},krb=function(a,b){a&1&&(F(0,"b-note-container",21),R(1,"async"));if(a&2){a=b.ngIf;b=L().ngIf;var c=L();C("issueId",b)("issueAccessLevel",S(1,4,c.canonicalAccessLevel$))("formattingMode",a.formattingMode)("note",a)}},lrb=function(a,b){a&1&&(D(0,"div",22),P(1),E());a&2&&(a=b.ngIf,b=L(2),sg("chippy status-",a,""),C("title",b.STATUS_FULL_TEXT[a]),z(1),Q(" ",b.STATUS_TERSE[a]," "))},mrb=function(a,b){a&1&&(H(0),F(1,"span",
23),D(2,"span",24),P(3),E(),I());a&2&&(a=b.ngIf,z(3),Cg(" ",a.length," duplicate",1===a.length?"":"s"," "))},nrb=function(a,b){a&1&&(H(0),F(1,"span",23),D(2,"div",25)(3,"span",26),P(4),E(),F(5,"mat-icon",27),E(),I());a&2&&(a=b.ngIf,z(2),yg("matTooltip","",a.voteCount," votes on this issue"),z(2),Bg(9999<a.voteCount?"9999+":a.voteCount))},orb=function(a,b){a&1&&(H(0),F(1,"span",23),D(2,"div",28)(3,"span",26),P(4),E(),F(5,"mat-icon",29),E(),I());a&2&&(a=b.ngIf,z(2),yg("matTooltip","",a.length," comments on this issue"),
z(2),Bg(a.length))},prb=function(a,b){a&1&&(H(0),F(1,"span",23)(2,"b-formatted-date-time",30),I());a&2&&(a=b.ngIf,z(2),C("timestamp",a/1E3))},qrb=function(a,b){if(a&1){var c=t();D(0,"button",31);K("click",function(){var d=v(c).$implicit;L();var e=N(29);L().reject(d);var f;null==(f=e.trigger)||f.close();return w()});D(1,"span");P(2);E()()}a&2&&(a=b.$implicit,b=L(2),z(2),Bg(b.REJECT_REASON_TO_DISPLAY[a]))},srb=function(a,b){if(a&1){var c=t();D(0,"div",3)(1,"div",4)(2,"a",5);P(3);R(4,"async");E();O(5,
krb,2,6,"b-note-container",6);R(6,"async");D(7,"div",7);F(8,"b-issue-id-picker",8);R(9,"async");R(10,"async");R(11,"async");F(12,"b-issue-priority-display",9);R(13,"async");O(14,lrb,2,5,"div",10);R(15,"async");O(16,mrb,4,2,"ng-container",11);R(17,"async");O(18,nrb,6,2,"ng-container",11);R(19,"async");O(20,orb,6,2,"ng-container",11);R(21,"async");O(22,prb,3,1,"ng-container",11);R(23,"async");E()();D(24,"div",12)(25,"button",13);K("click",function(){v(c);var d=L();return w(d.accept())});F(26,"mat-icon",
14);P(27," Accept ");E();D(28,"split-button",15,16)(30,"button",17);K("click",function(){v(c);var d=L();return w(d.reject())});F(31,"mat-icon",18);P(32," Reject ");E();D(33,"div",19);O(34,qrb,3,1,"button",20);E()()()()}a&2&&(a=b.ngIf,b=L(),z(2),C("href",b.getIssueLink(a),ue),z(1),Bg(S(4,18,b.canonicalTitle$)),z(2),C("ngIf",S(6,20,b.canonicalDescription$)),z(3),C("issueId",a)("enableHotkeys",!1)("componentId",S(9,22,b.canonicalComponentId$))("issueTitle",S(10,24,b.canonicalTitle$))("isExternalIssue",
!!S(11,26,b.isCanonicalInExternalComponent$)),z(4),C("issuePriority",S(13,28,b.canonicalPriority$)),z(2),C("ngIf",S(15,30,b.statusForChip$)),z(2),C("ngIf",S(17,32,b.canonicalDuplicates$)),z(2),C("ngIf",Gg(40,rrb,S(19,34,b.canonicalVoteCount$)||0)),z(2),C("ngIf",S(21,36,b.canonicalComments$)),z(2),C("ngIf",S(23,38,b.canonicalCreateMicros$)),z(3),C("disabled",b.isSaving),z(3),C("disabled",b.isSaving),z(2),C("disabled",b.isSaving),z(4),C("ngForOf",b.REJECT_REASONS))},trb=function(a,b){a&1&&F(0,"b-issue-person-card",
7);a&2&&C("email",b.ngIf)},urb=function(a,b){a&1&&(H(0),D(1,"span",4),P(2),R(3,"shortenEmail"),E(),D(4,"onedev-hovercard",null,5),O(6,trb,1,1,"b-issue-person-card",6),E(),I());if(a&2){a=b.ngIf;var c=N(5);b=L(2);z(1);C("onedevHovercardTrigger",c);z(1);Q(" ",Jg(3,3,b.userToString(a),30)," ");z(4);C("ngIf",a.emailAddress)}},vrb=function(a,b){if(a&1){var c=t();D(0,"a",8);K("click",function(d){var e=v(c).ngIf,f=L(2);return w(f.scrollCommentIntoView(d,e))});P(1);E()}a&2&&(a=b.ngIf,b=L(2),fg("aria-label",
"Comment number ",a,""),C("routerLinkObj",b.getCommentNumberLink(a)),z(1),Q(" #",a,""))},wrb=function(a){a&1&&(H(0),P(1,","),I())},xrb=function(a,b){a&1&&(D(0,"span",1),O(1,urb,7,6,"ng-container",2),D(2,"span"),O(3,vrb,2,3,"a",3),O(4,wrb,2,0,"ng-container",2),E()());a&2&&(a=b.$implicit,b=b.last,z(1),C("ngIf",a.userPerformingActionUser),z(2),C("ngIf",a.commentNumber),z(1),C("ngIf",!b))},yrb=function(a,b){a&1&&(D(0,"div",4)(1,"a",5),R(2,"removePngExtension"),F(3,"b-secure-image-widget",6),E(),F(4,"comments-info",
7),E());a&2&&(a=b.$implicit,b=L(3),z(1),zg("href",S(2,5,a.src),ue),z(2),C("showByDefault",!0)("src",a.src),z(1),C("issueId",b.issueId)("comments",a.comments))},zrb=function(a){if(a&1){var b=t();D(0,"button",10);K("click",function(){v(b);var c=L(2).ngIf,d=L(2);c=c.length;var e=ep(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return w()});P(1," Load more ");E()}},Arb=function(a){if(a&1){var b=t();D(0,"button",11);K("click",function(){v(b);var c=L(4);return w(c.goToResourcesTab())});
P(1," See all screenshots ");E()}},Brb=function(a){a&1&&(H(0),O(1,zrb,2,0,"button",8),O(2,Arb,2,0,"ng-template",null,9,$g),I());if(a&2){var b=N(3);a=L(3);z(1);C("ngIf",a.paginate)("ngIfElse",b)}},Crb=function(a,b){a&1&&(H(0),D(1,"div",2),O(2,yrb,5,7,"div",3),R(3,"async"),E(),O(4,Brb,4,2,"ng-container",1),I());if(a&2){a=b.ngIf;b=L().ngIf;var c=L();z(1);pg("show-all-images",c.paginate);z(1);C("ngForOf",S(3,4,c.imagesToRender$));z(2);C("ngIf",b.length!==a.length)}},Drb=function(a){a&1&&(H(0),O(1,Crb,
5,6,"ng-container",1),R(2,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,1,a.imagesToRender$)))},Erb=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=null!=(d=b.get(c.src))?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(f){var h=m(f);f=h.next().value;h=h.next().value;return{src:f,comments:cn(h)}})},Frb=function(a){a&1&&(D(0,"span",5),P(1),R(2,"reverse"),E());a&2&&(a=L(),z(1),Bg(S(2,1,a.leftText)))},Grb=function(a){a&1&&
(H(0),D(1,"b-external-hyperlink-widget",6),P(2),E(),I());a&2&&(a=L(),z(1),C("href",a.redirectedHref)("originalHref",a.originalHref),z(1),Bg(a.linkText))},Hrb=function(a){a&1&&(D(0,"b-issue-reference-widget",9),P(1),E());a&2&&(a=L(2),C("href",a.redirectedHref)("issueId",a.issueId),z(1),Bg(a.linkText))},Irb=function(a){a&1&&(D(0,"a",10),P(1),E());a&2&&(a=L(2),zg("href",a.redirectedHref,ue),z(1),Bg(a.linkText))},Jrb=function(a){a&1&&(O(0,Hrb,2,3,"b-issue-reference-widget",7),O(1,Irb,2,2,"ng-template",
null,8,$g));if(a&2){var b=N(2);a=L();C("ngIf",a.issueId)("ngIfElse",b)}},Krb=function(a){a&1&&(D(0,"span",11),P(1),E());a&2&&(a=L(),z(1),Bg(a.rightText))},Lrb=function(a){var b=document.createElement("div");if(a=Upa(a))void 0!==b.tagName&&mka(b),b.innerHTML=Ml(a);return b},Mrb=function(a){a&1&&(H(0),D(1,"td"),F(2,"b-issue-priority-display",2),E(),D(3,"td",3)(4,"span",4),P(5),E(),F(6,"mentioned-link-with-context",5),E(),D(7,"td"),F(8,"comments-info",6),R(9,"toComments"),E(),I());if(a&2){a=L().$implicit;
var b=L(3),c;z(2);C("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);z(2);C("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");z(1);Q(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");z(1);C("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);z(2);C("issueId",b.issueId)("comments",S(9,8,a.sourceComments))}},Nrb=function(a,b){a&1&&(D(0,"tr"),O(1,Mrb,10,10,"ng-container",0),E());a&2&&(a=b.$implicit,z(1),C("ngIf",a.sourceComments&&
a.relatedLinks))},Orb=function(a){if(a&1){var b=t();D(0,"button",9);K("click",function(){v(b);var c=L(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return w()});P(1," Load more ");E()}},Prb=function(a){if(a&1){var b=t();D(0,"button",10);K("click",function(){v(b);var c=L(4);return w(c.goToResourcesTab())});P(1," See all mentioned issues ");E()}},Qrb=function(a){a&1&&(D(0,"div"),O(1,Orb,2,0,"button",7),O(2,Prb,2,0,"ng-template",null,8,$g),E());if(a&2){var b=
N(3);a=L(3);z(1);C("ngIf",a.paginate)("ngIfElse",b)}},Rrb=function(a,b){a&1&&(H(0),D(1,"section")(2,"table"),O(3,Nrb,2,1,"tr",1),E(),O(4,Qrb,4,2,"div",0),E(),I());a&2&&(a=b.ngIf,b=L().ngIf,z(3),C("ngForOf",b),z(1),C("ngIf",a.length!==b.length))},Srb=function(a){a&1&&(H(0),O(1,Rrb,5,2,"ng-container",0),R(2,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,1,a.allMentionedIssues$)))},Trb=function(a,b){a&1&&(D(0,"div",2),F(1,"mentioned-link-with-context",3)(2,"comments-info",4),R(3,"toComments"),E());a&2&&
(a=b.$implicit,b=L(3),z(1),C("sourceComment",a[0].comment)("relatedLink",a[0]),z(1),C("issueId",b.issueId)("comments",S(3,4,a)))},Urb=function(a){if(a&1){var b=t();D(0,"button",7);K("click",function(){v(b);var c=L(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return w()});P(1," Load more ");E()}},Vrb=function(a){if(a&1){var b=t();D(0,"button",8);K("click",function(){v(b);var c=L(4);return w(c.goToResourcesTab())});P(1," See all related links ");E()}},Wrb=function(a){a&
1&&(D(0,"div"),O(1,Urb,2,0,"button",5),O(2,Vrb,2,0,"ng-template",null,6,$g),E());if(a&2){var b=N(3);a=L(3);z(1);C("ngIf",a.paginate)("ngIfElse",b)}},Xrb=function(a,b){a&1&&(H(0),O(1,Trb,4,6,"div",1),O(2,Wrb,4,2,"div",0),I());if(a&2){a=b.ngIf;b=L().ngIf;var c=L();z(1);C("ngForOf",a)("ngForTrackBy",c.trackByHref);z(1);C("ngIf",b.length!==a.length)}},Yrb=function(a){a&1&&(H(0),O(1,Xrb,3,3,"ng-container",0),R(2,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,1,a.linkGroupsToRender$)))},$rb=function(a,b){var c=
a.filter(function(d){return Tra(d[0])});a=a.filter(function(d){return!Tra(d[0])});return Zrb([].concat(p(c),p(a)).slice(0,b),"asc")},bsb=function(a){a&1&&(H(0),F(1,"mat-icon",10),tg(2,11),I());if(a&2){a=L().$implicit;L();var b=N(10);z(2);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(2,asb,a))}},csb=function(){},dsb=function(a){a&1&&O(0,csb,0,0,"ng-template")},esb=function(a){a&1&&(H(0),O(1,dsb,1,0,null,12),I());a&2&&(a=L(2).$implicit,z(1),C("ngTemplateOutlet",a.tabIconTemplate))},fsb=function(a){a&
1&&(O(0,esb,2,1,"ng-container",3),tg(1,11));if(a&2){a=L().$implicit;L();var b=N(10);C("ngIf",a.tabIconTemplate);z(1);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(3,asb,a))}},gsb=function(a,b){if(a&1){var c=t();D(0,"button",7);K("click",function(){var e=v(c).$implicit,f=L();e=e.key;f.internalExpandedTabs.has(e)?f.internalExpandedTabs.delete(e):f.internalExpandedTabs.add(e);f.expandedTabsChanged.emit(new Set(f.internalExpandedTabs));return w()});R(1,"async");R(2,"async");R(3,"async");O(4,bsb,
3,4,"ng-container",8);R(5,"async");O(6,fsb,2,5,"ng-template",null,9,$g);E()}if(a&2){a=b.$implicit;var d=N(7);b=L();pg("expanded",!!S(1,8,iq(b.internalExpandedTabs,a.key)));fg("aria-controls","expandable-tabs-",a.key,"-content");dg("aria-label",a.ariaLabel)("aria-expanded",!!S(2,10,iq(b.internalExpandedTabs,a.key)))("aria-selected",!!S(3,12,iq(b.internalExpandedTabs,a.key)));z(4);C("ngIf",S(5,14,iq(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},isb=function(a,b){if(a&1){var c=t();H(0);D(1,"button",
13);K("click",function(){v(c);var d=L();return w(hsb(d))});P(2);E();I()}a&2&&(a=b.ngIf,b=L(),z(1),pg("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),dg("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),z(1),Q(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},jsb=function(){},ksb=function(a){a&1&&O(0,jsb,0,0,"ng-template")},lsb=function(a){a&1&&(H(0),O(1,ksb,1,0,null,12),I());a&2&&(a=L(2).$implicit,z(1),C("ngTemplateOutlet",a.tabIconTemplate))},
msb=function(){},nsb=function(a){a&1&&O(0,msb,0,0,"ng-template")},osb=function(a){a&1&&(H(0),O(1,nsb,1,0,null,12),I());a&2&&(a=L(2).$implicit,z(1),C("ngTemplateOutlet",a.tabContentTemplate))},psb=function(a){a&1&&(D(0,"div",15)(1,"h4"),O(2,lsb,2,1,"ng-container",3),tg(3,11),E(),O(4,osb,2,1,"ng-container",3),E());if(a&2){a=L().$implicit;L();var b=N(10);yg("id","expandable-tabs-",a.key,"-content");z(2);C("ngIf",a.tabIconTemplate);z(1);C("ngTemplateOutlet",b)("ngTemplateOutletContext",Gg(5,asb,a));z(1);
C("ngIf",a.tabContentTemplate)}},qsb=function(a,b){a&1&&(H(0),O(1,psb,5,7,"div",14),R(2,"async"),I());a&2&&(a=b.$implicit,b=L(),z(1),C("ngIf",S(2,1,iq(b.internalExpandedTabs,a.key))))},rsb=function(){},ssb=function(a){a&1&&O(0,rsb,0,0,"ng-template")},tsb=function(a){a&1&&(H(0),O(1,ssb,1,0,null,12),I());a&2&&(a=L().tab,z(1),C("ngTemplateOutlet",a.tabHeaderTemplate))},usb=function(a){a&1&&P(0);a&2&&(a=L().tab,Bg(a.key))},vsb=function(a,b){a&1&&(O(0,tsb,2,1,"ng-container",8),O(1,usb,1,1,"ng-template",
null,16,$g));if(a&2){a=b.tab;var c=N(2);C("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},wsb=function(a){a&1&&F(0,"mat-icon",9)},xsb=function(a){a&1&&(P(0),R(1,"async"));if(a&2){a=L(2);var b;Q("Screenshots (",null!==(b=S(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},Asb=function(a,b){if(a&1){var c=t();D(0,"inline-images-summary",11);K("click",function(){v(c);var e=L(3);ysb(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return w()});R(1,"async");E()}if(a&2){a=b.ngIf;b=L(3);var d;C("issueId",
a)("imageLinks",null!==(d=S(1,2,b.imageLinks$))&&void 0!==d?d:Fg(4,zsb))}},Bsb=function(a){a&1&&(O(0,Asb,2,5,"inline-images-summary",10),R(1,"async"));a&2&&(a=L(2),C("ngIf",S(1,1,a.issueId$)))},Csb=function(a){a&1&&F(0,"mat-icon",12)},Dsb=function(a){a&1&&(P(0),R(1,"async"));if(a&2){a=L(2);var b;Q("Mentioned issues (",null!==(b=S(1,1,a.distinctIssuesCount$))&&void 0!==b?b:0,")")}},Esb=function(a,b){if(a&1){var c=t();D(0,"b-mentioned-issues",14);K("click",function(){v(c);var d=L(3);ysb(d.issueSummaryTracking,
d.issueId,d.TabKeys.MENTIONED_ISSUES);return w()});E()}a&2&&(a=b.ngIf,b=L(3),C("issueReferences",a)("currentIssueId",b.issueId))},Fsb=function(a){a&1&&(O(0,Esb,1,2,"b-mentioned-issues",13),R(1,"async"));a&2&&(a=L(2),C("ngIf",S(1,1,a.issues$)))},Gsb=function(a){a&1&&F(0,"mat-icon",15)},Hsb=function(a){a&1&&(P(0),R(1,"async"));if(a&2){a=L(2);var b;Q("Links (",null!==(b=S(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},Isb=function(a){if(a&1){var b=t();D(0,"related-links-widget",16);K("click",
function(){v(b);var d=L(2);ysb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return w()});R(1,"async");E()}if(a&2){a=L(2);var c;C("links",null!==(c=S(1,2,a.otherLinks$))&&void 0!==c?c:Fg(4,zsb))("issueId",a.issueId)}},Ksb=function(a,b){if(a&1){var c=t();D(0,"expandable-tabs",2);K("expandedTabsChanged",function(d){var e=v(c).ngIf,f=L();return w(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){v(c);var e=L(),f=e.issueSummaryTracking;e=e.issueId;for(var h=
m(Jsb),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?(iu(f.issueInteractionsTracking,e,l+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-not-shown")):(iu(f.issueInteractionsTracking,e,l+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-shown"));0<d.size?(f.recordImpressionOnce(),iu(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):
(iu(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return w()});D(1,"expandable-tab",3);O(2,wsb,1,0,"ng-template",4);O(3,xsb,2,3,"ng-template",5);O(4,Bsb,2,3,"ng-template",6);E();D(5,"expandable-tab",7);O(6,Csb,1,0,"ng-template",4);O(7,Dsb,2,3,"ng-template",5);O(8,Fsb,2,3,"ng-template",6);E();D(9,"expandable-tab",8);O(10,Gsb,1,0,"ng-template",4);O(11,Hsb,2,3,"ng-template",5);O(12,Isb,2,5,"ng-template",6);E()()}a&
2&&(a=b.ngIf,b=L(),C("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),z(1),C("key",b.TabKeys.IMAGES),z(4),C("key",b.TabKeys.MENTIONED_ISSUES),z(4),C("key",b.TabKeys.LINKS))},Lsb=function(a){a&1&&(D(0,"p",11),P(1),E());a&2&&(a=L(),z(1),Q(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},Msb=function(a){a&1&&(D(0,"div",12),F(1,"b-live-preview",13),E());a&2&&(a=L(),z(1),C("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",
a.formattingAudience))},Nsb=function(a,b){a&1&&(D(0,"li",6)(1,"div",7),F(2,"b-user-image",8),E(),D(3,"div",9),F(4,"b-user-display",10)(5,"b-formatted-date-time",11),D(6,"p",12),P(7," Formatting: "),D(8,"code",13),P(9),E()(),F(10,"br"),D(11,"span",14)(12,"b-person-hovercard",15),R(13,"omitObfuscatedEmail"),P(14),R(15,"appendDomain"),E()(),P(16),E(),D(17,"pre"),P(18),E()());a&2&&(a=b.$implicit,b=b.index+1,z(2),C("email",null==a.author?null:a.author.emailAddress),z(2),C("model",a.author),z(1),C("timestamp",
a.updateTime),z(4),Q(" ",a.formattingMode," "),z(3),C("email",S(13,8,null==a.author?null:a.author.emailAddress)),z(2),Q(" <",S(15,10,null==a.author?null:a.author.emailAddress),"> "),z(2),Q(" #",b," "),z(2),Bg(a.updateText))},Psb=function(a){if(a&1){var b=t();D(0,"button",13);K("click",function(){v(b);var c=L(3);return w(Osb(c))});P(1," Mark as fresh ");E()}},Qsb=function(a){a&1&&(H(0),O(1,Psb,2,0,"button",12),R(2,"async"),I());a&2&&(a=L(2),z(1),C("ngIf",S(2,1,a.freshnessIndicator$)===a.Freshness.STALE))},
Rsb=function(a){a&1&&F(0,"mat-icon",19)},Ssb=function(a,b){a&1&&(H(0),O(1,Rsb,1,0,"mat-icon",14),R(2,"async"),P(3," Updated by "),D(4,"span",15),P(5),R(6,"shortenEmail"),E(),F(7,"b-formatted-date-time",16),D(8,"onedev-hovercard",null,17),F(10,"b-issue-person-card",18),E(),I());if(a&2){a=b.ngIf;var c=N(9);b=L(2);var d,e;z(1);C("ngIf",S(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);z(3);C("onedevHovercardTrigger",c);z(1);Q(" ",S(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?
d:"")," ");z(2);C("timestamp",a.updateTime);z(3);C("email",null!==(e=null==a.author?null:a.author.emailAddress)&&void 0!==e?e:"")}},Tsb=function(a,b){a&1&&F(0,"b-actions-menu",20);a&2&&(a=b.ngIf,C("buttonLabel","Status Update actions")("menuItems",a))},Usb=function(a,b){a&1&&(F(0,"b-note-container",25),R(1,"async"),R(2,"async"));if(a&2){a=b.ngIf;b=L().ngIf;var c=L(2),d;C("issueId",b.issueId)("issueAccessLevel",S(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=S(2,6,c.formattingMode$))&&
void 0!==d?d:c.FormattingMode.PLAIN)}},Vsb=function(a){if(a&1){var b=t();D(0,"button",26);K("click",function(){v(b);var c=L(3);return w(c.isCollapsed=!1)});P(1," Show More ");E()}},Wsb=function(a){a&1&&(H(0),D(1,"div",21)(2,"div",null,22),O(4,Usb,3,8,"b-note-container",23),R(5,"async"),E(),O(6,Vsb,2,0,"button",24),E(),I());a&2&&(a=L(2),z(2),pg("collapsed",a.isCollapsed),z(2),C("ngIf",S(5,4,a.statusUpdateAsNote$)),z(2),C("ngIf",a.isCollapsed))},Xsb=function(a){a&1&&(D(0,"p",27),P(1,"No status update yet."),
E())},Zsb=function(a,b){if(a&1){var c=t();D(0,"div",1);R(1,"async");F(2,"mat-icon",2);D(3,"div",3)(4,"header",4)(5,"div",5)(6,"h4",6);P(7,"Status Update");E();D(8,"button",7);K("click",function(){v(c);var d=L();return w(Ysb(d))});P(9," Edit ");E();O(10,Qsb,3,3,"ng-container",8);R(11,"async");E();D(12,"div",9);O(13,Ssb,11,9,"ng-container",8);R(14,"async");O(15,Tsb,1,2,"b-actions-menu",10);R(16,"async");E()();O(17,Wsb,7,6,"ng-container",8);R(18,"async");O(19,Xsb,2,0,"p",11);R(20,"async");E()()}a&2&&
(a=b.ngIf,b=L(),sg("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",S(1,9,b.semanticClass$),""),C("ngClass",a),z(10),C("ngIf",S(11,11,b.currentUserIsAuthoritative$)),z(3),C("ngIf",S(14,13,b.statusUpdate$)),z(2),C("ngIf",S(16,15,b.menuItems$)),z(2),C("ngIf",S(18,17,b.statusUpdate$)),z(2),C("ngIf",S(20,19,b.statusIsEmpty$)))},$sb=function(a){switch(a){case "display-none no-content":return"noUpdate";case "authoritative-team no-content":return"noUpdateTeamMember";case "normal":return"hasUpdate";
case "display-none loading":return"";default:return""}},atb=function(a){a&1&&(F(0,"canonical-recommendation",8,9),R(2,"async"));if(a&2){var b=N(1);a=L().$implicit;pg("hidden",!S(2,3,b.show$));C("currentIssueId",a)}},btb=function(a,b){a&1&&(H(0),F(1,"issue-description-area",4),O(2,atb,3,5,"canonical-recommendation",5),F(3,"status-update",6)(4,"b-issue-description",7),I());a&2&&(a=b.$implicit,b=L(),z(1),C("id",a),z(1),C("ngIf",b.enableIDPCanonicalRecommendation),z(1),C("issueId",a),z(1),C("id",a))},
ctb=function(a,b){a&1&&(F(0,"issue-summary-card",10,11),R(2,"async"));if(a&2){a=b.$implicit;var c=N(1);pg("hidden",!S(2,3,c.shouldShowSummaryCard$));C("issueId",a)}},dtb=function(a){a&1&&F(0,"issue-event-list",14);a&2&&(a=L().$implicit,C("id",a))},etb=function(a){a&1&&F(0,"issue-event-list",14);a&2&&(a=L().$implicit,C("id",a))},ftb=function(a,b){a&1&&(D(0,"div",12),F(1,"b-event-stream-header"),O(2,dtb,1,1,"issue-event-list",13),F(3,"b-post-comment",6),O(4,etb,1,1,"issue-event-list",13),E());a&2&&
(a=b.$implicit,b=L(),pg("recent-first",b.showRecentEventsFirst),z(2),C("ngIf",!b.showRecentEventsFirst),z(1),C("issueId",a),z(1),C("ngIf",b.showRecentEventsFirst))},gtb=function(a){a&1&&(D(0,"div",4),F(1,"img",5),D(2,"p",6),P(3,"This issue has no mentioned resources"),E(),D(4,"p",7),P(5," If there were any links or bugs mentioned in the comments or description of the issue, they would appear here. "),D(6,"a",8),P(7,"Learn more"),E()()());a&2&&(a=L(2),z(1),C("src",a.ROBOT_SLEEPING,ue))},htb=function(a){a&
1&&(H(0),D(1,"h2"),P(2),E(),F(3,"b-issues-table",13),I());a&2&&(a=L(2).ngIf,z(2),Q("Mentioned issues (",a.ids.length,")"),z(1),C("issueIds",a.ids))},itb=function(a){a&1&&(D(0,"h2"),P(1),E());a&2&&(a=L(2).ngIf,z(1),Q("Other linked resources (",a.urls.length,")"))},jtb=function(a,b){a&1&&(D(0,"ul")(1,"li")(2,"b-external-hyperlink-widget",14),P(3),E()()());a&2&&(a=b.$implicit,z(2),C("href",a)("originalHref",a),z(1),Bg(a))},ktb=function(a){a&1&&(D(0,"div",9),O(1,htb,4,2,"ng-container",1),F(2,"br"),O(3,
itb,2,1,"h2",1),O(4,jtb,4,3,"ul",10),F(5,"br")(6,"hr",11),D(7,"p",7),F(8,"mat-icon",12),P(9," This page shows links or bugs mentioned in the comments or description of the issue. "),D(10,"a",8),P(11,"Learn more"),E()()());a&2&&(a=L().ngIf,z(1),C("ngIf",0<a.ids.length),z(2),C("ngIf",0<a.urls.length),z(1),C("ngForOf",a.urls))},ltb=function(a,b){a&1&&(H(0),O(1,gtb,8,1,"div",2),O(2,ktb,12,3,"ng-template",null,3,$g),I());if(a&2){a=b.ngIf;var c=N(3);z(1);C("ngIf",a.hasNoResults)("ngIfElse",c)}},mtb=function(a){a&
1&&(D(0,"div",4),F(1,"img",5),D(2,"p",6),P(3," This issue has no TODOs "),E(),D(4,"p",7),P(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),D(6,"a",8),P(7,"Learn more"),E()()());a&2&&(a=L(3),z(1),C("src",a.ROBOT_SLEEPING,ue))},ntb=function(a,b){a&1&&F(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=L(3).ngIf;var c=L().ngIf,d=L();C("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},otb=function(a){if(a&1){var b=
t();H(0);O(1,ntb,1,3,"b-package-mentions-listing",9);D(2,"p",10)(3,"a",11);K("click",function(){v(b);var c=L(4);return w(c.trackSqueegeeClick())});P(4,"View in Squeegee");E()();I()}a&2&&(a=L(2).ngIf,z(1),C("ngForOf",a.mentions.packageMentionSet),z(2),C("href",a.link,ue))},ptb=function(a){a&1&&O(0,otb,5,2,"ng-container",1);a&2&&(a=L().ngIf,C("ngIf",a.mentions))},qtb=function(a,b){a&1&&(H(0),O(1,mtb,8,1,"div",2),O(2,ptb,1,1,"ng-template",null,3,$g),I());if(a&2){a=b.ngIf;var c=N(3);L(2);z(1);C("ngIf",
!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},rtb=function(a){a&1&&(H(0),O(1,qtb,4,2,"ng-container",1),R(2,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,1,a.codeMentionsState$)))},stb=function(a){a&1&&(D(0,"section")(1,"h4"),F(2,"mat-icon",2),P(3),E(),F(4,"inline-images-summary",3)(5,"br")(6,"hr",4),E());if(a&2){a=L(2).ngIf;var b=L().ngIf;z(3);Q(" Screenshots (",a.length,") ");z(1);C("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},ttb=function(a){a&1&&(H(0),O(1,stb,7,4,"section",
1),I());a&2&&(a=L().ngIf,z(1),C("ngIf",a.length))},utb=function(a){a&1&&(H(0),O(1,ttb,2,1,"ng-container",1),I());a&2&&(a=L(2),z(1),C("ngIf",a.isInternalSession))},vtb=function(a){a&1&&(D(0,"section")(1,"h4"),F(2,"mat-icon",5),P(3),E(),F(4,"b-mentioned-issues",6)(5,"br")(6,"hr",4),E());if(a&2){a=L().ngIf;var b=L().ngIf;z(3);Q(" Mentioned issues (",a.length,") ");z(1);C("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},wtb=function(a,b){a&1&&(H(0),O(1,vtb,7,4,"section",1),I());a&2&&
(a=b.ngIf,z(1),C("ngIf",a.length))},xtb=function(a){a&1&&(D(0,"section")(1,"h4"),F(2,"mat-icon",7),P(3),E(),F(4,"related-links-widget",8),E());if(a&2){a=L().ngIf;var b=L().ngIf;z(3);Q(" Links (",a.length,") ");z(1);C("links",a)("issueId",b.issueId)("paginate",!0)}},ytb=function(a,b){a&1&&(H(0),O(1,xtb,5,4,"section",1),I());a&2&&(a=b.ngIf,z(1),C("ngIf",a.length))},ztb=function(a){a&1&&(H(0),O(1,utb,2,1,"ng-container",1),R(2,"async"),O(3,wtb,2,1,"ng-container",1),R(4,"async"),O(5,ytb,2,1,"ng-container",
1),R(6,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,3,a.imageLinks$)),z(2),C("ngIf",S(4,5,a.issueReferences$)),z(2),C("ngIf",S(6,7,a.otherLinks$)))},Atb=function(a){a&1&&F(0,"b-spinner",6);a&2&&C("large",!0)},Btb=function(a){a&1&&F(0,"b-hotlist-grid",7);a&2&&(a=L(),C("hotlists",a.hotlists))},Ctb=function(a){a&1&&(D(0,"div",9),F(1,"b-spinner"),D(2,"span"),P(3),E()());a&2&&(a=L(),z(3),Q(" Searching",a.query?" for "+a.query:"","..."))},Dtb=function(a){a&1&&(H(0),P(1," No issues match your search. "),
I())},Etb=function(a){a&1&&P(0," Use search box to find issues. ")},Gtb=function(a){a&1&&(D(0,"a",16),P(1," Click to see all open issues"),E());a&2&&C("queryParams",Fg(1,Ftb))},Htb=function(a){a&1&&(D(0,"a",17),P(1,"Learn more about searching"),E())},Itb=function(a){a&1&&(D(0,"div",10),F(1,"img",11),O(2,Dtb,2,0,"ng-container",12),O(3,Etb,1,0,"ng-template",null,13,$g),O(5,Gtb,2,2,"a",14),R(6,"async"),O(7,Htb,2,0,"ng-template",null,15,$g),E());if(a&2){var b=N(4),c=N(8);a=L();var d;C("bFocus",!0);z(1);
C("src",a.SPACE_EMPTY_STATE,ue);z(1);C("ngIf",a.query)("ngIfElse",b);z(3);C("ngIf",null!==(d=S(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",c)}},Ktb=function(a){if(a&1){var b=t();D(0,"div",18)(1,"b-issues-grid",19);K("init",function(c){v(b);var d=L();return w(d.resultsGrid=c)})("columnsChange",function(c){v(b);var d=L();return w(d.issueColumns=c)})("columnsChange",function(){v(b);L();Jtb();return w()})("sortChange",function(c){v(b);var d=L();return w(d.setSort(c.field,c.direction))})("rowClick",
function(c){v(b);var d=L();return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=L();return w(ju(c,c.page,1))})("onPrevPage",function(){v(b);var c=L();return w(ju(c,c.page,-1))});E()()}a&2&&(a=L(),z(1),C("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},Ltb=function(a){a&1&&(D(0,"div",9),F(1,"b-spinner"),P(2," Loading recent issues... "),E())},Mtb=function(a){a&
1&&(D(0,"div",10),P(1," No recent issues found. "),E())},Ntb=function(a){if(a&1){var b=t();D(0,"div",11)(1,"b-issues-grid",12);K("init",function(c){v(b);var d=L();return w(d.resultsGrid=c)})("columnsChange",function(c){v(b);var d=L();return w(d.issueColumns=c)})("sortChange",function(c){v(b);var d=L();return w(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=L();return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=L(),d;return w(c.goToPage((null!==(d=
c.page)&&void 0!==d?d:0)+1))})("onPrevPage",function(){v(b);var c=L(),d;return w(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)-1))});E()()}a&2&&(a=L(),z(1),C("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},Otb=function(a,b){return b.map(function(c){var d=a.indexOf(String(c.id));return[a.length-d,c]}).sort(function(c,d){var e=m(c);c=e.next().value;e.next();d=m(d);e=d.next().value;d.next();
return c-e}).map(function(c){c=m(c);c.next();return c.next().value})},Ptb=function(a){a&1&&(D(0,"div",6)(1,"h2"),P(2,"Manage SLOs"),E(),D(3,"p",7),P(4,"You have admin rights for all SLOs listed below."),E()())},Qtb=function(a){a&1&&F(0,"b-spinner",8);a&2&&C("large",!0)},Rtb=function(a){a&1&&(D(0,"div",11),P(1,"You have no Active SLOs"),E())},Stb=function(a){a&1&&F(0,"b-slo-grid",12);a&2&&(a=L(2),C("slos",a.activeSlos))},Ttb=function(a){a&1&&(H(0),O(1,Rtb,2,0,"div",9),O(2,Stb,1,1,"b-slo-grid",10),
I());a&2&&(a=L(),z(1),C("ngIf",!a.activeSlos.length),z(1),C("ngIf",a.activeSlos.length))},Utb=function(a){a&1&&(D(0,"p",19),P(1," You have no archived SLOs. "),E())},Vtb=function(a){a&1&&F(0,"b-slo-grid",12);a&2&&(a=L(3),C("slos",a.archivedSlos))},Wtb=function(a){a&1&&(D(0,"div",17),O(1,Utb,2,0,"p",18),O(2,Vtb,1,1,"b-slo-grid",10),E());a&2&&(a=L(2),z(1),C("ngIf",!a.archivedSlos.length),z(1),C("ngIf",a.archivedSlos.length))},Xtb=function(a){if(a&1){var b=t();H(0);D(1,"button",13);K("click",function(){v(b);
var c=L();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return w()});D(2,"h4",14);F(3,"mat-icon",15);P(4);E()();O(5,Wtb,3,2,"div",16);I()}a&2&&(a=L(),z(3),pg("rotate-180",a.areArchivedSlosExpanded),C("svgIcon","arrow-dropdown"),z(1),Q(" Archived SLOs (",a.archivedSlos.length,") "),z(1),C("ngIf",a.areArchivedSlosExpanded))},Ytb=function(a){var b={};a=m(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},aub=function(a){return{approximateSize:Tk(a,2),
groupEmail:lk(a,1),sizeCategory:Ztb[bk(a,3,0)],permissionCategory:$tb[bk(a,5,0)]}},cub=function(a){var b;return{groupMetadata:(null!=(b=fj(a,bub,1))?b:[]).map(aub)}},dub=function(a){a&1&&(H(0),D(1,"p"),P(2,"Team inheritance path:"),E(),F(3,"b-team-breadcrumb",1),I());a&2&&(a=L(),z(3),C("teamPath",a.teamPath))},eub=function(a){a&1&&(H(0),D(1,"p"),P(2,"Component inheritance path:"),E(),F(3,"b-component-breadcrumb",2),I());a&2&&(a=L(),z(3),C("componentPathInfo",a.componentPath))},gub=function(a,b){var c=
[];if(!b||!a)return c;for(var d=m(fub),e=d.next();!e.done;e=d.next()){e=e.value;var f=wj(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},iub=function(a,b){if(!a.appenders||!b||mj(b.appenders,a.appenders))return!1;a=m(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,hub.has(c)&&!b.appenders.includes(c))return!0;return!1},jub=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,
c)}return b},kub=function(a,b){return 0!==a&&0!==b?"Adding large and open groups to a public component":0!==a?1===a?"Adding a large group to a public component":"Adding large groups to a public component":1===b?"Adding an open group to a public component":"Adding open groups to a public component"},lub=function(a){if(0===a.size)return ku;for(var b=1===a.size?zp("P",{},"The following large group is added: "):zp("P",{},"The following large groups are added: "),c=[],d=m(a.keys()),e=d.next();!e.done;e=
d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(zp("P",{},Ap(zp("B",{},e)," has approximately ",zp("B",{},f)," Googlers.")))}return Ap(b,c)},mub=function(a){if(0===a.size)return ku;var b=1===a.size?zp("P",{},"The following open group is added: "):zp("P",{},"The following open groups are added: "),c=[];a=m(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(zp("P",{},zp("B",{},d.value)));return Ap(b,c)},nub=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,
"OPEN_TO_JOIN"===c.permissionCategory&&b.set(c.groupEmail,c);return b},oub=function(a,b){var c=b.restrictedPlusReaders;return 0<a.restrictedPlusReaders.filter(function(d){return!c.includes(d)}).filter(function(d){return d.startsWith("GROUP:")}).length},pub=function(a,b,c){a="USER:"+a;b=b.admins.concat(b.inheritedAdmins);var d=c.admins.concat(c.inheritedAdmins);c=b.filter(function(f){return!d.includes(f)});b=c.filter(function(f){return f.startsWith("GROUP:")});var e=c.filter(function(f){return f.startsWith("USER:")});
return d.includes(a)||0===c.length?!1:e.includes(a)?!0:b.length?!0:!1},lu=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:Kna(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],principalType:a,detailedUserType:null}},qub=function(a,b){a&1&&F(0,"b-contact-chip",6);a&2&&(a=b.$implicit,b=L(2),C("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},rub=
function(a,b){a&1&&(H(0),D(1,"tr",3)(2,"th",4),P(3),E(),D(4,"td"),O(5,qub,1,5,"b-contact-chip",5),E()(),I());a&2&&(a=b.$implicit,z(3),Bg(a.permission),z(2),C("ngForOf",a.principals))},vub=function(a){var b=void 0===b?"expanded":b;a=sub(a);a=Sva(a,function(c){c=tub(c);return uub(c,b)});return sub(a)},xub=function(a){a=sub(a);a=Sva(a,function(b){b=wub(b);return tub(b)});return sub(a)},uub=function(a,b){var c="expanded"===b?yub:zub;return new Set([].concat(p(a)).flatMap(function(d){return[].concat(p(c.get(d)))}))},
wub=function(a){return new Set(mu.filter(function(b){return rna(a,zub.get(b))}))},tub=function(a){a=uub(a,"expanded");var b=wub(a);return new Set([].concat(p(b)).filter(function(c){return[].concat(p(Aub.get(c))).every(function(d){return!b.has(d)})}))},sub=function(a){var b=new Map;a=m(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;d=m(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,(null!=(f=b.get(e))?f:new Set).add(c))}}return b},
Cub=function(){function a(f,h){c.has(f)||c.set(f,new Set);var l=c.get(f);l.add(h);var q;h=m(null!=(q=b.get(h))?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,l.has(q)||a(f,q)}var b=Bub,c=new Map,d=[].concat(p(b.values())).flatMap(function(f){return[].concat(p(f))});d=m(new Set([].concat(p(b.keys()),p(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},Dub=function(a){var b=vub(new Map([["componentAdmin",new Set(a.componentAdmin)],["issueAdmin",new Set(a.issueAdmin)],["issueEditor",
new Set(a.editor)],["issueContributor",new Set(a.contributor)],["componentAdminOnly",new Set(a.componentAdminOnly)],["issueCreator",new Set(a.createIssuesOnly)],["issueAdminOnly",new Set(a.issueAdminOnly)],["issueEditorExisting",new Set(a.editExistingIssuesOnly)],["issueCommenter",new Set(a.commentOnly)],["restrictedPlusViewer",new Set(a.viewRestrictedPlus)],["restrictedViewer",new Set(a.viewRestricted)],["issueViewer",new Set(a.viewer)]])),c=function(d){var e;return[].concat(p(null!=(e=b.get(d))?
e:[])).sort()};return{componentPermissions:{inheritedAdmins:a.inheritedComponentAdmin,admins:c("componentAdmin"),appenders:c("componentAppender")},issuesPermissions:{admins:c("issueAdmin"),editors:c("issueEditor"),appenders:c("issueAppender"),readers:c("issueReader"),restrictedReaders:c("issueRestrictedReader"),restrictedPlusReaders:c("issueRestrictedPlusReader")}}},Eub=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return cn([].concat(p(b?[].concat(p(b.inheritedAdmins||[]),p(b.admins||
[]),p(b.appenders||[])):[]),p(a?[].concat(p(a.admins||[]),p(a.editors||[]),p(a.appenders||[]),p(a.readers||[]),p(a.restrictedReaders||[]),p(a.restrictedPlusReaders||[])):[]))).sort()},Gub=function(a){function b(e){var f;return[].concat(p(null!=(f=d.get(e))?f:[])).sort()}if(!a)return Fub;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=xub(new Map([["issueAdmin",new Set(c.admins)],["issueEditor",new Set(c.editors)],["issueAppender",new Set(c.appenders)],["issueReader",new Set(c.readers)],
["issueRestrictedReader",new Set(c.restrictedReaders)],["issueRestrictedPlusReader",new Set(c.restrictedPlusReaders)],["componentAdmin",new Set(a.admins)],["componentAppender",new Set(a.appenders)],["componentReader",new Set(a.readers)]]));return{componentAdmin:b("componentAdmin"),issueAdmin:b("issueAdmin"),editor:b("issueEditor"),contributor:b("issueContributor"),componentAdminOnly:b("componentAdminOnly"),createIssuesOnly:b("issueCreator"),issueAdminOnly:b("issueAdminOnly"),editExistingIssuesOnly:b("issueEditorExisting"),
commentOnly:b("issueCommenter"),viewRestrictedPlus:b("restrictedPlusViewer"),viewRestricted:b("restrictedViewer"),viewer:b("issueViewer"),inheritedComponentAdmin:a.inheritedAdmins}},Hub=function(a,b){var c;(c=!b)||(c=!(!mj([].concat(p(b.admins)).sort(),[].concat(p(a.admins)).sort())||!mj([].concat(p(b.appenders)).sort(),[].concat(p(a.appenders)).sort())||!mj(b.implicitAccess,a.implicitAccess)));return!c},Iub=function(a,b){return b&&a?!mj([].concat(p(a.admins)).sort(),[].concat(p(b.admins)).sort())||
!mj([].concat(p(a.editors)).sort(),[].concat(p(b.editors)).sort())||!mj([].concat(p(a.appenders)).sort(),[].concat(p(b.appenders)).sort())||!mj([].concat(p(a.readers)).sort(),[].concat(p(b.readers)).sort())||!mj([].concat(p(a.restrictedReaders)).sort(),[].concat(p(b.restrictedReaders)).sort())||!mj([].concat(p(a.restrictedPlusReaders)).sort(),[].concat(p(b.restrictedPlusReaders)).sort()):!1},Jub=function(a,b){var c=Object.keys(a);c=m(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!mra(a[d],
b[d]))return!0;return!1},Kub=function(a){if(a&1){var b=t();D(0,"input",17);K("ngModelChange",function(c){v(b);var d=L(2);return w(d.rolesEditor.component.accessLimit.accessLevel=c)});E()}a&2&&(a=L(2),C("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},Lub=function(a){if(a&1){var b=t();D(0,"input",18);K("ngModelChange",function(c){v(b);var d=L(2);return w(d.rolesEditor.component.accessLimit.accessLevel=c)});E()}a&2&&(a=L(2),C("disabled",!a.rolesEditor.isAdmin||
!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},Mub=function(a){if(a&1){var b=t();D(0,"input",19);K("ngModelChange",function(c){v(b);var d=L(2);return w(d.rolesEditor.component.accessLimit.accessLevel=c)});E()}a&2&&(a=L(2),C("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},Oub=function(a){a&1&&(D(0,"div",3)(1,"div",4)(2,"span",5),P(3,"Component visibility: "),E()(),D(4,"div",6)(5,"div",7),O(6,Kub,
1,2,"input",8),D(7,"label",9),P(8),E()(),D(9,"div",7),O(10,Lub,1,2,"input",10),D(11,"label",11),P(12),E()(),D(13,"div",12),O(14,Mub,1,2,"input",13),D(15,"label",14),P(16),E()()(),D(17,"p",15)(18,"a",16),P(19," Learn more "),E()()());a&2&&(a=L(),z(6),C("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),Q(" ",a.getAccessLevelDescription(a.AccessLevelStrings.INTERNAL)," "),z(2),C("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),Q(" ",a.getAccessLevelDescription(a.AccessLevelStrings.EXTERNAL_PARTNER),
" "),z(2),C("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),Q(" ",a.getAccessLevelDescription(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),z(2),C("href",Nub(a.documentationLinks),ue))},Tub=function(a,b){if(a&1){var c=t();H(0);D(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);P(6);E();D(7,"button",5);F(8,"mat-icon",6);E()();D(9,"b-multi-user-input",7);K("usersChange",function(e){var f=v(c).$implicit,h=L();return w(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=
v(c).$implicit,h=L();h.aclFormValidity.set(f.roleType,e);e=[].concat(p(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return w()});E()()();D(10,"td");F(11,"b-icon",8);E();D(12,"td");F(13,"b-icon",8);E();D(14,"td");F(15,"b-icon",8);E();D(16,"td");F(17,"b-icon",8);E();D(18,"td");F(19,"b-icon",8);E();D(20,"td");F(21,"b-icon",8);E();D(22,"td");F(23,"b-icon",8);E();D(24,"td");F(25,"b-icon",8);E()();I()}if(a&2){a=b.$implicit;b=L();var d;z(3);pg("bv2-edit-resource-readonly",b.canEdit);
z(2);C("htmlFor",a.roleType);z(1);Bg(a.label);z(1);C("matTooltip",a.tooltip);z(2);C("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&void 0!==d?d:Fg(22,Pub))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?Gg(26,Qub,Hg(23,Rub,a.chips.displayText,a.chips.values)):Fg(28,Sub));dg("disabled",b.canEdit?
null:!0);z(2);C("name",b.getIconName(a,"componentAdmin"));z(2);C("name",b.getIconName(a,"createIssues"));z(2);C("name",b.getIconName(a,"issueAdmin"));z(2);C("name",b.getIconName(a,"issueEditor"));z(2);C("name",b.getIconName(a,"issueCommenter"));z(2);C("name",b.getIconName(a,"issueReader"));z(2);C("name",b.getIconName(a,"restrictedReader"));z(2);C("name",b.getIconName(a,"restrictedPlusReader"))}},Uub=function(a){a&1&&(D(0,"div",1)(1,"p"),P(2," Your component is only using advanced roles. Simplify your component\u2019s role assignment by moving some users to standard roles. "),
D(3,"a",2),P(4,"Learn more"),E()()());a&2&&(a=L(),z(3),yg("href","",Kp(a.documentationLinks),"#role-based-permissions",ue))},Vub=function(a){a&1&&(D(0,"div",2),F(1,"b-spinner"),E())},Xub=function(a){if(a&1){var b=t();D(0,"div")(1,"div",3)(2,"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);K("saveRolesMap",function(c){v(b);var d=L();Wub(d.rolesEditor,c);return w()});E()();D(5,"mat-tab",6);F(6,"permissions-view",7);E()()()()}a&2&&(a=L(),z(4),C("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",
a.rolesEditor.component)("rolesEditor",a.rolesEditor),z(2),C("componentReaders",a.rolesEditor.componentReaders)("componentAccessPolicy",a.rolesEditor.componentFlattenedAccessPolicy)("issueAccessPolicy",a.rolesEditor.issueDefaultFlattenedAccessPolicy)("accessLevel",null==a.rolesEditor.component?null:null==a.rolesEditor.component.accessLimit?null:a.rolesEditor.component.accessLimit.accessLevel))},Zub=function(a){if(a&1){var b=t();D(0,"b-button",14,15);K("onAction",function(){v(b);var c=L(3);return w(Yub(c))});
P(2);E()}a&2&&(a=L(3),C("disabled",a.isSaving()),z(2),Q(" ",a.archiveAction," Component "))},$ub=function(a){if(a&1){var b=t();D(0,"b-button",16);K("onAction",function(){v(b);var c=L(3);return w(c.createIssue())});P(1," Create Issue ");E()}a&2&&(a=L(3),C("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},avb=function(a){a&1&&(H(0),D(1,"a",11),P(2," Browse Components "),E(),O(3,Zub,3,2,"b-button",12),O(4,$ub,2,2,"b-button",13),I());a&2&&(a=L(2),z(1),
C("routerLinkObj",a.componentListRoute(a.component.componentId)),z(2),C("ngIf",a.isAdmin()),z(1),C("ngIf",!a.isAnonymous))},bvb=function(a){a&1&&(D(0,"div",17),F(1,"b-spinner"),E())},cvb=function(a){a&1&&(D(0,"span",38),P(1," (archived) "),E())},dvb=function(a){a&1&&tg(0)},evb=function(a){a&1&&tg(0)},fvb=function(a){a&1&&tg(0)},gvb=function(a){a&1&&tg(0)},hvb=function(a){a&1&&tg(0)},ivb=function(a){if(a&1){var b=t();D(0,"div",77)(1,"div",48)(2,"label",78)(3,"span",45);P(4,"Parent Component");E()();
D(5,"span",50)(6,"div",79)(7,"strong");P(8,"Careful!");E();P(9," Moving this component can have significant consequences. If this component has custom fields that are defined on the parent or ancestor components, those fields will be lost, and issues in this component will no longer display those fields. ");D(10,"div",52);F(11,"div",53)(12,"div",54);E()()()();D(13,"b-team-component-picker",80);K("selectedComponentChange",function(c){v(b);var d=L(4);return w(d.parentComponent=null!==c&&void 0!==c?
c:null)});E()()}a&2&&(a=L(4),z(2),pg("required",a.isParentComponentRequired),z(11),C("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired))},jvb=function(a){a&1&&(D(0,"a",81),P(1," Learn more "),E());a&2&&(L(4),C("href",Pdb(),ue))},kvb=function(a){if(a&1){var b=t();D(0,"div",82)(1,"label",83)(2,"span",45);P(3,"Retention Settings");E()();D(4,"div",84)(5,"p");P(6,"Please choose a period of time to retain the data stored in this component.");
F(7,"br");D(8,"a",85);P(9," Learn more ");E()()();D(10,"div",86)(11,"b-retention-settings-form",87);K("modelChange",function(c){v(b);var d=L(4);return w(d.component.retentionSettings=c)})("validChange",function(c){v(b);L(4).retentionIsValid=c;return w()});E()()()}a&2&&(a=L(4),pg("bv2-edit-resource-readonly",!a.isAdmin()),z(8),C("href",nu(),ue),z(3),C("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("initialModel",a.component.retentionSettings))},mvb=function(a){if(a&
1){var b=t();D(0,"div",91)(1,"b-component-team-picker",92);K("modelChange",function(c){v(b);var d=L(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&lvb(d);return w()});E()()}a&2&&(a=L(5),z(1),zg("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),C("isAdmin",a.isAdmin())("isTopLevel",!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},nvb=function(a){a&1&&(D(0,"div",
88)(1,"label",89)(2,"span",45),P(3,"Team Configuration"),E()(),O(4,mvb,2,6,"div",90),E());a&2&&(a=L(4),pg("bv2-edit-resource-readonly",!a.isAdmin()),z(4),C("ngIf",a.component.team))},ovb=function(a){a&1&&(D(0,"a",105),P(1),E());if(a&2){a=L().ngIf;var b=L(5),c;C("routerLinkObj",b.getSloManagementLink(a.id));z(1);Q(" ",null!==(c=null==a.slo?null:a.slo.getName())&&void 0!==c?c:a.id," ")}},pvb=function(a){a&1&&P(0," None ")},qvb=function(a,b){a&1&&(D(0,"div",102),P(1," Inherited SLO Policy: "),O(2,ovb,
2,2,"a",103),O(3,pvb,1,0,"ng-template",null,104,$g),E());if(a&2){a=b.ngIf;var c=N(4);z(2);C("ngIf","0"!==a.id)("ngIfElse",c)}},rvb=function(a){a&1&&(D(0,"a",110),P(1),R(2,"titlecase"),E());a&2&&(a=L().ngIf,C("routerLinkObj",a.link),z(1),Cg(" (",S(2,3,a.type),") ",a.name," "))},svb=function(a){a&1&&P(0," None ")},tvb=function(a){a&1&&(D(0,"div",112),F(1,"slo-inheritance-breadcrumbs",113),E());a&2&&(a=L().ngIf,z(1),C("componentPath",a.componentPath)("teamPath",a.teamPath))},uvb=function(a){a&1&&(H(0),
O(1,tvb,2,2,"div",111),I());a&2&&(a=L(6),z(1),C("ngIf",a.showSloInheritancePath))},vvb=function(a,b){if(a&1){var c=t();D(0,"div",106);P(1," Policy Source: ");O(2,rvb,3,5,"a",107);O(3,svb,1,0,"ng-template",null,108,$g);D(5,"button",109);K("click",function(){v(c);var e=L(5);return w(e.showSloInheritancePath=!e.showSloInheritancePath)});P(6);E();O(7,uvb,2,1,"ng-container",7);R(8,"async");E()}if(a&2){a=b.ngIf;var d=N(4);b=L(5);z(2);C("ngIf",a.link)("ngIfElse",d);z(3);dg("aria-expanded",b.showSloInheritancePath);
z(1);Q(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");z(1);C("ngIf",S(8,5,b.policySourcePath$))}},wvb=function(a){a&1&&(H(0),P(1,", "),D(2,"a",115),P(3,"Team Leads"),E(),I());a&2&&(a=L(7),z(2),C("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},xvb=function(a){a&1&&(H(0),P(1," SLO Admins: "),D(2,"a",115),P(3,"Component Admins"),E(),O(4,wvb,4,1,"ng-container",7),I());a&2&&(a=L(6),z(2),C("routerLinkObj",a.componentPermissions(a.componentId)),z(2),C("ngIf",a.component.team&&
"0"!==a.component.team.id))},yvb=function(a){a&1&&(D(0,"div",114),O(1,xvb,5,2,"ng-container",7),E());a&2&&(a=L(5),z(1),C("ngIf",a.enableTeamLeadSloEditingUi))},zvb=function(a){a&1&&(H(0),F(1,"mat-icon",117),P(2," on "),I())},Avb=function(a){a&1&&(F(0,"mat-icon",118),P(1," off "))},Bvb=function(a){a&1&&(H(0),P(1," Lock: "),O(2,zvb,3,0,"ng-container",0),R(3,"async"),O(4,Avb,2,0,"ng-template",null,116,$g),I());if(a&2){var b=N(5);a=L(5);z(2);C("ngIf",S(3,2,a.sloLocked$))("ngIfElse",b)}},Dvb=function(a){if(a&
1){var b=t();D(0,"div",119)(1,"mat-checkbox",120);K("change",function(c){v(b);var d=L(5);c=c.checked;d.component.slo.inherit=!c;c||lvb(d);return w()});D(2,"span");P(3,"Override the inherited SLO policy");E()()()}a&2&&(a=L(5),z(1),C("checked",!a.component.slo.inherit)("disabled",!Cvb(a)))},Evb=function(a){if(a&1){var b=t();D(0,"div",127)(1,"label",128);P(2," Justification ");E();F(3,"mat-icon",129);D(4,"textarea",130);K("ngModelChange",function(c){v(b);var d=L(6);return w(d.component.slo.comment=c)});
E()()}a&2&&(a=L(6),z(4),C("ngModel",a.component.slo.comment)("disabled",!ou(a)))},Fvb=function(a){a&1&&(D(0,"a",131),F(1,"mat-icon",132),E());a&2&&(a=L(6),zg("target",a.hasUnsavedChanges()?"_blank":"_self"),C("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},Jvb=function(a){if(a&1){var b=t();H(0);O(1,Evb,5,2,"div",121);D(2,"mat-slide-toggle",122);K("ngModelChange",function(c){v(b);var d=L(5);return w(d.isEnableSloChecked=c)})("change",function(c){v(b);var d=L(5);c=c.checked;d.isEnableSloChecked=
c;c||(d.component.slo.id="0");return w()});P(3," Enable SLO ");E();D(4,"div",123)(5,"label",124);P(6,"SLO policy");E();D(7,"slo-picker",125);K("onSloSelect",function(c){v(b);var d=L(5);return w(d.onSloChange(c))});E();O(8,Fvb,2,2,"a",126);E();I()}a&2&&(a=L(5),z(1),C("ngIf",Gvb(a)),z(1),pg("indented",Hvb(a)),C("ngModel",a.isEnableSloChecked)("disabled",!Ivb(a)),z(5),C("bv2Disabled",!a.isEnableSloChecked||!Ivb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&Ivb(a)?"Type to search for an SLO":
"SLO disabled"),z(1),C("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},Kvb=function(a){a&1&&(D(0,"div",93)(1,"div",48)(2,"label",94)(3,"span",45),P(4,"SLO Configuration"),E()(),D(5,"span",50)(6,"div",95)(7,"strong"),P(8,"Careful!"),E(),P(9," Changing the SLO (service level objective) of a component has the potential to impact the Buganizer SLO compliance status of every issue under that component. "),D(10,"div",52),F(11,"div",53)(12,"div",54),E()()()(),D(13,"div",96),O(14,qvb,5,2,"div",97),
R(15,"async"),O(16,vvb,9,7,"div",98),R(17,"async"),O(18,yvb,2,1,"div",99),D(19,"div",100),O(20,Bvb,6,4,"ng-container",7),E()(),O(21,Dvb,4,2,"div",101),O(22,Jvb,9,9,"ng-container",7),E());if(a&2){a=L(4);pg("bv2-edit-resource-readonly",!ou(a));z(14);C("ngIf",S(15,8,a.inheritedSlo$));z(2);C("ngIf",S(17,10,a.sloPolicySource$));z(2);C("ngIf",a.sessionIsInternal);z(2);C("ngIf",a.enableSloLockingUi);z(1);C("ngIf",Hvb(a));z(1);if(a.component&&a.component.slo){var b=!!a.component.team&&"0"!==a.component.team.id,
c=!a.component.slo.inherit;a=0===a.component.parentComponentId&&!b||c}else a=!1;C("ngIf",a)}},Lvb=function(a){if(a&1){var b=t();D(0,"div",73)(1,"b-button",133);K("onAction",function(){v(b);var c=L(4);return w(c.saveMetadata())});P(2," Update ");E();D(3,"b-button",134);K("onAction",function(){v(b);var c=L(4);return w(c.revertMetadataChanges())});P(4," Revert Changes ");E();D(5,"b-button",134);K("onAction",function(){v(b);var c=L(4);return w(c.createChild())});P(6," Create Child Component ");E()()}a&
2&&(a=L(4),z(1),C("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),C("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),C("disabled",a.hasUnsavedMetadataChanges()))},Mvb=function(a){if(a&1){var b=t();D(0,"b-button",135);K("onAction",function(){v(b);var c=L(4);return w(c.showUpdateHistoryModal())});P(1," View History ");E()}},Nvb=function(a){a&1&&F(0,"b-spinner")},Ovb=function(a){if(a&1){var b=t();D(0,"b-component-children-list",136);K("onVisit",function(){v(b);var c=L(4);return w(c.trackClick("openChildComponent"))});
E()}a&2&&(a=L(4),C("children",a.childComponents))},Pvb=function(a){a&1&&(D(0,"span"),P(1," No child components. "),E())},Qvb=function(a){if(a&1){var b=t();D(0,"div",39)(1,"form",40,41);F(3,"b-error-banner",42);D(4,"div",43)(5,"label",44)(6,"span",45);P(7,"Name");E()();D(8,"input",46);K("ngModelChange",function(c){v(b);var d=L(3);return w(d.component.name=c)});E()();D(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);P(13,"Description");E()();D(14,"span",50)(15,"div",51);P(16," The description will be used during component searches. You can add previous project names or keywords that will help users search for your component. ");
D(17,"div",52);F(18,"div",53)(19,"div",54);E()()()();D(20,"textarea",55);K("ngModelChange",function(c){v(b);var d=L(3);return w(d.component.description=c)});P(21,"            ");E()();O(22,ivb,14,5,"div",56);D(23,"div",57)(24,"div",58)(25,"mat-checkbox",59);K("change",function(c){v(b);var d=L(3);return w(d.setCommentEditState(c.checked))});E()();D(26,"div")(27,"strong",60);P(28,"Editable Comments");E();D(29,"div",61);P(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
F(31,"br");O(32,jvb,2,1,"a",62);E()()();O(33,kvb,12,6,"div",63);O(34,nvb,5,3,"div",64);O(35,Kvb,23,12,"div",65);D(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);P(40,"Component Alias");E()();D(41,"span",50)(42,"div",68);P(43," You can create a new issue in this component by sending an email to this alias. ");F(44,"br");D(45,"a",69);P(46," Learn more ");E();D(47,"div",52);F(48,"div",53)(49,"div",54);E()()()();D(50,"div")(51,"a",70);P(52);E()()();D(53,"div",71);O(54,Lvb,7,3,"div",72);D(55,"div",
73);O(56,Mvb,2,0,"b-button",74);E()();D(57,"div",75)(58,"label")(59,"span",45);P(60,"Child Components");E()();O(61,Nvb,1,0,"b-spinner",7);O(62,Ovb,1,1,"b-component-children-list",76);O(63,Pvb,2,0,"span",7);E()()()}a&2&&(a=L(3),z(1),pg("show-errors",a.error),z(2),C("error",a.error),z(1),pg("bv2-edit-resource-readonly",pu(a)),z(4),C("ngModel",a.component.name)("disabled",pu(a)),z(1),pg("bv2-edit-resource-readonly",pu(a)),z(11),C("ngModel",a.component.description)("disabled",pu(a)),z(2),C("ngIf",a.isAdmin()),
z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(2),C("checked",a.commentEditsEnabled)("disabled",pu(a)),z(7),C("ngIf",!a.sessionIsExternal),z(1),C("ngIf",!a.sessionIsExternal),z(1),C("ngIf",a.sessionIsInternal),z(1),C("ngIf",a.component.slo&&a.sessionIsInternal),z(10),C("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",ue),z(6),yg("href","mailto:",a.component.emailAlias,"",ue),dg("aria-label","Component Alias -"+a.component.emailAlias),z(1),Bg(a.component.emailAlias),
z(2),C("ngIf",a.isEditorInternal||ou(a)),z(2),C("ngIf",a.componentHistoryUiEnabled),z(5),C("ngIf",void 0===a.childComponents),z(1),C("ngIf",a.childComponents&&0<a.childComponents.length),z(1),C("ngIf",a.childComponents&&0===a.childComponents.length))},Rvb=function(a){a&1&&(D(0,"div",141),P(1," Standard Fields "),E())},Tvb=function(a){if(a&1){var b=t();D(0,"b-component-standard-fields",142);K("updateComponent",function(c){v(b);var d=L(4);return w(Svb(d,c))});E()}a&2&&(a=L(4),C("effortSpec",a.component.effortSpec)("parentEffortSpec",
null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},Uvb=function(a){a&1&&(D(0,"div",143),P(1," Custom Fields "),E())},Vvb=function(a){a&1&&(O(0,Rvb,2,0,"div",137),O(1,Tvb,1,3,"b-component-standard-fields",138),O(2,Uvb,2,0,"div",139),F(3,"b-component-custom-fields",140));a&2&&(a=L(3),C("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),C("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),C("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),C("editMode",a.isEditorInternal)("isSaving",
a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},Xvb=function(a){a&1&&(D(0,"a",147),P(1," Learn more "),E());a&2&&(L(4),C("href",Wvb(),ue))},Zvb=function(a){if(a&1){var b=t();D(0,"div",39)(1,"div",144);P(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");O(3,Xvb,2,1,"a",145);E();D(4,"b-field-reorder",146);K("onReload",function(){v(b);var c=L(3);return w(Yvb(c))});E()()}a&2&&(a=L(3),z(3),
C("ngIf",a.sessionIsInternal),z(1),C("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},$vb=function(a){a&1&&F(0,"b-edit-templates",149);a&2&&(a=L(4),C("componentId",a.componentId)("supportCustomFields",!0))},awb=function(a){a&1&&(D(0,"div"),P(1),E());a&2&&(a=L().$implicit,z(1),Bg(a.description))},bwb=function(a,b){a&1&&(D(0,"div",151)(1,"label"),P(2),E(),O(3,awb,2,1,"div",7),D(4,"div")(5,"a",70),P(6),E()()());a&2&&(a=
b.$implicit,z(2),Bg(a.name),z(1),C("ngIf",a.description),z(2),C("href",a.url,ue),dg("aria-label","Click to open the template "+a.name),z(1),Bg(a.url))},cwb=function(a){a&1&&(H(0),O(1,bwb,7,5,"div",150),I());a&2&&(a=L(4),z(1),C("ngForOf",a.templates))},dwb=function(a){a&1&&(D(0,"div",39),O(1,$vb,1,2,"b-edit-templates",148),O(2,cwb,2,1,"ng-container",7),E());a&2&&(a=L(3),z(1),C("ngIf",a.isEditorInternal),z(1),C("ngIf",!a.isEditorInternal))},ewb=function(a){a&1&&F(0,"role-based-permissions")},fwb=function(a){if(a&
1){var b=t();D(0,"input",206);K("ngModelChange",function(c){v(b);var d=L(6);return w(d.component.accessLimit.accessLevel=c)});E()}a&2&&(a=L(6),C("disabled",!a.isAdmin())("ngModel",a.component.accessLimit.accessLevel))},gwb=function(a){if(a&1){var b=t();D(0,"input",207);K("ngModelChange",function(c){v(b);var d=L(6);return w(d.component.accessLimit.accessLevel=c)});E()}a&2&&(a=L(6),C("disabled",!a.isAdmin()||!a.isParentPartner())("ngModel",a.component.accessLimit.accessLevel))},hwb=function(a){if(a&
1){var b=t();D(0,"input",208);K("ngModelChange",function(c){v(b);var d=L(6);return w(d.component.accessLimit.accessLevel=c)});E()}a&2&&(a=L(6),C("disabled",!a.isAdmin()||!a.isParentPublic())("ngModel",a.component.accessLimit.accessLevel))},iwb=function(a){a&1&&(D(0,"div",192)(1,"div",193)(2,"span",194),P(3,"Component visibility: "),E()(),D(4,"div",195)(5,"div",196),O(6,fwb,1,2,"input",197),D(7,"label",198),P(8),E()(),D(9,"div",196),O(10,gwb,1,2,"input",199),D(11,"label",200),P(12),E()(),D(13,"div",
201),O(14,hwb,1,2,"input",202),D(15,"label",203),P(16),E()()(),D(17,"p",204)(18,"a",205),P(19," Learn more "),E()()());a&2&&(a=L(5),z(6),C("ngIf",a.component&&a.component.accessLimit),z(2),Q(" ",a.getAccessLevelDescription(a.AccessLevelStrings.INTERNAL)," "),z(2),C("ngIf",a.component&&a.component.accessLimit),z(2),Q(" ",a.getAccessLevelDescription(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),z(2),C("ngIf",a.component&&a.component.accessLimit),z(2),Q(" ",a.getAccessLevelDescription(a.AccessLevelStrings.EXTERNAL_PUBLIC),
" "),z(2),C("href",Nub(a.documentationLinks),ue))},jwb=function(a){a&1&&(D(0,"a",209),P(1," Learn more "),E());a&2&&(a=L(5),C("href",a.documentationLinks.getRestrictedAccessHelpLink(),ue))},kwb=function(a){a&1&&(D(0,"span",50)(1,"div",51),P(2,' Only individuals or group aliases may be granted issue edit permission for components designated as "Visible to Public". '),D(3,"div",52),F(4,"div",53)(5,"div",54),E()()())},lwb=function(a){a&1&&(D(0,"a",210),P(1," Learn more "),E());a&2&&(a=L(5),C("href",
a.documentationLinks.getRestrictedAccessHelpLink(),ue))},mwb=function(a){a&1&&(D(0,"a",211),P(1," Learn more "),E());a&2&&(a=L(5),C("href",a.documentationLinks.getRestrictedAccessHelpLink(),ue))},nwb=function(a){if(a&1){var b=t();D(0,"b-button",212);K("onAction",function(){v(b);var c=L(5);return w(c.revertAccessPolicyChanges())});P(1," Revert Changes ");E()}},uwb=function(a){if(a&1){var b=t();D(0,"div")(1,"div",39);O(2,iwb,20,7,"div",152);D(3,"div",144);P(4," Access to issues is granted per component using the settings below. All settings provide access to view the component. ");
D(5,"a",153);P(6,"Learn more");E()();D(7,"form",154)(8,"div",155)(9,"label",156)(10,"span",45);P(11,"Component Admins");E();D(12,"p",157);P(13," View component, edit component details and access controls, create issues (does not imply permission to view issues). ");E()();D(14,"b-multi-user-input",158);K("usersChange",function(c){v(b);var d=L(4);d.componentAccessPolicyUnderEdit=Object.assign({},d.componentAccessPolicyUnderEdit,{admins:c});return w()})("isValid",function(c){v(b);var d=L(4);return w(d.aclFormValidity["component-admins"]=
c)});E()();D(15,"div",159)(16,"label",160)(17,"span",45);P(18,"Create issues");E();D(19,"p",157);P(20," View component, create issues (does not imply permission to view issues). ");E()();D(21,"b-multi-user-input",161);K("usersChange",function(c){v(b);var d=L(4);d.componentAccessPolicyUnderEdit=Object.assign({},d.componentAccessPolicyUnderEdit,{appenders:c});return w()})("isValid",function(c){v(b);var d=L(4);return w(d.aclFormValidity["component-appenders"]=c)});E()();D(22,"div",162)(23,"label",163)(24,
"span",45);P(25,"Issue Admins");E();D(26,"p",157);P(27," View component, view issues, add comments and attachments, edit all issue data,");F(28,"br");P(29," mark issues as spam, delete and undelete issues, change restriction level of content. ");O(30,jwb,2,1,"a",164);E()();D(31,"b-multi-user-input",165);K("usersChange",function(c){v(b);var d=L(4);return w(qu(d,{admins:c}))})("isValid",function(c){v(b);var d=L(4);return w(d.aclFormValidity["issue-admins"]=c)});E()();D(32,"div",166)(33,"label",167)(34,
"div")(35,"span",45);P(36,"Edit issues");E();O(37,kwb,6,0,"span",168);E();D(38,"p",157);P(39," View component, view issues, add comments and attachments, edit all issue data. ");E()();D(40,"b-multi-user-input",169);K("usersChange",function(c){v(b);var d=L(4);return w(qu(d,{editors:c}))})("isValid",function(c){v(b);var d=L(4);return w(d.aclFormValidity["issue-editors"]=c)});E()();D(41,"div",170)(42,"label",171)(43,"span",45);P(44,"Comment on issues");E();D(45,"p",157);P(46," View component, view issues, add comments and attachments. ");
E()();D(47,"b-multi-user-input",172);K("usersChange",function(c){v(b);var d=L(4);return w(qu(d,{appenders:c}))})("isValid",function(c){v(b);var d=L(4);return w(d.aclFormValidity["issue-appenders"]=c)});E()();D(48,"div",173)(49,"label",174)(50,"span",45);P(51,"View restricted+ content");E();D(52,"p",157);P(53," View component, view issues, view restricted content, view restricted+ content. This ACL does not accept groups. ");O(54,lwb,2,1,"a",175);E()();D(55,"b-multi-user-input",176);K("usersChange",
function(c){v(b);var d=L(4);return w(qu(d,{restrictedPlusReaders:c}))})("isValid",function(c){v(b);var d=L(4);return w(d.aclFormValidity["issue-restricted-plus-readers"]=c)});E()();D(56,"div",177)(57,"label",178)(58,"span",45);P(59,"View restricted content");E();D(60,"p",157);P(61," View component, view issues, view restricted content. This ACL accepts groups. ");O(62,mwb,2,1,"a",179);E()();D(63,"b-multi-user-input",180);K("usersChange",function(c){v(b);var d=L(4);return w(qu(d,{restrictedReaders:c}))})("isValid",
function(c){v(b);var d=L(4);return w(d.aclFormValidity["issue-restricted-readers"]=c)});E()();D(64,"div",181)(65,"label",182)(66,"span",45);P(67,"View issues");E();D(68,"p",157);P(69," View component, view issues. ");E()();D(70,"b-multi-user-input",183);K("usersChange",function(c){v(b);var d=L(4);return w(qu(d,{readers:c}))})("isValid",function(c){v(b);var d=L(4);return w(d.aclFormValidity["issue-readers"]=c)});E()();D(71,"div",184)(72,"label",185)(73,"span",45);P(74,"View Component (Auto-populated)");
E();D(75,"p",157);P(76," View component (view all settings for this component, view custom fields for this and all parent components). ");F(77,"br");P(78," This field is auto-populated with all users and groups listed in the above settings. ");E()();D(79,"b-multi-user-input",186);K("usersChange",function(c){v(b);var d=L(4);return w(d.componentReaders=c)})("isValid",function(c){v(b);var d=L(4);return w(d.aclFormValidity["component-readers"]=c)});E()();D(80,"div",187)(81,"span",58)(82,"mat-checkbox",
188);K("change",function(c){v(b);var d=L(4);return w(d.implicitAccess.setValue(c.checked))});E()();D(83,"div")(84,"strong",189);P(85,"Expanded access");E();D(86,"div",61);P(87," When checked, verifiers and assignees can edit issues for this component, and CC'd users can add comments. ");D(88,"a",190);P(89,"Learn more");E()()()()();D(90,"div",71)(91,"b-button",133);K("onAction",function(){v(b);var c=L(4);return w(c.saveAccessPolicy())});P(92," Update ");E();O(93,nwb,2,0,"b-button",191);E()()()}a&2&&
(a=L(4),z(2),C("ngIf",a.shouldShowAccessLimitChangeUi()),z(3),yg("href","",Kp(a.documentationLinks),"#components",ue),z(3),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(6),C("users",a.componentAccessPolicyUnderEdit.admins)("accessLevel",a.getComponentAccessLevel())("containerChips",Gg(72,ru,Gg(70,owb,a.componentAccessPolicyUnderEdit.inheritedAdmins))),dg("disabled",a.isAccessEditDisabled()?!0:null),z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(6),C("users",a.componentAccessPolicyUnderEdit.appenders)("accessLevel",
a.getComponentAccessLevel())("containerChips",Gg(76,ru,Gg(74,pwb,a.componentAdmins)))("includeAliases",!0),dg("disabled",a.isAccessEditDisabled()?!0:null),z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(8),C("ngIf",!a.sessionIsExternal),z(1),C("users",a.issueDefaultAccessPolicyUnderEdit.admins)("accessLevel",a.getComponentAccessLevel()),dg("disabled",a.isAccessEditDisabled()?!0:null),z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(2),pg("field-label-with-help",a.isPublic()),
z(3),C("ngIf",a.isPublic()),z(3),C("users",a.issueDefaultAccessPolicyUnderEdit.editors)("accessLevel",a.getComponentAccessLevel())("containerChips",Gg(80,ru,Gg(78,qwb,a.issueDefaultAccessPolicyUnderEdit.admins)))("includeAliases",!a.isPublic()),dg("disabled",a.isAccessEditDisabled()?!0:null),z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(6),C("users",a.issueDefaultAccessPolicyUnderEdit.appenders)("accessLevel",a.getComponentAccessLevel())("containerChips",Gg(84,ru,Gg(82,rwb,a.issueCommenters)))("includeAliases",
!0),dg("disabled",a.isAccessEditDisabled()?!0:null),z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(6),C("ngIf",!a.sessionIsExternal),z(1),C("users",a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders)("accessLevel",a.getComponentAccessLevel())("customValidators",a.restrictedPlusReadersValidators),dg("disabled",a.isAccessEditDisabled()?!0:null),z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(6),C("ngIf",!a.sessionIsExternal),z(1),C("users",a.issueDefaultAccessPolicyUnderEdit.restrictedReaders)("accessLevel",
a.getComponentAccessLevel())("containerChips",Gg(88,ru,Gg(86,swb,a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders))),dg("disabled",a.isAccessEditDisabled()?!0:null),z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(6),C("users",a.issueDefaultAccessPolicyUnderEdit.readers)("accessLevel",a.getComponentAccessLevel())("containerChips",a.issueViewersChip)("includeAliases",!0)("includeViewAliases",!0),dg("disabled",a.isAccessEditDisabled()?!0:null),z(9),C("users",a.componentReaders)("accessLevel",
a.getComponentAccessLevel()),dg("disabled",!0),z(1),pg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(2),C("checked",a.implicitAccess.getValue())("disabled",a.isAccessEditDisabled()),z(6),C("href",Kp(a.documentationLinks),ue),z(3),C("disabled",!(twb(a)||a.hasUnsavedAccessLimitChanges())||a.isSaving()||a.aclFormIsInvalid()),z(2),C("ngIf",a.isAdmin()))},vwb=function(a){a&1&&(O(0,ewb,1,0,"role-based-permissions",7),O(1,uwb,94,90,"div",7));a&2&&(a=L(3),C("ngIf",a.enableRoleBasedPermissions),
z(1),C("ngIf",!a.enableRoleBasedPermissions))},wwb=function(a){if(a&1){var b=t();D(0,"div")(1,"div",18)(2,"h2");P(3);E();O(4,cvb,2,0,"span",19);D(5,"a",20);K("click",function(){v(b);var l=L(2);return w(l.trackClick("recentIssues"))});P(6," (Recent Issues)");E();F(7,"b-access-level-indicator",21)(8,"b-tracker-chip-smart",22);E();D(9,"div",23);F(10,"b-component-breadcrumb",24)(11,"div",25);E();D(12,"mat-tab-group",26);K("selectedIndexChange",function(l){v(b);var q=L(2);return w(q.tabChange(l))});D(13,
"mat-tab",27);O(14,dvb,1,0,"ng-container",28);E();D(15,"mat-tab",29);O(16,evb,1,0,"ng-container",28);E();D(17,"mat-tab",30);O(18,fvb,1,0,"ng-container",28);E();D(19,"mat-tab",31);O(20,gvb,1,0,"ng-container",28);E();D(21,"mat-tab",32);O(22,hvb,1,0,"ng-container",28);E()();O(23,Qvb,64,29,"ng-template",null,33,$g);O(25,Vvb,4,7,"ng-template",null,34,$g);O(27,Zvb,5,5,"ng-template",null,35,$g);O(29,dwb,3,2,"ng-template",null,36,$g);O(31,vwb,2,2,"ng-template",null,37,$g);E()}if(a&2){var c=N(24),d=N(26),
e=N(28),f=N(30),h=N(32);a=L(2);z(3);Cg(" Component ",a.component.componentId,": ",a.currentName," ");z(1);C("ngIf",a.isArchived());z(1);C("routerLinkObj",a.getRecentIssuesLink());z(2);C("accessLevel",a.getComponentAccessLevel());z(1);C("trackerId",a.component.trackerId);z(2);C("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");z(2);C("selectedIndex",a.selectedTabIndex);z(1);C("id",a.Tab.BASIC);z(1);C("ngTemplateOutlet",c);z(1);C("id",a.Tab.CUSTOM_FIELDS)("label",
a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");z(1);C("ngTemplateOutlet",d);z(1);C("id",a.Tab.FIELD_ORDERING);z(1);C("ngTemplateOutlet",e);z(1);C("id",a.Tab.TEMPLATES);z(1);C("ngTemplateOutlet",f);z(1);C("id",a.Tab.ACCESS);z(1);C("ngTemplateOutlet",h)}},xwb=function(a){a&1&&(D(0,"span")(1,"p"),P(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),F(3,"br"),D(4,"a",218),P(5," Learn more "),E()(),D(6,"p"),P(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),
F(8,"br"),P(9," so they can be scheduled for deletion. "),D(10,"a",219),P(11," Learn more "),E()()());a&2&&(L(3),z(4),C("href","http://go/archived-components",ue),z(6),C("href",nu(),ue))},ywb=function(a){a&1&&(D(0,"span"),P(1," : "),D(2,"b"),P(3),E()());if(a&2){a=L().$implicit;var b=L(3),c;pg("b-archive-warning-indef",!(null==(c=a.getRetentionSettings())?0:gj(c,2)));z(3);Bg(b.getRetentionPeriod(a))}},zwb=function(a,b){a&1&&(D(0,"span")(1,"span"),P(2),E(),O(3,ywb,4,3,"span",220),F(4,"br"),E());a&2&&
(a=b.$implicit,b=L(3),z(2),Bg(lk(a,1)),z(1),C("ngIf","Archive"===b.archiveAction))},Awb=function(a){if(a&1){var b=t();D(0,"h2",213);P(1);E();D(2,"mat-dialog-content");O(3,xwb,12,2,"span",7);D(4,"p");P(5," The following components will be affected: ");E();D(6,"div",214);O(7,zwb,5,2,"span",215);E()();D(8,"mat-dialog-actions")(9,"button",216);K("click",function(){v(b);var c=L(2);c.archive();c.isArchiving=!1;return w()});P(10," Yes ");E();D(11,"button",217);K("click",function(){v(b);L(2).isArchiving=
!1;return w()});P(12," No ");E()()}a&2&&(a=L(2),z(1),Bg(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'" and its subcomponents?':""),z(2),C("ngIf","Archive"===a.archiveAction),z(4),C("ngForOf",a.descendants))},Bwb=function(a){if(a&1){var b=t();H(0);D(1,"div",2)(2,"div",3)(3,"div",4)(4,"b-button",5);K("onAction",function(){v(b);var c=L();return w(c.back())});F(5,"b-icon",6);E();O(6,avb,5,3,"ng-container",7);E()()();D(7,"div",8);O(8,bvb,
2,0,"div",9);O(9,wwb,33,21,"div",7);E();O(10,Awb,13,3,"ng-template",null,10,$g);I()}a&2&&(a=L(),z(6),C("ngIf",a.component),z(2),C("ngIf",a.isLoading),z(1),C("ngIf",!a.isLoading&&a.component&&a.component.componentId))},Cwb=function(a){a&1&&(D(0,"div",221),F(1,"b-tracker-redirect",222),E());a&2&&(a=L(),z(1),C("component",a.component))},Dwb=function(a){var b=null;if(a instanceof su)var c=a.getSourceTeamId();else c=a.sourceTeamId,b=a.sourceComponentId;return{sourceTeamId:c,sourceComponentId:b}},Ewb=function(a,
b){var c=a.componentPathInfo;a=c.componentPathId;c=c.componentPathName;var d=a.findIndex(function(e){return""+e===b});return{componentPathId:a.slice(d),componentPathName:null==c?void 0:c.slice(d)}},Fwb=function(a,b,c,d){(null==c?0:c.inherit)||"0"!==(null==c?void 0:c.id)||!d||(a=d);if(!a)return null;c=a.getPathNamesList();a=a.getPathIdsList();d=[];for(var e=a.findIndex(function(f){return""+f===b});e<a.length;e++)d.push({id:a[e],name:c[e]});return d},Gwb=function(a,b){a&1&&(D(0,"div",39),F(1,"b-team-breadcrumb",
40),E());a&2&&(a=b.ngIf,z(1),C("teamPath",a))},Hwb=function(a,b){a&1&&(H(0),P(1),I());a&2&&(a=b.ngIf,z(1),Bg(a.trim()))},Iwb=function(a){a&1&&P(0," No description ")},Jwb=function(a,b){a&1&&(H(0),F(1,"b-multi-user-input",41),I());a&2&&(a=b.ngIf,z(1),C("users",a),dg("disabled",!0))},Kwb=function(a){a&1&&(H(0),D(1,"p"),P(2,"No child teams"),E(),I())},Lwb=function(a,b){a&1&&(H(0),F(1,"br"),D(2,"a",44),P(3),E(),I());a&2&&(a=b.$implicit,z(2),yg("routerLink","/teams/",a.getId(),"/edit"),z(1),Bg(a.getName()))},
Mwb=function(a){a&1&&O(0,Lwb,4,2,"ng-container",43);a&2&&(a=L().ngIf,C("ngForOf",a))},Nwb=function(a,b){a&1&&(H(0),O(1,Kwb,3,0,"ng-container",18),O(2,Mwb,1,1,"ng-template",null,42,$g),I());if(a&2){a=b.ngIf;var c=N(3);z(1);C("ngIf",0===a.length)("ngIfElse",c)}},Owb=function(a){a&1&&(D(0,"a",48),P(1),E());if(a&2){a=L().ngIf;var b;C("routerLinkObj",a.link);z(1);Q(" ",null!==(b=null==a.slo?null:a.slo.getName())&&void 0!==b?b:a.id," ")}},Pwb=function(a){a&1&&P(0," None ")},Qwb=function(a,b){a&1&&(D(0,
"div",45),P(1," Inherited SLO Policy: "),O(2,Owb,2,2,"a",46),O(3,Pwb,1,0,"ng-template",null,47,$g),E());if(a&2){a=b.ngIf;var c=N(4);z(2);C("ngIf",a.link)("ngIfElse",c)}},Rwb=function(a,b){a&1&&(D(0,"a",49),P(1),E());a&2&&(a=b.ngIf,C("routerLinkObj",a.link),z(1),Q(" ",a.name," "))},Swb=function(a){a&1&&P(0," None ")},Twb=function(a){a&1&&(H(0),F(1,"mat-icon",51),P(2," on "),I())},Uwb=function(a){a&1&&(F(0,"mat-icon",52),P(1," off "))},Vwb=function(a){a&1&&(H(0),P(1," Lock: "),O(2,Twb,3,0,"ng-container",
18),O(3,Uwb,2,0,"ng-template",null,50,$g),I());if(a&2){var b=N(4);a=L(2);z(2);C("ngIf",a.originalSloLock)("ngIfElse",b)}},Wwb=function(a){if(a&1){var b=t();D(0,"div",54)(1,"mat-checkbox",55);K("change",function(c){v(b);var d=L(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.getSlo().getSloId());return w()});D(2,"span");P(3,"Override the inherited SLO");E()()()}a&2&&(a=L(3),z(1),C("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},Xwb=function(a){if(a&
1){var b=t();D(0,"div",60)(1,"label",61);P(2," Justification to override the org SLO ");E();F(3,"mat-icon",62);D(4,"textarea",63);K("ngModelChange",function(c){v(b);var d=L(4);return w(d.sloJustification$.next(c))});R(5,"async");E()()}a&2&&(a=L(4),z(3),C("matTooltip",a.justificationRequiredText),dg("aria-label",a.justificationRequiredText),z(1),C("ngModel",S(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},Ywb=function(a,b){a&1&&(D(0,"a",64),R(1,"async"),F(2,"mat-icon",9),E());a&2&&(a=b.ngIf,
b=L(4),zg("target",S(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),C("routerLinkObj",a))},Zwb=function(a){if(a&1){var b=t();H(0);O(1,Xwb,6,6,"div",56);D(2,"div",14)(3,"mat-slide-toggle",57);K("ngModelChange",function(d){v(b);var e=L(3);return w(e.enableSloChecked=d)})("change",function(d){v(b);var e=L(3);return w(e.enableSloChecked=d.checked)});P(4," Enable SLO ");E();D(5,"slo-picker",58);K("onSloSelect",function(d){v(b);var e=L(3);return w(e.onSloChange(d))});E();O(6,Ywb,3,4,"a",59);R(7,"async");E();
I()}if(a&2){a=L().ngIf;var c=L(2);z(1);C("ngIf",!a.value);z(2);pg("indented",!a.value);C("ngModel",c.enableSloChecked)("disabled",!c.hasEditAccess);z(2);C("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");z(1);C("ngIf",S(7,9,c.sloPickerLink$))}},$wb=function(a,b){a&1&&(H(0),O(1,Wwb,4,2,"div",53),O(2,Zwb,8,11,"ng-container",6),I());a&2&&(a=b.ngIf,b=L(2),z(1),C("ngIf",!a.value),
z(1),C("ngIf",!b.isSloInheritEnabled))},axb=function(a){if(a&1){var b=t();D(0,"div",14)(1,"mat-checkbox",65);K("change",function(c){v(b);var d=L(2);return w(d.sloLocked=c.checked)});D(2,"span");P(3,"Lock for all child teams");E()()()}a&2&&(a=L(2),z(1),C("checked",a.sloLocked)("disabled",!a.canEditSloLock))},dxb=function(a){if(a&1){var b=t();D(0,"div",14)(1,"div",20)(2,"label",21)(3,"span",16);P(4," SLO lead ");E()();D(5,"span",22)(6,"div",23);P(7," Single team lead receiving SLO reports of unassigned issues. ");
D(8,"div",24);F(9,"div",25)(10,"div",26);E()()()();D(11,"div");H(12);D(13,"b-multi-user-input",66);K("usersChange",function(c){v(b);var d=L(2);1<c.length||(d.sloLead=1===c.length?c[0]:"");return w()})("isValid",function(c){v(b);var d=L(2);return w(d.isSloLeadValid=c)});E();I();E()()}a&2&&(a=L(2),z(13),C("users",a.sloLead?Gg(5,bxb,a.sloLead):Fg(7,cxb))("customValidators",a.sloLeadUserValidators)("detailedUserValidators",a.sloLeadGooglerValidators)("maxUserAllowed",1),dg("disabled",a.hasEditAccess?
null:!0))},gxb=function(a){if(a&1){var b=t();D(0,"div",67)(1,"div",68)(2,"button",69);K("click",function(){v(b);var c=L().ngIf,d=L();return w(exb(d,c))});R(3,"async");P(4," Update ");E();D(5,"button",70);K("click",function(){v(b);var c=L(2);return w(fxb(c))});R(6,"async");P(7," Revert changes ");E()()()}a&2&&(a=L(2),z(2),C("disabled",!S(3,2,a.hasUnsavedChanges$)),z(3),C("disabled",!S(6,4,a.hasUnsavedChanges$)))},hxb=function(a){a&1&&(H(0),D(1,"p"),P(2,"No mapped components"),E(),I())},ixb=function(a,
b){a&1&&(D(0,"ul")(1,"li")(2,"a",44),P(3),E()()());a&2&&(a=b.$implicit,z(2),yg("routerLink","/components/",a.componentId,"/manage"),z(1),Q(" ",a.name," "))},jxb=function(a){a&1&&(O(0,ixb,4,2,"ul",43),R(1,"async"));a&2&&(a=L(3),C("ngForOf",S(1,1,a.associatedComponents$)))},kxb=function(a,b){a&1&&(H(0),O(1,hxb,3,0,"ng-container",18),O(2,jxb,2,3,"ng-template",null,71,$g),I());if(a&2){a=b.ngIf;var c=N(3);z(1);C("ngIf",0===a.length)("ngIfElse",c)}},mxb=function(a,b){if(a&1){var c=t();H(0);D(1,"div",7)(2,
"h2");P(3);D(4,"a",8);P(5);F(6,"mat-icon",9);E()()();O(7,Gwb,2,1,"div",10);R(8,"async");D(9,"mat-tab-group",11);K("selectedIndexChange",function(f){v(c);var h=L();return w(h.selectedTabIndex=f)})("selectedIndexChange",function(f){v(c);var h=L();return w(h.tabChange(f))});D(10,"mat-tab",12)(11,"div",13);P(12," Team information on this page comes from ");D(13,"a",8);P(14," Team Graph ");F(15,"mat-icon",9);E();P(16," and is view only. ");D(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);P(21,"Description");
E()();D(22,"div",17);O(23,Hwb,2,1,"ng-container",18);O(24,Iwb,1,0,"ng-template",null,19,$g);E()()();D(26,"div",14)(27,"div",20)(28,"label",21)(29,"span",16);P(30," Team admins ");E();D(31,"span",22)(32,"div",23);P(33," Team admins are team leads from Team Graph. ");D(34,"div",24);F(35,"div",25)(36,"div",26);E()()()();O(37,Jwb,2,2,"ng-container",6);R(38,"async");E()();D(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);P(43,"Child team(s)");E()();O(44,Nwb,4,2,"ng-container",6);R(45,"async");E()()()();
D(46,"mat-tab",27)(47,"div",13)(48,"div",20)(49,"label",21)(50,"span",16);P(51,"SLO configuration");E()();D(52,"span",22)(53,"div",28)(54,"strong");P(55,"Careful!");E();P(56," Changing the SLO (service level objective) of a component has the potential to impact the compliance status of every issue under this team's components. ");D(57,"div",24);F(58,"div",25)(59,"div",26);E()()()();D(60,"div",29);O(61,Qwb,5,2,"div",30);R(62,"async");D(63,"div",31);P(64," Policy Source: ");O(65,Rwb,2,2,"a",32);R(66,
"async");O(67,Swb,1,0,"ng-template",null,33,$g);E();D(69,"div",34);O(70,Vwb,5,2,"ng-container",6);E()();F(71,"b-error-banner",35);O(72,$wb,3,2,"ng-container",6);R(73,"async");O(74,axb,4,2,"div",36);O(75,dxb,14,8,"div",36);O(76,gxb,8,6,"div",37);E()();D(77,"mat-tab",38)(78,"div",13)(79,"div",14)(80,"div",15)(81,"label")(82,"span",16);P(83," Component(s) that have mapped to this team ");E()()();O(84,kxb,4,2,"ng-container",6);R(85,"async");E()()()();I()}if(a&2){a=b.ngIf;var d=N(25),e=N(68);b=L();z(3);
Q(" Team ",a.getTeamId(),": ");z(1);yg("href","https://moma.corp.google.com/team/",a.getTeamId(),"",ue);z(1);Q(" ",a.getName()," ");z(2);C("ngIf",S(8,23,b.teamPath$));z(2);C("selectedIndex",b.selectedTabIndex);z(1);C("id",b.Tab.BASIC);z(3);yg("href","https://moma.corp.google.com/team/",a.getTeamId(),"",ue);z(10);C("ngIf",a.getDescription())("ngIfElse",d);z(14);C("ngIf",S(38,25,b.adminsAndLeads$));z(7);C("ngIf",S(45,27,b.childTeams$));z(2);C("id",b.Tab.SLO);z(15);C("ngIf",S(62,29,b.inheritedSlo$));
z(4);C("ngIf",S(66,31,b.sloPolicySource$))("ngIfElse",e);z(5);C("ngIf",b.enableSloLockingUi);z(1);C("error",b.error);z(1);C("ngIf",Gg(37,lxb,S(73,33,b.isRootTeam$)));z(2);C("ngIf",b.enableSloLockingUi);z(1);C("ngIf",b.enableSloLead);z(1);C("ngIf",b.hasEditAccess);z(1);C("id",b.Tab.MAPPINGS);z(7);C("ngIf",S(85,35,b.associatedComponents$))}},nxb=function(a,b){switch(a.signalType){case "NEAR_SLO":return b?"SLO violation occurs on "+b:"This issue is near or past an SLO deadline";case "MENTIONED":return b?
"You were mentioned on "+b:"You were mentioned on this issue recently";case "UNBLOCKED":return b?"The last blocking issue was closed on "+b:"The last blocking issue was closed recently";case "NEEDS_REPORTER_INPUT":return b?"Issue was assigned back to reporter (you) on "+b:"Issue was assigned back to reporter (you) recently";case "REPLIED_TO_MENTION":return b?"Someone replied to your mention on "+b:"Someone replied to your mention recently";case "BLOCKED":return b?"This issue started blocking another issue on "+
b:"This issue started blocking another issue recently";case "ASSIGNED":return b?"This issue was newly assigned to you on "+b:"This issue was newly assigned to you recently";default:return"This issue requires your attention"}},oxb=function(a){switch(a.signalType){case "NEAR_SLO":return"Issues which have less than 20% of SLO time remaining";case "MENTIONED":return"Someone mentioned you in a comment";case "NEEDS_REPORTER_INPUT":return"Issue is assigned back to reporter (you) for more context";case "UNBLOCKED":return"All blocking issues are closed";
case "BLOCKED":return"Issues that are blocking other issues";case "REPLIED_TO_MENTION":return"Someone you mentioned replied to your comment";case "ASSIGNED":return"Issue newly assigned to you";default:return""}},pxb=function(a,b){a&1&&(D(0,"div",14),F(1,"mat-checkbox",15),D(2,"div")(3,"label",16),P(4),E(),D(5,"label",17),P(6),E()()());if(a&2){a=b.ngIf;b=L().$implicit;var c=L().ngIf;z(1);C("id","select-signal-checkbox-"+b)("aria-labelledby","checkbox-label-"+b)("value",b)("checked",c.includes(b));
z(2);yg("id","checkbox-label-",b,"")("for","select-signal-checkbox-",b,"-input");z(1);Q(" ",a.header," ");z(1);yg("for","select-signal-checkbox-",b,"-input");z(1);Q(" ",a.body," ")}},rxb=function(a,b){a&1&&(H(0),O(1,pxb,7,9,"div",13),I());a&2&&(a=b.$implicit,L(3),z(1),C("ngIf",qxb.has(a)?qxb.get(a):null))},sxb=function(a){a&1&&(D(0,"div",11),O(1,rxb,2,1,"ng-container",12),E());a&2&&(a=L(2),z(1),C("ngForOf",a.ALL_SIGNAL_TYPES))},uxb=function(a){if(a&1){var b=t();D(0,"div",4)(1,"p",5);P(2," Select alerts ");
D(3,"button",6);K("click",function(){v(b);var c=L();c=m(c.checkboxes);for(var d=c.next();!d.done;d=c.next())d=d.value,d.checked||d.toggle();return w()});P(4," Select all ");E()();O(5,sxb,2,1,"div",7);R(6,"async");F(7,"mat-divider");D(8,"div",8)(9,"button",9);K("click",function(){v(b);var c=L();return w(c.closeMenu())});P(10,"Cancel");E();D(11,"button",10);K("click",function(){v(b);var c=L();return w(txb(c))});P(12,"Apply");E()()()}a&2&&(a=L(),z(5),C("ngIf",S(6,1,a.selectedSignals$)))},vxb=function(a){a&
1&&(H(0),P(1),I());a&2&&(a=L(3),z(1),Q("(",a.count,")"))},wxb=function(a){a&1&&(H(0),P(1),O(2,vxb,2,1,"ng-container",3),I());if(a&2){a=L().ngIf;var b=L();z(1);Q(" ",a.text," ");z(1);C("ngIf",-1<b.count)}},xxb=function(a){if(a&1){var b=t();D(0,"button",5);K("click",function(){v(b);var c=L(2);return w(c.onClickRemove())});D(1,"span",6);P(2);E();F(3,"mat-icon",7);E()}a&2&&(a=L().ngIf,z(2),Q("remove filter ",a.text,""))},yxb=function(a,b){a&1&&(D(0,"span",1),R(1,"async"),F(2,"mat-icon",2),O(3,wxb,3,2,
"ng-container",3),O(4,xxb,4,1,"button",4),E());a&2&&(a=b.ngIf,b=L(),sg("chippy rounded ",a.className," margin-xs-right"),pg("full-chip",!b.iconOnly)("selected",b.isSelected),C("matTooltip",S(1,12,b.getSignalTypeTooltip()))("matTooltipShowDelay",b.matTooltipShowDelay),z(2),C("svgIcon",a.icon),z(1),C("ngIf",!b.iconOnly),z(1),C("ngIf",b.removable))},zxb=function(a){a&1&&(D(0,"span",19),P(1,"No filters selected"),E())},Bxb=function(a,b){if(a&1){var c=t();H(0);D(1,"b-signal-chip",20);K("onRemove",function(){var d=
v(c).$implicit,e=L(3);return w(e.toggleSignal(d))});E();I()}a&2&&(a=b.$implicit,z(1),C("removable",!0)("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",!0)("matTooltipShowDelay",750)("signal",Gg(6,Axb,a)))},Exb=function(a){if(a&1){var b=t();H(0);D(1,"select-signals-menu",16);K("selected",function(d){v(b);var e=L(2);return w(Cxb(e,d))});E();O(2,zxb,2,0,"span",17);R(3,"async");O(4,Bxb,2,8,"ng-container",18);R(5,"async");I()}if(a&2){a=L(2);var c;z(1);C("selectedSignals$",a.selectedSignals$);
z(1);C("ngIf",0===(null!==(c=S(3,3,a.selectedSignals$))&&void 0!==c?c:Fg(7,Dxb)).length);z(2);C("ngForOf",S(5,5,a.selectedSignals$))}},Gxb=function(a,b){if(a&1){var c=t();H(0);D(1,"b-signal-chip",22);K("onRemove",function(){var e=v(c).$implicit,f=L(4);return w(f.toggleSignal(e))});E();I()}if(a&2){a=b.$implicit;b=L().ngIf;var d=L(3);z(1);C("removable",!0)("count",Fxb(d,a))("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",b.includes(a))("matTooltipShowDelay",750)("signal",Gg(7,Axb,a))}},Hxb=
function(a,b){if(a&1){var c=t();H(0);D(1,"span",21);K("click",function(){v(c);var d=L(3);return w(d.selectAllSignals())})("keydown.enter",function(){v(c);var d=L(3);return w(d.selectAllSignals())})("keyup.space",function(){v(c);var d=L(3);return w(d.selectAllSignals())});P(2," All ");E();O(3,Gxb,2,9,"ng-container",18);I()}a&2&&(a=b.ngIf,b=L(3),z(1),pg("selected",a.length===b.ALL_SIGNAL_TYPES.length),z(2),C("ngForOf",b.ALL_SIGNAL_TYPES))},Ixb=function(a){a&1&&(H(0),O(1,Hxb,4,3,"ng-container",3),R(2,
"async"),I());if(a&2){a=L(2);var b;z(1);C("ngIf",null!==(b=S(2,1,a.selectedSignals$))&&void 0!==b?b:Fg(3,Dxb))}},Jxb=function(a){if(a&1){var b=t();D(0,"div",8)(1,"div",9)(2,"button",10);K("click",function(){v(b);var c=L();return w(c.fetchIssues())})("onHotkey",function(){v(b);var c=L();return w(c.fetchIssues())});F(3,"mat-icon",11);E();D(4,"p",12);P(5," Applied alerts ");E();D(6,"a",13);F(7,"mat-icon",14);E()();D(8,"section",15);O(9,Exb,6,8,"ng-container",3);O(10,Ixb,3,4,"ng-container",3);E()()}a&
2&&(a=L(),z(2),C("hotkey",a.HOTKEYS.REFRESH_ISSUE_LIST),z(7),C("ngIf",a.areEarlyAccessSignalsEnabled()),z(1),C("ngIf",!a.areEarlyAccessSignalsEnabled()))},Lxb=function(a){if(a&1){var b=t();D(0,"div")(1,"button",23);K("click",function(){v(b);var c=L();return w(Kxb(c))});P(2," Dismiss selected ");E()()}a&2&&(a=L(),z(1),C("disabled",a.dismissSelectedInProgress))},Mxb=function(a){a&1&&(D(0,"div",24),F(1,"b-spinner"),D(2,"span"),P(3," Searching for issues needing attention..."),E()())},Nxb=function(a){a&
1&&(D(0,"p",30),P(1," No alerts are selected. Select alerts via the filter icon above. "),E())},Oxb=function(a){a&1&&(D(0,"p",30),P(1,"No issues matching the current filters."),E())},Pxb=function(a){a&1&&(D(0,"div",25),F(1,"img",26),D(2,"p",27),P(3,"So empty"),E(),O(4,Nxb,2,0,"p",28),R(5,"async"),O(6,Oxb,2,0,"ng-template",null,29,$g),E());if(a&2){var b=N(7);a=L();var c;z(1);C("src",a.SPACE_EMPTY_STATE,ue);z(3);C("ngIf",0===(null!==(c=S(5,3,a.selectedSignals$))&&void 0!==c?c:Fg(5,Dxb)).length)("ngIfElse",
b)}},Qxb=function(a,b){a&1&&(D(0,"th",46)(1,"span",0),P(2),E()());a&2&&(a=b.column,dg("data-stable-column-name",a.name),z(2),Q("column-",a.name,""))},Sxb=function(a,b){if(a&1){var c=t();D(0,"th",47);H(1);D(2,"mat-pseudo-checkbox",48);K("click",function(d){v(c);var e=L(2);d.stopPropagation();return w(e.toggleAllIssueSelection())})("keydown.enter",function(d){v(c);var e=L(2);d.stopPropagation();return w(e.toggleAllIssueSelection())})("keydown.space",function(d){v(c);var e=L(2);d.stopPropagation();return w(e.toggleAllIssueSelection())});
E();I();E()}a&2&&(a=b.column,b=L(2),dg("data-stable-column-name",a.name),z(2),C("state",b.getHeaderCheckboxState()),dg("aria-checked",Rxb(b)))},Txb=function(a,b){a&1&&(D(0,"th"),H(1),F(2,"pop-grid-default-th",49),I(),E());a&2&&(a=b.column,dg("data-stable-column-name",a.name),z(2),C("column",a))},Uxb=function(a){a&1&&F(0,"td",46)},Vxb=function(a,b){if(a&1){var c=t();D(0,"td",47);H(1);D(2,"mat-pseudo-checkbox",50);K("click",function(d){var e=v(c),f=e.index;e=e.row;var h=L(2);d.stopPropagation();return w(h.onCheckboxClicked(d,
f,e))});E();I();E()}a&2&&(a=b.row,z(2),C("state",a.selected?"checked":"unchecked"),dg("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},Wxb=function(a,b){if(a&1){var c=t();D(0,"td",51);H(1);D(2,"b-star-toggle",52);K("starClicked",function(){var d=v(c).row,e=L(2);return w(e.toggleStar(d))});E();I();E()}a&2&&(a=b.row,b=L(2),z(2),C("starred",a.starred)("disabled",b.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue"))},Yxb=function(a,b){if(a&
1){var c=t();D(0,"td",53);H(1);D(2,"a",54);K("click",function(){var d=v(c).row,e=L(2);return w(Xxb(e,d.issueId))});P(3);E();I();E()}a&2&&(a=b.row,b=L(2),z(2),C("href",b.paths.editIssue(a.issueId),ue),dg("title",a.title),z(1),Q(" ",a.issueId," "))},Zxb=function(a,b){a&1&&(H(0),F(1,"b-signal-chip",56),I());a&2&&(a=b.$implicit,b=L(3),z(1),C("signal",a)("iconOnly",!0)("isSelected",b.selectedSignals$.value.includes(a.signalType)))},$xb=function(a,b){a&1&&(D(0,"td",55),O(1,Zxb,2,3,"ng-container",18),E());
a&2&&(a=b.row,z(1),C("ngForOf",a.signals))},ayb=function(a,b){if(a&1){var c=t();D(0,"td");H(1);D(2,"button",23);K("click",function(){var d=v(c).row,e=L(2);return w(e.dismissIssue(d))});P(3," Dismiss ");E();I();E()}a&2&&(a=b.row,b=L(2),z(2),C("disabled",b.dismissInProgress[a.issueId]))},byb=function(a){a&1&&F(0,"archived-issue-indicator")},cyb=function(a,b){a&1&&F(0,"b-hotlist-chip-smart",66);a&2&&C("id",b.$implicit)("removable",!1)},dyb=function(a){a&1&&(D(0,"div",64),O(1,cyb,1,2,"b-hotlist-chip-smart",
65),E());a&2&&(a=L().row,z(1),C("ngForOf",a.hotlistId))},eyb=function(a,b){if(a&1){var c=t();D(0,"td",57);R(1,"async");H(2);D(3,"div",58);R(4,"async");O(5,byb,1,0,"archived-issue-indicator",3);F(6,"b-access-level-indicator",59)(7,"b-retention-chip",60);D(8,"div",61)(9,"a",62);K("click",function(){var h=v(c).row,l=L(2);return w(Xxb(l,h.issueId))});P(10);E()();O(11,dyb,2,1,"div",63);R(12,"async");E();I();E()}if(a&2){a=b.row;b=L(2);var d,e,f;pg("bv2-grid-cell-variable-height",null==(d=S(1,15,b.listViewPrefs$))?
null:d.wrapTitles);z(3);pg("bv2-grid-cell-flex-wrap",null==(e=S(4,17,b.listViewPrefs$))?null:e.wrapTitles);z(2);C("ngIf",a.archived);z(1);C("accessLevel",a.accessLevel)("compactMode",!0);z(1);C("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);C("href",b.paths.editIssue(a.issueId),ue);dg("title",a.title);z(1);Q(" ",a.title," ");z(1);C("ngIf",null==(f=S(12,19,b.listViewPrefs$))?null:f.showHotlists)}},fyb=function(a,b){a&1&&(D(0,"td",
67),H(1),D(2,"div",68),P(3),E(),I(),E());a&2&&(a=b.row,b=L(2),z(2),pg("low",b.isLowPriority(a))("high",b.isHighPriority(a))("p0",b.isP0Priority(a)),z(1),Q(" P",a.priority," "))},gyb=function(a){a&1&&F(0,"mat-icon",74);if(a&2){a=L().$implicit;var b=L(4);C("svgIcon",b.STATUS_ICON[a])}},hyb=function(a){a&1&&(H(0),P(1),I());if(a&2){a=L().$implicit;var b=L(4);z(1);Bg(b.STATUS_TERSE[a])}},iyb=function(a){a&1&&(D(0,"span"),P(1),E());if(a&2){a=L().$implicit;var b=L(4);sg("chippy status-",a,"");z(1);Q(" ",
b.STATUS_TERSE[a]," ")}},jyb=function(a,b){a&1&&(H(0),D(1,"span",70),R(2,"async"),O(3,gyb,1,1,"mat-icon",71),O(4,hyb,2,1,"ng-container",72),O(5,iyb,2,4,"span",73),E(),I());if(a&2){a=b.$implicit;b=L(4);var c;z(1);C("ngSwitch",null==(c=S(2,4,b.listViewPrefs$))?null:null==c.fieldStatus?null:c.fieldStatus.mode)("title",b.STATUS_FULL_TEXT[a]===b.STATUS_TERSE[a]?"":b.STATUS_FULL_TEXT[a]);z(2);C("ngSwitchCase","icon");z(1);C("ngSwitchCase","plain")}},kyb=function(a){a&1&&(H(0),O(1,jyb,6,6,"ng-container",
3),I());if(a&2){a=L().row;var b=L(2);z(1);C("ngIf",b.convertIssueStatusStrToTag(a.status))}},lyb=function(a){a&1&&(D(0,"td",69),O(1,kyb,2,1,"ng-container",3),E());a&2&&(a=L(2),z(1),C("ngIf",a.isIssueRow()))},myb=function(a,b){a&1&&(D(0,"b-person-hovercard",77),P(1),E());a&2&&(a=b.ngIf,b=L().row,C("email",a),z(1),Q(" ",b.assignee," "))},nyb=function(a){a&1&&(D(0,"span"),P(1,"--"),E())},oyb=function(a,b){a&1&&(D(0,"td",75),H(1),O(2,myb,2,2,"b-person-hovercard",76),R(3,"omitObfuscatedEmail"),O(4,nyb,
2,0,"span",3),I(),E());a&2&&(a=b.row,z(2),C("ngIf",S(3,2,a.assignee)),z(2),C("ngIf",!a.assignee))},qyb=function(a){if(a&1){var b=t();D(0,"div",31)(1,"pop-grid",32);K("focusedRowIndexChange",function(c){v(b);var d=L();return w(d.focusedRowIndex=c)})("rowClick",function(c){v(b);var d=L();return w(d.goToIssue(c.id,c.isRead,c.event))})("sortChange",function(c){v(b);var d=L();return w(d.onSortChange(c))});O(2,Qxb,3,2,"th",33);O(3,Sxb,3,3,"th",34);O(4,Txb,3,2,"th",35);O(5,Uxb,1,0,"td",36);O(6,Vxb,3,3,"td",
37);O(7,Wxb,3,4,"td",38);O(8,Yxb,4,3,"td",39);O(9,$xb,2,1,"td",40);O(10,ayb,4,1,"td",41);O(11,eyb,13,21,"td",42);O(12,fyb,4,7,"td",43);O(13,lyb,2,1,"td",44);O(14,oyb,5,4,"td",45);E()()}a&2&&(a=L(),z(1),C("list",pyb(a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("enableDragDropHeader",!1)("rowLabelRenderer",a.issueDescription)("sort",a.sortConfig),z(1),C("forHeaderCell","focused"),z(1),C("forHeaderCell","selected"),z(2),C("forViewCell","focused"),z(1),C("forViewCell","selected"),z(1),
C("forViewCell","starred"),z(1),C("forViewCell","issueId"),z(1),C("forViewCell","alerts"),z(1),C("forViewCell","dismiss"),z(1),C("forViewCell","title"),z(1),C("forViewCell","priority"),z(1),C("forViewCell","status"),z(1),C("forViewCell","assignee"))},ryb=function(a){a&1&&tg(0)},tyb=function(a,b){a&1&&(H(0),O(1,ryb,1,0,"ng-container",7),I());if(a&2){a=b.$implicit;L(3);var c=N(5);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,syb,a))}},uyb=function(a){a&1&&(D(0,"div",4)(1,"div",5),P(2,
"TEAMFOOD"),E(),O(3,tyb,2,4,"ng-container",6),R(4,"async"),E());a&2&&(a=L(2),z(3),C("ngForOf",S(4,1,a.beapFeaturesTF$)))},vyb=function(a){a&1&&tg(0)},wyb=function(a,b){a&1&&(H(0),O(1,vyb,1,0,"ng-container",7),I());if(a&2){a=b.$implicit;L(3);var c=N(5);z(1);C("ngTemplateOutlet",c)("ngTemplateOutletContext",Gg(2,syb,a))}},xyb=function(a){a&1&&(D(0,"div",4)(1,"div",5),P(2,"EARLY ACCESS"),E(),O(3,wyb,2,4,"ng-container",6),R(4,"async"),E());a&2&&(a=L(2),z(3),C("ngForOf",S(4,1,a.beapFeaturesEA$)))},yyb=
function(a){a&1&&(H(0),O(1,uyb,5,3,"div",3),R(2,"async"),O(3,xyb,5,3,"div",3),R(4,"async"),I());a&2&&(a=L(),z(1),C("ngIf",S(2,2,a.hasFeaturesTF$)),z(2),C("ngIf",S(4,4,a.hasFeaturesEA$)))},zyb=function(a){a&1&&(D(0,"div",8),P(1,"No available experiments"),E())},Ayb=function(a){a&1&&(D(0,"a",23),P(1," Learn more"),E());a&2&&(a=L().feature,dg("href",a.getLearnMoreLink(),ue))},Byb=function(a){a&1&&(D(0,"b-callout",24)(1,"b-callout-body"),P(2," Reload page to see changes. "),E()())},Dyb=function(a,b){if(a&
1){var c=t();D(0,"div",9)(1,"div",10)(2,"div",11);F(3,"mat-slide-toggle",12);R(4,"featureState");R(5,"featureState");E();D(6,"div",13)(7,"div",14);P(8);E();D(9,"span",15);P(10);O(11,Ayb,2,1,"a",16);E();D(12,"div",17)(13,"a",18);K("click",function(){var d=v(c).feature,e=L();d=gj(d,1);e.linkClicked[d]=!0;return w()});F(14,"mat-icon",19);P(15);R(16,"featureState");E()();O(17,Byb,3,0,"b-callout",20);E();D(18,"div",21);F(19,"b-app-beap-state-indicator",22);E()()()}a&2&&(a=b.feature,b=L(),z(3),C("checked",
S(4,10,a.getState()))("matTooltip",S(5,12,a.getState())?"Opted in":"Opted out")("disabled",!0),z(5),Q(" ",a.getTitle()," "),z(2),Q("",a.getDescription()," "),z(1),C("ngIf",a.getLearnMoreLink()),z(2),dg("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+gj(a,1),ue),z(2),Q(" ",S(16,14,a.getState())?"Opt out":"Opt in"," "),z(2),C("ngIf",Cyb(b,gj(a,1))),z(2),C("experimentId",gj(a,1)))},Eyb=function(a){a&1&&(D(0,"mat-option",29),P(1),E());a&2&&(a=L().$implicit,C("value",a),z(1),Q(" ",
a.name," "))},Fyb=function(a,b){a&1&&(H(0),O(1,Eyb,2,2,"mat-option",28),I());a&2&&(a=b.$implicit,z(1),C("ngIf",a.shouldDisplay()))},Gyb=function(a,b){a&1&&(D(0,"mat-option",32),P(1),E());a&2&&(a=b.$implicit,C("value",a.id),z(1),Q(" ",a.name," "))},Iyb=function(a){if(a&1){var b=t();D(0,"mat-form-field",8)(1,"mat-select",30);K("ngModelChange",function(c){v(b);var d=L();return w(d.preferredHomepage.selectedOptionId=c)})("selectionChange",function(){v(b);var c=L();return w(Hyb(c.preferredHomepage))});
O(2,Gyb,2,2,"mat-option",31);E()()}a&2&&(a=L(),z(1),C("ngModel",a.preferredHomepage.selectedOptionId),z(1),C("ngForOf",a.preferredHomepage.selectedMainOption.options))},Jyb=function(a,b){a&1&&(D(0,"mat-option",33),P(1),E());a&2&&(a=b.$implicit,C("value",a.value),z(1),Q(" ",a.label," "))},Kyb=function(a,b){a&1&&(D(0,"mat-option",33),P(1),E());a&2&&(a=b.$implicit,C("value",a.value),z(1),Q(" ",a.label," "))},Lyb=function(a,b){a&1&&(D(0,"mat-option",33),P(1),E());a&2&&(a=b.$implicit,C("value",a.value),
z(1),Q(" ",a.label," "))},Myb=function(a){if(a&1){var b=t();D(0,"div",6)(1,"label",34);P(2," Show SnipIt images inline in comments? ");E();D(3,"b-slide-toggle",35);K("modelChange",function(c){v(b);var d=L();d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return w()});E()()}a&2&&(a=L(),z(3),C("model",a.getShowInlineImages()))},Nyb=function(a){if(a&1){var b=t();D(0,"div");F(1,"hr");D(2,"div",1)(3,"div",2);P(4," Other ");E();D(5,"div",5)(6,"div",6)(7,"label",36);P(8," Enable bug screensaver? ");
E();D(9,"b-slide-toggle",37);K("modelChange",function(c){v(b);var d=L();return w(d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c)})("modelChange",function(){v(b);var c=L(),d=c.userPreferences.bugScreensaverPreferences.enableBugScreensaver;return w(c.save("saveBugScreensaverPreferences",void 0===d?"undefined":d.toString()))});E()()()()()}a&2&&(a=L(),z(9),C("model",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},Oyb=function(a,b){a&1&&(D(0,"mat-option",21),P(1),
R(2,"toNewEmailPreference"),E());a&2&&(a=b.$implicit,C("value",a),z(1),Q(" ",S(2,2,a)," "))},Pyb=function(a,b){a&1&&(D(0,"mat-option",21),P(1),R(2,"toNewEmailPreference"),E());a&2&&(a=b.$implicit,C("value",a),z(1),Q(" ",S(2,2,a)," "))},Qyb=function(a,b){a&1&&(D(0,"mat-option",21),P(1),R(2,"toNewEmailPreference"),E());a&2&&(a=b.$implicit,C("value",a),z(1),Q(" ",S(2,2,a)," "))},Ryb=function(a,b){a&1&&(D(0,"mat-option",21),P(1),R(2,"toNewEmailPreference"),E());a&2&&(a=b.$implicit,C("value",a),z(1),Q(" ",
S(2,2,a)," "))},Syb=function(a){if(a&1){var b=t();D(0,"div",5)(1,"label",22);P(2," Collaborator ");E();D(3,"mat-form-field",23)(4,"mat-select",8);K("ngModelChange",function(c){v(b);var d=L();return w(d.userPreferences.notificationPreferences.collaboratorPriority=c)})("selectionChange",function(){v(b);var c=L();return w(c.save("saveNotificationPreferences"))});O(5,Ryb,3,4,"mat-option",9);E()()()}a&2&&(a=L(),z(4),C("ngModel",a.userPreferences.notificationPreferences.collaboratorPriority),z(1),C("ngForOf",
a.priorities))},Tyb=function(a,b){a&1&&(D(0,"mat-option",21),P(1),R(2,"toNewEmailPreference"),E());a&2&&(a=b.$implicit,C("value",a),z(1),Q(" ",S(2,2,a)," "))},Uyb=function(a,b){a&1&&(D(0,"mat-option",21),P(1),R(2,"toNewEmailPreference"),E());a&2&&(a=b.$implicit,C("value",a),z(1),Q(" ",S(2,2,a)," "))},Vyb=function(a,b){a&1&&(D(0,"mat-option",3),P(1),E());a&2&&(a=b.$implicit,C("value",a.id),z(1),Q(" ",a.displayName," "))},Wyb=function(a,b){a&1&&(D(0,"mat-option",13),P(1),E());a&2&&(a=b.$implicit,C("value",
a.frequency),z(1),Q(" ",a.display," "))},Xyb=function(a,b){a&1&&(D(0,"mat-option",13),P(1),E());a&2&&(a=b.$implicit,C("value",a.ordinal),z(1),Q(" ",a.display," "))},Yyb=function(a,b){a&1&&(D(0,"mat-option",13),P(1),E());a&2&&(a=b.$implicit,C("value",a.timeOfDay),z(1),Q(" ~",a.display," "))},Zyb=function(a,b){if(a&1){var c=t();H(0);D(1,"div",6)(2,"mat-form-field")(3,"mat-label");P(4," Repeat at ");E();D(5,"mat-select",14);K("ngModelChange",function(e){v(c);var f=L(3);f.reportSubscription$.next(Object.assign({},
f.reportSubscription$.value,{timeOfDay:e}));f.save();return w()});O(6,Yyb,2,2,"mat-option",11);E()()();I()}if(a&2){a=b.ngIf;b=L(2).ngIf;var d=L();z(5);C("disabled",0===b.id)("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);z(1);C("ngForOf",a)}},azb=function(a){if(a&1){var b=t();D(0,"div",5)(1,"div",6)(2,"label",7);P(3," Status ");E();D(4,"mat-checkbox",8);K("change",function(d){v(b);var e=L(2);return w($yb(e,d.checked))});P(5," Subscribed? ");E()();D(6,"div",6)(7,"mat-form-field")(8,"mat-label",
9);P(9," Frequency ");E();D(10,"mat-select",10);K("ngModelChange",function(d){v(b);var e=L(2);return w(e.setFrequency(d))});O(11,Wyb,2,2,"mat-option",11);E()()();D(12,"div",6)(13,"mat-form-field")(14,"mat-label");P(15," Repeat on ");E();D(16,"mat-select",10);K("ngModelChange",function(d){v(b);var e=L(2);e.reportSubscription$.next(Object.assign({},e.reportSubscription$.value,{ordinal:d}));e.save();return w()});O(17,Xyb,2,2,"mat-option",11);R(18,"async");E()()();O(19,Zyb,7,4,"ng-container",3);R(20,
"async");D(21,"div",6)(22,"b-timezone-picker",12);K("timezoneIdChange",function(d){v(b);var e=L(2);return w(e.setTimeZone(d))});E()()()}if(a&2){a=L().ngIf;var c=L();z(4);C("checked",0!==a.id);z(6);C("disabled",0===a.id)("ngModel",a.frequency);z(1);C("ngForOf",c.frequencyOptions);z(5);C("disabled",0===a.id||a.frequency===c.DAILY)("ngModel",a.ordinal);z(1);C("ngForOf",S(18,10,c.repeatOnOptions$));z(2);C("ngIf",S(20,12,c.repeatAtOptions$));z(3);C("disabled",0===a.id)("timezoneId",a.timeZone.id)}},bzb=
function(a){a&1&&(H(0),O(1,azb,23,14,"div",4),R(2,"async"),I());a&2&&(a=L(),z(1),C("ngIf",!S(2,1,a.isInitialLoading$)))},czb=function(a){if(a&1){var b=t();D(0,"button",3);K("click",function(){v(b);var c=L();return w(c.onBack.emit())});F(1,"mat-icon",4);E()}a&2&&(a=L(),C("matTooltip",a.backLabel))},dzb=function(a){if(a&1){var b=t();D(0,"button",3);K("click",function(){v(b);var c=L();return w(c.onRefresh.emit())});F(1,"mat-icon",5);E()}a&2&&(a=L(),C("matTooltip",a.refreshLabel))},ezb=function(a){a&
1&&(D(0,"h2"),P(1),E());a&2&&(a=L(),z(1),Bg(a.title))},fzb=function(a){a&1&&(D(0,"mat-tab",7)(1,"div",3),F(2,"b-slo-reports-settings"),E()())},gzb=function(a){a&1&&(D(0,"mat-tab",8)(1,"div",3),F(2,"b-beap-settings"),E()())},hzb=function(a){if(a&1){var b=t();D(0,"b-star-toggle",13);K("starClicked",function(){v(b);var c=L(2);return w(c.toggleStar())});E()}a&2&&(a=L(2),C("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},izb=function(a){a&
1&&F(0,"b-star-toggle",14);a&2&&C("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},jzb=function(a,b){a&1&&(D(0,"li")(1,"a",15),P(2),E()());a&2&&(a=b.$implicit,b=L(2),z(1),C("href",b.getUrl(a),ue)("title",a.description),z(1),Q(" ",b.getDisplayName(a)," "))},kzb=function(a){if(a&1){var b=t();D(0,"div")(1,"div",4)(2,"div",5);O(3,hzb,1,3,"b-star-toggle",
6);O(4,izb,1,4,"b-star-toggle",7);D(5,"span",8);P(6);E();D(7,"button",9);K("click",function(){v(b);var c=L();return w(c.openEditBookmarkGroup())});E()();D(8,"div",10);P(9);E()();D(10,"ul",11);O(11,jzb,3,3,"li",12);E()()}a&2&&(a=L(),z(3),C("ngIf",!a.userIsAdmin),z(1),C("ngIf",a.userIsAdmin),z(2),Q("Bookmark Group: ",a.bookmarkGroup.name," "),z(3),Bg(a.bookmarkGroup.description),z(2),C("ngForOf",a.bookmarkGroup.item))},lzb=function(a){if(a&1){var b=t();D(0,"b-star-toggle",16);K("starClicked",function(){v(b);
var c=L(2);return w(c.toggleStar())})("keydown.space",function(c){return c.stopPropagation()})("keydown.enter",function(c){return c.stopPropagation()});E()}a&2&&(a=L(2),C("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},mzb=function(a){a&1&&F(0,"b-star-toggle",17);a&2&&C("starMessage","You are an admin of this hotlist, and cannot star/unstar it.")("unStarMessage","You are an admin of this hotlist, and cannot star/unstar it.")("starred",!0)("disabled",
!0)},nzb=function(a){a&1&&F(0,"b-star-toggle",17);a&2&&C("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},ozb=function(a){a&1&&(D(0,"div",18),P(1," Hotlist not found. "),E());a&2&&C("bFocus",!0)},pzb=function(a){a&1&&(D(0,"div"),P(1," Loading details... "),E())},qzb=function(a){a&1&&(D(0,"span",25),P(1," (archived) "),E())},rzb=function(a){a&1&&(D(0,"span",26),P(1," \u00a0(changed) "),E())},szb=function(a){if(a&1){var b=t();D(0,"div")(1,"span",19);P(2," Hotlist: ");D(3,"span",20);
P(4);E()();O(5,qzb,2,0,"span",21);D(6,"div",22)(7,"button",23);K("click",function(){v(b);var c=L(2);return w(c.openEditHotlist())});E()();O(8,rzb,2,0,"span",24);E()}a&2&&(a=L(2),z(3),C("matTooltip",a.hotlist.description),z(1),Q(" ",a.hotlist.name," "),z(1),C("ngIf",a.hotlist.archived),z(3),C("ngIf",a.hasParamChanges()))},tzb=function(a){if(a&1){var b=t();D(0,"div",27)(1,"button",28);K("click",function(){v(b);var c=L(2);return w(c.save())});P(2,"Save ");E();D(3,"button",29);K("click",function(){v(b);
var c=L(2);return w(c.discardChanges())});P(4,"Discard changes ");E()()}},uzb=function(a){a&1&&(D(0,"div",9),O(1,lzb,1,3,"b-star-toggle",10),O(2,mzb,1,4,"b-star-toggle",11),O(3,nzb,1,4,"b-star-toggle",11),D(4,"div",12),O(5,ozb,2,1,"div",13),O(6,pzb,2,0,"div",14),O(7,szb,9,4,"div",14),E(),O(8,tzb,5,0,"div",15),E());a&2&&(a=L(),z(1),C("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),C("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),C("ngIf",!a.hotlist),z(2),C("ngIf",!a.hotlist&&
!a.hotlistLoading),z(1),C("ngIf",a.hotlistLoading),z(1),C("ngIf",a.hotlist&&!a.hotlistLoading),z(1),C("ngIf",a.hasParamChanges()))},vzb=function(a){a&1&&(D(0,"div",30),F(1,"b-spinner"),D(2,"span"),P(3),E()());a&2&&(a=L(),z(3),Q(" Loading hotlist: ",a.hotlistId,""))},wzb=function(a){a&1&&(D(0,"div",31),P(1),E());a&2&&(a=L(),C("bFocus",!0),z(1),Q(" No issues in hotlist ",a.hotlistId,". "))},xzb=function(a){if(a&1){var b=t();D(0,"div",32)(1,"b-issues-grid",33);K("init",function(c){v(b);var d=L();return w(d.resultsGrid=
c)})("focusedRowIndexChange",function(c){v(b);var d=L();return w(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=L();return w(d.issueColumns=c)})("sortChange",function(c){v(b);var d=L();return w(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=L();return w(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){v(b);var d=L();return w(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){v(b);var c=L();return w(ju(c,c.page,1))})("onPrevPage",
function(){v(b);var c=L();return w(ju(c,c.page,-1))});E()()}a&2&&(a=L(),z(1),C("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},yzb=function(a){a&1&&(D(0,"div"),P(1," Loading details... "),E())},zzb=function(a){a&1&&(D(0,"div"),P(1," Saved search not found. "),E())},Azb=function(a){a&1&&(D(0,"span",15),P(1," \u00a0(changed) "),E())},Bzb=function(a){if(a&1){var b=t();D(0,"div",11);P(1,
" Saved search: ");D(2,"span",12);P(3);E();D(4,"button",13);K("click",function(){v(b);var c=L(2);return w(c.openEditSavedSearch())});E();O(5,Azb,2,0,"span",14);E()}a&2&&(a=L(2),z(2),C("matTooltip",a.savedSearch.description),z(1),Q(" ",a.savedSearch.name," "),z(2),C("ngIf",a.hasParamChanges()))},Czb=function(a){a&1&&(D(0,"div",9),O(1,yzb,2,0,"div",8),O(2,zzb,2,0,"div",8),O(3,Bzb,6,3,"div",10),E());a&2&&(a=L(),z(1),C("ngIf",!a.savedSearch&&a.isLoading),z(1),C("ngIf",!a.savedSearch&&!a.isLoading),z(1),
C("ngIf",a.savedSearch))},Dzb=function(a){if(a&1){var b=t();D(0,"div",16)(1,"button",17);K("click",function(){v(b);var c=L();return w(c.save())});P(2,"Save ");E();D(3,"button",18);K("click",function(){v(b);var c=L();return w(c.discardChanges())});P(4,"Discard changes ");E();D(5,"span",19)(6,"a",20);K("click",function(){v(b);var c=L();Lp(c.analytics,c.ANALYTICS_CATEGORY,"backToNormalSearch");return w()});P(7," Back to normal search");E()()()}a&2&&(a=L(),z(6),C("href",a.exitLink,ue))},Ezb=function(a){a&
1&&(D(0,"span"),P(1),E());a&2&&(a=L(3),z(1),Q(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},Fzb=function(a){a&1&&(D(0,"div",24),F(1,"b-spinner"),O(2,Ezb,2,1,"span",8),E());a&2&&(a=L(2),z(2),C("ngIf",a.searchParams))},Gzb=function(a){a&1&&(D(0,"div",25),P(1," No issues in saved search. "),E());a&2&&C("bFocus",!0)},Hzb=function(a){if(a&1){var b=t();D(0,"div",26)(1,"b-issues-grid",27);K("init",function(c){v(b);var d=L(2);return w(d.resultsGrid=c)})("focusedRowIndexChange",
function(c){v(b);var d=L(2);return w(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=L(2);return w(d.issueColumns=c)})("sortChange",function(c){v(b);var d=L(2);return w(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=L(2);return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=L(2);return w(ju(c,c.page,1))})("onPrevPage",function(){v(b);var c=L(2);return w(ju(c,c.page,-1))});E()()}a&2&&(a=L(2),z(1),C("searchResults",a.searchResults)("focusedRowIndex",
a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},Izb=function(a){a&1&&(D(0,"div"),O(1,Fzb,3,1,"div",21),O(2,Gzb,2,1,"div",22),O(3,Hzb,2,5,"div",23),E());a&2&&(a=L(),z(1),C("ngIf",a.isLoading),z(1),C("ngIf",!a.isLoading&&!a.hasResults()),z(1),C("ngIf",!a.isLoading&&a.hasResults()))},Jzb=function(a,b){return Wm().config.enabledFlags.get(a)?[b]:[]},Kzb=function(){var a=Zc(tu).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",
b.QA="Dev",b.PROD="Prod",b)[a]},Mzb=function(){return new Lzb(new uu("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))},Nzb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},Ozb="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=
c.value;return a},Pzb=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("a");},Ei=Pzb(this),vu=function(a,b){if(b)a:{var c=Ei;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&Ozb(c,a,{configurable:!0,writable:!0,value:b})}};
vu("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;Ozb(this,"description",{configurable:!0,writable:!0,value:h})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("b");return new b(c+(f||"")+"_"+d++,f)};return e});
vu("Symbol.iterator",function(a){if(a)return a;a=Symbol("c");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=Ei[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&Ozb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return Qzb(Nzb(this))}})}return a});vu("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var Qzb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},wu=function(a){return a.raw=a},m=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:Nzb(a)};throw Error("e`"+String(a));},rf=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},p=function(a){return a instanceof Array?a:rf(m(a))},xu=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},Rzb="function"==
typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)xu(d,e)&&(a[e]=d[e])}return a};vu("Object.assign",function(a){return a||Rzb});var Szb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},Tzb;
if("function"==typeof Object.setPrototypeOf)Tzb=Object.setPrototypeOf;else{var Uzb;a:{var Vzb={a:!0},Wzb={};try{Wzb.__proto__=Vzb;Uzb=Wzb.a;break a}catch(a){}Uzb=!1}Tzb=Uzb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var yu=Tzb,X=function(a,b){a.prototype=Szb(b.prototype);a.prototype.constructor=a;if(yu)yu(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.superClass_=b.prototype},zu=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};
zu.prototype.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};zu.prototype.next_=function(a){this.yieldResult=a};zu.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};zu.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};var af=function(a,b,c){a.nextAddress=c;return{value:b}};zu.prototype.jumpTo=function(a){this.nextAddress=a};
var ef=function(a){a.nextAddress=0},$e=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},Au=function(a,b){a.nextAddress=b;a.catchAddress_=0},df=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},bf=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},cf=function(a,b,c){c=a.finallyContexts_.splice(c||0)[0];(c=a.abruptCompletion_=a.abruptCompletion_||
c)?c.isException?a.nextAddress=a.catchAddress_||a.finallyAddress_:void 0!=c.jumpTo&&a.finallyAddress_<c.jumpTo?(a.nextAddress=c.jumpTo,a.abruptCompletion_=null):a.nextAddress=a.finallyAddress_:a.nextAddress=b},Xzb=function(a){this.context_=new zu;this.program_=a};Xzb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return Yzb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return Bu(this)};
var Zzb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return Yzb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return Bu(a)};Xzb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return Yzb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return Bu(this)};
var Yzb=function(a,b,c,d){try{var e=b.call(a.context_.yieldAllIterator_,c);if(!(e instanceof Object))throw new TypeError("g`"+e);if(!e.done)return a.context_.isRunning_=!1,e;var f=e.value}catch(h){return a.context_.yieldAllIterator_=null,a.context_.throw_(h),Bu(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return Bu(a)},Bu=function(a){for(;a.context_.nextAddress;)try{var b=a.program_(a.context_);if(b)return a.context_.isRunning_=!1,{value:b.value,done:!1}}catch(c){a.context_.yieldResult=
void 0,a.context_.throw_(c)}a.context_.isRunning_=!1;if(a.context_.abruptCompletion_){b=a.context_.abruptCompletion_;a.context_.abruptCompletion_=null;if(b.isException)throw b.exception;return{value:b.return,done:!0}}return{value:void 0,done:!0}},$zb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return Zzb(a,b)};this[Symbol.iterator]=function(){return this}},E6a=function(a){var b=F6a;a=new $zb(new Xzb(a));yu&&b.prototype&&yu(a,
b.prototype);return a},aAb=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(f,e)}f(a.next())})},Ze=function(a){return aAb(new $zb(new Xzb(a)))},aga=function(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};void 0!==a["throw"]&&(this["throw"]=function(b){return Promise.resolve(a["throw"](b))});
void 0!==a["return"]&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})},bd=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};vu("Reflect.setPrototypeOf",function(a){return a?a:yu?function(b,c){try{return yu(b,c),!0}catch(d){return!1}}:null});
vu("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(l){l(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var l=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(h)};var d=Ei.setTimeout;b.prototype.asyncExecuteFunction=function(h){d(h,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var l=0;l<h.length;++l){var q=
h[l];h[l]=null;try{q()}catch(u){this.asyncThrow_(u)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var l=this.createResolveAndReject_();try{h(l.resolve,l.reject)}catch(q){l.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(u){return function(x){q||(q=!0,u.call(l,x))}}var l=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("i"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var l=null!=h;break a;case "function":l=!0;break a;default:l=!1}l?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var l=void 0;try{l=h.then}catch(q){this.reject_(q);return}"function"==typeof l?this.settleSameAsThenable_(l,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,l){if(0!=this.state_)throw Error("j`"+h+"`"+l+"`"+this.state_);this.state_=h;this.result_=l;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var l=Ei.console;"undefined"!==typeof l&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=Ei.CustomEvent,l=Ei.Event,q=Ei.dispatchEvent;if("undefined"===typeof q)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof l?h=new l("unhandledrejection",{cancelable:!0}):(h=Ei.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return q(h)};e.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=
0;h<this.onSettledCallbacks_.length;++h)f.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var f=new b;e.prototype.settleSameAsPromise_=function(h){var l=this.createResolveAndReject_();h.callWhenSettled_(l.resolve,l.reject)};e.prototype.settleSameAsThenable_=function(h,l){var q=this.createResolveAndReject_();try{h.call(l,q.resolve,q.reject)}catch(u){q.reject(u)}};e.prototype.then=function(h,l){function q(G,J){return"function"==typeof G?function(M){try{u(G(M))}catch(V){x(V)}}:
J}var u,x,y=new e(function(G,J){u=G;x=J});this.callWhenSettled_(q(h,u),q(l,x));return y};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(u.state_){case 1:h(u.result_);break;case 2:l(u.result_);break;default:throw Error("k`"+u.state_);}}var u=this;null==this.onSettledCallbacks_?f.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(l,q){q(h)})};e.race=
function(h){return new e(function(l,q){for(var u=m(h),x=u.next();!x.done;x=u.next())c(x.value).callWhenSettled_(l,q)})};e.all=function(h){var l=m(h),q=l.next();return q.done?c([]):new e(function(u,x){function y(M){return function(V){G[M]=V;J--;0==J&&u(G)}}var G=[],J=0;do G.push(void 0),J++,c(q.value).callWhenSettled_(y(G.length-1),x),q=l.next();while(!q.done)})};return e});var Cu=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
vu("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Cu(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<f&&c<e;)if(d[c++]!=b[h++])return!1;return h>=f}});var bAb=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};vu("Array.prototype.find",function(a){return a?a:function(b,c){return bAb(this,b,c).v}});
vu("WeakMap",function(a){function b(){}function c(q){var u=typeof q;return"object"===u&&null!==q||"function"===u}function d(q){if(!xu(q,f)){var u=new b;Ozb(q,f,{value:u})}}function e(q){var u=Object[q];u&&(Object[q]=function(x){if(x instanceof b)return x;Object.isExtensible(x)&&d(x);return u(x)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),u=Object.seal({}),x=new a([[q,2],[u,3]]);if(2!=x.get(q)||3!=x.get(u))return!1;x.delete(q);x.set(u,4);return!x.has(q)&&4==x.get(u)}catch(y){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,l=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=m(q);for(var u;!(u=q.next()).done;)u=u.value,this.set(u[0],u[1])}};l.prototype.set=function(q,u){if(!c(q))throw Error("n");d(q);if(!xu(q,f))throw Error("o`"+q);q[f][this.id_]=u;return this};l.prototype.get=function(q){return c(q)&&xu(q,f)?q[f][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&xu(q,f)&&xu(q[f],this.id_)};l.prototype.delete=
function(q){return c(q)&&xu(q,f)&&xu(q[f],this.id_)?delete q[f][this.id_]:!1};return l});
vu("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),q=new a(m([[l,"s"]]));if("s"!=q.get(l)||1!=q.size||q.get({x:4})||q.set({x:4},"t")!=q||2!=q.size)return!1;var u=q.entries(),x=u.next();if(x.done||x.value[0]!=l||"s"!=x.value[1])return!1;x=u.next();return x.done||4!=x.value[0].x||"t"!=x.value[1]||!u.next().done?!1:!0}catch(y){return!1}}())return a;var b=new WeakMap,c=function(l){this.data_={};this.head_=
f();this.size=0;if(l){l=m(l);for(var q;!(q=l.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(l,q){l=0===l?0:l;var u=d(this,l);u.list||(u.list=this.data_[u.id]=[]);u.entry?u.entry.value=q:(u.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:l,value:q},u.list.push(u.entry),this.head_.previous.next=u.entry,this.head_.previous=u.entry,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.entry&&l.list?(l.list.splice(l.index,1),l.list.length||
delete this.data_[l.id],l.entry.previous.next=l.entry.next,l.entry.next.previous=l.entry.previous,l.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.data_={};this.head_=this.head_.previous=f();this.size=0};c.prototype.has=function(l){return!!d(this,l).entry};c.prototype.get=function(l){return(l=d(this,l).entry)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=
function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,q){for(var u=this.entries(),x;!(x=u.next()).done;)x=x.value,l.call(q,x[1],x[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var u=q&&typeof q;"object"==u||"function"==u?b.has(q)?u=b.get(q):(u=""+ ++h,b.set(q,u)):u="p_"+q;var x=l.data_[u];if(x&&xu(l.data_,u))for(l=0;l<x.length;l++){var y=x[l];if(q!==q&&y.key!==y.key||q===y.key)return{id:u,list:x,index:l,entry:y}}return{id:u,list:x,index:-1,
entry:void 0}},e=function(l,q){var u=l.head_;return Qzb(function(){if(u){for(;u.head!=l.head_;)u=u.previous;for(;u.next!=u.head;)return u=u.next,{done:!1,value:q(u)};u=null}return{done:!0,value:void 0}})},f=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});vu("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}});
vu("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});vu("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});var cAb=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};
vu("Array.prototype.entries",function(a){return a?a:function(){return cAb(this,function(b,c){return[b,c]})}});vu("Array.prototype.keys",function(a){return a?a:function(){return cAb(this,function(b){return b})}});
vu("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});vu("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
vu("Array.prototype.values",function(a){return a?a:function(){return cAb(this,function(b,c){return c})}});vu("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});var Du=function(a){return a?a:Array.prototype.fill};vu("Int8Array.prototype.fill",Du);vu("Uint8Array.prototype.fill",Du);vu("Uint8ClampedArray.prototype.fill",Du);
vu("Int16Array.prototype.fill",Du);vu("Uint16Array.prototype.fill",Du);vu("Int32Array.prototype.fill",Du);vu("Uint32Array.prototype.fill",Du);vu("Float32Array.prototype.fill",Du);vu("Float64Array.prototype.fill",Du);vu("Object.setPrototypeOf",function(a){return a||yu});
vu("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(m([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
m(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=0===c?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};b.prototype.clear=function(){this.map_.clear();this.size=0};b.prototype.has=function(c){return this.map_.has(c)};b.prototype.entries=function(){return this.map_.entries()};b.prototype.values=function(){return this.map_.values()};b.prototype.keys=
b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(f){return c.call(d,f,f,e)})};return b});vu("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)xu(b,d)&&c.push([d,b[d]]);return c}});
vu("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Cu(this,b,"endsWith");void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});vu("String.prototype.repeat",function(a){return a?a:function(b){var c=Cu(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("p");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});vu("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
vu("Array.prototype.flat",function(a){return a?a:function(b){b=void 0===b?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&0<b?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});vu("Array.prototype.findIndex",function(a){return a?a:function(b,c){return bAb(this,b,c).i}});
vu("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});vu("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
vu("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});vu("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Cu(this,b,"includes").indexOf(b,c||0)}});
vu("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("q`"+b);b=b[Symbol.iterator].call(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;if(Object(d)!==d)throw new TypeError("r");c[d[0]]=d[1]}return c}});vu("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Cu(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
vu("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)xu(b,d)&&c.push(b[d]);return c}});vu("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});
vu("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});
vu("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("s");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});
vu("String.prototype.codePointAt",function(a){return a?a:function(b){var c=Cu(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(0<=b&&b<d){b|=0;var e=c.charCodeAt(b);if(55296>e||56319<e||b+1===d)return e;b=c.charCodeAt(b+1);return 56320>b||57343<b?e:1024*(e-55296)+b+9216}}});
vu("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("t");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var h=c.exec(d);if(!h)return e=!0,{value:void 0,done:!0};""===h[0]&&(c.lastIndex+=1);return{value:h,done:!1}}};f[Symbol.iterator]=function(){return f};return f}});vu("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});var dAb=dAb||{},da=this||self,Oq=function(a,b){a=a.split(".");b=b||da;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},bc=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},Qa=function(a){var b=bc(a);return"array"==b||"object"==b&&"number"==typeof a.length},Ta=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Va=function(a){return Object.prototype.hasOwnProperty.call(a,eAb)&&a[eAb]||(a[eAb]=++fAb)},eAb="closure_uid_"+(1E9*Math.random()>>>
0),fAb=0,gAb=function(a,b,c){return a.call.apply(a.bind,arguments)},hAb=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},Eu=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Eu=gAb:Eu=hAb;return Eu.apply(null,arguments)},Fu=function(a,
b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},iAb=function(a){(0,eval)(a)},jAb=function(a,b){a=a.split(".");var c=da;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},Gu=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=
a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),l=2;l<arguments.length;l++)h[l-2]=arguments[l];return b.prototype[e].apply(d,h)}},kAb=function(a){return a};Gu(aa,Error);aa.prototype.name="CustomError";var lAb;Gu(ca,aa);ca.prototype.name="AssertionError";var uj=function(a,b){return 0==a.lastIndexOf(b,0)},Hu=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},k1a=function(a){return 0==Or("@ldap.google.com",a.slice(a.length-16))},nm=function(a){return/^[\s\xa0]*$/.test(a)},xj=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Or=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},tAb=function(a){if(!mAb.test(a))return a;-1!=a.indexOf("&")&&
(a=a.replace(nAb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(oAb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(pAb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(qAb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(rAb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(sAb,"&#0;"));return a},nAb=/&/g,oAb=/</g,pAb=/>/g,qAb=/"/g,rAb=/'/g,sAb=/\x00/g,mAb=/[\x00&<>"']/,ja=function(a,b){return-1!=a.indexOf(b)},za=function(a,b){return ja(a.toLowerCase(),b.toLowerCase())},Aa=function(a,b){var c=0;a=xj(String(a)).split(".");
b=xj(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",h=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;c=uAb(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||uAb(0==f[2].length,0==h[2].length)||uAb(f[2],h[2]);f=f[3];h=h[3]}while(0==c)}return c},uAb=function(a,b){return a<b?-1:a>b?1:0};var ha,vAb=Oq("WIZ_global_data.oxN3nb"),wAb=vAb&&vAb[610401301];ha=null!=wAb?wAb:!1;var ia,xAb=da.navigator;ia=xAb?xAb.userAgentData||null:null;var Ga=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Da=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},yAb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h="string"===typeof a?a.split(""):a,l=0;l<d;l++)if(l in h){var q=h[l];b.call(c,q,l,a)&&(e[f++]=q)}return e},Rb=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},zAb=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=
"string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};var AAb=function(a){AAb[" "](a);return a};AAb[" "]=function(){};var BAb=function(a,b){try{return AAb(a[b]),!0}catch(c){}return!1};var CAb=oa(),Iu=aaa(),Ju=la("Edge"),Cq=Ju||Iu,Ku=la("Gecko")&&!(za(fa(),"WebKit")&&!la("Edge"))&&!(la("Trident")||la("MSIE"))&&!la("Edge"),Lu=za(fa(),"WebKit")&&!la("Edge"),DAb=Lu&&la("Mobile"),Zr=haa(),EAb=iaa(),FAb=(va()?"Linux"===ia.platform:la("Linux"))||jaa(),GAb=da.navigator||null;GAb&&ja(GAb.appVersion||"","X11");var HAb=gaa(),IAb=wa(),JAb=la("iPad"),KAb=la("iPod"),LAb=ya();za(fa(),"KaiOS");var MAb=function(){var a=da.document;return a?a.documentMode:void 0},NAb;
a:{var OAb="",PAb=function(){var a=fa();if(Ku)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ju)return/Edge\/([\d\.]+)/.exec(a);if(Iu)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Lu)return/WebKit\/(\S+)/.exec(a);if(CAb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();PAb&&(OAb=PAb?PAb[1]:"");if(Iu){var QAb=MAb();if(null!=QAb&&QAb>parseFloat(OAb)){NAb=String(QAb);break a}}NAb=OAb}var RAb=NAb,SAb;if(da.document&&Iu){var TAb=MAb();SAb=TAb?TAb:parseInt(RAb,10)||void 0}else SAb=void 0;var Mu=SAb;var UAb=sa(),VAb=wa()||la("iPod"),WAb=la("iPad"),XAb=daa(),YAb=ta(),ZAb=caa()&&!ya();var $Ab={},Nu=null,aBb=Ku||Lu||!ZAb&&!Iu&&"function"==typeof da.atob,uaa=function(a,b){void 0===b&&(b=0);bBb();b=$Ab[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],l=a[e+1],q=a[e+2],u=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[f++]=u+h+l+q}u=0;q=d;switch(a.length-e){case 2:u=a[e+1],q=b[(u&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|u>>4]+q+d}return c.join("")},u7a=function(a){if(aBb)return da.atob(a);var b="";cBb(a,function(c){b+=
String.fromCharCode(c)});return b},dBb=function(a){var b=[];cBb(a,function(c){b.push(c)});return b},yaa=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):ja("=.",a[b-1])&&(c=ja("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;cBb(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},cBb=function(a,b){function c(q){for(;d<a.length;){var u=a.charAt(d++),x=Nu[u];if(null!=x)return x;if(!nm(u))throw Error("E`"+u);}return q}bBb();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),l=c(64);if(64===l&&-1===
e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=l&&b(h<<6&192|l))}},bBb=function(){if(!Nu){Nu={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));$Ab[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Nu[f]&&(Nu[f]=e)}}}};var Baa="undefined"!==typeof Uint8Array,taa=!Iu&&"function"===typeof da.btoa,zaa=/[-_.]/g,waa={"-":"+",_:"/",".":"="},Caa,db={};var eBb,cb=function(a,b){if(b!==db)throw Error("F");this.value_=a;if(null!=a&&0===a.length)throw Error("G");},ab=function(){return eBb||(eBb=new cb(null,db))},Pb=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=vaa(b)},hjb=function(a){return(a=eb(a))?new Uint8Array(a):Daa()};cb.prototype.isEmpty=function(){return null==this.value_};cb.prototype.sizeBytes=function(){var a=eb(this);return a?a.length:0};
var fBb=function(a,b){if(!a.value_||!b.value_||a.value_===b.value_)return a.value_===b.value_;if("string"===typeof a.value_&&"string"===typeof b.value_){var c=a.value_,d=b.value_;b.value_.length>a.value_.length&&(d=a.value_,c=b.value_);if(0!==c.lastIndexOf(d,0))return!1;for(b=d.length;b<c.length;b++)if("="!==c[b])return!1;return!0}c=eb(a);b=eb(b);return Eaa(c,b)},eb=function(a){if(db!==db)throw Error("F");var b=a.value_;null==b||$a(b)||("string"===typeof b?b=Aaa(b):(bc(b),b=null));return null==b?
b:a.value_=b},bba=function(a,b,c,d){var e=$aa;if("string"===typeof b)b=b?new cb(b,db):ab(),e(c,d,b);else if(b instanceof Uint8Array)b=b.length?new cb(new Uint8Array(b),db):ab(),e(c,d,b);else if(!(b instanceof cb))return!1;return fBb(a,b)};var gBb="function"===typeof Uint8Array.prototype.slice,Iaa="function"===typeof BigInt;var hBb=function(a,b){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,void 0,void 0,b)};g=hBb.prototype;g.init=function(a,b,c,d){d=void 0===d?{}:d;this.aliasBytesFields=void 0===d.aliasBytesFields?!1:d.aliasBytesFields;a&&(a=Gaa(a),this.bytes_=a.buffer,this.bytesAreImmutable_=a.isImmutable,this.start_=b||0,this.end_=void 0!==c?this.start_+c:this.bytes_.length,this.cursor_=this.start_)};g.free=function(){this.clear();100>iBb.length&&iBb.push(this)};
g.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};g.getEnd=function(){return this.end_};g.setEnd=function(a){this.end_=a};g.reset=function(){this.cursor_=this.start_};g.getCursor=function(){return this.cursor_};g.advance=function(a){jBb(this,this.cursor_+a)};
g.readSplitVarint64=function(a){var b=0,c=0,d=0,e=this.bytes_,f=this.cursor_;do{var h=e[f++];b|=(h&127)<<d;d+=7}while(32>d&&h&128);32<d&&(c|=(h&127)>>4);for(d=3;32>d&&h&128;d+=7)h=e[f++],c|=(h&127)<<d;jBb(this,f);if(128>h)return a(b>>>0,c>>>0);throw Error("z");};var jBb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("A`"+b+"`"+a.end_);};g=hBb.prototype;
g.readSignedVarint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b++],d=c&127;if(c&128&&(c=a[b++],d|=(c&127)<<7,c&128&&(c=a[b++],d|=(c&127)<<14,c&128&&(c=a[b++],d|=(c&127)<<21,c&128&&(c=a[b++],d|=c<<28,c&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128)))))throw Error("z");jBb(this,b);return d};g.readUint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return(c<<0|d<<8|e<<16|a<<24)>>>0};
g.readUint64String=function(){var a=this.readUint32(),b=this.readUint32();return Kaa(a,b)};g.readInt32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return c<<0|d<<8|e<<16|a<<24};g.readInt64=function(){var a=this.readUint32(),b=this.readUint32();return Haa(a,b)};g.readBool=function(){for(var a=0,b=this.cursor_,c=b+10,d=this.bytes_;b<c;){var e=d[b++];a|=e;if(0===(e&128))return jBb(this,b),!!(a&127)}throw Error("z");};
g.readByteString=function(a){if(0==a)return ab();if(0>a)throw Error("B`"+a);var b=this.cursor_,c=b+a;if(c>this.end_)throw Error("A`"+(this.end_-b)+"`"+a);this.cursor_=c;this.aliasBytesFields&&this.bytesAreImmutable_?b=this.bytes_.subarray(b,b+a):(c=this.bytes_,a=b+a,b=b===a?Daa():gBb?c.slice(b,a):new Uint8Array(c.subarray(b,a)));return Faa(b)};var iBb=[];var kBb=function(a,b){if(iBb.length){var c=iBb.pop();c.init(a,void 0,void 0,b);a=c}else a=new hBb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=kBb.prototype;g.setOptions=function(a){a=void 0===a?{}:a;this.discardUnknownFields=void 0===a.discardUnknownFields?!1:a.discardUnknownFields};g.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;100>lBb.length&&lBb.push(this)};
g.getCursor=function(){return this.decoder_.getCursor()};g.getTag=function(){return this.nextTag_};g.reset=function(){this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextField_=this.nextTag_=-1};g.advance=function(a){this.decoder_.advance(a)};
var Oba=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=a.decoder_.readSignedVarint32()>>>0;var c=b>>>3,d=b&7;if(!(0<=d&&5>=d))throw Error("v`"+d+"`"+a.fieldCursor_);if(1>c)throw Error("w`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},Vb=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?Vb(a):a.decoder_.readBool();break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)Vb(a);else{var b=a.decoder_.readSignedVarint32()>>>
0;a.decoder_.advance(b)}break;case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!Oba(a))throw Error("x");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("y");break}Vb(a)}while(1);break;default:throw Error("v`"+a.nextWireType_+"`"+a.fieldCursor_);}};g=kBb.prototype;g.readInt32=function(){return this.decoder_.readSignedVarint32()};g.readInt64=function(){return this.decoder_.readSplitVarint64(Haa)};g.readUint32=function(){return this.decoder_.readSignedVarint32()>>>0};
g.readUint64String=function(){return this.decoder_.readSplitVarint64(Kaa)};g.readBool=function(){return this.decoder_.readBool()};g.readByteString=function(){var a=this.decoder_.readSignedVarint32()>>>0;return this.decoder_.readByteString(a)};g.readSplitVarint64=function(a){return this.decoder_.readSplitVarint64(a)};var lBb=[];var fb="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;var wb={},mBb,Eb=Object.freeze(ib([],23)),Ou=function(a){this.idx_=0;this.arr_=a};Ou.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};Ou.prototype[Symbol.iterator]=function(){return this};var Waa="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";var yb=function(a,b,c,d){d=void 0===d?gba:d;c=hb(a);c|=32;ib(a,c);this.arrayState=c;this.toApi=(this.valueCtor=b)?eba:fba;this.toRuntime=d;this.map_=b=new Map;for(d=0;d<a.length;d++)c=a[d],b.set(c[0],c[1]);this.size=b.size},nBb=function(a){if(a.arrayState&2)throw Error("Q");},pba=function(a,b){b=void 0===b?hba:b;for(var c=Pu(a),d=0;d<c.length;d++){var e=c[d],f=a.map_.get(c[d]);c[d]=[b(e),b(f)]}return c},xba=function(a,b){b=void 0===b?hba:b;var c=[];a=a.map_.entries();for(var d;!(d=a.next()).done;)d=
d.value,d[0]=b(d[0]),d[1]=b(d[1]),c.push(d);return c};g=yb.prototype;g.getLength=function(){return this.size};g.clear=function(){nBb(this);this.map_.clear();this.size=0};g.delete=function(a){nBb(this);return this.map_.delete(a)?(this.size=this.map_.size,!0):!1};g.entries=function(){for(var a=Pu(this),b=0;b<a.length;b++){var c=a[b];a[b]=[c,this.get(c)]}return new Ou(a)};g.keys=function(){return new Ou(Pu(this))};g.values=function(){for(var a=Pu(this),b=0;b<a.length;b++)a[b]=this.get(a[b]);return new Ou(a)};
g.forEach=function(a,b){for(var c=Pu(this),d=0;d<c.length;d++){var e=c[d];a.call(b,this.get(e),e,this)}};g.set=function(a,b){nBb(this);var c=this.map_;if(null==b)return c.delete(a),this;c.set(a,this.toApi(b,this.valueCtor,this.callToMutableOnAccess,this.arrayState));this.size=c.size;return this};g.get=function(a){var b=this.map_;if(b.has(a)){var c=b.get(a),d=this.arrayState,e=this.valueCtor;e&&Array.isArray(c)&&d&16&&nb(c);d=this.toApi(c,e,this.callToMutableOnAccess,d);d!==c&&b.set(a,d);return d}};
g.has=function(a){return this.map_.has(a)};var Pu=function(a){return Array.from(a.map_.keys()).sort(dba)},cba=function(a,b){return b instanceof yb?iba(a.map_,b.map_):kba(a.map_,b)};yb.prototype[Symbol.iterator]=function(){return this.entries()};var oBb=function(a){var b=a.pivot_+a.arrayIndexOffset;return a.internalSparseObject_||(a.internalSparseObject_=a.internalArray_[b]={})},Db=function(a,b,c){return-1===b?null:b>=a.pivot_?a.internalSparseObject_?a.internalSparseObject_[b]:void 0:c&&a.internalSparseObject_&&(c=a.internalSparseObject_[b],null!=c)?c:a.internalArray_[b+a.arrayIndexOffset]},k=function(a,b,c,d){rb(a);return Fb(a,b,c,d)},Fb=function(a,b,c,d){a.internalCachedImmutable_&&(a.internalCachedImmutable_=void 0);if(b>=a.pivot_||d)return oBb(a)[b]=
c,a;a.internalArray_[b+a.arrayIndexOffset]=c;(c=a.internalSparseObject_)&&b in c&&delete c[b];return a},pm=function(a,b){return null!=Db(a,b,!1)},sl=function(a,b,c){return void 0!==pBb(a,b,c,!1)},ul=function(a,b,c,d){return void 0!==pBb(a,b,Zt(a,d,c))},ej=function(a,b,c){return Gb(a,b,0,void 0===c?!1:c,kb(a.internalArray_))},$t=function(a,b){var c=Db(a,b),d=Saa(c);null!=d&&d!==c&&Fb(a,b,d);return d},at=function(a,b){a=Db(a,b);return null==a?a:!!a},ft=function(a,b){var c=Db(a,b),d=qb(c,!0,!!(hb(a.internalArray_)&
18));null!=d&&d!==c&&Fb(a,b,d);return d},nl=function(a,b){a=ft(a,b);return null==a?ab():a},qBb,Bl=function(a,b,c){var d=Db(a,b),e=kb(a.internalArray_);b:{var f=d;d=!1;if(null==f){if(e){a=qBb||(qBb=new yb(mb([])));break b}f=[]}else if(f.constructor===yb){if(0==(f.arrayState&2)||e){a=f;break b}f=xba(f)}else Array.isArray(f)?d=kb(f):f=[];if(e){if(!f.length){a=qBb||(qBb=new yb(mb([])));break b}d||(d=!0,mb(f))}else if(d){d=!1;f=Array.prototype.slice.call(f);for(var h=0;h<f.length;h++){var l=f[h]=Array.prototype.slice.call(f[h]);
Array.isArray(l[1])&&(l[1]=mb(l[1]))}}d||(hb(f)&32?Maa(f,16):hb(a.internalArray_)&16&&nb(f));d=new yb(f,c);Fb(a,b,d,!1);a=d}null==a?c=a:(!e&&c&&(a.callToMutableOnAccess=!0),c=a);return c},Lm=function(a,b,c){c=null==c?Eb:Laa(c,1);return k(a,b,c)},Xk=function(a,b,c){return Ib(a,b,c,ub)},sk=function(a,b,c){return Ib(a,b,c,Uaa)},Qu=function(a,b){return k(a,b,void 0,!1)},rBb=function(a,b,c){rb(a);c=qb(c,!1,!1);null==c||c.isEmpty()?Fb(a,b,void 0,!1):Fb(a,b,c);return a},Zj=function(a,b,c,d){rb(a);(c=pk(a,
c))&&c!==b&&null!=d&&Fb(a,c,void 0,!1);return Fb(a,b,d)},Zt=function(a,b,c){return pk(a,b)===c?c:-1},pk=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];null!=Db(a,e)&&(0!==c&&Fb(a,c,void 0,!1),c=e)}return c},sBb=function(a,b,c){var d=hb(a.internalArray_);Paa(d);var e=Db(a,c);b=Ab(Yaa(e,b,!0,d));e!==b&&Fb(a,c,b);return b},pBb=function(a,b,c,d){var e=Db(a,c,d);b=Yaa(e,b,!1,hb(a.internalArray_));b!==e&&null!=b&&Fb(a,c,b,d);return b},wk=function(a,b,c,d){d=void 0===d?!1:d;b=pBb(a,b,c,d);if(null==
b)return b;if(!kb(a.internalArray_)){var e=Ab(b);e!==b&&(b=e,Fb(a,c,b,d))}return b},fj=function(a,b,c){var d=hb(a.internalArray_),e=!!(d&2);b=nba(a,b,c,e,d);a=Gb(a,c,3,void 0,e);if(!(e||hb(a)&8)){for(e=0;e<b.length;e++)c=b[e],d=Ab(c),c!==d&&(b[e]=d,a[e]=d.internalArray_);gb(a,8)}return b},Ok=function(a,b,c,d,e){rb(a);null==d&&(d=void 0);return Fb(a,c,d,e)},am=function(a,b,c,d){rb(a);null==d&&(d=void 0);return Zj(a,b,c,d)},Sb=function(a,b,c,d){rb(a);var e=null==c?Eb:jb([]);if(null!=c){for(var f=!!c.length,
h=0;h<c.length;h++){var l=c[h];f=f&&!kb(l.internalArray_);e[h]=l.internalArray_}e=Laa(e,(f?8:0)|1);a.internalWrappers_||(a.internalWrappers_={});a.internalWrappers_[b]=c}else a.internalWrappers_&&(a.internalWrappers_[b]=void 0);return Fb(a,b,e,d)},tBb=function(a,b,c,d,e){var f=hb(a.internalArray_);Paa(f);f=nba(a,c,b,!1,f);c=null!=d?d:new c;a=Gb(a,b,2,void 0,!1);void 0!=e?(f.splice(e,0,c),a.splice(e,0,c.internalArray_)):(f.push(c),a.push(c.internalArray_));c.isImmutable()&&Maa(a,8);return c},Jp=function(a,
b,c,d,e){tBb(a,b,c,d,e);return a},gj=function(a,b,c){c=void 0===c?0:c;return Nb(Db(a,b),c)},Ru=function(a,b){a=Db(a,b);return null==a?void 0:a},Tk=function(a,b,c){c=void 0===c?0:c;return Nb(Db(a,b),c)},Su=function(a,b){a=Db(a,b);return null==a?void 0:a},kk=function(a,b,c){c=void 0===c?"0":c;return Nb(Db(a,b),c)},uBb=function(a,b){var c=void 0===c?0:c;return Nb(Db(a,b),c)},vBb=function(a,b){var c=void 0===c?0:c;return Tk(a,Zt(a,b,1),c)},tNa=function(a,b){var c=Eq;var d=void 0===d?"0":d;return kk(a,
Zt(a,c,b),d)},hj=function(a,b){return Hb(a,b,Taa)},Tu=function(a,b){return Db(a,b)},ij=function(a,b){return Hb(a,b,Vaa,!1)},wBb=function(a,b){return Db(a,b)},xBb=function(a,b,c){return k(a,b,c)},lk=function(a,b,c){c=void 0===c?"":c;return Nb(Db(a,b),c)},xl=function(a,b,c){c=void 0===c?!1:c;return Nb(at(a,b),c)},Uk=function(a,b,c){c=void 0===c?0:c;return Nb($t(a,b),c)},bk=function(a,b,c){c=void 0===c?0:c;return Nb(Db(a,b),c)},Wj=function(a,b,c){return lk(a,Zt(a,c,b))},ht=function(a,b,c){return Tu(a,
Zt(a,c,b))},wl=function(a,b,c,d){return wk(a,b,Zt(a,d,c))},Uu=function(a,b){a=Db(a,b);return null==a?void 0:a},rt=function(a,b){a=Db(a,b);return null==a?void 0:a},oq=function(a,b,c){return Jb(a,b,c,!1)},Dk=function(a,b,c){return Jb(a,b,c,0)},gm=function(a,b){return null!=Db(a,b)},zm=function(a,b){return null!=Db(a,b)},jk=function(a,b){return null!=Db(a,b)},qm=function(a,b){return null!=Db(a,b)},Sk=function(a,b){return null!=Db(a,b)};var Ob;var Y=function(a,b,c,d){null==a&&(a=Ob);Ob=void 0;var e=this.constructor.messageId;if(null==a){a=e?[e]:[];var f=48;var h=!0;d&&(f|=128);ib(a,f)}else{if(!Array.isArray(a))throw Error();if(e&&e!==a[0])throw Error();f=gb(a,0)|32;h=0!==(16&f);if(d){if(!(f&128)&&0<a.length){var l=a[a.length-1];if(pb(l)&&"g"in l){f|=128;delete l.g;var q=!0,u;for(u in l){q=!1;break}q&&a.pop()}else throw Error();}}else if(128&f)throw Error();ib(a,f)}this.arrayIndexOffset=e?0:-1;this.internalWrappers_=void 0;this.internalArray_=
a;a:{f=this.internalArray_.length;e=f-1;if(f&&(f=this.internalArray_[e],pb(f))){this.internalSparseObject_=f;this.pivot_=e-this.arrayIndexOffset;break a}void 0!==b&&-1<b?(this.pivot_=Math.max(b,e+1-this.arrayIndexOffset),this.internalSparseObject_=void 0):this.pivot_=Number.MAX_VALUE}if(!d&&this.internalSparseObject_&&"g"in this.internalSparseObject_)throw Error("S");if(c){b=h&&!0;d=this.pivot_;var x;for(h=0;h<c.length;h++)e=c[h],e<d?(e+=this.arrayIndexOffset,(f=a[e])?Aba(f,b):a[e]=Eb):(x||(x=oBb(this)),
(f=x[e])?Aba(f,b):x[e]=Eb)}};Y.prototype.toJSON=function(){var a=this.internalArray_;return mBb?a:Qb(a,sba,tba)};Y.prototype.serialize=function(){mBb=!0;try{return JSON.stringify(this.toJSON(),Bba)}finally{mBb=!1}};var Uba=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return oba(a,nb(b))};Y.prototype.getExtension=function(a){return a.ctor?a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};
var Qba=function(a,b){a=b.ctor?b.getExtensionFn(a,b.ctor,b.fieldIndex,!0):b.getExtensionFn(a,b.fieldIndex,null,!0);return null===a?void 0:a};Y.prototype.hasExtension=function(a){return void 0!==Qba(this,a)};Y.prototype.clone=function(){return zba(this,!1)};Y.prototype.isMutable=function(){return!kb(this.internalArray_)};Y.prototype.isImmutable=function(){return kb(this.internalArray_)};
var Vu=function(a,b,c){return b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)};Y.prototype.messagePrototypeMarker=wb;Y.prototype.toString=function(){return this.internalArray_.toString()};var Tb=Symbol(),Iba=Symbol(),Ub=Symbol(),yBb=Xb(function(a,b,c){if(0!==a.nextWireType_)return!1;k(b,c,a.readInt64());return!0},function(a,b,c){a.writeInt64(c,Db(b,c))}),Wu=Xb(function(a,b,c){if(0!==a.nextWireType_)return!1;k(b,c,a.readInt32());return!0},function(a,b,c){a.writeInt32(c,Db(b,c))}),zBb=Xb(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=ej(b,c);if(2==a.nextWireType_){c=hBb.prototype.readSignedVarint32;var d=a.decoder_.readSignedVarint32()>>>0;for(d=a.decoder_.getCursor()+
d;a.decoder_.getCursor()<d;)b.push(c.call(a.decoder_))}else b.push(a.readInt32());return!0},function(a,b,c){a.writeRepeatedInt32(c,ej(b,c))}),ABb=Xb(function(a,b,c){if(1!==a.nextWireType_)return!1;k(b,c,a.decoder_.readUint64String());return!0},function(a,b,c){a.writeFixed64(c,Db(b,c))}),BBb=Xb(function(a,b,c){if(5!==a.nextWireType_)return!1;k(b,c,a.decoder_.readUint32());return!0},function(a,b,c){a.writeFixed32(c,Db(b,c))}),CBb=Xb(function(a,b,c){if(0!==a.nextWireType_)return!1;k(b,c,a.readBool());
return!0},function(a,b,c){a.writeBool(c,at(b,c))}),DBb=Xb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;b=sBb(b,d,c);c=a.decoder_.getEnd();d=a.decoder_.readSignedVarint32()>>>0;var f=a.decoder_.getCursor()+d,h=f-c;0>=h&&(a.decoder_.setEnd(f),e(b,a,void 0,void 0,void 0),h=f-a.decoder_.getCursor());if(h)throw Error("u`"+d+"`"+(d-h));a.decoder_.cursor_=f;a.decoder_.setEnd(c);return!0},function(a,b,c,d,e){a.writeMessage(c,wk(b,d,c),e)});var Pba=function(a,b,c,d){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=wk;this.setExtensionFn=Ok;this.defaultValue=void 0};var EBb=function(a){Y.call(this,a)};X(EBb,Y);EBb.prototype.getCustomerId=function(){return Db(this,1)};var FBb=function(a){Y.call(this,a)};X(FBb,Y);var GBb=function(a){Y.call(this,a)};X(GBb,Y);GBb.prototype.getCustomerId=function(){return wk(this,EBb,1)};var HBb=function(a){Y.call(this,a)};X(HBb,Y);var IBb=[1,2];var Xu=function(a){Y.call(this,a)};X(Xu,Y);Xu.prototype.setGmailDelegatorId=function(a){return Mb(this,1,a)};var cj=function(a){Y.call(this,a)};X(cj,Y);g=cj.prototype;g.getSeconds=function(){return Tk(this,1)};g.setSeconds=function(a){return Lb(this,1,a)};g.getNanos=function(){return gj(this,2)};g.setNanos=function(a){return Jb(this,2,a,0)};g.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};var JBb=function(a){Y.call(this,a)};X(JBb,Y);g=JBb.prototype;g.getOrigin=function(){return lk(this,1)};g.setOrigin=function(a){return Mb(this,1,a)};g.getInstanceId=function(){return lk(this,2)};g.setInstanceId=function(a){return Mb(this,2,a)};g.getWidgetType=function(){return bk(this,3,0)};g.getContainerType=function(){return bk(this,4,0)};var Yu=function(a){Y.call(this,a)};X(Yu,Y);Yu.prototype.setAuthUser=function(a){return Jb(this,1,a,0)};Yu.prototype.getEmail=function(){return lk(this,2)};Yu.prototype.setEmail=function(a){return Mb(this,2,a)};var KBb=function(a){Y.call(this,a)};X(KBb,Y);var Zu=function(a){Y.call(this,a)};X(Zu,Y);Zu.prototype.getWidth=function(){return Tk(this,1)};Zu.prototype.setWidth=function(a){return Lb(this,1,a)};Zu.prototype.getHeight=function(){return Tk(this,2)};Zu.prototype.setHeight=function(a){return Lb(this,2,a)};var $u=function(a){Y.call(this,a)};X($u,Y);$u.prototype.getMessage=function(){return lk(this,1)};$u.prototype.setMessage=function(a){return Mb(this,1,a)};$u.prototype.getLearnMoreLink=function(){return wk(this,KBb,3)};$u.prototype.setLearnMoreLink=function(a){Ok(this,KBb,3,a)};var av=function(a){Y.call(this,a)};X(av,Y);av.prototype.getId=function(){return lk(this,1)};av.prototype.setId=function(a){return Mb(this,1,a)};av.prototype.getSourceId=function(){return bk(this,2,0)};av.prototype.setSourceId=function(a){return Dk(this,2,a)};var bv=function(a){Y.call(this,a)};X(bv,Y);g=bv.prototype;g.getUrl=function(){return lk(this,1)};g.setUrl=function(a){return Mb(this,1,a)};g.getHeight=function(){return gj(this,2)};g.setHeight=function(a){return Jb(this,2,a,0)};g.getWidth=function(){return gj(this,3)};g.setWidth=function(a){return Jb(this,3,a,0)};var il=function(a){Y.call(this,a)};X(il,Y);il.prototype.getSeconds=function(){return Tk(this,1)};il.prototype.setSeconds=function(a){return Lb(this,1,a)};il.prototype.getNanos=function(){return gj(this,2)};il.prototype.setNanos=function(a){return Jb(this,2,a,0)};var LBb=function(a){Y.call(this,a)};X(LBb,Y);var NBb=function(a){Y.call(this,a,-1,MBb)};X(NBb,Y);var MBb=[1,2];var OBb=function(a){Y.call(this,a)};X(OBb,Y);var PBb=function(a){Y.call(this,a)};X(PBb,Y);var QBb=function(a){Y.call(this,a)};X(QBb,Y);var RBb=function(a){Y.call(this,a)};X(RBb,Y);RBb.prototype.getPhotoId=function(){return lk(this,1)};var SBb=function(a){Y.call(this,a)};X(SBb,Y);var TBb=function(a){Y.call(this,a)};X(TBb,Y);var cv=function(a){Y.call(this,a)};X(cv,Y);cv.prototype.getAgentId=function(){return bk(this,3,0)};var dv=[2,4,5,6,7];var ev=function(a){Y.call(this,a)};X(ev,Y);ev.prototype.getWidth=function(){return Nb(Db(this,1),0)};ev.prototype.setWidth=function(a){return Jb(this,1,a,0)};ev.prototype.getHeight=function(){return Nb(Db(this,2),0)};ev.prototype.setHeight=function(a){return Jb(this,2,a,0)};var UBb=function(a){Y.call(this,a)};X(UBb,Y);var fv=function(a){Y.call(this,a,-1,VBb)};X(fv,Y);g=fv.prototype;g.getId=function(){return wk(this,av,1)};g.setId=function(a){return Ok(this,av,1,a)};g.getName=function(){return lk(this,2)};g.setName=function(a){return Mb(this,2,a)};g.getDescription=function(){return lk(this,3)};g.setDescription=function(a){return Mb(this,3,a)};g.getParentId=function(){return lk(this,4)};g.setParentId=function(a){Mb(this,4,a)};g.getType=function(){return bk(this,6,0)};g.setType=function(a){return Dk(this,6,a)};
g.getMimeType=function(){return lk(this,7)};g.setMimeType=function(a){Mb(this,7,a)};g.getUrl=function(){return lk(this,8)};g.setUrl=function(a){return Mb(this,8,a)};g.getIconUrl=function(){return lk(this,11)};g.setIconUrl=function(a){return Mb(this,11,a)};var gv=function(a){return fj(a,bv,10)};fv.prototype.getLastModifiedTimestamp=function(){return wk(this,cj,12)};var hv=function(a){Y.call(this,a)};X(hv,Y);hv.prototype.getShared=function(){return xl(this,1)};var VBb=[5,10,22];var iv=function(a){Y.call(this,a,-1,WBb)};X(iv,Y);var jv=function(a,b){return Kb(a,1,b)};iv.prototype.getMaxSize=function(){return wk(this,ev,5)};iv.prototype.setMaxSize=function(a){Ok(this,ev,5,a)};iv.prototype.setMaxSizeBytes=function(a){Lb(this,6,a)};var WBb=[1,2,3,4];var kv=function(a){Y.call(this,a)};X(kv,Y);kv.prototype.setRestrictedDownloadErrorMessage=function(a){return Mb(this,5,a)};var XBb=function(a){Y.call(this,a)};X(XBb,Y);var lv=function(a){Y.call(this,a)};X(lv,Y);lv.prototype.getId=function(){return bk(this,1,0)};lv.prototype.setId=function(a){return Dk(this,1,a)};var YBb=[3,4];var ZBb=function(a){Y.call(this,a)};X(ZBb,Y);var mv=function(a){Y.call(this,a,-1,$Bb)};X(mv,Y);g=mv.prototype;g.setAuthUser=function(a){return Ok(this,Yu,6,a)};g.getBaseUrl=function(){return lk(this,8)};g.getTitle=function(){return lk(this,9)};g.setTitle=function(a){return Mb(this,9,a)};g.getLocale=function(){return lk(this,10)};g.setLocale=function(a){return Mb(this,10,a)};g.setSecretToken=function(a){return Mb(this,12,a)};g.setSelectButtonLabel=function(a){Mb(this,19,a)};var aCb=function(a,b){Ok(a,kv,22,b)};g=mv.prototype;
g.addPostProcessor=function(a){Jp(this,28,lv,a)};g.setBuildLabel=function(a){Mb(this,31,a)};g.setMinSize=function(a){Ok(this,Zu,32,a)};g.getMaxSize=function(){return wk(this,Zu,33)};g.setMaxSize=function(a){Ok(this,Zu,33,a)};g.setInitialView=function(a){Dk(this,35,a)};var $Bb=[18,28];var nv=function(a){Y.call(this,a)};X(nv,Y);var bCb=function(a){var b=new nv;return Mb(b,1,a)};nv.prototype.getLabel=function(){return lk(this,2)};nv.prototype.setLabel=function(a){return Mb(this,2,a)};var dCb=function(a){Y.call(this,a,-1,cCb)};X(dCb,Y);g=dCb.prototype;g.getStatus=function(){return bk(this,1,0)};g.setStatus=function(a){return Dk(this,1,a)};g.getItemList=function(){return fj(this,fv,2)};g.setItemList=function(a){Sb(this,2,a)};g.addItem=function(a,b){return Jp(this,2,fv,a,b)};g.getErrorCode=function(){return bk(this,4,0)};g.getInternalOnlyV1ViewInfo=function(){return wk(this,nv,7)};g.setInternalOnlyV1ViewInfo=function(a){return Ok(this,nv,7,a)};var cCb=[2];var ov=function(a){Y.call(this,a,-1,eCb)};X(ov,Y);ov.prototype.getUploadUrl=function(){return lk(this,1)};ov.prototype.getAgentId=function(){return bk(this,3,0)};var qv=function(a,b){Dk(a,4,b)};ov.prototype.setFileExtensionsList=function(a){return sk(this,11,a)};var eCb=[11];var fCb=function(a){Y.call(this,a)};X(fCb,Y);fCb.prototype.setUploadSourceOptions=function(a){return Ok(this,ov,2,a)};var rv=function(a){Y.call(this,a,-1,gCb)};X(rv,Y);rv.prototype.setFileExtensionsList=function(a){return sk(this,3,a)};var gCb=[1,3];var iCb=function(a){Y.call(this,a,-1,hCb)};X(iCb,Y);var hCb=[3];var mr=function(a){Y.call(this,a)};X(mr,Y);mr.prototype.getType=function(){return bk(this,1,0)};mr.prototype.setType=function(a){return Dk(this,1,a)};mr.prototype.getDirection=function(){return bk(this,2,0)};mr.prototype.setDirection=function(a){return Dk(this,2,a)};var ir=function(a){Y.call(this,a)};X(ir,Y);ir.prototype.getParentId=function(){return lk(this,1)};ir.prototype.setParentId=function(a){Mb(this,1,a)};ir.prototype.getQuery=function(){return lk(this,2)};ir.prototype.setQuery=function(a){return Mb(this,2,a)};var jr=function(a,b){return Ok(a,mr,3,b)},kr=function(a,b){return Dk(a,4,b)};ir.prototype.getStarred=function(){return xl(this,7)};ir.prototype.setStarred=function(a){oq(this,7,a)};ir.prototype.setViewMode=function(a){Dk(this,8,a)};
ir.prototype.getLastModified=function(){return wk(this,cj,9)};var jCb=function(a,b){Ok(a,iCb,19,b)};var sv=function(a){Y.call(this,a)};X(sv,Y);sv.prototype.getCategory=function(){return bk(this,2,0)};sv.prototype.setCategory=function(a){Dk(this,2,a)};var or=function(a){Y.call(this,a,-1,kCb)};X(or,Y);or.prototype.setViewMode=function(a){Dk(this,3,a)};var kCb=[8];var pr=function(a){Y.call(this,a)};X(pr,Y);pr.prototype.setViewMode=function(a){Dk(this,1,a)};pr.prototype.getQuery=function(){return lk(this,2)};pr.prototype.setQuery=function(a){return Mb(this,2,a)};var hr=function(a){Y.call(this,a,-1,lCb)};X(hr,Y);hr.prototype.getSourceId=function(){return bk(this,1,0)};hr.prototype.setSourceId=function(a){return Dk(this,1,a)};hr.prototype.getName=function(){return lk(this,8)};hr.prototype.setName=function(a){return Mb(this,8,a)};var lr=function(a,b){Ok(a,ir,3,b)};hr.prototype.setUploadSourceOptions=function(a){return Ok(this,ov,10,a)};hr.prototype.getInternalOnlyV1ViewInfo=function(){return wk(this,nv,18)};
hr.prototype.setInternalOnlyV1ViewInfo=function(a){return Ok(this,nv,18,a)};var lCb=[14];var nr=function(a){Y.call(this,a,-1,mCb)};X(nr,Y);nr.prototype.getSourceList=function(){return fj(this,hr,1)};nr.prototype.setSourceList=function(a){return Sb(this,1,a)};nr.prototype.addSource=function(a){Jp(this,1,hr,a)};var mCb=[1];var oCb=function(a){Y.call(this,a,-1,nCb)};X(oCb,Y);g=oCb.prototype;g.getCommand=function(){return bk(this,1,0)};g.setCommand=function(a){return Dk(this,1,a)};g.getSource=function(){return wk(this,hr,2)};g.setSource=function(a){return Ok(this,hr,2,a)};g.hasSource=function(){return sl(this,hr,2)};g.setVisible=function(a){return oq(this,5,a)};g.getItemList=function(){return fj(this,fv,7)};g.setItemList=function(a){Sb(this,7,a)};g.addItem=function(a,b){return Jp(this,7,fv,a,b)};var nCb=[3,7];var qCb=function(a){Y.call(this,a,-1,pCb)};X(qCb,Y);g=qCb.prototype;g.getCommand=function(){return bk(this,1,0)};g.setCommand=function(a){return Dk(this,1,a)};g.getItemList=function(){return fj(this,fv,4)};g.setItemList=function(a){Sb(this,4,a)};g.addItem=function(a,b){return Jp(this,4,fv,a,b)};var rCb=dc(qCb),pCb=[4];var tCb=function(a){Y.call(this,a,-1,sCb)};X(tCb,Y);g=tCb.prototype;g.getConfig=function(){return wk(this,mv,1)};g.setConfig=function(a){return Ok(this,mv,1,a)};g.hasConfig=function(){return sl(this,mv,1)};g.getSourceList=function(){return fj(this,hr,2)};g.setSourceList=function(a){return Sb(this,2,a)};g.addSource=function(a){Jp(this,2,hr,a)};var sCb=[2];tCb.messageId="ireq";var bca="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var tv=function(a){return function(){return a}},uv=function(){},uCb=function(a){return a},YRa=function(){var a=XRa;return function(){return!a.apply(this,arguments)}},vv=function(a,b){var c=0;return function(d){da.clearTimeout(c);var e=arguments;c=da.setTimeout(function(){a.apply(void 0,e)},b)}},vCb=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=da.setTimeout(f,b);var l=e;e=[];a.apply(void 0,l)};return function(l){e=arguments;c?d=!0:h()}};var wCb={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var xCb,yCb=function(){if(void 0===xCb){var a=null,b=da.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:kAb,createScript:kAb,createScriptURL:kAb})}catch(c){da.console&&da.console.error(c.message)}xCb=a}else xCb=a}return xCb};var oc=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===zCb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=ACb};oc.prototype.implementsGoogStringTypedString=!0;oc.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var pc=function(a){return a instanceof oc&&a.constructor===oc&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===ACb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},Op=function(a){return new oc(zCb,a)},ACb={},zCb={};var wv=function(a,b){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=b===BCb?a:""};wv.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};wv.prototype.implementsGoogStringTypedString=!0;wv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
var Wi=function(a){if(a instanceof wv&&a.constructor===wv)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;bc(a);return"type_error:TrustedResourceUrl"},Np=function(a){return Th(pc(a))},BCb={},Th=function(a){var b=yCb();a=b?b.createScriptURL(a):a;return new wv(a,BCb)};var mc=function(a,b){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=b===CCb?a:""};mc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};mc.prototype.implementsGoogStringTypedString=!0;mc.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var nc=function(a){if(a instanceof mc&&a.constructor===mc)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;bc(a);return"type_error:SafeUrl"},DCb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,ECb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,kca=function(a){if(a instanceof mc)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);ECb.test(a)?a=Wh(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(DCb)?Wh(a):null);return a},FCb;
try{new URL("s://g"),FCb=!0}catch(a){FCb=!1}
var GCb=FCb,$Ma=function(a){if(a instanceof mc)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);a:{var b=a;if(GCb){try{var c=new URL(b)}catch(d){b="https:";break a}b=c.protocol}else b:{c=document.createElement("a");try{c.href=b}catch(d){b=void 0;break b}b=c.protocol;b=":"===b||""===b?"https:":b}}"javascript:"===b&&(a="about:invalid#zClosurez");return Wh(a)},CCb={},Wh=function(a){return new mc(a,CCb)},qc=Wh("about:invalid#zClosurez");var HCb={},xv=function(a,b){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=b===HCb?a:"";this.implementsGoogStringTypedString=!0};xv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};xv.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var ICb=function(a){if(a instanceof xv&&a.constructor===xv)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;bc(a);return"type_error:SafeStyle"},JCb=new xv("",HCb),fca=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),eca=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),dca=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)",
"g"),gca=/\/\*/;var KCb={},yv=function(a,b){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=b===KCb?a:"";this.implementsGoogStringTypedString=!0};yv.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};yv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};var LCb=function(a){if(a instanceof yv&&a.constructor===yv)return a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;bc(a);return"type_error:SafeStyleSheet"};var MCb={},Vq=function(a,b){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=b===MCb?a:"";this.implementsGoogStringTypedString=!0};Vq.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};Vq.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var Ml=function(a){if(a instanceof Vq&&a.constructor===Vq)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;bc(a);return"type_error:SafeHtml"},xp=function(a){return a instanceof Vq?a:Rh(tAb("object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a)))},zv=function(a){if(a instanceof Vq)return a;a=xp(a);a=Ml(a).toString().replace(/(\r\n|\r|\n)/g,"<br>");return Rh(a)},zp=function(a,b,c){var d=String(a);if(!NCb.test(d))throw Error("$");if(d.toUpperCase()in OCb)throw Error("$");
a=String(a);d="<"+a;var e="";if(b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f)){if(!NCb.test(f))throw Error("$");var h=b[f];if(null!=h){var l=f;var q=h;if(q instanceof oc)q=pc(q);else if("style"==l.toLowerCase()){h=void 0;if(!Ta(q))throw Error("$");if(!(q instanceof xv)){var u="";for(h in q)if(Object.prototype.hasOwnProperty.call(q,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("Z`"+h);var x=q[h];null!=x&&(x=Array.isArray(x)?x.map(jca).join(" "):jca(x),u+=h+":"+x+";")}q=u?new xv(u,
HCb):JCb}q=ICb(q)}else{if(/^on/i.test(l))throw Error("$");if(l.toLowerCase()in PCb)if(q instanceof wv)q=Wi(q).toString();else if(q instanceof mc)q=nc(q);else if("string"===typeof q)q=(kca(q)||qc).getTypedStringValue();else throw Error("$");}q.implementsGoogStringTypedString&&(q=q.getTypedStringValue());l=l+'="'+tAb(String(q))+'"';e+=" "+l}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===wCb[a.toLowerCase()]?b+=">":(f=Ap(c),b+=">"+Ml(f).toString()+"</"+a+">");return Rh(b)},QCb=function(a){var b=
xp(ku),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=xp(e),c.push(Ml(e).toString()))};a.forEach(d);return Rh(c.join(Ml(b).toString()))},Ap=function(a){return QCb(Array.prototype.slice.call(arguments))},Rh=function(a){var b=yCb();a=b?b.createHTML(a):a;return new Vq(a,MCb)},NCb=/^[a-zA-Z0-9-]+$/,PCb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},OCb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},ku=
new Vq(da.trustedTypes&&da.trustedTypes.emptyHTML||"",MCb);var RCb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Ml(ku);return!b.parentElement}),WRa=function(a,b){if(RCb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Ml(b)},SCb=function(a,b){b=b instanceof mc?b:$Ma(b);a.action=nc(b)},UCb=function(a,b){var c=TCb(a.ownerDocument&&a.ownerDocument.defaultView);
c&&a.setAttribute("nonce",c);a.src=Wi(b)},aNa=function(a,b,c,d){a=a instanceof mc?a:$Ma(a);b=b||da;c=c instanceof oc?pc(c):c||"";return void 0!==d?b.open(nc(a),c,d):b.open(nc(a),c)},VCb=/^[\w+/_-]+[=]{0,2}$/,TCb=function(a){a=(a||da).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&VCb.test(a)?a:"":""};var WCb=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},XCb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},Dq=function(a){return a=tAb(a)},YCb=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=1==c?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a},D4a=function(a,b,c){return a.replace(new RegExp(yp(b),"g"),c.replace(/\$/g,
"$$$$"))},yp=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},ZCb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Av=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);var c=a.indexOf(".");-1===c&&(c=a.length);var d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+ZCb("0",Math.max(0,b-c))+a},mm=function(a){return null==a?"":String(a)},Bv=function(){return Math.floor(2147483648*Math.random()).toString(36)+
Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},zj=function(a){var b=Number(a);return 0==b&&nm(a)?NaN:b},Ej=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},sj=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},$Cb=function(a){var b=1;a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};(function(a){function b(qa){q&&q.mark&&q.mark(qa)}function c(qa,Ba){q&&q.measure&&q.measure(qa,Ba)}function d(qa){return u+qa}function e(qa){na||a[U]&&(na=a[U].resolve(0));if(na){var Ba=na[W];Ba||(Ba=na.then);Ba.call(na,qa)}else a[V](qa,0)}function f(qa){0===Ya&&0===ba.length&&e(h);qa&&ba.push(qa)}function h(){if(!pa){for(pa=!0;ba.length;){var qa=ba;ba=[];for(var Ba=0;Ba<qa.length;Ba++){var Ea=qa[Ba];try{Ea.zone.runTask(Ea,null,null)}catch(Oa){Ha.onUnhandledError(Oa)}}}Ha.microtaskDrainDone();pa=
!1}}function l(){}var q=a.performance;b("Zone");var u=a.__Zone_symbol_prefix||"__zone_symbol__",x=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(x||"function"!==typeof a.Zone.__symbol__)throw Error("aa");return a.Zone}var y=function(qa,Ba){this._parent=qa;this._name=Ba?Ba.name||"unnamed":"<root>";this._properties=Ba&&Ba.properties||{};this._zoneDelegate=new J(this,this._parent&&this._parent._zoneDelegate,Ba)};y.assertZonePatched=function(){if(a.Promise!==Fa.ZoneAwarePromise)throw Error("ba");
};y.__load_patch=function(qa,Ba,Ea){Ea=void 0===Ea?!1:Ea;if(Fa.hasOwnProperty(qa)){if(!Ea&&x)throw Error("ca`"+qa);}else a["__Zone_disable_"+qa]||(Ea="Zone:"+qa,b(Ea),Fa[qa]=Ba(a,y,Ha),c(Ea,Ea))};y.prototype.get=function(qa){var Ba=this.getZoneWith(qa);if(Ba)return Ba._properties[qa]};y.prototype.getZoneWith=function(qa){for(var Ba=this;Ba;){if(Ba._properties.hasOwnProperty(qa))return Ba;Ba=Ba._parent}return null};y.prototype.fork=function(qa){if(!qa)throw Error("da");return this._zoneDelegate.fork(this,
qa)};y.prototype.wrap=function(qa,Ba){if("function"!==typeof qa)throw Error("ea`"+qa);var Ea=this._zoneDelegate.intercept(this,qa,Ba),Oa=this;return function(){return Oa.runGuarded(Ea,this,arguments,Ba)}};y.prototype.run=function(qa,Ba,Ea,Oa){Bb={parent:Bb,zone:this};try{return this._zoneDelegate.invoke(this,qa,Ba,Ea,Oa)}finally{Bb=Bb.parent}};y.prototype.runGuarded=function(qa,Ba,Ea,Oa){Bb={parent:Bb,zone:this};try{try{return this._zoneDelegate.invoke(this,qa,void 0===Ba?null:Ba,Ea,Oa)}catch(La){if(this._zoneDelegate.handleError(this,
La))throw La;}}finally{Bb=Bb.parent}};y.prototype.runTask=function(qa,Ba,Ea){if(qa.zone!=this)throw Error("fa`"+(qa.zone||xa).name+"`"+this.name);if("notScheduled"!==qa.state||"eventTask"!==qa.type&&"macroTask"!==qa.type){var Oa="running"!=qa.state;Oa&&qa._transitionTo("running","scheduled");qa.runCount++;var La=lb;lb=qa;Bb={parent:Bb,zone:this};try{"macroTask"==qa.type&&qa.data&&!qa.data.isPeriodic&&(qa.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,qa,Ba,Ea)}catch(fc){if(this._zoneDelegate.handleError(this,
fc))throw fc;}}finally{"notScheduled"!==qa.state&&"unknown"!==qa.state&&("eventTask"==qa.type||qa.data&&qa.data.isPeriodic?Oa&&qa._transitionTo("scheduled","running"):(qa.runCount=0,this._updateTaskCount(qa,-1),Oa&&qa._transitionTo("notScheduled","running","notScheduled"))),Bb=Bb.parent,lb=La}}};y.prototype.scheduleTask=function(qa){if(qa.zone&&qa.zone!==this)for(var Ba=this;Ba;){if(Ba===qa.zone)throw Error("ga`"+this.name+"`"+qa.zone.name);Ba=Ba.parent}qa._transitionTo("scheduling","notScheduled");
Ba=[];qa._zoneDelegates=Ba;qa._zone=this;try{qa=this._zoneDelegate.scheduleTask(this,qa)}catch(Ea){throw qa._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Ea),Ea;}qa._zoneDelegates===Ba&&this._updateTaskCount(qa,1);"scheduling"==qa.state&&qa._transitionTo("scheduled","scheduling");return qa};y.prototype.scheduleMicroTask=function(qa,Ba,Ea,Oa){return this.scheduleTask(new M("microTask",qa,Ba,Ea,Oa,void 0))};y.prototype.scheduleMacroTask=function(qa,Ba,Ea,Oa,
La){return this.scheduleTask(new M("macroTask",qa,Ba,Ea,Oa,La))};y.prototype.scheduleEventTask=function(qa,Ba,Ea,Oa,La){return this.scheduleTask(new M("eventTask",qa,Ba,Ea,Oa,La))};y.prototype.cancelTask=function(qa){if(qa.zone!=this)throw Error("ha`"+(qa.zone||xa).name+"`"+this.name);if("scheduled"===qa.state||"running"===qa.state){qa._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,qa)}catch(Ba){throw qa._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
Ba),Ba;}this._updateTaskCount(qa,-1);qa._transitionTo("notScheduled","canceling");qa.runCount=0;return qa}};y.prototype._updateTaskCount=function(qa,Ba){var Ea=qa._zoneDelegates;-1==Ba&&(qa._zoneDelegates=null);for(var Oa=0;Oa<Ea.length;Oa++)Ea[Oa]._updateTaskCount(qa.type,Ba)};Ei.Object.defineProperties(y.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});Ei.Object.defineProperties(y,{root:{configurable:!0,
enumerable:!0,get:function(){for(var qa=y.current;qa.parent;)qa=qa.parent;return qa}},current:{configurable:!0,enumerable:!0,get:function(){return Bb.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return lb}}});y.__symbol__=d;var G={name:"",onHasTask:function(qa,Ba,Ea,Oa){return qa.hasTask(Ea,Oa)},onScheduleTask:function(qa,Ba,Ea,Oa){return qa.scheduleTask(Ea,Oa)},onInvokeTask:function(qa,Ba,Ea,Oa,La,fc){return qa.invokeTask(Ea,Oa,La,fc)},onCancelTask:function(qa,Ba,Ea,Oa){return qa.cancelTask(Ea,
Oa)}},J=function(qa,Ba,Ea){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=qa;this._parentDelegate=Ba;this._forkZS=Ea&&(Ea&&Ea.onFork?Ea:Ba._forkZS);this._forkDlgt=Ea&&(Ea.onFork?Ba:Ba._forkDlgt);this._forkCurrZone=Ea&&(Ea.onFork?this.zone:Ba._forkCurrZone);this._interceptZS=Ea&&(Ea.onIntercept?Ea:Ba._interceptZS);this._interceptDlgt=Ea&&(Ea.onIntercept?Ba:Ba._interceptDlgt);this._interceptCurrZone=Ea&&(Ea.onIntercept?this.zone:Ba._interceptCurrZone);this._invokeZS=Ea&&(Ea.onInvoke?
Ea:Ba._invokeZS);this._invokeDlgt=Ea&&(Ea.onInvoke?Ba:Ba._invokeDlgt);this._invokeCurrZone=Ea&&(Ea.onInvoke?this.zone:Ba._invokeCurrZone);this._handleErrorZS=Ea&&(Ea.onHandleError?Ea:Ba._handleErrorZS);this._handleErrorDlgt=Ea&&(Ea.onHandleError?Ba:Ba._handleErrorDlgt);this._handleErrorCurrZone=Ea&&(Ea.onHandleError?this.zone:Ba._handleErrorCurrZone);this._scheduleTaskZS=Ea&&(Ea.onScheduleTask?Ea:Ba._scheduleTaskZS);this._scheduleTaskDlgt=Ea&&(Ea.onScheduleTask?Ba:Ba._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Ea&&(Ea.onScheduleTask?this.zone:Ba._scheduleTaskCurrZone);this._invokeTaskZS=Ea&&(Ea.onInvokeTask?Ea:Ba._invokeTaskZS);this._invokeTaskDlgt=Ea&&(Ea.onInvokeTask?Ba:Ba._invokeTaskDlgt);this._invokeTaskCurrZone=Ea&&(Ea.onInvokeTask?this.zone:Ba._invokeTaskCurrZone);this._cancelTaskZS=Ea&&(Ea.onCancelTask?Ea:Ba._cancelTaskZS);this._cancelTaskDlgt=Ea&&(Ea.onCancelTask?Ba:Ba._cancelTaskDlgt);this._cancelTaskCurrZone=Ea&&(Ea.onCancelTask?this.zone:Ba._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var Oa=Ea&&Ea.onHasTask,La=Ba&&Ba._hasTaskZS;if(Oa||La)this._hasTaskZS=Oa?Ea:G,this._hasTaskDlgt=Ba,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=qa,Ea.onScheduleTask||(this._scheduleTaskZS=G,this._scheduleTaskDlgt=Ba,this._scheduleTaskCurrZone=this.zone),Ea.onInvokeTask||(this._invokeTaskZS=G,this._invokeTaskDlgt=Ba,this._invokeTaskCurrZone=this.zone),Ea.onCancelTask||(this._cancelTaskZS=G,this._cancelTaskDlgt=Ba,this._cancelTaskCurrZone=this.zone)};J.prototype.fork=
function(qa,Ba){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,qa,Ba):new y(qa,Ba)};J.prototype.intercept=function(qa,Ba,Ea){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,qa,Ba,Ea):Ba};J.prototype.invoke=function(qa,Ba,Ea,Oa,La){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,qa,Ba,Ea,Oa,La):Ba.apply(Ea,Oa)};J.prototype.handleError=function(qa,Ba){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,qa,Ba):!0};J.prototype.scheduleTask=function(qa,Ba){var Ea=Ba;if(this._scheduleTaskZS)this._hasTaskZS&&Ea._zoneDelegates.push(this._hasTaskDlgtOwner),(Ea=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,qa,Ba))||(Ea=Ba);else if(Ba.scheduleFn)Ba.scheduleFn(Ba);else if("microTask"==Ba.type)f(Ba);else throw Error("ia");return Ea};J.prototype.invokeTask=function(qa,Ba,Ea,Oa){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,qa,Ba,Ea,Oa):Ba.callback.apply(Ea,Oa)};J.prototype.cancelTask=function(qa,Ba){if(this._cancelTaskZS)qa=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,qa,Ba);else{if(!Ba.cancelFn)throw Error("ja");qa=Ba.cancelFn(Ba)}return qa};J.prototype.hasTask=function(qa,Ba){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,qa,Ba)}catch(Ea){this.handleError(qa,Ea)}};J.prototype._updateTaskCount=function(qa,Ba){var Ea=this._taskCounts,
Oa=Ea[qa];Ba=Ea[qa]=Oa+Ba;if(0>Ba)throw Error("ka");0!=Oa&&0!=Ba||this.hasTask(this.zone,{microTask:0<Ea.microTask,macroTask:0<Ea.macroTask,eventTask:0<Ea.eventTask,change:qa})};var M=function(qa,Ba,Ea,Oa,La,fc){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=qa;this.source=Ba;this.data=Oa;this.scheduleFn=La;this.cancelFn=fc;if(!Ea)throw Error("la");this.callback=Ea;var Ua=this;"eventTask"===qa&&Oa&&Oa.useG?this.invoke=M.invokeTask:this.invoke=function(){return M.invokeTask.call(a,
Ua,this,arguments)}};M.invokeTask=function(qa,Ba,Ea){qa||(qa=this);Ya++;try{return qa.runCount++,qa.zone.runTask(qa,Ba,Ea)}finally{1==Ya&&h(),Ya--}};M.prototype._transitionTo=function(qa,Ba,Ea){if(this._state===Ba||this._state===Ea)this._state=qa,"notScheduled"==qa&&(this._zoneDelegates=null);else throw Error("ma`"+this.type+"`"+this.source+"`"+qa+"`"+Ba+"`"+(Ea?" or '"+Ea+"'":"")+"`"+this._state);};M.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():
Object.prototype.toString.call(this)};M.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};Ei.Object.defineProperties(M.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var V=d("setTimeout"),U=d("Promise"),W=d("then"),ba=[],pa=!1,na,xa={name:"NO ZONE"},Fa={},Ha={symbol:d,currentZoneFrame:function(){return Bb},onUnhandledError:l,
microtaskDrainDone:l,scheduleMicroTask:f,showUncaughtError:function(){return!y[d("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:l,patchMethod:function(){return l},bindArguments:function(){return[]},patchThen:function(){return l},patchMacroTask:function(){return l},patchEventPrototype:function(){return l},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return l},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},
ArraySlice:function(){return[]},patchClass:function(){return l},wrapWithCurrentZone:function(){return l},filterProperties:function(){return[]},attachOriginToPatched:function(){return l},_redefineProperty:function(){return l},patchCallbacks:function(){return l},nativeScheduleMicroTask:e},Bb={parent:null,zone:new y(null,null)},lb=null,Ya=0;c("Zone","Zone");return a.Zone=y})("undefined"!==typeof window&&window||"undefined"!==typeof self&&self||global);Zone.__load_patch("Error",function(a,b,c){function d(ba){for(var pa={zoneName:ba.zone.name},na=pa;ba.parent;){ba=ba.parent;var xa={zoneName:ba.zone.name};pa=pa.parent=xa}return na}function e(ba,pa,na){na=void 0===na?!0:na;ba=ba.split("\n");for(var xa=0;ba[xa]!==u&&ba[xa]!==x&&ba[xa]!==y&&ba[xa]!==G&&ba[xa]!==J&&xa<ba.length;)xa++;for(;xa<ba.length&&pa;xa++){var Fa=ba[xa];if(Fa.trim())switch(q[Fa]){case 0:ba.splice(xa,1);xa--;break;case 1:pa.parent?pa=pa.parent:pa=null;ba.splice(xa,1);xa--;break;default:ba[xa]+=
na?" ["+pa.zone.name+"]":" ["+pa.zoneName+"]"}}return ba.join("\n")}function f(){var ba=this,pa=l.apply(this,arguments),na=pa.originalStack=pa.stack;if(f.stackRewrite&&na){var xa=c.currentZoneFrame();if("lazy"===M)pa[c.symbol("zoneFrameNames")]=d(xa);else if("default"===M)try{pa.stack=pa.zoneAwareStack=e(na,xa)}catch(Fa){}}return this instanceof l&&this.constructor!=l?(Object.keys(pa).concat("stack","message").forEach(function(Fa){var Ha=pa[Fa];if(void 0!==Ha)try{ba[Fa]=Ha}catch(Bb){}}),this):pa}
var h=c.symbol("zoneJsInternalStackFrames"),l=a[c.symbol("Error")]=a.Error,q={},u,x,y,G,J;a.Error=f;var M=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=l.prototype;f[h]=q;f.stackRewrite=!1;var V=c.symbol("zoneAwareStack");"lazy"===M&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[V]||(this[V]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[V]},set:function(ba){this.originalStack=
ba;this[V]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var U=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(l))&&a.forEach(function(ba){0===U.filter(function(pa){return pa===ba}).length&&Object.defineProperty(f,ba,{get:function(){return l[ba]},set:function(pa){l[ba]=pa}})});l.hasOwnProperty("stackTraceLimit")&&(l.stackTraceLimit=Math.max(l.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",{get:function(){return l.stackTraceLimit},set:function(ba){return l.stackTraceLimit=
ba}}));l.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(ba,pa){l.captureStackTrace(ba,pa)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return l.prepareStackTrace},set:function(ba){return ba&&"function"===typeof ba?l.prepareStackTrace=function(pa,na){if(na)for(var xa=0;xa<na.length;xa++)if("zoneCaptureStackTrace"===na[xa].getFunctionName()){na.splice(xa,1);break}return ba.call(this,pa,na)}:l.prepareStackTrace=ba}});if("disable"!==
M){var W=b.current.fork({name:"detect",onHandleError:function(ba,pa,na,xa){if(xa.originalStack&&Error===f)for(ba=xa.originalStack.split(/\n/),xa=na=pa=!1;ba.length;){var Fa=ba.shift();if(/:\d+:\d+/.test(Fa)||"ZoneAwareError"===Fa){var Ha=Fa.split("(")[0].split("@")[0],Bb=1;-1!==Ha.indexOf("ZoneAwareError")&&(-1!==Ha.indexOf("new ZoneAwareError")?(u=Fa,x=Fa.replace("new ZoneAwareError","new Error.ZoneAwareError")):(y=Fa,G=Fa.replace("Error.",""),-1===Fa.indexOf("Error.ZoneAwareError")&&(J=Fa.replace("ZoneAwareError",
"Error.ZoneAwareError"))),q[x]=0);-1!==Ha.indexOf("runGuarded")?na=!0:-1!==Ha.indexOf("runTask")?xa=!0:-1!==Ha.indexOf("run")?pa=!0:Bb=0;q[Fa]=Bb;if(pa&&na&&xa){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(ba,pa,na,xa){return ba.scheduleTask(na,xa)},onInvokeTask:function(ba,pa,na,xa,Fa,Ha){return ba.invokeTask(na,xa,Fa,Ha)},onCancelTask:function(ba,pa,na,xa){return ba.cancelTask(na,xa)},onInvoke:function(ba,pa,na,xa,Fa,Ha,Bb){return ba.invoke(na,xa,Fa,Ha,Bb)}});
b=Error.stackTraceLimit;Error.stackTraceLimit=100;W.run(function(){W.runGuarded(function(){var ba=function(){};W.scheduleEventTask(h,function(){W.scheduleMacroTask(h,function(){W.scheduleMicroTask(h,function(){throw Error();},void 0,function(pa){pa._transitionTo=ba;pa.invoke()});W.scheduleMicroTask(h,function(){throw Error();},void 0,function(pa){pa._transitionTo=ba;pa.invoke()})},void 0,function(pa){pa._transitionTo=ba;pa.invoke()},function(){})},void 0,function(pa){pa._transitionTo=ba;pa.invoke()},
function(){})})});Error.stackTraceLimit=b}});var sc=Object.getOwnPropertyDescriptor,qca=Object.defineProperty,tca=Object.getPrototypeOf,aDb=Object.create,bDb=Array.prototype.slice,cDb=Zone.__symbol__("addEventListener"),dDb=Zone.__symbol__("removeEventListener"),Bc=Zone.__symbol__(""),uc=Zone.__symbol__,eDb="undefined"!==typeof window,Ac=eDb?window:void 0,wc=eDb&&Ac||"object"===typeof self&&self||global,fDb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Dc=!("nw"in wc)&&"undefined"!==typeof wc.process&&"[object process]"===
{}.toString.call(wc.process),gDb=!Dc&&!fDb&&!(!eDb||!Ac.HTMLElement),hDb="undefined"!==typeof wc.process&&"[object process]"==={}.toString.call(wc.process)&&!fDb&&!(!eDb||!Ac.HTMLElement),vc={},pca=function(a){if(a=a||wc.event){var b=vc[a.type];b||(b=vc[a.type]=uc("ON_PROPERTY"+a.type));var c=this||a.target||wc;b=c[b];gDb&&c===Ac&&"error"===a.type?(c=a,c=b&&b.call(this,c.message,c.filename,c.lineno,c.colno,c.error),!0===c&&a.preventDefault()):(c=b&&b.apply(this,arguments),void 0==c||c||a.preventDefault());
return c}},xc=uc("originalInstance"),vca=!1,wca=!1;var Ec=!1;if("undefined"!==typeof window)try{var iDb=Object.defineProperty({},"passive",{get:function(){Ec=!0}});window.addEventListener("test",iDb,iDb);window.removeEventListener("test",iDb,iDb)}catch(a){Ec=!1}var Bca={useG:!0},Cc={},Aca={},Dca=new RegExp("^"+Bc+"(\\w+)(true|false)$"),zca=uc("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d(Ua){if(Ua&&Ua.toString===Object.prototype.toString){var bb=Ua.constructor&&Ua.constructor.name;return(bb?bb:"")+": "+JSON.stringify(Ua)}return Ua?Ua.toString():Object.prototype.toString.call(Ua)}function e(Ua){c.onUnhandledError(Ua);try{var bb=b[na];"function"===typeof bb&&bb.call(this,Ua)}catch(Sa){}}function f(Ua){return Ua}function h(Ua){return La.reject(Ua)}function l(Ua,bb){return function(Sa){try{q(Ua,bb,Sa)}catch(sb){q(Ua,!1,sb)}}}
function q(Ua,bb,Sa){var sb=Ya();if(Ua===Sa)throw new TypeError("oa");if(null===Ua[xa]){var Za=null;try{if("object"===typeof Sa||"function"===typeof Sa)Za=Sa&&Sa.then}catch(Cb){return sb(function(){q(Ua,!1,Cb)})(),Ua}if(!1!==bb&&Sa instanceof La&&Sa.hasOwnProperty(xa)&&Sa.hasOwnProperty(Fa)&&null!==Sa[xa])u(Sa),q(Ua,Sa[xa],Sa[Fa]);else if(!1!==bb&&"function"===typeof Za)try{Za.call(Sa,sb(l(Ua,bb)),sb(l(Ua,!1)))}catch(Cb){sb(function(){q(Ua,!1,Cb)})()}else{Ua[xa]=bb;sb=Ua[Fa];Ua[Fa]=Sa;Ua[Ha]===Ha&&
!0===bb&&(Ua[xa]=Ua[lb],Ua[Fa]=Ua[Bb]);!1===bb&&Sa instanceof Error&&(Za=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&M(Sa,qa,{configurable:!0,enumerable:!1,writable:!0,value:Za});for(Za=0;Za<sb.length;)x(Ua,sb[Za++],sb[Za++],sb[Za++],sb[Za++]);if(0==sb.length&&0==bb){Ua[xa]=0;bb=Sa;try{throw Error("pa`"+d(Sa)+"`"+(Sa&&Sa.stack?"\n"+Sa.stack:""));}catch(Cb){bb=Cb}W&&(bb.throwOriginal=!0);bb.rejection=Sa;bb.promise=Ua;bb.zone=b.current;bb.task=b.currentTask;U.push(bb);
c.scheduleMicroTask()}}}return Ua}function u(Ua){if(0===Ua[xa]){try{var bb=b[Ba];bb&&"function"===typeof bb&&bb.call(this,{rejection:Ua[Fa],promise:Ua})}catch(Sa){}Ua[xa]=!1;for(bb=0;bb<U.length;bb++)Ua===U[bb].promise&&U.splice(bb,1)}}function x(Ua,bb,Sa,sb,Za){u(Ua);var Cb=Ua[xa],Wb=Cb?"function"===typeof sb?sb:f:"function"===typeof Za?Za:h;bb.scheduleMicroTask("Promise.then",function(){try{var rc=Ua[Fa],Kc=!!Sa&&Ha===Sa[Ha];Kc&&(Sa[Bb]=rc,Sa[lb]=Cb);var Pe=bb.run(Wb,void 0,Kc&&Wb!==h&&Wb!==f?[]:
[rc]);q(Sa,!0,Pe)}catch(xd){q(Sa,!1,xd)}},Sa)}function y(Ua){var bb=Ua.prototype,Sa=J(bb,"then");if(!Sa||!1!==Sa.writable&&Sa.configurable){var sb=bb.then;bb[pa]=sb;Ua.prototype.then=function(Za,Cb){var Wb=this;return(new La(function(rc,Kc){sb.call(Wb,rc,Kc)})).then(Za,Cb)};Ua[fc]=!0}}function G(Ua){return function(bb,Sa){bb=Ua.apply(bb,Sa);if(bb instanceof La)return bb;Sa=bb.constructor;Sa[fc]||y(Sa);return bb}}var J=Object.getOwnPropertyDescriptor,M=Object.defineProperty,V=c.symbol,U=[],W=!0===
a[V("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],ba=V("Promise"),pa=V("then");c.onUnhandledError=function(Ua){if(c.showUncaughtError()){var bb=Ua&&Ua.rejection;bb?console.error("Unhandled Promise rejection:",bb instanceof Error?bb.message:bb,"; Zone:",Ua.zone.name,"; Task:",Ua.task&&Ua.task.source,"; Value:",bb,bb instanceof Error?bb.stack:void 0):console.error(Ua)}};c.microtaskDrainDone=function(){for(var Ua={};U.length;){Ua.$jscomp$loop$prop$uncaughtPromiseError$2101=U.shift();try{Ua.$jscomp$loop$prop$uncaughtPromiseError$2101.zone.runGuarded(function(bb){return function(){if(bb.$jscomp$loop$prop$uncaughtPromiseError$2101.throwOriginal)throw bb.$jscomp$loop$prop$uncaughtPromiseError$2101.rejection;
throw bb.$jscomp$loop$prop$uncaughtPromiseError$2101;}}(Ua))}catch(bb){e(bb)}Ua={$jscomp$loop$prop$uncaughtPromiseError$2101:Ua.$jscomp$loop$prop$uncaughtPromiseError$2101}}};var na=V("unhandledPromiseRejectionHandler"),xa=V("state"),Fa=V("value"),Ha=V("finally"),Bb=V("parentPromiseValue"),lb=V("parentPromiseState"),Ya=function(){var Ua=!1;return function(bb){return function(){Ua||(Ua=!0,bb.apply(null,arguments))}}},qa=V("currentTaskTrace"),Ba=V("rejectionHandledHandler"),Ea=function(){},Oa=a.AggregateError,
La=function(Ua){if(!(this instanceof La))throw Error("qa");this[xa]=null;this[Fa]=[];try{var bb=Ya();Ua&&Ua(bb(l(this,!0)),bb(l(this,!1)))}catch(Sa){q(this,!1,Sa)}};La.toString=function(){return"function ZoneAwarePromise() { [native code] }"};La.resolve=function(Ua){return q(new this(null),!0,Ua)};La.reject=function(Ua){return q(new this(null),!1,Ua)};La.any=function(Ua){if(!Ua||"function"!==typeof Ua[Symbol.iterator])return Promise.reject(new Oa([],"All promises were rejected"));var bb=[],Sa=0;try{for(var sb=
m(Ua),Za=sb.next();!Za.done;Za=sb.next()){var Cb=Za.value;Sa++;bb.push(La.resolve(Cb))}}catch(Kc){return Promise.reject(new Oa([],"All promises were rejected"))}if(0===Sa)return Promise.reject(new Oa([],"All promises were rejected"));var Wb=!1,rc=[];return new La(function(Kc,Pe){for(var xd=0;xd<bb.length;xd++)bb[xd].then(function(ee){Wb||(Wb=!0,Kc(ee))},function(ee){rc.push(ee);Sa--;0===Sa&&(Wb=!0,Pe(new Oa(rc,"All promises were rejected")))})})};La.race=function(Ua){function bb(rc){sb(rc)}function Sa(rc){Za(rc)}
var sb,Za,Cb=new this(function(rc,Kc){sb=rc;Za=Kc});Ua=m(Ua);for(var Wb=Ua.next();!Wb.done;Wb=Ua.next())(Wb=Wb.value)&&Wb.then||(Wb=this.resolve(Wb)),Wb.then(bb,Sa);return Cb};La.all=function(Ua){return La.allWithCallback(Ua)};La.allSettled=function(Ua){return(this&&this.prototype instanceof La?this:La).allWithCallback(Ua,{thenCallback:function(bb){return{status:"fulfilled",value:bb}},errorCallback:function(bb){return{status:"rejected",reason:bb}}})};La.allWithCallback=function(Ua,bb){var Sa,sb,Za=
new this(function(xd,ee){Sa=xd;sb=ee}),Cb=2,Wb=0,rc=[],Kc={};Ua=m(Ua);for(var Pe=Ua.next();!Pe.done;Kc={$jscomp$loop$prop$curValueIndex$2104:Kc.$jscomp$loop$prop$curValueIndex$2104},Pe=Ua.next()){(Pe=Pe.value)&&Pe.then||(Pe=this.resolve(Pe));Kc.$jscomp$loop$prop$curValueIndex$2104=Wb;try{Pe.then(function(xd){return function(ee){rc[xd.$jscomp$loop$prop$curValueIndex$2104]=bb?bb.thenCallback(ee):ee;Cb--;0===Cb&&Sa(rc)}}(Kc),function(xd){return function(ee){bb?(rc[xd.$jscomp$loop$prop$curValueIndex$2104]=
bb.errorCallback(ee),Cb--,0===Cb&&Sa(rc)):sb(ee)}}(Kc))}catch(xd){sb(xd)}Cb++;Wb++}Cb-=2;0===Cb&&Sa(rc);return Za};Ei.Object.defineProperty(La.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});Ei.Object.defineProperty(La.prototype,Symbol.species,{configurable:!0,enumerable:!0,get:function(){return La}});La.prototype.then=function(Ua,bb){var Sa,sb=null==(Sa=this.constructor)?void 0:Sa[Symbol.species];sb&&"function"===typeof sb||(sb=this.constructor||La);
Sa=new sb(Ea);sb=b.current;null==this[xa]?this[Fa].push(sb,Sa,Ua,bb):x(this,sb,Sa,Ua,bb);return Sa};La.prototype.catch=function(Ua){return this.then(null,Ua)};La.prototype.finally=function(Ua){var bb,Sa=null==(bb=this.constructor)?void 0:bb[Symbol.species];Sa&&"function"===typeof Sa||(Sa=La);bb=new Sa(Ea);bb[Ha]=Ha;Sa=b.current;null==this[xa]?this[Fa].push(Sa,bb,Ua,Ua):x(this,Sa,bb,Ua,Ua);return bb};La.resolve=La.resolve;La.reject=La.reject;La.race=La.race;La.all=La.all;ba=a[ba]=a.Promise;a.Promise=
La;var fc=V("thenPatched");c.patchThen=y;ba&&(y(ba),zc(a,"fetch",function(Ua){return G(Ua)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=U;return La});var Fc=uc("zoneTask");Zone.__load_patch("toString",function(a){var b=Function.prototype.toString,c=uc("OriginalDelegate"),d=uc("Promise"),e=uc("Error"),f=function(){if("function"===typeof this){var l=this[c];if(l)return"function"===typeof l?b.call(l):Object.prototype.toString.call(l);if(this===Promise&&(l=a[d])||this===Error&&(l=a[e]))return b.call(l)}return b.call(this)};f[c]=b;Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return"function"===typeof Promise&&this instanceof
Promise?"[object Promise]":h.call(this)}});Zone.__load_patch("util",function(a,b,c){var d=Ica(a);c.patchOnProperties=sca;c.patchMethod=zc;c.bindArguments=mca;c.patchMacroTask=uca;var e=b.__symbol__("BLACK_LISTED_EVENTS"),f=b.__symbol__("UNPATCHED_EVENTS");a[f]&&(a[e]=a[f]);a[e]&&(b[e]=b[f]=a[e]);c.patchEventPrototype=Fca;c.patchEventTarget=Eca;c.isIEOrEdge=xca;c.ObjectDefineProperty=qca;c.ObjectGetOwnPropertyDescriptor=sc;c.ObjectCreate=aDb;c.ArraySlice=bDb;c.patchClass=yc;c.wrapWithCurrentZone=lca;c.filterProperties=Hca;c.attachOriginToPatched=
tc;c._redefineProperty=Object.defineProperty;c.patchCallbacks=Gca;c.getGlobalObjects=function(){return{globalSources:Aca,zoneSymbolEventNames:Cc,eventNames:d,isBrowser:gDb,isMix:hDb,isNode:Dc,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:Bc,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var Hc,Ic,Jca,Kca,Jc;var Sca=[].concat(p("abort animationcancel animationend animationiteration auxclick beforeinput blur cancel canplay canplaythrough change compositionstart compositionupdate compositionend cuechange click close contextmenu curechange dblclick drag dragend dragenter dragexit dragleave dragover drop durationchange emptied ended error focus focusin focusout gotpointercapture input invalid keydown keypress keyup load loadstart loadeddata loadedmetadata lostpointercapture mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup mousewheel orientationchange pause play playing pointercancel pointerdown pointerenter pointerleave pointerlockchange mozpointerlockchange webkitpointerlockerchange pointerlockerror mozpointerlockerror webkitpointerlockerror pointermove pointout pointerover pointerup progress ratechange reset resize scroll seeked seeking select selectionchange selectstart show sort stalled submit suspend timeupdate volumechange touchcancel touchmove touchstart touchend transitioncancel transitionend waiting wheel".split(" ")),
p(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),p(["autocomplete","autocompleteerror"]),p(["toggle"]),p("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),p("absolutedeviceorientation afterinput afterprint appinstalled beforeinstallprompt beforeprint beforeunload devicelight devicemotion deviceorientation deviceorientationabsolute deviceproximity hashchange languagechange message mozbeforepaint offline online paint pageshow pagehide popstate rejectionhandled storage unhandledrejection unload userproximity vrdisplayconnected vrdisplaydisconnected vrdisplaypresentchange".split(" ")),
p("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),p("activate afterupdate ariarequest beforeactivate beforedeactivate beforeeditfocus beforeupdate cellchange controlselect dataavailable datasetchanged datasetcomplete errorupdate filterchange layoutcomplete losecapture move moveend movestart propertychange resizeend resizestart rowenter rowexit rowsdelete rowsinserted command compassneedscalibration deactivate help mscontentzoom msmanipulationstatechanged msgesturechange msgesturedoubletap msgestureend msgesturehold msgesturestart msgesturetap msgotpointercapture msinertiastart mslostpointercapture mspointercancel mspointerdown mspointerenter mspointerhover mspointerleave mspointermove mspointerout mspointerover mspointerup pointerout mssitemodejumplistitemremoved msthumbnailclick stop storagecommit".split(" ")));(function(a){a[(a.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var b=a.Zone;b.__load_patch("defineProperty",function(c,d,e){e._redefineProperty=Oca;Nca()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var f=d.isMix;(d.isBrowser||f)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,
d,e){Pca(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Rca(e,c)||(d="undefined"!==typeof WebSocket,Tca(e),e.patchClass("XMLHttpRequest"),d&&Qca(e,c),Zone[e.symbol("patchEvents")]=!0)})}})("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{});Zone.__load_patch("legacy",function(a){(a=a[Zone.__symbol__("legacyPatch")])&&a()});Zone.__load_patch("queueMicrotask",function(a,b,c){c.patchMethod(a,"queueMicrotask",function(){return function(d,e){b.current.scheduleMicroTask("queueMicrotask",e[0])}})});Zone.__load_patch("timers",function(a){Gc(a,"set","clear","Timeout");Gc(a,"set","clear","Interval");Gc(a,"set","clear","Immediate")});
Zone.__load_patch("requestAnimationFrame",function(a){Gc(a,"request","cancel","AnimationFrame");Gc(a,"mozRequest","mozCancel","AnimationFrame");Gc(a,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)zc(a,c[d],function(e,f,h){return function(l,q){return b.current.run(e,a,q,h)}})});
Zone.__load_patch("EventTarget",function(a,b,c){c.patchEventPrototype(a,c);if(!Zone[c.symbol("patchEventTarget")]){var d=c.getGlobalObjects();b=d.eventNames;var e=d.zoneSymbolEventNames,f=d.TRUE_STR,h=d.FALSE_STR;d=d.ZONE_SYMBOL_PREFIX;for(var l=0;l<b.length;l++){var q=b[l],u=d+(q+h),x=d+(q+f);e[q]={};e[q][h]=u;e[q][f]=x}(b=a.EventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b&&b.prototype])}(b=a.XMLHttpRequestEventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b.prototype])});
Zone.__load_patch("MutationObserver",function(){yc("MutationObserver");yc("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){yc("IntersectionObserver")});Zone.__load_patch("FileReader",function(){yc("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!Dc||hDb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(gDb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=Ac.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")){var f=!0;break a}}catch(l){}f=!1}e=f?[{target:d,ignoreProperties:["error"]}]:
[];f=Ica(d);var h=b?b.concat(e):b;e=tca(d);d&&(f=Hca(d,f,h),sca(d,f,e))}c=c.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));for(d=0;d<c.length;d++)(e=a[c[d]])&&e.prototype&&(f=e.prototype,e=Ica(e.prototype),f&&(e=Hca(f,e,b),sca(f,e,void 0)))}});
Zone.__load_patch("customElements",function(a,b,c){b=c.getGlobalObjects();var d=b.isMix;(b.isBrowser||d)&&a.customElements&&"customElements"in a&&c.patchCallbacks(c,a.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])});
Zone.__load_patch("XHR",function(a,b){(function(q){function u(na){var xa=na.data,Fa=xa.target;Fa[f]=!1;Fa[l]=!1;var Ha=Fa[e];J||(J=Fa[cDb],M=Fa[dDb]);Ha&&M.call(Fa,"readystatechange",Ha);Ha=Fa[e]=function(){if(Fa.readyState===Fa.DONE)if(!xa.aborted&&Fa[f]&&"scheduled"===na.state){var Bb=Fa[b.__symbol__("loadfalse")];if(0!==Fa.status&&Bb&&0<Bb.length){var lb=na.invoke;na.invoke=function(){for(var Ya=Fa[b.__symbol__("loadfalse")],qa=0;qa<Ya.length;qa++)Ya[qa]===na&&Ya.splice(qa,1);xa.aborted||"scheduled"!==
na.state||lb.call(na)};Bb.push(na)}else na.invoke()}else xa.aborted||!1!==Fa[f]||(Fa[l]=!0)};J.call(Fa,"readystatechange",Ha);Fa[c]||(Fa[c]=na);ba.apply(Fa,xa.args);Fa[f]=!0;return na}function x(){}function y(na){na=na.data;na.aborted=!0;return pa.apply(na.target,na.args)}var G=q.XMLHttpRequest;if(G){G=G.prototype;var J=G[cDb],M=G[dDb];!J&&(q=q.XMLHttpRequestEventTarget)&&(q=q.prototype,J=q[cDb],M=q[dDb]);var V=zc(G,"open",function(){return function(na,xa){na[d]=0==xa[2];na[h]=xa[1];return V.apply(na,
xa)}}),U=uc("fetchTaskAborting"),W=uc("fetchTaskScheduling"),ba=zc(G,"send",function(){return function(na,xa){if(!0===b.current[W]||na[d])return ba.apply(na,xa);xa={target:na,url:na[h],isPeriodic:!1,args:xa,aborted:!1};var Fa=Zone.current.scheduleMacroTask("XMLHttpRequest.send",x,xa,u,y);na&&!0===na[l]&&!xa.aborted&&"scheduled"===Fa.state&&Fa.invoke()}}),pa=zc(G,"abort",function(){return function(na,xa){var Fa=na[c];if(Fa&&"string"==typeof Fa.type)null==Fa.cancelFn||Fa.data&&Fa.data.aborted||Fa.zone.cancelTask(Fa);
else if(!0===b.current[U])return pa.apply(na,xa)}})}})(a);var c=uc("xhrTask"),d=uc("xhrSync"),e=uc("xhrListener"),f=uc("xhrScheduled"),h=uc("xhrURL"),l=uc("xhrErrorBeforeScheduled")});Zone.__load_patch("geolocation",function(a){a.navigator&&a.navigator.geolocation&&oca(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){Cca(a,d).forEach(function(f){var h=a.PromiseRejectionEvent;h&&(h=new h(d,{promise:e.promise,reason:e.rejection}),f.invoke(h))})}}a.PromiseRejectionEvent&&(b[uc("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[uc("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;"undefined"!==typeof a&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})});var Xca=Lc({__forward_ref__:Lc});var Yca=Lc({"\u0275prov":Lc}),ada=Lc({"\u0275inj":Lc}),Zca=Lc({ngInjectableDef:Lc}),bda=Lc({ngInjectorDef:Lc});var Ud=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=Pc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};Ud.prototype.toString=function(){return"InjectionToken "+this._desc};Ei.Object.defineProperties(Ud.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var $da=new Ud("ENVIRONMENT_INITIALIZER");var me="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof global&&global||"undefined"!==typeof window&&window||"undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var Tc=function(a,b){b=Error.call(this,"NG0"+Math.abs(a)+(b?": "+b.trim():""));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};X(Tc,Error);var dda;var jDb={},kDb=/\n/gm,Wc=void 0;var lDb=$c(cd(function(a){return{token:a}}),-1),Cv=$c(cd(),8);$c(cd(),2);var Dv=$c(cd(),4);$c(cd(),1);var ed=Lc({"\u0275cmp":Lc}),oda=Lc({"\u0275dir":Lc}),pda=Lc({"\u0275pipe":Lc}),mDb=Lc({"\u0275mod":Lc}),kd=Lc({"\u0275fac":Lc}),Gd=Lc({__NG_ELEMENT_ID__:Lc}),nDb=Lc({__NG_ENV_ID__:Lc});var gd={},dd=[];var ida=0;var tda=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};tda.prototype.isFirstChange=function(){return this.firstChange};md.ngInherit=!0;var rd=zda(null);var Md=function(a,b){var c=A;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var Fda=!0,Gda=0,Jd={},Nd=function(a,b){this._tNode=a;this._lView=b};Nd.prototype.get=function(a,b,c){return Oda(this._tNode,this._lView,a,Yc(c),b)};Lc({provide:String,useValue:Lc});var Zda=new Ud("INJECTOR_DEF_TYPES");var aea=Lc({provide:String,useValue:Lc});var oDb=new Ud("INJECTOR",-1);var dea=function(){};dea.prototype.get=function(a,b){b=void 0===b?jDb:b;if(b===jDb)throw a=Error("va`"+Mc(a)),a.name="NullInjectorError",a;return b};var Jha=new Ud("Set Injector scope.");var Wd={},pDb={},cea=void 0,Ev=function(){},Xd=function(a,b,c,d){var e=this;this.parent=b;this.source=c;this.scopes=d;this.records=new Map;this._ngOnDestroyHooks=new Set;this._onDestroyHooks=[];this._destroyed=!1;iea(a,function(f){return qDb(e,f)});this.records.set(oDb,Vd(void 0,this));d.has("environment")&&this.records.set(Ev,Vd(void 0,this));a=this.records.get(Jha);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Zda.multi,dd,2))};X(Xd,Ev);
Xd.prototype.destroy=function(){rDb(this);this._destroyed=!0;try{for(var a=m(this._ngOnDestroyHooks),b=a.next();!b.done;b=a.next())b.value.ngOnDestroy();for(var c=m(this._onDestroyHooks),d=c.next();!d.done;d=c.next()){var e=d.value;e()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}};Xd.prototype.onDestroy=function(a){this._onDestroyHooks.push(a)};var Mi=function(a,b){rDb(a);a=Xc(a);var c=Vc();try{return b()}finally{Xc(a),Vc(c)}};
Xd.prototype.get=function(a,b,c){b=void 0===b?jDb:b;c=void 0===c?0:c;rDb(this);if(a.hasOwnProperty(nDb))return a[nDb](this);c=Yc(c);var d=Xc(this),e=Vc();try{if(!(c&4)){var f=this.records.get(a);if(void 0===f){var h=("function"===typeof a||"object"===typeof a&&a instanceof Ud)&&Rc(a),l;if(l=h)if(h.providedIn){var q=Oc(h.providedIn);l="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?f=Vd(fea(a),Wd):f=null;this.records.set(a,f)}if(null!=f){b=f;b.value===Wd&&
(b.value=pDb,b.value=b.factory());var u;if(u="object"===typeof b.value&&b.value){var x=b.value;u=null!==x&&"object"===typeof x&&"function"===typeof x.ngOnDestroy}u&&this._ngOnDestroyHooks.add(b.value);return b.value}}var y=c&2?Td():this.parent;b=c&8&&b===jDb?null:b;return y.get(a,b)}catch(pa){if("NullInjectorError"===pa.name){(pa.ngTempTokenPath=pa.ngTempTokenPath||[]).unshift(Mc(a));if(d)throw pa;u=pa;var G=this.source,J=u.ngTempTokenPath;a.__source&&J.unshift(a.__source);var M="\n"+u.message;a=
G;a=void 0===a?null:a;M=M&&"\n"===M.charAt(0)&&"\u0275"==M.charAt(1)?M.slice(2):M;var V=Mc(J);if(Array.isArray(J))V=J.map(Mc).join(" -> ");else if("object"===typeof J){G=[];for(var U in J)if(J.hasOwnProperty(U)){var W=J[U];G.push(U+":"+("string"===typeof W?JSON.stringify(W):Mc(W)))}V="{"+G.join(", ")+"}"}var ba="R3InjectorError"+(a?"("+a+")":"")+"["+V+"]: "+M.replace(kDb,"\n  ");u.message=ba;u.ngTokenPath=J;u.ngTempTokenPath=null;throw u;}throw pa;}finally{Vc(e),Xc(d)}};
var kea=function(a){var b=Xc(a),c=Vc();try{for(var d=a.get($da.multi,dd,2),e=m(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{Xc(b),Vc(c)}};Xd.prototype.toString=function(){for(var a=[],b=m(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Mc(c.value));return"R3Injector["+a.join(", ")+"]"};
var rDb=function(a){if(a._destroyed)throw new Tc(205,!1);},qDb=function(a,b){b=Oc(b);var c=Sd(b)?b:Oc(b&&b.provide),d=hea(b);if(Sd(b)||!0!==b.multi)a.records.get(c);else{var e=a.records.get(c);e||(e=Vd(void 0,Wd,!0),e.factory=function(){return gda(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};Ei.Object.defineProperties(Xd.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var Fv=function(){},Wf=function(a){if(Array.isArray(a))return lea({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return lea({name:c},a.parent,a.providers,c)},sDb=new dea;Fv.\u0275prov=Pc({token:Fv,providedIn:"any",factory:function(){return n(oDb)}});Fv.__NG_ELEMENT_ID__=-1;var tDb=function(a,b){this.token=a;this.id=b;if(!a)throw new Tc(208,!1);this.displayName=Mc(this.token)};Ei.Object.defineProperties(tDb,{numberOfKeys:{configurable:!0,enumerable:!0,get:function(){return uDb.numberOfKeys}}});var vDb=function(){this._allKeys=new Map};vDb.prototype.get=function(a){if(a instanceof tDb)return a;if(this._allKeys.has(a))return this._allKeys.get(a);var b=new tDb(a,tDb.numberOfKeys);this._allKeys.set(a,b);return b};
Ei.Object.defineProperties(vDb.prototype,{numberOfKeys:{configurable:!0,enumerable:!0,get:function(){return this._allKeys.size}}});var uDb=new vDb;uDb.get(Oc(Fv));var Gv=function(){};var Hv=function(){},wDb=function(){};var xDb=function(){},yDb=function(){};var Yd=function(a){this.nativeElement=a};Yd.__NG_ELEMENT_ID__=function(){return Zd(sd(),t())};var Iv=function(){},Jv=function(){};Jv.__NG_ELEMENT_ID__=function(){var a=t(),b=pd(sd().index,a);return(id(b)?b:a)[11]};var nea=new Map,Zea=0;var Ce=function(){this._console=console};Ce.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};Ce.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};var ze={};var Vea=void 0;var ie=function(a){this.changingThisBreaksApplicationSecurity=a};ie.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var zDb=function(){ie.apply(this,arguments)};X(zDb,ie);zDb.prototype.getTypeName=function(){return"HTML"};var ADb=function(){ie.apply(this,arguments)};X(ADb,ie);ADb.prototype.getTypeName=function(){return"URL"};var BDb=function(){ie.apply(this,arguments)};X(BDb,ie);
BDb.prototype.getTypeName=function(){return"ResourceURL"};var le;var Kea=function(a){this.inertDocumentHelper=a};Kea.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(ne(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var Jea=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
Jea.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=ne(a);return b};var Eea=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var CDb=oe("area,br,col,hr,img,wbr"),DDb=oe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),EDb=oe("rp,rt"),FDb=pe(EDb,DDb),GDb=pe(DDb,oe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),HDb=pe(EDb,oe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),
Mea=pe(CDb,GDb,HDb,FDb),Oea=oe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),IDb=oe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),
JDb=oe("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),
Nea=pe(Oea,IDb,JDb),Pea=oe("script,style,template"),Lea=function(){this.buf=[]};Lea.prototype.endElement=function(a){a=a.nodeName.toLowerCase();Mea.hasOwnProperty(a)&&!CDb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var Qea=function(a,b){if(b&&(a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("ya`"+a.outerHTML);return b},Gea=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Hea=/([^#-~ |!])/g,qe;var KDb={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5,0:"NONE",1:"HTML",2:"STYLE",3:"SCRIPT",4:"URL",5:"RESOURCE_URL"};var re;var ah=function(a,b){this._lView=a;this._cdRefInjectingView=b;this._appRef=null;this._attachedToViewContainer=!1};g=ah.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(jd(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(sea(a,c),Pd(b,c))}this._attachedToViewContainer=!1}uea(this._lView[1],this._lView)};g.onDestroy=function(a){var b=this._lView;null===b[22]&&(b[22]=[]);b[22].push(a)};
g.markForCheck=function(){pfa(this._cdRefInjectingView||this._lView)};g.detach=function(){this._lView[2]&=-65};g.detectChanges=function(){rfa(this._lView[1],this._lView,this.context)};
Ei.Object.defineProperties(ah.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return Ee(b,a,b.firstChild,[])}},context:{configurable:!0,enumerable:!0,get:function(){return this._lView[8]},set:function(a){this._lView[8]=a}},destroyed:{configurable:!0,enumerable:!0,get:function(){return 128===(this._lView[2]&128)}}});var LDb=function(a){ah.call(this,a);this._view=a};X(LDb,ah);LDb.prototype.detectChanges=function(){var a=this._view;rfa(a[1],a,a[8],!1)};
Ei.Object.defineProperties(LDb.prototype,{context:{configurable:!0,enumerable:!0,get:function(){return null}}});var MDb=function(){};MDb.\u0275prov=Pc({token:MDb,providedIn:"root",factory:function(){return null}});var NDb=new function(a){this.full=a;this.major=a.split(".")[0];this.minor=a.split(".")[1];this.patch=a.split(".").slice(2).join(".")}("0.0.0-PLACEHOLDER");var ODb={};var PDb=function(a){this.ngModule=a};X(PDb,Gv);PDb.prototype.resolveComponentFactory=function(a){return new Kv(a[ed]||null,this.ngModule)};var QDb=function(a,b){this.injector=a;this.parentInjector=b};QDb.prototype.get=function(a,b,c){c=Yc(c);var d=this.injector.get(a,ODb,c);return d!==ODb||b===ODb?d:this.parentInjector.get(a,b,c)};
var Kv=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(Cea).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};X(Kv,yDb);
Kv.prototype.create=function(a,b,c,d){d=d||this.ngModule;var e;(d=d instanceof Ev?d:null==(e=d)?void 0:e.injector)&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);d=d?new QDb(a,d):a;var f=d.get(Iv,null);if(null===f)throw new Tc(407,!1);var h=d.get(MDb,null);e=f.createRenderer(null,this.componentDef);a=this.componentDef.selectors[0][0]||"div";if(c)a=e.selectRootElement(c,3===this.componentDef.encapsulation);else{var l=a.toLowerCase();a=e.createElement(a,
"svg"===l?"svg":"math"===l?"math":null)}l=a;var q=this.componentDef.onPush?288:272;a=ifa(0,null,null,1,0,null,null,null,null,null);d=ve(null,a,null,q,null,null,f,e,h,d,null);yda(d);try{var u=this.componentDef;h=null;if(u.findHostDirectiveDefs){var x=[];h=new Map;u.findHostDirectiveDefs(u,x,h);x.push(u)}else x=[u];var y=d[1];d[23]=l;var G=we(y,23,2,"#host",null);y=x;for(var J=d[1],M=m(y),V=M.next();!V.done;V=M.next())G.mergedAttrs=Dd(G.mergedAttrs,V.value.hostAttrs);null!==G.mergedAttrs&&(De(G,G.mergedAttrs,
!0),null!==l&&yea(e,l,G));var U=f.createRenderer(l,u),W=ve(d,efa(u),null,u.onPush?32:16,d[G.index],G,f,U,null,null,null);J.firstCreatePass&&mfa(J,G,y.length-1);ye(d,W);var ba=d[G.index]=W;var pa=a.data[23];if(l)if(c)Dda(e,l,["ng-version",NDb.full]);else{var na=u.selectors[0];c=[];G=[];J=1;for(M=2;J<na.length;){var xa=na[J];if("string"===typeof xa)2===M?""!==xa&&c.push(xa,na[++J]):8===M&&G.push(xa);else{if(0!==(M&1))break;M=xa}J++}c&&Dda(e,l,c);if(G&&0<G.length){var Fa=G.join(" ");""===Fa?e.removeAttribute(l,
"class"):e.setAttribute(l,"class",Fa)}}if(void 0!==b){var Ha=this.ngContentSelectors,Bb=pa.projection=[];for(na=0;na<Ha.length;na++){var lb=b[na];Bb.push(null!=lb?Array.from(lb):null)}}b=x;Ha=h;x=[ufa];var Ya=sd(),qa=d[1],Ba=od(Ya,d);nfa(qa,d,Ya,b,null,Ha);for(Ha=0;Ha<b.length;Ha++){var Ea=Ld(d,qa,Ya.directiveStart+Ha,Ya);$d(Ea,d)}ffa(qa,d,Ya);Ba&&$d(Ba,d);var Oa=Ld(d,qa,Ya.directiveStart+Ya.componentOffset,Ya);ba[8]=d[8]=Oa;if(null!==x)for(var La=m(x),fc=La.next();!fc.done;fc=La.next()){var Ua=fc.value;
Ua(Oa,u)}dfa(qa,Ya,ba);var bb=Oa;bfa(a,d,null)}finally{Bda()}return new Lv(this.componentType,bb,Zd(pa,d),d,pa)};Ei.Object.defineProperties(Kv.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){return tfa(this.componentDef.inputs)}},outputs:{configurable:!0,enumerable:!0,get:function(){return tfa(this.componentDef.outputs)}}});var Lv=function(a,b,c,d,e){this.location=c;this._rootLView=d;this._tNode=e;this.instance=b;this.hostView=this.changeDetectorRef=new LDb(d);this.componentType=a};
X(Lv,xDb);Lv.prototype.setInput=function(a,b){var c=this._tNode.inputs,d;null!==c&&(d=c[a])&&(c=this._rootLView,kfa(c[1],c,d,a,b),lfa(c,this._tNode.index))};Lv.prototype.destroy=function(){this.hostView.destroy()};Lv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};Ei.Object.defineProperties(Lv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new Nd(this._tNode,this._rootLView)}}});var Mv=function(a,b){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new PDb(this);var c=(a[mDb]||null).bootstrap;this._bootstrapComponents=c instanceof Function?c():c;this._r3Injector=jea(a,b,[{provide:Hv,useValue:this},{provide:Gv,useValue:this.componentFactoryResolver}],Mc(a),new Set(["environment"]));kea(this._r3Injector);this.instance=this._r3Injector.get(a)};X(Mv,Hv);
Mv.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Mv.prototype.onDestroy=function(a){this.destroyCbs.push(a)};Ei.Object.defineProperties(Mv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var RDb=function(a){this.moduleType=a};X(RDb,wDb);RDb.prototype.create=function(a){return new Mv(this.moduleType,a)};
var Fe=function(a,b,c){this.componentFactoryResolver=new PDb(this);this.instance=null;this.injector=a=new Xd([].concat(p(a),[{provide:Hv,useValue:this},{provide:Gv,useValue:this.componentFactoryResolver}]),b||Td(),c,new Set(["environment"]));kea(a)};X(Fe,Hv);Fe.prototype.destroy=function(){this.injector.destroy()};Fe.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var SDb=new Ud("Application Initializer"),Nv=function(){var a=this;this.done=this.initialized=!1;this.donePromise=new Promise(function(c,d){a.resolve=c;a.reject=d});var b;this.appInits=null!=(b=Zc(SDb,{optional:!0}))?b:[]},TDb=function(a){if(!a.initialized){for(var b=[],c={},d=m(a.appInits),e=d.next();!e.done;c={$jscomp$loop$prop$initResult$2111:c.$jscomp$loop$prop$initResult$2111},e=d.next())e=e.value,c.$jscomp$loop$prop$initResult$2111=e(),Ge(c.$jscomp$loop$prop$initResult$2111)?b.push(c.$jscomp$loop$prop$initResult$2111):
wfa(c.$jscomp$loop$prop$initResult$2111)&&(e=new Promise(function(f){return function(h,l){f.$jscomp$loop$prop$initResult$2111.subscribe({complete:h,error:l})}}(c)),b.push(e));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(f){a.reject(f)});0===b.length&&(a.done=!0,a.resolve());a.initialized=!0}};Nv.\u0275fac=function(a){return new (a||Nv)};Nv.\u0275prov=Pc({token:Nv,factory:Nv.\u0275fac,providedIn:"root"});var UDb=new Ud("AppId",{providedIn:"root",factory:yfa}),Dha=new Ud("Platform Initializer"),VDb=new Ud("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}});new Ud("Application Packages Root URL");var Ov=new Ud("AnimationModuleType");var Pv=function(){};Pv.prototype.log=function(a){console.log(a)};Pv.prototype.warn=function(a){console.warn(a)};Pv.\u0275fac=function(a){return new (a||Pv)};Pv.\u0275prov=Pc({token:Pv,factory:Pv.\u0275fac,providedIn:"platform"});var Afa=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],["SMTWTFS".split(""),"Sun Mon Tue Wed Thu Fri Sat".split(" "),"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),"Su Mo Tu We Th Fr Sa".split(" ")],void 0,["JFMAMJJASOND".split(""),"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),"January February March April May June July August September October November December".split(" ")],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,
0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],". , ; % + - E \u00d7 \u2030 \u221e NaN :".split(" "),["#,##0.###","#,##0%","\u00a4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(a){var b=a.toString().replace(/^[^.]*\.?/,"").length;return 1===Math.floor(Math.abs(a))&&0===b?1:5}];var Bfa={};var Ji=new Ud("LocaleId",{providedIn:"root",factory:function(){return Zc(Ji,12)||("undefined"!==typeof dAb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new Ud("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}});new Ud("Translations");new Ud("TranslationsFormat");var Qv=function(){};Qv.prototype.getModuleId=function(){};Qv.\u0275fac=function(a){return new (a||Qv)};Qv.\u0275prov=Pc({token:Qv,factory:Qv.\u0275fac,providedIn:"root"});new Ud("compilerOptions");var Cfa=Promise.resolve(0);var WDb=!1,Qe={Promise:void 0,set useDeprecatedSynchronousErrorHandling(a){a?console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Error().stack):WDb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");WDb=a},get useDeprecatedSynchronousErrorHandling(){return WDb}};var jf="function"===typeof Symbol&&Symbol.observable||"@@observable";var XDb={closed:!0,next:function(){},error:function(a){if(Qe.useDeprecatedSynchronousErrorHandling)throw a;Ie(a)},complete:function(){}};var Me=function(){function a(b){this.message=b?b.length+" errors occurred during unsubscription:\n"+b.map(function(c,d){return d+1+") "+c.toString()}).join("\n  "):"";this.name="UnsubscriptionError";this.errors=b;return this}a.prototype=Object.create(Error.prototype);return a}();var Xe=Array.isArray||function(a){return a&&"number"===typeof a.length};var Le=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
Le.prototype.unsubscribe=function(){if(!this.closed){var a=this._parentOrParents,b=this._ctorUnsubscribe,c=this._unsubscribe,d=this._subscriptions;this.closed=!0;this._subscriptions=this._parentOrParents=null;if(a instanceof Le)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(Je(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(q){var f=q instanceof Me?Ffa(q.errors):[q]}}if(Xe(d)){e=-1;for(var h=d.length;++e<h;){var l=d[e];if(Ke(l))try{l.unsubscribe()}catch(q){f=
f||[],q instanceof Me?f=f.concat(Ffa(q.errors)):f.push(q)}}}if(f)throw new Me(f);}};
Le.prototype.add=function(a){var b=a;if(!a)return Le.EMPTY;switch(typeof a){case "function":b=new Le(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof Le||(a=b,b=new Le,b._subscriptions=[a]);break;default:throw Error("Aa`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof Le){if(c===this)return b;b._parentOrParents=[c,this]}else if(-1===c.indexOf(this))c.push(this);else return b;
a=this._subscriptions;null===a?this._subscriptions=[b]:a.push(b);return b};Le.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var YDb=new Le;YDb.closed=!0;Le.EMPTY=YDb;var Ne=function(a,b,c){Le.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=XDb;break;case 1:if(!a){this.destination=XDb;break}if("object"===typeof a){a instanceof Ne?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new Rv(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new Rv(this,a,b,c)}};X(Ne,Le);
Ne.EMPTY=Le.EMPTY;Ne.create=function(a,b,c){a=new Ne(a,b,c);a.syncErrorThrowable=!1;return a};g=Ne.prototype;g.next=function(a){this.isStopped||this._next(a)};g.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))};g.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};g.unsubscribe=function(){this.closed||(this.isStopped=!0,Le.prototype.unsubscribe.call(this))};g._next=function(a){this.destination.next(a)};g._error=function(a){this.destination.error(a);this.unsubscribe()};
g._complete=function(){this.destination.complete();this.unsubscribe()};var Rv=function(a,b,c,d){Ne.call(this);this._parentSubscriber=a;var e=this;if(Je(b))var f=b;else b&&(f=b.next,c=b.error,d=b.complete,b!==XDb&&(e=Object.create(b),Efa(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this._context=e;this._next=f;this._error=c;this._complete=d};X(Rv,Ne);Rv.EMPTY=Ne.EMPTY;Rv.create=Ne.create;g=Rv.prototype;
g.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;Qe.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}};
g.error=function(a){if(!this.isStopped){var b=this._parentSubscriber,c=Qe.useDeprecatedSynchronousErrorHandling;if(this._error)c&&b.syncErrorThrowable?this.__tryOrSetError(b,this._error,a):this.__tryOrUnsub(this._error,a),this.unsubscribe();else if(b.syncErrorThrowable)c?(b.syncErrorValue=a,b.syncErrorThrown=!0):Ie(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;Ie(a)}}};
g.complete=function(){var a=this;if(!this.isStopped){var b=this._parentSubscriber;if(this._complete){var c=function(){return a._complete.call(a._context)};Qe.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,c):this.__tryOrUnsub(c)}this.unsubscribe()}};g.__tryOrUnsub=function(a,b){try{a.call(this._context,b)}catch(c){this.unsubscribe();if(Qe.useDeprecatedSynchronousErrorHandling)throw c;Ie(c)}};
g.__tryOrSetError=function(a,b,c){if(!Qe.useDeprecatedSynchronousErrorHandling)throw Error("Ba");try{b.call(this._context,c)}catch(d){return Qe.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):Ie(d),!0}return!1};g._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var ZDb=function(a){Ne.call(this);this.destination=a};X(ZDb,Ne);ZDb.EMPTY=Ne.EMPTY;ZDb.create=Ne.create;var Re=function(a){a&&(this._subscribe=a)};g=Re.prototype;g.lift=function(a){var b=new Re;b.source=this;b.operator=a;return b};
g.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof Ne||Ifa(a)&&Efa(a))break a;if(Ifa(a)){a=new ZDb(a);break a}}a=a||b||c?new Ne(a,b,c):new Ne(XDb)}d?a.add(d.call(a,this.source)):a.add(this.source||Qe.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(Qe.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
g._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){Qe.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),Gfa(a)?a.error(b):console.warn(b)}};g.forEach=function(a,b){var c=this;b=Jfa(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(l){e(l),f&&f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};Re.prototype[jf]=function(){return this};
Re.prototype.pipe=function(){var a=bd.apply(0,arguments);return 0===a.length?this:Hfa(a)(this)};var $Db=function(a){var b=Jfa(b);return new b(function(c,d){var e;a.subscribe(function(f){return e=f},function(f){return d(f)},function(){return c(e)})})};Re.create=function(a){return new Re(a)};var Sv=function(a,b){Le.call(this);this.subject=a;this.subscriber=b;this.closed=!1};X(Sv,Le);Sv.EMPTY=Le.EMPTY;Sv.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this.subject,b=a.observers;this.subject=null;!b||0===b.length||a.isStopped||a.closed||(a=b.indexOf(this.subscriber),-1!==a&&b.splice(a,1))}};var Tv=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}a.prototype=Object.create(Error.prototype);return a}();var Lf=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};X(Lf,Re);g=Lf.prototype;g.lift=function(a){var b=new Uv(this,this);b.operator=a;return b};g.next=function(a){if(this.closed)throw new Tv;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
g.error=function(a){if(this.closed)throw new Tv;this.hasError=!0;this.thrownError=a;this.isStopped=!0;var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].error(a);this.observers.length=0};g.complete=function(){if(this.closed)throw new Tv;this.isStopped=!0;var a=this.observers,b=a.length;a=a.slice();for(var c=0;c<b;c++)a[c].complete();this.observers.length=0};g.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
g._trySubscribe=function(a){if(this.closed)throw new Tv;return Re.prototype._trySubscribe.call(this,a)};g._subscribe=function(a){if(this.closed)throw new Tv;if(this.hasError)return a.error(this.thrownError),Le.EMPTY;if(this.isStopped)return a.complete(),Le.EMPTY;this.observers.push(a);return new Sv(this,a)};var Vv=function(a){var b=new Re;b.source=a;return b};
Ei.Object.defineProperties(Lf.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});Lf.create=function(a,b){return new Uv(a,b)};var Uv=function(a,b){Lf.call(this);this.destination=a;this.source=b};X(Uv,Lf);Uv.create=Lf.create;Uv.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};Uv.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
Uv.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};Uv.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):Le.EMPTY};var Ye=function(){Lf.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};X(Ye,Lf);Ye.create=Lf.create;Ye.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),Le.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),Le.EMPTY):Lf.prototype._subscribe.call(this,a)};Ye.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};Ye.prototype.error=function(a){this.hasCompleted||Lf.prototype.error.call(this,a)};
Ye.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&Lf.prototype.next.call(this,this.value);Lf.prototype.complete.call(this)};var Wv=function(a){Lf.call(this);this._value=a};X(Wv,Lf);Wv.create=Lf.create;Wv.prototype._subscribe=function(a){var b=Lf.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};Wv.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Tv;return this._value};Wv.prototype.next=function(a){Lf.prototype.next.call(this,this._value=a)};Ei.Object.defineProperties(Wv.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var qf=new Re(function(a){return a.complete()});var Mfa=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var aEb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};aEb.prototype.observe=function(a){switch(this.kind){case "N":var b;null==(b=a.next)||b.call(a,this.value);break;case "E":var c;null==(c=a.error)||c.call(a,this.error);break;case "C":var d;null==(d=a.complete)||d.call(a)}};
aEb.prototype.accept=function(a,b,c){if(a&&"function"===typeof a.next)a=this.observe(a);else{switch(this.kind){case "N":null==a||a(this.value);break;case "E":null==b||b(this.error);break;case "C":null==c||c()}a=void 0}return a};var bEb={now:function(){return(bEb.delegate||Date).now()},delegate:void 0};var Kf=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?bEb:c;Lf.call(this);this.timestampProvider=c;this._events=[];this._infiniteTimeWindow=!1;this._bufferSize=1>a?1:a;this._windowTime=1>b?1:b;Infinity===b?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow};X(Kf,Lf);Kf.create=Lf.create;g=Kf.prototype;
g.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();Lf.prototype.next.call(this,a)};g.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();Lf.prototype.next.call(this,a)};
g._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new Tv;if(this.isStopped||this.hasError)var e=Le.EMPTY;else this.observers.push(a),e=new Sv(this,a);if(b)for(var f=0;f<d&&!a.closed;f++)a.next(c[f]);else for(f=0;f<d&&!a.closed;f++)a.next(c[f].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};g._getNow=function(){var a=this.timestampProvider;return a?a.now():bEb.now()};
g._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,f=0;f<e&&!(a-d[f].time<c);)f++;e>b&&(f=Math.max(f,e-b));0<f&&d.splice(0,f);return d};var dEb=function(a,b){b=void 0===b?cEb:b;this.SchedulerAction=a;this.now=b};dEb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var cEb=bEb.now;var Ff=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var Pfa=function(){};Pfa.prototype.call=function(a,b){b._refCount++;a=new Xv(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var Xv=function(a,b){Ne.call(this,a);this.connectable=b;this.connection=null};X(Xv,Ne);Xv.EMPTY=Ne.EMPTY;Xv.create=Ne.create;
Xv.prototype._unsubscribe=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._refCount;0>=b?this.connection=null:(a._refCount=b-1,1<b?this.connection=null:(b=this.connection,a=a._connection,this.connection=null,!a||b&&a!==b||a.unsubscribe()))}else this.connection=null};var Yv=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};X(Yv,Re);Yv.create=Re.create;Yv.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};Yv.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
Yv.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new Le,a.add(this.source.subscribe(new Zv(this.getSubject(),this))),a.closed&&(this._connection=null,a=Le.EMPTY));return a};Yv.prototype.refCount=function(){return We()(this)};var mha,$v=Yv.prototype;
mha={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:$v._subscribe},_isComplete:{value:$v._isComplete,writable:!0},getSubject:{value:$v.getSubject},connect:{value:$v.connect},refCount:{value:$v.refCount}};var Zv=function(a,b){Ne.call(this);this.destination=a;this.connectable=b};X(Zv,Ne);Zv.EMPTY=Ne.EMPTY;Zv.create=Ne.create;
Zv.prototype._error=function(a){this._unsubscribe();Ne.prototype._error.call(this,a)};Zv.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();Ne.prototype._complete.call(this)};Zv.prototype._unsubscribe=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._connection;a._refCount=0;a._subject=null;a._connection=null;b&&b.unsubscribe()}};var Qfa=function(a){this.project=a;this.thisArg=void 0};Qfa.prototype.call=function(a,b){return b.subscribe(new aw(a,this.project,this.thisArg))};var aw=function(a,b,c){Ne.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};X(aw,Ne);aw.EMPTY=Ne.EMPTY;aw.create=Ne.create;aw.prototype._next=function(a){try{var b=this.project.call(this.thisArg,a,this.count++)}catch(c){this.destination.error(c);return}this.destination.next(b)};var hf="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var fga=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var eEb=function(a){return function(b){var c=a[hf]();do{var d=void 0;try{d=c.next()}catch(e){b.error(e);return}if(d.done){b.complete();break}b.next(d.value);if(b.closed)break}while(1);"function"===typeof c.return&&b.add(function(){c.return&&c.return()});return b}};var fEb=function(a){return function(b){var c=a[jf]();if("function"!==typeof c.subscribe)throw new TypeError("Fa");return c.subscribe(b)}};var gEb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,Ie);return b}};var ff=function(a){if(a&&"function"===typeof a[jf])return fEb(a);if(fga(a))return Mfa(a);if(Yfa(a))return gEb(a);if(a&&"function"===typeof a[hf])return eEb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return $fa(a);throw new TypeError("Ga`"+(Ke(a)?"an invalid object":"'"+a+"'"));};var bw=function(a){Ne.call(this);this.parent=a};X(bw,Ne);bw.EMPTY=Ne.EMPTY;bw.create=Ne.create;bw.prototype._next=function(a){this.parent.notifyNext(a)};bw.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};bw.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var cw=function(a,b,c){Ne.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};X(cw,Ne);cw.EMPTY=Ne.EMPTY;cw.create=Ne.create;
cw.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};cw.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};cw.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var dw=function(){Ne.apply(this,arguments)};X(dw,Ne);dw.EMPTY=Ne.EMPTY;dw.create=Ne.create;dw.prototype.notifyNext=function(a){this.destination.next(a)};dw.prototype.notifyError=function(a){this.destination.error(a)};
dw.prototype.notifyComplete=function(){this.destination.complete()};var ew=function(){Ne.apply(this,arguments)};X(ew,Ne);ew.EMPTY=Ne.EMPTY;ew.create=Ne.create;ew.prototype.notifyNext=function(a,b){this.destination.next(b)};ew.prototype.notifyError=function(a){this.destination.error(a)};ew.prototype.notifyComplete=function(){this.destination.complete()};var hEb={},Pga=function(a,b){this.resultSelector=a;this.keys=b};Pga.prototype.call=function(a,b){return b.subscribe(new fw(a,this.resultSelector,this.keys))};var fw=function(a,b,c){ew.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};X(fw,ew);fw.EMPTY=ew.EMPTY;fw.create=ew.create;g=fw.prototype;g._next=function(a){this.values.push(hEb);this.observables.push(a)};
g._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{this.toRespond=this.active=b;for(var c=0;c<b;c++)this.add(gf(a[c],new cw(this,null,c)))}};g.notifyComplete=function(){0===--this.active&&this.destination.complete()};
g.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.toRespond?e===hEb?--this.toRespond:this.toRespond:0;d[c]=b;0===e&&(this.resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(f,h,l){return f[h]=d[l],f},{}):d.slice()))};g._tryResultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var hga=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};hga.prototype.call=function(a,b){return b.subscribe(new gw(a,this.project,this.concurrent))};var gw=function(a,b,c){c=void 0===c?Infinity:c;dw.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};X(gw,dw);gw.EMPTY=dw.EMPTY;gw.create=dw.create;
gw.prototype._next=function(a){if(this.active<this.concurrent){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}this.active++;a=new bw(this);this.destination.add(a);gf(c,a)}else this.buffer.push(a)};gw.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};gw.prototype.notifyNext=function(a){this.destination.next(a)};
gw.prototype.notifyComplete=function(){var a=this.buffer;this.active--;0<a.length?this._next(a.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};var kga=function(a){var b=requestAnimationFrame,c=cancelAnimationFrame;hw&&(b=hw.requestAnimationFrame,c=hw.cancelAnimationFrame);var d=b(function(e){c=void 0;a(e)});return new Le(function(){var e;return null==(e=c)?void 0:e(d)})},iEb=function(){return((null==hw?void 0:hw.requestAnimationFrame)||requestAnimationFrame).apply(null,p(bd.apply(0,arguments)))},jEb=function(){((null==hw?void 0:hw.cancelAnimationFrame)||cancelAnimationFrame).apply(null,p(bd.apply(0,arguments)))},hw=void 0;var jga={now:function(){return(jga.delegate||performance).now()},delegate:void 0};var kEb=lga();var iw=function(){Le.call(this)};X(iw,Le);iw.EMPTY=Le.EMPTY;iw.prototype.schedule=function(){return this};var lEb=function(a,b){var c=bd.apply(2,arguments);return(null==jw?0:jw.setInterval)?jw.setInterval.apply(jw,[a,b].concat(p(c))):setInterval.apply(null,[a,b].concat(p(c)))},jw=void 0;var kw=function(a,b){Le.call(this);this.scheduler=a;this.work=b;this.pending=!1};X(kw,iw);kw.EMPTY=iw.EMPTY;g=kw.prototype;g.schedule=function(a,b){b=void 0===b?0:b;if(this.closed)return this;this.state=a;a=this.id;var c=this.scheduler;null!=a&&(this.id=this.recycleAsyncId(c,a,b));this.pending=!0;this.delay=b;this.id=this.id||this.requestAsyncId(c,this.id,b);return this};g.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return lEb(a.flush.bind(a,this),c)};
g.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&this.delay===c&&!1===this.pending)return b;((null==jw?void 0:jw.clearInterval)||clearInterval)(b)};g.execute=function(a,b){if(this.closed)return Error("Ka");this.pending=!1;if(a=this._execute(a,b))return a;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};g._execute=function(a){var b=!1,c=void 0;try{this.work(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g._unsubscribe=function(){var a=this.id,b=this.scheduler,c=b.actions,d=c.indexOf(this);this.state=this.work=null;this.pending=!1;this.scheduler=null;-1!==d&&c.splice(d,1);null!=a&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null};var lw=function(a,b){b=void 0===b?cEb:b;dEb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};X(lw,dEb);lw.prototype.flush=function(a){var b=this.actions;if(this.active)b.push(a);else{var c;this.active=!0;do if(c=a.execute(a.state,a.delay))break;while(a=b.shift());this.active=!1;if(c){for(;a=b.shift();)a.unsubscribe();throw c;}}};var tf=new lw(kw);var mEb=new Re(pf);var uga=function(a,b){this.predicate=a;this.thisArg=b};uga.prototype.call=function(a,b){return b.subscribe(new mw(a,this.predicate,this.thisArg))};var mw=function(a,b,c){Ne.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};X(mw,Ne);mw.EMPTY=Ne.EMPTY;mw.create=Ne.create;mw.prototype._next=function(a){try{var b=this.predicate.call(this.thisArg,a,this.count++)}catch(c){this.destination.error(c);return}b&&this.destination.next(a)};var wga=function(){};wga.prototype.call=function(a,b){return b.subscribe(new nw(a))};var nw=function(a){ew.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};X(nw,ew);nw.EMPTY=ew.EMPTY;nw.create=ew.create;g=nw.prototype;g._next=function(a){this.observables.push(a)};
g._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{for(var c=0;c<b&&!this.hasFirst;c++){var d=gf(a[c],new cw(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.observables=null}};g.notifyNext=function(a,b,c){if(!this.hasFirst){this.hasFirst=!0;for(var d=0;d<this.subscriptions.length;d++)if(d!==c){var e=this.subscriptions[d];e.unsubscribe();this.remove(e)}this.subscriptions=null}this.destination.next(b)};
g.notifyComplete=function(a){this.hasFirst=!0;ew.prototype.notifyComplete.call(this,a)};g.notifyError=function(a){this.hasFirst=!0;ew.prototype.notifyError.call(this,a)};var nEb=function(a){this.resultSelector=a};nEb.prototype.call=function(a,b){return b.subscribe(new ow(a,this.resultSelector))};var ow=function(a,b,c){void 0===c&&Object.create(null);Ne.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};X(ow,Ne);ow.EMPTY=Ne.EMPTY;ow.create=Ne.create;ow.prototype._next=function(a){var b=this.iterators;Xe(a)?b.push(new pw(a)):"function"===typeof a[hf]?b.push(new oEb(a[hf]())):b.push(new qw(this.destination,this,a))};
ow.prototype._complete=function(){var a=this.iterators,b=a.length;this.unsubscribe();if(0===b)this.destination.complete();else{this.active=b;for(var c=0;c<b;c++){var d=a[c];d.stillUnsubscribed?this.destination.add(d.subscribe()):this.active--}}};ow.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var oEb=function(a){this.iterator=a;this.nextResult=a.next()};oEb.prototype.hasValue=function(){return!0};
oEb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};oEb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var pw=function(a){this.array=a;this.length=this.index=0;this.length=a.length};pw.prototype[hf]=function(){return this};pw.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};pw.prototype.hasValue=function(){return this.array.length>this.index};
pw.prototype.hasCompleted=function(){return this.array.length===this.index};var qw=function(a,b,c){dw.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};X(qw,dw);qw.EMPTY=dw.EMPTY;qw.create=dw.create;qw.prototype[hf]=function(){return this};g=qw.prototype;g.next=function(){var a=this.buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}};g.hasValue=function(){return 0<this.buffer.length};
g.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};g.notifyComplete=function(){if(0<this.buffer.length){this.isComplete=!0;var a=this.parent;a.active--;0===a.active&&a.destination.complete()}else this.destination.complete()};
g.notifyNext=function(a){this.buffer.push(a);a:{a=this.parent;for(var b=a.iterators,c=b.length,d=a.destination,e=0;e<c;e++){var f=b[e];if("function"===typeof f.hasValue&&!f.hasValue())break a}e=!1;f=[];for(var h=0;h<c;h++){var l=b[h],q=l.next();l.hasCompleted()&&(e=!0);if(q.done){d.complete();break a}f.push(q.value)}a.resultSelector?a._tryresultSelector(f):d.next(f);e&&d.complete()}};g.subscribe=function(){return gf(this.observable,new bw(this))};var pEb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};X(pEb,Re);pEb.create=Re.create;pEb.prototype._subscribe=function(a){var b=new Le,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new qEb(c));b.add(d.subscribe(a));return b};var qEb=function(a){Le.call(this);this.parent=a;a.count++};X(qEb,Le);qEb.EMPTY=Le.EMPTY;
qEb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(Le.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var Dga=function(){function a(b){this.message="Timeout has occurred";this.name="TimeoutError";this.info=void 0===b?null:b;return this}a.prototype=Object.create(Error.prototype);return a}();var rEb=function(a,b){a=void 0===a?rw:a;b=void 0===b?Infinity:b;lw.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};X(rEb,lw);rEb.prototype.flush=function(){for(var a=this.actions,b=this.maxFrames,c,d;(d=a[0])&&d.delay<=b&&!(a.shift(),this.frame=d.delay,c=d.execute(d.state,d.delay)););if(c){for(;d=a.shift();)d.unsubscribe();throw c;}};
var rw=function(a,b,c){c=void 0===c?a.index+=1:c;kw.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};X(rw,kw);rw.EMPTY=kw.EMPTY;rw.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return kw.prototype.schedule.call(this,a,b);this.active=!1;var c=new rw(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return Le.EMPTY};
rw.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(sEb);return!0};rw.prototype.recycleAsyncId=function(){};rw.prototype._execute=function(a,b){if(!0===this.active)return kw.prototype._execute.call(this,a,b)};var sEb=function(a,b){return a.delay===b.delay?a.index===b.index?0:a.index>b.index?1:-1:a.delay>b.delay?1:-1};var sw=function(a,b){kw.call(this,a,b);this.scheduler=a;this.work=b};X(sw,kw);sw.EMPTY=kw.EMPTY;sw.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return kw.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=iEb(function(){return a.flush(void 0)}))};
sw.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return kw.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(jEb(b),a.scheduled=void 0)};var tEb=function(){lw.apply(this,arguments)};X(tEb,lw);tEb.prototype.flush=function(a){this.active=!0;this.scheduled=void 0;var b=this.actions,c,d=-1;a=a||b.shift();var e=b.length;do if(c=a.execute(a.state,a.delay))break;while(++d<e&&(a=b.shift()));this.active=!1;if(c){for(;++d<e&&(a=b.shift());)a.unsubscribe();throw c;}};var uEb=new tEb(sw);var vEb=1,wEb,Ega={},xEb=function(a){var b=vEb++;Ega[b]=!0;wEb||(wEb=Promise.resolve());wEb.then(function(){return Fga(b)&&a()});return b},yEb=function(a){Fga(a)};var AEb=function(){return((null==zEb?void 0:zEb.setImmediate)||xEb).apply(null,p(bd.apply(0,arguments)))},zEb=void 0;var tw=function(a,b){kw.call(this,a,b);this.scheduler=a;this.work=b};X(tw,kw);tw.EMPTY=kw.EMPTY;tw.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return kw.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=AEb(a.flush.bind(a,void 0)))};
tw.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return kw.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(((null==zEb?void 0:zEb.clearImmediate)||yEb)(b),a.scheduled=void 0)};var BEb=function(){lw.apply(this,arguments)};X(BEb,lw);BEb.prototype.flush=function(a){this.active=!0;this.scheduled=void 0;var b=this.actions,c,d=-1;a=a||b.shift();var e=b.length;do if(c=a.execute(a.state,a.delay))break;while(++d<e&&(a=b.shift()));this.active=!1;if(c){for(;++d<e&&(a=b.shift());)a.unsubscribe();throw c;}};var CEb=new BEb(tw);var uw=function(a,b){kw.call(this,a,b);this.scheduler=a;this.work=b};X(uw,kw);uw.EMPTY=kw.EMPTY;uw.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return kw.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};uw.prototype.execute=function(a,b){return 0<b||this.closed?kw.prototype.execute.call(this,a,b):this._execute(a,b)};
uw.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?kw.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var DEb=function(){lw.apply(this,arguments)};X(DEb,lw);var EEb=new DEb(uw);var FEb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var GEb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var HEb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var T={};T.Observable=Re;T.ConnectableObservable=Yv;T.GroupedObservable=pEb;T.observable=jf;T.animationFrames=function(a){return a?lga(a):kEb};T.Subject=Lf;T.BehaviorSubject=Wv;T.ReplaySubject=Kf;T.AsyncSubject=Ye;T.asap=CEb;T.asapScheduler=CEb;T.async=tf;T.asyncScheduler=tf;T.queue=EEb;T.queueScheduler=EEb;T.animationFrame=uEb;T.animationFrameScheduler=uEb;T.VirtualTimeScheduler=rEb;T.VirtualAction=rw;T.Scheduler=dEb;T.Subscription=Le;T.Subscriber=Ne;T.Notification=aEb;
T.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};T.pipe=function(){return Hfa(bd.apply(0,arguments))};T.noop=pf;T.identity=Oe;T.isObservable=function(a){return!!a&&(a instanceof Re||"function"===typeof a.lift&&"function"===typeof a.subscribe)};T.lastValueFrom=function(a){return new Promise(function(b,c){var d=!1,e;a.subscribe({next:function(f){e=f;d=!0},error:c,complete:function(){d?b(e):c(new Ff)}})})};
T.firstValueFrom=function(a){return new Promise(function(b,c){var d=new Le;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Ff)}}))})};T.ArgumentOutOfRangeError=FEb;T.EmptyError=Ff;T.NotFoundError=GEb;T.ObjectUnsubscribedError=Tv;T.SequenceError=HEb;T.TimeoutError=Dga;T.UnsubscriptionError=Me;T.bindCallback=Rfa;T.bindNodeCallback=Ufa;
T.combineLatest=function(){var a=bd.apply(0,arguments),b=void 0,c=void 0,d=void 0;Te(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];Xe(e)&&(a=e);Ke(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(f){return e[f]}))}return Ue(Se(a,c),new Pga(b,d))};T.concat=nf;T.defer=iga;T.empty=function(a){return a?Kfa(a):qf};
T.forkJoin=function(){var a=bd.apply(0,arguments);if(1===a.length){var b=a[0];if(Xe(b))return of(b,null);if(Ke(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),of(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&Xe(a[0])?a[0]:a;return of(a,null).pipe(B(function(d){return c.apply(null,p(d))}))}return of(a,null)};T.from=kf;T.fromEvent=mga;T.fromEventPattern=oga;
T.generate=function(a,b,c,d,e){if(1==arguments.length){var f=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||Oe;e=a.scheduler}else void 0===d||Te(d)?(f=a,h=Oe,e=d):(f=a,h=d);return new Re(function(l){var q=f;if(e)return e.schedule(pga,0,{subscriber:l,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var u=void 0;try{u=b(q)}catch(x){l.error(x);break}if(!u){l.complete();break}}u=void 0;try{u=h(q)}catch(x){l.error(x);break}l.next(u);if(l.closed)break;try{q=c(q)}catch(x){l.error(x);
break}}while(1)})};T.iif=function(a,b,c){b=void 0===b?qf:b;c=void 0===c?qf:c;return iga(function(){return a()?b:c})};T.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?tf:b;if(!qga(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=tf);return new Re(function(c){c.add(b.schedule(rga,a,{subscriber:c,counter:0,period:a}));return c})};
T.merge=function(){var a=bd.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];Te(d)?(c=a.pop(),1<a.length&&"number"===typeof a[a.length-1]&&(b=a.pop())):"number"===typeof d&&(b=a.pop());return!c&&1===a.length&&a[0]instanceof Re?a[0]:mf(b)(Se(a,c))};T.never=function(){return mEb};T.of=Nfa;T.onErrorResumeNext=sga;
T.pairs=function(a,b){return b?new Re(function(c){var d=Object.keys(a),e=new Le;e.add(b.schedule(tga,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new Re(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var f=d[e];a.hasOwnProperty(f)&&c.next([f,a[f]])}c.complete()})};T.partition=function(a,b,c){return[sf(b,c)(new Re(ff(a))),sf(vga(b,c))(new Re(ff(a)))]};T.race=xga;
T.range=function(a,b,c){a=void 0===a?0:a;return new Re(function(d){void 0===b&&(b=a,a=0);var e=0,f=a;if(c)return c.schedule(yga,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(f++);if(d.closed)break}while(1)})};T.throwError=function(a,b){return b?new Re(function(c){return b.schedule(Ofa,0,{error:a,subscriber:c})}):new Re(function(c){return c.error(a)})};T.timer=Bga;
T.using=function(a,b){return new Re(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var f=(e?kf(e):qf).subscribe(c);return function(){f.unsubscribe();d&&d.unsubscribe()}})};T.zip=function(){var a=bd.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return Ue(Se(a),new nEb(b))};T.scheduled=gga;T.EMPTY=qf;T.NEVER=mEb;T.config=Qe;var vw=function(a){a=void 0===a?!1:a;T.Subject.call(this);this.__isAsync=a};X(vw,T.Subject);vw.create=T.Subject.create;vw.prototype.emit=function(a){T.Subject.prototype.next.call(this,a)};
vw.prototype.subscribe=function(a,b,c){var d=a;b=b||function(){return null};if(a&&"object"===typeof a){var e;d=null==(e=a.next)?void 0:e.bind(a);var f;b=null==(f=a.error)?void 0:f.bind(a);var h;c=null==(h=a.complete)?void 0:h.bind(a)}this.__isAsync&&(b=Gga(b),d&&(d=Gga(d)),c&&(c=Gga(c)));d=T.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof T.Subscription&&a.add(d);return d};var Yf=function(a){var b=void 0===a.enableLongStackTrace?!1:a.enableLongStackTrace,c=void 0===a.shouldCoalesceEventChangeDetection?!1:a.shouldCoalesceEventChangeDetection;a=void 0===a.shouldCoalesceRunChangeDetection?!1:a.shouldCoalesceRunChangeDetection;this.hasPendingMicrotasks=this.hasPendingMacrotasks=!1;this.isStable=!0;this.onUnstable=new vw(!1);this.onMicrotaskEmpty=new vw(!1);this.onStable=new vw(!1);this.onError=new vw(!1);if("undefined"==typeof Zone)throw new Tc(908,!1);Zone.assertZonePatched();
this._nesting=0;this._outer=this._inner=Zone.current;Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec));b&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec));this.shouldCoalesceEventChangeDetection=!a&&c;this.shouldCoalesceRunChangeDetection=a;this.lastRequestAnimationFrameId=-1;b=me.requestAnimationFrame;c=me.cancelAnimationFrame;"undefined"!==typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));
this.nativeRequestAnimationFrame=b;Lga(this)},IEb=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},JEb=function(){if(IEb())throw new Tc(909,!1);};Yf.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};Yf.prototype.runTask=function(a,b,c){var d=this._inner;a=d.scheduleEventTask("NgZoneEvent: undefined",a,KEb,Hga,Hga);try{return d.runTask(a,b,c)}finally{d.cancelTask(a)}};Yf.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};
Yf.prototype.runOutsideAngular=function(a){return this._outer.run(a)};var KEb={},Xf=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new vw;this.onMicrotaskEmpty=new vw;this.onStable=new vw;this.onError=new vw};Xf.prototype.run=function(a,b,c){return a.apply(b,c)};Xf.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};Xf.prototype.runOutsideAngular=function(a){return a()};Xf.prototype.runTask=function(a,b,c){return a.apply(b,c)};var LEb=new Ud(""),MEb=new Ud(""),ww=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._pendingCount=0;this._isZoneStable=!0;this._didWork=!1;this._callbacks=[];this.taskTrackingZone=null;NEb||(NEb=c,OEb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
ww.prototype._watchAngularEvents=function(){var a=this;this._ngZone.onUnstable.subscribe({next:function(){a._didWork=!0;a._isZoneStable=!1}});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.subscribe({next:function(){JEb();Dfa(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};ww.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
ww.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())Dfa(function(){for(;0!==a._callbacks.length;){var c=a._callbacks.pop();clearTimeout(c.timeoutId);c.doneCb(a._didWork)}a._didWork=!1});else{var b=PEb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0});this._didWork=!0}};
var PEb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=ww.prototype;g.addCallback=function(a,b,c){var d=this,e=-1;b&&0<b&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(f){return f.timeoutId!==e});a(d._didWork,PEb(d))},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};
g.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Ma");this.addCallback(a,b,c);this._runCallbacksIfReady()};g.registerApplication=function(a){this.registry.registerApplication(a,this)};g.unregisterApplication=function(a){this.registry.unregisterApplication(a)};g.findProviders=function(){return[]};ww.\u0275fac=function(a){return new (a||ww)(n(Yf),n(xw),n(MEb))};ww.\u0275prov=Pc({token:ww,factory:ww.\u0275fac});var xw=function(){this._applications=new Map};
xw.prototype.registerApplication=function(a,b){this._applications.set(a,b)};xw.prototype.unregisterApplication=function(a){this._applications.delete(a)};xw.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=NEb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};xw.\u0275fac=function(a){return new (a||xw)};xw.\u0275prov=Pc({token:xw,factory:xw.\u0275fac,providedIn:"platform"});var NEb;var Mga=function(a){this.durationSelector=a};Mga.prototype.call=function(a,b){return b.subscribe(new yw(a,this.durationSelector))};var yw=function(a,b){dw.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};X(yw,dw);yw.EMPTY=dw.EMPTY;yw.create=dw.create;
yw.prototype._next=function(a){this.value=a;this.hasValue=!0;if(!this.throttled){try{var b=this.durationSelector;var c=b(a)}catch(d){return this.destination.error(d)}a=gf(c,new bw(this));!a||a.closed?QEb(this):this.add(this.throttled=a)}};var QEb=function(a){var b=a.value,c=a.hasValue,d=a.throttled;d&&(a.remove(d),a.throttled=null,d.unsubscribe());c&&(a.value=null,a.hasValue=!1,a.destination.next(b))};yw.prototype.notifyNext=function(){QEb(this)};yw.prototype.notifyComplete=function(){QEb(this)};var Oga=function(a){this.closingNotifier=a};Oga.prototype.call=function(a,b){return b.subscribe(new zw(a,this.closingNotifier))};var zw=function(a,b){dw.call(this,a);this.buffer=[];this.add(gf(b,new bw(this)))};X(zw,dw);zw.EMPTY=dw.EMPTY;zw.create=dw.create;zw.prototype._next=function(a){this.buffer.push(a)};zw.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var Tga=function(a){this.durationSelector=a};Tga.prototype.call=function(a,b){return b.subscribe(new Aw(a,this.durationSelector))};var Aw=function(a,b){dw.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};X(Aw,dw);Aw.EMPTY=dw.EMPTY;Aw.create=dw.create;g=Aw.prototype;g._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};g._complete=function(){REb(this);this.destination.complete()};
g._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=gf(b,new bw(this)))&&!c.closed&&this.add(this.durationSubscription=c)};g.notifyNext=function(){REb(this)};g.notifyComplete=function(){REb(this)};var REb=function(a){if(a.hasValue){var b=a.value,c=a.durationSubscription;c&&(a.durationSubscription=null,c.unsubscribe(),a.remove(c));a.value=null;a.hasValue=!1;dw.prototype._next.call(a,b)}};var Vga=function(a,b){this.dueTime=a;this.scheduler=b};Vga.prototype.call=function(a,b){return b.subscribe(new Bw(a,this.dueTime,this.scheduler))};var Bw=function(a,b,c){Ne.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};X(Bw,Ne);Bw.EMPTY=Ne.EMPTY;Bw.create=Ne.create;Bw.prototype._next=function(a){SEb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Xga,this.dueTime,this))};
Bw.prototype._complete=function(){Wga(this);this.destination.complete()};var Wga=function(a){SEb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},SEb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var Yga=function(a){this.defaultValue=a};Yga.prototype.call=function(a,b){return b.subscribe(new Cw(a,this.defaultValue))};var Cw=function(a,b){Ne.call(this,a);this.defaultValue=b;this.isEmpty=!0};X(Cw,Ne);Cw.EMPTY=Ne.EMPTY;Cw.create=Ne.create;Cw.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};Cw.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var Zga=function(a,b){this.delay=a;this.scheduler=b};Zga.prototype.call=function(a,b){return b.subscribe(new Dw(a,this.delay,this.scheduler))};var Dw=function(a,b,c){Ne.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};X(Dw,Ne);Dw.EMPTY=Ne.EMPTY;Dw.create=Ne.create;
var TEb=function(a){for(var b=a.source,c=b.queue,d=a.scheduler,e=a.destination;0<c.length&&0>=c[0].time-d.now();)e.next(c.shift().value);0<c.length?(b=Math.max(0,c[0].time-d.now()),this.schedule(a,b)):(b.isStopped?b.destination.complete():this.unsubscribe(),b.active=!1)};Dw.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(TEb,this.delay,{source:this,destination:b,scheduler:a}))};
Dw.prototype._next=function(a){var b=this.scheduler;a=new UEb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};Dw.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};Dw.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var UEb=function(a,b){this.time=a;this.value=b};var $ga=function(a){this.compare=a;this.keySelector=void 0};$ga.prototype.call=function(a,b){return b.subscribe(new Ew(a,this.compare,this.keySelector))};var Ew=function(a,b,c){Ne.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};X(Ew,Ne);Ew.EMPTY=Ne.EMPTY;Ew.create=Ne.create;Ew.prototype.compare=function(a,b){return a===b};
Ew.prototype._next=function(a){try{var b=this.keySelector;var c=b?b(a):a}catch(e){return this.destination.error(e)}b=!1;if(this.hasKey)try{var d=this.compare;b=d(this.key,c)}catch(e){return this.destination.error(e)}else this.hasKey=!0;b||(this.key=c,this.destination.next(a))};var aha=function(){this.count=1};aha.prototype.call=function(a,b){return b.subscribe(new Fw(a,this.count))};var Fw=function(a,b){Ne.call(this,a);this.count=b;this._valueCount=0};X(Fw,Ne);Fw.EMPTY=Ne.EMPTY;Fw.create=Ne.create;Fw.prototype._next=function(a){var b=this.count,c=++this._valueCount;c<=b&&(this.destination.next(a),c===b&&(this.destination.complete(),this.unsubscribe()))};var cha=function(a){this.errorFactory=a};cha.prototype.call=function(a,b){return b.subscribe(new Gw(a,this.errorFactory))};var Gw=function(a,b){Ne.call(this,a);this.errorFactory=b;this.hasValue=!1};X(Gw,Ne);Gw.EMPTY=Ne.EMPTY;Gw.create=Ne.create;Gw.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};Gw.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var eha=function(a){this.callback=a};eha.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var fha=function(){};fha.prototype.call=function(a,b){return b.subscribe(new Hw(a))};var Hw=function(){Ne.apply(this,arguments)};X(Hw,Ne);Hw.EMPTY=Ne.EMPTY;Hw.create=Ne.create;Hw.prototype._next=function(){};var hha=function(){this.total=1};hha.prototype.call=function(a,b){return b.subscribe(new Iw(a,this.total))};var Iw=function(a,b){Ne.call(this,a);this.total=b;this.ring=[];this.count=0};X(Iw,Ne);Iw.EMPTY=Ne.EMPTY;Iw.create=Ne.create;Iw.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
Iw.prototype._complete=function(){var a=this.destination,b=this.count;if(0<b)for(var c=this.count>=this.total?this.total:this.count,d=this.ring,e=0;e<c;e++){var f=b++%c;a.next(d[f])}a.complete()};var kha=function(a){this.value=a};kha.prototype.call=function(a,b){return b.subscribe(new Jw(a,this.value))};var Jw=function(a,b){Ne.call(this,a);this.value=b};X(Jw,Ne);Jw.EMPTY=Ne.EMPTY;Jw.create=Ne.create;Jw.prototype._next=function(){this.destination.next(this.value)};var lha=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};lha.prototype.call=function(a,b){return b.subscribe(new Kw(a,this.accumulator,this.seed,this.hasSeed))};var Kw=function(a,b,c,d){Ne.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};X(Kw,Ne);Kw.EMPTY=Ne.EMPTY;Kw.create=Ne.create;
Kw.prototype._next=function(a){var b=this.destination;if(this._hasState){var c=this.index++;try{var d=this.accumulator(this._state,a,c)}catch(e){b.error(e);return}this._state=d;b.next(d)}else this._state=a,this._hasState=!0,b.next(a)};var sha=function(a){this.total=a};sha.prototype.call=function(a,b){return b.subscribe(new Lw(a,this.total))};var Lw=function(a,b){Ne.call(this,a);this.total=b;this.count=0};X(Lw,Ne);Lw.EMPTY=Ne.EMPTY;Lw.create=Ne.create;Lw.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var tha=function(a){this.project=a};tha.prototype.call=function(a,b){return b.subscribe(new Mw(a,this.project))};var Mw=function(a,b){dw.call(this,a);this.destination=a;this.project=b;this.index=0};X(Mw,dw);Mw.EMPTY=dw.EMPTY;Mw.create=dw.create;g=Mw.prototype;g._next=function(a){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}(a=this.innerSubscription)&&a.unsubscribe();a=new bw(this);this.destination.add(a);this.innerSubscription=a;gf(c,a)};
g._complete=function(){var a=this.innerSubscription;a&&!a.closed||dw.prototype._complete.call(this);this.unsubscribe()};g._unsubscribe=function(){this.innerSubscription=void 0};g.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&dw.prototype._complete.call(this)};g.notifyNext=function(a){this.destination.next(a)};var vha=function(a){this.notifier=a};vha.prototype.call=function(a,b){a=new Nw(a);var c=gf(this.notifier,new bw(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var Nw=function(a){dw.call(this,a);this.notifierHasNotified=!1};X(Nw,dw);Nw.EMPTY=dw.EMPTY;Nw.create=dw.create;Nw.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};Nw.prototype.notifyComplete=function(){};var wha=function(a,b){this.predicate=a;this.inclusive=b};wha.prototype.call=function(a,b){return b.subscribe(new Ow(a,this.predicate,this.inclusive))};var Ow=function(a,b,c){Ne.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};X(Ow,Ne);Ow.EMPTY=Ne.EMPTY;Ow.create=Ne.create;Ow.prototype._next=function(a){var b=this.destination;try{var c=this.predicate(a,this.index++)}catch(d){b.error(d);return}b=this.destination;c?b.next(a):(this.inclusive&&b.next(a),b.complete())};var yha=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};yha.prototype.call=function(a,b){return b.subscribe(new Pw(a,this.nextOrObserver,this.error,this.complete))};var Pw=function(a,b,c,d){Ne.call(this,a);this._tapComplete=this._tapError=this._tapNext=pf;this._tapError=c||pf;this._tapComplete=d||pf;Je(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||pf,this._tapError=b.error||pf,this._tapComplete=b.complete||pf)};X(Pw,Ne);Pw.EMPTY=Ne.EMPTY;
Pw.create=Ne.create;Pw.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};Pw.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};Pw.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var zha={leading:!0,trailing:!1},Aha=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};Aha.prototype.call=function(a,b){return b.subscribe(new Qw(a,this.durationSelector,this.leading,this.trailing))};var Qw=function(a,b,c,d){dw.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};X(Qw,dw);Qw.EMPTY=dw.EMPTY;Qw.create=dw.create;
Qw.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():VEb(this,a))};Qw.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),VEb(this,a));this._hasValue=!1;this._sendValue=null};var VEb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=gf(c,new bw(a)))},WEb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
Qw.prototype.notifyNext=function(){WEb(this)};Qw.prototype.notifyComplete=function(){WEb(this)};var Cha=function(a,b){this.observables=a;this.project=b};Cha.prototype.call=function(a,b){return b.subscribe(new Rw(a,this.observables,this.project))};var Rw=function(a,b,c){ew.call(this,a);this.project=c;this.toRespond=[];a=b.length;this.values=Array(a);for(c=0;c<a;c++)this.toRespond.push(c);for(c=0;c<a;c++)this.add(gf(b[c],new cw(this,void 0,c)))};X(Rw,ew);Rw.EMPTY=ew.EMPTY;Rw.create=ew.create;
Rw.prototype.notifyNext=function(a,b,c){this.values[c]=b;b=this.toRespond;0<b.length&&(c=b.indexOf(c),-1!==c&&b.splice(c,1))};Rw.prototype.notifyComplete=function(){};Rw.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(p(this.values)),this.project?this._tryProject(a):this.destination.next(a))};Rw.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var Uf=null,Gha=new Ud("AllowMultipleToken"),Kha=new Ud("PlatformDestroyListeners"),XEb=new Ud("appBootstrapListener"),YEb=function(a,b){this.name=a;this.token=b},Vf=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},ZEb=function(a,b,c){var d=Mha(null==c?void 0:c.ngZone,Lha(c)),e=[{provide:Yf,useValue:d}];return d.run(function(){var f=Wf({providers:e,parent:a.injector,name:b.moduleType.name}),h=b.create(f),l=h.injector.get(Ce,null);if(!l)throw new Tc(402,!1);
d.runOutsideAngular(function(){var q=d.onError.subscribe({next:function(u){l.handleError(u)}});h.onDestroy(function(){Zf(a._modules,h);q.unsubscribe()})});return Nha(l,d,function(){var q=h.injector.get(Nv);TDb(q);return q.donePromise.then(function(){var u=h.injector.get(Ji,"en-US")||"en-US";if(null==u)throw Error("ta`Expected localeId to be defined` [Expected=> null != "+(u+" <=Actual]"));a._moduleDoBootstrap(h);return h})})})},aFb=function(){var a=$Eb(),b=Sw;var c=void 0===c?[]:c;var d=Oha({},c);
Promise.resolve(new RDb(b)).then(function(e){return ZEb(a,e,d)})};Vf.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(Tw);if(0<a._bootstrapComponents.length)a._bootstrapComponents.forEach(function(c){return b.bootstrap(c)});else if(a.instance.ngDoBootstrap)a.instance.ngDoBootstrap(b);else throw new Tc(-403,!1);this._modules.push(a)};Vf.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
Vf.prototype.destroy=function(){if(this._destroyed)throw new Tc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Kha,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};Ei.Object.defineProperties(Vf.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
Vf.\u0275fac=function(a){return new (a||Vf)(n(Fv))};Vf.\u0275prov=Pc({token:Vf,factory:Vf.\u0275fac,providedIn:"platform"});
var Tw=function(a,b,c){var d=this;this._zone=a;this._injector=b;this._exceptionHandler=c;this._bootstrapListeners=[];this._views=[];this._runningTick=!1;this._stable=!0;this._destroyed=!1;this._destroyListeners=[];this.componentTypes=[];this.components=[];this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){d._zone.run(function(){bFb(d)})}});this.isStable=(0,T.merge)(new T.Observable(function(e){d._stable=d._zone.isStable&&!d._zone.hasPendingMacrotasks&&!d._zone.hasPendingMicrotasks;
d._zone.runOutsideAngular(function(){e.next(d._stable);e.complete()})}),(new T.Observable(function(e){var f;d._zone.runOutsideAngular(function(){f=d._zone.onStable.subscribe(function(){JEb();Dfa(function(){d._stable||d._zone.hasPendingMacrotasks||d._zone.hasPendingMicrotasks||(d._stable=!0,e.next(!0))})})});var h=d._zone.onUnstable.subscribe(function(){if(!IEb())throw new Tc(909,!1);d._stable&&(d._stable=!1,d._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){f.unsubscribe();h.unsubscribe()}})).pipe(Mf()))};
Tw.prototype.bootstrap=function(a,b){var c=this,d=a instanceof yDb;if(!this._injector.get(Nv).done)throw new Tc(405,!1);var e;d?e=a:e=this._injector.get(Gv).resolveComponentFactory(a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(Hv);var f=e.create(sDb,[],b||e.selector,a),h=f.location.nativeElement,l=f.injector.get(LEb,null);null==l||l.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);Zf(c.components,f);null==l||l.unregisterApplication(h)});
this._loadComponent(f);return f};var bFb=function(a){if(a._runningTick)throw new Tc(101,!1);try{a._runningTick=!0;for(var b=m(a._views),c=b.next();!c.done;c=b.next())c.value.detectChanges()}catch(d){a._zone.runOutsideAngular(function(){return a._exceptionHandler.handleError(d)})}finally{a._runningTick=!1}},cFb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Tc(902,!1);b._appRef=a};g=Tw.prototype;
g.detachView=function(a){Zf(this._views,a);a._appRef=null;var b=a._lView;fe(b[11],2,a._lView[1].firstChild,b,null,null,!1)};g._loadComponent=function(a){cFb(this,a.hostView);bFb(this);this.components.push(a);var b=this._injector.get(XEb,[]);b.push.apply(b,p(this._bootstrapListeners));b.forEach(function(c){return c(a)})};
g.ngOnDestroy=function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(a){return a()}),this._views.slice().forEach(function(a){return a.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}};g.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return Zf(b._destroyListeners,a)}};
g.destroy=function(){if(this._destroyed)throw new Tc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};Ei.Object.defineProperties(Tw.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}},injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},viewCount:{configurable:!0,enumerable:!0,get:function(){return this._views.length}}});Tw.\u0275fac=function(a){return new (a||Tw)(n(Yf),n(Ev),n(Ce))};
Tw.\u0275prov=Pc({token:Tw,factory:Tw.\u0275fac,providedIn:"root"});new Ud("AnalyzeForEntryComponents");var hg=0,jg=0,kg=0,mg=0,ng=0;var Eg=function(a){this._injector=a;this.cachedInjectors=new Map};Eg.prototype.ngOnDestroy=function(){try{for(var a=m(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;null!==c&&c.destroy()}}finally{this.cachedInjectors.clear()}};Eg.\u0275prov=Pc({token:Eg,providedIn:"environment",factory:function(){return new Eg(n(Ev))}});var Vg=function(a){this._emitDistinctChangesOnly=a=void 0===a?!1:a;this.dirty=!0;this._results=[];this._changesDetected=!1;this._changes=null;this.length=0;this.last=this.first=void 0;var b=Vg.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Eia)};g=Vg.prototype;g.get=function(a){return this._results[a]};g.map=function(a){return this._results.map(a)};g.filter=function(a){return this._results.filter(a)};g.find=function(a){return this._results.find(a)};
g.reduce=function(a,b){return this._results.reduce(a,b)};g.forEach=function(a){this._results.forEach(a)};g.some=function(a){return this._results.some(a)};g.toArray=function(){return this._results.slice()};g.toString=function(){return this._results.toString()};
g.reset=function(a,b){this.dirty=!1;a=a.flat(Number.POSITIVE_INFINITY);a:{var c=this._results;if(c.length!==a.length)b=!1;else{for(var d=0;d<c.length;d++){var e=c[d],f=a[d];b&&(e=b(e),f=b(f));if(f!==e){b=!1;break a}}b=!0}}if(this._changesDetected=!b)this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0]};var Qg=function(a){!a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};Vg.prototype.setDirty=function(){this.dirty=!0};
Vg.prototype.destroy=function(){this.changes.complete();this.changes.unsubscribe()};Ei.Object.defineProperties(Vg.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){return this._changes||(this._changes=new vw)}}});Symbol.iterator;var Og=function(){};Og.__NG_ELEMENT_ID__=Fia;var Mg=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};X(Mg,Og);Mg.__NG_ELEMENT_ID__=Og.__NG_ELEMENT_ID__;
Mg.prototype.createEmbeddedView=function(a,b){var c=this._declarationTContainer.tViews;b=ve(this._declarationLView,c,a,16,null,c.declTNode,null,null,null,null,b||null);b[17]=this._declarationLView[this._declarationTContainer.index];var d=this._declarationLView[19];null!==d&&(b[19]=d.createEmbeddedView(c));bfa(c,b,a);return new ah(b)};var Pg=function(){};Pg.__NG_ELEMENT_ID__=Hia;var Ng=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};X(Ng,Pg);Ng.__NG_ELEMENT_ID__=Pg.__NG_ELEMENT_ID__;g=Ng.prototype;g.clear=function(){for(;0<this.length;)this.remove(this.length-1)};g.get=function(a){var b=this._lContainer[8];return null!==b&&b[a]||null};g.createEmbeddedView=function(a,b,c){if("number"===typeof c)var d=c;else if(null!=c){d=c.index;var e=c.injector}a=a.createEmbeddedView(b||{},e);this.insert(a,d);return a};
g.createComponent=function(a,b,c,d){var e=a&&"function"!==typeof a;if(!e){var f=b||{};b=f.index;c=f.injector;d=f.projectableNodes;f=f.environmentInjector||f.ngModuleRef}a=e?a:new Kv(a[ed]||null);c=c||this.parentInjector;f||null!=a.ngModule||(e=(e?c:this.parentInjector).get(Ev,null))&&(f=e);d=a.create(c,d,void 0,f);this.insert(d.hostView,b);return d};
g.insert=function(a,b){var c=a._lView,d=c[1];if(jd(c[3])){var e=this.indexOf(a);-1!==e?this.detach(e):(e=c[3],e=new Ng(e,e[6],e[3]),e.detach(e.indexOf(a)))}b=this._adjustIndex(b);e=this._lContainer;var f=10+b,h=e.length;0<b&&(e[f-1][4]=c);b<h-10?(c[4]=e[f],f=10+b,f>=e.length?e.push(c):e.splice(f,0,c)):(e.push(c),c[4]=null);c[3]=e;f=c[17];null!==f&&e!==f&&(h=f[9],c[16]!==c[3][3][16]&&(f[2]=!0),null===h?f[9]=[c]:h.push(c));f=c[19];null!==f&&dFb(f,d);c[2]|=64;f=wea(b,e);h=c[11];var l=h.parentNode(e[7]);
if(null!==l){var q=e[6];c[0]=l;c[6]=q;fe(h,1,d.firstChild,c,l,f,!1)}if(a._appRef)throw new Tc(902,!1);a._attachedToViewContainer=!0;c=Iia(e);b>=c.length?c.push(a):c.splice(b,0,a);return a};g.move=function(a,b){return this.insert(a,b)};g.indexOf=function(a){var b=this._lContainer[8];return null!==b?b.indexOf(a):-1};g.remove=function(a){a=this._adjustIndex(a,-1);var b=sea(this._lContainer,a);b&&(Pd(Iia(this._lContainer),a),uea(b[1],b))};
g.detach=function(a){a=this._adjustIndex(a,-1);var b=sea(this._lContainer,a);return b&&null!=Pd(Iia(this._lContainer),a)?new ah(b):null};g._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
Ei.Object.defineProperties(Ng.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Zd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new Nd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=Kda(this._hostTNode,this._hostLView);if(-1!==a){var b=Ed(a,this._hostLView);return new Nd(b[1].data[(a&32767)+8],b)}return new Nd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var Xg=function(a){this.queryList=a;this.matches=null};Xg.prototype.clone=function(){return new Xg(this.queryList)};Xg.prototype.setDirty=function(){this.queryList.setDirty()};var Wg=function(a){this.queries=a=void 0===a?[]:a};Wg.prototype.createEmbeddedView=function(a){var b=a.queries;if(null!==b){a=null!==a.contentQueries?a.contentQueries[0]:b.length;for(var c=[],d=0;d<a;d++)c.push(this.queries[b.queries[d].indexInDeclarationView].clone());return new Wg(c)}return null};
Wg.prototype.detachView=function(a){dFb(this,a)};var dFb=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},Mia=function(a,b,c){this.predicate=a;this.flags=b;this.read=void 0===c?null:c},Yg=function(a){this.queries=a=void 0===a?[]:a};g=Yg.prototype;g.elementStart=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].elementStart(a,b)};g.elementEnd=function(a){for(var b=0;b<this.queries.length;b++)this.queries[b].elementEnd(a)};
g.embeddedTView=function(a){for(var b=null,c=0;c<this.length;c++){var d=this.queries[c].embeddedTView(a,null!==b?b.length:0);d&&(d.indexInDeclarationView=c,null!==b?b.push(d):b=[d])}return null!==b?new Yg(b):null};g.template=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].template(a,b)};g.track=function(a){this.queries.push(a)};Ei.Object.defineProperties(Yg.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var Zg=function(a,b){this.metadata=a;this.matches=null;this.indexInDeclarationView=-1;this.crossesNgTemplate=!1;this._appliesToNextNode=!0;this._declarationNodeIndex=void 0===b?-1:b};
Zg.prototype.elementStart=function(a,b){if(eFb(this,b)){var c=this.metadata.predicate;if(Array.isArray(c))for(var d=0;d<c.length;d++){var e=c[d];a:{var f=b.localNames;if(null!==f)for(var h=0;h<f.length;h+=2)if(f[h]===e){f=f[h+1];break a}f=null}fFb(this,a,b,f);fFb(this,a,b,Kd(b,a,e,!1,!1))}else c===Og?b.type&4&&fFb(this,a,b,-1):fFb(this,a,b,Kd(b,a,c,!1,!1))}};Zg.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
Zg.prototype.template=function(a,b){this.elementStart(a,b)};Zg.prototype.embeddedTView=function(a,b){return eFb(this,a)?(this.crossesNgTemplate=!0,gFb(this,-a.index,b),new Zg(this.metadata)):null};
var eFb=function(a,b){if(a._appliesToNextNode&&1!==(a.metadata.flags&1)){a=a._declarationNodeIndex;for(b=b.parent;null!==b&&b.type&8&&b.index!==a;)b=b.parent;return a===(null!==b?b.index:-1)}return a._appliesToNextNode},fFb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===Yd||e===Pg||e===Og&&c.type&4?gFb(a,c.index,-2):(b=Kd(c,b,e,!1,!1),null!==b&&gFb(a,c.index,b)):gFb(a,c.index,d)}},gFb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var Uw=function(){};Uw.\u0275fac=function(a){return new (a||Uw)(n(Tw))};Uw.\u0275mod=fd({type:Uw});Uw.\u0275inj=Qc({});var Vw=function(){};Vw.__NG_ELEMENT_ID__=Oia;var hFb=function(){};hFb.prototype.supports=function(a){return Uha(a)};hFb.prototype.create=function(a){return new Ww(a)};var iFb=function(a,b){return b},Ww=function(a){this.length=0;this._identityChangesTail=this._identityChangesHead=this._removalsTail=this._removalsHead=this._movesTail=this._movesHead=this._additionsTail=this._additionsHead=this._itTail=this._itHead=this._previousItHead=this._unlinkedRecords=this._linkedRecords=null;this._trackByFn=a||iFb};
Ww.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};var jFb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<Pia(a,d,e)?c:a,h=Pia(f,d,e),l=f.currentIndex;if(f===a)d--,a=a._nextRemoved;else if(c=c._next,null==f.previousIndex)d++;else{e||(e=[]);var q=h-d,u=l-d;if(q!=u){for(var x=0;x<q;x++){var y=x<e.length?e[x]:e[x]=0,G=y+x;u<=G&&G<q&&(e[x]=y+1)}e[f.previousIndex]=u-q}}h!==l&&b(f,h,l)}};
Ww.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};Ww.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};var kFb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};g=Ww.prototype;g.diff=function(a){null==a&&(a=[]);if(!Uha(a))throw new Tc(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._itHead,d=!1;if(Array.isArray(a)){this.length=a.length;for(var e=0;e<this.length;e++){var f=a[e];var h=this._trackByFn(e,f);null!==c&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,f,h,e)),Object.is(c.item,f)||this._addIdentityChange(c,f)):(c=this._mismatch(c,f,h,e),d=!0);c=c._next}}else{var l=0;Vha(a,function(q){h=b._trackByFn(l,q);null!==c&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,l)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,l),d=!0);c=c._next;l++});this.length=l}this._truncate(c);this.collection=a;return this.isDirty};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._identityChangesHead=this._identityChangesTail=this._removalsHead=this._removalsTail=this._movesHead=this._movesTail=null}};
g._mismatch=function(a,b,c,d){if(null===a)var e=this._itTail;else e=a._prev,this._remove(a);a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=null===this._linkedRecords?null:this._linkedRecords.get(c,d),null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new lFb(b,c),e,d));return a};
g._verifyReinsertion=function(a,b,c,d){b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==b?a=this._reinsertAfter(b,a._prev,d):a.currentIndex!=d&&(a.currentIndex=d,this._addToMoves(a,d));return a};
g._truncate=function(a){for(;null!==a;){var b=a._next;this._addToRemovals(this._unlink(a));a=b}null!==this._unlinkedRecords&&this._unlinkedRecords.clear();null!==this._additionsTail&&(this._additionsTail._nextAdded=null);null!==this._movesTail&&(this._movesTail._nextMoved=null);null!==this._itTail&&(this._itTail._next=null);null!==this._removalsTail&&(this._removalsTail._nextRemoved=null);null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)};
g._reinsertAfter=function(a,b,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);var d=a._prevRemoved,e=a._nextRemoved;null===d?this._removalsHead=e:d._nextRemoved=e;null===e?this._removalsTail=d:e._prevRemoved=d;this._insertAfter(a,b,c);this._addToMoves(a,c);return a};g._moveAfter=function(a,b,c){this._unlink(a);this._insertAfter(a,b,c);this._addToMoves(a,c);return a};
g._addAfter=function(a,b,c){this._insertAfter(a,b,c);this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};g._insertAfter=function(a,b,c){var d=null===b?this._itHead:b._next;a._next=d;a._prev=b;null===d?this._itTail=a:d._prev=a;null===b?this._itHead=a:b._next=a;null===this._linkedRecords&&(this._linkedRecords=new Xw);this._linkedRecords.put(a);a.currentIndex=c;return a};g._remove=function(a){return this._addToRemovals(this._unlink(a))};
g._unlink=function(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);var b=a._prev,c=a._next;null===b?this._itHead=c:b._next=c;null===c?this._itTail=b:c._prev=b;return a};g._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a;return a};
g._addToRemovals=function(a){null===this._unlinkedRecords&&(this._unlinkedRecords=new Xw);this._unlinkedRecords.put(a);a.currentIndex=null;a._nextRemoved=null;null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a);return a};
g._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};Ei.Object.defineProperties(Ww.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var lFb=function(a,b){this.item=a;this.trackById=b;this._nextIdentityChange=this._nextMoved=this._nextAdded=this._nextRemoved=this._prevRemoved=this._nextDup=this._prevDup=this._next=this._prev=this._nextPrevious=this.previousIndex=this.currentIndex=null},mFb=function(){this._tail=this._head=null};mFb.prototype.add=function(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)};
mFb.prototype.get=function(a,b){var c;for(c=this._head;null!==c;c=c._nextDup)if((null===b||b<=c.currentIndex)&&Object.is(c.trackById,a))return c;return null};mFb.prototype.remove=function(a){var b=a._prevDup;a=a._nextDup;null===b?this._head=a:b._nextDup=a;null===a?this._tail=b:a._prevDup=b;return null===this._head};var Xw=function(){this.map=new Map};Xw.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new mFb,this.map.set(b,c));c.add(a)};
Xw.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};Xw.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};Xw.prototype.clear=function(){this.map.clear()};Ei.Object.defineProperties(Xw.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var nFb=function(){};nFb.prototype.supports=function(a){return a instanceof Map||Tha(a)};nFb.prototype.create=function(){return new oFb};var oFb=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};oFb.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};var pFb=function(a,b){for(a=a._changesHead;null!==a;a=a._nextChanged)b(a)};
g=oFb.prototype;g.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};g.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};g.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||Tha(a)))throw new Tc(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._mapHead;this._appendAfter=null;this._forEach(a,function(d,e){c&&c.key===e?(b._maybeAddToChanges(c,d),b._appendAfter=c,c=c._next):(d=b._getOrCreateRecordForKey(e,d),c=b._insertBeforeOrAppend(c,d))});if(c)for(c._prev&&(c._prev._next=null),a=this._removalsHead=c;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=
null;this._changesTail&&(this._changesTail._nextChanged=null);this._additionsTail&&(this._additionsTail._nextAdded=null);return this.isDirty};g._insertBeforeOrAppend=function(a,b){if(a){var c=a._prev;b._next=a;b._prev=c;a._prev=b;c&&(c._next=b);a===this._mapHead&&(this._mapHead=b);return this._appendAfter=a}this._appendAfter?(this._appendAfter._next=b,b._prev=this._appendAfter):this._mapHead=b;this._appendAfter=b;return null};
g._getOrCreateRecordForKey=function(a,b){if(this._records.has(a)){a=this._records.get(a);this._maybeAddToChanges(a,b);b=a._prev;var c=a._next;b&&(b._next=c);c&&(c._prev=b);a._next=null;a._prev=null;return a}c=new qFb(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._removalsHead=this._additionsHead=this._additionsTail=this._changesHead=this._changesTail=null}};
g._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};g._addToAdditions=function(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};g._addToChanges=function(a){null===this._changesHead?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
g._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};Ei.Object.defineProperties(oFb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var qFb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var Yw=function(a){this.factories=a};Yw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new Tc(901,!1);};Yw.\u0275prov=Pc({token:Yw,providedIn:"root",factory:function(){return new Yw([new hFb])}});var Zw=function(a){this.factories=a};Zw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Tc(901,!1);};Zw.\u0275prov=Pc({token:Zw,providedIn:"root",factory:function(){return new Zw([new nFb])}});var rFb=Iha(null,"core",[]);var sFb=/\s+/,tFb=[],$w=function(a,b,c,d){this._iterableDiffers=a;this._keyValueDiffers=b;this._ngEl=c;this._renderer=d;this.initialClasses=tFb;this.stateMap=new Map};
$w.prototype.ngDoCheck=function(){for(var a=m(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=m(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(null!=a){var c=m(Object.keys(a));for(b=c.next();!b.done;b=c.next())b=b.value,this._updateState(b,!!a[b])}this._applyStateDiff()};
$w.prototype._updateState=function(a,b){var c=this.stateMap.get(a);void 0!==c?(c.enabled!==b&&(c.changed=!0,c.enabled=b),c.touched=!0):this.stateMap.set(a,{enabled:b,changed:!0,touched:!0})};$w.prototype._applyStateDiff=function(){for(var a=m(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
$w.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(sFb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};Ei.Object.defineProperties($w.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(sFb):tFb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(sFb):a}}});
$w.\u0275fac=function(a){return new (a||$w)(A(Yw),A(Zw),A(Yd),A(Jv))};$w.\u0275dir=r({type:$w,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});var uFb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};Ei.Object.defineProperties(uFb.prototype,{first:{configurable:!0,enumerable:!0,get:function(){return 0===this.index}},last:{configurable:!0,enumerable:!0,get:function(){return this.index===this.count-1}},even:{configurable:!0,enumerable:!0,get:function(){return 0===this.index%2}},odd:{configurable:!0,enumerable:!0,get:function(){return!this.even}}});
var ax=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};ax.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var a=this._ngForOf;!this._differ&&a&&(this._differ=this._differs.find(a).create(this.ngForTrackBy))}this._differ&&(a=this._differ.diff(this._ngForOf))&&this._applyChanges(a)};
ax.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;jFb(a,function(h,l,q){null==h.previousIndex?c.createEmbeddedView(b._template,new uFb(h.item,b._ngForOf,-1,-1),null===q?void 0:q):null==q?c.remove(null===l?void 0:l):null!==l&&(l=c.get(l),c.move(l,q),l.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var f=c.get(d).context;f.index=d;f.count=e;f.ngForOf=this._ngForOf}kFb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
Ei.Object.defineProperties(ax.prototype,{ngForOf:{configurable:!0,enumerable:!0,set:function(a){this._ngForOf=a;this._ngForOfDirty=!0}},ngForTrackBy:{configurable:!0,enumerable:!0,set:function(a){this._trackByFn=a},get:function(){return this._trackByFn}},ngForTemplate:{configurable:!0,enumerable:!0,set:function(a){a&&(this._template=a)}}});ax.\u0275fac=function(a){return new (a||ax)(A(Pg),A(Og),A(Yw))};
ax.\u0275dir=r({type:ax,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var bx=function(a,b){this._viewContainer=a;this._context=new vFb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
bx.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))};
Ei.Object.defineProperties(bx.prototype,{ngIf:{configurable:!0,enumerable:!0,set:function(a){this._context.$implicit=this._context.ngIf=a;this._updateView()}},ngIfThen:{configurable:!0,enumerable:!0,set:function(a){Qia("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){Qia("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});bx.\u0275fac=function(a){return new (a||bx)(A(Pg),A(Og))};
bx.\u0275dir=r({type:bx,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var vFb=function(){this.ngIf=this.$implicit=null};var wFb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};wFb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};wFb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var cx=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};cx.prototype._addCase=function(){return this._caseCount++};cx.prototype._addDefault=function(a){this._defaultViews.push(a)};
cx.prototype._matchCase=function(a){a=a==this._ngSwitch;this._lastCasesMatched=this._lastCasesMatched||a;this._lastCaseCheckIndex++;this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1);return a};
cx.prototype._updateDefaultCases=function(a){if(0<this._defaultViews.length&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=m(this._defaultViews),c=b.next();!c.done;c=b.next()){c=c.value;var d=a;d&&!c._created?c.create():!d&&c._created&&c.destroy()}}};Ei.Object.defineProperties(cx.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});cx.\u0275fac=function(a){return new (a||cx)};
cx.\u0275dir=r({type:cx,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var dx=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new wFb(a,b)};dx.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};dx.\u0275fac=function(a){return new (a||dx)(A(Pg),A(Og),A(cx,9))};dx.\u0275dir=r({type:dx,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var ex=function(a,b,c){c._addDefault(new wFb(a,b))};ex.\u0275fac=function(a){return new (a||ex)(A(Pg),A(Og),A(cx,9))};ex.\u0275dir=r({type:ex,selectors:[["","ngSwitchDefault",""]],standalone:!0});var fx=function(a,b,c){this._ngEl=a;this._differs=b;this._renderer=c;this._differ=this._ngStyle=null};fx.prototype.ngDoCheck=function(){if(this._differ){var a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}};fx.prototype._setStyle=function(a,b){var c=m(a.split("."));a=c.next().value;c=c.next().value;var d=-1===a.indexOf("-")?void 0:2;null!=b?this._renderer.setStyle(this._ngEl.nativeElement,a,c?""+b+c:b,d):this._renderer.removeStyle(this._ngEl.nativeElement,a,d)};
fx.prototype._applyChanges=function(a){var b=this;a.forEachRemovedItem(function(c){return b._setStyle(c.key,null)});a.forEachAddedItem(function(c){return b._setStyle(c.key,c.currentValue)});pFb(a,function(c){return b._setStyle(c.key,c.currentValue)})};Ei.Object.defineProperties(fx.prototype,{ngStyle:{configurable:!0,enumerable:!0,set:function(a){this._ngStyle=a;!this._differ&&a&&(this._differ=this._differs.find(a).create())}}});fx.\u0275fac=function(a){return new (a||fx)(A(Yd),A(Zw),A(Jv))};
fx.\u0275dir=r({type:fx,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});var gx=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};
gx.prototype.ngOnChanges=function(a){if(a.ngTemplateOutlet||a.ngTemplateOutletInjector)if(a=this._viewContainerRef,this._viewRef&&a.remove(a.indexOf(this._viewRef)),this.ngTemplateOutlet){var b=this.ngTemplateOutletInjector;this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext,b?{injector:b}:void 0)}else this._viewRef=null;else this._viewRef&&a.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)};
gx.\u0275fac=function(a){return new (a||gx)(A(Pg))};gx.\u0275dir=r({type:gx,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[md]});var xFb=function(){};xFb.prototype.createSubscription=function(a,b){return a.subscribe({next:b,error:function(c){throw c;}})};xFb.prototype.dispose=function(a){a.unsubscribe()};var yFb=function(){};yFb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};yFb.prototype.dispose=function(){};var zFb=new yFb,AFb=new xFb,hx=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};g=hx.prototype;
g.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};g.transform=function(a){return this._obj?a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue:(a&&this._subscribe(a),this._latestValue)};g._subscribe=function(a){var b=this;this._obj=a;this._strategy=this._selectStrategy(a);this._subscription=this._strategy.createSubscription(a,function(c){return b._updateLatestValue(a,c)})};
g._selectStrategy=function(a){if(Ge(a))return zFb;if(wfa(a))return AFb;throw hh();};g._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};g._updateLatestValue=function(a,b){a===this._obj&&(this._latestValue=b,this._ref.markForCheck())};hx.\u0275fac=function(a){return new (a||hx)(A(Vw,16))};hx.\u0275pipe=hd({name:"async",type:hx,pure:!1,standalone:!0});var ix=function(){};ix.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw hh();return a.toLowerCase()};ix.\u0275fac=function(a){return new (a||ix)};ix.\u0275pipe=hd({name:"lowercase",type:ix,pure:!0,standalone:!0});
var BFb=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,jx=
function(){};jx.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw hh();return a.replace(BFb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};jx.\u0275fac=function(a){return new (a||jx)};jx.\u0275pipe=hd({name:"titlecase",type:jx,pure:!0,standalone:!0});var ija=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,oh={},$ia=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,cja={};var CFb=new Ud("DATE_PIPE_DEFAULT_TIMEZONE"),DFb=new Ud("DATE_PIPE_DEFAULT_OPTIONS"),kx=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};
kx.prototype.transform=function(a,b,c,d){if(null==a||""===a||a!==a)return null;try{var e,f,h=null!=(f=null!=b?b:null==(e=this.defaultOptions)?void 0:e.dateFormat)?f:"mediumDate",l,q,u,x=null!=(u=null!=(q=null!=c?c:null==(l=this.defaultOptions)?void 0:l.timezone)?q:this.defaultTimezone)?u:void 0;return eja(a,h,d||this.locale,x)}catch(y){throw hh();}};kx.\u0275fac=function(a){return new (a||kx)(A(Ji,16),A(CFb,24),A(DFb,24))};kx.\u0275pipe=hd({name:"date",type:kx,pure:!0,standalone:!0});var lx=function(){};lx.prototype.transform=function(a){return JSON.stringify(a,null,2)};lx.\u0275fac=function(a){return new (a||lx)};lx.\u0275pipe=hd({name:"json",type:lx,pure:!1,standalone:!0});var mx=function(a){this.differs=a;this.keyValues=[];this.compareFn=kja};mx.prototype.transform=function(a,b){var c=this;b=void 0===b?kja:b;if(!a||!(a instanceof Map)&&"object"!==typeof a)return null;this.differ||(this.differ=this.differs.find(a).create());a=this.differ.diff(a);var d=b!==this.compareFn;a&&(this.keyValues=[],a.forEachItem(function(e){c.keyValues.push({key:e.key,value:e.currentValue})}));if(a||d)this.keyValues.sort(b),this.compareFn=b;return this.keyValues};
mx.\u0275fac=function(a){return new (a||mx)(A(Zw,16))};mx.\u0275pipe=hd({name:"keyvalue",type:mx,pure:!1,standalone:!0});var nja=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var nx=function(a){this._locale=a};
nx.prototype.transform=function(a,b,c){if(null==a||""===a||a!==a)return null;c=c||this._locale;try{if("string"!==typeof a||isNaN(Number(a)-parseFloat(a))){if("number"!==typeof a)throw Error("Ya`"+a);var d=a}else d=Number(a);a=d;var e=He(c)[14][0],f=gh(c,5);f=void 0===f?"-":f;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),l=h[0],q=h[1],u=-1!==l.indexOf(".")?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],x=u[0],y=u[1]||"";d.posPre=x.substring(0,x.indexOf("#"));for(e=0;e<y.length;e++){var G=y.charAt(e);"0"===G?d.minFrac=d.maxFrac=e+1:"#"===G?d.maxFrac=e+1:d.posSuf+=G}var J=x.split(",");d.gSize=J[1]?J[1].length:0;d.lgSize=J[2]||J[1]?(J[2]||J[1]).length:0;if(q){var M=l.length-d.posPre.length-d.posSuf.length,V=q.indexOf("#");d.negPre=q.substring(0,V).replace(/'/g,"");d.negSuf=q.slice(V+M).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return qja(a,d,c,b)}catch(U){throw hh();}};
nx.\u0275fac=function(a){return new (a||nx)(A(Ji,16))};nx.\u0275pipe=hd({name:"number",type:nx,pure:!0,standalone:!0});var ox=function(){};ox.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw hh();return a.slice(b,c)};ox.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};ox.\u0275fac=function(a){return new (a||ox)};ox.\u0275pipe=hd({name:"slice",type:ox,pure:!1,standalone:!0});var px=function(){};px.\u0275fac=function(a){return new (a||px)};px.\u0275mod=fd({type:px});px.\u0275inj=Qc({});var qx=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};qx.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};qx.prototype.registerOnTouched=function(a){this.onTouched=a};qx.prototype.registerOnChange=function(a){this.onChange=a};qx.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};qx.\u0275fac=function(a){return new (a||qx)(A(Jv),A(Yd))};qx.\u0275dir=r({type:qx});
var zh=function(){qx.apply(this,arguments)};X(zh,qx);zh.\u0275fac=function(){var a;return function(b){return(a||(a=Od(zh)))(b||zh)}}();zh.\u0275dir=r({type:zh,features:[$f]});var rx=new Ud("NgValueAccessor");var EFb=function(a){return a.src};new Ud("ImageLoader",{providedIn:"root",factory:function(){return EFb}});var Ci=new Ud("DocumentToken");new Ud("PRECONNECT_CHECK_BLOCKLIST");new Ud("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var FFb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]};new Ud("ImageConfig",{providedIn:"root",factory:function(){return FFb}});var GFb=null,HFb=function(){};var sx=function(){};sx.prototype.historyGo=function(){throw Error("Za");};sx.\u0275fac=function(a){return new (a||sx)};sx.\u0275prov=Pc({token:sx,factory:function(){return n(tx)},providedIn:"platform"});var IFb=new Ud("Location Initialized"),tx=function(a){this._doc=a;this._location=window.location;this._history=window.history};X(tx,sx);tx.prototype.onPopState=function(a){var b=JFb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var KFb=function(a,b){var c=JFb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=tx.prototype;g.pushState=function(a,b,c){window.history.pushState?this._history.pushState(a,b,c):this._location.hash=c};g.replaceState=function(a,b,c){window.history.pushState?this._history.replaceState(a,b,c):this._location.hash=c};g.forward=function(){this._history.forward()};g.back=function(){this._history.back()};
g.historyGo=function(a){this._history.go(void 0===a?0:a)};g.getState=function(){return this._history.state};
Ei.Object.defineProperties(tx.prototype,{href:{configurable:!0,enumerable:!0,get:function(){return this._location.href}},protocol:{configurable:!0,enumerable:!0,get:function(){return this._location.protocol}},hostname:{configurable:!0,enumerable:!0,get:function(){return this._location.hostname}},port:{configurable:!0,enumerable:!0,get:function(){return this._location.port}},pathname:{configurable:!0,enumerable:!0,get:function(){return this._location.pathname},set:function(a){this._location.pathname=
a}},search:{configurable:!0,enumerable:!0,get:function(){return this._location.search}},hash:{configurable:!0,enumerable:!0,get:function(){return this._location.hash}}});tx.\u0275fac=function(a){return new (a||tx)(n(Ci))};tx.\u0275prov=Pc({token:tx,factory:function(){return new tx(n(Ci))},providedIn:"platform"});var ux=function(){};ux.prototype.historyGo=function(){throw Error("Za");};ux.\u0275fac=function(a){return new (a||ux)};ux.\u0275prov=Pc({token:ux,factory:function(){return Zc(vx)},providedIn:"root"});var LFb=new Ud("appBaseHref"),vx=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:GFb.getBaseHref())?d:null==(c=Zc(Ci).location)?void 0:c.origin)?e:""};X(vx,ux);g=vx.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),KFb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return rja(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+rh(this._platformLocation.search),c=this._platformLocation.hash;return c&&(void 0===a?0:a)?b+c:b};g.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+rh(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+rh(d)))};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};vx.\u0275fac=function(a){return new (a||vx)(n(sx),n(LFb,8))};vx.\u0275prov=Pc({token:vx,factory:vx.\u0275fac,providedIn:"root"});var wx=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};X(wx,ux);g=wx.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),KFb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};
g.path=function(){var a=this._platformLocation.hash;null==a&&(a="#");return 0<a.length?a.substring(1):a};g.prepareExternalUrl=function(a){a=rja(this._baseHref,a);return 0<a.length?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+rh(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.pushState(a,b,c)};
g.replaceState=function(a,b,c,d){c=this.prepareExternalUrl(c+rh(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.replaceState(a,b,c)};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};wx.\u0275fac=function(a){return new (a||wx)(n(sx),n(LFb,8))};
wx.\u0275prov=Pc({token:wx,factory:wx.\u0275fac});var xx=function(a){var b=this;this._subject=new vw;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=tja(sja(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=xx.prototype;g.ngOnDestroy=function(){var a;null==(a=this._urlChangeSubscription)||a.unsubscribe();this._urlChangeListeners=[]};
g.path=function(a){return this.normalize(this._locationStrategy.path(void 0===a?!1:a))};g.getState=function(){return this._locationStrategy.getState()};g.normalize=function(a){var b=this._basePath;a=a.replace(/\/index.html$/,"");b&&a.startsWith(b)?(b=a.substring(b.length),b=""===b||["/",";","?","#"].includes(b[0])?b:a):b=a;return sja(b)};g.prepareExternalUrl=function(a){a&&"/"!==a[0]&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
g.go=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.pushState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+rh(b)),c)};g.replaceState=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.replaceState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+rh(b)),c)};g.forward=function(){this._locationStrategy.forward()};g.back=function(){this._locationStrategy.back()};
g.historyGo=function(a){var b,c;null==(c=(b=this._locationStrategy).historyGo)||c.call(b,void 0===a?0:a)};g._notifyUrlChangeListeners=function(a,b){a=void 0===a?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};g.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b,complete:c})};xx.\u0275fac=function(a){return new (a||xx)(n(ux))};xx.\u0275prov=Pc({token:xx,factory:function(){return new xx(n(ux))},providedIn:"root"});var MFb=function(){};MFb.\u0275prov=Pc({token:MFb,providedIn:"root",factory:function(){return new NFb}});var NFb=function(){var a=n(Ci),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};NFb.prototype.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};NFb.prototype.getScrollPosition=function(){return OFb(this)?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]};
var PFb=function(a,b){OFb(a)&&a.window.scrollTo(b[0],b[1])},OFb=function(a){try{return!!a.window&&!!a.window.scrollTo&&"pageXOffset"in a.window}catch(b){return!1}};var QFb=function(){};var RFb={provide:rx,useExisting:Nc(function(){return yh}),multi:!0},SFb=new Ud("CompositionEventMode"),yh=function(a,b,c){qx.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((GFb?window.navigator.userAgent:"").toLowerCase()))};X(yh,qx);yh.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};yh.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
yh.prototype._compositionStart=function(){this._composing=!0};yh.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};yh.\u0275fac=function(a){return new (a||yh)(A(Jv),A(Yd),A(SFb,8))};
yh.\u0275dir=r({type:yh,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(a,b){a&1&&K("input",function(c){return b._handleInput(c.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",
function(c){return b._compositionEnd(c.target.value)})},features:[Dg([RFb]),$f]});var yx=new Ud("NgValidators"),zx=new Ud("NgAsyncValidators"),Ax=function(a){return vja(a)};var Bx=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=Bx.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=Fja(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=Hja(this._rawAsyncValidators)};g._registerOnDestroy=function(a){this._onDestroyCallbacks.push(a)};
g._invokeOnDestroyCallbacks=function(){this._onDestroyCallbacks.forEach(function(a){return a()});this._onDestroyCallbacks=[]};g.reset=function(a){this.control&&this.control.reset(a)};g.hasError=function(a,b){return this.control?this.control.hasError(a,b):!1};g.getError=function(a,b){return this.control?this.control.getError(a,b):null};
Ei.Object.defineProperties(Bx.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.value:null}},valid:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.valid:null}},invalid:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.invalid:null}},pending:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.pending:null}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.control?
this.control.disabled:null}},enabled:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.enabled:null}},errors:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.errors:null}},pristine:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.pristine:null}},dirty:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.dirty:null}},touched:{configurable:!0,enumerable:!0,get:function(){return this.control?
this.control.touched:null}},status:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.status:null}},untouched:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.untouched:null}},statusChanges:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.statusChanges:null}},valueChanges:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.valueChanges:null}},path:{configurable:!0,enumerable:!0,get:function(){return null}},
validator:{configurable:!0,enumerable:!0,get:function(){return this._composedValidatorFn||null}},asyncValidator:{configurable:!0,enumerable:!0,get:function(){return this._composedAsyncValidatorFn||null}}});var Cx=function(){Bx.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};X(Cx,Bx);var Dx=function(){Bx.apply(this,arguments)};X(Dx,Bx);Ei.Object.defineProperties(Dx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var TFb=function(a){this._cd=a};
Ei.Object.defineProperties(TFb.prototype,{isTouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.touched)}},isUntouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.untouched)}},isPristine:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.pristine)}},isDirty:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==
(a=this._cd)?0:null==(b=a.control)?0:b.dirty)}},isValid:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.valid)}},isInvalid:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.invalid)}},isPending:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.pending)}},isSubmitted:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==
(a=this._cd)||!a.submitted)}}});Object.assign({},{"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},{"[class.ng-submitted]":"isSubmitted"});var Ex=function(a){this._cd=a};X(Ex,TFb);Ex.\u0275fac=function(a){return new (a||Ex)(A(Cx,2))};
Ex.\u0275dir=r({type:Ex,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&pg("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)},features:[$f]});var Fx=function(a){this._cd=a};X(Fx,TFb);Fx.\u0275fac=function(a){return new (a||Fx)(A(Dx,10))};
Fx.\u0275dir=r({type:Fx,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&pg("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)("ng-submitted",b.isSubmitted)},features:[$f]});var Gx=new Ud("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var Hx=function(a,b){this._pendingTouched=this._hasOwnPendingAsyncValidator=this._pendingDirty=!1;this._onCollectionChange=function(){};this._parent=null;this.pristine=!0;this.touched=!1;this._onDisabledChange=[];this._assignValidators(a);this._assignAsyncValidators(b)},Pja=function(a,b){a._assignValidators(b)},Qja=function(a,b){a._assignAsyncValidators(b)},UFb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(Ax):a===Ax},Sja=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&Sja(a._parent,b)},VFb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){VFb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},Tja=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&Tja(a._parent,b)},WFb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){WFb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};g=Hx.prototype;
g.disable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="DISABLED";this.errors=null;this._forEachChild(function(c){c.disable(Object.assign({},a,{onlySelf:!0}))});this._updateValue();!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status));this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!0)})};
g.enable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="VALID";this._forEachChild(function(c){c.enable(Object.assign({},a,{onlySelf:!0}))});xh(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!1)})};g._updateAncestors=function(a){this._parent&&!a.onlySelf&&(xh(this._parent,a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())};
g.setParent=function(a){this._parent=a};g.getRawValue=function(){return this.value};var xh=function(a,b){b=void 0===b?{}:b;a._setInitialStatus();a._updateValue();a.enabled&&(a._cancelExistingSubscription(),a.errors=a._runValidator(),a.status=a._calculateStatus(),"VALID"!==a.status&&"PENDING"!==a.status||a._runAsyncValidator(b.emitEvent));!1!==b.emitEvent&&(a.valueChanges.emit(a.value),a.statusChanges.emit(a.status));a._parent&&!b.onlySelf&&xh(a._parent,b)};g=Hx.prototype;
g._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});xh(this,{onlySelf:!0,emitEvent:a.emitEvent})};g._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"};g._runValidator=function(){return this.validator?this.validator(this):null};
g._runAsyncValidator=function(a){var b=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator=!0,this._asyncValidationSubscription=Aja(this.asyncValidator(this)).subscribe(function(c){b._hasOwnPendingAsyncValidator=!1;var d={emitEvent:a};d=void 0===d?{}:d;b.errors=c;b._updateControlsErrors(!1!==d.emitEvent)}))};g._cancelExistingSubscription=function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)};
g.get=function(a){if(null==a)return null;Array.isArray(a)||(a=a.split("."));return 0===a.length?null:a.reduce(function(b,c){return b&&b._find(c)},this)};g.getError=function(a,b){return(b=b?this.get(b):this)&&b.errors?b.errors[a]:null};g.hasError=function(a,b){return!!this.getError(a,b)};g._updateControlsErrors=function(a){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);this._parent&&this._parent._updateControlsErrors(a)};
g._initObservables=function(){this.valueChanges=new vw;this.statusChanges=new vw};g._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"};g._anyControlsHaveStatus=function(a){return this._anyControls(function(b){return b.status===a})};g._anyControlsDirty=function(){return this._anyControls(function(a){return a.dirty})};
g._anyControlsTouched=function(){return this._anyControls(function(a){return a.touched})};g._updatePristine=function(a){a=void 0===a?{}:a;this.pristine=!this._anyControlsDirty();this._parent&&!a.onlySelf&&this._parent._updatePristine(a)};g._updateTouched=function(a){a=void 0===a?{}:a;this.touched=this._anyControlsTouched();this._parent&&!a.onlySelf&&this._parent._updateTouched(a)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};
g._setUpdateStrategy=function(a){Ah(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)};g._parentMarkedDirty=function(a){var b=this._parent&&this._parent.dirty;return!a&&!!b&&!this._parent._anyControlsDirty()};g._find=function(){return null};g._assignValidators=function(a){a=this._rawValidators=Array.isArray(a)?a.slice():a;this._composedValidatorFn=Array.isArray(a)?Fja(a):a||null};
g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?Hja(a):a||null};
Ei.Object.defineProperties(Hx.prototype,{validator:{configurable:!0,enumerable:!0,get:function(){return this._composedValidatorFn},set:function(a){this._rawValidators=this._composedValidatorFn=a}},asyncValidator:{configurable:!0,enumerable:!0,get:function(){return this._composedAsyncValidatorFn},set:function(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}},parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},valid:{configurable:!0,enumerable:!0,get:function(){return"VALID"===
this.status}},invalid:{configurable:!0,enumerable:!0,get:function(){return"INVALID"===this.status}},pending:{configurable:!0,enumerable:!0,get:function(){return"PENDING"==this.status}},disabled:{configurable:!0,enumerable:!0,get:function(){return"DISABLED"===this.status}},enabled:{configurable:!0,enumerable:!0,get:function(){return"DISABLED"!==this.status}},dirty:{configurable:!0,enumerable:!0,get:function(){return!this.pristine}},untouched:{configurable:!0,enumerable:!0,get:function(){return!this.touched}},
updateOn:{configurable:!0,enumerable:!0,get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},root:{configurable:!0,enumerable:!0,get:function(){for(var a=this;a._parent;)a=a._parent;return a}}});var Ix=function(a,b,c){var d=Hx.call,e=Xja(b);c=(Ah(b)?b.asyncValidators:c)||null;d.call(Hx,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();xh(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};X(Ix,Hx);var XFb=function(a,b,c){if(a.controls[b])return a.controls[b];a.controls[b]=c;c.setParent(a);c._registerOnCollectionChange(a._onCollectionChange);return c};g=Ix.prototype;
g.addControl=function(a){var b=void 0===b?{}:b;XFb(this,a);xh(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.removeControl=function(a){var b=void 0===b?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];xh(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.contains=function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled};
g.setValue=function(a,b){var c=this;b=void 0===b?{}:b;Yja(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new Tc(1E3,"");if(!e[d])throw new Tc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});xh(this,b)};g.reset=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;this._forEachChild(function(c,d){c.reset(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b);this._updateTouched(b);xh(this,b)};
g.getRawValue=function(){return this._reduceChildren({},function(a,b,c){a[c]=b.getRawValue();return a})};g._syncPendingControls=function(){var a=this._reduceChildren(!1,function(b,c){return c._syncPendingControls()?!0:b});a&&xh(this,{onlySelf:!0});return a};g._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};g._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
g._updateValue=function(){this.value=this._reduceValue()};g._anyControls=function(a){for(var b=m(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};g._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};g._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
g._allControlsDisabled=function(){for(var a=m(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return 0<Object.keys(this.controls).length||this.disabled};g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var YFb={provide:Dx,useExisting:Nc(function(){return Jx})},ZFb=Promise.resolve(),Jx=function(a,b,c){Dx.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new vw;this.form=new Ix({},Fja(a),Hja(b))};X(Jx,Dx);g=Jx.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;ZFb.then(function(){var c=b._findContainer(a.path);a.control=XFb(c,a.name,a.control);th(a.control,a,b.callSetDisabledState);xh(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;ZFb.then(function(){var c=b._findContainer(a.path);c&&c.removeControl(a.name);b._directives.delete(a)})};g.updateModel=function(a,b){var c=this;ZFb.then(function(){c.form.get(a.path).setValue(b)})};g.setValue=function(a){this.control.setValue(a)};
g.onSubmit=function(a){this.submitted=!0;Vja(this.form,this._directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)};g._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
Ei.Object.defineProperties(Jx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return this}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}},path:{configurable:!0,enumerable:!0,get:function(){return[]}},controls:{configurable:!0,enumerable:!0,get:function(){return this.form.controls}}});Jx.\u0275fac=function(a){return new (a||Jx)(A(yx,10),A(zx,10),A(Gx,8))};
Jx.\u0275dir=r({type:Jx,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&K("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Dg([YFb]),$f]});var Kx=function(a,b,c){a=void 0===a?null:a;var d=Hx.call,e=Xja(b);c=(Ah(b)?b.asyncValidators:c)||null;d.call(Hx,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();xh(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});Ah(b)&&(b.nonNullable||b.initialValueIsDefault)&&(Zja(a)?this.defaultValue=a.value:this.defaultValue=a)};X(Kx,Hx);g=Kx.prototype;
g.setValue=function(a,b){var c=this;b=void 0===b?{}:b;this.value=this._pendingValue=a;this._onChange.length&&!1!==b.emitModelToViewChange&&this._onChange.forEach(function(d){return d(c.value,!1!==b.emitViewToModelChange)});xh(this,b)};g.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);WFb(this,b);VFb(this,b);this.setValue(this.value,b);this._pendingChange=!1};g._updateValue=function(){};g._anyControls=function(){return!1};g._allControlsDisabled=function(){return this.disabled};
g.registerOnChange=function(a){this._onChange.push(a)};g._unregisterOnChange=function(a){var b=this._onChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};g._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};g._forEachChild=function(){};
g._syncPendingControls=function(){return"submit"===this.updateOn&&(this._pendingDirty&&Tja(this),this._pendingTouched&&Sja(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){Zja(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a};var $Fb={provide:Cx,useExisting:Nc(function(){return Lx})},aGb=Promise.resolve(),Lx=function(a,b,c,d,e,f){Cx.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new Kx;this._registered=!1;this.update=new vw;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Wja(d)};X(Lx,Cx);g=Lx.prototype;
g.ngOnChanges=function(a){this._checkForErrors();if(!this._registered||"name"in a){if(this._registered&&(this._checkName(),this.formDirective)){var b=a.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in a&&this._updateDisabled(a);Uja(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)};g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};
g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._setUpControl=function(){this._setUpdateStrategy();this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this);this._registered=!0};g._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)};g._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
g._setUpStandalone=function(){th(this.control,this,this.callSetDisabledState);xh(this.control,{emitEvent:!1})};g._checkForErrors=function(){this._isStandalone()||this._checkParentType();this._checkName()};g._checkParentType=function(){};g._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};g._updateValue=function(a){var b=this;aGb.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;null==(c=b._changeDetectorRef)||c.markForCheck()})};
g._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=0!==a&&bh(a);aGb.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;null==(d=b._changeDetectorRef)||d.markForCheck()})};g._getPath=function(a){return this._parent?Jja(a,this._parent):[a]};
Ei.Object.defineProperties(Lx.prototype,{path:{configurable:!0,enumerable:!0,get:function(){return this._getPath(this.name)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Lx.\u0275fac=function(a){return new (a||Lx)(A(Dx,9),A(yx,10),A(zx,10),A(rx,10),A(Vw,8),A(Gx,8))};
Lx.\u0275dir=r({type:Lx,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Dg([$Fb]),$f,md]});var Mx=function(){};Mx.\u0275fac=function(a){return new (a||Mx)};Mx.\u0275dir=r({type:Mx,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var bGb={provide:rx,useExisting:Nc(function(){return Nx}),multi:!0},Nx=function(){zh.apply(this,arguments)};X(Nx,zh);Nx.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Nx.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};Nx.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Nx)))(b||Nx)}}();
Nx.\u0275dir=r({type:Nx,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&K("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[Dg([bGb]),$f]});var cGb={provide:rx,useExisting:Nc(function(){return Ox}),multi:!0},Px=function(){};Px.\u0275fac=function(a){return new (a||Px)};Px.\u0275mod=fd({type:Px});Px.\u0275inj=Qc({});var Qx=function(){this._accessors=[]};Qx.prototype.add=function(a,b){this._accessors.push([a,b])};Qx.prototype.remove=function(a){for(var b=this._accessors.length-1;0<=b;--b)if(this._accessors[b][1]===a){this._accessors.splice(b,1);break}};
Qx.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};Qx.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Qx.\u0275fac=function(a){return new (a||Qx)};Qx.\u0275prov=Pc({token:Qx,factory:Qx.\u0275fac,providedIn:Px});
var Ox=function(a,b,c,d){zh.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=Zc(Gx,{optional:!0}))?e:"whenDisabledForLegacyCode"};X(Ox,zh);g=Ox.prototype;g.ngOnInit=function(){this._control=this._injector.get(Cx);this._checkName();this._registry.add(this._control,this)};g.ngOnDestroy=function(){this._registry.remove(this)};
g.writeValue=function(a){this._state=a===this.value;this.setProperty("checked",this._state)};g.registerOnChange=function(a){var b=this;this._fn=a;this.onChange=function(){a(b.value);b._registry.select(b)}};g.setDisabledState=function(a){(this.setDisabledStateFired||a||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};g._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};
Ox.\u0275fac=function(a){return new (a||Ox)(A(Jv),A(Yd),A(Qx),A(Fv))};Ox.\u0275dir=r({type:Ox,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&K("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Dg([cGb]),$f]});var dGb=new Ud("NgModelWithFormControlWarning"),eGb={provide:Cx,useExisting:Nc(function(){return Rx})},Rx=function(a,b,c,d,e){Cx.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new vw;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=Wja(c)};X(Rx,Cx);
Rx.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&vh(b,this);th(this.form,this,this.callSetDisabledState);xh(this.form,{emitEvent:!1})}Uja(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Rx.prototype.ngOnDestroy=function(){this.form&&vh(this.form,this)};Rx.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Rx.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
Ei.Object.defineProperties(Rx.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return[]}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}}});Rx.\u0275fac=function(a){return new (a||Rx)(A(yx,10),A(zx,10),A(rx,10),A(dGb,8),A(Gx,8))};
Rx.\u0275dir=r({type:Rx,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Dg([eGb]),$f,md]});var fGb={provide:Dx,useExisting:Nc(function(){return Sx})},Sx=function(a,b,c){Dx.call(this);var d=this;this.callSetDisabledState=c;this.submitted=!1;this._onCollectionChange=function(){return d._updateDomValue()};this.directives=[];this.form=null;this.ngSubmit=new vw;this._setValidators(a);this._setAsyncValidators(b)};X(Sx,Dx);g=Sx.prototype;g.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
g.ngOnDestroy=function(){this.form&&(uh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);th(b,a,this.callSetDisabledState);xh(b,{emitEvent:!1});this.directives.push(a);return b};g.removeControl=function(a){vh(a.control||null,a);var b=this.directives;a=b.indexOf(a);-1<a&&b.splice(a,1)};g.updateModel=function(a,b){this.form.get(a.path).setValue(b)};
g.onSubmit=function(a){this.submitted=!0;Vja(this.form,this.directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(vh(c||null,b),d instanceof Kx&&(th(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
g._setUpFormContainer=function(a){var b=this.form.get(a.path);Kja(b,a);xh(b,{emitEvent:!1})};g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&uh(b,a)&&xh(b,{emitEvent:!1})}};g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){Kja(this.form,this);this._oldForm&&uh(this._oldForm,this)};g._checkFormPresent=function(){};
Ei.Object.defineProperties(Sx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return this}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}},path:{configurable:!0,enumerable:!0,get:function(){return[]}}});Sx.\u0275fac=function(a){return new (a||Sx)(A(yx,10),A(zx,10),A(Gx,8))};
Sx.\u0275dir=r({type:Sx,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&K("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Dg([fGb]),$f,md]});var gGb={provide:Cx,useExisting:Nc(function(){return Tx})},Tx=function(a,b,c,d,e){Cx.call(this);this._ngModelWarningConfig=e;this._added=!1;this.update=new vw;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Wja(d)};X(Tx,Cx);g=Tx.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();Uja(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._checkParentType=function(){};g._setUpControl=function(){this._checkParentType();this.control=this.formDirective.addControl(this);this._added=!0};
Ei.Object.defineProperties(Tx.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return Jja(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Tx.\u0275fac=function(a){return new (a||Tx)(A(Dx,13),A(yx,10),A(zx,10),A(rx,10),A(dGb,8))};
Tx.\u0275dir=r({type:Tx,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Dg([gGb]),$f,md]});var Ux=function(){this._validator=xja};Ux.prototype.ngOnChanges=function(a){this.inputName in a&&(a=this.normalizeInput(a[this.inputName].currentValue),this._validator=(this._enabled=this.enabled(a))?this.createValidator(a):xja,this._onChange&&this._onChange())};Ux.prototype.validate=function(a){return this._validator(a)};Ux.prototype.registerOnValidatorChange=function(a){this._onChange=a};Ux.prototype.enabled=function(a){return null!=a};Ux.\u0275fac=function(a){return new (a||Ux)};
Ux.\u0275dir=r({type:Ux,features:[md]});var hGb={provide:yx,useExisting:Nc(function(){return Vx}),multi:!0},Vx=function(){Ux.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return uja(a)}};X(Vx,Ux);Vx.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Vx)))(b||Vx)}}();
Vx.\u0275dir=r({type:Vx,selectors:["input type number min  formControlName ".split(" "),"input type number min  formControl ".split(" "),"input type number min  ngModel ".split(" ")],hostVars:1,hostBindings:function(a,b){a&2&&dg("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Dg([hGb]),$f]});var iGb={provide:yx,useExisting:Nc(function(){return Wx}),multi:!0},Wx=function(){Ux.apply(this,arguments);this.inputName="required";this.normalizeInput=bh;this.createValidator=function(){return vja}};
X(Wx,Ux);Wx.prototype.enabled=function(a){return a};Wx.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Wx)))(b||Wx)}}();Wx.\u0275dir=r({type:Wx,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&dg("required",b._enabled?"":null)},inputs:{required:"required"},features:[Dg([iGb]),$f]});
var jGb={provide:yx,useExisting:Nc(function(){return Xx}),multi:!0},Xx=function(){Ux.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return wja(a)}};X(Xx,Ux);Xx.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Xx)))(b||Xx)}}();
Xx.\u0275dir=r({type:Xx,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&dg("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Dg([jGb]),$f]});var kGb={provide:yx,useExisting:Nc(function(){return Yx}),multi:!0},Yx=function(){Ux.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return yja(a)}};
X(Yx,Ux);Yx.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Yx)))(b||Yx)}}();Yx.\u0275dir=r({type:Yx,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&dg("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Dg([kGb]),$f]});var Zx=function(){};Zx.\u0275fac=function(a){return new (a||Zx)};Zx.\u0275mod=fd({type:Zx});Zx.\u0275inj=Qc({imports:[Px]});var ay=function(){};ay.\u0275fac=function(a){return new (a||ay)};ay.\u0275mod=fd({type:ay});ay.\u0275inj=Qc({imports:[Zx]});var by=function(){};by.\u0275fac=function(a){return new (a||by)};by.\u0275mod=fd({type:by});by.\u0275inj=Qc({imports:[Zx]});var Bh,$ja="color button checkbox date datetime-local email file hidden image month number password radio range reset search submit tel text time url week".split(" ");var Ch;var Fh,Eh;var eka;var lGb;try{lGb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){lGb=!1}
var cy=function(a){this.EDGE=(this.isBrowser=(this._platformId=a)?"browser"===this._platformId:"object"===typeof document&&!!document)&&/(edge)/i.test(navigator.userAgent);this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);this.BLINK=this.isBrowser&&!(!window.chrome&&!lGb)&&"undefined"!==typeof CSS&&!this.EDGE&&!this.TRIDENT;this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&
!("MSStream"in window);this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};cy.\u0275fac=function(a){return new (a||cy)(n(VDb))};cy.\u0275prov=Pc({token:cy,factory:cy.\u0275fac,providedIn:"root"});var dy=function(a){this._platform=a};dy.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};dy.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var mGb=function(a,b){if(!a._platform.isBrowser)return!1;try{var c=(b.ownerDocument&&b.ownerDocument.defaultView||window).frameElement}catch(h){c=null}if(c&&(-1===hka(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=hka(b);if(b.hasAttribute("contenteditable"))a=-1!==d;else{var e;if(!(e="iframe"===c||"object"===c)&&(e=a._platform.WEBKIT&&a._platform.IOS)){e=b.nodeName.toLowerCase();var f="input"===e&&b.type;e=!("text"===f||"password"===f||"select"===e||"textarea"===e)}a=e?!1:"audio"===
c?b.hasAttribute("controls")?-1!==d:!1:"video"===c?-1===d?!1:null!==d?!0:a._platform.FIREFOX||b.hasAttribute("controls"):0<=b.tabIndex}return a};dy.prototype.isFocusable=function(a){if("input"==a.nodeName.toLowerCase()&&"hidden"==a.type)var b=!1;else b=a.nodeName.toLowerCase(),b="input"===b||"select"===b||"button"===b||"textarea"===b||"a"==a.nodeName.toLowerCase()&&a.hasAttribute("href")||a.hasAttribute("contenteditable")||gka(a);return b&&!this.isDisabled(a)&&this.isVisible(a)};
dy.\u0275fac=function(a){return new (a||dy)(n(cy))};dy.\u0275prov=Pc({token:dy,factory:dy.\u0275fac,providedIn:"root"});var gy=function(a,b,c,d,e){var f=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._hasAttached=!1;this.startAnchorListener=function(){return nGb(f)};this.endAnchorListener=function(){return ey(f)};this._enabled=!0;(void 0===e?0:e)||fy(this)};
gy.prototype.destroy=function(){var a=this._startAnchor,b=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.remove());b&&(b.removeEventListener("focus",this.endAnchorListener),b.remove());this._startAnchor=this._endAnchor=null;this._hasAttached=!1};
var fy=function(a){a._hasAttached||(a._ngZone.runOutsideAngular(function(){a._startAnchor||(a._startAnchor=a._createAnchor(),a._startAnchor.addEventListener("focus",a.startAnchorListener));a._endAnchor||(a._endAnchor=a._createAnchor(),a._endAnchor.addEventListener("focus",a.endAnchorListener))}),a._element.parentNode&&(a._element.parentNode.insertBefore(a._startAnchor,a._element),a._element.parentNode.insertBefore(a._endAnchor,a._element.nextSibling),a._hasAttached=!0))},oGb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
gy.prototype._getRegionBoundary=function(a){var b=this._element.querySelectorAll("[cdk-focus-region-"+a+"], [cdkFocusRegion"+(a+"], [cdk-focus-")+(a+"]"));return"start"==a?b.length?b[0]:this._getFirstTabbableElement(this._element):b.length?b[b.length-1]:this._getLastTabbableElement(this._element)};
gy.prototype.focusInitialElement=function(){var a=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(a){if(!this._checker.isFocusable(a))return a=this._getFirstTabbableElement(a),null==a||a.focus(void 0),!!a;a.focus(void 0);return!0}return ey(this)};var ey=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},nGb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=gy.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&mGb(this._checker,a))return a;a=a.children;for(var b=0;b<a.length;b++){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(a[b]):null;if(c)return c}return null};g._getLastTabbableElement=function(a){if(this._checker.isFocusable(a)&&mGb(this._checker,a))return a;a=a.children;for(var b=a.length-1;0<=b;b--){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(a[b]):null;if(c)return c}return null};
g._createAnchor=function(){var a=this._document.createElement("div");this._toggleAnchorTabIndex(this._enabled,a);a.classList.add("cdk-visually-hidden");a.classList.add("cdk-focus-trap-anchor");a.setAttribute("aria-hidden","true");return a};g._toggleAnchorTabIndex=function(a,b){a?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")};var pGb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
gy.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(Ef()).subscribe(a)};Ei.Object.defineProperties(gy.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled=a;this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}}});var hy=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
hy.prototype.create=function(a,b){return new gy(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};hy.\u0275fac=function(a){return new (a||hy)(n(dy),n(Yf),n(Ci))};hy.\u0275prov=Pc({token:hy,factory:hy.\u0275fac,providedIn:"root"});var iy=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)};g=iy.prototype;
g.ngOnDestroy=function(){this.focusTrap.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};g.ngAfterContentInit=function(){fy(this.focusTrap);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap.hasAttached()||fy(this.focusTrap)};g.ngOnChanges=function(a){(a=a.autoCapture)&&!a.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()};
g._captureFocus=function(){this._previouslyFocusedElement=Hh();oGb(this.focusTrap)};Ei.Object.defineProperties(iy.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.focusTrap.enabled},set:function(a){this.focusTrap.enabled=Kh(a)}},autoCapture:{configurable:!0,enumerable:!0,get:function(){return this._autoCapture},set:function(a){this._autoCapture=Kh(a)}}});iy.\u0275fac=function(a){return new (a||iy)(A(Yd),A(hy),A(Ci))};
iy.\u0275dir=r({type:iy,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[md]});var qGb=new Ud("cdk-input-modality-detector-options"),rGb={ignoreKeys:[18,17,224,91,16]},jy=Dh({passive:!0,capture:!0}),ky=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new T.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(f){var h,l;(null==(h=e._options)?0:null==(l=h.ignoreKeys)?0:l.some(function(q){return q===f.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=Ih(f))};this._onMousedown=function(f){650>Date.now()-e._lastTouchMs||
(e._modality.next(Oh(f)?"keyboard":"mouse"),e._mostRecentTarget=Ih(f))};this._onTouchstart=function(f){Ph(f)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=Ih(f))};this._options=Object.assign({},rGb,d);this.modalityDetected=this._modality.pipe(Of(1));this.modalityDetected.pipe(Df());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,jy);c.addEventListener("mousedown",e._onMousedown,jy);c.addEventListener("touchstart",
e._onTouchstart,jy)})};ky.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,jy),document.removeEventListener("mousedown",this._onMousedown,jy),document.removeEventListener("touchstart",this._onTouchstart,jy))};Ei.Object.defineProperties(ky.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
ky.\u0275fac=function(a){return new (a||ky)(n(cy),n(Yf),n(Ci),n(qGb,8))};ky.\u0275prov=Pc({token:ky,factory:ky.\u0275fac,providedIn:"root"});var sGb=new Ud("cdk-focus-monitor-default-options"),tGb=Dh({passive:!0,capture:!0}),ly=function(a,b,c,d,e){var f=this;this._ngZone=a;this._platform=b;this._inputModalityDetector=c;this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){f._windowFocused=!0;f._windowFocusTimeoutId=window.setTimeout(function(){return f._windowFocused=!1})};this._stopInputModalityDetector=
new T.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var l=Ih(h);l;l=l.parentElement)"focus"===h.type?f._onFocus(h,l):f._onBlur(h,l)};this._document=d;this._detectionMode=(null==e?void 0:e.detectionMode)||0};
ly.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=Mh(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,T.of)(null);var c=Gh(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new T.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
ly.prototype.stopMonitoring=function(a){a=Mh(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var my=function(a,b,c,d){b=Mh(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=m(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),"function"===typeof b.focus&&b.focus(d))};g=ly.prototype;
g.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};
g._getFocusOrigin=function(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"};g._shouldBeAttributedToTouch=function(a){return 1===this._detectionMode||!(null==a||!a.contains(this._inputModalityDetector._mostRecentTarget))};
g._setClasses=function(a,b){a.classList.toggle("cdk-focused",!!b);a.classList.toggle("cdk-touch-focused","touch"===b);a.classList.toggle("cdk-keyboard-focused","keyboard"===b);a.classList.toggle("cdk-mouse-focused","mouse"===b);a.classList.toggle("cdk-program-focused","program"===b)};
g._setOrigin=function(a,b){var c=this;b=void 0===b?!1:b;this._ngZone.runOutsideAngular(function(){c._origin=a;c._originFromTouchInteraction="touch"===a&&b;0===c._detectionMode&&(clearTimeout(c._originTimeoutId),c._originTimeoutId=setTimeout(function(){return c._origin=null},c._originFromTouchInteraction?650:1))})};g._onFocus=function(a,b){var c=this._elementInfo.get(b);a=Ih(a);c&&(c.checkChildren||b===a)&&this._originChanged(b,this._getFocusOrigin(a),c)};
g._onBlur=function(a,b){var c=this._elementInfo.get(b);!c||c.checkChildren&&a.relatedTarget instanceof Node&&b.contains(a.relatedTarget)||(this._setClasses(b),this._emitOrigin(c,null))};g._emitOrigin=function(a,b){a.subject.observers.length&&this._ngZone.run(function(){return a.subject.next(b)})};
g._registerGlobalListeners=function(a){var b=this;if(this._platform.isBrowser){var c=a.rootNode;(a=this._rootNodeFocusListenerCount.get(c)||0)||this._ngZone.runOutsideAngular(function(){c.addEventListener("focus",b._rootNodeFocusAndBlurListener,tGb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,tGb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(Rf(this._stopInputModalityDetector)).subscribe(function(d){b._setOrigin(d,!0)}))}};
g._removeGlobalListeners=function(a){a=a.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var b=this._rootNodeFocusListenerCount.get(a);1<b?this._rootNodeFocusListenerCount.set(a,b-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,tGb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,tGb),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),
clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))};g._originChanged=function(a,b,c){this._setClasses(a,b);this._emitOrigin(c,b);this._lastFocusOrigin=b};g._getClosestElementsInfo=function(a){var b=[];this._elementInfo.forEach(function(c,d){(d===a||c.checkChildren&&d.contains(a))&&b.push([d,c])});return b};
g._isLastInteractionFromInputLabel=function(a){var b=this._inputModalityDetector,c=b._mostRecentTarget;if("mouse"!==b.mostRecentModality||!c||c===a||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName||a.disabled)return!1;if(a=a.labels)for(b=0;b<a.length;b++)if(a[b].contains(c))return!0;return!1};ly.\u0275fac=function(a){return new (a||ly)(n(Yf),n(cy),n(ky),n(Ci,8),n(sGb,8))};ly.\u0275prov=Pc({token:ly,factory:ly.\u0275fac,providedIn:"root"});
var ny=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new vw};ny.prototype.ngAfterViewInit=function(){var a=this,b=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(b,1===b.nodeType&&b.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(c){a._focusOrigin=c;a.cdkFocusChange.emit(c)})};ny.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
Ei.Object.defineProperties(ny.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});ny.\u0275fac=function(a){return new (a||ny)(A(Yd),A(ly))};ny.\u0275dir=r({type:ny,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var oy=function(){};oy.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};oy.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};Ei.Object.defineProperties(oy.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var py=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};X(py,oy);
var qy=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};X(qy,oy);qy.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return oy.prototype.attach.call(this,a)};qy.prototype.detach=function(){this.context=void 0;return oy.prototype.detach.call(this)};Ei.Object.defineProperties(qy.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var ry=function(){this._isDisposed=!1};g=ry.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof py)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof qy)return this._attachedPortal=a,this.attachTemplatePortal(a)};g.detach=function(){this._attachedPortal&&(this._attachedPortal=this._attachedPortal._attachedHost=null);this._invokeDisposeFn()};g.dispose=function(){this.hasAttached()&&this.detach();this._invokeDisposeFn();this._isDisposed=!0};
g.setDisposeFn=function(a){this._disposeFn=a};g._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)};var sy=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};X(sy,ry);
sy.prototype.attachComponentPortal=function(a){var b=this,c=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);if(a.viewContainerRef){var d=a.viewContainerRef.createComponent(c,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector,a.projectableNodes||void 0);this.setDisposeFn(function(){return d.destroy()})}else d=c.create(a.injector||this._defaultInjector||sDb),cFb(this._appRef,d.hostView),this.setDisposeFn(function(){0<b._appRef.viewCount&&
b._appRef.detachView(d.hostView);d.destroy()});this.outletElement.appendChild(this._getComponentRootNode(d));this._attachedPortal=a;return d};sy.prototype.attachTemplatePortal=function(a){var b=this,c=a.viewContainerRef,d=c.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});d.rootNodes.forEach(function(e){return b.outletElement.appendChild(e)});d.detectChanges();this.setDisposeFn(function(){var e=c.indexOf(d);-1!==e&&c.remove(e)});this._attachedPortal=a;return d};
sy.prototype.dispose=function(){ry.prototype.dispose.call(this);this.outletElement.remove()};sy.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var ty=function(a,b){qy.call(this,a,b)};X(ty,qy);ty.\u0275fac=function(a){return new (a||ty)(A(Og),A(Pg))};ty.\u0275dir=r({type:ty,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[$f]});var uy=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new vw;this._document=c};X(uy,ry);g=uy.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){ry.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
g.attachComponentPortal=function(a){a._attachedHost=this;var b=null!=a.viewContainerRef?a.viewContainerRef:this._viewContainerRef,c=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component),d=b.createComponent(c,b.length,a.injector||b.injector,a.projectableNodes||void 0);b!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]);ry.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=
d;this.attached.emit(d);return d};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});ry.prototype.setDisposeFn.call(this,function(){return b._viewContainerRef.clear()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);return c};g._getRootNode=function(){var a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode};
Ei.Object.defineProperties(uy.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&ry.prototype.detach.call(this),a&&ry.prototype.attach.call(this,a),this._attachedPortal=a||null}}});uy.\u0275fac=function(a){return new (a||uy)(A(Gv),A(Pg),A(Ci))};
uy.\u0275dir=r({type:uy,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[$f]});var vy=function(){};vy.\u0275fac=function(a){return new (a||vy)};vy.\u0275mod=fd({type:vy});vy.\u0275inj=Qc({});var uGb=function(){};X(uGb,HFb);var wy=function(){};X(wy,uGb);var vGb=function(a,b,c){a.addEventListener(b,c,!1);return function(){a.removeEventListener(b,c,!1)}};wy.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};wy.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};wy.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var JFb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
wy.prototype.getBaseHref=function(){var a=(wGb=wGb||document.querySelector("base"))?wGb.getAttribute("href"):null;null==a?a=null:(xGb=xGb||document.createElement("a"),xGb.setAttribute("href",a),a=xGb.pathname,a="/"===a.charAt(0)?a:"/"+a);return a};var wGb=null,xGb;new Ud("TRANSITION_ID");var yGb=function(){},OEb=function(a){me.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw Error("$a");return b};me.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};me.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};me.frameworkStabilizers||(me.frameworkStabilizers=[]);me.frameworkStabilizers.push(function(b){var c=me.getAllAngularTestabilities(),d=c.length,e=!1,f=function(h){e=e||h;d--;
0==d&&b(e)};c.forEach(function(h){h.whenStable(f)})})};yGb.prototype.findTestabilityInTree=function(a,b,c){if(null==b)return null;var d=a._applications.get(b)||null;if(null!=d)a=d;else{var e;c?e=b instanceof DocumentFragment?this.findTestabilityInTree(a,b.host,!0):this.findTestabilityInTree(a,b.parentElement,!0):e=null;a=e}return a};var xy=function(){};xy.prototype.build=function(){return new XMLHttpRequest};xy.\u0275fac=function(a){return new (a||xy)};xy.\u0275prov=Pc({token:xy,factory:xy.\u0275fac});var zGb=new Ud("EventManagerPlugins"),yy=function(a,b){var c=this;this._zone=b;this._eventNameToPlugin=new Map;a.forEach(function(d){return d.manager=c});this._plugins=a.slice().reverse()};yy.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};yy.prototype.addGlobalEventListener=function(a,b,c){return this._findPluginFor(b).addGlobalEventListener(a,b,c)};
yy.prototype._findPluginFor=function(a){var b=this._eventNameToPlugin.get(a);if(b)return b;b=this._plugins;for(var c=0;c<b.length;c++){var d=b[c];if(d.supports(a))return this._eventNameToPlugin.set(a,d),d}throw Error("ab`"+a);};yy.\u0275fac=function(a){return new (a||yy)(n(zGb),n(Yf))};yy.\u0275prov=Pc({token:yy,factory:yy.\u0275fac});var AGb=function(a){this._doc=a};
AGb.prototype.addGlobalEventListener=function(a,b,c){a=JFb(this._doc,a);if(!a)throw Error("bb`"+a+"`"+b);return this.addEventListener(a,b,c)};var zy=function(){this.usageCount=new Map},CGb=function(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===BGb(a,c,1))a.onStyleAdded(c)};zy.prototype.onStyleRemoved=function(){};zy.prototype.onStyleAdded=function(){};var BGb=function(a,b,c){a=a.usageCount;var d,e=null!=(d=a.get(b))?d:0;e+=c;0<e?a.set(b,e):a.delete(b);return e};zy.prototype.ngOnDestroy=function(){for(var a=m(this.usageCount.keys()),b=a.next();!b.done;b=a.next())this.onStyleRemoved(b.value);this.usageCount.clear()};
zy.\u0275fac=function(a){return new (a||zy)};zy.\u0275prov=Pc({token:zy,factory:zy.\u0275fac});var Ay=function(a){this.usageCount=new Map;this.doc=a;this.styleRef=new Map;this.hostNodes=new Set;DGb(this)};X(Ay,zy);Ay.prototype.onStyleAdded=function(a){for(var b=m(this.hostNodes),c=b.next();!c.done;c=b.next())EGb(this,c.value,a)};Ay.prototype.onStyleRemoved=function(a){var b=this.styleRef,c;null==(c=b.get(a))||c.forEach(function(d){return d.remove()});b.delete(a)};
Ay.prototype.ngOnDestroy=function(){zy.prototype.ngOnDestroy.call(this);this.styleRef.clear();DGb(this)};var EGb=function(a,b,c){var d=a.doc.createElement("style");d.textContent=c;b.appendChild(d);(b=a.styleRef.get(c))?b.push(d):a.styleRef.set(c,[d])},DGb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};Ay.\u0275fac=function(a){return new (a||Ay)(n(Ci))};Ay.\u0275prov=Pc({token:Ay,factory:Ay.\u0275fac});var FGb={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},jka=/%COMP%/g,GGb=new Ud("RemoveStylesOnCompDestory",{providedIn:"root",factory:function(){return!1}}),Cy=function(a,b,c,d){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestory=d;this.rendererByCompId=new Map;this.defaultRenderer=
new By(a)};Cy.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;b=HGb(this,a,b);b instanceof IGb?(CGb(b.sharedStylesHost,b.styles),b.rendererUsageCount++,b.setAttribute(a,b.hostAttr,"")):b instanceof Dy&&(CGb(b.sharedStylesHost,b.styles),b.rendererUsageCount++);return b};
var HGb=function(a,b,c){var d=a.rendererByCompId,e=d.get(c.id);if(!e){e=a.eventManager;var f=a.sharedStylesHost,h=a.removeStylesOnCompDestory;switch(c.encapsulation){case 0:e=new IGb(e,f,c,a.appId,h);break;case 3:return new JGb(e,f,b,c);default:e=new Dy(e,f,c,h)}e.onDestroy=function(){return d.delete(c.id)};d.set(c.id,e)}return e};Cy.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};Cy.prototype.begin=function(){};Cy.prototype.end=function(){};
Cy.\u0275fac=function(a){return new (a||Cy)(n(yy),n(Ay),n(UDb),n(GGb))};Cy.\u0275prov=Pc({token:Cy,factory:Cy.\u0275fac});var By=function(a){this.eventManager=a;this.data=Object.create(null);this.destroyNode=null};g=By.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?document.createElementNS(FGb[b]||b,a):document.createElement(a)};g.createComment=function(a){return document.createComment(a)};g.createText=function(a){return document.createTextNode(a)};
g.appendChild=function(a,b){("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).appendChild(b)};g.insertBefore=function(a,b,c){a&&("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).insertBefore(b,c)};g.removeChild=function(a,b){a&&a.removeChild(b)};g.selectRootElement=function(a,b){var c="string"===typeof a?document.querySelector(a):a;if(!c)throw Error("cb`"+a);b||(c.textContent="");return c};g.parentNode=function(a){return a.parentNode};g.nextSibling=function(a){return a.nextSibling};
g.setAttribute=function(a,b,c,d){d?(b=d+":"+b,(d=FGb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=FGb[c];d?a.removeAttributeNS(d,b):a.removeAttribute(c+":"+b)}else a.removeAttribute(b)};g.addClass=function(a,b){a.classList.add(b)};g.removeClass=function(a,b){a.classList.remove(b)};g.setStyle=function(a,b,c,d){d&3?a.style.setProperty(b,c,d&1?"important":""):a.style[b]=c};
g.removeStyle=function(a,b,c){c&2?a.style.removeProperty(b):a.style[b]=""};g.setProperty=function(a,b,c){a[b]=c};g.setValue=function(a,b){a.nodeValue=b};g.listen=function(a,b,c){return"string"===typeof a?this.eventManager.addGlobalEventListener(a,b,lka(c)):this.eventManager.addEventListener(a,b,lka(c))};
var JGb=function(a,b,c,d){By.call(this,a);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=m(a.usageCount.keys());for(var e=c.next();!e.done;e=c.next())EGb(a,b,e.value);d=kka(d.id,d.styles);d=m(d);for(a=d.next();!a.done;a=d.next())a=a.value,b=document.createElement("style"),b.textContent=a,this.shadowRoot.appendChild(b)};X(JGb,By);var Ey=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=JGb.prototype;
g.appendChild=function(a,b){return By.prototype.appendChild.call(this,Ey(this,a),b)};g.insertBefore=function(a,b,c){return By.prototype.insertBefore.call(this,Ey(this,a),b,c)};g.removeChild=function(a,b){return By.prototype.removeChild.call(this,Ey(this,a),b)};g.parentNode=function(a){return Ey(this,By.prototype.parentNode.call(this,Ey(this,a)))};g.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};
var Dy=function(a,b,c,d,e){e=void 0===e?c.id:e;By.call(this,a);this.sharedStylesHost=b;this.removeStylesOnCompDestory=d;this.rendererUsageCount=0;this.styles=kka(e,c.styles)};X(Dy,By);Dy.prototype.destroy=function(){if(this.removeStylesOnCompDestory){for(var a=this.sharedStylesHost,b=m(this.styles),c=b.next();!c.done;c=b.next())if(c=c.value,0===BGb(a,c,-1))a.onStyleRemoved(c);this.rendererUsageCount--;if(0===this.rendererUsageCount){var d;null==(d=this.onDestroy)||d.call(this)}}};
var IGb=function(a,b,c,d,e){d=d+"-"+c.id;Dy.call(this,a,b,c,e,d);this.contentAttr="_ngcontent-%COMP%".replace(jka,d);this.hostAttr="_nghost-%COMP%".replace(jka,d)};X(IGb,Dy);IGb.prototype.createElement=function(a,b){a=Dy.prototype.createElement.call(this,a,b);Dy.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var Fy=function(a){this._doc=a};X(Fy,AGb);Fy.prototype.supports=function(){return!0};Fy.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};Fy.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};Fy.\u0275fac=function(a){return new (a||Fy)(n(Ci))};Fy.\u0275prov=Pc({token:Fy,factory:Fy.\u0275fac});var KGb=["alt","control","meta","shift"],LGb={"\b":"Backspace","\t":"Tab","\u007f":"Delete","\u001b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},MGb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},Gy=function(a){this._doc=a};X(Gy,AGb);Gy.prototype.supports=function(a){return null!=NGb(a)};
Gy.prototype.addEventListener=function(a,b,c){var d=NGb(b),e=OGb(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return vGb(a,d.domEventName,e)})};
var NGb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=PGb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");KGb.forEach(function(f){var h=b.indexOf(f);-1<h&&(b.splice(h,1),d+=f+".")});d+=c;if(0!=b.length||0===c.length)return null;a={domEventName:a};a.fullKey=d;return a},QGb=function(a,b){var c=LGb[a.key]||a.key,d="";-1<b.indexOf("code.")&&(c=a.code,d="code.");if(null==c||!c)return!1;c=c.toLowerCase();" "===c?
c="space":"."===c&&(c="dot");KGb.forEach(function(e){e!==c&&(0,MGb[e])(a)&&(d+=e+".")});d+=c;return d===b},OGb=function(a,b,c){return function(d){QGb(d,a)&&c.runGuarded(function(){return b(d)})}},PGb=function(a){switch(a){case "esc":return"escape";default:return a}};Gy.\u0275fac=function(a){return new (a||Gy)(n(Ci))};Gy.\u0275prov=Pc({token:Gy,factory:Gy.\u0275fac});var $Eb=Iha(rFb,"browser",[{provide:VDb,useValue:"browser"},{provide:Dha,useValue:function(){var a=new wy;GFb||(GFb=a)},multi:!0},{provide:Ci,useFactory:function(){return Vea=document},deps:[]}]),RGb=new Ud(""),SGb=[{provide:MEb,useClass:yGb,deps:[]},{provide:LEb,useClass:ww,deps:[Yf,xw,MEb]},{provide:ww,useClass:ww,deps:[Yf,xw,MEb]}],TGb=[{provide:Jha,useValue:"root"},{provide:Ce,useFactory:function(){return new Ce},deps:[]},{provide:zGb,useClass:Fy,multi:!0,deps:[Ci,Yf,VDb]},{provide:zGb,useClass:Gy,
multi:!0,deps:[Ci]},{provide:Cy,useClass:Cy,deps:[yy,Ay,UDb,GGb]},{provide:Iv,useExisting:Cy},{provide:zy,useExisting:Ay},{provide:Ay,useClass:Ay,deps:[Ci]},{provide:yy,useClass:yy,deps:[zGb,Yf]},{provide:QFb,useClass:xy,deps:[]},[]],Hy=function(){};Hy.\u0275fac=function(a){return new (a||Hy)(n(RGb,12))};Hy.\u0275mod=fd({type:Hy});Hy.\u0275inj=Qc({providers:[].concat(p(TGb),p(SGb)),imports:[px,Uw]});var Iy=function(a){this._doc=a};Iy.prototype.getTitle=function(){return this._doc.title};Iy.prototype.setTitle=function(a){this._doc.title=a||""};Iy.\u0275fac=function(a){return new (a||Iy)(n(Ci))};Iy.\u0275prov=Pc({token:Iy,factory:function(a){var b=null;a?b=new a:b=new Iy(n(Ci));return b},providedIn:"root"});new Ud("HammerGestureConfig");new Ud("HammerLoader");new Cv;var Jy=function(){};Jy.\u0275fac=function(a){return new (a||Jy)};Jy.\u0275prov=Pc({token:Jy,factory:function(a){return a?new (a||Jy):n(Ky)},providedIn:"root"});var Ky=function(a){this._doc=a};X(Ky,Jy);
Ky.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return ke(b,"HTML")?je(b):Rea(this._doc,String(b)).toString();case 2:return ke(b,"Style")?je(b):b;case 3:if(ke(b,"Script"))return je(b);throw Error("db");case 4:return ke(b,"URL")?je(b):Fea(String(b));case 5:if(ke(b,"ResourceURL"))return je(b);throw Error("eb");default:throw Error("fb`"+a);}};Ky.prototype.bypassSecurityTrustHtml=function(a){return new zDb(a)};Ky.prototype.bypassSecurityTrustUrl=function(a){return new ADb(a)};
Ky.prototype.bypassSecurityTrustResourceUrl=function(a){return new BDb(a)};Ky.\u0275fac=function(a){return new (a||Ky)(n(Ci))};Ky.\u0275prov=Pc({token:Ky,factory:function(a){a?a=new a:(a=n(Fv),a=new Ky(a.get(Ci)));return a},providedIn:"root"});var VGb=function(a){var b=Oq("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(h){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||da.$googDebugFname||b}catch(h){e="Not available",c=!0}b=UGb(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(null==c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,Ly[c])c=Ly[c];else{c=String(c);if(!Ly[c]){var f=/function\s+([^\(]+)/m.exec(c);Ly[c]=f?f[1]:"[Anonymous]"}c=Ly[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack=
b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}},UGb=function(a,b){b||(b={});b[WGb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[WGb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=UGb(a,b));return c},WGb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},Ly={};var XGb;try{new URL("s://g"),XGb=!0}catch(a){XGb=!1}var nka=XGb;var pka=function(a){this.isValid=a},qka=[Vh("data"),Vh("http"),Vh("https"),Vh("mailto"),Vh("ftp"),new pka(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var My=function(a){this.decorated=new Ky(a)};X(My,Jy);My.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof wv||b instanceof mc||b instanceof Vq){if(YGb(b,a))return this.decorated.sanitize(a,ZGb(this,b));throw Error("gb`"+KDb[a]+"`"+b);}return this.decorated.sanitize(a,b)};My.prototype.bypassSecurityTrustHtml=function(){throw Error("hb");};My.prototype.bypassSecurityTrustUrl=function(){throw Error("hb");};
My.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("hb");};var ZGb=function(a,b){if(null!=b){if(b instanceof Vq)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof mc)return a.decorated.bypassSecurityTrustUrl(nc(b));if(b instanceof wv)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},YGb=function(a,b){switch(b){case 1:return a instanceof Vq;case 4:return a instanceof mc||a instanceof wv;case 5:return a instanceof wv;case 3:return!1;default:return!1}};
My.\u0275fac=function(a){return new (a||My)(n(Ci))};My.\u0275prov=Pc({token:My,factory:My.\u0275fac});var $Gb=[{provide:MDb,useExisting:Jy},{provide:Jy,useClass:My}],Ny=function(){};Ny.\u0275fac=function(a){return new (a||Ny)};Ny.\u0275mod=fd({type:Ny});Ny.\u0275inj=Qc({providers:$Gb,imports:[Hy]});var Yh=new Set(["true","1"]),Zh=new Set(["false","0"]);var aHb=function(){},bHb=function(){};/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
 @param {function(): ?} cb
 @return {void}
*/
var gi=function(a,b){this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._originalOnDoneFns=[];this._originalOnStartFns=[];this._finished=this._destroyed=this._started=!1;this._position=0;this.parentPlayer=null;this.totalTime=(void 0===a?0:a)+(void 0===b?0:b)};g=gi.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};
g.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};g.hasStarted=function(){return this._started};g.init=function(){};g.play=function(){this.hasStarted()||(this._onStart(),cHb(this));this._started=!0};var cHb=function(a){Promise.resolve().then(function(){return a._onFinish()})};g=gi.prototype;g._onStart=function(){this._onStartFns.forEach(function(a){return a()});this._onStartFns=[]};g.pause=function(){};g.restart=function(){};
g.finish=function(){this._onFinish()};g.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this._finished=this._started=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g.setPosition=function(a){this._position=this.totalTime?a*this.totalTime:1};
g.getPosition=function(){return this.totalTime?this._position/this.totalTime:1};g.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var vka=function(a){var b=this;this._onDoneFns=[];this._onStartFns=[];this._destroyed=this._started=this._finished=!1;this._onDestroyFns=[];this.parentPlayer=null;this.totalTime=0;this.players=a;var c=0,d=0,e=0,f=this.players.length;0==f?Promise.resolve().then(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==f&&b._onFinish()});h.onDestroy(function(){++d==f&&b._onDestroy()});h.onStart(function(){++e==f&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
l){return Math.max(h,l.totalTime)},0)};g=vka.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this.players.forEach(function(a){return a.init()})};g.onStart=function(a){this._onStartFns.push(a)};g._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[])};g.onDone=function(a){this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.hasStarted=function(){return this._started};g.play=function(){this.parentPlayer||this.init();this._onStart();this.players.forEach(function(a){return a.play()})};g.pause=function(){this.players.forEach(function(a){return a.pause()})};g.restart=function(){this.players.forEach(function(a){return a.restart()})};g.finish=function(){this._onFinish();this.players.forEach(function(a){return a.finish()})};g.destroy=function(){this._onDestroy()};
g._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(a){return a.destroy()}),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this.players.forEach(function(a){return a.reset()});this._started=this._finished=this._destroyed=!1};g.setPosition=function(a){var b=a*this.totalTime;this.players.forEach(function(c){c.setPosition(c.totalTime?Math.min(1,b/c.totalTime):1)})};
g.getPosition=function(){var a=this.players.reduce(function(b,c){return null===b||c.totalTime>b.totalTime?c:b},null);return null!=a?a.getPosition():0};g.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};g.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var dHb=function(){return!1},eHb=function(){return[]},Cka=null;if(uka()||"undefined"!==typeof Element)"undefined"!==typeof window&&"undefined"!==typeof window.document?(Cka=document.documentElement,dHb=function(a,b){for(;b;){if(b===a)return!0;b=Dka(b)}return!1}):dHb=function(a,b){return a.contains(b)},eHb=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]};var Kka=RegExp("{{\\s*(.+?)\\s*}}","g"),Lka=/-+([a-z0-9])/g;var Nka=RegExp("s*:selfs*,?","g"),fHb=function(a){this._driver=a};g=fHb.prototype;g.build=function(a,b){b=new gHb(b);this._resetContextStyleTimingState(b);return ti(this,qi(a),b)};g._resetContextStyleTimingState=function(a){a.currentQuerySelector="";a.collectedStyles=new Map;a.collectedStyles.set("",new Map);a.currentTime=0};
g.visitTrigger=function(a,b){var c=this,d=b.queryCount=0,e=b.depCount=0,f=[],h=[];"@"==a.name.charAt(0)&&b.errors.push(new Tc(3006,!1));a.definitions.forEach(function(l){c._resetContextStyleTimingState(b);if(0==l.type){var q=l.name;q.toString().split(/\s*,\s*/).forEach(function(u){l.name=u;f.push(c.visitState(l,b))});l.name=q}else 1==l.type?(q=c.visitTransition(l,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new Tc(3007,!1))});return{type:7,name:a.name,states:f,transitions:h,queryCount:d,
depCount:e,options:null}};g.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,f=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(l){Ika(l).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&(si(e.values()),b.errors.push(new Tc(3008,!1)))}return{type:0,name:a.name,style:c,options:d?{params:d}:null}};
g.visitTransition=function(a,b){b.queryCount=0;b.depCount=0;var c=ti(this,qi(a.animation),b);return{type:1,matchers:tka(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:ui(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return ti(c,d,b)}),options:ui(a.options)}};
g.visitGroup=function(a,b){var c=this,d=b.currentTime,e=0,f=a.steps.map(function(h){b.currentTime=d;h=ti(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:ui(a.options)}};
g.visitAnimate=function(a,b){var c=Qka(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:bi({});if(5==d.type)a=this.visitKeyframes(d,b);else{d=a.styles;a=!1;d||(a=!0,d={},c.easing&&(d.easing=c.easing),d=bi(d));b.currentTime+=c.duration+c.delay;var e=this.visitStyle(d,b);e.isEmptyStep=a;a=e}b.currentAnimateTimings=null;return{type:4,timings:c,style:a,options:null}};g.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
g._makeStyleAst=function(a,b){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,"string"===typeof e?"*"===e?c.push(e):b.errors.push(new Tc(3002,!1)):c.push(Fka(e));var f=!1,h=null;c.forEach(function(l){if(l instanceof Map&&(l.has("easing")&&(h=l.get("easing"),l.delete("easing")),!f)){l=m(l.values());for(var q=l.next();!q.done;q=l.next())if(0<=q.value.toString().indexOf("{{")){f=!0;break}}});return{type:6,styles:c,easing:h,offset:a.offset,
containsDynamicStyles:f,options:null}};g._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&0<e&&(e-=c.duration+c.delay);a.styles.forEach(function(f){"string"!==typeof f&&f.forEach(function(h,l){var q=b.collectedStyles.get(b.currentQuerySelector),u=q.get(l),x=!0;u&&(e!=d&&e>=u.startTime&&d<=u.endTime&&(b.errors.push(new Tc(3010,!1)),x=!1),e=u.startTime);x&&q.set(l,{startTime:e,endTime:d});b.options&&Jka(h,b.options,b.errors)})})};
g.visitKeyframes=function(a,b){var c=this,d={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(new Tc(3011,!1)),d;var e=0,f=[],h=!1,l=!1,q=0,u=a.steps.map(function(V){V=c._makeStyleAst(V,b);var U=null!=V.offset?V.offset:Pka(V.styles),W=0;null!=U&&(e++,W=V.offset=U);l=l||0>W||1<W;h=h||W<q;q=W;f.push(W);return V});l&&b.errors.push(new Tc(3012,!1));h&&b.errors.push(new Tc(3200,!1));a=a.steps.length;var x=0;0<e&&e<a?b.errors.push(new Tc(3202,!1)):0==e&&(x=1/(a-1));var y=
a-1,G=b.currentTime,J=b.currentAnimateTimings,M=J.duration;u.forEach(function(V,U){U=0<x?U==y?1:x*U:f[U];var W=U*M;b.currentTime=G+J.delay+W;J.duration=W;c._validateStyleAst(V,b);V.offset=U;d.styles.push(V)});return d};g.visitReference=function(a,b){return{type:8,animation:ti(this,qi(a.animation),b),options:ui(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:ui(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:ui(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=m(Oka(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;ji(b.collectedStyles,b.currentQuerySelector,new Map);var h=ti(this,qi(a.animation),b);b.currentQuery=null;b.currentQuerySelector=c;return{type:11,selector:f,limit:d.limit||0,optional:!!d.optional,includeSelf:e,animation:h,originalSelector:a.selector,options:ui(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Tc(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:li(a.timings,b.errors,!0);return{type:12,animation:ti(this,qi(a.animation),b),timings:c,options:null}};var gHb=function(a){this.errors=a;this.depCount=this.queryCount=0;this.currentAnimateTimings=this.currentQuerySelector=this.currentQuery=null;this.currentTime=0;this.collectedStyles=new Map;this.options=null};var Oy=function(){this._map=new Map};Oy.prototype.get=function(a){return this._map.get(a)||[]};Oy.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,p(b))};Oy.prototype.has=function(a){return this._map.has(a)};Oy.prototype.clear=function(){this._map.clear()};var hHb=RegExp(":enter","g"),iHb=RegExp(":leave","g"),Ska=function(){};g=Ska.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,l,q,u){u=void 0===u?[]:u;q=q||new Oy;a=new Py(a,b,q,d,e,u,[]);a.options=l;d=l.delay?ki(l.delay):0;a.currentTimeline.delayNextStep(d);jHb(a.currentTimeline,[f],null,a.errors,l);ti(this,c,a);c=a.timelines.filter(function(y){return y.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;0<=f;f--)if(e=c[f],e.element===b){var x=e;break}x&&x._currentEmptyStepKeyframe===x._currentKeyframe&&jHb(x,[h],null,a.errors,l)}return c.length?c.map(function(y){return y.buildKeyframes()}):
[Rka(b,[],[],[],0,d,"",!1)]};g.visitTrigger=function(){};g.visitState=function(){};g.visitTransition=function(){};g.visitAnimateChild=function(a,b){var c=b.subInstructions.get(b.element);if(c){var d=Qy(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&Ry(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=Qy(b,a.options);Ry(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);Ry(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=null==(e=d)?void 0:e.delay;if(f){var h=e=void 0;d="number"===typeof f?f:ki(ri(f,null!=(h=null==(e=d)?void 0:e.params)?h:{},b.errors));c.delayNextStep(d)}}};
g._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=null!=c.duration?ki(c.duration):null,f=null!=c.delay?ki(c.delay):null;0!==e&&a.forEach(function(h){var l={duration:null!=e?e:h.duration,delay:b.currentTimeline.currentTime+(null!=f?f:0)+h.delay,easing:""};h=new kHb(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,l,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,l.duration+l.delay)});return d};
g.visitReference=function(a,b){lHb(b,a.options,!0);ti(this,a.animation,b);b.previousNode=a};g.visitSequence=function(a,b){var c=this,d=b.subContextCount,e=b,f=a.options;f&&(f.params||f.delay)&&(e=Qy(b,f),Ry(e),null!=f.delay&&(6==e.previousNode.type&&(Sy(e.currentTimeline),e.previousNode=mHb),e.delayNextStep(ki(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return ti(c,h,e)}),Ty(e.currentTimeline),e.subContextCount>d&&Ry(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?ki(a.options.delay):0;a.steps.forEach(function(h){var l=Qy(b,a.options);f&&l.delayNextStep(f);ti(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return nHb(b.currentTimeline,h)});Ry(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?ri(a,b.params,b.errors):a,li(a,b.errors)):{duration:a.duration,delay:a.delay,easing:a.easing}};
g.visitAnimate=function(a,b){var c=b.currentAnimateTimings=this._visitTiming(a.timings,b),d=b.currentTimeline;c.delay&&(oHb(b.currentTimeline,b.currentTimeline.duration+c.delay),Sy(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(oHb(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),Ty(d));b.currentAnimateTimings=null;b.previousNode=a};
g.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&0<c._currentKeyframe.size&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=m(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else jHb(c,a.styles,d,b.errors,b.options);b.previousNode=
a};g.visitKeyframes=function(a,b){var c=b.currentAnimateTimings,d=b.currentTimeline.duration,e=c.duration,f=Qy(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){oHb(f,(h.offset||0)*e);jHb(f,h.styles,h.easing,b.errors,b.options);Ty(f)});nHb(b.currentTimeline,f);Ry(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?ki(e.delay):0;f&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(Sy(b.currentTimeline),b.previousNode=mHb);var h=d;d=pHb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,u){b.currentQueryIndex=u;u=Qy(b,a.options,q);f&&u.delayNextStep(f);q===b.element&&(l=u.currentTimeline);ti(c,a.animation,u);Ty(u.currentTimeline);
h=Math.max(h,u.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;Ry(b,h);l&&(nHb(b.currentTimeline,l),Sy(b.currentTimeline));b.previousNode=a};
g.visitStagger=function(a,b){var c=b.parentContext,d=b.currentTimeline,e=a.timings,f=Math.abs(e.duration),h=f*(b.currentQueryTotal-1);f*=b.currentQueryIndex;switch(0>e.duration?"reverse":e.easing){case "reverse":f=h-f;break;case "full":f=c.currentStaggerTime}e=b.currentTimeline;f&&e.delayNextStep(f);e=e.currentTime;ti(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var mHb={},Py=function(a,b,c,d,e,f,h,l){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=f;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=mHb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new Uy(this._driver,b,0);h.push(this.currentTimeline)},lHb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
ki(b.duration));null!=b.delay&&(d.delay=ki(b.delay));var e=b.params;if(e){var f=d.params;f||(f=a.options.params={});Object.keys(e).forEach(function(h){c&&f.hasOwnProperty(h)||(f[h]=ri(e[h],f,a.errors))})}}};Py.prototype._copyOptions=function(){var a={};if(this.options){var b=this.options.params;if(b){var c=a.params={};Object.keys(b).forEach(function(d){c[d]=b[d]})}}return a};
var Qy=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new Py(a._driver,c,a.subInstructions,a._enterClassName,a._leaveClassName,a.errors,a.timelines,a.currentTimeline.fork(c,0));c.previousNode=a.previousNode;c.currentAnimateTimings=a.currentAnimateTimings;c.options=a._copyOptions();lHb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},Ry=function(a,b){a.previousNode=mHb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};Py.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var pHb=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(hHb,"."+a._enterClassName),b=b.replace(iHb,"."+a._leaveClassName),a=a._driver.query(a.element,b,1!=c),0!==c&&(a=0>c?a.slice(a.length+c,a.length):a.slice(0,c)),h.push.apply(h,p(a)));e||0!=h.length||f.push(new Tc(3014,!1));return h};
Ei.Object.defineProperties(Py.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var Uy=function(a,b,c,d){this._driver=a;this.element=b;this.startTime=c;this._elementTimelineStylesLookup=d;this.duration=0;this._previousKeyframe=new Map;this._currentKeyframe=new Map;this._keyframes=new Map;this._styleSummary=new Map;this._localTimelineStyles=new Map;this._pendingStyles=new Map;this._backFill=new Map;this._currentEmptyStepKeyframe=null;this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map);this._globalTimelineStyles=this._elementTimelineStylesLookup.get(b);
this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(b,this._localTimelineStyles));this._loadKeyframe()};Uy.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};Uy.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(oHb(this,this.currentTime+a),b&&Sy(this)):this.startTime+=a};
Uy.prototype.fork=function(a,b){Ty(this);return new Uy(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};Uy.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe);this._currentKeyframe=this._keyframes.get(this.duration);this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))};var oHb=function(a,b){Ty(a);a.duration=b;a._loadKeyframe()};
Uy.prototype._updateStyle=function(a,b){this._localTimelineStyles.set(a,b);this._globalTimelineStyles.set(a,b);this._styleSummary.set(a,{time:this.currentTime,value:b})};
var jHb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=Vka(b,a._globalTimelineStyles);b=m(b);for(e=b.next();!e.done;e=b.next()){var f=m(e.value);e=f.next().value;f=f.next().value;f=ri(f,c,d);a._pendingStyles.set(e,f);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,null!=(h=a._globalTimelineStyles.get(e))?h:"*")}a._updateStyle(e,f)}},Ty=function(a){0!=a._pendingStyles.size&&(a._pendingStyles.forEach(function(b,c){a._currentKeyframe.set(c,b)}),a._pendingStyles.clear(),
a._localTimelineStyles.forEach(function(b,c){a._currentKeyframe.has(c)||a._currentKeyframe.set(c,b)}))},Sy=function(a){for(var b=m(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},nHb=function(a,b){b._styleSummary.forEach(function(c,d){var e=a._styleSummary.get(d);(!e||c.time>e.time)&&a._updateStyle(d,c.value)})};
Uy.prototype.buildKeyframes=function(){var a=this;Ty(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(u,x){u=ni(u,new Map,a._backFill);u.forEach(function(y,G){"!"===y?b.add(G):"*"===y&&c.add(G)});d||u.set("offset",x/a.duration);e.push(u)});var f=b.size?si(b.values()):[],h=c.size?si(c.values()):[];if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return Rka(this.element,e,f,h,this.duration,this.startTime,this.easing,
!1)};Ei.Object.defineProperties(Uy.prototype,{currentTime:{configurable:!0,enumerable:!0,get:function(){return this.startTime+this.duration}},properties:{configurable:!0,enumerable:!0,get:function(){var a=[],b;for(b in this._currentKeyframe)a.push(b);return a}}});var kHb=function(a,b,c,d,e,f,h){h=void 0===h?!1:h;Uy.call(this,a,b,f.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:f.duration,delay:f.delay,easing:f.easing}};
X(kHb,Uy);kHb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
kHb.prototype.buildKeyframes=function(){var a=this.keyframes,b=this.timings,c=b.delay,d=b.duration,e=b.easing;if(this._stretchStartingKeyframe&&c){b=[];e=d+c;var f=c/e,h=ni(a[0]);h.set("offset",0);b.push(h);h=ni(a[0]);h.set("offset",Uka(f));b.push(h);f=a.length-1;for(h=1;h<=f;h++){var l=ni(a[h]),q=l.get("offset");l.set("offset",Uka((c+q*d)/e));b.push(l)}d=e;c=0;e="";a=b}return Rka(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var qHb=function(){};var rHb=new Set("width height minWidth minHeight maxWidth maxHeight left top bottom right fontSize outlineWidth outlineOffset paddingTop paddingLeft paddingBottom paddingRight marginTop marginLeft marginBottom marginRight borderRadius borderWidth borderTopWidth borderLeftWidth borderRightWidth borderBottomWidth textIndent perspective".split(" ")),sHb=function(){};X(sHb,qHb);
var wka=function(a,b,c){var d="",e=b.toString().trim();rHb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new Tc(3005,!1)));return e+d};var Vy=function(){};g=Vy.prototype;g.containsElement=function(a,b){return dHb(a,b)};g.getParentElement=function(a){return Dka(a)};g.query=function(a,b,c){return eHb(a,b,c)};g.computeStyle=function(a,b,c){return c||""};g.animate=function(a,b,c,d){return new gi(c,d)};Vy.\u0275fac=function(a){return new (a||Vy)};Vy.\u0275prov=Pc({token:Vy,factory:Vy.\u0275fac});var tHb=function(){};var uHb={},vi=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};vi.prototype.match=function(a,b,c,d){return Xka(this.ast.matchers,a,b,c,d)};vi.prototype.buildStyles=function(a,b,c){var d=this._stateStyles.get("*");void 0!==a&&(d=this._stateStyles.get(null==a?void 0:a.toString())||d);return d?d.buildStyles(b,c):new Map};
vi.prototype.build=function(a,b,c,d,e,f,h,l,q,u){var x=[],y=this.ast.options&&this.ast.options.params||uHb;h=this.buildStyles(c,h&&h.params||uHb,x);var G=l&&l.params||uHb;l=this.buildStyles(d,G,x);var J=new Set,M=new Map,V=new Map,U="void"===d,W;y={params:Yka(G,y),delay:null==(W=this.ast.options)?void 0:W.delay};a=u?[]:Tka(a,b,this.ast.animation,e,f,h,l,y,q,x);var ba=0;a.forEach(function(pa){ba=Math.max(pa.duration+pa.delay,ba)});if(x.length)return Wka(b,this._triggerName,c,d,U,h,l,[],[],M,V,ba,x);
a.forEach(function(pa){var na=pa.element,xa=ji(M,na,new Set);pa.preStyleProps.forEach(function(Ha){return xa.add(Ha)});var Fa=ji(V,na,new Set);pa.postStyleProps.forEach(function(Ha){return Fa.add(Ha)});na!==b&&J.add(na)});x=si(J.values());return Wka(b,this._triggerName,c,d,U,h,l,a,x,M,V,ba)};var vHb=function(a,b){this.styles=a;this.defaultParams=b};
vHb.prototype.buildStyles=function(a,b){var c=new Map,d=mi(this.defaultParams);Object.keys(a).forEach(function(e){var f=a[e];null!==f&&(d[e]=f)});this.styles.styles.forEach(function(e){"string"!==typeof e&&e.forEach(function(f,h){f&&(f=ri(f,d,b));var l=ii(h);f=wka(l,f,b);c.set(h,f)})});return c};var wHb=function(a,b,c){var d=this;this.name=a;this.ast=b;this._normalizer=c;this.transitionFactories=[];this.states=new Map;b.states.forEach(function(e){d.states.set(e.name,new vHb(e.style,e.options&&e.options.params||{}))});$ka(this.states,"true","1");$ka(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new vi(a,e,d.states))});this.fallbackTransition=Zka(a,this.states)},xHb=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var yHb=new Oy,zHb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=zHb.prototype;g.register=function(a,b){var c=[];b=(new fHb(this._driver)).build(b,c,[]);if(c.length)throw new Tc(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=xka(a.keyframes,b,c);return this._driver.animate(d,b,a.duration,a.delay,a.easing,[],!0)};
g.create=function(a,b,c){var d=this;c=void 0===c?{}:c;var e=[],f=this._animations.get(a),h=new Map;f?(b=Tka(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,yHb,e),b.forEach(function(l){var q=ji(h,l.element,new Map);l.postStyleProps.forEach(function(u){return q.set(u,null)})})):(e.push(new Tc(3300,!1)),b=[]);if(e.length)throw new Tc(3504,!1);h.forEach(function(l,q){l.forEach(function(u,x){l.set(x,d._driver.computeStyle(q,x,"*"))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,
new Map,q)});e=hi(e);this._playersById.set(a,e);e.onDestroy(function(){return d.destroy(a)});this.players.push(e);return e};g.destroy=function(a){var b=this._getPlayer(a);b.destroy();this._playersById.delete(a);a=this.players.indexOf(b);0<=a&&this.players.splice(a,1)};g._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new Tc(3301,!1);return a};g.listen=function(a,b,c,d){b=Aka(b,"","","");zka(this._getPlayer(a),c,b,d);return function(){}};
g.command=function(a,b,c,d){if("register"==c)this.register(a,d[0]);else if("create"==c)this.create(a,b,d[0]||{});else switch(b=this._getPlayer(a),c){case "play":b.play();break;case "pause":b.pause();break;case "reset":b.reset();break;case "restart":b.restart();break;case "finish":b.finish();break;case "init":b.init();break;case "setPosition":b.setPosition(parseFloat(d[0]));break;case "destroy":this.destroy(a)}};var AHb=[],BHb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},bla={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},CHb=function(a,b){this.namespaceId=void 0===b?"":b;var c=(b=a&&a.hasOwnProperty("value"))?a.value:a;this.value=null!=c?c:null;b?(a=mi(a),delete a.value,this.options=a):this.options={};this.options.params||(this.options.params={})},DHb=function(a,b){var c=b.params;if(c){var d=a.options.params;Object.keys(c).forEach(function(e){null==
d[e]&&(d[e]=c[e])})}};Ei.Object.defineProperties(CHb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var EHb=new CHb("void"),Wy=function(a,b,c){this.id=a;this.hostElement=b;this._engine=c;this.players=[];this._triggers=new Map;this._queue=[];this._elementListeners=new Map;this._hostClassName="ng-tns-"+a;xi(b,this._hostClassName)};g=Wy.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Tc(3302,!1);if(null==c||0==c.length)throw new Tc(3303,!1);if("start"!=c&&"done"!=c)throw new Tc(3400,!1);var f=ji(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var l=ji(this._engine.statesByElement,a,new Map);l.has(b)||(xi(a,"ng-trigger"),xi(a,"ng-trigger-"+b),l.set(b,EHb));return function(){Xy(e._engine,function(){var q=f.indexOf(h);0<=q&&f.splice(q,1);e._triggers.has(b)||l.delete(b)})}};
g.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};g._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new Tc(3401,!1);return a};
g.trigger=function(a,b,c,d){var e=this;d=void 0===d?!0:d;var f=this._getTrigger(b),h=new FHb(this.id,b,a),l=this._engine.statesByElement.get(a);l||(xi(a,"ng-trigger"),xi(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),u=new CHb(c,this.id);c&&c.hasOwnProperty("value")||!q||DHb(u,q.options);l.set(b,u);q||(q=EHb);if("void"!==u.value&&q.value===u.value){if(!hla(q.params,u.params)){d=[];var x=f.fallbackTransition.buildStyles(q.value,q.params,d),y=f.fallbackTransition.buildStyles(u.value,
u.params,d);d.length?this._engine.reportError(d):Xy(this._engine,function(){pi(a,x);oi(a,y)})}}else{c=ji(this._engine.playersByElement,a,[]);c.forEach(function(J){J.namespaceId==e.id&&J.triggerName==b&&J.queued&&J.destroy()});l=xHb(f,q.value,u.value,a,u.params);var G=!1;if(!l){if(!d)return;l=f.fallbackTransition;G=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:u,player:h,isFallbackTransition:G});G||(xi(a,"ng-animate-queued"),h.onStart(function(){yi(a,
"ng-animate-queued")}));h.onDone(function(){var J=e.players.indexOf(h);0<=J&&e.players.splice(J,1);if(J=e._engine.playersByElement.get(a)){var M=J.indexOf(h);0<=M&&J.splice(M,1)}});this.players.push(h);c.push(h);return h}};g.deregister=function(a){var b=this;this._triggers.delete(a);this._engine.statesByElement.forEach(function(c){return c.delete(a)});this._elementListeners.forEach(function(c,d){b._elementListeners.set(d,c.filter(function(e){return e.name!=a}))})};
var GHb=function(a,b){a._engine.statesByElement.delete(b);a._elementListeners.delete(b);var c=a._engine.playersByElement.get(b);c&&(c.forEach(function(d){return d.destroy()}),a._engine.playersByElement.delete(b))};
Wy.prototype._signalRemovalForInnerTriggers=function(a,b){var c=this,d=this._engine.driver.query(a,".ng-trigger",!0);d.forEach(function(e){if(!e.__ng_removed){var f=HHb(c._engine,e);f.size?f.forEach(function(h){return IHb(h,e,b,!1,!0)}):GHb(c,e)}});JHb(this._engine,function(){return d.forEach(function(e){return GHb(c,e)})})};
var IHb=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var l=[];f.forEach(function(q,u){h.set(u,q.value);a._triggers.has(u)&&(q=a.trigger(b,u,"void",e))&&l.push(q)});if(l.length){KHb(a._engine,a.id,b,!0,c,h);if(d)hi(l).onDone(function(){return zi(a._engine,b)});return!0}}return!1},LHb=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(f){f=f.name;if(!e.has(f)){e.add(f);var h=a._triggers.get(f).fallbackTransition,
l=d.get(f)||EHb,q=new CHb("void"),u=new FHb(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:l,toState:q,player:u,isFallbackTransition:!0})}})}};
Wy.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!IHb(this,a,b,!0)){var e=!1;if(d.totalAnimations){var f=d.players.length?d.playersByQueriedElement.get(a):[];if(f&&f.length)e=!0;else for(f=a;f=f.parentNode;)if(d.statesByElement.get(f)){e=!0;break}}LHb(this,a);e?KHb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==BHb||(Xy(d,function(){return GHb(c,a)}),MHb(d,a),d._onRemovalComplete(a,b)))}};
Wy.prototype.insertNode=function(a){xi(a,this._hostClassName)};
var NHb=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var f=d.element,h=a._elementListeners.get(f);h&&h.forEach(function(l){if(l.name==d.triggerName){var q=Aka(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;zka(d.player,l.phase,q,l.callback)}});e.markedForDestroy?Xy(a._engine,function(){e.destroy()}):c.push(d)}});a._queue=[];return c.sort(function(d,e){var f=d.transition.ast.depCount,h=e.transition.ast.depCount;return 0==f||0==h?f-h:a._engine.driver.containsElement(d.element,
e.element)?1:-1})};Wy.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var Yy=function(a,b,c){this.bodyNode=a;this.driver=b;this._normalizer=c;this.players=[];this.newHostElements=new Map;this.playersByElement=new Map;this.playersByQueriedElement=new Map;this.statesByElement=new Map;this.disabledNodes=new Set;this.totalQueuedPlayers=this.totalAnimations=0;this._namespaceLookup={};this._namespaceList=[];this._flushFns=[];this._whenQuietFns=[];this.namespacesByHostElement=new Map;this.collectedEnterElements=[];this.collectedLeaveElements=[];this.onRemovalComplete=function(){}};
g=Yy.prototype;g._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};g._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(0<=c.length-1){for(var e=!1,f=this.driver.getParentElement(b);f;){var h=d.get(f);if(h){e=c.indexOf(h);c.splice(e+1,0,a);e=!0;break}f=this.driver.getParentElement(f)}e||c.unshift(a)}else c.push(a);d.set(b,a);return a};
g.register=function(a,b){var c=this._namespaceLookup[a];c||(c=new Wy(a,b,this),this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(c,b):(this.newHostElements.set(b,c),this.collectedEnterElements.push(b)),c=this._namespaceLookup[a]=c);return c};g.registerTrigger=function(a,b,c){(a=this._namespaceLookup[a])&&a.register(b,c)&&this.totalAnimations++};
g.destroy=function(a,b){var c=this;if(a){var d=this._fetchNamespace(a);Xy(this,function(){c.namespacesByHostElement.delete(d.hostElement);delete c._namespaceLookup[a];var e=c._namespaceList.indexOf(d);0<=e&&c._namespaceList.splice(e,1)});JHb(this,function(){return d.destroy(b)})}};g._fetchNamespace=function(a){return this._namespaceLookup[a]};
var HHb=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=m(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};Yy.prototype.trigger=function(a,b,c,d){return wi(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
Yy.prototype.insertNode=function(a,b,c,d){if(wi(b)){var e=b.__ng_removed;e&&e.setForRemoval&&(e.setForRemoval=!1,e.setForMove=!0,e=this.collectedLeaveElements.indexOf(b),0<=e&&this.collectedLeaveElements.splice(e,1));a&&(a=this._fetchNamespace(a))&&a.insertNode(b,c);d&&this.collectedEnterElements.push(b)}};var OHb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),xi(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),yi(b,"ng-animate-disabled"))};
Yy.prototype.removeNode=function(a,b,c,d){if(wi(b)){var e=a?this._fetchNamespace(a):null;e?e.removeNode(b,d):KHb(this,a,b,!1,d);c&&(c=this.namespacesByHostElement.get(b))&&c.id!==a&&c.removeNode(b,d)}else this._onRemovalComplete(b,d)};var KHb=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};
Yy.prototype.listen=function(a,b,c,d,e){return wi(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};Yy.prototype._buildInstruction=function(a,b,c,d,e){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,c,d,a.fromState.options,a.toState.options,b,e)};
var MHb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return PHb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return QHb(a,d)}))},PHb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},QHb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},zi=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
BHb;if(c.namespaceId){MHb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&GHb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&OHb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){OHb(a,f,!1)})};
Yy.prototype.flush=function(a){var b=this;a=void 0===a?-1:a;var c=[];this.newHostElements.size&&(this.newHostElements.forEach(function(f,h){return b._balanceNamespaceList(f,h)}),this.newHostElements.clear());if(this.totalAnimations&&this.collectedEnterElements.length)for(var d=0;d<this.collectedEnterElements.length;d++)xi(this.collectedEnterElements[d],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){d=[];try{c=this._flushAnimations(d,
a)}finally{for(a=0;a<d.length;a++)d[a]()}}else for(a=0;a<this.collectedLeaveElements.length;a++)zi(this,this.collectedLeaveElements[a]);this.totalQueuedPlayers=0;this.collectedEnterElements.length=0;this.collectedLeaveElements.length=0;this._flushFns.forEach(function(f){return f()});this._flushFns=[];if(this._whenQuietFns.length){var e=this._whenQuietFns;this._whenQuietFns=[];if(c.length)hi(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
Yy.prototype.reportError=function(){throw new Tc(3402,!1);};
Yy.prototype._flushAnimations=function(a,b){var c=this,d=new Oy,e=[],f=new Map,h=[],l=new Map,q=new Map,u=new Map,x=new Set;this.disabledNodes.forEach(function(Sa){x.add(Sa);Sa=c.driver.query(Sa,".ng-animate-queued",!0);for(var sb=0;sb<Sa.length;sb++)x.add(Sa[sb])});var y=this.bodyNode,G=Array.from(this.statesByElement.keys()),J=dla(G,this.collectedEnterElements),M=new Map,V=0;J.forEach(function(Sa,sb){var Za="ng-enter"+V++;M.set(sb,Za);Sa.forEach(function(Cb){return xi(Cb,Za)})});for(var U=[],W=
new Set,ba=new Set,pa=0;pa<this.collectedLeaveElements.length;pa++){var na=this.collectedLeaveElements[pa],xa=na.__ng_removed;xa&&xa.setForRemoval&&(U.push(na),W.add(na),xa.hasAnimation?this.driver.query(na,".ng-star-inserted",!0).forEach(function(Sa){return W.add(Sa)}):ba.add(na))}var Fa=new Map,Ha=dla(G,Array.from(W));Ha.forEach(function(Sa,sb){var Za="ng-leave"+V++;Fa.set(sb,Za);Sa.forEach(function(Cb){return xi(Cb,Za)})});a.push(function(){J.forEach(function(Sa,sb){var Za=M.get(sb);Sa.forEach(function(Cb){return yi(Cb,
Za)})});Ha.forEach(function(Sa,sb){var Za=Fa.get(sb);Sa.forEach(function(Cb){return yi(Cb,Za)})});U.forEach(function(Sa){zi(c,Sa)})});var Bb=[],lb=[];for(a=this._namespaceList.length-1;0<=a;a--)NHb(this._namespaceList[a],b).forEach(function(Sa){var sb=Sa.player,Za=Sa.element;Bb.push(sb);if(c.collectedEnterElements.length){var Cb=Za.__ng_removed;if(Cb&&Cb.setForMove){if(Cb.previousTriggersValues&&Cb.previousTriggersValues.has(Sa.triggerName)){Cb=Cb.previousTriggersValues.get(Sa.triggerName);var Wb=
c.statesByElement.get(Sa.element);if(Wb&&Wb.has(Sa.triggerName)){var rc=Wb.get(Sa.triggerName);rc.value=Cb;Wb.set(Sa.triggerName,rc)}}sb.destroy();return}}Cb=!y||!c.driver.containsElement(y,Za);Wb=Fa.get(Za);rc=M.get(Za);var Kc=c._buildInstruction(Sa,d,rc,Wb,Cb);if(Kc.errors&&Kc.errors.length)lb.push(Kc);else if(Cb)sb.onStart(function(){return pi(Za,Kc.fromStyles)}),sb.onDestroy(function(){return oi(Za,Kc.toStyles)}),e.push(sb);else if(Sa.isFallbackTransition)sb.onStart(function(){return pi(Za,Kc.fromStyles)}),
sb.onDestroy(function(){return oi(Za,Kc.toStyles)}),e.push(sb);else{var Pe=[];Kc.timelines.forEach(function(xd){xd.stretchStartingKeyframe=!0;c.disabledNodes.has(xd.element)||Pe.push(xd)});Kc.timelines=Pe;d.append(Za,Kc.timelines);h.push({instruction:Kc,player:sb,element:Za});Kc.queriedElements.forEach(function(xd){return ji(l,xd,[]).push(sb)});Kc.preStyleProps.forEach(function(xd,ee){if(xd.size){var Si=q.get(ee);Si||q.set(ee,Si=new Set);xd.forEach(function(k8,Kr){return Si.add(Kr)})}});Kc.postStyleProps.forEach(function(xd,
ee){var Si=u.get(ee);Si||u.set(ee,Si=new Set);xd.forEach(function(k8,Kr){return Si.add(Kr)})})}});if(lb.length){var Ya=[];lb.forEach(function(){Ya.push(new Tc(3505,!1))});Bb.forEach(function(Sa){return Sa.destroy()});this.reportError(Ya)}var qa=new Map,Ba=new Map;h.forEach(function(Sa){var sb=Sa.element;d.has(sb)&&(Ba.set(sb,sb),c._beforeAnimationBuild(Sa.player.namespaceId,Sa.instruction,qa))});e.forEach(function(Sa){var sb=Sa.element;c._getPreviousPlayers(sb,!1,Sa.namespaceId,Sa.triggerName,null).forEach(function(Za){ji(qa,
sb,[]).push(Za);Za.destroy()})});var Ea=U.filter(function(Sa){return ila(Sa,q,u)}),Oa=new Map;cla(Oa,this.driver,ba,u,"*").forEach(function(Sa){ila(Sa,q,u)&&Ea.push(Sa)});var La=new Map;J.forEach(function(Sa){cla(La,c.driver,new Set(Sa),q,"!")});Ea.forEach(function(Sa){var sb=Oa.get(Sa),Za=La.get(Sa),Cb,Wb;Oa.set(Sa,new Map([].concat(p(Array.from(null!=(Cb=null==sb?void 0:sb.entries())?Cb:[])),p(Array.from(null!=(Wb=null==Za?void 0:Za.entries())?Wb:[])))))});var fc=[],Ua=[],bb={};h.forEach(function(Sa){var sb=
Sa.element,Za=Sa.player,Cb=Sa.instruction;if(d.has(sb))if(x.has(sb))Za.onDestroy(function(){return oi(sb,Cb.toStyles)}),Za.disabled=!0,Za.totalTime=Cb.totalTime,e.push(Za);else{var Wb=bb;if(1<Ba.size){Sa=sb;for(var rc=[];Sa=Sa.parentNode;){var Kc=Ba.get(Sa);if(Kc){Wb=Kc;break}rc.push(Sa)}rc.forEach(function(Pe){return Ba.set(Pe,Wb)})}Sa=c._buildAnimation(Za.namespaceId,Cb,qa,f,La,Oa);RHb(Za,Sa);Wb===bb?fc.push(Za):((Sa=c.playersByElement.get(Wb))&&Sa.length&&(Za.parentPlayer=hi(Sa)),e.push(Za))}else pi(sb,
Cb.fromStyles),Za.onDestroy(function(){return oi(sb,Cb.toStyles)}),Ua.push(Za),x.has(sb)&&e.push(Za)});Ua.forEach(function(Sa){var sb=f.get(Sa.element);sb&&sb.length&&(sb=hi(sb),RHb(Sa,sb))});e.forEach(function(Sa){Sa.parentPlayer?SHb(Sa,Sa.parentPlayer):Sa.destroy()});for(b=0;b<U.length;b++)if(ba=U[b],a=ba.__ng_removed,yi(ba,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((G=l.get(ba))&&G.length&&a.push.apply(a,p(G)),G=this.driver.query(ba,".ng-animating",!0),pa=0;pa<G.length;pa++)(na=l.get(G[pa]))&&
na.length&&a.push.apply(a,p(na));a=a.filter(function(Sa){return!Sa.destroyed});a.length?ela(this,ba,a):zi(this,ba)}U.length=0;fc.forEach(function(Sa){c.players.push(Sa);Sa.onDone(function(){Sa.destroy();var sb=c.players.indexOf(Sa);c.players.splice(sb,1)});Sa.play()});return fc};var Xy=function(a,b){a._flushFns.push(b)},JHb=function(a,b){a._whenQuietFns.push(b)};
Yy.prototype._getPreviousPlayers=function(a,b,c,d,e){var f=[];if(b)(e=this.playersByQueriedElement.get(a))&&(f=e);else if(a=this.playersByElement.get(a)){var h=!e||"void"==e;a.forEach(function(l){l.queued||(h||l.triggerName==d)&&f.push(l)})}if(c||d)f=f.filter(function(l){return c&&c!=l.namespaceId||d&&d!=l.triggerName?!1:!0});return f};
Yy.prototype._beforeAnimationBuild=function(a,b,c){var d=b.triggerName,e=b.element;a=b.isRemovalTransition?void 0:a;d=b.isRemovalTransition?void 0:d;for(var f={},h=m(b.timelines),l=h.next();!l.done;f={$jscomp$loop$prop$players$2122:f.$jscomp$loop$prop$players$2122},l=h.next()){l=l.value.element;var q=l!==e;f.$jscomp$loop$prop$players$2122=ji(c,l,[]);this._getPreviousPlayers(l,q,a,d,b.toState).forEach(function(u){return function(x){var y=x._player;y.beforeDestroy&&y.beforeDestroy();x.destroy();u.$jscomp$loop$prop$players$2122.push(x)}}(f))}pi(e,
b.fromStyles)};
Yy.prototype._buildAnimation=function(a,b,c,d,e,f){var h=this,l=b.triggerName,q=b.element,u=[],x=new Set,y=new Set,G=b.timelines.map(function(M){var V=M.element;x.add(V);var U=V.__ng_removed;if(U&&U.removedBeforeQueried)return new gi(M.duration,M.delay);U=V!==q;var W=gla((c.get(V)||AHb).map(function(na){return na._player})).filter(function(na){return na.element?na.element===V:!1}),ba=e.get(V),pa=f.get(V);ba=xka(M.keyframes,ba,pa);W=h._buildPlayer(M,ba,W);M.subTimeline&&d&&y.add(V);U&&(M=new FHb(a,
l,V),RHb(M,W),u.push(M));return W});u.forEach(function(M){ji(h.playersByQueriedElement,M.element,[]).push(M);M.onDone(function(){var V=h.playersByQueriedElement,U=M.element,W=V.get(U);if(W){if(W.length){var ba=W.indexOf(M);W.splice(ba,1)}0==W.length&&V.delete(U)}return W})});x.forEach(function(M){return xi(M,"ng-animating")});var J=hi(G);J.onDestroy(function(){x.forEach(function(M){return yi(M,"ng-animating")});oi(q,b.toStyles)});y.forEach(function(M){ji(d,M,[]).push(J)});return J};
Yy.prototype._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new gi(a.duration,a.delay)};
var FHb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new gi;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.disabled=this.markedForDestroy=this.destroyed=!1;this.queued=!0;this.totalTime=0},RHb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return zka(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},SHb=function(a,b){var c=
a._player;if(c.triggerCallback)b.onStart(function(){return c.triggerCallback("start")});b.onDone(function(){return a.finish()});b.onDestroy(function(){return a.destroy()})};g=FHb.prototype;g._queueEvent=function(a,b){ji(this._queuedCallbacks,a,[]).push(b)};g.onDone=function(a){this.queued&&this._queueEvent("done",a);this._player.onDone(a)};g.onStart=function(a){this.queued&&this._queueEvent("start",a);this._player.onStart(a)};g.onDestroy=function(a){this.queued&&this._queueEvent("destroy",a);this._player.onDestroy(a)};
g.init=function(){this._player.init()};g.hasStarted=function(){return this.queued?!1:this._player.hasStarted()};g.play=function(){!this.queued&&this._player.play()};g.pause=function(){!this.queued&&this._player.pause()};g.restart=function(){!this.queued&&this._player.restart()};g.finish=function(){this._player.finish()};g.destroy=function(){this.destroyed=!0;this._player.destroy()};g.reset=function(){!this.queued&&this._player.reset()};g.setPosition=function(a){this.queued||this._player.setPosition(a)};
g.getPosition=function(){return this.queued?0:this._player.getPosition()};g.triggerCallback=function(a){var b=this._player;b.triggerCallback&&b.triggerCallback(a)};var Zy=function(a,b,c){var d=this;this.bodyNode=a;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new Yy(a,b,c);this._timelineEngine=new zHb(a,b,c);this._transitionEngine.onRemovalComplete=function(e,f){return d.onRemovalComplete(e,f)}};g=Zy.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new fHb(this._driver)).build(e,c,[]);if(c.length)throw new Tc(3404,!1);c=new wHb(d,e,this._normalizer);this._triggerCache[a]=c}this._transitionEngine.registerTrigger(b,d,c)};g.register=function(a,b){this._transitionEngine.register(a,b)};g.destroy=function(a,b){this._transitionEngine.destroy(a,b)};g.onRemove=function(a,b,c,d){this._transitionEngine.removeNode(a,b,d||!1,c)};
g.disableAnimations=function(a,b){OHb(this._transitionEngine,a,b)};g.process=function(a,b,c,d){"@"==c.charAt(0)?(c=m(Bka(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};g.listen=function(a,b,c,d,e){return"@"==c.charAt(0)?(c=m(Bka(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};g.flush=function(a){this._transitionEngine.flush(void 0===a?-1:a)};
Ei.Object.defineProperties(Zy.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}});var Ai=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=THb.get(a);d||THb.set(a,d=new Map);this._initialStyles=d};Ai.prototype.start=function(){1>this._state&&(this._startStyles&&oi(this._element,this._startStyles,this._initialStyles),this._state=1)};Ai.prototype.finish=function(){this.start();2>this._state&&(oi(this._element,this._initialStyles),this._endStyles&&(oi(this._element,this._endStyles),this._endStyles=null),this._state=1)};
Ai.prototype.destroy=function(){this.finish();3>this._state&&(THb.delete(this._element),this._startStyles&&(pi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pi(this._element,this._endStyles),this._endStyles=null),oi(this._element,this._initialStyles),this._state=3)};var THb=new WeakMap;var UHb=function(a,b,c,d){this.element=a;this.keyframes=b;this.options=c;this._specialStyles=d;this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._destroyed=this._started=this._finished=this._initialized=!1;this._originalOnDoneFns=[];this._originalOnStartFns=[];this.time=0;this.parentPlayer=null;this.currentSnapshot=new Map;this._duration=c.duration;this._delay=c.delay||0;this.time=this._duration+this._delay};g=UHb.prototype;
g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this._buildPlayer();this._preparePlayerBeforeStart()};g._buildPlayer=function(){var a=this;if(!this._initialized){this._initialized=!0;var b=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,b,this.options);this._finalKeyframe=b.length?b[b.length-1]:new Map;this.domPlayer.addEventListener("finish",function(){return a._onFinish()})}};
g._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()};g._convertKeyframesToObject=function(a){var b=[];a.forEach(function(c){b.push(Object.fromEntries(c))});return b};g._triggerWebAnimation=function(a,b,c){return a.animate(this._convertKeyframesToObject(b),c)};g.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};g.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.play=function(){this._buildPlayer();this.hasStarted()||(this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start());this.domPlayer.play()};g.pause=function(){this.init();this.domPlayer.pause()};g.finish=function(){this.init();this._specialStyles&&this._specialStyles.finish();this._onFinish();this.domPlayer.finish()};
g.reset=function(){this._resetDomPlayerState();this._started=this._finished=this._destroyed=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()};g.restart=function(){this.reset();this.play()};g.hasStarted=function(){return this._started};
g.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.setPosition=function(a){void 0===this.domPlayer&&this.init();this.domPlayer.currentTime=a*this.time};g.getPosition=function(){return this.domPlayer.currentTime/this.time};
g.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){if("offset"!==d){var e=b.set,f;a._finished?f=c:f=window.getComputedStyle(a.element)[d];e.call(b,d,f)}});this.currentSnapshot=b};g.triggerCallback=function(a){a="start"===a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};Ei.Object.defineProperties(UHb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var VHb=function(){};g=VHb.prototype;g.containsElement=function(a,b){return dHb(a,b)};g.getParentElement=function(a){return Dka(a)};g.query=function(a,b,c){return eHb(a,b,c)};g.computeStyle=function(a,b){return window.getComputedStyle(a)[b]};
g.animate=function(a,b,c,d,e,f){f=void 0===f?[]:f;var h={duration:c,delay:d,fill:0==d?"both":"forwards"};e&&(h.easing=e);var l=new Map;e=f.filter(function(u){return u instanceof UHb});0!==c&&0!==d||e.forEach(function(u){u.currentSnapshot.forEach(function(x,y){return l.set(y,x)})});var q=Gka(b).map(function(u){return ni(u)});q=Mka(a,q,l);b=kla(a,q);return new UHb(a,q,h,b)};var $y=function(a,b){this._nextAnimationId=0;this._renderer=a.createRenderer(b.body,{id:"0",encapsulation:2,styles:[],data:{animation:[]}})};X($y,aHb);$y.prototype.build=function(a){var b=this._nextAnimationId.toString();this._nextAnimationId++;a=[Array.isArray(a)?{type:2,steps:a,options:null}:a];this._renderer.setProperty(null,"@@"+b+":register",a);return new WHb(b,this._renderer)};$y.\u0275fac=function(a){return new (a||$y)(n(Iv),n(Ci))};$y.\u0275prov=Pc({token:$y,factory:$y.\u0275fac});
var WHb=function(a,b){this._id=a;this._renderer=b};X(WHb,bHb);WHb.prototype.create=function(a,b){return new XHb(this._id,a,b||{},this._renderer)};var XHb=function(a,b,c,d){this.id=a;this.element=b;this._renderer=d;this.parentPlayer=null;this._started=!1;this.totalTime=0;this._command("create",c)};g=XHb.prototype;g._listen=function(a,b){return this._renderer.listen(this.element,"@@"+this.id+":"+a,b)};
g._command=function(a){return this._renderer.setProperty(this.element,"@@"+this.id+":"+a,bd.apply(1,arguments))};g.onDone=function(a){this._listen("done",a)};g.onStart=function(a){this._listen("start",a)};g.onDestroy=function(a){this._listen("destroy",a)};g.init=function(){this._command("init")};g.hasStarted=function(){return this._started};g.play=function(){this._command("play");this._started=!0};g.pause=function(){this._command("pause")};g.restart=function(){this._command("restart")};g.finish=function(){this._command("finish")};
g.destroy=function(){this._command("destroy")};g.reset=function(){this._command("reset");this._started=!1};g.setPosition=function(a){this._command("setPosition",a)};g.getPosition=function(){var a,b;return null!=(b=null==(a=this._renderer.engine.players[+this.id])?void 0:a.getPosition())?b:0};var az=function(a,b,c){this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;this.promise=Promise.resolve(0);b.onRemovalComplete=function(d,e){var f=null==e?void 0:e.parentNode(d);f&&e.removeChild(f,d)}};
az.prototype.createRenderer=function(a,b){var c=this,d=this.delegate.createRenderer(a,b);if(!(a&&b&&b.data&&b.data.animation))return b=this._rendererCache.get(d),b||(b=new bz("",d,this.engine,function(){return c._rendererCache.delete(d)}),this._rendererCache.set(d,b)),b;var e=b.id,f=b.id+"-"+this._currentId;this._currentId++;this.engine.register(f,a);var h=function(l){Array.isArray(l)?l.forEach(h):c.engine.registerTrigger(e,f,a,l.name,l)};b.data.animation.forEach(h);return new YHb(this,f,d,this.engine)};
az.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};az.prototype._scheduleCountTask=function(){var a=this;this.promise.then(function(){a._microtaskId++})};
var ZHb=function(a,b,c,d){0<=b&&b<a._microtaskId?a._zone.run(function(){return c(d)}):(0==a._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){a._zone.run(function(){a._animationCallbacksBuffer.forEach(function(e){var f=m(e);e=f.next().value;f=f.next().value;e(f)});a._animationCallbacksBuffer=[]})}),a._animationCallbacksBuffer.push([c,d]))};
az.prototype.end=function(){var a=this;this._cdRecurDepth--;0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){a._scheduleCountTask();a.engine.flush(a._microtaskId)});this.delegate.end&&this.delegate.end()};az.\u0275fac=function(a){return new (a||az)(n(Iv),n(Zy),n(Yf))};az.\u0275prov=Pc({token:az,factory:az.\u0275fac});
var bz=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d;this.destroyNode=this.delegate.destroyNode?function(e){return b.destroyNode(e)}:null};g=bz.prototype;g.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate);this.delegate.destroy();var a;null==(a=this._onDestroy)||a.call(this)};g.createElement=function(a,b){return this.delegate.createElement(a,b)};g.createComment=function(a){return this.delegate.createComment(a)};g.createText=function(a){return this.delegate.createText(a)};
g.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};g.insertBefore=function(a,b,c,d){d=void 0===d?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};g.removeChild=function(a,b,c){this.engine.onRemove(this.namespaceId,b,this.delegate,c)};g.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};g.parentNode=function(a){return this.delegate.parentNode(a)};
g.nextSibling=function(a){return this.delegate.nextSibling(a)};g.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};g.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};g.addClass=function(a,b){this.delegate.addClass(a,b)};g.removeClass=function(a,b){this.delegate.removeClass(a,b)};g.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};g.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};
g.setProperty=function(a,b,c){"@"==b.charAt(0)&&"@.disabled"==b?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};g.setValue=function(a,b){this.delegate.setValue(a,b)};g.listen=function(a,b,c){return this.delegate.listen(a,b,c)};g.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};Ei.Object.defineProperties(bz.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});
var YHb=function(a,b,c,d,e){bz.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};X(YHb,bz);YHb.prototype.setProperty=function(a,b,c){"@"==b.charAt(0)?"."==b.charAt(1)&&"@.disabled"==b?this.disableAnimations(a,void 0===c?!0:!!c):this.engine.process(this.namespaceId,a,b.slice(1),c):this.delegate.setProperty(a,b,c)};
YHb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=lla(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=m(mla(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(f){ZHb(d.factory,f._data||-1,c,f)})}return this.delegate.listen(a,b,c)};var cz=function(a,b,c){Zy.call(this,a.body,b,c)};X(cz,Zy);cz.prototype.ngOnDestroy=function(){this.flush()};cz.\u0275fac=function(a){return new (a||cz)(n(Ci),n(tHb),n(qHb),n(Tw))};cz.\u0275prov=Pc({token:cz,factory:cz.\u0275fac});var $Hb=[{provide:aHb,useClass:$y},{provide:qHb,useFactory:function(){return new sHb}},{provide:Zy,useClass:cz},{provide:Iv,useFactory:function(a,b,c){return new az(a,b,c)},deps:[Cy,Zy,Yf]}],aIb=[{provide:tHb,useFactory:function(){return new VHb}},{provide:Ov,useValue:"BrowserAnimations"}].concat(p($Hb));
[{provide:tHb,useClass:Vy},{provide:Ov,useValue:"NoopAnimations"}].concat(p($Hb));var dz=function(){};dz.\u0275fac=function(a){return new (a||dz)};dz.\u0275mod=fd({type:dz});dz.\u0275inj=Qc({providers:aIb,imports:[Ny]});var bIb=new Set,ez,fz=function(a){this._platform=a;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nla};fz.prototype.matchMedia=function(a){if((this._platform.WEBKIT||this._platform.BLINK)&&!bIb.has(a))try{ez||(ez=document.createElement("style"),ez.setAttribute("type","text/css"),document.head.appendChild(ez)),ez.sheet&&(ez.sheet.insertRule("@media "+a+" {body{ }}",0),bIb.add(a))}catch(b){console.error(b)}return this._matchMedia(a)};
fz.\u0275fac=function(a){return new (a||fz)(n(cy))};fz.\u0275prov=Pc({token:fz,factory:fz.\u0275fac,providedIn:"root"});var gz=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new T.Subject};gz.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
gz.prototype.observe=function(a){var b=this;a=ola(Jh(a)).map(function(c){return b._registerQuery(c).observable});a=(0,T.combineLatest)(a);a=(0,T.concat)(a.pipe(Ef()),a.pipe(Of(1),Af(0)));return a.pipe(B(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var f=e.matches;e=e.query;d.matches=d.matches||f;d.breakpoints[e]=f});return d}))};
gz.prototype._registerQuery=function(a){var b=this;if(this._queries.has(a))return this._queries.get(a);var c=this._mediaMatcher.matchMedia(a),d={observable:(new T.Observable(function(e){var f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe(Pf(c),B(function(e){return{query:a,matches:e.matches}}),Rf(this._destroySubject)),mql:c};this._queries.set(a,d);return d};gz.\u0275fac=function(a){return new (a||gz)(n(fz),n(Yf))};
gz.\u0275prov=Pc({token:gz,factory:gz.\u0275fac,providedIn:"root"});var hz=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=Zc(gz).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},cIb=function(a){if(!a._platform.isBrowser)return 0;var b=a._document.createElement("div");b.style.backgroundColor="rgb(1,2,3)";b.style.position="absolute";a._document.body.appendChild(b);a=(a=a._document.defaultView||window)&&a.getComputedStyle?
a.getComputedStyle(b):null;a=(a&&a.backgroundColor||"").replace(/ /g,"");b.remove();switch(a){case "rgb(0,0,0)":case "rgb(45,50,54)":case "rgb(32,32,32)":return 2;case "rgb(255,255,255)":case "rgb(255,250,239)":return 1}return 0};hz.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
hz.prototype._applyBodyHighContrastModeCssClasses=function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var a=this._document.body.classList;a.remove("cdk-high-contrast-active","cdk-high-contrast-black-on-white","cdk-high-contrast-white-on-black");this._hasCheckedHighContrastMode=!0;var b=cIb(this);1===b?a.add("cdk-high-contrast-active","cdk-high-contrast-black-on-white"):2===b&&a.add("cdk-high-contrast-active","cdk-high-contrast-white-on-black")}};
hz.\u0275fac=function(a){return new (a||hz)(n(cy),n(Ci))};hz.\u0275prov=Pc({token:hz,factory:hz.\u0275fac,providedIn:"root"});var dIb=new Ud("liveAnnouncerElement",{providedIn:"root",factory:pla}),eIb=new Ud("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var iz=function(){};iz.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};iz.\u0275fac=function(a){return new (a||iz)};iz.\u0275prov=Pc({token:iz,factory:iz.\u0275fac,providedIn:"root"});var jz=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};g=jz.prototype;g.ngOnDestroy=function(){var a=this;this._observedElements.forEach(function(b,c){return a._cleanupObserver(c)})};
g.observe=function(a){var b=this,c=Mh(a);return new T.Observable(function(d){var e=b._observeElement(c).subscribe(d);return function(){e.unsubscribe();b._unobserveElement(c)}})};g._observeElement=function(a){if(this._observedElements.has(a))this._observedElements.get(a).count++;else{var b=new T.Subject,c=this._mutationObserverFactory.create(function(d){return b.next(d)});c&&c.observe(a,{characterData:!0,childList:!0,subtree:!0});this._observedElements.set(a,{observer:c,stream:b,count:1})}return this._observedElements.get(a).stream};
g._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};g._cleanupObserver=function(a){if(this._observedElements.has(a)){var b=this._observedElements.get(a),c=b.observer;b=b.stream;c&&c.disconnect();b.complete();this._observedElements.delete(a)}};jz.\u0275fac=function(a){return new (a||jz)(n(iz))};jz.\u0275prov=Pc({token:jz,factory:jz.\u0275fac,providedIn:"root"});
var kz=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new vw;this._disabled=!1;this._currentSubscription=null};kz.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};kz.prototype.ngOnDestroy=function(){this._unsubscribe()};
kz.prototype._subscribe=function(){var a=this;this._unsubscribe();var b=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){a._currentSubscription=(a.debounce?b.pipe(Af(a.debounce)):b).subscribe(a.event)})};kz.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
Ei.Object.defineProperties(kz.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Kh(a))?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=Nh(a);this._subscribe()}}});kz.\u0275fac=function(a){return new (a||kz)(A(jz),A(Yd),A(Yf))};
kz.\u0275dir=r({type:kz,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});var lz=function(){};lz.\u0275fac=function(a){return new (a||lz)};lz.\u0275mod=fd({type:lz});lz.\u0275inj=Qc({providers:[iz]});var fIb=0,mz=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};g=mz.prototype;
g.announce=function(a){var b=bd.apply(1,arguments),c=this,d=this._defaultOptions;if(1===b.length&&"number"===typeof b[0])var e=b[0];else{b=m(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");null==e&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",f);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;"number"===typeof e&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));c._currentResolve();c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};g.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
g.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;null==(a=this._liveElement)||a.remove();this._liveElement=null;var b;null==(b=this._currentResolve)||b.call(this);this._currentPromise=this._currentResolve=void 0};
g._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+fIb++;this._document.body.appendChild(b);return b};
g._exposeAnnouncerToModals=function(a){for(var b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};mz.\u0275fac=function(a){return new (a||mz)(n(dIb,8),n(Yf),n(Ci),n(eIb,8))};mz.\u0275prov=Pc({token:mz,factory:mz.\u0275fac,providedIn:"root"});var nz=function(a){a._applyBodyHighContrastModeCssClasses()};nz.\u0275fac=function(a){return new (a||nz)(n(hz))};nz.\u0275mod=fd({type:nz});nz.\u0275inj=Qc({imports:[lz]});var tla=0,oz=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+tla++;this._document=a;this._id=Zc(UDb)+"-"+tla++},gIb=function(a,b,c,d){if(a._canBeDescribed(b,c)){var e=sla(c,d);"string"!==typeof c?(ula(c,a._id),a._messageRegistry.set(e,{messageElement:c,referenceCount:0})):a._messageRegistry.has(e)||a._createMessageElement(c,d);a._isElementDescribedByMessage(b,e)||a._addMessageReference(b,e)}},pz=function(a,b,c,d){if(c&&a._isElementNode(b)){d=sla(c,
d);a._isElementDescribedByMessage(b,d)&&a._removeMessageReference(b,d);"string"===typeof c&&(b=a._messageRegistry.get(d))&&0===b.referenceCount&&a._deleteMessageElement(d);var e;0===(null==(e=a._messagesContainer)?void 0:e.childNodes.length)&&(a._messagesContainer.remove(),a._messagesContainer=null)}};g=oz.prototype;
g.ngOnDestroy=function(){for(var a=this._document.querySelectorAll('[cdk-describedby-host="'+this._id+'"]'),b=0;b<a.length;b++)this._removeCdkDescribedByReferenceIds(a[b]),a[b].removeAttribute("cdk-describedby-host");var c;null==(c=this._messagesContainer)||c.remove();this._messagesContainer=null;this._messageRegistry.clear()};
g._createMessageElement=function(a,b){var c=this._document.createElement("div");ula(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(sla(a,b),{messageElement:c,referenceCount:0})};g._deleteMessageElement=function(a){var b,c;null==(b=this._messageRegistry.get(a))||null==(c=b.messageElement)||c.remove();this._messageRegistry.delete(a)};
g._createMessagesContainer=function(){if(!this._messagesContainer){for(var a=this._document.querySelectorAll('.cdk-describedby-message-container[platform="server"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.style.visibility="hidden";a.classList.add("cdk-describedby-message-container");a.classList.add("cdk-visually-hidden");this._platform&&!this._platform.isBrowser&&a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=Bi(a).filter(function(c){return 0!=c.indexOf("cdk-describedby-message")});a.setAttribute("aria-describedby",b.join(" "))};g._addMessageReference=function(a,b){b=this._messageRegistry.get(b);qla(a,b.messageElement.id);a.setAttribute("cdk-describedby-host",this._id);b.referenceCount++};g._removeMessageReference=function(a,b){b=this._messageRegistry.get(b);b.referenceCount--;rla(a,b.messageElement.id);a.removeAttribute("cdk-describedby-host")};
g._isElementDescribedByMessage=function(a,b){a=Bi(a);b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&-1!=a.indexOf(b)};g._canBeDescribed=function(a,b){if(!this._isElementNode(a))return!1;if(b&&"object"===typeof b)return!0;b=null==b?"":b.trim();a=a.getAttribute("aria-label");return b?!a||a.trim()!==b:!1};g._isElementNode=function(a){return a.nodeType===this._document.ELEMENT_NODE};oz.\u0275fac=function(a){return new (a||oz)(n(Ci),n(cy))};
oz.\u0275prov=Pc({token:oz,factory:oz.\u0275fac,providedIn:"root"});var qz=function(a,b,c,d,e,f,h){gy.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};X(qz,gy);qz.prototype.destroy=function(){this._focusTrapManager.deregister(this);gy.prototype.destroy.call(this)};qz.prototype._enable=function(){this._inertStrategy.preventFocus(this);pGb(this,!0)};qz.prototype._disable=function(){this._inertStrategy.allowFocus(this);pGb(this,!1)};
Ei.Object.defineProperties(qz.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){(this._enabled=a)?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}}});var hIb=function(){this._listener=null};hIb.prototype.preventFocus=function(a){var b=this;this._listener&&a._document.removeEventListener("focus",this._listener,!0);this._listener=function(c){return b._trapFocus(a,c)};a._ngZone.runOutsideAngular(function(){a._document.addEventListener("focus",b._listener,!0)})};hIb.prototype.allowFocus=function(a){this._listener&&(a._document.removeEventListener("focus",this._listener,!0),this._listener=null)};
hIb.prototype._trapFocus=function(a,b){b=b.target;var c=a._element,d;!b||c.contains(b)||(null==(d=b.closest)?0:d.call(b,"div.cdk-overlay-pane"))||setTimeout(function(){a.enabled&&!c.contains(a._document.activeElement)&&ey(a)})};var iIb=new Ud("FOCUS_TRAP_INERT_STRATEGY");var rz=function(){this._focusTrapStack=[]};rz.prototype.register=function(a){var b=this._focusTrapStack=this._focusTrapStack.filter(function(c){return c!==a});b.length&&b[b.length-1]._disable();b.push(a);a._enable()};rz.prototype.deregister=function(a){a._disable();var b=this._focusTrapStack;a=b.indexOf(a);-1!==a&&(b.splice(a,1),b.length&&b[b.length-1]._enable())};rz.\u0275fac=function(a){return new (a||rz)};rz.\u0275prov=Pc({token:rz,factory:rz.\u0275fac,providedIn:"root"});var sz=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new hIb};sz.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new qz(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};sz.\u0275fac=function(a){return new (a||sz)(n(dy),n(Yf),n(rz),n(Ci),n(iIb,8))};sz.\u0275prov=Pc({token:sz,factory:sz.\u0275fac,providedIn:"root"});var tz=function(a){var b=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new T.Subject;this._typeaheadSubscription=T.Subscription.EMPTY;this._vertical=!0;this._allowedModifierKeys=[];this._homeAndEnd=!1;this._pageUpAndDown={enabled:!1,delta:10};this._skipPredicateFn=function(c){return c.disabled};this._pressedLetters=[];this.tabOut=new T.Subject;this.change=new T.Subject;a instanceof Vg&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},jIb=function(a,b){a._skipPredicateFn=b;return a},uz=function(a){a._wrap=!0;return a},kIb=function(a){a._vertical=!0;return a},vz=function(a,b){a._horizontal=b;return a},lIb=function(a){a._allowedModifierKeys=["shiftKey"];return a},mIb=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(Sf(function(c){return a._pressedLetters.push(c)}),
Af(b),sf(function(){return 0<a._pressedLetters.length}),B(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var f=(a._activeItemIndex+e)%d.length,h=d[f];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(f);break}}a._pressedLetters=[]});return a},wz=function(a){a._homeAndEnd=!0;return a},nIb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
tz.prototype.setActiveItem=function(a){var b=this._activeItem;xz(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
tz.prototype.onKeydown=function(a){var b=this,c=a.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(function(e){return!a[e]||-1<b._allowedModifierKeys.indexOf(e)});switch(c){case 9:this.tabOut.next();return;case 40:if(this._vertical&&d){this.setNextItemActive();break}else return;case 38:if(this._vertical&&d){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&d){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&
d){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&d){yz(this);break}else return;case 35:if(this._homeAndEnd&&d){oIb(this);break}else return;case 33:if(this._pageUpAndDown.enabled&&d){c=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(0<c?c:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&d){c=this._activeItemIndex+this._pageUpAndDown.delta;d=this._getItemsArray().length;this._setActiveItemByIndex(c<
d?c:d-1,-1);break}else return;default:if(d||Qh(a,"shiftKey"))a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(65<=c&&90>=c||48<=c&&57>=c)&&this._letterKeyStream.next(String.fromCharCode(c));return}this._pressedLetters=[];a.preventDefault()};var yz=function(a){a._setActiveItemByIndex(0,1)},oIb=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};tz.prototype.setNextItemActive=function(){0>this._activeItemIndex?yz(this):this._setActiveItemByDelta(1)};
tz.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?oIb(this):this._setActiveItemByDelta(-1)};var xz=function(a,b){var c=a._getItemsArray();b="number"===typeof b?b:c.indexOf(b);c=c[b];a._activeItem=null==c?null:c;a._activeItemIndex=b};g=tz.prototype;
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;null==(a=this._itemChangesSubscription)||a.unsubscribe();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};g._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
g._setActiveInWrapMode=function(a){for(var b=this._getItemsArray(),c=1;c<=b.length;c++){var d=(this._activeItemIndex+a*c+b.length)%b.length;if(!this._skipPredicateFn(b[d])){this.setActiveItem(d);break}}};g._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};g._setActiveItemByIndex=function(a,b){var c=this._getItemsArray();if(c[a]){for(;this._skipPredicateFn(c[a]);)if(a+=b,!c[a])return;this.setActiveItem(a)}};
g._getItemsArray=function(){return this._items instanceof Vg?this._items.toArray():this._items};Ei.Object.defineProperties(tz.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var zz=function(){tz.apply(this,arguments)};X(zz,tz);zz.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();tz.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var Az=function(){tz.apply(this,arguments);this._origin="program"};X(Az,tz);Az.prototype.setActiveItem=function(a){tz.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var pIb=new Ud("cdk-dir-doc",{providedIn:"root",factory:vla});var qIb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Bz=function(a){this.value="ltr";this.change=new vw;if(a){var b=a.documentElement?a.documentElement.dir:null;b=(a.body?a.body.dir:null)||b||"ltr";b=(null==b?void 0:b.toLowerCase())||"";var c;this.value="auto"===b&&"undefined"!==typeof navigator&&(null==(c=navigator)?0:c.language)?qIb.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};Bz.prototype.ngOnDestroy=function(){this.change.complete()};
Bz.\u0275fac=function(a){return new (a||Bz)(n(pIb,8))};Bz.\u0275prov=Pc({token:Bz,factory:Bz.\u0275fac,providedIn:"root"});var Cz=function(){};Cz.\u0275fac=function(a){return new (a||Cz)};Cz.\u0275mod=fd({type:Cz});Cz.\u0275inj=Qc({});var Dz=function(a){this._attachedOverlays=[];this._document=a};Dz.prototype.ngOnDestroy=function(){this.detach()};Dz.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};Dz.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};Dz.\u0275fac=function(a){return new (a||Dz)(n(Ci))};Dz.\u0275prov=Pc({token:Dz,factory:Dz.\u0275fac,providedIn:"root"});var Ez=function(a,b){Dz.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,f={},h=e.length-1;-1<h;f={$jscomp$loop$prop$keydownEvents$2124:f.$jscomp$loop$prop$keydownEvents$2124},h--)if(0<e[h]._keydownEvents.observers.length){f.$jscomp$loop$prop$keydownEvents$2124=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(l){return function(){return l.$jscomp$loop$prop$keydownEvents$2124.next(d)}}(f)):f.$jscomp$loop$prop$keydownEvents$2124.next(d);break}}};
X(Ez,Dz);Ez.prototype.add=function(a){var b=this;Dz.prototype.add.call(this,a);this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(function(){return b._document.body.addEventListener("keydown",b._keydownListener)}):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)};Ez.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
Ez.\u0275fac=function(a){return new (a||Ez)(n(Ci),n(Yf,8))};Ez.\u0275prov=Pc({token:Ez,factory:Ez.\u0275fac,providedIn:"root"});var Fz=function(a,b,c){Dz.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=Ih(e)};this._clickListener=function(e){var f=Ih(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:f;d._pointerDownEventTarget=null;for(var l=d._attachedOverlays.slice(),q={},u=l.length-1;-1<u;q={$jscomp$loop$prop$outsidePointerEvents$2126:q.$jscomp$loop$prop$outsidePointerEvents$2126},u--){var x=l[u];if(!(1>
x._outsidePointerEvents.observers.length)&&x.hasAttached()){if(x.overlayElement.contains(f)||x.overlayElement.contains(h))break;q.$jscomp$loop$prop$outsidePointerEvents$2126=x._outsidePointerEvents;d._ngZone?d._ngZone.run(function(y){return function(){return y.$jscomp$loop$prop$outsidePointerEvents$2126.next(e)}}(q)):q.$jscomp$loop$prop$outsidePointerEvents$2126.next(e)}}}};X(Fz,Dz);
Fz.prototype.add=function(a){var b=this;Dz.prototype.add.call(this,a);if(!this._isAttached){var c=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(function(){return b._addEventListeners(c)}):this._addEventListeners(c);this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=c.style.cursor,c.style.cursor="pointer",this._cursorStyleIsSet=!0);this._isAttached=!0}};
Fz.prototype.detach=function(){if(this._isAttached){var a=this._document.body;a.removeEventListener("pointerdown",this._pointerDownListener,!0);a.removeEventListener("click",this._clickListener,!0);a.removeEventListener("auxclick",this._clickListener,!0);a.removeEventListener("contextmenu",this._clickListener,!0);this._platform.IOS&&this._cursorStyleIsSet&&(a.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1);this._isAttached=!1}};
Fz.prototype._addEventListeners=function(a){a.addEventListener("pointerdown",this._pointerDownListener,!0);a.addEventListener("click",this._clickListener,!0);a.addEventListener("auxclick",this._clickListener,!0);a.addEventListener("contextmenu",this._clickListener,!0)};Fz.\u0275fac=function(a){return new (a||Fz)(n(Ci),n(cy),n(Yf,8))};Fz.\u0275prov=Pc({token:Fz,factory:Fz.\u0275fac,providedIn:"root"});var Gz=function(a,b){this._platform=b;this._document=a};Gz.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var rIb=function(a){a._containerElement||a._createContainer();return a._containerElement};
Gz.prototype._createContainer=function(){if(this._platform.isBrowser||fka())for(var a=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.classList.add("cdk-overlay-container");fka()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
Gz.\u0275fac=function(a){return new (a||Gz)(n(Ci),n(cy))};Gz.\u0275prov=Pc({token:Gz,factory:Gz.\u0275fac,providedIn:"root"});var sIb=cka(),Hz=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};Hz.prototype.attach=function(){};
Hz.prototype.enable=function(){if(this._canBeEnabled()){var a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition();this._previousHTMLStyles.left=a.style.left||"";this._previousHTMLStyles.top=a.style.top||"";a.style.left=Lh(-this._previousScrollPosition.left);a.style.top=Lh(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
Hz.prototype.disable=function(){if(this._isEnabled){var a=this._document.documentElement,b=a.style,c=this._document.body.style,d=b.scrollBehavior||"",e=c.scrollBehavior||"";this._isEnabled=!1;b.left=this._previousHTMLStyles.left;b.top=this._previousHTMLStyles.top;a.classList.remove("cdk-global-scrollblock");sIb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);sIb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
Hz.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var a=this._document.body,b=this._viewportRuler.getViewportSize();return a.scrollHeight>b.height||a.scrollWidth>b.width};var Iz=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._ngZone=b;this._viewportRuler=c;this._config=d;this._scrollSubscription=null;this._detach=function(){e.disable();e._overlayRef.hasAttached()&&e._ngZone.run(function(){return e._overlayRef.detach()})}};Iz.prototype.attach=function(a){this._overlayRef=a};
Iz.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&1<this._config.threshold?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=b.subscribe(function(){var c=a._viewportRuler.getViewportScrollPosition().top;Math.abs(c-a._initialScrollPosition)>a._config.threshold?a._detach():a._overlayRef.updatePosition()})):this._scrollSubscription=b.subscribe(this._detach)}};
Iz.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Iz.prototype.detach=function(){this.disable();this._overlayRef=null};var Jz=function(){};Jz.prototype.enable=function(){};Jz.prototype.disable=function(){};Jz.prototype.attach=function(){};var Kz=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};Kz.prototype.attach=function(a){this._overlayRef=a};
Kz.prototype.enable=function(){var a=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){a._overlayRef.updatePosition();if(a._config&&a._config.autoClose){var b=a._overlayRef.overlayElement.getBoundingClientRect(),c=a._viewportRuler.getViewportSize(),d=c.width;c=c.height;wla(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
Kz.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Kz.prototype.detach=function(){this.disable();this._overlayRef=null};var tIb=new Ud("VIRTUAL_SCROLL_STRATEGY");var Lz=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new T.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};Lz.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Lz.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Lz.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new T.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(wf(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,T.of)()};
Lz.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var uIb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};Lz.prototype._getWindow=function(){return this._document.defaultView||window};
Lz.prototype._scrollableContainsElement=function(a,b){b=Mh(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Lz.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,T.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
Lz.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};Lz.\u0275fac=function(a){return new (a||Lz)(n(Yf),n(cy),n(Ci,8))};Lz.\u0275prov=Pc({token:Lz,factory:Lz.\u0275fac,providedIn:"root"});var Mz=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new T.Subject;this._elementScrolled=new T.Observable(function(f){return e.ngZone.runOutsideAngular(function(){return(0,T.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(Rf(e._destroyed)).subscribe(f)})})};Mz.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};Mz.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
Mz.prototype.scrollTo=function(a){var b=this.elementRef.nativeElement,c=this.dir&&"rtl"==this.dir.value;null==a.left&&(a.left=c?a.end:a.start);null==a.right&&(a.right=c?a.start:a.end);null!=a.bottom&&(a.top=b.scrollHeight-b.clientHeight-a.bottom);c&&0!=dka()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==dka()?a.left=a.right:1==dka()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
Mz.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;cka()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};Mz.\u0275fac=function(a){return new (a||Mz)(A(Yd),A(Lz),A(Yf),A(Bz,8))};Mz.\u0275dir=r({type:Mz,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var vIb=function(){},wIb=function(a,b,c,d){jFb(a,function(e,f,h){if(null==e.previousIndex){var l=c(e,f,h);l=b.createEmbeddedView(l.templateRef,l.context,l.index);f=1}else null==h?(b.remove(f),f=3):(l=b.get(f),b.move(l,h),f=2);if(d){var q;d({context:null==(q=l)?void 0:q.context,operation:f,record:e})}})};vIb.prototype.detach=function(){};var Nz=function(a,b,c,d){var e=this;a=void 0===a?!1:a;c=void 0===c?!0:c;this._multiple=a;this._emitChanges=c;this.compareWith=d;this._selection=new Set;this._deselectedToEmit=[];this._selectedToEmit=[];this.changed=new T.Subject;b&&b.length&&(a?b.forEach(function(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=Nz.prototype;
g.select=function(){var a=this;bd.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;bd.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
g.clear=function(a){a=void 0===a?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};g.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};g.isEmpty=function(){return 0===this._selection.size};g.hasValue=function(){return!this.isEmpty()};g.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
g._emitChangeEvent=function(){this._selected=null;if(this._selectedToEmit.length||this._deselectedToEmit.length)this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]};g._markSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))};
g._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};g._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};g._verifyValueAssignment=function(){};g._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
g._getConcreteValue=function(a){if(this.compareWith)for(var b=m(this._selection),c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c;return a};Ei.Object.defineProperties(Nz.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var Oz=function(){this._listeners=[]};Oz.prototype.notify=function(a,b){for(var c=m(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};Oz.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};Oz.prototype.ngOnDestroy=function(){this._listeners=[]};Oz.\u0275fac=function(a){return new (a||Oz)};Oz.\u0275prov=Pc({token:Oz,factory:Oz.\u0275fac,providedIn:"root"});var xIb=new Ud("_ViewRepeater");var Pz=function(a,b,c){var d=this;this._platform=a;this._change=new T.Subject;this._changeListener=function(e){d._change.next(e)};this._document=c;b.runOutsideAngular(function(){if(a.isBrowser){var e=d._getWindow();e.addEventListener("resize",d._changeListener);e.addEventListener("orientationchange",d._changeListener)}d.change().subscribe(function(){return d._viewportSize=null})})};g=Pz.prototype;
g.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};g.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
g.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var a=this._document,b=this._getWindow(),c=a.documentElement,d=c.getBoundingClientRect();return{top:-d.top||a.body.scrollTop||b.scrollY||c.scrollTop||0,left:-d.left||a.body.scrollLeft||b.scrollX||c.scrollLeft||0}};g.change=function(a){a=void 0===a?20:a;return 0<a?this._change.pipe(wf(a)):this._change};g._getWindow=function(){return this._document.defaultView||window};
g._updateViewportSize=function(){var a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}};Pz.\u0275fac=function(a){return new (a||Pz)(n(cy),n(Yf),n(Ci,8))};Pz.\u0275prov=Pc({token:Pz,factory:Pz.\u0275fac,providedIn:"root"});var yIb=new Ud("VIRTUAL_SCROLLABLE"),Qz=function(a,b,c,d){Mz.call(this,a,b,c,d)};X(Qz,Mz);Qz.\u0275fac=function(a){return new (a||Qz)(A(Yd),A(Lz),A(Yf),A(Bz,8))};Qz.\u0275dir=r({type:Qz,features:[$f]});var zIb=["contentWrapper"],AIb="undefined"!==typeof requestAnimationFrame?T.animationFrameScheduler:T.asapScheduler,Rz=function(a,b,c,d,e,f,h,l){Mz.call(this,a,f,c,e);var q=this;this.elementRef=a;this._changeDetectorRef=b;this._scrollStrategy=d;this.scrollable=l;this._platform=Zc(cy);this._detachedSubject=new T.Subject;this._renderedRangeSubject=new T.Subject;this._orientation="vertical";this._appendOnly=!1;this.scrolledIndexChange=new T.Observable(function(u){return q._scrollStrategy.scrolledIndexChange.subscribe(function(x){return Promise.resolve().then(function(){return q.ngZone.run(function(){return u.next(x)})})})});
this._totalContentSize=0;this._totalContentHeight=this._totalContentWidth="";this._renderedRange={start:0,end:0};this._renderedContentOffset=this._viewportSize=this._dataLength=0;this._isChangeDetectionPending=this._renderedContentOffsetNeedsRewrite=!1;this._runAfterChangeDetection=[];this._viewportChanges=T.Subscription.EMPTY;this._viewportChanges=h.change().subscribe(function(){q._measureViewportSize();q._scrollStrategy.onDataLengthChanged()});this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),
this.scrollable=this)};X(Rz,Qz);Rz.\u0275dir=Qz.\u0275dir;g=Rz.prototype;g.ngOnInit=function(){var a=this;this._platform.isBrowser&&(this.scrollable===this&&Qz.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){a._measureViewportSize();a._scrollStrategy.attach(a);a.scrollable._elementScrolled.pipe(Pf(null),wf(0,AIb)).subscribe(function(){return a._scrollStrategy.onContentScrolled()});a._markChangeDetectionNeeded()})}))};
g.ngOnDestroy=function(){this.detach();this._scrollStrategy.detach();this._renderedRangeSubject.complete();this._detachedSubject.complete();this._viewportChanges.unsubscribe();Qz.prototype.ngOnDestroy.call(this)};g.attach=function(a){var b=this;this.ngZone.runOutsideAngular(function(){b._forOf=a;b._forOf.dataStream.pipe(Rf(b._detachedSubject)).subscribe(function(c){c=c.length;c!==b._dataLength&&(b._dataLength=c,b._scrollStrategy.onDataLengthChanged());b._doChangeDetection()})})};
g.detach=function(){this._forOf=null;this._detachedSubject.next()};g.getViewportSize=function(){return this._viewportSize};g._measureViewportSize=function(){var a=this.scrollable.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?a.clientWidth:a.clientHeight};g._markChangeDetectionNeeded=function(a){var b=this;a&&this._runAfterChangeDetection.push(a);this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){b._doChangeDetection()})}))};
g._doChangeDetection=function(){var a=this;this._isChangeDetectionPending=!1;this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;this.ngZone.run(function(){return a._changeDetectorRef.markForCheck()});var b=this._runAfterChangeDetection;this._runAfterChangeDetection=[];b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c()};
g._calculateSpacerSize=function(){this._totalContentHeight="horizontal"===this.orientation?"":"0px";this._totalContentWidth="horizontal"===this.orientation?"0px":""};Ei.Object.defineProperties(Rz.prototype,{orientation:{configurable:!0,enumerable:!0,get:function(){return this._orientation},set:function(a){this._orientation!==a&&(this._orientation=a,this._calculateSpacerSize())}},appendOnly:{configurable:!0,enumerable:!0,get:function(){return this._appendOnly},set:function(a){this._appendOnly=Kh(a)}}});
Rz.\u0275fac=function(a){return new (a||Rz)(A(Yd),A(Vw),A(Yf),A(tIb,8),A(Bz,8),A(Lz),A(Pz),A(yIb,8))};
Rz.\u0275cmp=r({type:Rz,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(a,b){a&1&&Sg(zIb,7);if(a&2){var c;Rg(c=Ug())&&(b._contentWrapper=c.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(a,b){a&2&&pg("cdk-virtual-scroll-orientation-horizontal","horizontal"===b.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==b.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},
standalone:!0,features:[Dg([{provide:Mz,useFactory:function(a,b){return a||b},deps:[[new Cv,new lDb(yIb)],Rz]}]),$f,xia],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(a,b){a&1&&(wg(),D(0,"div",0,1),xg(2),E(),F(3,"div",2));a&2&&(z(3),og("width",b._totalContentWidth)("height",b._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\n"],
encapsulation:2,changeDetection:0});var Sz=function(){};Sz.\u0275fac=function(a){return new (a||Sz)};Sz.\u0275mod=fd({type:Sz});Sz.\u0275inj=Qc({});var Tz=function(){};Tz.\u0275fac=function(a){return new (a||Tz)};Tz.\u0275mod=fd({type:Tz});Tz.\u0275inj=Qc({imports:[Cz,Sz,Rz,Cz,Sz]});var Uz=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new Jz};this.close=function(f){return new Iz(e._scrollDispatcher,e._ngZone,e._viewportRuler,f)};this.block=function(){return new Hz(e._viewportRuler,e._document)};this.reposition=function(f){return new Kz(e._scrollDispatcher,e._viewportRuler,e._ngZone,f)};this._document=d};Uz.\u0275fac=function(a){return new (a||Uz)(n(Lz),n(Pz),n(Yf),n(Ci))};
Uz.\u0275prov=Pc({token:Uz,factory:Uz.\u0275fac,providedIn:"root"});var Vz=function(a){this.scrollStrategy=new Jz;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,void 0!==a[c]&&(this[c]=a[c])}};var Wz=function(a,b,c,d,e,f,h,l,q,u){var x=this;u=void 0===u?!1:u;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=f;this._document=h;this._location=l;this._outsideClickDispatcher=q;this._animationsDisabled=u;this._backdropElement=null;this._backdropClick=new T.Subject;this._attachments=new T.Subject;this._detachments=new T.Subject;this._locationChanges=T.Subscription.EMPTY;this._backdropClickHandler=function(y){return x._backdropClick.next(y)};
this._backdropTransitionendHandler=function(y){x._disposeBackdrop(y.target)};this._keydownEvents=new T.Subject;this._outsidePointerEvents=new T.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};g=Wz.prototype;
g.attach=function(a){var b=this;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);a=this._portalOutlet.attach(a);this._positionStrategy&&this._positionStrategy.attach(this);this._updateStackingOrder();this._updateElementSize();this._updateElementDirection();this._scrollStrategy&&this._scrollStrategy.enable();this._ngZone.onStable.pipe(Ef()).subscribe(function(){b.hasAttached()&&b.updatePosition()});this._togglePointerEvents(!0);this._config.hasBackdrop&&
this._attachBackdrop();this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0);this._attachments.next();this._keyboardDispatcher.add(this);this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return b.dispose()}));this._outsideClickDispatcher.add(this);if("function"===typeof(null==a?void 0:a.onDestroy))a.onDestroy(function(){b.hasAttached()&&b._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){return b.detach()})})});
return a};g.detach=function(){if(this.hasAttached()){BIb(this);this._togglePointerEvents(!1);this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach();this._scrollStrategy&&this._scrollStrategy.disable();var a=this._portalOutlet.detach();this._detachments.next();this._keyboardDispatcher.remove(this);this._detachContentWhenStable();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;null==(b=this._host)||b.remove();this._previousHostParent=
this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete()};g.hasAttached=function(){return this._portalOutlet.hasAttached()};g.backdropClick=function(){return this._backdropClick};g.attachments=function(){return this._attachments};g.keydownEvents=function(){return this._keydownEvents};g.outsidePointerEvents=function(){return this._outsidePointerEvents};g.getConfig=function(){return this._config};g.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};
var CIb=function(a,b){b!==a._positionStrategy&&(a._positionStrategy&&a._positionStrategy.dispose(),a._positionStrategy=b,a.hasAttached()&&(b.attach(a),a.updatePosition()))};g=Wz.prototype;g.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};g.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};g.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};
g.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};g.getDirection=function(){var a=this._config.direction;return a?"string"===typeof a?a:a.value:"ltr"};g._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())};
g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=Lh(this._config.width);a.height=Lh(this._config.height);a.minWidth=Lh(this._config.minWidth);a.minHeight=Lh(this._config.minHeight);a.maxWidth=Lh(this._config.maxWidth);a.maxHeight=Lh(this._config.maxHeight)}};g._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
g._attachBackdrop=function(){var a=this;this._backdropElement=this._document.createElement("div");this._backdropElement.classList.add("cdk-overlay-backdrop");this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation");this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0);this._host.parentElement.insertBefore(this._backdropElement,this._host);this._backdropElement.addEventListener("click",this._backdropClickHandler);
this._animationsDisabled||"undefined"===typeof requestAnimationFrame?this._backdropElement.classList.add("cdk-overlay-backdrop-showing"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a._backdropElement&&a._backdropElement.classList.add("cdk-overlay-backdrop-showing")})})};g._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var BIb=function(a){var b=a._backdropElement;b&&(a._animationsDisabled?a._disposeBackdrop(b):(b.classList.remove("cdk-overlay-backdrop-showing"),a._ngZone.runOutsideAngular(function(){b.addEventListener("transitionend",a._backdropTransitionendHandler)}),b.style.pointerEvents="none",a._backdropTimeout=a._ngZone.runOutsideAngular(function(){return setTimeout(function(){a._disposeBackdrop(b)},500)})))};
Wz.prototype._toggleClasses=function(a,b,c){b=Jh(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,p(b)):a.classList.remove.apply(a.classList,p(b)))};
Wz.prototype._detachContentWhenStable=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._ngZone.onStable.pipe(Rf((0,T.merge)(a._attachments,a._detachments))).subscribe(function(){a._pane&&a._host&&0!==a._pane.children.length||(a._pane&&a._config.panelClass&&a._toggleClasses(a._pane,a._config.panelClass,!1),a._host&&a._host.parentElement&&(a._previousHostParent=a._host.parentElement,a._host.remove()),b.unsubscribe())})})};
Wz.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};Wz.prototype._disposeBackdrop=function(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null));this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)};
Ei.Object.defineProperties(Wz.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var DIb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var zla=/([A-Za-z%]+)$/,Xz=function(a,b,c,d,e){this._viewportRuler=b;this._document=c;this._platform=d;this._overlayContainer=e;this._lastBoundingBoxSize={width:0,height:0};this._isPushed=!1;this._canPush=!0;this._growAfterOpen=!1;this._hasFlexibleDimensions=!0;this._positionLocked=!1;this._viewportMargin=0;this._scrollables=[];this._preferredPositions=[];this._positionChanges=new T.Subject;this._resizeSubscription=T.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};Xz.prototype.attach=function(a){var b=this;a.hostElement.classList.add("cdk-overlay-connected-position-bounding-box");this._overlayRef=a;this._boundingBox=a.hostElement;this._pane=a.overlayElement;this._isDisposed=!1;this._isInitialRender=!0;this._lastPosition=null;this._resizeSubscription.unsubscribe();this._resizeSubscription=this._viewportRuler.change().subscribe(function(){b._isInitialRender=!0;b.apply()})};
Xz.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)EIb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=rIb(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=m(this._preferredPositions),l=h.next();!l.done;l=h.next()){l=l.value;var q=this._getOriginPoint(a,d,l),u=this._getOverlayPoint(q,b,l),x=this._getOverlayFit(u,b,c,l);if(x.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(x,u,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!f||f.overlayFit.visibleArea<x.visibleArea)f={overlayFit:x,
overlayPoint:u,originPoint:q,position:l,overlayRect:b}}if(e.length){a=null;b=-1;e=m(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(f.position,f.originPoint)}};Xz.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Xz.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Di(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)};
var EIb=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;if(b){a._originRect=a._getOriginRect();a._overlayRect=a._pane.getBoundingClientRect();a._viewportRect=a._getNarrowedViewportRect();a._containerRect=rIb(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},FIb=function(a,b){a._scrollables=b;return a},Yz=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=
null);return a},Zz=function(a,b){a._viewportMargin=b;return a},$z=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},GIb=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},HIb=function(a,b){a._canPush=void 0===b?!0:b;return a},IIb=function(a,b){a._positionLocked=void 0===b?!0:b;return a};Xz.prototype.setOrigin=function(a){this._origin=a;return this};var JIb=function(a,b){a._transformOriginSelector=b;return a};g=Xz.prototype;
g._getOriginPoint=function(a,b,c){if("center"==c.originX)var d=a.left+a.width/2;else{d=this._isRtl()?a.right:a.left;var e=this._isRtl()?a.left:a.right;d="start"==c.originX?d:e}0>b.left&&(d-=b.left);a="center"==c.originY?a.top+a.height/2:"top"==c.originY?a.top:a.bottom;0>b.top&&(a-=b.top);return{x:d,y:a}};
g._getOverlayPoint=function(a,b,c){var d="center"==c.overlayX?-b.width/2:"start"===c.overlayX?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width;return{x:a.x+d,y:a.y+("center"==c.overlayY?-b.height/2:"top"==c.overlayY?0:-b.height)}};
g._getOverlayFit=function(a,b,c,d){b=Bla(b);var e=a.x;a=a.y;var f=this._getOffset(d,"x");d=this._getOffset(d,"y");f&&(e+=f);d&&(a+=d);d=-a;a=a+b.height-c.height;c=this._subtractOverflows(b.width,-e,e+b.width-c.width);e=this._subtractOverflows(b.height,d,a);d=c*e;return{visibleArea:d,isCompletelyWithinViewport:b.width*b.height===d,fitsInViewportVertically:e===b.height,fitsInViewportHorizontally:c==b.width}};
g._canFitWithFlexibleDimensions=function(a,b,c){if(this._hasFlexibleDimensions){var d=c.bottom-b.y;c=c.right-b.x;b=Ala(this._overlayRef.getConfig().minHeight);var e=Ala(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||null!=e&&e<=c;return(a.fitsInViewportVertically||null!=b&&b<=d)&&c}return!1};
g._pushOverlayOnScreen=function(a,b,c){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};b=Bla(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),f=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),l=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?l||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-f:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};g._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);this._lastPosition=a;this._positionChanges.observers.length&&(b=this._getScrollVisibility(),this._positionChanges.next(new DIb(a,b)));this._isInitialRender=!1};
g._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
g._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if("top"===b.overlayY){var e=a.y;var f=c.height-e+this._viewportMargin}else if("bottom"===b.overlayY){var h=c.height-a.y+2*this._viewportMargin;f=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var l=this._lastBoundingBoxSize.height;f=2*e;e=a.y-e;f>l&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-l/2)}l="start"===b.overlayX&&!d||"end"===b.overlayX&&d;if("end"===b.overlayX&&!d||"start"===
b.overlayX&&d){var q=c.width-a.x+this._viewportMargin;b=a.x-this._viewportMargin}else if(l){var u=a.x;b=c.right-a.x}else u=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*u,u=a.x-u,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(u=a.x-c/2);return{top:e,left:u,bottom:h,right:q,width:b,height:f}};
g._setBoundingBoxStyles=function(a,b){a=this._calculateBoundingBoxRect(a,b);this._isInitialRender||this._growAfterOpen||(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{var d=this._overlayRef.getConfig().maxHeight,e=this._overlayRef.getConfig().maxWidth;c.height=Lh(a.height);c.top=Lh(a.top);c.bottom=Lh(a.bottom);
c.width=Lh(a.width);c.left=Lh(a.left);c.right=Lh(a.right);c.alignItems="center"===b.overlayX?"center":"end"===b.overlayX?"flex-end":"flex-start";c.justifyContent="center"===b.overlayY?"center":"bottom"===b.overlayY?"flex-end":"flex-start";d&&(c.maxHeight=Lh(d));e&&(c.maxWidth=Lh(e))}this._lastBoundingBoxSize=a;Di(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){Di(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){Di(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})};
g._setOverlayElementStyles=function(a,b){var c={},d=this._hasExactPosition(),e=this._hasFlexibleDimensions,f=this._overlayRef.getConfig();if(d){var h=this._viewportRuler.getViewportScrollPosition();Di(c,this._getExactOverlayY(b,a,h));Di(c,this._getExactOverlayX(b,a,h))}else c.position="static";a="";h=this._getOffset(b,"x");b=this._getOffset(b,"y");h&&(a+="translateX("+h+"px) ");b&&(a+="translateY("+b+"px)");c.transform=a.trim();f.maxHeight&&(d?c.maxHeight=Lh(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=Lh(f.maxWidth):e&&(c.maxWidth=""));Di(this._pane.style,c)};g._getExactOverlayY=function(a,b,c){var d={top:"",bottom:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"bottom"===a.overlayY?d.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":d.top=Lh(b.y);return d};
g._getExactOverlayX=function(a,b,c){var d={left:"",right:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"right"===(this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left")?d.right=this._document.documentElement.clientWidth-(b.x+this._overlayRect.width)+"px":d.left=Lh(b.x);return d};
g._getScrollVisibility=function(){var a=this._getOriginRect(),b=this._pane.getBoundingClientRect(),c=this._scrollables.map(function(d){return d.elementRef.nativeElement.getBoundingClientRect()});return{isOriginClipped:xla(a,c),isOriginOutsideView:wla(a,c),isOverlayClipped:xla(b,c),isOverlayOutsideView:wla(b,c)}};g._subtractOverflows=function(a){return bd.apply(1,arguments).reduce(function(b,c){return b-Math.max(c,0)},a)};
g._getNarrowedViewportRect=function(){var a=this._document.documentElement.clientWidth,b=this._document.documentElement.clientHeight,c=this._viewportRuler.getViewportScrollPosition();return{top:c.top+this._viewportMargin,left:c.left+this._viewportMargin,right:c.left+a-this._viewportMargin,bottom:c.top+b-this._viewportMargin,width:a-2*this._viewportMargin,height:b-2*this._viewportMargin}};g._isRtl=function(){return"rtl"===this._overlayRef.getDirection()};
g._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};g._getOffset=function(a,b){return"x"===b?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY};g._validatePositions=function(){};g._addPanelClasses=function(a){var b=this;this._pane&&Jh(a).forEach(function(c){""!==c&&-1===b._appliedPanelClasses.indexOf(c)&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
g._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};g._getOriginRect=function(){var a=this._origin;if(a instanceof Yd)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();var b=a.width||0,c=a.height||0;return{top:a.y,bottom:a.y+c,left:a.x,right:a.x+b,height:c,width:b}};
Ei.Object.defineProperties(Xz.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var KIb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=KIb.prototype;g.attach=function(a){var b=a.getConfig();this._overlayRef=a;this._width&&!b.width&&a.updateSize({width:this._width});this._height&&!b.height&&a.updateSize({height:this._height});a.hostElement.classList.add("cdk-global-overlay-wrapper");this._isDisposed=!1};
g.top=function(a){this._bottomOffset="";this._topOffset=void 0===a?"":a;this._alignItems="flex-start";return this};g.left=function(a){this._xOffset=void 0===a?"":a;this._xPosition="left";return this};g.bottom=function(a){this._topOffset="";this._bottomOffset=void 0===a?"":a;this._alignItems="flex-end";return this};g.right=function(a){this._xOffset=void 0===a?"":a;this._xPosition="right";return this};g.start=function(a){this._xOffset=void 0===a?"":a;this._xPosition="start";return this};
g.end=function(a){this._xOffset=void 0===a?"":a;this._xPosition="end";return this};g.width=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};g.height=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var LIb=function(a){a.left("");a._xPosition="center";return a},MIb=function(a){a.top("");a._alignItems="center";return a};
KIb.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement.style,c=this._overlayRef.getConfig(),d=c.width,e=c.height,f=c.maxWidth;c=c.maxHeight;d=("100%"===d||"100vw"===d)&&(!f||"100%"===f||"100vw"===f);e=("100%"===e||"100vh"===e)&&(!c||"100%"===c||"100vh"===c);f=this._xPosition;c=this._xOffset;var h="rtl"===this._overlayRef.getConfig().direction,l="",q="",u="";if(d)u="flex-start";else if("center"===
f)u="center",h?q=c:l=c;else if(h)if("left"===f||"end"===f)u="flex-end",l=c;else{if("right"===f||"start"===f)u="flex-start",q=c}else if("left"===f||"start"===f)u="flex-start",l=c;else if("right"===f||"end"===f)u="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":l;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=u;b.alignItems=e?"flex-start":this._alignItems}};
KIb.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement,c=b.style;b.classList.remove("cdk-global-overlay-wrapper");c.justifyContent=c.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="";this._overlayRef=null;this._isDisposed=!0}};var aA=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};aA.prototype.global=function(){return new KIb};var bA=function(a,b){return new Xz(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};aA.\u0275fac=function(a){return new (a||aA)(n(Pz),n(Ci),n(cy),n(Gz))};aA.\u0275prov=Pc({token:aA,factory:aA.\u0275fac,providedIn:"root"});var NIb=0,cA=function(a,b,c,d,e,f,h,l,q,u,x,y){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=f;this._ngZone=h;this._document=l;this._directionality=q;this._location=u;this._outsideClickDispatcher=x;this._animationsModuleType=y};g=cA.prototype;
g.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new Vz(a);a.direction=a.direction||this._directionality.value;return new Wz(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+NIb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");rIb(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(Tw));return new sy(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
cA.\u0275fac=function(a){return new (a||cA)(n(Uz),n(Gz),n(Gv),n(aA),n(Ez),n(Fv),n(Yf),n(Ci),n(Bz),n(xx),n(Fz),n(Ov,8))};cA.\u0275prov=Pc({token:cA,factory:cA.\u0275fac,providedIn:"root"});var OIb=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],PIb=new Ud("cdk-connected-overlay-scroll-strategy"),dA=function(a){this.elementRef=a};dA.\u0275fac=function(a){return new (a||dA)(A(Yd))};
dA.\u0275dir=r({type:dA,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var eA=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._push=this._flexibleDimensions=this._growAfterOpen=this._lockPosition=this._hasBackdrop=!1;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=T.Subscription.EMPTY;this.viewportMargin=0;this.disableClose=this.open=!1;this.backdropClick=new vw;this.positionChange=new vw;this.attach=new vw;this.detach=new vw;this.overlayKeydown=new vw;this.overlayOutsideClick=new vw;this._templatePortal=new qy(b,
c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};g=eA.prototype;g.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this._overlayRef&&this._overlayRef.dispose()};
g.ngOnChanges=function(a){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),a.origin&&this.open&&this._position.apply());a.open&&(this.open?this._attachOverlay():this._detachOverlay())};
g._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=OIb);var b=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=b.attachments().subscribe(function(){return a.attach.emit()});this._detachSubscription=b._detachments.subscribe(function(){return a.detach.emit()});b.keydownEvents().subscribe(function(c){a.overlayKeydown.next(c);27!==c.keyCode||a.disableClose||Qh(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new Vz({direction:this._dir,positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});if(this.width||0===this.width)a.width=this.width;if(this.height||0===this.height)a.height=this.height;if(this.minWidth||0===this.minWidth)a.minWidth=this.minWidth;if(this.minHeight||0===this.minHeight)a.minHeight=this.minHeight;this.backdropClass&&(a.backdropClass=this.backdropClass);
this.panelClass&&(a.panelClass=this.panelClass);return a};
g._updatePositionStrategy=function(a){var b=this,c=this.positions.map(function(d){return{originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||b.offsetX,offsetY:d.offsetY||b.offsetY,panelClass:d.panelClass||void 0}});return JIb(IIb(Zz(GIb(HIb($z(Yz(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=bA(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};g._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof dA?this.origin.elementRef:this.origin};
g._attachOverlay=function(){var a=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay();this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal);this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(b){a.backdropClick.emit(b)}):this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();0<this.positionChange.observers.length&&(this._positionSubscription=this._position.positionChanges.pipe(xha(function(){return 0<
a.positionChange.observers.length})).subscribe(function(b){a.positionChange.emit(b);0===a.positionChange.observers.length&&a._positionSubscription.unsubscribe()}))};g._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
Ei.Object.defineProperties(eA.prototype,{offsetX:{configurable:!0,enumerable:!0,get:function(){return this._offsetX},set:function(a){this._offsetX=a;this._position&&this._updatePositionStrategy(this._position)}},offsetY:{configurable:!0,enumerable:!0,get:function(){return this._offsetY},set:function(a){this._offsetY=a;this._position&&this._updatePositionStrategy(this._position)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=
Kh(a)}},lockPosition:{configurable:!0,enumerable:!0,get:function(){return this._lockPosition},set:function(a){this._lockPosition=Kh(a)}},flexibleDimensions:{configurable:!0,enumerable:!0,get:function(){return this._flexibleDimensions},set:function(a){this._flexibleDimensions=Kh(a)}},growAfterOpen:{configurable:!0,enumerable:!0,get:function(){return this._growAfterOpen},set:function(a){this._growAfterOpen=Kh(a)}},push:{configurable:!0,enumerable:!0,get:function(){return this._push},set:function(a){this._push=
Kh(a)}},overlayRef:{configurable:!0,enumerable:!0,get:function(){return this._overlayRef}},dir:{configurable:!0,enumerable:!0,get:function(){return this._dir?this._dir.value:"ltr"}}});eA.\u0275fac=function(a){return new (a||eA)(A(cA),A(Og),A(Pg),A(PIb),A(Bz,8))};
eA.\u0275dir=r({type:eA,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth",
"minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],
hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],
standalone:!0,features:[md]});var QIb={provide:PIb,deps:[cA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var fA=function(){};fA.\u0275fac=function(a){return new (a||fA)};fA.\u0275mod=fd({type:fA});fA.\u0275inj=Qc({providers:[cA,QIb],imports:[Cz,vy,Tz,Tz]});var RIb=new Ud("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),gA=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};gA.prototype._checkIsEnabled=function(a){return fka()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};gA.\u0275fac=function(a){return new (a||gA)(n(hz),n(RIb,8),n(Ci))};gA.\u0275mod=fd({type:gA});
gA.\u0275inj=Qc({imports:[Cz,Cz]});new Ud("MAT_DATE_LOCALE",{providedIn:"root",factory:Ela});var hA=function(){this.localeChanges=this._localeChanges=new T.Subject},jA=function(a,b){return iA(b)&&a.isValid(b)?b:null},kA=function(a,b){return null==b||iA(b)&&a.isValid(b)?b:a.invalid()};hA.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var lA=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
hA.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!lA(this,a,b):c==d}return a==b};var SIb=function(a,b,c,d){return c&&0>lA(a,b,c)?c:d&&0<lA(a,b,d)?d:b};var mA=new Ud("mat-date-formats");var nA=function(){};nA.\u0275fac=function(a){return new (a||nA)};nA.\u0275prov=Pc({token:nA,factory:nA.\u0275fac,providedIn:"root"});new Ud("MAT_HAMMER_OPTIONS");var oA=function(){};oA.\u0275fac=function(a){return new (a||oA)};oA.\u0275dir=r({type:oA,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});var pA=function(){};pA.\u0275fac=function(a){return new (a||pA)};pA.\u0275mod=fd({type:pA});pA.\u0275inj=Qc({imports:[gA,gA]});var TIb=new Ud("MAT_OPTION_PARENT_COMPONENT");Hi(function(){});var UIb=new Ud("MatOptgroup");var VIb=Dh({passive:!0,capture:!0}),XIb=function(a,b,c,d){var e=WIb,f=e._events.get(b);f?(a=f.get(c))?a.add(d):f.set(c,new Set([d])):(e._events.set(b,new Map([[c,new Set([d])]])),a.runOutsideAngular(function(){document.addEventListener(b,e._delegateEventHandler,VIb)}))};var YIb=function(a,b,c,d){d=void 0===d?!1:d;this._renderer=a;this.element=b;this.config=c;this._animationForciblyDisabledThroughCss=d;this.state=3};var ZIb={enterDuration:225,exitDuration:150},$Ib=Dh({passive:!0,capture:!0}),aJb=["mousedown","touchstart"],bJb=["mouseup","mouseleave","touchend","touchcancel"],cJb=function(a,b,c,d){this._target=a;this._ngZone=b;this._platform=d;this._isPointerDown=!1;this._activeRipples=new Map;this._pointerUpEventsRegistered=!1;d.isBrowser&&(this._containerElement=Mh(c))},dJb=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},
ZIb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Gla(b,c,e);b-=e.left;var l=c-e.top;c=f.enterDuration;var q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=l-h+"px";q.style.height=2*h+"px";q.style.width=2*h+"px";null!=d.color&&(q.style.backgroundColor=d.color);q.style.transitionDuration=c+"ms";a._containerElement.appendChild(q);h=window.getComputedStyle(q);b=h.transitionDuration;e="none"===h.transitionProperty||
"0s"===b||"0s, 0s"===b||0===e.width&&0===e.height;var u=new YIb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";u.state=0;d.persistent||(a._mostRecentTransientRipple=u);var x=null;e||!c&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var y=function(){return a._finishRippleTransition(u)},G=function(){return a._destroyRipple(u)};q.addEventListener("transitionend",y);q.addEventListener("transitioncancel",G);x={onTransitionEnd:y,onTransitionCancel:G}});a._activeRipples.set(u,x);!e&&c||a._finishRippleTransition(u);
return u},eJb=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},ZIb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};cJb.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||eJb(a._renderer,a)})};
var fJb=function(a,b){var c=Mh(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,aJb.forEach(function(d){XIb(a._ngZone,d,c,a)}))};g=cJb.prototype;
g.handleEvent=function(a){var b=this;"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp();this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(function(){bJb.forEach(function(c){b._triggerElement.addEventListener(c,b,$Ib)})}),this._pointerUpEventsRegistered=!0)};g._finishRippleTransition=function(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)};
g._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||eJb(a._renderer,a)};
g._destroyRipple=function(a){var b,c=null!=(b=this._activeRipples.get(a))?b:null;this._activeRipples.delete(a);this._activeRipples.size||(this._containerRect=null);a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null);a.state=3;null!==c&&(a.element.removeEventListener("transitionend",c.onTransitionEnd),a.element.removeEventListener("transitioncancel",c.onTransitionCancel));a.element.remove()};
g._onMousedown=function(a){var b=Oh(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,dJb(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!Ph(a)){this._lastTouchStartEvent=Date.now();this._isPointerDown=!0;a=a.changedTouches;for(var b=0;b<a.length;b++)dJb(this,a[b].clientX,a[b].clientY,this._target.rippleConfig)}};
g._onPointerUp=function(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(function(a){var b=1===a.state||a.config.terminateOnPointerUp&&0===a.state;!a.config.persistent&&b&&eJb(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(aJb.forEach(function(c){var d=WIb,e=d._events.get(c);if(e){var f=e.get(b);f&&(f.delete(a),0===f.size&&e.delete(b),0===e.size&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,VIb)))}}),this._pointerUpEventsRegistered&&bJb.forEach(function(c){return b.removeEventListener(c,a,$Ib)}))};
var WIb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Ih(b);if(c){var d;null==(d=a._events.get(b.type))||d.forEach(function(e,f){(f===c||f.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var gJb=new Ud("mat-ripple-global-options"),qA=function(a,b,c,d,e){this._elementRef=a;this._animationMode=e;this.radius=0;this._isInitialized=this._disabled=!1;this._globalOptions=d||{};this._rippleRenderer=new cJb(this,b,a,c)};g=qA.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};g.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};g.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};
g._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&fJb(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return"number"===typeof a?dJb(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):dJb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
Ei.Object.defineProperties(qA.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){a&&this.fadeOutAllNonPersistent();this._disabled=a;this._setupTriggerEventsIfEnabled()}},trigger:{configurable:!0,enumerable:!0,get:function(){return this._trigger||this._elementRef.nativeElement},set:function(a){this._trigger=a;this._setupTriggerEventsIfEnabled()}},rippleConfig:{configurable:!0,enumerable:!0,get:function(){return{centered:this.centered,radius:this.radius,
color:this.color,animation:Object.assign({},this._globalOptions.animation,"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||!!this._globalOptions.disabled}}});qA.\u0275fac=function(a){return new (a||qA)(A(Yd),A(Yf),A(cy),A(gJb,8),A(Ov,8))};
qA.\u0275dir=r({type:qA,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&pg("mat-ripple-unbounded",b.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});var rA=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};rA.\u0275fac=function(a){return new (a||rA)(A(Ov,8))};
rA.\u0275cmp=r({type:rA,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&pg("mat-pseudo-checkbox-indeterminate","indeterminate"===b.state)("mat-pseudo-checkbox-checked","checked"===b.state)("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal","minimal"===b.appearance)("mat-pseudo-checkbox-full","full"===b.appearance)("_mat-animation-noopable","NoopAnimations"===b._animationMode)},inputs:{state:"state",disabled:"disabled",
appearance:"appearance"},decls:0,vars:0,template:function(){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],
encapsulation:2,changeDetection:0});var hJb=["text"],iJb=0,jJb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},sA=function(a,b,c,d){this._element=a;this._changeDetectorRef=b;this._parent=c;this.group=d;this._disabled=this._active=this._selected=!1;this._mostRecentViewValue="";this.id="mat-option-"+iJb++;this.onSelectionChange=new vw;this._stateChanges=new T.Subject};g=sA.prototype;g.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())};
g.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())};g.focus=function(a,b){var c=this._getHostElement();"function"===typeof c.focus&&c.focus(b)};g.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())};g.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())};g.getLabel=function(){return this.viewValue};
g._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||Qh(a)||(this._selectViaInteraction(),a.preventDefault())};g._selectViaInteraction=function(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))};g._getAriaSelected=function(){return this.selected||(this.multiple?!1:null)};g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._element.nativeElement};
g.ngAfterViewChecked=function(){if(this._selected){var a=this.viewValue;a!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=a)}};g.ngOnDestroy=function(){this._stateChanges.complete()};g._emitSelectionChangeEvent=function(a){this.onSelectionChange.emit(new jJb(this,void 0===a?!1:a))};
Ei.Object.defineProperties(sA.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._parent&&this._parent.multiple}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.group&&this.group.disabled||this._disabled},set:function(a){this._disabled=Kh(a)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return!(!this._parent||!this._parent.disableRipple)}},hideSingleSelectionIndicator:{configurable:!0,
enumerable:!0,get:function(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}},active:{configurable:!0,enumerable:!0,get:function(){return this._active}},viewValue:{configurable:!0,enumerable:!0,get:function(){var a;return((null==(a=this._text)?void 0:a.nativeElement.textContent)||"").trim()}}});sA.\u0275fac=function(){be()};
sA.\u0275dir=r({type:sA,viewQuery:function(a,b){a&1&&Sg(hJb,7);if(a&2){var c;Rg(c=Ug())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});var tA=function(){};tA.\u0275fac=function(a){return new (a||tA)};tA.\u0275mod=fd({type:tA});tA.\u0275inj=Qc({imports:[gA,gA]});var uA=function(){};uA.\u0275fac=function(a){return new (a||uA)};uA.\u0275mod=fd({type:uA});uA.\u0275inj=Qc({imports:[gA]});var kJb=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini",
"mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],lJb=Fi(Hi(Gi(function(a){this._elementRef=a}))),vA=function(a,b,c,d){var e=lJb.call(this,a)||this;e._platform=b;e._ngZone=c;e._animationMode=d;e._focusMonitor=Zc(ly);e._isFab=!1;var f=a.nativeElement.classList;a=m(kJb);for(var h=a.next();!h.done;h=a.next())h=h.value,e._hasHostAttributes(h.selector)&&h.mdcClasses.forEach(function(l){f.add(l)});return e};X(vA,lJb);g=vA.prototype;
g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){(a=void 0===a?"program":a)?my(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};g._hasHostAttributes=function(){var a=this;return bd.apply(0,arguments).some(function(b){return a._elementRef.nativeElement.hasAttribute(b)})};
g._isRippleDisabled=function(){return this.disableRipple||this.disabled};vA.\u0275fac=function(){be()};vA.\u0275dir=r({type:vA,viewQuery:function(a,b){a&1&&Sg(qA,5);if(a&2){var c;Rg(c=Ug())&&(b.ripple=c.first)}},features:[$f]});var wA=function(a,b,c,d){var e=vA.call(this,a,b,c,d)||this;e._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())};return e};X(wA,vA);
wA.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};wA.prototype.ngOnDestroy=function(){vA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};wA.\u0275fac=function(){be()};wA.\u0275dir=r({type:wA,features:[$f]});var mJb=["mat-button",""],nJb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],oJb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
pJb=function(){return'.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}\n'},
qJb=function(){return".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"},xA=function(a,b,c,d){return vA.call(this,a,b,c,d)||this};X(xA,vA);xA.\u0275dir=vA.\u0275dir;
xA.\u0275fac=function(a){return new (a||xA)(A(Yd),A(cy),A(Yf),A(Ov,8))};
xA.\u0275cmp=r({type:xA,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(a,b){a&2&&(dg("disabled",b.disabled||null),pg("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[$f],attrs:mJb,ngContentSelectors:oJb,
decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(wg(nJb),F(0,"span",0),xg(1),D(2,"span",1),xg(3,1),E(),xg(4,2),F(5,"span",2)(6,"span",3)(7,"span",4));a&2&&(pg("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab),z(6),C("matRippleDisabled",b._isRippleDisabled())("matRippleTrigger",
b._elementRef.nativeElement))},dependencies:[qA],styles:[pJb(),qJb()],encapsulation:2,changeDetection:0});var yA=function(a,b,c,d){return wA.call(this,a,b,c,d)||this};X(yA,wA);yA.\u0275dir=wA.\u0275dir;yA.\u0275fac=function(a){return new (a||yA)(A(Yd),A(cy),A(Yf),A(Ov,8))};
yA.\u0275cmp=r({type:yA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(a,b){a&2&&(dg("disabled",b.disabled||null)("tabindex",b.disabled?-1:b.tabIndex)("aria-disabled",b.disabled.toString()),pg("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},
exportAs:["matButton","matAnchor"],features:[$f],attrs:mJb,ngContentSelectors:oJb,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(wg(nJb),F(0,"span",0),xg(1),D(2,"span",1),xg(3,1),E(),xg(4,2),F(5,"span",2)(6,"span",3)(7,"span",4));a&2&&(pg("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",
b._isFab),z(6),C("matRippleDisabled",b._isRippleDisabled())("matRippleTrigger",b._elementRef.nativeElement))},dependencies:[qA],styles:[pJb(),qJb()],encapsulation:2,changeDetection:0});var zA=function(a,b,c,d){return vA.call(this,a,b,c,d)||this};X(zA,vA);zA.\u0275dir=vA.\u0275dir;zA.\u0275fac=function(a){return new (a||zA)(A(Yd),A(cy),A(Yf),A(Ov,8))};
zA.\u0275cmp=r({type:zA,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(a,b){a&2&&(dg("disabled",b.disabled||null),pg("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[$f],attrs:["mat-icon-button",""],ngContentSelectors:["*"],decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],
[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(wg(),F(0,"span",0),xg(1),F(2,"span",1)(3,"span",2)(4,"span",3));a&2&&(z(3),C("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",b._elementRef.nativeElement))},dependencies:[qA],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',
".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"],encapsulation:2,changeDetection:0});var AA=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new T.Subject;this.selection=a};AA.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};AA.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};AA.prototype._isValidDateInstance=function(a){return iA(a)&&this._adapter.isValid(a)};AA.\u0275fac=function(){be()};AA.\u0275prov=Pc({token:AA,factory:AA.\u0275fac});
var BA=function(a){AA.call(this,null,a)};X(BA,AA);BA.prototype.add=function(a){AA.prototype.updateSelection.call(this,a,this)};BA.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};BA.prototype.isComplete=function(){return null!=this.selection};BA.prototype.clone=function(){var a=new BA(this._adapter);a.updateSelection(this.selection,this);return a};BA.\u0275fac=function(a){return new (a||BA)(n(hA))};BA.\u0275prov=Pc({token:BA,factory:BA.\u0275fac});
var rJb={provide:AA,deps:[[new Cv,new Dv,AA],hA],useFactory:function(a,b){return a||new BA(b)}};new Cv;new Dv;var CA=function(){this.changes=new T.Subject};CA.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};CA.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};CA.\u0275fac=function(a){return new (a||CA)};CA.\u0275prov=Pc({token:CA,factory:CA.\u0275fac,providedIn:"root"});var sJb=function(a,b,c,d,e,f,h){e=void 0===e?{}:e;this.value=a;this.displayValue=b;this.ariaLabel=c;this.enabled=d;this.cssClasses=e;this.compareValue=void 0===f?a:f;this.rawValue=h},tJb=1,DA=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=null;this.selectedValueChange=new vw;this.previewChange=new vw;this.activeDateChange=new vw;this.dragStarted=
new vw;this.dragEnded=new vw;this._didDragSinceMouseDown=!1;this._enterHandler=function(d){if(c._skipNextFocus&&"focus"===d.type)c._skipNextFocus=!1;else if(d.target&&c.isRange){var e=c._getCellFromElement(d.target);e&&c._ngZone.run(function(){return c.previewChange.emit({value:e.enabled?e:null,event:d})})}};this._touchmoveHandler=function(d){if(c.isRange){var e=Sla(d),f=e?c._getCellFromElement(e):null;e!==d.target&&(c._didDragSinceMouseDown=!0);Ola(d.target)&&d.preventDefault();c._ngZone.run(function(){return c.previewChange.emit({value:(null==
f?0:f.enabled)?f:null,event:d})})}};this._leaveHandler=function(d){null!==c.previewEnd&&c.isRange&&("blur"!==d.type&&(c._didDragSinceMouseDown=!0),!d.target||!c._getCellFromElement(d.target)||d.relatedTarget&&c._getCellFromElement(d.relatedTarget)||c._ngZone.run(function(){return c.previewChange.emit({value:null,event:d})}))};this._mousedownHandler=function(d){if(c.isRange){c._didDragSinceMouseDown=!1;var e=d.target&&c._getCellFromElement(d.target);e&&c._isInRange(e.rawValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,
event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=Ola(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var f=c._getCellFromElement(e),h;c.dragEnded.emit({value:null!=(h=null==f?void 0:f.rawValue)?h:null,event:d})}):c._ngZone.run(function(){c.dragEnded.emit({value:null,event:d})})}};this._touchendHandler=function(d){(d=Sla(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+tJb++;this._startDateLabelId=this._id+"-start-date";
this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("mouseenter",c._enterHandler,!0);d.addEventListener("touchmove",c._touchmoveHandler,!0);d.addEventListener("focus",c._enterHandler,!0);d.addEventListener("mouseleave",c._leaveHandler,!0);d.addEventListener("blur",c._leaveHandler,!0);d.addEventListener("mousedown",c._mousedownHandler);d.addEventListener("touchstart",c._mousedownHandler);window.addEventListener("mouseup",c._mouseupHandler);
window.addEventListener("touchend",c._touchendHandler)})};g=DA.prototype;g.ngAfterViewChecked=function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)};g._cellClicked=function(a,b){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:b})};g._emitActiveDateChange=function(a,b){a.enabled&&this.activeDateChange.emit({value:a.value,event:b})};
g._isSelected=function(a){return this.startValue===a||this.endValue===a};g.ngOnChanges=function(a){var b=a.numCols,c=this.rows,d=this.numCols;if(a.rows||b)this._firstRowOffset=c&&c.length&&c[0].length?d-c[0].length:0;if(a.cellAspectRatio||b||!this._cellPadding)this._cellPadding=50*this.cellAspectRatio/d+"%";if(b||!this._cellWidth)this._cellWidth=100/d+"%"};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;a.removeEventListener("mouseenter",this._enterHandler,!0);a.removeEventListener("touchmove",this._touchmoveHandler,!0);a.removeEventListener("focus",this._enterHandler,!0);a.removeEventListener("mouseleave",this._leaveHandler,!0);a.removeEventListener("blur",this._leaveHandler,!0);a.removeEventListener("mousedown",this._mousedownHandler);a.removeEventListener("touchstart",this._mousedownHandler);window.removeEventListener("mouseup",this._mouseupHandler);
window.removeEventListener("touchend",this._touchendHandler)};g._isActiveCell=function(a,b){b=a*this.numCols+b;a&&(b-=this._firstRowOffset);return b==this.activeCell};g._focusActiveCell=function(a){var b=this;a=void 0===a?!0:a;this._ngZone.runOutsideAngular(function(){b._ngZone.onStable.pipe(Ef()).subscribe(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})})})};
g._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};g._isRangeStart=function(a){return Pla(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return Qla(a,this.startValue,this.endValue)};g._isInRange=function(a){return Rla(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return Pla(a,this.comparisonStart,this.comparisonEnd)};
g._isComparisonBridgeStart=function(a,b,c){if(!this._isComparisonStart(a)||this._isRangeStart(a)||!this._isInRange(a))return!1;a=this.rows[b][c-1];a||(a=(b=this.rows[b-1])&&b[b.length-1]);return a&&!this._isRangeEnd(a.compareValue)};g._isComparisonBridgeEnd=function(a,b,c){if(!this._isComparisonEnd(a)||this._isRangeEnd(a)||!this._isInRange(a))return!1;a=this.rows[b][c+1];a||(a=(b=this.rows[b+1])&&b[0]);return a&&!this._isRangeStart(a.compareValue)};
g._isComparisonEnd=function(a){return Qla(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return Rla(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return Pla(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return Qla(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return Rla(a,this.previewStart,this.previewEnd,this.isRange)};g._getDescribedby=function(a){return this.isRange?this.startValue===a&&this.endValue===a?this._startDateLabelId+" "+this._endDateLabelId:this.startValue===a?this._startDateLabelId:this.endValue===a?this._endDateLabelId:null:null};g._getCellFromElement=function(a){var b=Ola(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
DA.\u0275fac=function(a){return new (a||DA)(A(Yd),A(Yf))};
DA.\u0275cmp=r({type:DA,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",
endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[md],attrs:["mat-calendar-body",""],decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",
3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(O(0,Jla,3,6,"tr",0),O(1,Mla,3,2,"tr",1),D(2,"label",
2),P(3),E(),D(4,"label",2),P(5),E());a&2&&(C("ngIf",b._firstRowOffset<b.labelMinRequiredCells),z(1),C("ngForOf",b.rows),z(1),C("id",b._startDateLabelId),z(1),Q(" ",b.startDateAccessibleName,"\n"),z(1),C("id",b._endDateLabelId),z(1),Q(" ",b.endDateAccessibleName,"\n"))},dependencies:[$w,ax,bx],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],
encapsulation:2,changeDetection:0});var uJb=new Ud("MAT_DATE_RANGE_SELECTION_STRATEGY");new Cv;new Dv;var EA=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=T.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new vw;this._userSelection=new vw;this.dragStarted=new vw;this.dragEnded=new vw;this.activeDateChange=new vw;this._activeDate=new sp};g=EA.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Pf(null)).subscribe(function(){return a._init()})};
g.ngOnChanges=function(a){var b=a.comparisonStart||a.comparisonEnd;b&&!b.firstChange&&this._setRanges(this.selected);a.activeDrag&&!this.activeDrag&&this._clearPreview()};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};g._dateSelected=function(a){var b=a.value,c=this._getDateFromDayOfMonth(b),d;(d=this._getDateInCurrentMonth(this._selected))===b&&d===b||this.selectedChange.emit(c);this._userSelection.emit({value:c,event:a.event});this._clearPreview();this._changeDetectorRef.markForCheck()};
g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a.value);lA(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this._activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=FA(this._activeDate,c?1:-1);break;case 39:this.activeDate=FA(this._activeDate,c?-1:1);break;case 38:this.activeDate=FA(this._activeDate,-7);break;case 40:this.activeDate=FA(this._activeDate,7);break;case 36:this.activeDate=FA(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=FA(this._activeDate,vJb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?GA(this._activeDate,-1):HA(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?GA(this._activeDate,1):HA(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||Qh(a)||(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:a}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:a})),a.preventDefault(),
a.stopPropagation());return;default:return}lA(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:a}),this._selectionKeyPressed=!1};
g._init=function(){this._setRanges(this.selected);this._todayDate=this._getCellCompareValue(new sp);this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.locale.SHORTMONTHS[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();this._firstWeekOffset=(7+IA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1).getDay()-this._dateAdapter.getFirstDayOfWeek())%
7;this._initWeekdays();this._createWeekCells();this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(a){this._matCalendarBody._focusActiveCell(a)};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._previewChanged=function(a){var b=a.event;a=a.value;if(this._rangeStrategy){a=a?a.rawValue:null;var c=this._rangeStrategy.createPreview(a,this.selected,b);this._previewStart=this._getCellCompareValue(c.start);this._previewEnd=this._getCellCompareValue(c.end);if(this.activeDrag&&a){var d,e;if(c=null==(e=(d=this._rangeStrategy).createDrag)?void 0:e.call(d,this.activeDrag.value,this.selected,a,b))this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end)}this._changeDetectorRef.detectChanges()}};
g._dragEnded=function(a){if(this.activeDrag)if(a.value){var b,c,d=null==(b=this._rangeStrategy)?void 0:null==(c=b.createDrag)?void 0:c.call(b,this.activeDrag.value,this.selected,a.value,a.event);this.dragEnded.emit({value:null!=d?d:null,event:a.event})}else this.dragEnded.emit({value:null,event:a.event})};g._getDateFromDayOfMonth=function(a){return IA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=wJb(this._dateAdapter,"narrow"),c=wJb(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e]}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
g._createWeekCells=function(){var a=vJb(this.activeDate),b=xJb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=IA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),f=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),l=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new sJb(c+1,b[c],h,f,l,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=lA(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=lA(this._dateAdapter,a,this.maxDate))&&(!this.dateFilter||this.dateFilter(a))};g._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};g._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
g._getCellCompareValue=function(a){if(a){var b=this._dateAdapter.getYear(a),c=this._dateAdapter.getMonth(a);a=this._dateAdapter.getDate(a);return(new Date(b,c,a)).getTime()}return null};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setRanges=function(a){this._rangeStart=this._rangeEnd=this._getCellCompareValue(a);this._isRange=!1;this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart);this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)};
g._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};g._clearPreview=function(){this._previewStart=this._previewEnd=null};
Ei.Object.defineProperties(EA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=jA(this._dateAdapter,kA(this._dateAdapter,a))||new sp;this._activeDate=SIb(this._dateAdapter,a,this.minDate,this.maxDate);this._hasSameMonthAndYear(b,this._activeDate)||this._init()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=jA(this._dateAdapter,kA(this._dateAdapter,a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=jA(this._dateAdapter,kA(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=jA(this._dateAdapter,kA(this._dateAdapter,a))}}});EA.\u0275fac=function(a){return new (a||EA)(A(Vw),A(mA,8),A(hA,8),A(Bz,8),A(uJb,8))};
EA.\u0275cmp=r({type:EA,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&Sg(DA,5);if(a&2){var c;Rg(c=Ug())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",
_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[md],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd",
"isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(a,b){a&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),O(3,Tla,5,2,"th",2),E(),D(4,"tr"),F(5,"th",3),E()(),D(6,"tbody",4),K("selectedValueChange",function(c){return b._dateSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("previewChange",
function(c){return b._previewChanged(c)})("dragStarted",function(c){return b.dragStarted.emit(c)})("dragEnded",function(c){return b._dragEnded(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),E()());a&2&&(z(3),C("ngForOf",b._weekdays),z(3),C("label",b._monthLabel)("rows",b._weeks)("todayValue",b._todayDate)("startValue",b._rangeStart)("endValue",b._rangeEnd)("comparisonStart",b._comparisonRangeStart)("comparisonEnd",b._comparisonRangeEnd)("previewStart",
b._previewStart)("previewEnd",b._previewEnd)("isRange",b._isRange)("labelMinRequiredCells",3)("activeCell",b._dateAdapter.getDate(b.activeDate)-1)("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName))},dependencies:[ax,DA],encapsulation:2,changeDetection:0});var JA=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=T.Subscription.EMPTY;this.selectedChange=new vw;this.yearSelected=new vw;this.activeDateChange=new vw;this._activeDate=new sp};g=JA.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Pf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new sp);var b=this._dateAdapter.getYear(this._activeDate)-Ki(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var c=0,d=[];24>c;c++)d.push(b+c),4==d.length&&(this._years.push(d.map(function(e){return a._createCellForYear(e)})),d=[]);this._changeDetectorRef.markForCheck()};g._yearSelected=function(a){var b=a.value;a=IA(b,0,1);b=this._getDateFromYear(b);this.yearSelected.emit(a);this.selectedChange.emit(b)};
g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromYear(a.value);lA(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=GA(this._activeDate,c?1:-1);break;case 39:this.activeDate=GA(this._activeDate,c?-1:1);break;case 38:this.activeDate=GA(this._activeDate,-4);break;case 40:this.activeDate=GA(this._activeDate,4);break;case 36:this.activeDate=GA(this._activeDate,-Ki(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=GA(this._activeDate,24-Ki(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=GA(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=GA(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}lA(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:a}),this._selectionKeyPressed=!1};g._getActiveCell=function(){return Ki(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getDateFromYear=function(a){var b=this._dateAdapter.getMonth(this.activeDate);var c=IA(a,b,1);c=vJb(c);return IA(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=IA(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new sJb(a,c,c,this._shouldEnableYear(a),b)};
g._shouldEnableYear=function(a){if(void 0===a||null===a||this.maxDate&&a>this._dateAdapter.getYear(this.maxDate)||this.minDate&&a<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var b=IA(a,0,1);this._dateAdapter.getYear(b)==a;b=FA(b,1))if(this.dateFilter(b))return!0;return!1};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
Ei.Object.defineProperties(JA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=jA(this._dateAdapter,kA(this._dateAdapter,a))||new sp;this._activeDate=SIb(this._dateAdapter,a,this.minDate,this.maxDate);Vla(this._dateAdapter,b,this._activeDate,this.minDate,this.maxDate)||this._init()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=jA(this._dateAdapter,kA(this._dateAdapter,
a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=jA(this._dateAdapter,kA(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=jA(this._dateAdapter,kA(this._dateAdapter,a))}}});JA.\u0275fac=function(a){return new (a||JA)(A(Vw),A(hA,8),A(Bz,8))};
JA.\u0275cmp=r({type:JA,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&Sg(DA,5);if(a&2){var c;Rg(c=Ug())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden",
"true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),F(3,"th",2),E()(),D(4,"tbody",3),K("selectedValueChange",function(c){return b._yearSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",
function(c){return b._handleCalendarBodyKeydown(c)}),E()());a&2&&(z(4),C("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[DA],encapsulation:2,changeDetection:0});var KA=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=T.Subscription.EMPTY;this.selectedChange=new vw;this.monthSelected=new vw;this.activeDateChange=new vw;this._activeDate=new sp};g=KA.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Pf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=IA(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(b);a=this._getDateFromMonth(a);this.selectedChange.emit(a)};g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromMonth(a.value);lA(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=HA(this._activeDate,c?1:-1);break;case 39:this.activeDate=HA(this._activeDate,c?-1:1);break;case 38:this.activeDate=HA(this._activeDate,-4);break;case 40:this.activeDate=HA(this._activeDate,4);break;case 36:this.activeDate=HA(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=HA(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=GA(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=GA(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}lA(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:a}),this._selectionKeyPressed=!1};
g._init=function(){var a=this;this._setSelectedMonth(this.selected);this._todayMonth=this._getMonthInCurrentYear(new sp);this._yearLabel=""+this.activeDate.getFullYear();var b=this._dateAdapter.locale.SHORTMONTHS;this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(c){return c.map(function(d){return a._createCellForMonth(d,b[d])})});this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getMonthInCurrentYear=function(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null};g._getDateFromMonth=function(a){var b=IA(this._dateAdapter.getYear(this.activeDate),a,1);b=vJb(b);return IA(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=IA(this._dateAdapter.getYear(this.activeDate),a,1),d=this._dateAdapter.format(c,this._dateFormats.display.monthYearA11yLabel);c=this.dateClass?this.dateClass(c,"year"):void 0;return new sJb(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
g._shouldEnableMonth=function(a){var b=this._dateAdapter.getYear(this.activeDate);if(void 0===a||null===a||this._isYearAndMonthAfterMaxDate(b,a)||this._isYearAndMonthBeforeMinDate(b,a))return!1;if(!this.dateFilter)return!0;for(b=IA(b,a,1);this._dateAdapter.getMonth(b)==a;b=FA(b,1))if(this.dateFilter(b))return!0;return!1};g._isYearAndMonthAfterMaxDate=function(a,b){if(this.maxDate){var c=this._dateAdapter.getYear(this.maxDate),d=this._dateAdapter.getMonth(this.maxDate);return a>c||a===c&&b>d}return!1};
g._isYearAndMonthBeforeMinDate=function(a,b){if(this.minDate){var c=this._dateAdapter.getYear(this.minDate),d=this._dateAdapter.getMonth(this.minDate);return a<c||a===c&&b<d}return!1};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
Ei.Object.defineProperties(KA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=jA(this._dateAdapter,kA(this._dateAdapter,a))||new sp;this._activeDate=SIb(this._dateAdapter,a,this.minDate,this.maxDate);this._dateAdapter.getYear(b)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=jA(this._dateAdapter,
kA(this._dateAdapter,a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=jA(this._dateAdapter,kA(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=jA(this._dateAdapter,kA(this._dateAdapter,a))}}});KA.\u0275fac=function(a){return new (a||KA)(A(Vw),A(mA,8),A(hA,8),A(Bz,8))};
KA.\u0275cmp=r({type:KA,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&Sg(DA,5);if(a&2){var c;Rg(c=Ug())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",
1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),F(3,"th",2),E()(),D(4,"tbody",3),K("selectedValueChange",function(c){return b._monthSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",
function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),E()());a&2&&(z(4),C("label",b._yearLabel)("rows",b._months)("todayValue",b._todayMonth)("startValue",b._selectedMonth)("endValue",b._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._dateAdapter.getMonth(b.activeDate)))},dependencies:[DA],encapsulation:2,changeDetection:0});var yJb=1,LA=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+yJb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
LA.prototype._isSameView=function(a,b){return"month"==this.calendar.currentView?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b)&&this._dateAdapter.getMonth(a)==this._dateAdapter.getMonth(b):"year"==this.calendar.currentView?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b):Vla(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
LA.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-Ki(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+IA(a,0,1).getFullYear();b=""+IA(b,0,1).getFullYear();return[a,b]};
Ei.Object.defineProperties(LA.prototype,{periodButtonText:{configurable:!0,enumerable:!0,get:function(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRange.apply(this._intl,p(this._formatMinAndMaxYearLabels()))}},periodButtonDescription:{configurable:!0,enumerable:!0,get:function(){return"month"==
this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRangeLabel.apply(this._intl,p(this._formatMinAndMaxYearLabels()))}},periodButtonLabel:{configurable:!0,enumerable:!0,get:function(){return"month"==this.calendar.currentView?"Choose month and year":"Choose date"}},prevButtonLabel:{configurable:!0,enumerable:!0,get:function(){return{month:"Previous month",
year:"Previous year","multi-year":"Previous 24 years"}[this.calendar.currentView]}},nextButtonLabel:{configurable:!0,enumerable:!0,get:function(){return{month:"Next month",year:"Next year","multi-year":"Next 24 years"}[this.calendar.currentView]}}});LA.\u0275fac=function(a){return new (a||LA)(A(CA),A(Nc(function(){return MA})),A(hA,8),A(mA,8),A(Vw))};
LA.\u0275cmp=r({type:LA,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:["*"],decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",
3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(a,b){a&1&&(wg(),D(0,"div",0)(1,"div",1)(2,"button",2),K("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),D(3,"span",3),P(4),E(),yd(),D(5,"svg",4),F(6,"polygon",5),E()(),zd(),F(7,"div",6),xg(8),D(9,"button",7),K("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?
HA(b.calendar.activeDate,-1):GA(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),E(),D(10,"button",8),K("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?HA(b.calendar.activeDate,1):GA(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),E()()(),D(11,"label",9),P(12),E());a&2&&(z(2),dg("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),z(2),Bg(b.periodButtonText),z(1),pg("mat-calendar-invert","month"!==b.calendar.currentView),
z(4),C("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),dg("aria-label",b.prevButtonLabel),z(1),C("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),dg("aria-label",b.nextButtonLabel),z(1),C("id",b._periodButtonLabelId),z(1),Bg(b.periodButtonDescription))},dependencies:[xA,zA],encapsulation:2,changeDetection:0});
var MA=function(a,b,c,d){var e=this;this._dateAdapter=b;this._dateFormats=c;this._changeDetectorRef=d;this._moveFocusOnNextTick=!1;this.startView="month";this.selectedChange=new vw;this.yearSelected=new vw;this.monthSelected=new vw;this.viewChanged=new vw(!0);this._userSelection=new vw;this._userDragDrop=new vw;this._activeDrag=null;this.stateChanges=new T.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};g=MA.prototype;
g.ngAfterContentInit=function(){this._calendarHeaderPortal=new py(this.headerComponent||LA);this.activeDate=this.startAt||new sp;this._currentView=this.startView};g.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this._getCurrentViewComponent()._focusActiveCell(!1))};g.ngOnDestroy=function(){this._intlChanges.unsubscribe();this.stateChanges.complete()};
g.ngOnChanges=function(a){var b=a.minDate&&!this._dateAdapter.sameDate(a.minDate.previousValue,a.minDate.currentValue)?a.minDate:void 0,c=a.maxDate&&!this._dateAdapter.sameDate(a.maxDate.previousValue,a.maxDate.currentValue)?a.maxDate:void 0;(a=b||c||a.dateFilter)&&!a.firstChange&&(a=this._getCurrentViewComponent())&&(this._changeDetectorRef.detectChanges(),a._init());this.stateChanges.next()};
g._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};g._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};g._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};g._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};g._dragStarted=function(a){this._activeDrag=a};g._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
g._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
Ei.Object.defineProperties(MA.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=jA(this._dateAdapter,kA(this._dateAdapter,a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=jA(this._dateAdapter,kA(this._dateAdapter,a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=jA(this._dateAdapter,kA(this._dateAdapter,a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=jA(this._dateAdapter,kA(this._dateAdapter,a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=SIb(this._dateAdapter,a,this.minDate,this.maxDate);this.stateChanges.next();this._changeDetectorRef.markForCheck()}},currentView:{configurable:!0,enumerable:!0,get:function(){return this._currentView},set:function(a){var b=
this._currentView!==a?a:null;this._currentView=a;this._moveFocusOnNextTick=!0;this._changeDetectorRef.markForCheck();b&&this.viewChanged.emit(b)}}});MA.\u0275fac=function(a){return new (a||MA)(A(CA),A(hA,8),A(mA,8),A(Vw))};
MA.\u0275cmp=r({type:MA,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(Sg(EA,5),Sg(KA,5),Sg(JA,5));if(a&2){var c;Rg(c=Ug())&&(b.monthView=c.first);Rg(c=Ug())&&(b.yearView=c.first);Rg(c=Ug())&&(b.multiYearView=c.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",
startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Dg([rJb]),md],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter",
"maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate",
"selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(a,b){a&1&&(O(0,Wla,
0,0,"ng-template",0),D(1,"div",1),O(2,Xla,1,11,"mat-month-view",2),O(3,Yla,1,6,"mat-year-view",3),O(4,Zla,1,6,"mat-multi-year-view",4),E());a&2&&(C("cdkPortalOutlet",b._calendarHeaderPortal),z(1),C("ngSwitch",b.currentView),z(1),C("ngSwitchCase","month"),z(1),C("ngSwitchCase","year"),z(1),C("ngSwitchCase","multi-year"))},dependencies:[cx,dx,ny,uy,EA,KA,JA],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}\n'],
encapsulation:2,changeDetection:0});var zJb=["mat-button",""],AJb=["*"],BJb=function(){return".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"},
CJb="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),DJb=Fi(Hi(Gi(function(a){this._elementRef=a}))),NA=function(a,b,c){var d=DJb.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=m(CJb),f=e.next();!f.done;f=e.next())f=f.value,d._hasHostAttributes(f)&&d._getHostElement().classList.add(f);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};X(NA,DJb);g=NA.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?my(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b)};g._getHostElement=function(){return this._elementRef.nativeElement};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};
g._hasHostAttributes=function(){var a=this;return bd.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};NA.\u0275fac=function(a){return new (a||NA)(A(Yd),A(ly),A(Ov,8))};
NA.\u0275cmp=r({type:NA,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(a,b){a&1&&Sg(qA,5);if(a&2){var c;Rg(c=Ug())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(a,b){a&2&&(dg("disabled",b.disabled||null),pg("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[$f],attrs:zJb,ngContentSelectors:AJb,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(a,b){a&1&&(wg(),D(0,"span",0),xg(1),E(),F(2,"span",1)(3,"span",2));a&2&&(z(2),pg("mat-button-ripple-round",b.isRoundButton||b.isIconButton),C("matRippleDisabled",
b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[qA],styles:[BJb()],encapsulation:2,changeDetection:0});var OA=function(a,b,c,d){var e=NA.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())};return e};X(OA,NA);
OA.prototype.ngAfterViewInit=function(){var a=this;NA.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};OA.prototype.ngOnDestroy=function(){NA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
OA.\u0275fac=function(a){return new (a||OA)(A(ly),A(Yd),A(Ov,8),A(Yf,8))};
OA.\u0275cmp=r({type:OA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(a,b){a&2&&(dg("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString()),pg("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",b.disabled))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[$f],attrs:zJb,ngContentSelectors:AJb,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(a,b){a&1&&(wg(),D(0,"span",0),xg(1),E(),F(2,"span",1)(3,"span",2));a&2&&(z(2),pg("mat-button-ripple-round",b.isRoundButton||b.isIconButton),
C("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[qA],styles:[BJb()],encapsulation:2,changeDetection:0});var PA=function(a,b,c,d){return sA.call(this,a,b,c,d)||this};X(PA,sA);PA.\u0275fac=function(a){return new (a||PA)(A(Yd),A(Vw),A(TIb,8),A(UIb,8))};
PA.\u0275cmp=r({type:PA,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(a,b){a&1&&K("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(ug("id",b.id),dg("tabindex",b._getTabIndex())("aria-selected",b._getAriaSelected())("aria-disabled",b.disabled.toString()),pg("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",
b.disabled))},exportAs:["matOption"],features:[$f],ngContentSelectors:["*"],decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(a,b){a&1&&(wg(),O(0,$la,1,2,"mat-pseudo-checkbox",0),D(1,"span",1,2),xg(3),E(),
O(4,ama,2,1,"span",3),F(5,"div",4));a&2&&(C("ngIf",b.multiple),z(4),C("ngIf",b.group&&b.group._inert),z(1),C("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[qA,bx,rA],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n'],
encapsulation:2,changeDetection:0});var QA=function(){};QA.\u0275fac=function(a){return new (a||QA)};QA.\u0275mod=fd({type:QA});QA.\u0275inj=Qc({imports:[tA,px,gA,uA]});var EJb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},FJb=$h("dialogContainer",[ci("void, exit",bi({opacity:0,transform:"scale(0.7)"})),ci("enter",bi({transform:"none"})),di("* => enter",{type:3,steps:[ai("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",bi({transform:"none",opacity:1})),fi("@*",ei())],options:null},EJb),di("* => void, * => exit",{type:3,steps:[ai("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",bi({opacity:0})),fi("@*",ei())],options:null},
EJb)]);var RA=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.maxWidth="80vw";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnNavigation=this.delayFocusTrap=this.restoreFocus=!0};var GJb=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnOverlayDetachments=this.closeOnDestroy=this.closeOnNavigation=this.restoreFocus=!0};var SA=function(a,b,c,d,e,f,h,l){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=f;this._overlayRef=h;this._focusMonitor=l;this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=null;this._ariaLabelledBy=this._config.ariaLabelledBy||null;this._document=c};X(SA,ry);g=SA.prototype;g._contentAttached=function(){this._initializeFocusTrap();this._handleBackdropClicks();this._captureInitialFocus()};
g._captureInitialFocus=function(){this._trapFocus()};g.ngOnDestroy=function(){this._restoreFocus()};g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};g._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._trapFocus=function(){var a=this,b=this._elementRef.nativeElement;switch(this._config.autoFocus){case !1:case "dialog":this._containsFocus()||b.focus();break;case !0:case "first-tabbable":oGb(this._focusTrap).then(function(c){c||a._focusDialogContainer()});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}};
g._restoreFocus=function(){var a=this._config.restoreFocus,b=null;"string"===typeof a?b=this._document.querySelector(a):"boolean"===typeof a?b=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(b=a);if(this._config.restoreFocus&&b&&"function"===typeof b.focus){a=Hh();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(my(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
g._focusDialogContainer=function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=Hh();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._document&&(this._elementFocusedBeforeDialogWasOpened=Hh())};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};SA.\u0275fac=function(a){return new (a||SA)(A(Yd),A(hy),A(Ci,8),A(GJb),A(dy),A(Yf),A(Wz),A(ly))};
SA.\u0275cmp=r({type:SA,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&Sg(uy,7);if(a&2){var c;Rg(c=Ug())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&dg("id",b._config.id||null)("role",b._config.role)("aria-modal",b._config.ariaModal)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledBy)("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null)},features:[$f],decls:1,
vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&O(0,bma,0,0,"ng-template",0)},dependencies:[uy],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var HJb=new Ud("DialogScrollStrategy"),IJb=new Ud("DialogData"),JJb=new Ud("DefaultDialogConfig"),KJb={provide:HJb,deps:[cA],useFactory:function(a){return function(){return a.scrollStrategies.block()}}};var LJb=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new T.Subject;this.disableClose=b.disableClose;this.backdropClick=a.backdropClick();this.keydownEvents=a.keydownEvents();this.outsidePointerEvents=a.outsidePointerEvents();this.id=b.id;this.keydownEvents.subscribe(function(d){27!==d.keyCode||c.disableClose||Qh(d)||(d.preventDefault(),c.close(void 0,{focusOrigin:"keyboard"}))});this.backdropClick.subscribe(function(){c.disableClose||c.close(void 0,{focusOrigin:"mouse"})});
this._detachSubscription=a._detachments.subscribe(function(){!1!==b.closeOnOverlayDetachments&&c.close()})};g=LJb.prototype;g.close=function(a,b){if(this.containerInstance){var c=this.closed;this.containerInstance._closeInteractionType=(null==b?void 0:b.focusOrigin)||"program";this._detachSubscription.unsubscribe();this.overlayRef.dispose();c.next(a);c.complete();this.componentInstance=this.containerInstance=null}};g.updatePosition=function(){this.overlayRef.updatePosition()};
g.updateSize=function(a,b){this.overlayRef.updateSize({width:void 0===a?"":a,height:void 0===b?"":b})};g.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};g.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};var MJb=0,TA=function(a,b,c,d,e,f){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new T.Subject;this._afterOpenedAtThisLevel=new T.Subject;this._ariaHiddenElements=new Map;(0,T.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(Pf(void 0))});this._scrollStrategy=f};g=TA.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new GJb,b);b.id=b.id||"cdk-dialog-"+MJb++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new LJb(d,b);d=this._attachContainer(d,e,b);e.containerInstance=d;this._attachDialogContent(a,e,d,b);this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology();this.openDialogs.push(e);e.closed.subscribe(function(){return c._removeOpenDialog(e,!0)});this.afterOpened.next(e);
return e};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){var a=this;cma(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});cma(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new Vz({positionStrategy:a.positionStrategy||MIb(LIb(this._overlay.position().global())),scrollStrategy:a.scrollStrategy||this._scrollStrategy(),panelClass:a.panelClass,hasBackdrop:a.hasBackdrop,direction:a.direction,minWidth:a.minWidth,minHeight:a.minHeight,maxWidth:a.maxWidth,maxHeight:a.maxHeight,width:a.width,height:a.height,disposeOnNavigation:a.closeOnNavigation});a.backdropClass&&(b.backdropClass=a.backdropClass);return b};
g._attachContainer=function(a,b,c){var d,e=c.injector||(null==(d=c.viewContainerRef)?void 0:d.injector);b=[{provide:GJb,useValue:c},{provide:LJb,useValue:b},{provide:Wz,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,p(c.container.providers(c)))):d=SA;c=new py(d,c.viewContainerRef,Wf({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof Og){var e=this._createInjector(d,b,c,void 0);b={$implicit:d.data,dialogRef:b};d.templateContext&&(b=Object.assign({},b,"function"===typeof d.templateContext?d.templateContext():d.templateContext));c.attachTemplatePortal(new qy(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new py(a,d.viewContainerRef,e,d.componentFactoryResolver)),b.componentInstance=a.instance};
g._createInjector=function(a,b,c,d){var e,f=a.injector||(null==(e=a.viewContainerRef)?void 0:e.injector);e=[{provide:IJb,useValue:a.data},{provide:LJb,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,p(a.providers(b,a,c))):e.push.apply(e,p(a.providers)));!a.direction||f&&f.get(Bz,null,{optional:!0})||e.push({provide:Bz,useValue:{value:a.direction,change:(0,T.of)()}});return Wf({parent:f||d,providers:e})};
g._removeOpenDialog=function(a,b){a=this.openDialogs.indexOf(a);-1<a&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(c,d){c?d.setAttribute("aria-hidden",c):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),b&&this._getAfterAllClosed().next()))};
g._hideNonDialogContentFromAssistiveTechnology=function(){var a=rIb(this._overlayContainer);if(a.parentElement)for(var b=a.parentElement.children,c=b.length-1;-1<c;c--){var d=b[c];d===a||"SCRIPT"===d.nodeName||"STYLE"===d.nodeName||d.hasAttribute("aria-live")||(this._ariaHiddenElements.set(d,d.getAttribute("aria-hidden")),d.setAttribute("aria-hidden","true"))}};g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
Ei.Object.defineProperties(TA.prototype,{openDialogs:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},afterOpened:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}}});TA.\u0275fac=function(a){return new (a||TA)(n(cA),n(Fv),n(JJb,8),n(TA,12),n(Gz),n(HJb))};TA.\u0275prov=Pc({token:TA,factory:TA.\u0275fac});var UA=function(){};UA.\u0275fac=function(a){return new (a||UA)};UA.\u0275mod=fd({type:UA});UA.\u0275inj=Qc({providers:[TA,KJb],imports:[fA,vy,nz,vy]});var VA=function(a,b,c,d,e,f,h,l){SA.call(this,a,b,c,d,e,f,h,l);this._animationStateChanged=new vw};X(VA,SA);VA.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};VA.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};VA.\u0275fac=function(a){return new (a||VA)(A(Yd),A(hy),A(Ci,8),A(RA),A(dy),A(Yf),A(Wz),A(ly))};
VA.\u0275cmp=r({type:VA,selectors:[["ng-component"]],features:[$f],decls:0,vars:0,template:function(){},encapsulation:2});var WA=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new T.Subject;this._beforeClosed=new T.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(sf(function(e){return"opened"===e.state}),Ef()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(sf(function(e){return"closed"===e.state}),Ef()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);d._finishDialogClose()});
a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,T.merge)(this.backdropClick(),this.keydownEvents().pipe(sf(function(e){return 27===e.keyCode&&!d.disableClose&&!Qh(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};
WA.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(sf(function(c){return"closing"===c.state}),Ef()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();BIb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};WA.prototype.afterOpened=function(){return this._afterOpened};var XA=function(a){return a._ref.closed};
g=WA.prototype;g.backdropClick=function(){return this._ref.backdropClick};g.keydownEvents=function(){return this._ref.keydownEvents};g.updatePosition=function(a){var b=this._ref.config.positionStrategy;a&&(a.left||a.right)?a.left?b.left(a.left):b.right(a.right):LIb(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):MIb(b);this._ref.updatePosition()};g.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};g.addPanelClass=function(a){this._ref.addPanelClass(a)};
g.removePanelClass=function(a){this._ref.removePanelClass(a)};g.getState=function(){return this._state};g._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};new Ud("MatMdcDialogData");new Ud("mat-mdc-dialog-default-options");new Ud("mat-mdc-dialog-scroll-strategy");
var NJb=0,YA=function(a,b,c,d,e,f,h,l,q){var u=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=l;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new T.Subject;this._afterOpenedAtThisLevel=new T.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=RA;(0,T.defer)(function(){return u.openDialogs.length?u._getAfterAllClosed():u._getAfterAllClosed().pipe(Pf(void 0))});this._scrollStrategy=
f;this._dialog=b.get(TA)};g=YA.prototype;g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
g.open=function(a,b){var c=this,d;b=Object.assign({},this._defaultOptions||new RA,b);b.id=b.id||"mat-dialog-"+NJb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:MIb(LIb(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:GJb,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var l;d.updatePosition(null==(l=b)?void 0:l.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);XA(d).subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,1),c.openDialogs.length||c._getAfterAllClosed().next())});return d};
g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};g._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
Ei.Object.defineProperties(YA.prototype,{openDialogs:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},afterOpened:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}}});YA.\u0275fac=function(){be()};YA.\u0275prov=Pc({token:YA,factory:YA.\u0275fac});var ZA=function(){WA.apply(this,arguments)};X(ZA,WA);var OJb=function(){RA.apply(this,arguments);this.enterAnimationDuration=EJb.params.enterAnimationDuration;this.exitAnimationDuration=EJb.params.exitAnimationDuration};X(OJb,RA);var $A=function(a,b,c,d,e,f,h,l,q){VA.call(this,a,b,c,d,e,f,h,q);this._changeDetectorRef=l;this._state="enter"};X($A,VA);$A.prototype._onAnimationDone=function(a){var b=a.toState;a=a.totalTime;"enter"===b?this._openAnimationDone(a):"exit"===b&&this._animationStateChanged.next({state:"closed",totalTime:a})};
$A.prototype._onAnimationStart=function(a){var b=a.toState;a=a.totalTime;"enter"===b?this._animationStateChanged.next({state:"opening",totalTime:a}):("exit"===b||"void"===b)&&this._animationStateChanged.next({state:"closing",totalTime:a})};$A.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
$A.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};$A.\u0275fac=function(a){return new (a||$A)(A(Yd),A(hy),A(Ci,8),A(OJb),A(dy),A(Yf),A(Wz),A(Vw),A(ly))};
$A.\u0275cmp=r({type:$A,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(a,b){a&1&&nia("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(ug("id",b._config.id),dg("aria-modal",b._config.ariaModal)("role",b._config.role)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledBy)("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||
null),vg("@dialogContainer",b._getAnimationState()))},features:[$f],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&O(0,dma,0,0,"ng-template",0)},dependencies:[uy],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],
encapsulation:2,data:{animation:[FJb]}});var aB=new Ud("MatDialogData"),PJb=new Ud("mat-dialog-default-options"),QJb=new Ud("mat-dialog-scroll-strategy"),RJb={provide:QJb,deps:[cA],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},bB=function(a,b,c,d,e,f,h,l){YA.call(this,a,b,d,f,h,e,ZA,$A,aB,l);this.dialogConfigClass=OJb};X(bB,YA);bB.\u0275fac=function(a){return new (a||bB)(n(cA),n(Fv),n(xx,8),n(PJb,8),n(QJb),n(bB,12),n(Gz),n(Ov,8))};bB.\u0275prov=Pc({token:bB,factory:bB.\u0275fac});var SJb=0,cB=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};cB.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=ema(this._elementRef,this._dialog.openDialogs))};cB.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};cB.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
cB.\u0275fac=function(a){return new (a||cB)(A(ZA,8),A(Yd),A(bB))};cB.\u0275dir=r({type:cB,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&K("click",function(c){return b._onButtonClick(c)});a&2&&dg("aria-label",b.ariaLabel||null)("type",b.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[md]});
var dB=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+SJb++};dB.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=ema(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b=a._dialogRef._containerInstance;b&&!b._ariaLabelledBy&&(b._ariaLabelledBy=a.id)})};dB.\u0275fac=function(a){return new (a||dB)(A(ZA,8),A(Yd),A(bB))};
dB.\u0275dir=r({type:dB,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&ug("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});var eB=function(){};eB.\u0275fac=function(a){return new (a||eB)};eB.\u0275dir=r({type:eB,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var fB=function(){this.align="start"};
fB.\u0275fac=function(a){return new (a||fB)};fB.\u0275dir=r({type:fB,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&pg("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var gB=function(){};gB.\u0275fac=function(a){return new (a||gB)};gB.\u0275mod=fd({type:gB});gB.\u0275inj=Qc({providers:[bB,RJb],imports:[UA,fA,vy,gA,gA]});var TJb=Dh({passive:!0}),hB=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
hB.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return T.EMPTY;var c=Mh(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new T.Subject,e=function(f){"cdk-text-field-autofill-start"!==f.animationName||c.classList.contains("cdk-text-field-autofilled")?"cdk-text-field-autofill-end"===f.animationName&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!1})})):
(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,TJb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,TJb)}});return d};
hB.prototype.stopMonitoring=function(a){a=Mh(a);var b=this._monitoredElements.get(a);b&&(b.unlisten(),b.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))};hB.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};hB.\u0275fac=function(a){return new (a||hB)(n(cy),n(Yf))};hB.\u0275prov=Pc({token:hB,factory:hB.\u0275fac,providedIn:"root"});var iB=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new T.Subject;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(f){e._hasFocus="focus"===f.type};this._document=d;this._textareaElement=this._elementRef.nativeElement};g=iB.prototype;g._setMinHeight=function(){var a=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.minHeight=a)};
g._setMaxHeight=function(){var a=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.maxHeight=a)};
g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,jB(this),this._ngZone.runOutsideAngular(function(){(0,T.fromEvent)(a._getWindow(),"resize").pipe(wf(16),Rf(a._destroyed)).subscribe(function(){return jB(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,jB(this,!0))};
g.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
g._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var a=this._textareaElement.cloneNode(!1);a.rows=1;a.style.position="absolute";a.style.visibility="hidden";a.style.border="none";a.style.padding="0";a.style.height="";a.style.minHeight="";a.style.maxHeight="";a.style.overflow="hidden";this._textareaElement.parentNode.appendChild(a);this._cachedLineHeight=a.clientHeight;a.remove();this._setMinHeight();this._setMaxHeight()}};
g._measureScrollHeight=function(){var a=this._textareaElement,b=a.style.marginBottom||"",c=this._platform.FIREFOX,d=c&&this._hasFocus;c=c?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";d&&(a.style.marginBottom=a.clientHeight+"px");a.classList.add(c);var e=a.scrollHeight-4;a.classList.remove(c);d&&(a.style.marginBottom=b);return e};
g._cacheTextareaPlaceholderHeight=function(){if(this._isViewInited&&void 0==this._cachedPlaceholderHeight)if(this.placeholder){var a=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder;this._cachedPlaceholderHeight=this._measureScrollHeight();this._textareaElement.value=a}else this._cachedPlaceholderHeight=0};g.ngDoCheck=function(){this._platform.isBrowser&&jB(this)};
var jB=function(a,b){b=void 0===b?!1:b;if(a._enabled&&(a._cacheTextareaLineHeight(),a._cacheTextareaPlaceholderHeight(),a._cachedLineHeight)){var c=a._elementRef.nativeElement,d=c.value;if(b||a._minRows!==a._previousMinRows||d!==a._previousValue)b=a._measureScrollHeight(),c.style.height=Math.max(b,a._cachedPlaceholderHeight||0)+"px",a._ngZone.runOutsideAngular(function(){"undefined"!==typeof requestAnimationFrame?requestAnimationFrame(function(){return a._scrollToCaretPosition(c)}):setTimeout(function(){return a._scrollToCaretPosition(c)})}),
a._previousValue=d,a._previousMinRows=a._minRows}};g=iB.prototype;g.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)};g._noopInputHandler=function(){};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};g._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
Ei.Object.defineProperties(iB.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=Nh(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=Nh(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){a=Kh(a);this._enabled!==a&&((this._enabled=a)?jB(this,!0):this.reset())}},placeholder:{configurable:!0,
enumerable:!0,get:function(){return this._textareaElement.placeholder},set:function(a){this._cachedPlaceholderHeight=void 0;a?this._textareaElement.setAttribute("placeholder",a):this._textareaElement.removeAttribute("placeholder");this._cacheTextareaPlaceholderHeight()}}});iB.\u0275fac=function(a){return new (a||iB)(A(Yd),A(cy),A(Yf),A(Ci,8))};
iB.\u0275dir=r({type:iB,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&K("input",function(){})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});var kB=function(){};kB.\u0275fac=function(a){return new (a||kB)};kB.\u0275mod=fd({type:kB});kB.\u0275inj=Qc({});var UJb=new Ud("MatError");var VJb=new Ud("MatPrefix");var WJb=new Ud("MatSuffix");var XJb=$h("transitionMessages",[ci("enter",bi({opacity:1,transform:"translateY(0%)"})),di("void => enter",[bi({opacity:0,transform:"translateY(-5px)"}),ai("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var lB=function(){};lB.\u0275fac=function(a){return new (a||lB)};lB.\u0275dir=r({type:lB});var mB=new Ud("MatFormField");new Ud("MAT_FORM_FIELD_DEFAULT_OPTIONS");var YJb=0,nB=function(a,b){this.id="mat-error-"+YJb++;a||b.nativeElement.setAttribute("aria-live","polite")};nB.\u0275fac=function(a){return new (a||nB)(Id("aria-live"),A(Yd))};nB.\u0275dir=r({type:nB,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&dg("id",b.id)},inputs:{id:"id"},features:[Dg([{provide:UJb,useExisting:nB}])]});var ZJb=new Ud("MatHint");var oB=function(){};oB.\u0275fac=function(a){return new (a||oB)};oB.\u0275dir=r({type:oB,selectors:[["mat-label"]]});var pB=function(){};pB.\u0275fac=function(a){return new (a||pB)};pB.\u0275dir=r({type:pB,selectors:[["mat-placeholder"]]});var $Jb=["connectionContainer"],aKb=["inputContainer"],bKb=["label"],cKb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],dKb=0,eKb=Fi(function(a){this._elementRef=a},"primary"),fKb=new Ud("MAT_FORM_FIELD_DEFAULT_OPTIONS"),qB=function(a,b,c,d,e,f,h){a=eKb.call(this,a)||this;a._changeDetectorRef=b;a._dir=c;a._defaults=d;a._platform=e;a._ngZone=f;a._outlineGapCalculationNeededImmediately=
!1;a._outlineGapCalculationNeededOnStable=!1;a._destroyed=new T.Subject;a._hideRequiredMarker=!1;a._showAlwaysAnimate=!1;a._subscriptAnimationState="";a._hintLabel="";a._hintLabelId="mat-hint-"+dKb++;a._labelId="mat-form-field-label-"+dKb++;a.floatLabel=a._getDefaultFloatLabelState();a._animationsEnabled="NoopAnimations"!==h;a.appearance=(null==d?void 0:d.appearance)||"legacy";d&&(a._hideRequiredMarker=!!d.hideRequiredMarker,d.color&&(a.color=a.defaultColor=d.color));return a};X(qB,eKb);g=qB.prototype;
g._shouldAlwaysFloat=function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate};g._canLabelFloat=function(){return"never"!==this.floatLabel};g.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};
g.ngAfterContentInit=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+b.controlType);b.stateChanges.pipe(Pf(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(Rf(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Rf(a._destroyed)).subscribe(function(){a._outlineGapCalculationNeededOnStable&&
Li(a)})});(0,T.merge)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._outlineGapCalculationNeededOnStable=!0;a._changeDetectorRef.markForCheck()});this._hintChildren.changes.pipe(Pf(null)).subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.pipe(Pf(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._dir&&this._dir.change.pipe(Rf(this._destroyed)).subscribe(function(){"function"===
typeof requestAnimationFrame?a._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return Li(a)})}):Li(a)})};g.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&Li(this)};g.ngAfterViewInit=function(){this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
g._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)};g._hasLabel=function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)};g._shouldLabelFloat=function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())};g._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()};
g._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()};g._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};
g._animateAndLockLabel=function(){var a=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,T.fromEvent)(this._label.nativeElement,"transitionend").pipe(Ef()).subscribe(function(){a._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())};g._validatePlaceholders=function(){};g._processHints=function(){this._syncDescribedByIds()};g._validateHints=function(){};
g._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||"auto"};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&"string"===typeof this._control.userAriaDescribedBy&&a.push.apply(a,p(this._control.userAriaDescribedBy.split(" ")));if("hint"===this._getDisplayedMessages()){var b=this._hintChildren?this._hintChildren.find(function(d){return"start"===d.align}):null,c=this._hintChildren?this._hintChildren.find(function(d){return"end"===d.align}):null;b?a.push(b.id):this._hintLabel&&a.push(this._hintLabelId);c&&a.push(c.id)}else this._errorChildren&&
a.push.apply(a,p(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};g._validateControlChild=function(){};
var Li=function(a){var b=a._label?a._label.nativeElement:null,c=a._connectionContainerRef.nativeElement;if("outline"===a.appearance&&a._platform.isBrowser)if(b&&b.children.length&&b.textContent.trim())if(a._isAttachedToDOM()){var d=0,e=0,f=c.querySelectorAll(".mat-form-field-outline-start"),h=c.querySelectorAll(".mat-form-field-outline-gap");if(a._label&&a._label.nativeElement.children.length){d=c.getBoundingClientRect();if(0===d.width&&0===d.height){a._outlineGapCalculationNeededOnStable=!0;a._outlineGapCalculationNeededImmediately=
!1;return}d=a._getStartEnd(d);e=b.children;c=a._getStartEnd(e[0].getBoundingClientRect());for(var l=b=0;l<e.length;l++)b+=e[l].offsetWidth;d=Math.abs(c-d)-5;e=0<b?.75*b+10:0}for(b=0;b<f.length;b++)f[b].style.width=d+"px";for(f=0;f<h.length;f++)h[f].style.width=e+"px";a._outlineGapCalculationNeededOnStable=a._outlineGapCalculationNeededImmediately=!1}else a._outlineGapCalculationNeededImmediately=!0;else for(a=c.querySelectorAll(".mat-form-field-outline-start, .mat-form-field-outline-gap"),h=0;h<a.length;h++)a[h].style.width=
"0"};qB.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};qB.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
Ei.Object.defineProperties(qB.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this._appearance},set:function(a){var b=this._appearance,c;this._appearance=a||(null==(c=this._defaults)?void 0:c.appearance)||"legacy";"outline"===this._appearance&&b!==a&&(this._outlineGapCalculationNeededOnStable=!0)}},hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=Kh(a)}},hintLabel:{configurable:!0,
enumerable:!0,get:function(){return this._hintLabel},set:function(a){this._hintLabel=a;this._processHints()}},floatLabel:{configurable:!0,enumerable:!0,get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(a){a!==this._floatLabel&&(this._floatLabel=a||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},_control:{configurable:!0,enumerable:!0,get:function(){return this._explicitFormFieldControl||this._controlNonStatic||
this._controlStatic},set:function(a){this._explicitFormFieldControl=a}}});qB.\u0275fac=function(a){return new (a||qB)(A(Yd),A(Vw),A(Bz,8),A(fKb,8),A(cy),A(Yf),A(Ov,8))};
qB.\u0275cmp=r({type:qB,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(Tg(c,lB,5),Tg(c,lB,7),Tg(c,oB,5),Tg(c,oB,7),Tg(c,pB,5),Tg(c,UJb,5),Tg(c,ZJb,5),Tg(c,VJb,5),Tg(c,WJb,5));if(a&2){var d;Rg(d=Ug())&&(b._controlNonStatic=d.first);Rg(d=Ug())&&(b._controlStatic=d.first);Rg(d=Ug())&&(b._labelChildNonStatic=d.first);Rg(d=Ug())&&(b._labelChildStatic=d.first);Rg(d=Ug())&&(b._placeholderChild=d.first);Rg(d=Ug())&&(b._errorChildren=d);Rg(d=Ug())&&(b._hintChildren=d);Rg(d=Ug())&&(b._prefixChildren=
d);Rg(d=Ug())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(Sg($Jb,7),Sg(aKb,5),Sg(bKb,5));if(a&2){var c;Rg(c=Ug())&&(b._connectionContainerRef=c.first);Rg(c=Ug())&&(b._inputContainerRef=c.first);Rg(c=Ug())&&(b._label=c.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(a,b){a&2&&pg("mat-form-field-appearance-standard","standard"==b.appearance)("mat-form-field-appearance-fill","fill"==b.appearance)("mat-form-field-appearance-outline","outline"==b.appearance)("mat-form-field-appearance-legacy",
"legacy"==b.appearance)("mat-form-field-invalid",b._control.errorState)("mat-form-field-can-float",b._canLabelFloat())("mat-form-field-should-float",b._shouldLabelFloat())("mat-form-field-has-label",b._hasFloatingLabel())("mat-form-field-hide-placeholder",b._hideControlPlaceholder())("mat-form-field-disabled",b._control.disabled)("mat-form-field-autofilled",b._control.autofilled)("mat-focused",b._control.focused)("ng-untouched",b._shouldForward("untouched"))("ng-touched",b._shouldForward("touched"))("ng-pristine",
b._shouldForward("pristine"))("ng-dirty",b._shouldForward("dirty"))("ng-valid",b._shouldForward("valid"))("ng-invalid",b._shouldForward("invalid"))("ng-pending",b._shouldForward("pending"))("_mat-animation-noopable",!b._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[Dg([{provide:mB,useExisting:qB}]),$f],ngContentSelectors:"* [matPrefix] mat-placeholder mat-label [matSuffix] mat-error mat-hint:not([align='end']) mat-hint[align='end']".split(" "),
decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",
4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled",
"id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(a,b){a&1&&(wg(cKb),D(0,"div",0)(1,"div",
1,2),K("click",function(c){return b._control.onContainerClick&&b._control.onContainerClick(c)}),O(3,fma,9,0,"ng-container",3),O(4,gma,2,1,"div",4),D(5,"div",5,6),xg(7),D(8,"span",7),O(9,kma,5,16,"label",8),E()(),O(10,lma,2,0,"div",9),E(),O(11,mma,2,4,"div",10),D(12,"div",11),O(13,nma,2,1,"div",12),O(14,pma,5,2,"div",13),E()());a&2&&(z(3),C("ngIf","outline"==b.appearance),z(1),C("ngIf",b._prefixChildren.length),z(5),C("ngIf",b._hasFloatingLabel()),z(1),C("ngIf",b._suffixChildren.length),z(1),C("ngIf",
"outline"!=b.appearance),z(1),C("ngSwitch",b._getDisplayedMessages()),z(1),C("ngSwitchCase","error"),z(1),C("ngSwitchCase","hint"))},dependencies:[bx,cx,dx,kz],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}\n",
'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n',
'.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',
".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",
".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",
".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],
encapsulation:2,data:{animation:[XJb]},changeDetection:0});var rB=function(){};rB.\u0275fac=function(a){return new (a||rB)};rB.\u0275mod=fd({type:rB});rB.\u0275inj=Qc({imports:[px,gA,lz,gA]});var gKb=new Ud("MAT_INPUT_VALUE_ACCESSOR");var hKb="button checkbox file hidden image radio range reset submit".split(" "),iKb=0,jKb=Cla(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new T.Subject}),sB=function(a,b,c,d,e,f,h,l,q,u){var x=jKb.call(this,f,d,e,c)||this;x._elementRef=a;x._platform=b;x._autofillMonitor=l;x._formField=u;x._uid="mat-input-"+iKb++;x.focused=!1;x.stateChanges=new T.Subject;x.controlType="mat-input";x.autofilled=!1;x._disabled=!1;x._type=
"text";x._readonly=!1;x._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(G){return aka().has(G)});x._iOSKeyupListener=function(G){G=G.target;G.value||0!==G.selectionStart||0!==G.selectionEnd||(G.setSelectionRange(1,1),G.setSelectionRange(0,0))};c=x._elementRef.nativeElement;var y=c.nodeName.toLowerCase();x._inputValueAccessor=h||c;x._previousNativeValue=x.value;x.id=x.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",x._iOSKeyupListener)});
x._isServer=!x._platform.isBrowser;x._isNativeSelect="select"===y;x._isTextarea="textarea"===y;x._isInFormField=!!u;x._isNativeSelect&&(x.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return x};X(sB,jKb);g=sB.prototype;g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};g.ngOnChanges=function(){this.stateChanges.next()};
g.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};
g.focus=function(a){this._elementRef.nativeElement.focus(a)};g._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};g._onInput=function(){};g._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
g._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};g._getPlaceholder=function(){return this.placeholder||null};g._validateType=function(){hKb.indexOf(this._type)};g._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)};
g._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};g.onContainerClick=function(){this.focused||this.focus()};g._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||1<a.size)};
Ei.Object.defineProperties(sB.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Kh(a);this.focused&&(this.focused=!1,this.stateChanges.next())}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=a||this._uid}},required:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return null!=(d=null!=(c=this._required)?c:null==(a=this.ngControl)?void 0:null==(b=a.control)?void 0:UFb(b))?d:!1},
set:function(a){this._required=Kh(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&aka().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},value:{configurable:!0,enumerable:!0,get:function(){return this._inputValueAccessor.value},set:function(a){a!==this.value&&(this._inputValueAccessor.value=a,this.stateChanges.next())}},readonly:{configurable:!0,enumerable:!0,get:function(){return this._readonly},
set:function(a){this._readonly=Kh(a)}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){if(this._isNativeSelect){var a=this._elementRef.nativeElement,b=a.options[0];return this.focused||a.multiple||!this.empty||!!(-1<a.selectedIndex&&b&&b.label)}return this.focused||!this.empty}}});
sB.\u0275fac=function(a){return new (a||sB)(A(Yd),A(cy),A(Cx,10),A(Jx,8),A(Sx,8),A(nA),A(gKb,10),A(hB),A(Yf),A(mB,8))};
sB.\u0275dir=r({type:sB,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(a,b){a&1&&K("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()});a&2&&(ug("id",b.id)("disabled",b.disabled)("required",b.required),dg("name",b.name||null)("readonly",
b.readonly&&!b._isNativeSelect||null)("aria-invalid",b.empty&&b.required?null:b.errorState)("aria-required",b.required)("id",b.id),pg("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("mdc-text-field__input",b._isInFormField)("mat-mdc-native-select-inline",b._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",
userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Dg([{provide:lB,useExisting:sB}]),$f,md]});var tB=function(){var a=sB.apply(this,arguments)||this;a._legacyFormField=Zc(mB,{optional:!0});return a};X(tB,sB);tB.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};tB.\u0275fac=function(){var a;return function(b){return(a||(a=Od(tB)))(b||tB)}}();
tB.\u0275dir=r({type:tB,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(a,b){a&2&&(dg("data-placeholder",b.placeholder),pg("mat-input-server",b._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",
!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",b._isInlineSelect()))},exportAs:["matInput"],features:[Dg([{provide:lB,useExisting:tB}]),$f]});var uB=function(){};uB.\u0275fac=function(a){return new (a||uB)};uB.\u0275mod=fd({type:uB});uB.\u0275inj=Qc({providers:[nA],imports:[kB,rB,gA,kB,rB]});var kKb={ERAS:["BC","AD"],ERANAMES:["Before Christ","Anno Domini"],NARROWMONTHS:"JFMAMJJASOND".split(""),STANDALONENARROWMONTHS:"JFMAMJJASOND".split(""),MONTHS:"January February March April May June July August September October November December".split(" "),STANDALONEMONTHS:"January February March April May June July August September October November December".split(" "),SHORTMONTHS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONESHORTMONTHS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
WEEKDAYS:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),STANDALONEWEEKDAYS:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTWEEKDAYS:"Sun Mon Tue Wed Thu Fri Sat".split(" "),STANDALONESHORTWEEKDAYS:"Sun Mon Tue Wed Thu Fri Sat".split(" "),NARROWWEEKDAYS:"SMTWTFS".split(""),STANDALONENARROWWEEKDAYS:"SMTWTFS".split(""),SHORTQUARTERS:["Q1","Q2","Q3","Q4"],QUARTERS:["1st quarter","2nd quarter","3rd quarter","4th quarter"],AMPMS:["AM","PM"],DATEFORMATS:["EEEE, MMMM d, y",
"MMMM d, y","MMM d, y","M/d/yy"],TIMEFORMATS:["h:mm:ss\u202fa zzzz","h:mm:ss\u202fa z","h:mm:ss\u202fa","h:mm\u202fa"],DATETIMEFORMATS:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],FIRSTDAYOFWEEK:6,WEEKENDRANGE:[5,6],FIRSTWEEKCUTOFFDAY:5},vB=kKb;vB=kKb;var lKb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),mKb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,nKb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,oKb=function(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31},pKb=function(a,b,c,d,e){a=new Date(a,b,c);d=void 0!==d?d:3;e=e||0;b=((a.getDay()+6)%7-e+7)%7;return a.valueOf()+864E5*((d-e+7)%7-b)},wB=function(a,b,c,d,e,f){"string"===
typeof a?(this.years="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.years=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};g=wB.prototype;
g.toIsoString=function(a){var b=Math.min(this.years,this.months,this.days,this.hours,this.minutes,this.seconds),c=Math.max(this.years,this.months,this.days,this.hours,this.minutes,this.seconds);if(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&c.push("-");c.push("P");(this.years||a)&&c.push(Math.abs(this.years)+"Y");(this.months||a)&&c.push(Math.abs(this.months)+"M");(this.days||a)&&c.push(Math.abs(this.days)+"D");if(this.hours||this.minutes||this.seconds||a)c.push("T"),(this.hours||
a)&&c.push(Math.abs(this.hours)+"H"),(this.minutes||a)&&c.push(Math.abs(this.minutes)+"M"),(this.seconds||a)&&c.push(Math.abs(this.seconds)+"S");return c.join("")};g.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};g.clone=function(){return new wB(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
g.isZero=function(){return 0==this.years&&0==this.months&&0==this.days&&0==this.hours&&0==this.minutes&&0==this.seconds};g.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
var jj=function(a,b,c){"number"===typeof a?(this.date=qKb(a,b||0,c||1),rKb(this,c||1)):Ta(a)?(this.date=qKb(a.getFullYear(),a.getMonth(),a.getDate()),rKb(this,a.getDate())):(this.date=new Date(Date.now()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),rKb(this,a))},qKb=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};g=jj.prototype;g.firstDayOfWeek_=vB.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=vB.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new jj(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};g.getFullYear=function(){return this.date.getFullYear()};g.getYear=function(){return this.getFullYear()};g.getMonth=function(){return this.date.getMonth()};g.getDate=function(){return this.date.getDate()};g.getTime=function(){return this.date.getTime()};g.getDay=function(){return this.date.getDay()};
g.getUTCFullYear=function(){return this.date.getUTCFullYear()};g.getUTCMonth=function(){return this.date.getUTCMonth()};g.getUTCDate=function(){return this.date.getUTCDate()};g.getUTCDay=function(){return this.date.getDay()};g.getUTCHours=function(){return this.date.getUTCHours()};g.getUTCMinutes=function(){return this.date.getUTCMinutes()};g.getFirstDayOfWeek=function(){return this.firstDayOfWeek_};var vJb=function(a){return oKb(a.getFullYear(),a.getMonth())};g=jj.prototype;
g.getDayOfYear=function(){for(var a=this.getDate(),b=this.getFullYear(),c=this.getMonth()-1;0<=c;c--)a+=oKb(b,c);return a};g.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};g.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};g.setFullYear=function(a){this.date.setFullYear(a)};g.setYear=function(a){this.setFullYear(a)};g.setMonth=function(a){this.date.setMonth(a)};g.setDate=function(a){this.date.setDate(a)};g.setTime=function(a){this.date.setTime(a)};
g.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};g.setUTCMonth=function(a){this.date.setUTCMonth(a)};g.setUTCDate=function(a){this.date.setUTCDate(a)};
g.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+12*a.years,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(oKb(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=0<=c&&99>=c?-1900:0,c=new Date(c,this.getMonth(),this.getDate(),12),a=new Date(c.getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),rKb(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+Av(Math.abs(b),c?6:4),Av(this.getMonth()+1,2),Av(this.getDate(),2)].join(a?"-":"")};g.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};g.toString=function(){return this.toIsoString()};var rKb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};jj.prototype.valueOf=function(){return this.date.valueOf()};
var sp=function(a,b,c,d,e,f,h){this.date="number"===typeof a?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};Gu(sp,jj);g=sp.prototype;g.getHours=function(){return this.date.getHours()};g.getMinutes=function(){return this.date.getMinutes()};g.getSeconds=function(){return this.date.getSeconds()};g.getMilliseconds=function(){return this.date.getMilliseconds()};g.getUTCDay=function(){return this.date.getUTCDay()};g.getUTCHours=function(){return this.date.getUTCHours()};
g.getUTCMinutes=function(){return this.date.getUTCMinutes()};g.getUTCSeconds=function(){return this.date.getUTCSeconds()};g.getUTCMilliseconds=function(){return this.date.getUTCMilliseconds()};g.setHours=function(a){this.date.setHours(a)};g.setMinutes=function(a){this.date.setMinutes(a)};g.setSeconds=function(a){this.date.setSeconds(a)};g.setMilliseconds=function(a){this.date.setMilliseconds(a)};g.setUTCHours=function(a){this.date.setUTCHours(a)};g.setUTCMinutes=function(a){this.date.setUTCMinutes(a)};
g.setUTCSeconds=function(a){this.date.setUTCSeconds(a)};g.setUTCMilliseconds=function(a){this.date.setUTCMilliseconds(a)};g.add=function(a){jj.prototype.add.call(this,a);a.hours&&this.setUTCHours(this.date.getUTCHours()+a.hours);a.minutes&&this.setUTCMinutes(this.date.getUTCMinutes()+a.minutes);a.seconds&&this.setUTCSeconds(this.date.getUTCSeconds()+a.seconds)};
g.toIsoString=function(a){var b=jj.prototype.toIsoString.call(this,a);return a?b+"T"+Av(this.getHours(),2)+":"+Av(this.getMinutes(),2)+":"+Av(this.getSeconds(),2):b+"T"+Av(this.getHours(),2)+Av(this.getMinutes(),2)+Av(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new sp(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var sKb=function(){},em=function(a){if("number"==typeof a){var b=new sKb;b.standardOffset_=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Av(c,2));c=d.join("")}b.timeZoneId_=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=tKb(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new sKb;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},tKb=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Av(Math.floor(a/60)%100,2),":",Av(a%60,2));return b.join("")},uKb=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c<a.transitions_.length&&b>=a.transitions_[c];)c+=2;return 0==c?0:a.transitions_[c-1]};
sKb.prototype.getOffset=function(a){a=this.standardOffset_-uKb(this,a);return-1440===a?0:a};var xB=function(a){this.patternParts_=[];this.dateTimeSymbols_=vB;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},vKb=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|b+|B+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEabBhKHcLQdmsvVwzZ]+/],yB=function(a){return a.getHours?a.getHours():0};
xB.prototype.applyPattern_=function(a){for(wKb&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<vKb.length;++c){var d=a.match(vKb[c]);if(d){var e=d[0];a=a.substring(e.length);0==c&&("''"==e?e="'":(e=e.substring(1,"'"==d[1]?e.length-1:e.length),e=e.replace(/''/g,"'")));this.patternParts_.push({text:e,type:c});break}}if(b===a)throw Error("ib`"+a);}};
xB.prototype.format=function(a,b){if(!a)throw Error("jb");var c=b?6E4*(a.getTimezoneOffset()-b.getOffset(a)):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var f=0;f<this.patternParts_.length;++f){var h=this.patternParts_[f].text;1==this.patternParts_[f].type?c.push(xKb(this,h,a,d,e,b)):c.push(h)}return c.join("")};
xB.prototype.applyStandardPattern_=function(a){if(4>a)var b=this.dateTimeSymbols_.DATEFORMATS[a];else if(8>a)b=this.dateTimeSymbols_.TIMEFORMATS[a-4];else if(12>a)b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]);else if(12===a)b=this.dateTimeSymbols_.DATEFORMATS[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{this.applyStandardPattern_(10);return}this.applyPattern_(b)};
var zB=function(a,b){return yKb(b,a.dateTimeSymbols_)},wKb=!1,yKb=function(a,b){a=String(a);b=b||vB;if(void 0===b.ZERODIGIT)return a;for(var c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);c.push(48<=e&&57>=e?String.fromCharCode(b.ZERODIGIT+e-48):a.charAt(d))}return c.join("")},AB=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("kb");},zKb=function(a,b){AB(b);b=yB(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},xKb=function(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=
0<d.getFullYear()?1:0,4<=h?a.dateTimeSymbols_.ERANAMES[c]:a.dateTimeSymbols_.ERAS[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),zB(a,Av(c,h));case "Y":return c=d.getMonth(),e=d.getDate(),c=pKb(d.getFullYear(),c,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),zB(a,Av(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.dateTimeSymbols_.NARROWMONTHS[c];break a;case 4:h=a.dateTimeSymbols_.MONTHS[c];
break a;case 3:h=a.dateTimeSymbols_.SHORTMONTHS[c];break a;default:h=zB(a,Av(c+1,h))}return h;case "k":return AB(e),c=yB(e)||24,zB(a,Av(c,h));case "S":return zB(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(3<h?Av(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return zKb(a,e);case "b":return zKb(a,e);case "B":return zKb(a,e);case "h":return AB(e),c=yB(e)%12||12,zB(a,Av(c,h));case "K":return AB(e),c=yB(e)%12,
zB(a,Av(c,h));case "H":return AB(e),c=yB(e),zB(a,Av(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.dateTimeSymbols_.STANDALONENARROWWEEKDAYS[c];break a;case 4:h=a.dateTimeSymbols_.STANDALONEWEEKDAYS[c];break a;case 3:h=a.dateTimeSymbols_.STANDALONESHORTWEEKDAYS[c];break a;default:h=zB(a,Av(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.dateTimeSymbols_.STANDALONENARROWMONTHS[c];break a;case 4:h=a.dateTimeSymbols_.STANDALONEMONTHS[c];break a;case 3:h=a.dateTimeSymbols_.STANDALONESHORTMONTHS[c];
break a;default:h=zB(a,Av(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.dateTimeSymbols_.SHORTQUARTERS[c]:a.dateTimeSymbols_.QUARTERS[c];case "d":return zB(a,Av(d.getDate(),h));case "m":return AB(e),zB(a,Av(e.getMinutes?e.getMinutes():0,h));case "s":return AB(e),zB(a,Av(e.getSeconds(),h));case "v":return(f||em(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||em(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<uKb(a,c)?void 0!==a.tzNamesExt_.DST_GENERIC_LOCATION?a.tzNamesExt_.DST_GENERIC_LOCATION:
a.tzNamesExt_.DST_GENERIC_LOCATION:void 0!==a.tzNamesExt_.STD_GENERIC_LOCATION?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=e.getMonth(),d=e.getDate(),c=pKb(e.getFullYear(),c,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),zB(a,Av(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||em(c.getTimezoneOffset()),4>h?a.tzNames_[0<uKb(a,c)?2:0]:a.tzNames_[0<uKb(a,c)?3:1];
case "Z":return d=f||em(c.getTimezoneOffset()),4>h?(h=-d.getOffset(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Av(Math.floor(h/60)%100,2),Av(h%60,2)),h=a.join("")):h=zB(a,tKb(d.getOffset(c))),h;default:return""}};var AKb={TOP_LEFT:0,TOP_RIGHT:1,BOTTOM_LEFT:2,BOTTOM_RIGHT:3,LEFT_TOP:4,LEFT_BOTTOM:5,RIGHT_TOP:6,RIGHT_BOTTOM:7,0:"TOP_LEFT",1:"TOP_RIGHT",2:"BOTTOM_LEFT",3:"BOTTOM_RIGHT",4:"LEFT_TOP",5:"LEFT_BOTTOM",6:"RIGHT_TOP",7:"RIGHT_BOTTOM"};var BKb=function(){},CKb=function(){};var BB=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?this.lazyInit="string"===typeof a?function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");if(0<d){var e=c.slice(0,d),f=e.toLowerCase();c=c.slice(d+1).trim();DKb(b,e,f);b.headers.has(f)?b.headers.get(f).push(c):b.headers.set(f,[c])}})}:function(){b.headers=new Map;Object.keys(a).forEach(function(c){var d=a[c],e=c.toLowerCase();"string"===typeof d&&(d=[d]);0<d.length&&(b.headers.set(e,d),DKb(b,
c,e))})}:this.headers=new Map};g=BB.prototype;g.has=function(a){this.init();return this.headers.has(a.toLowerCase())};g.get=function(a){this.init();return(a=this.headers.get(a.toLowerCase()))&&0<a.length?a[0]:null};g.keys=function(){this.init();return Array.from(this.normalizedNames.values())};g.getAll=function(a){this.init();return this.headers.get(a.toLowerCase())||null};g.append=function(a,b){return this.clone({name:a,value:b,op:"a"})};g.set=function(a,b){return this.clone({name:a,value:b,op:"s"})};
g.delete=function(a,b){return this.clone({name:a,value:b,op:"d"})};var DKb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};BB.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof BB?EKb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return FKb(a,b)}),this.lazyUpdate=null))};
var EKb=function(a,b){b.init();Array.from(b.headers.keys()).forEach(function(c){a.headers.set(c,b.headers.get(c));a.normalizedNames.set(c,b.normalizedNames.get(c))})};BB.prototype.clone=function(a){var b=new BB;b.lazyInit=this.lazyInit&&this.lazyInit instanceof BB?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var FKb=function(a,b){var c=b.name.toLowerCase();switch(b.op){case "a":case "s":var d=b.value;"string"===typeof d&&(d=[d]);if(0===d.length)break;DKb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,p(d));a.headers.set(c,b);break;case "d":var e=b.value;if(e){if(d=a.headers.get(c))d=d.filter(function(f){return-1===e.indexOf(f)}),0===d.length?(a.headers.delete(c),a.normalizedNames.delete(c)):a.headers.set(c,d)}else a.headers.delete(c),a.normalizedNames.delete(c)}};
BB.prototype.forEach=function(a){var b=this;this.init();Array.from(this.normalizedNames.keys()).forEach(function(c){return a(b.normalizedNames.get(c),b.headers.get(c))})};var GKb=function(){},rma=/%(\d[a-f0-9])/gi,sma={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},CB=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new GKb;if(a.fromString){if(a.fromObject)throw Error("lb");this.map=qma(a.fromString)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(function(c){var d=a.fromObject[c];d=Array.isArray(d)?d.map(uma):[""+d];b.map.set(c,d)})):this.map=null};g=CB.prototype;
g.has=function(a){this.init();return this.map.has(a)};g.get=function(a){this.init();return(a=this.map.get(a))?a[0]:null};g.getAll=function(a){this.init();return this.map.get(a)||null};g.keys=function(){this.init();return Array.from(this.map.keys())};g.append=function(a,b){return this.clone({param:a,value:b,op:"a"})};g.set=function(a,b){return this.clone({param:a,value:b,op:"s"})};g.delete=function(a,b){return this.clone({param:a,value:b,op:"d"})};
g.toString=function(){var a=this;this.init();return this.keys().map(function(b){var c=tma(b);return a.map.get(b).map(function(d){return c+"="+tma(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};g.clone=function(a){var b=new CB({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
g.init=function(){var a=this;null===this.map&&(this.map=new Map);null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(b){return a.map.set(b,a.cloneFrom.map.get(b))}),this.updates.forEach(function(b){switch(b.op){case "a":case "s":var c=("a"===b.op?a.map.get(b.param):void 0)||[];c.push(""+b.value);a.map.set(b.param,c);break;case "d":if(void 0!==b.value){c=a.map.get(b.param)||[];var d=c.indexOf(""+b.value);-1!==d&&c.splice(d,1);0<c.length?a.map.set(b.param,c):a.map.delete(b.param)}else a.map.delete(b.param)}}),
this.cloneFrom=this.updates=null)};var HKb=function(){this.map=new Map};g=HKb.prototype;g.set=function(a,b){this.map.set(a,b);return this};g.get=function(a){this.map.has(a)||this.map.set(a,a.defaultValue());return this.map.get(a)};g.delete=function(a){this.map.delete(a);return this};g.has=function(a){return this.map.has(a)};g.keys=function(){return this.map.keys()};var DB=function(a,b,c,d){this.url=b;this.body=null;this.withCredentials=this.reportProgress=!1;this.responseType="json";this.method=a.toUpperCase();a:switch(this.method){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":a=!1;break a;default:a=!0}if(a||d)this.body=void 0!==c?c:null,c=d;c&&(this.reportProgress=!!c.reportProgress,this.withCredentials=!!c.withCredentials,c.responseType&&(this.responseType=c.responseType),c.headers&&(this.headers=c.headers),c.context&&(this.context=c.context),
c.params&&(this.params=c.params));this.headers||(this.headers=new BB);this.context||(this.context=new HKb);this.params?(c=this.params.toString(),0===c.length?this.urlWithParams=b:(d=b.indexOf("?"),this.urlWithParams=b+(-1===d?"?":d<b.length-1?"&":"")+c)):(this.params=new CB,this.urlWithParams=b)},IKb=function(a){return null===a.body?null:vma(a.body)||wma(a.body)||xma(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===typeof a.body?a.body:a.body instanceof
CB?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
DB.prototype.clone=function(a){a=void 0===a?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e=void 0!==a.body?a.body:this.body,f=void 0!==a.withCredentials?a.withCredentials:this.withCredentials,h=void 0!==a.reportProgress?a.reportProgress:this.reportProgress,l=a.headers||this.headers,q=a.params||this.params,u,x=null!=(u=a.context)?u:this.context;void 0!==a.setHeaders&&(l=Object.keys(a.setHeaders).reduce(function(y,G){return y.set(G,a.setHeaders[G])},l));a.setParams&&
(q=Object.keys(a.setParams).reduce(function(y,G){return y.set(G,a.setParams[G])},q));return new DB(b,c,e,{params:q,headers:l,context:x,reportProgress:h,responseType:d,withCredentials:f})};var EB=function(a,b,c){this.headers=a.headers||new BB;this.status=void 0!==a.status?a.status:void 0===b?200:b;this.statusText=a.statusText||(void 0===c?"OK":c);this.url=a.url||null;this.ok=200<=this.status&&300>this.status},JKb=function(a){a=void 0===a?{}:a;EB.call(this,a);this.type=2};X(JKb,EB);
JKb.prototype.clone=function(a){a=void 0===a?{}:a;return new JKb({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};var FB=function(a){a=void 0===a?{}:a;EB.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};X(FB,EB);
FB.prototype.clone=function(a){a=void 0===a?{}:a;return new FB({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};
var KKb=function(a){EB.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=200<=this.status&&300>this.status?"Http failure during parsing for "+(a.url||"(unknown url)"):"Http failure response for "+(a.url||"(unknown url)")+": "+a.status+" "+a.statusText;this.error=a.error||null};X(KKb,EB);var GB=function(a){this.handler=a};g=GB.prototype;
g.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof DB)b=a;else{var e=void 0;e=c.headers instanceof BB?c.headers:new BB(c.headers);var f=void 0;c.params&&(f=c.params instanceof CB?c.params:new CB({fromObject:c.params}));b=new DB(a,b,void 0!==c.body?c.body:null,{headers:e,context:c.context,params:f,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials})}e=(0,T.of)(b).pipe(lf(function(h){return d.handler.handle(h)},1));if(a instanceof
DB||"events"===c.observe)return e;a=e.pipe(sf(function(h){return h instanceof FB}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(B(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("mb");return h.body}));case "blob":return a.pipe(B(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("nb");return h.body}));case "text":return a.pipe(B(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("ob");return h.body}));
default:return a.pipe(B(function(h){return h.body}))}case "response":return a;default:throw Error("pb`"+c.observe);}};g.delete=function(a,b){b=void 0===b?{}:b;return this.request("DELETE",a,b)};g.get=function(a,b){b=void 0===b?{}:b;return this.request("GET",a,b)};g.head=function(a,b){b=void 0===b?{}:b;return this.request("HEAD",a,b)};g.jsonp=function(a,b){return this.request("JSONP",a,{params:(new CB).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
g.options=function(a,b){b=void 0===b?{}:b;return this.request("OPTIONS",a,b)};g.patch=function(a,b,c){c=void 0===c?{}:c;return this.request("PATCH",a,yma(c,b))};g.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,yma(c,b))};g.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,yma(c,b))};GB.\u0275fac=function(a){return new (a||GB)(n(BKb))};GB.\u0275prov=Pc({token:GB,factory:GB.\u0275fac});var HB=new Ud("HTTP_INTERCEPTORS"),LKb=new Ud("HTTP_INTERCEPTOR_FNS"),IB=function(a,b){this.backend=a;this.injector=b;this.chain=null};X(IB,BKb);IB.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set(this.injector.get(LKb))).reduceRight(function(c,d){return Bma(c,d,b.injector)},zma));return this.chain(a,function(c){return b.backend.handle(c)})};IB.\u0275fac=function(a){return new (a||IB)(n(CKb),n(Ev))};IB.\u0275prov=Pc({token:IB,factory:IB.\u0275fac});var MKb=/^\)\]\}',?\n/,JB=function(a){this.xhrFactory=a};
JB.prototype.handle=function(a){var b=this;if("JSONP"===a.method)throw Error("qb");return new T.Observable(function(c){var d=b.xhrFactory.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(J,M){return d.setRequestHeader(J,M.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=null===a.body||xma(a.body)?null:wma(a.body)?a.body.type||null:vma(a.body)?
null:"string"===typeof a.body?"text/plain":a.body instanceof CB?"application/x-www-form-urlencoded;charset=UTF-8":"object"===typeof a.body||"number"===typeof a.body||"boolean"===typeof a.body?"application/json":null;null!==e&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType="json"!==e?e:"text");var f=IKb(a),h=null,l=function(){if(null!==h)return h;var J=d.statusText||"OK",M=new BB(d.getAllResponseHeaders()),V=("responseURL"in d&&d.responseURL?d.responseURL:
/^X-Request-URL:/m.test(d.getAllResponseHeaders())?d.getResponseHeader("X-Request-URL"):null)||a.url;return h=new JKb({headers:M,status:d.status,statusText:J,url:V})},q=function(){var J=l(),M=J.headers,V=J.status,U=J.statusText;J=J.url;var W=null;204!==V&&(W="undefined"===typeof d.response?d.responseText:d.response);0===V&&(V=W?200:0);var ba=200<=V&&300>V;if("json"===a.responseType&&"string"===typeof W){var pa=W;W=W.replace(MKb,"");try{W=""!==W?JSON.parse(W):null}catch(na){W=pa,ba&&(ba=!1,W={error:na,
text:W})}}ba?(c.next(new FB({body:W,headers:M,status:V,statusText:U,url:J||void 0})),c.complete()):c.error(new KKb({error:W,headers:M,status:V,statusText:U,url:J||void 0}))},u=function(J){var M=l().url;c.error(new KKb({error:J,status:d.status||0,statusText:d.statusText||"Unknown Error",url:M||void 0}))},x=!1,y=function(J){x||(c.next(l()),x=!0);var M={type:3,loaded:J.loaded};J.lengthComputable&&(M.total=J.total);"text"===a.responseType&&d.responseText&&(M.partialText=d.responseText);c.next(M)},G=function(J){var M=
{type:1,loaded:J.loaded};J.lengthComputable&&(M.total=J.total);c.next(M)};d.addEventListener("load",q);d.addEventListener("error",u);d.addEventListener("timeout",u);d.addEventListener("abort",u);a.reportProgress&&(d.addEventListener("progress",y),null!==f&&d.upload&&d.upload.addEventListener("progress",G));d.send(f);c.next({type:0});return function(){d.removeEventListener("error",u);d.removeEventListener("abort",u);d.removeEventListener("load",q);d.removeEventListener("timeout",u);a.reportProgress&&
(d.removeEventListener("progress",y),null!==f&&d.upload&&d.upload.removeEventListener("progress",G));d.readyState!==d.DONE&&d.abort()}})};JB.\u0275fac=function(a){return new (a||JB)(n(QFb))};JB.\u0275prov=Pc({token:JB,factory:JB.\u0275fac});var Cma=new Ud("XSRF_ENABLED"),NKb=new Ud("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),Ema=new Ud("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),Dma=function(){},KB=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
KB.prototype.getToken=function(){if("server"===this.platform)return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=m(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=m(-1==e?[d,""]:[d.slice(0,e),d.slice(e+1)]);d=e.next().value;e=e.next().value;if(d.trim()===b){b=decodeURIComponent(e);break a}}b=null}this.lastToken=b;this.lastCookieString=a}return this.lastToken};
KB.\u0275fac=function(a){return new (a||KB)(n(Ci),n(VDb),n(NKb))};KB.\u0275prov=Pc({token:KB,factory:KB.\u0275fac});var OKb=new Ud("LEGACY_INTERCEPTOR_FN");var PKb={cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"},QKb=PKb.cookieName,RKb=PKb.headerName,SKb=[];void 0!==QKb&&SKb.push({provide:NKb,useValue:QKb});void 0!==RKb&&SKb.push({provide:Ema,useValue:RKb});var LB=function(){};LB.\u0275fac=function(a){return new (a||LB)};LB.\u0275mod=fd({type:LB});
LB.\u0275inj=Qc({providers:[function(){for(var a=[GB,JB,IB,{provide:BKb,useExisting:IB},{provide:CKb,useExisting:JB},{provide:LKb,useValue:Fma,multi:!0},{provide:Cma,useValue:!0},{provide:Dma,useClass:KB}],b=m(bd.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,p(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:OKb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=Zc(HB,{optional:!0}))?d:[]).reduceRight(Ama,
zma)}return a(b,c)}}},{provide:LKb,useExisting:OKb,multi:!0}]})]});var Ni;var TKb=function(a,b){this.url=a;this.svgText=null;this.options=b},MB=function(a,b,c,d){this._httpClient=a;this._sanitizer=b;this._errorHandler=d;this._svgIconConfigs=new Map;this._iconSetConfigs=new Map;this._cachedIconsByUrl=new Map;this._inProgressUrlFetches=new Map;this._fontCssClassesByAlias=new Map;this._resolvers=[];this._defaultFontSetClass=["material-icons","mat-ligature-font"];this._document=c},NB=function(a,b,c){a._addSvgIconConfig("",b,new TKb(c))},UKb=function(a,b){return a._fontCssClassesByAlias.get(b)||
b};MB.prototype.setDefaultFontSetClass=function(){this._defaultFontSetClass=bd.apply(0,arguments)};var VKb=function(a,b,c){c=void 0===c?"":c;var d=c+":"+b,e=a._svgIconConfigs.get(d);return e?a._getSvgFromConfig(e):(e=a._getIconConfigFromResolvers(c,b))?(a._svgIconConfigs.set(d,e),a._getSvgFromConfig(e)):(c=a._iconSetConfigs.get(c))?a._getSvgFromIconSetConfigs(b,c):(0,T.throwError)(Error("rb`"+d))};g=MB.prototype;
g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};g._getSvgFromConfig=function(a){return a.svgText?(0,T.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(B(function(b){return b.cloneNode(!0)}))};
g._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,T.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(yf(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return(0,T.of)(null)}))});return(0,T.forkJoin)(d).pipe(B(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("rb`"+a);return e}))};
g._extractIconWithNameFromAnySet=function(a,b){for(var c=b.length-1;0<=c;c--){var d=b[c];if(d.svgText&&-1<d.svgText.toString().indexOf(a)){var e=this._svgElementFromConfig(d);if(d=this._extractSvgIconFromSet(e,a,d.options))return d}}return null};g._loadSvgIconFromConfig=function(a){var b=this;return this._fetchIcon(a).pipe(Sf(function(c){return a.svgText=c}),B(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,T.of)(null):this._fetchIcon(a).pipe(Sf(function(b){return a.svgText=b}))};
g._extractSvgIconFromSet=function(a,b,c){a=a.querySelector('[id="'+b+'"]');if(!a)return null;a=a.cloneNode(!0);a.removeAttribute("id");if("svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,c);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),c);b=this._svgElementFromString(Hma("<svg></svg>"));b.appendChild(a);return this._setSvgAttributes(b,c)};
g._svgElementFromString=function(a){var b=this._document.createElement("DIV");b.innerHTML=a;a=b.querySelector("svg");if(!a)throw Error("ub");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(Hma("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],f=e.name;e=e.value;"id"!==f&&b.setAttribute(f,e)}for(c=0;c<a.childNodes.length;c++)a.childNodes[c].nodeType===this._document.ELEMENT_NODE&&b.appendChild(a.childNodes[c].cloneNode(!0));return b};
g._setSvgAttributes=function(a,b){a.setAttribute("fit","");a.setAttribute("height","100%");a.setAttribute("width","100%");a.setAttribute("preserveAspectRatio","xMidYMid meet");a.setAttribute("focusable","false");b&&b.viewBox&&a.setAttribute("viewBox",b.viewBox);return a};
g._fetchIcon=function(a){var b=this,c=a.url,d,e;a=null!=(e=null==(d=a.options)?void 0:d.withCredentials)?e:!1;if(!this._httpClient)throw Error("sb");if(null==c)throw Error("vb`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("tb`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(B(function(h){return Hma(h)}),Gf(function(){return b._inProgressUrlFetches.delete(f)}),Mf());this._inProgressUrlFetches.set(f,c);return c};
g._addSvgIconConfig=function(a,b,c){this._svgIconConfigs.set(a+":"+b,c);return this};g._addSvgIconSetConfig=function(a,b){var c=this._iconSetConfigs.get(a);c?c.push(b):this._iconSetConfigs.set(a,[b]);return this};g._svgElementFromConfig=function(a){if(!a.svgElement){var b=this._svgElementFromString(a.svgText);this._setSvgAttributes(b,a.options);a.svgElement=b}return a.svgElement};
g._getIconConfigFromResolvers=function(a,b){for(var c=0;c<this._resolvers.length;c++){var d=this._resolvers[c](b,a);if(d)return d.url&&d.options?new TKb(d.url,d.options):new TKb(d)}};MB.\u0275fac=function(a){return new (a||MB)(n(GB,8),n(Jy),n(Ci,8),n(Ce))};MB.\u0275prov=Pc({token:MB,factory:MB.\u0275fac,providedIn:"root"});new Cv;new Dv;new Cv;new Cv;var WKb=Fi(function(a){this._elementRef=a}),XKb=new Ud("MAT_ICON_DEFAULT_OPTIONS"),YKb=new Ud("mat-icon-location",{providedIn:"root",factory:Ima}),ZKb="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),$Kb=ZKb.map(function(a){return"["+a+"]"}).join(", "),aLb=/^url\(['"]?#(.*?)['"]?\)$/,OB=function(a,b,c,d,e,f){var h=WKb.call(this,a)||this;h._iconRegistry=b;h._location=d;h._errorHandler=e;h._inline=!1;h._previousFontSetClass=[];h._currentIconFetch=
T.Subscription.EMPTY;f&&(f.color&&(h.color=h.defaultColor=f.color),f.fontSet&&(h.fontSet=f.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true");return h};X(OB,WKb);g=OB.prototype;g._splitIconName=function(a){if(!a)return["",""];var b=a.split(":");switch(b.length){case 1:return["",b[0]];case 2:return b;default:throw Error("wb`"+a);}};g.ngOnInit=function(){this._updateFontIconClasses()};
g.ngAfterViewChecked=function(){var a=this._elementsWithExternalReferences;a&&a.size&&(a=this._location.getPathname(),a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a)))};g.ngOnDestroy=function(){this._currentIconFetch.unsubscribe();this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()};g._usingFontIcon=function(){return!this.svgIcon};
g._setSvgElement=function(a){this._clearSvgElement();var b=this._location.getPathname();this._previousPath=b;this._cacheChildrenWithExternalReferences(a);this._prependPathToReferences(b);this._elementRef.nativeElement.appendChild(a)};g._clearSvgElement=function(){var a=this._elementRef.nativeElement,b=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();b--;){var c=a.childNodes[b];1===c.nodeType&&"svg"!==c.nodeName.toLowerCase()||c.remove()}};
g._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?UKb(this._iconRegistry,this.fontSet).split(/ +/):this._iconRegistry._defaultFontSetClass).filter(function(c){return 0<c.length});this._previousFontSetClass.forEach(function(c){return a.classList.remove(c)});b.forEach(function(c){return a.classList.add(c)});this._previousFontSetClass=b;this.fontIcon===this._previousFontIconClass||b.includes("mat-ligature-font")||(this._previousFontIconClass&&
a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}};g._cleanupFontValue=function(a){return"string"===typeof a?a.trim().split(" ")[0]:a};g._prependPathToReferences=function(a){var b=this._elementsWithExternalReferences;b&&b.forEach(function(c,d){c.forEach(function(e){d.setAttribute(e.name,"url('"+a+"#"+e.value+"')")})})};
g._cacheChildrenWithExternalReferences=function(a){var b=a.querySelectorAll($Kb),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={$jscomp$loop$prop$i$2128:0};a.$jscomp$loop$prop$i$2128<b.length;a={$jscomp$loop$prop$i$2128:a.$jscomp$loop$prop$i$2128},a.$jscomp$loop$prop$i$2128++)ZKb.forEach(function(d){return function(e){var f=b[d.$jscomp$loop$prop$i$2128],h=f.getAttribute(e);if(h=h?h.match(aLb):null){var l=c.get(f);l||(l=[],c.set(f,l));l.push({name:e,value:h[1]})}}}(a))};
g._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=m(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=VKb(this._iconRegistry,d,c).pipe(Ef()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("xb`"+c+"`"+d+"`"+e.message))})}};
Ei.Object.defineProperties(OB.prototype,{inline:{configurable:!0,enumerable:!0,get:function(){return this._inline},set:function(a){this._inline=Kh(a)}},svgIcon:{configurable:!0,enumerable:!0,get:function(){return this._svgIcon},set:function(a){a!==this._svgIcon&&(a?this._updateSvgIcon(a):this._svgIcon&&this._clearSvgElement(),this._svgIcon=a)}},fontSet:{configurable:!0,enumerable:!0,get:function(){return this._fontSet},set:function(a){a=this._cleanupFontValue(a);a!==this._fontSet&&(this._fontSet=
a,this._updateFontIconClasses())}},fontIcon:{configurable:!0,enumerable:!0,get:function(){return this._fontIcon},set:function(a){a=this._cleanupFontValue(a);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}}});OB.\u0275fac=function(a){return new (a||OB)(A(Yd),A(MB),Id("aria-hidden"),A(YKb),A(Ce),A(XKb,8))};
OB.\u0275cmp=r({type:OB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(a,b){a&2&&(dg("data-mat-icon-type",b._usingFontIcon()?"font":"svg")("data-mat-icon-name",b._svgName||b.fontIcon)("data-mat-icon-namespace",b._svgNamespace||b.fontSet)("fontIcon",b._usingFontIcon()?b.fontIcon:null),pg("mat-icon-inline",b.inline)("mat-icon-no-color","primary"!==b.color&&"accent"!==b.color&&"warn"!==b.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",
fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[$f],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(wg(),xg(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],
encapsulation:2,changeDetection:0});var PB=function(a,b,c){var d=this;this.document=a;this.focusTrapFactory=b;this.elementRef=c;this.dismiss=new vw;this.action=new vw;this.pointerPosition=2;this.color="blue";this.actionBtnIcon=this.actionBtnText="";this.Position=AKb;this.width=272;this.previouslyFocusedElement=null;this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement,{defer:!0});this.dismissIfEscape=function(e){"Escape"===e.key&&d.dismissTooltip()};this.setPreviouslyFocusedElement=function(){var e=d.document.activeElement;
null!=e&&e.closest("onedev-feature-tooltip-body")||(d.previouslyFocusedElement=d.document.activeElement)};this.document.addEventListener("keydown",this.dismissIfEscape);this.document.addEventListener("focusin",this.setPreviouslyFocusedElement)};PB.prototype.ngAfterContentInit=function(){fy(this.focusTrap);this.setPreviouslyFocusedElement();oGb(this.focusTrap)};
PB.prototype.ngOnDestroy=function(){this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement);this.focusTrap.destroy()};
PB.prototype.dismissTooltip=function(){this.dismiss.next();this.previouslyFocusedElement&&"focus"in this.previouslyFocusedElement&&this.previouslyFocusedElement.focus({preventScroll:!0});this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement)};Ei.Object.defineProperties(PB.prototype,{widthOffset:{configurable:!0,enumerable:!0,set:function(a){this.width=272+64*a}}});
PB.\u0275fac=function(a){return new (a||PB)(A(Ci),A(sz),A(Yd))};
PB.\u0275cmp=r({type:PB,selectors:[["onedev-feature-tooltip-body"]],hostVars:16,hostBindings:function(a,b){a&2&&pg("pointer-top-left",b.pointerPosition===b.Position.TOP_LEFT)("pointer-top-right",b.pointerPosition===b.Position.TOP_RIGHT)("pointer-bottom-left",b.pointerPosition===b.Position.BOTTOM_LEFT)("pointer-bottom-right",b.pointerPosition===b.Position.BOTTOM_RIGHT)("pointer-left-top",b.pointerPosition===b.Position.LEFT_TOP)("pointer-left-bottom",b.pointerPosition===b.Position.LEFT_BOTTOM)("pointer-right-top",
b.pointerPosition===b.Position.RIGHT_TOP)("pointer-right-bottom",b.pointerPosition===b.Position.RIGHT_BOTTOM)},inputs:{pointerPosition:"pointerPosition",widthOffset:"widthOffset",color:"color",actionBtnText:"actionBtnText",actionBtnIcon:"actionBtnIcon"},outputs:{dismiss:"dismiss",action:"action"},features:[Dg([{provide:iIb,useValue:{preventFocus:function(){},allowFocus:function(){}}},sz])],ngContentSelectors:["*"],decls:8,vars:5,consts:[["cdkTrapFocus","","role","dialog","aria-modal","true","aria-label",
"Feature Tooltip",1,"tooltip-body","gmat-body-2",3,"ngClass"],[1,"pointer-container"],[1,"pointer"],[1,"button-row"],["class","action-button","mat-button","",3,"click",4,"ngIf"],["cdkFocusInitial","","mat-flat-button","",1,"close-button",3,"color","click"],["mat-button","",1,"action-button",3,"click"],[1,"action-button-wrapper"],["class","action-button-icon",4,"ngIf"],[1,"action-button-icon"]],template:function(a,b){a&1&&(wg(),D(0,"div",0)(1,"div",1),F(2,"div",2),E(),xg(3),D(4,"div",3),O(5,Kma,4,
2,"button",4),D(6,"button",5),K("click",function(){return b.dismissTooltip()}),P(7," Got it "),E()()());a&2&&(og("width",b.width,"px"),C("ngClass",b.color),z(5),C("ngIf",b.actionBtnText),z(1),C("color","white"===b.color?"primary":""))},dependencies:[iy,$w,bx,NA,OB],styles:[".overlay-container{overflow:hidden}.dark-mode,:root{--tooltip-white-bg:var(--surface-default,#fff);--tooltip-blue-bg:var(--blue-700,#1967d2);--tooltip-white-text:var(--grey-800,#3c4043);--tooltip-blue-text:var(--text-inverse,#fff);--tooltip-shadow-color:rgba(0,0,0,.2)}.dark-mode{--tooltip-white-bg:var(--surface-default,#28292c);--tooltip-blue-bg:var(--blue-300,#8ab4f8);--tooltip-white-text:var(--grey-300,#dadce0);--tooltip-blue-text:var(--text-inverse,#000);--tooltip-shadow-color:rgba(0,0,0,.5)}.tooltip-body{padding:24px;border-radius:8px;color:var(--tooltip-text);background-color:var(--tooltip-bg);position:relative;--pointer-edge-offset:24px;--pointer-width:18px;--pointer-height:12px;--pointer-container-height:30px;--pointer-container-width:calc(var(--pointer-edge-offset)*2 + var(--pointer-width));--pointer-adjustment:-9px;box-shadow:0 1px 3px 0 var(--tooltip-shadow-color),0 4px 8px 3px var(--tooltip-shadow-color)}.tooltip-body.blue{--tooltip-text:var(--tooltip-blue-text);--tooltip-bg:var(--tooltip-blue-bg)}.tooltip-body.white{--tooltip-text:var(--tooltip-white-text);--tooltip-bg:var(--tooltip-white-bg)}.tooltip-body .button-row{margin-top:16px;text-align:right}.tooltip-body .button-row>button{height:36px}.tooltip-body .button-row .close-button{color:var(--tooltip-bg);margin-left:16px;width:88px}.tooltip-body .button-row .action-button{padding-left:8px;padding-right:8px}.tooltip-body .button-row .action-button .action-button-wrapper{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.tooltip-body .button-row .action-button .action-button-wrapper .action-button-icon{font-size:18px;height:18px;padding-left:8px;width:18px}.tooltip-body .pointer-container{position:absolute;overflow:hidden;pointer-events:none}.tooltip-body .pointer-container .pointer{width:16px;height:16px;position:absolute;background-color:var(--tooltip-bg)}.tooltip-body .tooltip-title{margin:0 4px 0 0}.pointer-bottom-left .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-bottom-left .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-bottom-left .tooltip-body{margin-bottom:var(--pointer-height)}.pointer-bottom-left .pointer{box-shadow:2px 2px 8px 3px var(--tooltip-shadow-color);top:var(--pointer-adjustment)}.pointer-bottom-left .pointer-container{bottom:calc(var(--pointer-container-height)*-1)}.pointer-bottom-left .pointer-container{left:0}.pointer-bottom-right .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-bottom-right .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-bottom-right .tooltip-body{margin-bottom:var(--pointer-height)}.pointer-bottom-right .pointer{box-shadow:2px 2px 8px 3px var(--tooltip-shadow-color);top:var(--pointer-adjustment)}.pointer-bottom-right .pointer-container{bottom:calc(var(--pointer-container-height)*-1)}.pointer-bottom-right .pointer-container{right:0}.pointer-top-left .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-top-left .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-top-left .tooltip-body{margin-top:var(--pointer-height)}.pointer-top-left .pointer{box-shadow:-1px -1px 3px 0 var(--tooltip-shadow-color);bottom:var(--pointer-adjustment)}.pointer-top-left .pointer-container{top:calc(var(--pointer-container-height)*-1)}.pointer-top-left .pointer-container{left:0}.pointer-top-right .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-top-right .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-top-right .tooltip-body{margin-top:var(--pointer-height)}.pointer-top-right .pointer{box-shadow:-1px -1px 3px 0 var(--tooltip-shadow-color);bottom:var(--pointer-adjustment)}.pointer-top-right .pointer-container{top:calc(var(--pointer-container-height)*-1)}.pointer-top-right .pointer-container{right:0}.pointer-left-top .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-left-top .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-left-top .tooltip-body{margin-left:var(--pointer-height)}.pointer-left-top .pointer{box-shadow:2px 2px 5px 0 var(--tooltip-shadow-color);right:var(--pointer-adjustment)}.pointer-left-top .pointer-container{left:calc(var(--pointer-container-height)*-1)}.pointer-left-top .pointer-container{top:0}.pointer-left-bottom .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-left-bottom .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-left-bottom .tooltip-body{margin-left:var(--pointer-height)}.pointer-left-bottom .pointer{box-shadow:2px 2px 5px 0 var(--tooltip-shadow-color);right:var(--pointer-adjustment)}.pointer-left-bottom .pointer-container{left:calc(var(--pointer-container-height)*-1)}.pointer-left-bottom .pointer-container{bottom:0}.pointer-right-top .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-right-top .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-right-top .tooltip-body{margin-right:var(--pointer-height)}.pointer-right-top .pointer{left:var(--pointer-adjustment);box-shadow:1px -1px 8px 3px var(--tooltip-shadow-color)}.pointer-right-top .pointer-container{right:calc(var(--pointer-container-height)*-1)}.pointer-right-top .pointer-container{top:0}.pointer-right-bottom .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-right-bottom .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-right-bottom .tooltip-body{margin-right:var(--pointer-height)}.pointer-right-bottom .pointer{left:var(--pointer-adjustment);box-shadow:1px -1px 8px 3px var(--tooltip-shadow-color)}.pointer-right-bottom .pointer-container{right:calc(var(--pointer-container-height)*-1)}.pointer-right-bottom .pointer-container{bottom:0}"],
encapsulation:2,changeDetection:0});var QB=function(){};QB.\u0275fac=function(a){return new (a||QB)};QB.\u0275mod=fd({type:QB});QB.\u0275inj=Qc({});var RB=function(){this.anchorMap=new Map},SB=function(a,b){if(a.anchorMap.has(b))return a.anchorMap.get(b);var c={created$:new T.ReplaySubject(1),destroyed$:new T.Subject,dismissTooltip$:new T.Subject};a.anchorMap.set(b,c);return c},bLb=function(a,b,c){SB(a,b).created$.next(c)},cLb=function(a,b){SB(a,b).destroyed$.next();SB(a,b).created$.next(void 0)};RB.prototype.dismissTooltip=function(a){SB(this,a).dismissTooltip$.next()};RB.\u0275fac=function(a){return new (a||RB)};
RB.\u0275prov=Pc({token:RB,factory:RB.\u0275fac,providedIn:QB});var TB={TOP_LEFT:{pointerPosition:2,connectedPosition:{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:-12}},TOP_CENTER_RIGHT:{pointerPosition:2,connectedPosition:{originX:"center",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:-33}},TOP_CENTER_LEFT:{pointerPosition:3,connectedPosition:{originX:"center",originY:"top",overlayX:"end",overlayY:"bottom",offsetX:33}},TOP_RIGHT:{pointerPosition:3,connectedPosition:{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",
offsetX:12}},RIGHT_TOP:{pointerPosition:4,connectedPosition:{originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetY:-12}},RIGHT_CENTER_BOTTOM:{pointerPosition:4,connectedPosition:{originX:"end",originY:"center",overlayX:"start",overlayY:"top",offsetY:-33}},RIGHT_CENTER_TOP:{pointerPosition:5,connectedPosition:{originX:"end",originY:"center",overlayX:"start",overlayY:"bottom",offsetY:33}},RIGHT_BOTTOM:{pointerPosition:5,connectedPosition:{originX:"end",originY:"bottom",overlayX:"start",
overlayY:"bottom",offsetY:12}},LEFT_BOTTOM:{pointerPosition:7,connectedPosition:{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetY:12}},LEFT_CENTER_BOTTOM:{pointerPosition:6,connectedPosition:{originX:"start",originY:"center",overlayX:"end",overlayY:"top",offsetY:-33}},LEFT_CENTER_TOP:{pointerPosition:7,connectedPosition:{originX:"start",originY:"center",overlayX:"end",overlayY:"bottom",offsetY:33}},LEFT_TOP:{pointerPosition:6,connectedPosition:{originX:"start",originY:"top",
overlayX:"end",overlayY:"top",offsetY:-12}},BOTTOM_LEFT:{pointerPosition:0,connectedPosition:{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:-12}},BOTTOM_CENTER_RIGHT:{pointerPosition:0,connectedPosition:{originX:"center",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:-33}},BOTTOM_CENTER_LEFT:{pointerPosition:1,connectedPosition:{originX:"center",originY:"bottom",overlayX:"end",overlayY:"top",offsetX:33}},BOTTOM_RIGHT:{pointerPosition:1,connectedPosition:{originX:"end",
originY:"bottom",overlayX:"end",overlayY:"top",offsetX:12}}},dLb=[TB.TOP_CENTER_RIGHT,TB.TOP_CENTER_LEFT,TB.BOTTOM_CENTER_RIGHT,TB.BOTTOM_CENTER_LEFT],eLb=[TB.TOP_LEFT,TB.TOP_RIGHT,TB.BOTTOM_LEFT,TB.BOTTOM_RIGHT],fLb=[TB.LEFT_CENTER_BOTTOM,TB.LEFT_CENTER_TOP,TB.RIGHT_CENTER_BOTTOM,TB.RIGHT_CENTER_TOP],gLb=[TB.LEFT_TOP,TB.LEFT_BOTTOM,TB.RIGHT_TOP,TB.RIGHT_BOTTOM];var UB=function(){};UB.\u0275fac=function(a){return new (a||UB)};UB.\u0275mod=fd({type:UB});UB.\u0275inj=Qc({});var VB=function(){},iLb=function(a,b){return hLb(a,b).map(function(c){return c.connectedPosition})},jLb=function(a,b,c){a=hLb(a,b).find(function(d){return d.connectedPosition===c});if(!a)throw Error("yb`"+JSON.stringify(c));return a.pointerPosition},hLb=function(a,b){b=kLb(b).filter(function(c){return!a.includes(c)});return a.concat(b)},kLb=function(a){var b,c=null==a?void 0:null==(b=a.nativeElement)?void 0:b.clientWidth,d;a=null==a?void 0:null==(d=a.nativeElement)?void 0:d.clientHeight;return(void 0!==
c&&60>c?dLb:eLb).concat(void 0!==a&&60>a?fLb:gLb)};VB.\u0275fac=function(a){return new (a||VB)};VB.\u0275prov=Pc({token:VB,factory:VB.\u0275fac,providedIn:UB});var WB={};WB.AssertionError=ca;WB.ENABLE_ASSERTS=!1;WB.assert=function(a){return a};WB.assertArray=function(a){return a};WB.assertBoolean=function(a){return a};WB.assertElement=function(a){return a};WB.assertExists=function(a){return a};WB.assertFinite=function(a){return a};WB.assertFunction=function(a){return a};WB.assertInstanceof=function(a){return a};WB.assertNumber=function(a){return a};WB.assertObject=function(a){return a};WB.assertString=function(a){return a};WB.fail=function(){};var lLb=["template"],XB=function(a,b,c,d,e){var f=this;this.anchorService=a;this.overlay=b;this.containerRef=c;this.ngZone=d;this.changeDetectorRef=e;this.open$=new T.Subject;this.customPositions=[];this.widthOffset=0;this.color="blue";this.hasBackdrop=!1;this.actionBtnIcon=this.actionBtnText="";this.dismiss=new vw;this.beforeShown=new vw;this.action=new vw;this.pointerPosition=0;this.destroyed$=new T.ReplaySubject;this.init$=new T.ReplaySubject;this.savedAnchorStyles={zIndex:"",position:""};this.hideFeatureTooltip=
function(){f.overlayRef&&f.hasBackdrop&&f.anchor&&(f.anchor.nativeElement.style.position=f.savedAnchorStyles.position,f.anchor.nativeElement.style.zIndex=f.savedAnchorStyles.zIndex);var h;null==(h=f.overlayRef)||h.dispose();f.overlayRef=void 0}};XB.prototype.ngOnChanges=function(a){if(a.customPositions){var b;null==(b=this.overlayRef)||CIb(b,mLb(this))}};
XB.prototype.ngOnInit=function(){var a=SB(this.anchorService,this.tooltipId),b=a.destroyed$,c=a.dismissTooltip$;nLb(this,a.created$);b.pipe(Rf(this.destroyed$)).subscribe(this.hideFeatureTooltip);oLb(this,c)};XB.prototype.ngAfterViewInit=function(){this.init$.next()};XB.prototype.ngOnDestroy=function(){this.hideFeatureTooltip();this.destroyed$.next()};
var nLb=function(a,b){a.open$.pipe(uha(a.init$),Sf(function(){a.beforeShown.emit()}),Qf(function(){return b.pipe(Rf(a.dismiss))}),Rf(a.destroyed$),sf(function(c){return!!c&&!a.isVisible()})).subscribe(function(c){a.anchor=c;c=c.nativeElement;if(a.hasBackdrop){var d=c.style,e=d.position;a.savedAnchorStyles={zIndex:d.zIndex,position:e};if("static"===e||""===e)c.style.position="relative";c.style.zIndex="1001"}a.overlayRef=a.overlay.create({positionStrategy:mLb(a),scrollStrategy:a.getScrollStrategy(),
minWidth:"fit-content",hasBackdrop:a.hasBackdrop});var f;null==(f=a.overlayRef)||f.attach(new qy(a.templateRef,a.containerRef))})},oLb=function(a,b){b.pipe(Rf(a.destroyed$),sf(function(){return a.isVisible()})).subscribe(function(){a.hideFeatureTooltip();a.dismiss.emit()})};XB.prototype.getScrollStrategy=function(){var a=this.overlay.scrollStrategies;return this.hasBackdrop?a.block():a.reposition()};
XB.prototype.getPositionStrategy=function(){if(!this.anchor)throw Error("zb");return Yz(bA(this.overlay.position(),this.anchor),iLb(this.customPositions,this.anchor))};var mLb=function(a){var b=a.getPositionStrategy();b.positionChanges.subscribe(function(c){a.ngZone.run(function(){a.pointerPosition=jLb(a.customPositions,a.anchor,c.connectionPair);a.changeDetectorRef.markForCheck()})});return b};XB.prototype.isVisible=function(){return!!this.overlayRef};
XB.\u0275fac=function(a){return new (a||XB)(A(RB),A(cA),A(Pg),A(Yf),A(Vw),A(VB))};
XB.\u0275cmp=r({type:XB,selectors:[["onedev-feature-tooltip"]],viewQuery:function(a,b){a&1&&Sg(lLb,5);if(a&2){var c;Rg(c=Ug())&&(b.templateRef=c.first)}},inputs:{tooltipId:"tooltipId",open$:"open$",customPositions:"customPositions",widthOffset:"widthOffset",color:"color",hasBackdrop:"hasBackdrop",actionBtnText:"actionBtnText",actionBtnIcon:"actionBtnIcon"},outputs:{dismiss:"dismiss",beforeShown:"beforeShown",action:"action"},features:[md],ngContentSelectors:["*"],decls:2,vars:0,consts:[["template",
""],[3,"actionBtnText","actionBtnIcon","color","pointerPosition","widthOffset","action","dismiss"]],template:function(a){a&1&&(wg(),O(0,Lma,2,5,"ng-template",null,0,$g))},dependencies:[PB],encapsulation:2,changeDetection:0});var YB=function(){};YB.\u0275fac=function(a){return new (a||YB)};YB.\u0275mod=fd({type:YB});YB.\u0275inj=Qc({});var ZB=function(){};ZB.\u0275fac=function(a){return new (a||ZB)};ZB.\u0275mod=fd({type:ZB});ZB.\u0275inj=Qc({imports:[YB]});var $B=function(){};$B.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,T.of)(a?JSON.parse(a):null)};$B.prototype.getValues=function(a){return(0,T.of)(a.reduce(function(b,c){var d=b.set;var e=(e=window.localStorage.getItem(c))?JSON.parse(e):null;return d.call(b,c,e)},new Map))};$B.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,T.of)(void 0)};$B.\u0275fac=function(a){return new (a||$B)};
$B.\u0275prov=Pc({token:$B,factory:$B.\u0275fac,providedIn:YB});var pLb=function(a){this.cellValue_=a};var aC=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};g=aC.prototype;g.addCell=function(a){var b=bd.apply(1,arguments),c=this.getCells(b);c?c.push(new pLb(a)):this.setCell(a,b)};g.setCell=function(a){this.cellMap_.set(this.getKey_(bd.apply(1,arguments)),[new pLb(a)])};g.getCells=function(){var a=this.getKey_(bd.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
g.getCell=function(){var a=this.getCells(bd.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap_.clear()};g.getKey_=function(){var a=bd.apply(0,arguments);return a?a.join(","):"key"};var bC=function(a,b){aC.call(this,a,3,b)};X(bC,aC);bC.prototype.incrementCounter=function(){this.incrementCounterBy(1,bd.apply(0,arguments))};bC.prototype.incrementCounterBy=function(a){var b=bd.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue_);this.setCell(c+a,b)};var qLb=function(a,b){aC.call(this,a,2,b)};X(qLb,aC);qLb.prototype.record=function(a){this.addCell(a,bd.apply(1,arguments))};var cC=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};cC.prototype.disposed_=!1;cC.prototype.isDisposed=function(){return this.disposed_};cC.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var dC=function(a,b){b=Fu(Oi,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};cC.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var eC=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};eC.prototype.stopPropagation=function(){this.propagationStopped_=!0};eC.prototype.preventDefault=function(){this.defaultPrevented=!0};var rLb=[],sLb=[],tLb=!1,uLb=function(a){rLb[rLb.length]=a;if(tLb)for(var b=0;b<sLb.length;b++)a(Eu(sLb[b].wrap,sLb[b]))};var vLb=function(){if(!da.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{da.addEventListener("test",function(){},b),da.removeEventListener("test",function(){},b)}catch(c){}return a}();var fC=function(a,b){eC.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.platformModifierKey=!1;this.pointerId=0;this.pointerType="";this.event_=null;a&&this.init(a,b)};Gu(fC,eC);var wLb={2:"touch",3:"pen",4:"mouse"};
fC.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?Ku&&(BAb(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=Lu||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=Lu||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=Zr?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:wLb[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&fC.superClass_.preventDefault.call(this)};fC.prototype.stopPropagation=function(){fC.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
fC.prototype.preventDefault=function(){fC.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var xLb="closure_listenable_"+(1E6*Math.random()|0),gC=function(a){return!(!a||!a[xLb])};var yLb=0;var zLb=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++yLb;this.removed=this.callOnce=!1},ALb=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var hC=function(a){this.src=a;this.listeners={};this.typeCount_=0};hC.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.typeCount_++);var h=BLb(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new zLb(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
hC.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=BLb(e,b,c,d);return-1<b?(ALb(e[b]),Ka(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var CLb=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=Ma(a.listeners[c],b);d&&(ALb(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
hC.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.listeners)if(!a||c==a){for(var d=this.listeners[c],e=0;e<d.length;e++)++b,ALb(d[e]);delete this.listeners[c];this.typeCount_--}return b};hC.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=BLb(a,b,c,d));return-1<e?a[e]:null};
hC.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Wba(this.listeners,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var BLb=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.handler==d)return e}return-1};var DLb="closure_lm_"+(1E6*Math.random()|0),ELb={},FLb=0,Rq=function(a,b,c,d,e){if(d&&d.once)return iC(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Rq(a,b[f],c,d,e);return null}c=GLb(c);return gC(a)?a.listen(b,c,Ta(d)?!!d.capture:!!d,e):HLb(a,b,c,!1,d,e)},HLb=function(a,b,c,d,e,f){if(!b)throw Error("Ab");var h=Ta(e)?!!e.capture:!!e,l=jC(a);l||(a[DLb]=l=new hC(a));c=l.add(b,c,d,h,f);if(c.proxy)return c;d=ILb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)vLb||(e=h),void 0===e&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(JLb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("Bb");FLb++;return c},ILb=function(){var a=KLb,b=function(c){return a.call(b.src,b.listener,c)};return b},iC=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)iC(a,b[f],c,d,e);return null}c=GLb(c);return gC(a)?a.listenOnce(b,c,Ta(d)?!!d.capture:!!d,e):HLb(a,b,c,!0,d,e)},kC=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)kC(a,b[f],c,d,e);else d=Ta(d)?!!d.capture:!!d,c=GLb(c),gC(a)?a.unlisten(b,c,d,e):a&&(a=jC(a))&&(b=a.getListener(b,c,d,e))&&lC(b)},lC=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(gC(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(JLb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);FLb--;(c=jC(b))?(CLb(c,a),0==c.typeCount_&&(c.src=null,b[DLb]=null)):ALb(a);
return!0},JLb=function(a){return a in ELb?ELb[a]:ELb[a]="on"+a},KLb=function(a,b){if(a.removed)a=!0;else{b=new fC(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&lC(a);a=c.call(d,b)}return a},jC=function(a){a=a[DLb];return a instanceof hC?a:null},LLb="__closure_events_fn_"+(1E9*Math.random()>>>0),GLb=function(a){if("function"===typeof a)return a;a[LLb]||(a[LLb]=function(b){return a.handleEvent(b)});return a[LLb]};uLb(function(a){KLb=a(KLb)});var Qq=function(){cC.call(this);this.eventTargetListeners_=new hC(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Gu(Qq,cC);Qq.prototype[xLb]=!0;g=Qq.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){Rq(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){kC(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.getParentEventTarget();if(c)for(b=[];c;c=c.getParentEventTarget())b.push(c);c=this.actualEventTarget_;var d=a.type||a;if("string"===typeof a)a=new eC(a,c);else if(a instanceof eC)a.target=a.target||c;else{var e=a;a=new eC(d,c);lc(a,e)}e=!0;if(b)for(var f=b.length-1;!a.propagationStopped_&&0<=f;f--){var h=a.currentTarget=b[f];e=h.fireListeners(d,!0,a)&&e}a.propagationStopped_||(h=a.currentTarget=c,e=h.fireListeners(d,!0,a)&&e,a.propagationStopped_||(e=h.fireListeners(d,
!1,a)&&e));if(b)for(f=0;!a.propagationStopped_&&f<b.length;f++)h=a.currentTarget=b[f],e=h.fireListeners(d,!1,a)&&e;return e};g.disposeInternal=function(){Qq.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};g.listen=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!1,c,d)};g.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};
g.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};g.unlistenByKey=function(a){return CLb(this.eventTargetListeners_,a)};g.removeAllListeners=function(){this.eventTargetListeners_&&this.eventTargetListeners_.removeAll(void 0)};
g.fireListeners=function(a,b,c){a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.removed&&f.capture==b){var h=f.listener,l=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=!1!==h.call(l,c)&&d}}return d&&!c.defaultPrevented};g.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
g.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(void 0!==a?String(a):void 0,b)};var MLb=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};MLb.prototype.get=function(){if(0<this.occupants_){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};MLb.prototype.put=function(a){this.reset_(a);this.occupants_<this.limit_&&(this.occupants_++,a.next=this.head_,this.head_=a)};try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var NLb=Iu||Lu;var OLb=function(a,b){return a+Math.random()*(b-a)};var ds=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};ds.prototype.clone=function(){return new ds(this.x,this.y)};ds.prototype.equals=function(a){return a instanceof ds&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var es=function(a,b){return new ds(a.x-b.x,a.y-b.y)};g=ds.prototype;g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.translate=function(a,b){a instanceof ds?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var mC=function(a,b){this.width=a;this.height=b},n4a=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=mC.prototype;g.clone=function(){return new mC(this.width,this.height)};g.aspectRatio=function(){return this.width/this.height};g.isEmpty=function(){return!(this.width*this.height)};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var Tq=function(a){return a?new nC(oC(a)):lAb||(lAb=new nC)},pC=function(a,b){return"string"===typeof b?a.getElementById(b):b},qC=function(a,b){return(b||document).getElementsByTagName(String(a))},QLb=function(a,b){ec(b,function(c,d){c&&"object"==typeof c&&c.implementsGoogStringTypedString&&(c=c.getTypedStringValue());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:PLb.hasOwnProperty(d)?a.setAttribute(PLb[d],c):uj(d,"aria-")||uj(d,"data-")?a.setAttribute(d,c):a[d]=c})},
PLb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},rC=function(a){a=(a||window).document;a=RLb(a)?a.documentElement:a.body;return new mC(a.clientWidth,a.clientHeight)},tC=function(a){var b=sC(a);a=a.parentWindow||a.defaultView;return Iu&&a.pageYOffset!=b.scrollTop?new ds(b.scrollLeft,b.scrollTop):new ds(a.pageXOffset||
b.scrollLeft,a.pageYOffset||b.scrollTop)},sC=function(a){return a.scrollingElement?a.scrollingElement:!Lu&&RLb(a)?a.documentElement:a.body||a.documentElement},uC=function(a){return a?a.parentWindow||a.defaultView:window},TLb=function(a,b,c){return SLb(document,arguments)},SLb=function(a,b){var c=b[1],d=mq(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):QLb(d,c));2<b.length&&ULb(a,d,b,2);return d},ULb=function(a,b,c,d){function e(l){l&&b.appendChild("string"===
typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var f=c[d];if(!Qa(f)||Ta(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(Ta(f)){var h="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){h="function"==typeof f.item;break a}}h=!1}Da(h?Pa(f):f,e)}}},mq=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},RLb=function(a){return"CSS1Compat"==a.compatMode},VLb=function(a,b){ULb(oC(a),a,arguments,
1)},WLb=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},vC=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},wC=function(a){return Ta(a)&&1==a.nodeType},R5a=function(a){var b;if(NLb&&(b=a.parentElement))return b;b=a.parentNode;return wC(b)?b:null},xWa=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==
a},oC=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},XLb=function(a){return a.contentDocument||a.contentWindow.document},xC=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else WLb(a),a.appendChild(oC(a).createTextNode(String(b)))},YLb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},ZLb={IMG:" ",BR:"\n"},$Lb=function(a){a=
a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},aMb=function(a,b,c){if(!(a.nodeName in YLb))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in ZLb)b.push(ZLb[a.nodeName]);else for(a=a.firstChild;a;)aMb(a,b,c),a=a.nextSibling},w4a=function(){var a=uC();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?bMb(3)||bMb(2)||bMb(1.5)||bMb(1)||.75:1},bMb=function(a){return uC().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+
a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},nC=function(a){this.document_=a||da.document||document};g=nC.prototype;g.getDomHelper=Tq;g.getElement=function(a){return pC(this.document_,a)};g.$=nC.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
g.getElementsByTagNameAndClass=function(a,b,c){c=c||this.document_;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))b=c.querySelectorAll(a+(b?"."+b:""));else if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},e=0,f=0,h;h=c[f];f++)a==h.nodeName&&(d[e++]=h);d.length=e;b=d}else b=c;else if(c=c.getElementsByTagName(a||"*"),b){d={};for(f=e=0;h=c[f];f++)a=h.className,"function"==typeof a.split&&Ia(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;
b=d}else b=c;return b};g.$$=nC.prototype.getElementsByTagNameAndClass;g.setProperties=QLb;g.getViewportSize=function(a){return rC(a||this.getWindow())};g.createDom=function(a,b,c){return SLb(this.document_,arguments)};g.createElement=function(a){return mq(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};g.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};g.appendChild=function(a,b){a.appendChild(b)};g.append=VLb;
g.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};g.removeChildren=WLb;g.removeNode=vC;
g.getChildren=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};g.isElement=wC;g.getParentElement=R5a;g.contains=xWa;
g.isFocusable=function(a){var b;"A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?b=!a.disabled&&(!a.hasAttribute("tabindex")||$Lb(a)):b=a.hasAttribute("tabindex")&&$Lb(a);if(b&&Iu){var c;"function"!==typeof a.getBoundingClientRect||Iu&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};var cMb,dMb=function(){var a=da.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!la("Presto")&&(a=function(){var e=mq(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=Eu(function(q){if(("*"==l||q.origin==l)&&q.data==h)this.port1.onmessage()},
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,l)}}});if("undefined"!==typeof a&&!aaa()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){da.setTimeout(e,0)}},eMb=uCb;uLb(function(a){eMb=a});var fMb=function(){this.workTail_=this.workHead_=null};fMb.prototype.add=function(a,b){var c=gMb.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};fMb.prototype.remove=function(){var a=null;this.workHead_&&(a=this.workHead_,this.workHead_=this.workHead_.next,this.workHead_||(this.workTail_=null),a.next=null);return a};var gMb=new MLb(function(){return new hMb},function(a){return a.reset()}),hMb=function(){this.next=this.scope=this.fn=null};
hMb.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};hMb.prototype.reset=function(){this.next=this.scope=this.fn=null};var iMb,jMb=!1,kMb=new fMb,yC=function(a,b){iMb||lMb();jMb||(iMb(),jMb=!0);kMb.add(a,b)},lMb=function(){if(da.Promise&&da.Promise.resolve){var a=da.Promise.resolve(void 0);iMb=function(){a.then(mMb)}}else iMb=function(){var b=mMb;b=eMb(b);"function"!==typeof da.setImmediate||da.Window&&da.Window.prototype&&!ra()&&da.Window.prototype.setImmediate==da.setImmediate?(cMb||(cMb=dMb()),cMb(b)):da.setImmediate(b)}},mMb=function(){for(var a;a=kMb.remove();){try{a.fn.call(a.scope)}catch(b){ea(b)}gMb.put(a)}jMb=
!1};var nMb=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var AC=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=uv)try{var b=this;a.call(void 0,function(c){zC(b,2,c)},function(c){zC(b,3,c)})}catch(c){zC(this,3,c)}},oMb=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};oMb.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var pMb=new MLb(function(){return new oMb},function(a){a.reset()}),qMb=function(a,b,c){var d=pMb.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},BC=function(a){if(a instanceof AC)return a;var b=new AC(uv);zC(b,2,a);return b},rMb=function(a){return new AC(function(b,c){c(a)})},tMb=function(a,b,c){sMb(a,b,c,null)||yC(Fu(b,a))},uMb=function(a){return new AC(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],tMb(e,b,c)})},vMb=function(a){return new AC(function(b,c){var d=
a.length,e=[];if(d)for(var f=function(u,x){d--;e[u]=x;0==d&&b(e)},h=function(u){c(u)},l=0,q;l<a.length;l++)q=a[l],tMb(q,Fu(f,l),h);else b(e)})},wMb=function(a){return new AC(function(b,c){var d=a.length,e=[];if(d)for(var f=function(u){b(u)},h=function(u,x){d--;e[u]=x;0==d&&c(e)},l=0,q;l<a.length;l++)q=a[l],tMb(q,f,Fu(h,l));else b(void 0)})},yMb=function(){var a,b,c=new AC(function(d,e){a=d;b=e});return new xMb(c,a,b)};
AC.prototype.then=function(a,b,c){return zMb(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};AC.prototype.$goog_Thenable=!0;var BMb=function(a,b){b=qMb(b,b);b.always=!0;AMb(a,b);return a};AC.prototype.thenCatch=function(a,b){return zMb(this,null,a,b)};AC.prototype.catch=AC.prototype.thenCatch;AC.prototype.cancel=function(a){if(0==this.state_){var b=new CC(a);yC(function(){CMb(this,b)},this)}};
var CMb=function(a,b){if(0==a.state_)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,f=null,h=c.callbackEntries_;h&&(h.always||(d++,h.child==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.state_&&1==d?CMb(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):DMb(c),EMb(c,e,3,b)))}a.parent_=null}else zC(a,3,b)},AMb=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||FMb(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},zMb=function(a,b,c,d){var e=qMb(null,null,null);e.child=new AC(function(f,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);f(q)}catch(u){h(u)}}:f;e.onRejected=c?function(l){try{var q=c.call(d,l);void 0===q&&l instanceof CC?h(l):f(q)}catch(u){h(u)}}:h});e.child.parent_=a;AMb(a,e);return e.child};AC.prototype.unblockAndFulfill_=function(a){this.state_=0;zC(this,2,a)};AC.prototype.unblockAndReject_=function(a){this.state_=0;zC(this,3,a)};
var zC=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("Cb")),a.state_=1,sMb(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,FMb(a),3!=b||c instanceof CC||GMb(a,c)))},sMb=function(a,b,c,d){if(a instanceof AC)return AMb(a,qMb(b||uv,c||null,d)),!0;if(nMb(a))return a.then(b,c,d),!0;if(Ta(a))try{var e=a.then;if("function"===typeof e)return HMb(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},HMb=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,
c.call(e,q))},l=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,l)}catch(q){l(q)}},FMb=function(a){a.executing_||(a.executing_=!0,yC(a.executeCallbacks_,a))},DMb=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};AC.prototype.executeCallbacks_=function(){for(var a;a=DMb(this);)EMb(this,a,this.state_,this.result_);this.executing_=!1};
var EMb=function(a,b,c,d){if(3==c&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,IMb(b,c,d);else try{b.always?b.onFulfilled.call(b.context):IMb(b,c,d)}catch(e){JMb.call(null,e)}pMb.put(b)},IMb=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},GMb=function(a,b){a.hadUnhandledRejection_=!0;yC(function(){a.hadUnhandledRejection_&&JMb.call(null,b)})},JMb=ea,CC=function(a){aa.call(this,
a);this.reportErrorToServer=!1};Gu(CC,aa);CC.prototype.name="cancel";var xMb=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var DC=function(a,b){Qq.call(this);this.interval_=a||1;this.timerObject_=b||da;this.boundTick_=Eu(this.tick_,this);this.last_=Date.now()};Gu(DC,Qq);g=DC.prototype;g.enabled=!1;g.timer_=null;g.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};
g.tick_=function(){if(this.enabled){var a=Date.now()-this.last_;0<a&&a<.8*this.interval_?this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_-a):(this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};g.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=Date.now())};
g.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};g.disposeInternal=function(){DC.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Nt=function(a,b,c){if("function"===typeof a)c&&(a=Eu(a,c));else if(a&&"function"==typeof a.handleEvent)a=Eu(a.handleEvent,a);else throw Error("Db");return 2147483647<Number(b)?-1:da.setTimeout(a,b||0)},Ot=function(a){da.clearTimeout(a)},KMb=function(a,b){var c=null;return(new AC(function(d,e){c=Nt(function(){d(b)},a);-1==c&&e(Error("Eb"))})).thenCatch(function(d){Ot(c);throw d;})};var LMb=function(a){this.streamzLogger_=a;this.metricMap=new Map;this.disabledMetrics_=new Set;this.invocationCount=0;this.flushInterval=3E4;this.flushTimer=new DC(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this)},MMb=function(a){a.flushTimer.enabled||a.flushTimer.start();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};g=LMb.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(p(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger_.flush(a,!1);NMb(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=bd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new bC(a,b))};g.addNewEventMetric=function(a){var b=bd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new qLb(a,b))};
g.getMetric=function(a){return this.disabledMetrics_.has(a)?void 0:this.metricMap.get(a)};g.incrementCounter=function(a){this.incrementCounterBy.apply(this,[a,1].concat(p(bd.apply(1,arguments))))};g.incrementCounterBy=function(a,b){var c=bd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof bC&&(d.incrementCounterBy(b,c),MMb(this))};g.record=function(a,b){var c=bd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof qLb&&(d.record(b,c),MMb(this))};var NMb=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var OMb=function(a){this.metricName_="/client_streamz/one_developer_workflow/events/usage";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"name"},{field_type:3,field_name:"source"},{field_type:1,field_name:"state"})};OMb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};OMb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var PMb=function(a){this.metricName_="/client_streamz/one_developer_workflow/events/performance";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"name"})};PMb.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};PMb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var QMb=function(a){this.metricName_="/client_streamz/one_developer_workflow/rpc/request_count";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"method_id"})};QMb.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};QMb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var RMb=function(a){this.metricName_="/client_streamz/one_developer_workflow/rpc/error_count";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"method_id"},{field_type:2,field_name:"code"})};RMb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};RMb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var SMb=function(a){Y.call(this,a)};X(SMb,Y);SMb.prototype.getValueCase=function(){return pk(this,TMb)};var TMb=[1,2,3];var UMb=function(a){Y.call(this,a)};X(UMb,Y);UMb.prototype.getValueCase=function(){return pk(this,VMb)};var VMb=[1,2,3];var XMb=function(a){Y.call(this,a,-1,WMb)};X(XMb,Y);var WMb=[1];var ZMb=function(a){Y.call(this,a,-1,YMb)};X(ZMb,Y);var YMb=[3,6,4];var aNb=function(a){Y.call(this,a,-1,$Mb)};X(aNb,Y);var $Mb=[1];var bNb=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("Fb`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==
c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("Gb`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};var dNb=function(a,b,c){var d=String(da.location.href);return d&&a&&b?[b,cNb(bNb(d),a,c||null)].join(" "):null},cNb=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],Da(d,function(l){e.push(l)}),eNb(e.join(" "));var f=[],h=[];Da(c,function(l){h.push(l.key);f.push(l.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];Da(d,function(l){e.push(l)});a=eNb(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},eNb=function(a){var b=
Nma();b.update(a);return b.digestString().toLowerCase()};var fNb={};var gNb=function(){this.document_=document||{cookie:""}};g=gNb.prototype;g.isEnabled=function(){if(!da.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var l=c.maxAge}if(/[;=\s]/.test(a))throw Error("Hb`"+a);if(/[;\r\n]/.test(b))throw Error("Ib`"+b);void 0===l&&(l=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";l=0>l?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.document_.cookie=a+"="+b+c+h+l+d+(null!=e?";samesite="+e:"")};
g.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,f;e<d.length;e++){f=xj(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};g.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};g.getKeys=function(){return hNb(this).keys};g.getValues=function(){return hNb(this).values};g.isEmpty=function(){return!this.document_.cookie};
g.getCount=function(){return this.document_.cookie?(this.document_.cookie||"").split(";").length:0};g.containsKey=function(a){return void 0!==this.get(a)};g.containsValue=function(a){for(var b=hNb(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=hNb(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var hNb=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=xj(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var iNb=function(a){return!!fNb.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},jNb=function(a,b,c,d){(a=da[a])||(a=(new gNb).get(b));return a?dNb(a,c,d):null},sq=function(a,b){b=void 0===b?!1:b;var c=bNb(String(da.location.href)),d=[];var e=b;e=void 0===e?!1:e;var f=da.__SAPISID||da.__APISID||da.__3PSAPISID||da.__OVERRIDE_SID;iNb(e)&&(f=f||da.__1PSAPISID);if(f)e=!0;else{var h=new gNb;f=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||h.get("SID")||h.get("OSID");iNb(e)&&(f=f||h.get("__Secure-1PAPISID"));
e=!!f}e&&(e=(c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:"))?da.__SAPISID:da.__APISID,e||(e=new gNb,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?dNb(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&iNb(b)&&((b=jNb("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=jNb("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var EC=function(a){Y.call(this,a,-1,kNb)};X(EC,Y);var kNb=[2];var lNb=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};lNb.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};lNb.prototype.getValue=function(){return this.currValue_};var mNb=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))},nNb=function(a){try{return da.JSON.parse(a)}catch(b){}a=String(a);if(mNb(a))try{return eval("("+a+")")}catch(b){}throw Error("Jb`"+a);},pNb=function(a,b){return(new oNb(b)).serialize(a)},oNb=function(a){this.replacer_=
a};oNb.prototype.serialize=function(a){var b=[];qNb(this,a,b);return b.join("")};
var qNb=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],qNb(a,a.replacer_?a.replacer_.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),rNb(d,c),c.push(":"),qNb(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":rNb(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Kb`"+typeof b);}}},sNb={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},tNb=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,rNb=function(a,b){b.push('"',a.replace(tNb,
function(c){var d=sNb[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),sNb[c]=d);return d}),'"')};var uNb=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};var vNb=function(){};vNb.prototype.cachedOptions_=null;vNb.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var wNb,xNb=function(){};Gu(xNb,vNb);xNb.prototype.createInstance=function(){var a=yNb(this);return a?new ActiveXObject(a):new XMLHttpRequest};xNb.prototype.internalGetOptions=function(){var a={};yNb(this)&&(a[0]=!0,a[1]=!0);return a};
var yNb=function(a){if(!a.ieProgId_&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.ieProgId_=d}catch(e){}}throw Error("Lb");}return a.ieProgId_};wNb=new xNb;var zNb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),ANb=function(a){var b=a.match(zNb);a=b[1];var c=b[2],d=b[3];b=b[4];var e="";a&&(e+=a+":");d&&(e+="//",c&&(e+=c+"@"),e+=d,b&&(e+=":"+b));return e},BNb=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g,
" ")):"")}}},CNb=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]},DNb=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)DNb(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},ENb=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)DNb(a[b],a[b+1],c);return c.join("&")},
FNb=function(a){var b=[],c;for(c in a)DNb(c,a[c],b);return b.join("&")},FC=function(a,b){var c=2==arguments.length?ENb(arguments[1],0):ENb(arguments,1);return CNb(a,c)},nsa=function(a,b){b=FNb(b);return CNb(a,b)},GC=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return CNb(a,b+c)},GNb=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1},HNb=/#|$/,INb=function(a,
b){var c=a.search(HNb),d=GNb(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))},JNb=/[?&]($|#)/;var HC=function(a){Qq.call(this);this.headers=new Map;this.xmlHttpFactory_=a||null;this.active_=!1;this.xhrOptions_=this.xhr_=null;this.lastUri_="";this.lastErrorCode_=0;this.lastError_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.useXhr2Timeout_=this.withCredentials_=!1;this.trustToken_=null};Gu(HC,Qq);
var KNb=/^https?$/i,LNb=["POST","PUT"],MNb=[],Pi=function(a,b,c,d,e,f,h){var l=new HC;MNb.push(l);b&&l.listen("complete",b);l.listenOnce("ready",l.cleanupSend_);f&&(l.timeoutInterval_=Math.max(0,f));h&&(l.withCredentials_=h);l.send(a,c,d,e);return l};HC.prototype.cleanupSend_=function(){this.dispose();Ma(MNb,this)};HC.prototype.setTrustToken=function(a){this.trustToken_=a};
HC.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Mb`"+this.lastUri_+"`"+a);b=b?b.toUpperCase():"GET";this.lastUri_=a;this.lastError_="";this.lastErrorCode_=0;this.errorDispatched_=!1;this.active_=!0;this.xhr_=this.createXhr();this.xhrOptions_=this.xmlHttpFactory_?this.xmlHttpFactory_.getOptions():wNb.getOptions();this.xhr_.onreadystatechange=Eu(this.onReadyStateChange_,this);try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(h){this.error_(5,h);return}a=c||"";c=
new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=m(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Nb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=da.FormData&&a instanceof da.FormData;!Ia(LNb,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=m(c);for(d=
b.next();!d.done;d=b.next())c=m(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}try{NNb(this),0<this.timeoutInterval_&&((this.useXhr2Timeout_=ONb(this.xhr_))?(this.xhr_.timeout=
this.timeoutInterval_,this.xhr_.ontimeout=Eu(this.timeout_,this)):this.timeoutId_=Nt(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var ONb=function(a){return Iu&&"number"===typeof a.timeout&&void 0!==a.ontimeout};HC.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():wNb.createInstance()};
HC.prototype.timeout_=function(){"undefined"!=typeof dAb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};HC.prototype.error_=function(a,b){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);this.lastError_=b;this.lastErrorCode_=a;PNb(this);QNb(this)};var PNb=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
HC.prototype.abort=function(a){this.xhr_&&this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1,this.lastErrorCode_=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),QNb(this))};HC.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),QNb(this,!0));HC.superClass_.disposeInternal.call(this)};
HC.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)RNb(this);else this.onReadyStateChangeEntryPoint_()};HC.prototype.onReadyStateChangeEntryPoint_=function(){RNb(this)};
var RNb=function(a){if(a.active_&&"undefined"!=typeof dAb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())Nt(a.onReadyStateChange_,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.active_=!1;try{if(a.isSuccess())a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.lastErrorCode_=6;try{var b=2<a.getReadyState()?a.xhr_.statusText:""}catch(c){b=""}a.lastError_=b+" ["+a.getStatus()+"]";PNb(a)}}finally{QNb(a)}}},QNb=function(a,
b){if(a.xhr_){NNb(a);var c=a.xhr_,d=a.xhrOptions_[0]?function(){}:null;a.xhr_=null;a.xhrOptions_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},NNb=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(Ot(a.timeoutId_),a.timeoutId_=null)};g=HC.prototype;g.isActive=function(){return!!this.xhr_};g.isComplete=function(){return 4==this.getReadyState()};
g.isSuccess=function(){var a=this.getStatus();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}if(!b){if(a=0===a)a=String(this.lastUri_).match(zNb)[1]||null,!a&&da.self&&da.self.location&&(a=da.self.location.protocol.slice(0,-1)),a=!KNb.test(a?a.toLowerCase():"");b=a}return b};g.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};g.getStatus=function(){try{return 2<this.getReadyState()?this.xhr_.status:-1}catch(a){return-1}};
g.getLastUri=function(){return String(this.lastUri_)};g.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};g.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(da.JSON)try{var c=da.JSON.parse(a);break a}catch(d){}c=nNb(a)}return c}};
g.getResponse=function(){try{if(!this.xhr_)return null;if("response"in this.xhr_)return this.xhr_.response;switch(this.responseType_){case "":case "text":return this.xhr_.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.xhr_)return this.xhr_.mozResponseArrayBuffer}return null}catch(a){return null}};g.getResponseHeader=function(a){if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),null===a?void 0:a};
g.getAllResponseHeaders=function(){return this.xhr_&&2<=this.getReadyState()?this.xhr_.getAllResponseHeaders()||"":""};g.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!nm(b[c])){var d=$Cb(b[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=a[e]||[];a[e]=f;f.push(d)}}return Vba(a,function(h){return h.join(", ")})};var Ri=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};HC.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
HC.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};uLb(function(a){HC.prototype.onReadyStateChangeEntryPoint_=a(HC.prototype.onReadyStateChangeEntryPoint_)});var IC=function(a){Y.call(this,a,-1,SNb)};X(IC,Y);var SNb=[1];var JC=function(a){Y.call(this,a)};X(JC,Y);JC.prototype.getLocale=function(){return Db(this,5)};JC.prototype.setLocale=function(a){return k(this,5,a)};JC.prototype.setBuildLabel=function(a){k(this,7,a)};var TNb=["platform","platformVersion","architecture","model","uaFullVersion"];new IC;var KC=function(a){Y.call(this,a)};X(KC,Y);KC.prototype.getMutableJsClientInfo=function(){return sBb(this,JC,11)};var UNb=function(a){Y.call(this,a)};X(UNb,Y);g=UNb.prototype;g.getKey=function(){return Db(this,1)};g.hasKey=function(){return gm(this,1)};g.getValue=function(){return Db(this,2)};g.getValue_legacyNullable=function(){return Db(this,2)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return gm(this,2)};var LC=function(a){Y.call(this,a,33,VNb)};X(LC,Y);g=LC.prototype;g.getTag=function(){return Db(this,2)};g.getComponentId=function(){return Db(this,26)};g.setComponentId=function(a){return k(this,26,a)};g.hasComponentId=function(){return gm(this,26)};g.addValue=function(){return Jp(this,3,UNb)};var WNb=function(a,b){return k(a,8,b)};LC.prototype.getExperimentIds=function(){return wk(this,EC,16)};var MC=function(a,b){k(a,24,b)},VNb=[3,20,27];var NC=function(a){Y.call(this,a,17,XNb)};X(NC,Y);NC.prototype.getClientInfo=function(){return wk(this,KC,1)};NC.prototype.getMutableClientInfo=function(){return sBb(this,KC,1)};NC.prototype.setClientInfo=function(a){Ok(this,KC,1,a)};NC.prototype.setLogSource=function(a){return k(this,2,a)};var XNb=[3,5];var ZNb=function(a){Y.call(this,a,-1,YNb)};X(ZNb,Y);var YNb=[1];var OC=function(a){Y.call(this,a,6,$Nb)};X(OC,Y);OC.prototype.getExperiments=function(){return wk(this,ZNb,2)};OC.prototype.setExperiments=function(a){Ok(this,ZNb,2,a)};OC.prototype.hasExperiments=function(){return sl(this,ZNb,2)};var $Nb=[5];var aOb=function(a){Y.call(this,a)};X(aOb,Y);var bOb=Yb(175237375,{jsExtension:0},aOb,function(a){if(null!=a)return ac(a),{suggestedFlushIntervalMillis:gj(a,1,-1)}});var QC=function(a,b,c,d,e,f,h,l,q,u,x){Qq.call(this);var y=this;this.componentId_="";this.pendingEvents_=[];this.lastFailedAuth_="";this.useGetRequestForFinalFlush=this.useSendBeaconForFinalFlush=this.clientSideLogOnlyForDevelopment_=!1;this.noFlushUntilMs=this.startWaitingMs=-1;this.useConsistentTimezoneOffset=this.clientSpecifiedFlushInterval=!1;this.gzipCompressor_=this.experimentIds_=null;this.numLogsDroppedSinceLastFlush=0;this.sequencePosition_=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=
!1;Qq.call(this);this.logSource_=a;this.getAuthHeaderValue=b||function(){};this.logRequestBuilder=new PC(a,f);this.networkIOSend_=d;this.network_=x;this.bufferSize=1E3;this.uniformRandomFunction=Fu(OLb,0,1);this.clearcutUrl_=e||null;this.sessionIndex_=c||null;this.disableAutomaticFlush=h||!1;this.pageId=q||null;this.logger=null;this.withCredentials=!l;this.isServiceWorkerScope=f||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&(65<=ua("Chromium")||45<=ua("Firefox")||12<=ua("Safari")||ya()&&
kaa())&&!!uC()&&!!uC().navigator&&!!uC().navigator.sendBeacon;a=xBb(new KC,1,1);this.logRequestBuilder.setClientInfo(a);this.flushBackoff=new lNb(1E4);this.flushTimer=new DC(this.flushBackoff.getValue());dC(this,this.flushTimer);u=cOb(this,u);Rq(this.flushTimer,"tick",u,!1,this);this.backupTimer=new DC(6E5);dC(this,this.backupTimer);Rq(this.backupTimer,"tick",u,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(Rq(document,"visibilitychange",function(){"hidden"===
document.visibilityState&&y.finalFlush()}),Rq(document,"pagehide",this.finalFlush,!1,this))};X(QC,Qq);var cOb=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}};QC.prototype.disposeInternal=function(){this.finalFlush();Qq.prototype.disposeInternal.call(this)};QC.prototype.setClearcutUrl=function(a){this.clearcutUrl_=a};QC.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
var dOb=function(a){a.clearcutUrl_||(a.clearcutUrl_=.01>a.uniformRandomFunction()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.clearcutUrl_},RC=function(a,b){b instanceof LC?a.log(b):(b=WNb(new LC,b.serialize()),a.log(b))};g=QC.prototype;g.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};g.setComponentId=function(a){this.componentId_=a};
g.setOpaqueExperimentIds=function(a){this.experimentIds_||(this.experimentIds_=new EC);Lm(this.experimentIds_,2,a)};g.setClearExperimentIds=function(a){a?(this.experimentIds_||(this.experimentIds_=new EC),a=a.serialize(),k(this.experimentIds_,4,a)):this.experimentIds_&&Qu(this.experimentIds_,4)};g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment_=a};g.setGzipCompressor=function(a){this.gzipCompressor_=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};
g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;eOb(this,a)};var eOb=function(a,b){a.flushBackoff=new lNb(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
QC.prototype.log=function(a){a=a.clone();var b=this.sequencePosition_++;k(a,21,b);this.componentId_&&a.setComponentId(this.componentId_);if(!Db(a,1)){b=a;var c=Date.now().toString();k(b,1,c)}zm(a,15)||k(a,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));this.experimentIds_&&(b=this.experimentIds_.clone(),Ok(a,EC,16,b));for(;this.pendingEvents_.length>=this.bufferSize;)this.pendingEvents_.shift(),++this.numLogsDroppedSinceLastFlush;this.pendingEvents_.push(a);this.dispatchEvent(new fOb(a));
this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
QC.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents_.length)a&&a();else if(this.sendBeaconApiEnabled)gOb(this);else{var d=Date.now();if(this.noFlushUntilMs>d&&this.startWaitingMs<d)b&&b("throttled");else{var e=this.logRequestBuilder.build(this.pendingEvents_,this.numLogsDroppedSinceLastFlush);d={};var f=this.getAuthHeaderValue();f&&(d.Authorization=f);var h=dOb(this);this.sessionIndex_&&(d["X-Goog-AuthUser"]=this.sessionIndex_,h=GC(h,"authuser",this.sessionIndex_));this.pageId&&
(d["X-Goog-PageId"]=this.pageId,h=GC(h,"pageId",this.pageId));if(f&&this.lastFailedAuth_===f)b&&b("stale-auth-token");else if(this.pendingEvents_=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment_)a&&a();else{var l=e.serialize(),q;this.gzipCompressor_&&this.gzipCompressor_.getHiddenPropertyName_()&&(q=this.gzipCompressor_.compress(l));var u={url:h,body:l,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,
timeoutMillis:this.timeoutMillis},x=function(J){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(J){var M=null;try{var V=JSON.parse(J.replace(")]}'\n",""));M=new OC(V)}catch(U){}M&&(J=Number(kk(M,1,"-1")),0<J&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+J),M=M.getExtension(bOb))&&(M=gj(M,1,-1),-1!=M&&(c.clientSpecifiedFlushInterval||eOb(c,M)))}a&&a()},y=function(J,M){var V=fj(e,LC,3),U=c.flushBackoff;U.currBaseValue_=Math.min(3E5,2*U.currBaseValue_);
U.currValue_=Math.min(3E5,U.currBaseValue_+Math.round(.2*(Math.random()-.5)*U.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===J&&f&&(c.lastFailedAuth_=f);void 0===M&&(M=500<=J&&600>J||401===J||0===J);M&&(c.pendingEvents_=V.concat(c.pendingEvents_),c.disableAutomaticFlush||c.flushTimer.enabled||c.flushTimer.start());b&&b("net-send-failed",J)},G=function(){c.network_?c.network_.send(u,x,y):c.networkIOSend_(u,x,y)};q?q.then(function(J){u.requestHeaders["Content-Encoding"]=
"gzip";u.requestHeaders["Content-Type"]="application/binary";u.body=J;u.bodyType=2;G()},function(){G()}):G()}}}};QC.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment_||(this.useSendBeaconForFinalFlush&&gOb(this),this.useGetRequestForFinalFlush&&hOb(this),this.flush())};
var gOb=function(a){iOb(a,32,10,function(b,c){b=GC(b,"format","json");var d=!1;try{d=uC().navigator.sendBeacon(b,c.serialize())}catch(e){}a.sendBeaconApiEnabled&&!d&&(a.sendBeaconApiEnabled=!1);return d})},hOb=function(a){iOb(a,6,5,function(b,c){c=c.serialize();for(var d=[],e=0,f=0;f<c.length;f++){var h=c.charCodeAt(f);255<h&&(d[e++]=h&255,h>>=8);d[e++]=h}c=uaa(d,3);b=FC(b,"format","base64json","p",c);if(15360<b.length)return!1;(new Image).src=b;return!0})},iOb=function(a,b,c,d){if(0!==a.pendingEvents_.length){var e=
dOb(a);for(var f=e.search(HNb),h=0,l,q=[];0<=(l=GNb(e,h,"format",f));)q.push(e.substring(h,l)),h=Math.min(e.indexOf("&",l)+1||f,f);q.push(e.slice(h));e=q.join("").replace(JNb,"$1");e=FC(e,"auth",a.getAuthHeaderValue(),"authuser",a.sessionIndex_||"0");for(f=0;f<c&&a.pendingEvents_.length;++f){h=a.pendingEvents_.slice(0,b);l=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush);if(!d(e,l))break;a.numLogsDroppedSinceLastFlush=0;a.pendingEvents_=a.pendingEvents_.slice(h.length)}a.flushTimer.enabled&&
a.flushTimer.stop()}},fOb=function(){eC.call(this,"event-logged",void 0)};X(fOb,eC);var PC=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new NC;this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new KC)};PC.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};
PC.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);Db(a,1)||k(a,1,1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),wk(a,IC,9)||Ok(a,IC,9,this.uach))};PC.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};PC.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var jOb=function(a,b){var c=void 0===c?TNb:c;b(uC(),c).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();Ok(d,IC,9,a.uach);return!0}).catch(function(){return!1})};PC.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=wk(a,JC,11);b||(b=new JC,Ok(a,JC,11,b));return b};PC.prototype.build=function(a,b){b=void 0===b?0:b;var c=this.logRequest.clone();var d=Date.now().toString();c=k(c,4,d);a=Sb(c,3,a);b&&k(a,14,b);return a};g=Pma.prototype;g.setBuildLabel=function(a){this.buildLabel_=a};g.setGzipCompressor=function(a){this.gzipCompressor_=a};g.setComponentId=function(a){this.componentId_=a;return this};g.setClearExperimentIds=function(a){this.clearExperimentIds_=a};g.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds_=a};g.setClearcutClientInfo=function(a){this.clearcutClientInfo_=a};g.useSendBeaconForFinalFlush=function(){this.useSendBeaconForFinalFlush_=!0;return this};
g.useGetRequestForFinalFlush=function(){this.useGetRequestForFinalFlush_=!0;return this};g.setFlushIntervalMs=function(a){this.flushIntervalMs_=Math.max(a,5E3)};g.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
g.build=function(){var a=new QC(this.logSource_,this.getAuthHeaderValue_?this.getAuthHeaderValue_:sq,this.sessionIndex_,this.networkIOSend_,this.destinationUrl_,this.enableServiceWorkerScope_,!1,this.disableWithCredentials_,void 0,void 0,this.network_?this.network_:void 0);this.clearcutClientInfo_&&a.setClearcutClientInfo(this.clearcutClientInfo_);this.buildLabel_&&a.setBuildLabel(this.buildLabel_);this.gzipCompressor_&&a.setGzipCompressor(this.gzipCompressor_);this.componentId_&&a.setComponentId(this.componentId_);
this.clearExperimentIds_&&a.setClearExperimentIds(this.clearExperimentIds_);this.opaqueExperimentIds_&&a.setOpaqueExperimentIds(this.opaqueExperimentIds_);this.useSendBeaconForFinalFlush_&&(a.useSendBeaconForFinalFlush=this.useSendBeaconForFinalFlush_&&a.isSendBeaconSupported);this.useGetRequestForFinalFlush_&&(a.useGetRequestForFinalFlush=this.useGetRequestForFinalFlush_);this.flushIntervalMs_&&a.setFlushIntervalMs(this.flushIntervalMs_);this.enableSendBeaconApi_&&(a.sendBeaconApiEnabled=a.isSendBeaconSupported);
this.userAgentClientHintsProvider_&&jOb(a.logRequestBuilder,this.userAgentClientHintsProvider_);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);return a};var kOb=function(a,b,c,d,e,f){a=void 0===a?-1:a;b=void 0===b?"":b;c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;f?c=f:(f=(new Pma(a)).setComponentId(b),""!=c&&(f.destinationUrl_=c),d&&(f.enableServiceWorkerScope_=!0),e&&f.setBuildLabel(e),c=f.build());this.logSource_=a;this.componentId_=b;this.transport_=c};kOb.prototype.getComponentId=function(){return this.componentId_};
kOb.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new aNb,c=[],d=0;d<a.length;d++){var e=a[d],f=e;var h=new ZMb;h=k(h,1,f.metricName_);for(var l=f,q=[],u=0;u<l.fields_.length;u++)q.push(l.fields_[u].field_name);h=sk(h,3,q);l=[];q=[];u=m(f.cellMap_.keys());for(var x=u.next();!x.done;x=u.next())q.push(x.value.split(","));for(u=0;u<q.length;u++){x=q[u];var y=f.cellType_;for(var G=f.getCells(x)||[],J=[],M=0;M<G.length;M++){var V=G[M];V=V&&V.cellValue_;var U=new UMb;switch(y){case 3:Zj(U,
1,VMb,Number(V));break;case 2:Zj(U,2,VMb,tb(Number(V)))}J.push(U)}y=J;for(G=0;G<y.length;G++){J=y[G];M=new XMb;J=Ok(M,UMb,2,J);M=x;V=[];U=f;for(var W=[],ba=0;ba<U.fields_.length;ba++)W.push(U.fields_[ba].field_type);U=W;for(W=0;W<U.length;W++){ba=U[W];var pa=M[W],na=new SMb;switch(ba){case 3:Zj(na,1,TMb,String(pa));break;case 2:Zj(na,2,TMb,Number(pa));break;case 1:Zj(na,3,TMb,"true"==pa)}V.push(na)}Sb(J,1,V);l.push(J)}}Sb(h,4,l);c.push(h);e.clear()}Sb(b,1,c);RC(this.transport_,b);this.transport_.flush()}};var lOb=new Ud("PRODUCTION_WHITELIST",{factory:function(){return"g3g-sidebar mdkmkbpoljeogkhbjlehikpbpdmfaopg dcdkpimnclfoiknojhlfjhinjmiclmeo devfuse.corp.google.com g3c.corp.google.com taskflow.corp.google.com partnerdash.google.com fusion2.corp.google.com b.corp.google.com buganizer.corp.google.com critique-ng.corp.google.com critique.corp.google.com source.corp.google.com coreiq.corp.google.com perfgate.googleplex.com bugobserver.corp.google.com launch.corp.google.com prod.google.com analog-ng.corp.google.com pprofng.corp.google.com".split(" ")}}),
mOb=new Ud("STREAMZ_PRODUCT_IDENTIFIER"),nOb=new Ud("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return Zc(Yf).runOutsideAngular(function(){var a=new kOb(1503);a=new LMb(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);return a})}}),SC=function(a,b,c,d){this.streamzService=a;this.zone=b;this.productionWhitelist=c;this.oneDeveloperWorkflowUsageMetrics=new OMb(this.streamzService);new PMb(this.streamzService);new QMb(this.streamzService);new RMb(this.streamzService);
this.productIdentifier=d||window.location.hostname};SC.prototype.logUsageMetric=function(a,b){var c=this;this.zone.runOutsideAngular(function(){oOb(c)&&c.oneDeveloperWorkflowUsageMetrics.increment(a,c.productIdentifier,b)})};var oOb=function(a){return a.productionWhitelist.some(function(b){return a.productIdentifier.includes(b)})};SC.\u0275fac=function(a){return new (a||SC)(n(nOb),n(Yf),n(lOb),n(mOb,8))};SC.\u0275prov=Pc({token:SC,factory:SC.\u0275fac,providedIn:"root"});var pOb=new Ud("Feature Tooltip Controller Config"),TC=function(a,b,c){this.config=a;this.keyValueStore=b;this.injector=c;this.clientStreamzService=this.config.enableUsageTracking?this.injector.get(SC):void 0;this.lastTooltipKey="onedev.lastTooltipTime."+this.config.productName;var d;this.config.shownMetricName=null!=(d=this.config.shownMetricName)?d:"tooltipShown";var e;this.config.hiddenMetricName=null!=(e=this.config.hiddenMetricName)?e:"tooltipHidden"},qOb=function(a){return a.keyValueStore.getValue(a.lastTooltipKey).pipe(B(function(b){return null===
b?!0:(new Date).getTime()-b>=a.config.cooldownMilliseconds}))};TC.prototype.hideTooltip=function(a){var b;null==(b=this.clientStreamzService)||b.logUsageMetric(this.config.hiddenMetricName,!0);(0,T.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(UC(this,a),"HIDDEN")]).pipe(If())};
var rOb=function(a,b){a.keyValueStore.getValue(UC(a,b)).pipe(sf(function(c){return"SHOWING"!==c})).subscribe(function(){a.keyValueStore.setValue(UC(a,b),"HIDDEN")})},VC=function(a,b,c){var d=c.map(function(e){return UC(a,e)});return a.keyValueStore.getValues(d).pipe(B(function(e){return sOb(a,b,c,e)}))};
TC.prototype.showTooltip=function(a){var b;null==(b=this.clientStreamzService)||b.logUsageMetric(this.config.shownMetricName,!0);(0,T.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(UC(this,a),"SHOWING")]).pipe(If())};var sOb=function(a,b,c,d){return c.filter(function(e){e=d.get(UC(a,e));return e===b||"UNSEEN"===b&&null===e})},UC=function(a,b){return"onedev.tooltips."+a.config.productName+"."+b};
TC.\u0275fac=function(a){return new (a||TC)(n(pOb),n($B),n(Fv))};TC.\u0275prov=Pc({token:TC,factory:TC.\u0275fac,providedIn:ZB});var WC=function(a){var b=this;this.featureTooltipService=a;this.showTooltip$=(0,T.of)(void 0);this.destroyed$=new T.ReplaySubject;this.getCurrentlyShowingTooltips=function(){return VC(b.featureTooltipService,"SHOWING",tOb(b))}};
WC.prototype.ngAfterContentInit=function(){var a=this,b=this.showTooltip$.pipe(Qf(this.getCurrentlyShowingTooltips),Qf(function(c){return 0<c.length?(0,T.of)(c[0]):(0,T.of)(void 0).pipe(uOb(a),vOb(a))}),B(function(c){return wOb(a,c)}),sf(function(c){return!!c}),B(function(c){return c}),Nf({bufferSize:1,refCount:!0}));xOb(this,b);b.pipe(Rf(this.destroyed$)).subscribe(function(c){c.open$.next();a.featureTooltipService.showTooltip(c.tooltipId)})};WC.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var uOb=function(a){return(0,T.pipe)(Qf(function(){return qOb(a.featureTooltipService)}),sf(T.identity))},vOb=function(a){return(0,T.pipe)(Qf(function(){return VC(a.featureTooltipService,"UNSEEN",tOb(a))}),sf(function(b){return 0<b.length}),B(function(b){return b[0]}))},xOb=function(a,b){b.pipe(Qf(function(c){return c.dismiss.pipe(If(c.tooltipId))}),Rf(a.destroyed$)).subscribe(function(c){a.featureTooltipService.hideTooltip(c)})},tOb=function(a){return a.tooltips.map(function(b){return b.tooltipId})},
wOb=function(a,b){return a.tooltips.find(function(c){return c.tooltipId===b})};WC.\u0275fac=function(a){return new (a||WC)(A(TC))};WC.\u0275cmp=r({type:WC,selectors:[["onedev-feature-tooltip-controller"]],contentQueries:function(a,b,c){a&1&&Tg(c,XB,4);if(a&2){var d;Rg(d=Ug())&&(b.tooltips=d)}},inputs:{showTooltip$:"showTooltip$"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var XC=function(a,b){this.anchorService=a;this.element=b;this.hideTooltipWhenAnchorNotVisible=!1};XC.prototype.ngOnInit=function(){var a=this;this.hideTooltipWhenAnchorNotVisible?(this.intersectionObserver=new IntersectionObserver(function(b){m(b).next().value.isIntersecting?bLb(a.anchorService,a.tooltipId,a.element):cLb(a.anchorService,a.tooltipId)}),this.intersectionObserver.observe(this.element.nativeElement)):bLb(this.anchorService,this.tooltipId,this.element)};
XC.prototype.ngOnDestroy=function(){cLb(this.anchorService,this.tooltipId);var a;null==(a=this.intersectionObserver)||a.disconnect()};XC.\u0275fac=function(a){return new (a||XC)(A(RB),A(Yd))};XC.\u0275dir=r({type:XC,selectors:[["","onedevTooltipAnchor",""]],inputs:{tooltipId:["onedevTooltipAnchor","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible"}});var YC=function(a,b,c){var d=this;this.featureTooltipService=a;this.renderer=b;this.elementRef=c;this.preventTooltipFromShowing=function(){rOb(d.featureTooltipService,d.tooltipId)}};YC.prototype.ngOnInit=function(){this.unsubscribeFromEvent||(this.event="click")};YC.prototype.ngOnDestroy=function(){var a;null==(a=this.unsubscribeFromEvent)||a.call(this)};
Ei.Object.defineProperties(YC.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){var b;null==(b=this.unsubscribeFromEvent)||b.call(this);this.unsubscribeFromEvent=this.renderer.listen(this.elementRef.nativeElement,a,this.preventTooltipFromShowing)}}});YC.\u0275fac=function(a){return new (a||YC)(A(TC),A(Jv),A(Yd))};YC.\u0275dir=r({type:YC,selectors:[["","onedevTooltipPreventer",""]],inputs:{tooltipId:["onedevTooltipPreventer","tooltipId"],event:["onedevPreventTooltipOn","event"]}});var yOb=new Ud("TooltipAnchor"),zOb=new Ud("TooltipPeventer"),ZC=function(a,b,c,d,e,f){this.featureTooltipService=a;this.anchorService=b;this.elementRef=c;this.renderer=d;this.anchorClass=e;this.preventerClass=f;this.tooltipPreventer=new this.preventerClass(this.featureTooltipService,this.renderer,this.elementRef);this.tooltipAnchor=new this.anchorClass(this.anchorService,this.elementRef)};ZC.prototype.ngOnInit=function(){this.tooltipPreventer.ngOnInit();this.tooltipAnchor.ngOnInit()};
ZC.prototype.ngOnDestroy=function(){this.tooltipPreventer.ngOnDestroy();this.tooltipAnchor.ngOnDestroy()};Ei.Object.defineProperties(ZC.prototype,{tooltipId:{configurable:!0,enumerable:!0,set:function(a){this.tooltipPreventer.tooltipId=a;this.tooltipAnchor.tooltipId=a}},hideTooltipWhenAnchorNotVisible:{configurable:!0,enumerable:!0,set:function(a){this.tooltipAnchor.hideTooltipWhenAnchorNotVisible=a}},event:{configurable:!0,enumerable:!0,set:function(a){this.tooltipPreventer.event=a}}});
ZC.\u0275fac=function(a){return new (a||ZC)(A(TC),A(RB),A(Yd),A(Jv),A(yOb),A(zOb))};ZC.\u0275dir=r({type:ZC,selectors:[["","onedevFeatureTooltip",""]],inputs:{tooltipId:["onedevFeatureTooltip","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible",event:["onedevPreventTooltipOn","event"]},features:[Dg([{provide:yOb,useValue:XC},{provide:zOb,useValue:YC}])]});var $C=function(){this.className="gmat-subtitle-1 tooltip-title"};$C.\u0275fac=function(a){return new (a||$C)};$C.\u0275dir=r({type:$C,selectors:[["","onedevTooltipTitle",""]],hostVars:2,hostBindings:function(a,b){a&2&&qg(b.className)}});var AOb=$h("transformMenu",[ci("void",bi({opacity:0,transform:"scale(0.8)"})),di("void => enter",ai("120ms cubic-bezier(0, 0, 0.2, 1)",bi({opacity:1,transform:"scale(1)"}))),di("* => void",ai("100ms 25ms linear",bi({opacity:0})))]),BOb=$h("fadeInItems",[ci("showing",bi({opacity:1})),di("void => *",[bi({opacity:0}),ai("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var COb=new Ud("MatMenuContent"),aD=function(a,b,c,d,e,f,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=f;this._changeDetectorRef=h;this._attached=new T.Subject};
aD.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new qy(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new sy(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var b=this._template.elementRef.nativeElement;b.parentNode.insertBefore(this._outlet.outletElement,b);var c;null==(c=this._changeDetectorRef)||c.markForCheck();this._portal.attach(this._outlet,a);this._attached.next()};
aD.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};aD.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};aD.\u0275fac=function(a){return new (a||aD)(A(Og),A(Gv),A(Tw),A(Fv),A(Pg),A(Ci),A(Vw))};aD.\u0275dir=r({type:aD});var DOb=new Ud("MAT_MENU_PANEL");var EOb=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],FOb=Gi(Hi(function(){})),bD=function(a,b,c,d,e){var f=FOb.call(this)||this;f._elementRef=a;f._document=b;f._focusMonitor=c;f._parentMenu=d;f._changeDetectorRef=e;f.role="menuitem";f._hovered=new T.Subject;f._focused=new T.Subject;f._highlighted=!1;f._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,f);return f};X(bD,FOb);g=bD.prototype;
g.focus=function(a,b){this._focusMonitor&&a?my(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};g.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};g.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._elementRef.nativeElement};g._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};g._handleMouseEnter=function(){this._hovered.next(this)};g.getLabel=function(){for(var a=this._elementRef.nativeElement.cloneNode(!0),b=a.querySelectorAll("mat-icon, .material-icons"),c=0;c<b.length;c++)b[c].remove();var d;return(null==(d=a.textContent)?void 0:d.trim())||""};
g._setHighlighted=function(a){this._highlighted=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};bD.\u0275fac=function(a){return new (a||bD)(A(Yd),A(Ci),A(ly),A(DOb,8),A(Vw))};
bD.\u0275cmp=r({type:bD,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(a,b){a&1&&K("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(dg("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),pg("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[$f],attrs:["mat-menu-item",""],ngContentSelectors:["mat-icon, [matMenuItemIcon]","*"],decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points",
"0,0 5,5 0,10"]],template:function(a,b){a&1&&(wg(EOb),xg(0),D(1,"span",0),xg(2,1),E(),F(3,"div",1),O(4,Qma,2,0,"svg",2));a&2&&(z(3),C("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),C("ngIf",b._triggersSubmenu))},dependencies:[bx,qA],encapsulation:2,changeDetection:0});var GOb=0,HOb=new Ud("mat-menu-default-options",{providedIn:"root",factory:Rma}),cD=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._defaultOptions=c;this._changeDetectorRef=d;this._xPosition=this._defaultOptions.xPosition;this._yPosition=this._defaultOptions.yPosition;this._directDescendantItems=new Vg;this._classList={};this._panelAnimationState="void";this._animationDone=new T.Subject;this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"";this.backdropClass=this._defaultOptions.backdropClass;
this._overlapTrigger=this._defaultOptions.overlapTrigger;this._hasBackdrop=this._defaultOptions.hasBackdrop;this.close=this.closed=new vw;this.panelId="mat-menu-panel-"+GOb++};g=cD.prototype;g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=wz(mIb(uz(new Az(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(Pf(this._directDescendantItems),Qf(function(b){return T.merge.apply(null,p(b.map(function(c){return c._focused})))})).subscribe(function(b){return xz(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,
d;"enter"===a._panelAnimationState&&(null==(d=c.activeItem)?0:d._hasFocus())&&(b=b.toArray(),d=Math.max(0,Math.min(b.length-1,c.activeItemIndex||0)),b[d]&&!b[d].disabled?c.setActiveItem(d):c.setNextItemActive())})};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;null==(b=this._firstItemFocusSubscription)||b.unsubscribe()};
g._hovered=function(){return this._directDescendantItems.changes.pipe(Pf(this._directDescendantItems),Qf(function(a){return T.merge.apply(null,p(a.map(function(b){return b._hovered})))}))};g.addItem=function(){};g.removeItem=function(){};
g._handleKeydown=function(a){var b=a.keyCode,c=this._keyManager;switch(b){case 27:Qh(a)||(a.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:if(38===b||40===b)c._origin="keyboard";c.onKeydown(a);return}a.stopPropagation()};
var IOb=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusSubscription)||c.unsubscribe();a._firstItemFocusSubscription=a._ngZone.onStable.pipe(Ef()).subscribe(function(){var d=null;a._directDescendantItems.length&&(d=a._directDescendantItems.first._getHostElement().closest('[role="menu"]'));if(!d||!d.contains(document.activeElement)){var e=a._keyManager;e._origin=b;yz(e);!e.activeItem&&d&&d.focus()}})};g=cD.prototype;
g.setElevation=function(a){var b=this;a=this._elevationPrefix+Math.min(this._baseElevation+a,24);var c=Object.keys(this._classList).find(function(d){return d.startsWith(b._elevationPrefix)});c&&c!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)};
g.setPositionClasses=function(a,b){a=void 0===a?this.xPosition:a;b=void 0===b?this.yPosition:b;var c=this._classList;c["mat-menu-before"]="before"===a;c["mat-menu-after"]="after"===a;c["mat-menu-above"]="above"===b;c["mat-menu-below"]="below"===b;var d;null==(d=this._changeDetectorRef)||d.markForCheck()};g._startAnimation=function(){this._panelAnimationState="enter"};g._resetAnimation=function(){this._panelAnimationState="void"};
g._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};g._onAnimationStart=function(a){this._isAnimating=!0;"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)};g._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(Pf(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));Qg(a._directDescendantItems)})};
Ei.Object.defineProperties(cD.prototype,{xPosition:{configurable:!0,enumerable:!0,get:function(){return this._xPosition},set:function(a){this._xPosition=a;this.setPositionClasses()}},yPosition:{configurable:!0,enumerable:!0,get:function(){return this._yPosition},set:function(a){this._yPosition=a;this.setPositionClasses()}},overlapTrigger:{configurable:!0,enumerable:!0,get:function(){return this._overlapTrigger},set:function(a){this._overlapTrigger=Kh(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=Kh(a)}},panelClass:{configurable:!0,enumerable:!0,set:function(a){var b=this,c=this._previousPanelClass;c&&c.length&&c.split(" ").forEach(function(d){b._classList[d]=!1});(this._previousPanelClass=a)&&a.length&&(a.split(" ").forEach(function(d){b._classList[d]=!0}),this._elementRef.nativeElement.className="")}},classList:{configurable:!0,enumerable:!0,get:function(){return this.panelClass},set:function(a){this.panelClass=a}}});
cD.\u0275fac=function(a){return new (a||cD)(A(Yd),A(Yf),A(HOb),A(Vw))};
cD.\u0275dir=r({type:cD,contentQueries:function(a,b,c){a&1&&(Tg(c,COb,5),Tg(c,bD,5),Tg(c,bD,4));if(a&2){var d;Rg(d=Ug())&&(b.lazyContent=d.first);Rg(d=Ug())&&(b._allItems=d);Rg(d=Ug())&&(b.items=d)}},viewQuery:function(a,b){a&1&&Sg(Og,5);if(a&2){var c;Rg(c=Ug())&&(b.templateRef=c.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",
overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}});var JOb=new Ud("mat-menu-scroll-strategy"),KOb={provide:JOb,deps:[cA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},LOb=Dh({passive:!0}),dD=function(a,b,c,d,e,f,h,l,q){var u=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=f;this._dir=h;this._focusMonitor=l;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=T.Subscription.EMPTY;this._changeDetectorRef=
Zc(Vw);this._handleTouchStart=function(x){Ph(x)||(u._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new vw;this.onMenuClose=this.menuClosed=new vw;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof cD?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,LOb)};dD.prototype.ngAfterContentInit=function(){this._handleHover()};
dD.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,LOb);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var eD=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=dD.prototype;
g.openMenu=function(){var a=this,b=this.menu;if(!this._menuOpen&&b){var c=this._createOverlay(b),d=c.getConfig(),e=d.positionStrategy;this._setPosition(b,e);d.hasBackdrop=null==b.hasBackdrop?!eD(this):b.hasBackdrop;c.attach(this._getPortal(b));b.lazyContent&&b.lazyContent.attach(this.menuData);this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return a.closeMenu()});this._initMenu(b);b instanceof cD&&(b._startAnimation(),b._directDescendantItems.changes.pipe(Rf(b.close)).subscribe(function(){EIb(IIb(e,
!1));IIb(e,!0)}))}};g.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?my(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.updatePosition=function(){var a;null==(a=this._overlayRef)||a.updatePosition()};
g._destroyMenu=function(a){var b=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe();this._overlayRef.detach();!this.restoreFocus||"keydown"!==a&&this._openedBy&&eD(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof cD)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(sf(function(e){return"void"===e.toState}),Ef(),Rf(c.lazyContent._attached)).subscribe({next:function(){return c.lazyContent.detach()},complete:function(){return b._setIsMenuOpen(!1)}}):
this._setIsMenuOpen(!1);else{this._setIsMenuOpen(!1);var d;null==c||null==(d=c.lazyContent)||d.detach()}}};g._initMenu=function(a){a.parentMenu=eD(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);IOb(a,this._openedBy||"program");this._setIsMenuOpen(!0)};g._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
g._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),eD(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};g._createOverlay=function(a){if(!this._overlayRef){var b=this._getOverlayConfig(a);this._subscribeToPositions(a,b.positionStrategy);this._overlayRef=this._overlay.create(b);this._overlayRef.keydownEvents().subscribe()}return this._overlayRef};
g._getOverlayConfig=function(a){return new Vz({positionStrategy:JIb(GIb(IIb(bA(this._overlay.position(),this._element))),".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e="start"===d.connectionPair.overlayX?"after":"before",f="top"===d.connectionPair.overlayY?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,f)}):a.setPositionClasses(e,f)})};
g._setPosition=function(a,b){var c=m("before"===a.xPosition?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=m("above"===a.yPosition?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=m([f,e]),l=h.next().value;h=h.next().value;var q=m([d,c]),u=q.next().value;q=q.next().value;var x=0;eD(this)?(q=d="before"===a.xPosition?"start":"end",c=u="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),x="bottom"===f?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l="top"===f?"bottom":"top",h="top"===e?"bottom":"top");Yz(b,[{originX:d,originY:l,overlayX:u,overlayY:f,offsetY:x},{originX:c,originY:l,overlayX:q,overlayY:f,offsetY:x},{originX:d,originY:h,overlayX:u,overlayY:e,offsetY:-x},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-x}])};
g._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,T.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(sf(function(f){return f!==a._menuItemInstance}),sf(function(){return a._menuOpen})):(0,T.of)();return(0,T.merge)(b,d,e,c)};g._handleMousedown=function(a){Oh(a)||(this._openedBy=0===a.button?"mouse":void 0,eD(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";eD(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){eD(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;eD(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(sf(function(b){return b===a._menuItemInstance&&!b.disabled}),Cf(0,T.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof cD&&a.menu._isAnimating?a.menu._animationDone.pipe(Ef(),Cf(0,T.asapScheduler),Rf(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new qy(a.templateRef,this._viewContainerRef));return this._portal};
Ei.Object.defineProperties(dD.prototype,{_deprecatedMatMenuTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.menu},set:function(a){this.menu=a}},menu:{configurable:!0,enumerable:!0,get:function(){return this._menu},set:function(a){var b=this;if(a!==this._menu){this._menu=a;this._menuCloseSubscription.unsubscribe();a&&(this._menuCloseSubscription=a.close.subscribe(function(d){b._destroyMenu(d);"click"!==d&&"tab"!==d||!b._parentMaterialMenu||b._parentMaterialMenu.closed.emit(d)}));
var c;null==(c=this._menuItemInstance)||c._setTriggersSubmenu(eD(this))}}},menuOpen:{configurable:!0,enumerable:!0,get:function(){return this._menuOpen}},dir:{configurable:!0,enumerable:!0,get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}});dD.\u0275fac=function(a){return new (a||dD)(A(cA),A(Yd),A(Pg),A(JOb),A(DOb,8),A(bD,10),A(Bz,8),A(ly),A(Yf))};
dD.\u0275dir=r({type:dD,hostVars:3,hostBindings:function(a,b){a&1&&K("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&dg("aria-haspopup",b.menu?"menu":null)("aria-expanded",b.menuOpen)("aria-controls",b.menuOpen?b.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData",
"menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}});var fD=function(){aD.apply(this,arguments)};X(fD,aD);fD.\u0275fac=function(){var a;return function(b){return(a||(a=Od(fD)))(b||fD)}}();fD.\u0275dir=r({type:fD,selectors:[["ng-template","matMenuContent",""]],features:[Dg([{provide:COb,useExisting:fD}]),$f]});var gD=function(){return bD.apply(this,arguments)||this};X(gD,bD);gD.\u0275fac=function(){var a;return function(b){return(a||(a=Od(gD)))(b||gD)}}();
gD.\u0275cmp=r({type:gD,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(a,b){a&2&&(dg("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null),pg("mat-menu-item",!0)("mat-menu-item-highlighted",b._highlighted)("mat-menu-item-submenu-trigger",b._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",
!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[Dg([{provide:bD,useExisting:gD}]),$f],attrs:["mat-menu-item",""],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(a,b){a&1&&(wg(),
xg(0),F(1,"div",0),O(2,Sma,2,0,"svg",1));a&2&&(z(1),C("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),C("ngIf",b._triggersSubmenu))},dependencies:[bx,qA],encapsulation:2,changeDetection:0});var hD=function(){dD.apply(this,arguments)};X(hD,dD);hD.\u0275fac=function(){var a;return function(b){return(a||(a=Od(hD)))(b||hD)}}();hD.\u0275dir=r({type:hD,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[$f]});var iD=function(a,b,c,d){cD.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};X(iD,cD);iD.\u0275dir=cD.\u0275dir;iD.\u0275fac=function(a){return new (a||iD)(A(Yd),A(Yf),A(HOb),A(Vw))};
iD.\u0275cmp=r({type:iD,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(a){a&2&&dg("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Dg([{provide:DOb,useExisting:iD}]),$f],ngContentSelectors:["*"],decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(a){a&1&&(wg(),O(0,Tma,3,6,"ng-template"))},dependencies:[$w],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,data:{animation:[AOb,BOb]},changeDetection:0});var jD=function(){};jD.\u0275fac=function(a){return new (a||jD)};jD.\u0275mod=fd({type:jD});jD.\u0275inj=Qc({providers:[KOb],imports:[px,gA,tA,fA,Sz,gA]});var MOb=["tooltip"],NOb=new Ud("mat-tooltip-scroll-strategy"),OOb={provide:NOb,deps:[cA],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},POb=new Ud("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),QOb=Dh({passive:!0}),kD=function(a,b,c,d,e,f,h,l,q,u,x,y){var G=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=
f;this._ariaDescriber=h;this._focusMonitor=l;this._dir=u;this._defaultOptions=x;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._viewportMargin=8;this._cssClassPrefix="mat";this._showDelay=this._defaultOptions.showDelay;this._hideDelay=this._defaultOptions.hideDelay;this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new T.Subject;this._scrollStrategy=q;this._document=y;x&&(x.position&&(this.position=
x.position),x.positionAtOrigin&&(this.positionAtOrigin=x.positionAtOrigin),x.touchGestures&&(this.touchGestures=x.touchGestures));u.change.pipe(Rf(this._destroyed)).subscribe(function(){G._overlayRef&&G._updatePosition(G._overlayRef)})};g=kD.prototype;
g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Rf(this._destroyed)).subscribe(function(b){b?"keyboard"===b&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=m(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,QOb)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();pz(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.show=function(a,b){var c=this;a=void 0===a?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;null==(d=this._tooltipInstance)||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new py(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b._onHide.pipe(Rf(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=void 0===a?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof Yd)return this._overlayRef;this._detach()}c=uIb(this._scrollDispatcher,this._elementRef);a=FIb(Zz($z(JIb(bA(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Rf(this._destroyed)).subscribe(function(e){b._updateCurrentPositionClass(e.connectionPair);
b._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&b._tooltipInstance.isVisible()&&b._ngZone.run(function(){return b.hide(0)})});this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:this._cssClassPrefix+"-tooltip-panel",scrollStrategy:this._scrollStrategy()});this._updatePosition(this._overlayRef);this._overlayRef._detachments.pipe(Rf(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Rf(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Rf(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!Qh(e)&&(e.preventDefault(),e.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var d;(null==(d=this._defaultOptions)?0:d.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(this._cssClassPrefix+"-tooltip-panel-non-interactive");return this._overlayRef};
g._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};g._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();Yz(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};g._addOffset=function(a){return a};
g._getOrigin=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b||"below"==b)var c={originX:"center",originY:"above"==b?"top":"bottom"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={originX:"start",originY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={originX:"end",originY:"center"};a=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:a.x,originY:a.y}}};
g._getOverlayPosition=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b)var c={overlayX:"center",overlayY:"bottom"};else if("below"==b)c={overlayX:"center",overlayY:"top"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={overlayX:"end",overlayY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={overlayX:"start",overlayY:"center"};a=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:a.x,overlayY:a.y}}};
g._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ef(),Rf(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){"above"===this.position||"below"===this.position?"top"===b?b="bottom":"bottom"===b&&(b="top"):"end"===a?a="start":"start"===a&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b="center"===b?this._dir&&"rtl"===this._dir.value?"end"===c?"left":"right":"start"===c?"left":"right":"bottom"===b&&"top"===a?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;void 0!==b.x&&void 0!==b.y&&(c=b);a.show(void 0,c)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=null==(c=b.targetTouches)?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();clearTimeout(a._touchstartTimeout);a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&(null==(e=a._overlayRef)?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var c=function(){clearTimeout(a._touchstartTimeout);a.hide(a._defaultOptions.touchendHideDelay)};
b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,p(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=m(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,QOb)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if("off"!==a){var b=this._elementRef.nativeElement,c=b.style;if("on"===a||"INPUT"!==b.nodeName&&"TEXTAREA"!==b.nodeName)c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";"on"!==a&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
Ei.Object.defineProperties(kD.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){if(a!==this._position&&(this._position=a,this._overlayRef)){this._updatePosition(this._overlayRef);var b;null==(b=this._tooltipInstance)||b.show(0);this._overlayRef.updatePosition()}}},positionAtOrigin:{configurable:!0,enumerable:!0,get:function(){return this._positionAtOrigin},set:function(a){this._positionAtOrigin=Kh(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Kh(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=Nh(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=Nh(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;pz(this._ariaDescriber,this._elementRef.nativeElement,this._message,"tooltip");this._message=null!=a?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){gIb(b._ariaDescriber,b._elementRef.nativeElement,b.message,"tooltip")})}))}},tooltipClass:{configurable:!0,enumerable:!0,
get:function(){return this._tooltipClass},set:function(a){this._tooltipClass=a;this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}});kD.\u0275fac=function(){be()};
kD.\u0275dir=r({type:kD,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}});
var mD=function(a,b,c,d,e,f,h,l,q,u,x,y){kD.call(this,a,b,c,d,e,f,h,l,q,u,x,y);this._tooltipComponent=lD;this._cssClassPrefix="mat-mdc";this._viewportMargin=8};X(mD,kD);mD.prototype._addOffset=function(a){var b=!this._dir||"ltr"==this._dir.value;"top"===a.originY?a.offsetY=-8:"bottom"===a.originY?a.offsetY=8:"start"===a.originX?a.offsetX=b?-8:8:"end"===a.originX&&(a.offsetX=b?8:-8);return a};
mD.\u0275fac=function(a){return new (a||mD)(A(cA),A(Yd),A(Lz),A(Pg),A(Yf),A(cy),A(oz),A(ly),A(NOb),A(Bz,8),A(POb,8),A(Ci))};mD.\u0275dir=r({type:mD,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[$f]});var nD=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new T.Subject;this._animationsDisabled="NoopAnimations"===b};g=nD.prototype;
g.show=function(a){var b=this;clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};g.hide=function(a){var b=this;clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};g.isVisible=function(){return this._isVisible};g.ngOnDestroy=function(){this._cancelPendingAnimations();this._onHide.complete();this._triggerElement=null};
g._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};g._handleMouseLeave=function(a){(a=a.relatedTarget)&&this._triggerElement.contains(a)||(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))};g._onShow=function(){};g._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};
g._cancelPendingAnimations=function(){clearTimeout(this._showTimeoutId);clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};g._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
g._toggleVisibility=function(a){var b=this._tooltip.nativeElement,c=this._showAnimation,d=this._hideAnimation;b.classList.remove(a?d:c);b.classList.add(a?c:d);(this._isVisible=a)&&!this._animationsDisabled&&"function"===typeof getComputedStyle&&(c=getComputedStyle(b),"0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
nD.\u0275fac=function(a){return new (a||nD)(A(Vw),A(Ov,8))};nD.\u0275dir=r({type:nD});var lD=function(a,b,c){nD.call(this,a,c);this._elementRef=b;this._isMultiline=!1;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide"};X(lD,nD);lD.\u0275dir=nD.\u0275dir;lD.prototype._onShow=function(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
lD.prototype._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return 24<a.height&&200<=a.width};lD.\u0275fac=function(a){return new (a||lD)(A(Vw),A(Yd),A(Ov,8))};
lD.\u0275cmp=r({type:lD,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Sg(MOb,7);if(a&2){var c;Rg(c=Ug())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&K("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&og("zoom",b.isVisible()?1:null)},features:[$f],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],
template:function(a,b){a&1&&(D(0,"div",0,1),K("animationend",function(c){return b._handleAnimationEnd(c)}),D(2,"div",2),P(3),E()());a&2&&(pg("mdc-tooltip--multiline",b._isMultiline),C("ngClass",b.tooltipClass),z(3),Bg(b.message))},dependencies:[$w],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\n'],
encapsulation:2,changeDetection:0});var oD=function(){};oD.\u0275fac=function(a){return new (a||oD)};oD.\u0275mod=fd({type:oD});oD.\u0275inj=Qc({providers:[OOb],imports:[nz,px,fA,gA,gA,Sz]});/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
 @type {{XSmall: string, Small: string, Medium: string, Large: string, XLarge: string, Handset: string, Tablet: string, Web: string, HandsetPortrait: string, TabletPortrait: string, WebPortrait: string, HandsetLandscape: string, TabletLandscape: string, WebLandscape: string}}
*/
var ROb=["tooltip"],qD=function(a,b,c,d,e,f,h,l,q,u,x,y){kD.call(this,a,b,c,d,e,f,h,l,q,u,x,y);this._tooltipComponent=pD};X(qD,kD);qD.\u0275fac=function(a){return new (a||qD)(A(cA),A(Yd),A(Lz),A(Pg),A(Yf),A(cy),A(oz),A(ly),A(NOb),A(Bz,8),A(POb,8),A(Ci))};qD.\u0275dir=r({type:qD,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[$f]});
var pD=function(a,b,c){nD.call(this,a,c);this._breakpointObserver=b;this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)");this._showAnimation="mat-tooltip-show";this._hideAnimation="mat-tooltip-hide"};X(pD,nD);pD.\u0275dir=nD.\u0275dir;pD.\u0275fac=function(a){return new (a||pD)(A(Vw),A(gz),A(Ov,8))};
pD.\u0275cmp=r({type:pD,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Sg(ROb,7);if(a&2){var c;Rg(c=Ug())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&K("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&og("zoom",b.isVisible()?1:null)},features:[$f],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(D(0,"div",0,1),K("animationend",function(d){return b._handleAnimationEnd(d)}),
R(2,"async"),P(3),E());if(a&2){var c;pg("mat-tooltip-handset",null==(c=S(2,4,b._isHandset))?null:c.matches);C("ngClass",b.tooltipClass);z(3);Bg(b.message)}},dependencies:[$w,hx],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;-webkit-transform:scale(0);transform:scale(0)}.mat-tooltip._mat-animation-noopable{-webkit-animation:none;animation:none;-webkit-transform:scale(1);transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:1px solid}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@-webkit-keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.mat-tooltip-show{-webkit-animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards}.mat-tooltip-hide{-webkit-animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards}"],
encapsulation:2,changeDetection:0});var rD=function(){};rD.\u0275fac=function(a){return new (a||rD)};rD.\u0275mod=fd({type:rD});rD.\u0275inj=Qc({imports:[gA,gA]});var SOb=new Ud("g3cWidgetTaskManagementServicePromiseClient"),TOb=new Ud("g3cWidgetUserPrefsServicePromiseClient"),UOb=new Ud("g3cWidgetServiceConfig");var aj=function(a){Y.call(this,a)};X(aj,Y);g=aj.prototype;g.getYear=function(){return gj(this,1)};g.setYear=function(a){return Jb(this,1,a,0)};g.getMonth=function(){return gj(this,2)};g.setMonth=function(a){return Jb(this,2,a,0)};g.getDay=function(){return gj(this,3)};var zq=function(a){Y.call(this,a,-1,VOb)};X(zq,Y);zq.prototype.getLabel=function(){return lk(this,1)};zq.prototype.setLabel=function(a){return Mb(this,1,a)};zq.prototype.getOwnersList=function(){return ij(this,3)};var VOb=[3];var sD=function(a){Y.call(this,a)};X(sD,Y);sD.prototype.getTypeName=function(){return lk(this,1).split("/").pop()};sD.prototype.getValue=function(){var a=Db(this,2);if(Array.isArray(a)||a instanceof Y)throw Error("U");return nl(this,2)};sD.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=k(this,2,Qb(a,sba,tba));else if("string"===typeof a||a instanceof cb||$a(a))a=rBb(this,2,a);else throw Error("V`"+a);return a};var eLa=function(a){Y.call(this,a)};X(eLa,Y);var fLa=[1,2,3];var xq=function(a){Y.call(this,a,-1,WOb)};X(xq,Y);g=xq.prototype;g.getDescription=function(){return lk(this,1)};g.setDescription=function(a){return Mb(this,1,a)};g.getStatus=function(){return bk(this,3,0)};g.setStatus=function(a){return Dk(this,3,a)};g.getVersion=function(){return Tk(this,5)};g.setVersion=function(a){return Lb(this,5,a)};g.getOwnedByMe=function(){return xl(this,7)};g.setOwnedByMe=function(a){return oq(this,7,a)};var WOb=[4,6];var tD=function(a){Y.call(this,a)};X(tD,Y);var uD=function(a){Y.call(this,a)};X(uD,Y);g=uD.prototype;g.getAssignmentBounds=function(){return wk(this,tD,1)};g.setAssignmentBounds=function(a){Ok(this,tD,1,a)};g.hasAssignmentBounds=function(){return sl(this,tD,1)};g.getResponseBounds=function(){return wk(this,tD,2)};g.setResponseBounds=function(a){Ok(this,tD,2,a)};g.hasResponseBounds=function(){return sl(this,tD,2)};g.getClosureBounds=function(){return wk(this,tD,3)};g.setClosureBounds=function(a){Ok(this,tD,3,a)};
g.hasClosureBounds=function(){return sl(this,tD,3)};var vD=function(a){Y.call(this,a)};X(vD,Y);vD.prototype.getAccessLevel=function(){return bk(this,1,0)};vD.prototype.setAccessLevel=function(a){return Dk(this,1,a)};var YOb=function(a){Y.call(this,a,-1,XOb)};X(YOb,Y);g=YOb.prototype;g.getType=function(){return bk(this,1,0)};g.setType=function(a){return Dk(this,1,a)};g.getPriority=function(){return bk(this,2,0)};g.setPriority=function(a){return Dk(this,2,a)};g.getSeverity=function(){return bk(this,3,0)};g.setSeverity=function(a){return Dk(this,3,a)};g.getStatus=function(){return bk(this,4,0)};g.setStatus=function(a){return Dk(this,4,a)};g.getSloStatus=function(){return wk(this,uD,20)};
g.setSloStatus=function(a){Ok(this,uD,20,a)};g.hasSloStatus=function(){return sl(this,uD,20)};g.getComponentId=function(){return Tk(this,11)};g.setComponentId=function(a){return Lb(this,11,a)};g.getVersion=function(){return gj(this,16)};g.setVersion=function(a){return Jb(this,16,a,0)};g.getAccessLimit=function(){return wk(this,vD,21)};g.setAccessLimit=function(a){return Ok(this,vD,21,a)};g.getBlockingIssueIdsList=function(){return Hb(this,22,vb)};var XOb=[7,22,10];var $Ob=function(a){Y.call(this,a,-1,ZOb)};X($Ob,Y);g=$Ob.prototype;g.getDescription=function(){return lk(this,1)};g.setDescription=function(a){return Mb(this,1,a)};g.getCategory=function(){return bk(this,2,0)};g.setCategory=function(a){Dk(this,2,a)};g.getStatus=function(){return bk(this,3,0)};g.setStatus=function(a){return Dk(this,3,a)};g.getAuthorEmail=function(){return lk(this,10)};var ZOb=[5,6,7,11,17,13,14];var wD=function(a){Y.call(this,a,-1,aPb)};X(wD,Y);wD.prototype.getOwnedByMe=function(){return xl(this,3)};wD.prototype.setOwnedByMe=function(a){return oq(this,3,a)};wD.prototype.getMimeType=function(){return lk(this,15)};wD.prototype.setMimeType=function(a){Mb(this,15,a)};var aPb=[17,6];var bPb=function(a){Y.call(this,a)};X(bPb,Y);g=bPb.prototype;g.getResourceId=function(){return lk(this,17)};g.setResourceId=function(a){Mb(this,17,a)};g.getTitle=function(){return lk(this,2)};g.setTitle=function(a){return Mb(this,2,a)};g.getLastModifiedTimestamp=function(){return Tk(this,3)};g.getIconName=function(){return lk(this,10)};g.getIsDeleted=function(){return xl(this,19)};g.setIsDeleted=function(a){oq(this,19,a)};
var Bq=function(a){return wl(a,wD,5,yq)},Aq=function(a){return wl(a,YOb,6,yq)},uq=function(a){return wl(a,$Ob,8,yq)},yq=[5,6,7,8,9,18,22,23,24];var xD=function(a){Y.call(this,a)};X(xD,Y);xD.prototype.getName=function(){return lk(this,1)};xD.prototype.setName=function(a){return Mb(this,1,a)};xD.prototype.getContent=function(){return lk(this,2)};xD.prototype.setContent=function(a){Mb(this,2,a)};var yD=function(a){Y.call(this,a)};X(yD,Y);yD.prototype.getResource=function(){return wk(this,bPb,6)};yD.prototype.setResource=function(a){return Ok(this,bPb,6,a)};yD.prototype.getNote=function(){return wk(this,xD,22)};var cPb=function(a){Y.call(this,a)};X(cPb,Y);var dPb=function(a){Y.call(this,a)};X(dPb,Y);var ePb=[2];var Pk=function(a){Y.call(this,a)};X(Pk,Y);Pk.prototype.getId=function(){return lk(this,1)};Pk.prototype.setId=function(a){return Mb(this,1,a)};Pk.prototype.getVersion=function(){return lk(this,2)};Pk.prototype.setVersion=function(a){return Mb(this,2,a)};var zD=function(a){Y.call(this,a)};X(zD,Y);zD.prototype.getName=function(){return lk(this,1)};zD.prototype.setName=function(a){return Mb(this,1,a)};var AD=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.config=c;(0,T.defer)(function(){var e=(new zD).setName("keys/2");return(0,T.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(B(function(e){return(e=wl(e.getUserPrefs()||new dPb,cPb,2,ePb))?12096E5>=Date.now()-Tk(e,21):!1}),Nf(1))};
AD.prototype.getHeaders=function(){return{"X-Goog-Api-Key":this.config?this.config.apikey?this.config.apikey:"nonprod"===this.config.environment?"AIzaSyA_nAdTKd1fntCxJ6UHI2Vf7AZ2idvJrrA":"AIzaSyBIugcexIJggeGpV_dVry6fkIO6bKH_nHk":"AIzaSyA_nAdTKd1fntCxJ6UHI2Vf7AZ2idvJrrA",Authorization:sq([])||"","X-Goog-AuthUser":"0"}};AD.\u0275fac=function(a){return new (a||AD)(n(TOb),n(SOb),n(UOb,8))};AD.\u0275prov=Pc({token:AD,factory:AD.\u0275fac,providedIn:"root"});var BD=function(){};BD.\u0275fac=function(a){return new (a||BD)};BD.\u0275mod=fd({type:BD});BD.\u0275inj=Qc({imports:[tA,gA,gA]});var CD=function(){};CD.\u0275fac=function(a){return new (a||CD)};CD.\u0275mod=fd({type:CD});CD.\u0275inj=Qc({imports:[nz,QB,px,ZB,BD,rD,fA,UB]});var fPb=function(a){Y.call(this,a)};X(fPb,Y);var gPb=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};gPb.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};gPb.prototype.getMetadata=function(){return this.metadata_};var hPb=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};hPb.prototype.getMetadata=function(){return this.metadata_};hPb.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};hPb.prototype.getStatus=function(){return this.status_};var DD=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},iPb=function(a,b,c){c=void 0===c?{}:c;return new gPb(b,a,c)};DD.prototype.getName=function(){return this.name};DD.prototype.getName=DD.prototype.getName;var jPb=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}},kPb=function(a){switch(a){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";
case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS";default:return""}};var ED=function(a,b,c){c=void 0===c?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c};X(ED,Error);ED.prototype.toString=function(){var a="RpcError("+(kPb(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};ED.prototype.name="RpcError";var lPb=Promise;var FD=function(a){Y.call(this,a,-1,mPb)};X(FD,Y);FD.prototype.getCode=function(){return gj(this,1)};FD.prototype.setCode=function(a){return Jb(this,1,a,0)};FD.prototype.getMessage=function(){return lk(this,2)};FD.prototype.setMessage=function(a){return Mb(this,2,a)};var nPb=dc(FD),mPb=[3];var GD=function(a,b){this.xhrNodeReadableStream_=a.nodeReadableStream;this.grpcResponseDeserializeFn_=b;this.xhr_=a.xhr;this.onDataCallbacks_=[];this.onMetadataCallbacks_=[];this.onStatusCallbacks_=[];this.onEndCallbacks_=[];this.onErrorCallbacks_=[];this.xhrNodeReadableStream_&&oPb(this)},tPb=function(a,b){Rq(a.xhr_,"complete",function(){if(a.xhr_.isSuccess()){var c=a.xhr_.getResponseText();if(b&&"text/plain"===a.xhr_.getResponseHeader("Content-Type")){if(!atob)throw Error("Ob");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(f){HD(a,new ED(13,"Error when deserializing response data; error: "+f+(", response: "+c)));return}c=jPb(a.xhr_.getStatus());pPb(a,qPb(a));0==c?rPb(a,d):HD(a,new ED(c,"Xhr succeeded but the status code is not 200"))}else{d=a.xhr_.getResponseText();var e={};d?(e=sPb(a,d),d=e.code,c=e.details,e=e.metadata):(d=2,c="Rpc failed due to xhr error. error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError());pPb(a,qPb(a));HD(a,new ED(d,c,e))}})},oPb=function(a){a.xhrNodeReadableStream_.on("data",
function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){HD(a,new ED(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&rPb(a,d)}if("2"in b)for(b=sPb(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){pPb(a,qPb(a));for(var b=0;b<a.onEndCallbacks_.length;b++)a.onEndCallbacks_[b]()});a.xhrNodeReadableStream_.on("error",function(){if(0!=a.onErrorCallbacks_.length){var b=a.xhr_.getLastErrorCode();
0!==b||a.xhr_.isSuccess()||(b=6);var c=-1;switch(b){case 0:var d=2;break;case 7:d=10;break;case 8:d=4;break;case 6:c=a.xhr_.getStatus();d=jPb(c);break;default:d=14}pPb(a,qPb(a));b=uNb(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);HD(a,new ED(d,b))}})},qPb=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},sPb=function(a,b){var c=2,d={};try{var e=nPb(b);c=e.getCode();var f=e.getMessage();fj(e,sD,3).length&&(d["grpc-web-status-details-bin"]=
b)}catch(h){a.xhr_&&404===a.xhr_.getStatus()?(c=5,f="Not Found: "+a.xhr_.getLastUri()):(c=14,f="Unable to parse RpcStatus: "+h)}return{code:c,details:f,metadata:d}};GD.prototype.on=function(a,b){"data"==a?this.onDataCallbacks_.push(b):"metadata"==a?this.onMetadataCallbacks_.push(b):"status"==a?this.onStatusCallbacks_.push(b):"end"==a?this.onEndCallbacks_.push(b):"error"==a&&this.onErrorCallbacks_.push(b);return this};var ID=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};
GD.prototype.removeListener=function(a,b){"data"==a?ID(this.onDataCallbacks_,b):"metadata"==a?ID(this.onMetadataCallbacks_,b):"status"==a?ID(this.onStatusCallbacks_,b):"end"==a?ID(this.onEndCallbacks_,b):"error"==a&&ID(this.onErrorCallbacks_,b);return this};GD.prototype.cancel=function(){this.xhr_.abort()};
var rPb=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},pPb=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},HD=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};GD.prototype.cancel=GD.prototype.cancel;GD.prototype.removeListener=GD.prototype.removeListener;GD.prototype.on=GD.prototype.on;var JD=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};Gu(JD,vNb);JD.prototype.createInstance=function(){var a=new KD(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};JD.prototype.internalGetOptions=tv({});JD.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
JD.prototype.setCacheMode=function(a){this.cacheMode_=a};var KD=function(a,b){Qq.call(this);this.worker_=a;this.streamBinaryChunks_=b;this.cacheMode_=this.credentialsMode_=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=this.responseXML=null;this.requestHeaders_=new Headers;this.responseHeaders_=null;this.method_="GET";this.url_="";this.inProgress_=!1;this.textDecoder_=this.currentReader_=this.fetchResponse_=null};
Gu(KD,Qq);KD.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Pb");this.method_=a;this.url_=b;this.readyState=1;LD(this)};KD.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Qb");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||da).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
KD.prototype.abort=function(){this.response=this.responseText="";this.requestHeaders_=new Headers;this.status=0;this.currentReader_&&this.currentReader_.cancel("Request was aborted.").catch(function(){return null});1<=this.readyState&&this.inProgress_&&4!=this.readyState&&(this.inProgress_=!1,MD(this));this.readyState=0};
KD.prototype.handleResponse_=function(a){if(this.inProgress_&&(this.fetchResponse_=a,this.responseHeaders_||(this.status=this.fetchResponse_.status,this.statusText=this.fetchResponse_.statusText,this.responseHeaders_=a.headers,this.readyState=2,LD(this)),this.inProgress_&&(this.readyState=3,LD(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof da.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Rb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;uPb(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var uPb=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
KD.prototype.handleDataFromStream_=function(a){if(this.inProgress_){if(this.streamBinaryChunks_&&a.value)this.response.push(a.value);else if(!this.streamBinaryChunks_){var b=a.value?a.value:new Uint8Array(0);if(b=this.textDecoder_.decode(b,{stream:!a.done}))this.response=this.responseText+=b}a.done?MD(this):LD(this);3==this.readyState&&uPb(this)}};KD.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,MD(this))};
KD.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,MD(this))};KD.prototype.handleSendFailure_=function(){this.inProgress_&&MD(this)};var MD=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;LD(a)};g=KD.prototype;g.setRequestHeader=function(a,b){this.requestHeaders_.append(a,b)};g.getResponseHeader=function(a){return this.responseHeaders_?this.responseHeaders_.get(a.toLowerCase())||"":""};
g.getAllResponseHeaders=function(){if(!this.responseHeaders_)return"";for(var a=[],b=this.responseHeaders_.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};g.setCredentialsMode=function(a){this.credentialsMode_=a};g.setCacheMode=function(a){this.cacheMode_=a};var LD=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(KD.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var vPb=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(Qa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},ND=function(a){if(a.getValues&&"function"==typeof a.getValues)return a.getValues();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(Qa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Xba(a)},wPb=
function(a){if(a.getKeys&&"function"==typeof a.getKeys)return a.getKeys();if(!a.getValues||"function"!=typeof a.getValues){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(Qa(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}},xPb=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(Qa(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=wPb(a),e=ND(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},yPb=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(Qa(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=wPb(a),e=ND(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Wq=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Wq?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,OD(this,a.scheme_),this.setUserInfo(a.getUserInfo()),PD(this,a.getDomain()),QD(this,a.port_),this.setPath(a.getPath()),RD(this,a.queryData_.clone()),SD(this,a.fragment_)):a&&(c=String(a).match(zNb))?(this.ignoreCase_=!!b,OD(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),PD(this,c[3]||"",!0),QD(this,c[4]),
this.setPath(c[5]||"",!0),RD(this,c[6]||"",!0),SD(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new TD(null,this.ignoreCase_))};
Wq.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(UD(b,zPb,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(UD(b,zPb,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.port_,null!=c&&a.push(":",String(c));if(c=this.getPath())this.domain_&&"/"!=c.charAt(0)&&a.push("/"),a.push(UD(c,"/"==c.charAt(0)?APb:BPb,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",UD(c,CPb));return a.join("")};
Wq.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?OD(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=!!a.domain_;c?PD(b,a.getDomain()):c=null!=a.port_;var d=a.getPath();if(c)QD(b,a.port_);else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.domain_&&!this.hasPath())d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(ja(e,"./")||ja(e,"/.")){d=uj(e,"/");e=e.split("/");for(var f=[],h=0;h<e.length;){var l=
e[h++];"."==l?d&&h==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?RD(b,a.queryData_.clone()):c=!!a.fragment_;c&&SD(b,a.fragment_);return b};Wq.prototype.clone=function(){return new Wq(this)};var OD=function(a,b,c){a.scheme_=c?VD(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};Wq.prototype.getUserInfo=function(){return this.userInfo_};
Wq.prototype.setUserInfo=function(a,b){this.userInfo_=b?VD(a):a;return this};Wq.prototype.hasUserInfo=function(){return!!this.userInfo_};Wq.prototype.getDomain=function(){return this.domain_};var PD=function(a,b,c){a.domain_=c?VD(b,!0):b;return a},QD=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Sb`"+b);a.port_=b}else a.port_=null;return a};Wq.prototype.getPath=function(){return this.path_};Wq.prototype.setPath=function(a,b){this.path_=b?VD(a,!0):a;return this};
Wq.prototype.hasPath=function(){return!!this.path_};Wq.prototype.hasQuery=function(){return""!==this.queryData_.toString()};var RD=function(a,b,c){b instanceof TD?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=UD(b,DPb)),a.queryData_=new TD(b,a.ignoreCase_));return a};Wq.prototype.setQuery=function(a){return RD(this,a)};Wq.prototype.getQuery=function(){return this.queryData_.toString()};
var WD=function(a,b,c){a.queryData_.set(b,c);return a},XD=function(a,b){return a.queryData_.get(b)},SD=function(a,b,c){a.fragment_=c?VD(b):b;return a},YD=function(a){WD(a,"zx",Bv());return a};Wq.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Wq.prototype.isReadOnly=function(){return!1};Wq.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var ZD=function(a,b){return a instanceof Wq?a.clone():new Wq(a,b)},EPb=function(a,b,c,d,e){var f=new Wq(null);a&&OD(f,a);b&&f.setUserInfo(b);c&&PD(f,c);d&&QD(f,d);e&&f.setPath(e);return f},VD=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},UD=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,FPb),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},FPb=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},zPb=
/[#\/\?@]/g,BPb=/[#\?:]/g,APb=/[#\?]/g,DPb=/[#\?@]/g,CPb=/#/g,TD=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},$D=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&BNb(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=TD.prototype;g.getCount=function(){$D(this);return this.count_};
g.add=function(a,b){$D(this);this.encodedQuery_=null;a=aE(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};g.remove=function(a){$D(this);a=aE(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};g.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};g.isEmpty=function(){$D(this);return 0==this.count_};g.containsKey=function(a){$D(this);a=aE(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return Ia(b,a)};g.forEach=function(a,b){$D(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){$D(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.getValues=function(a){$D(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(aE(this,a))));else{a=Array.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};g.set=function(a,b){$D(this);this.encodedQuery_=null;a=aE(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};g.get=function(a,b){if(!a)return b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
g.setValues=function(a,b){this.remove(a);0<b.length&&(this.encodedQuery_=null,this.keyMap_.set(aE(this,a),Pa(b)),this.count_+=b.length)};g.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.getValues(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.encodedQuery_=a.join("&")};
g.clone=function(){var a=new TD;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var aE=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};TD.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&($D(this),this.encodedQuery_=null,this.keyMap_.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ignoreCase_=a};
TD.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)xPb(arguments[b],function(c,d){this.add(d,c)},this)};var GPb=function(a){var b="";ec(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},HPb=function(a,b,c){if(hc(c))return a;c=GPb(c);if("string"===typeof a)return GC(a,encodeURIComponent(String(b)),c);WD(a,b,c);return a};var Tr=function(a){cC.call(this);this.handler_=a;this.keys_={}};Gu(Tr,cC);var IPb=[];Tr.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(IPb[0]=b.toString()),b=IPb);for(var e=0;e<b.length;e++){var f=Rq(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};Tr.prototype.listenOnce=function(a,b,c,d){return JPb(this,a,b,c,d)};
var JPb=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)JPb(a,b,c[h],d,e,f);else{b=iC(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Tr.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.unlisten(a,b[f],c,d,e);else c=c||this.handleEvent,d=Ta(d)?!!d.capture:!!d,e=e||this.handler_||this,c=GLb(c),d=!!d,b=gC(a)?a.getListener(b,c,d,e):a?(a=jC(a))?a.getListener(b,c,d,e):null:null,b&&(lC(b),delete this.keys_[b.key]);return this};Tr.prototype.removeAll=function(){ec(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&lC(a)},this);this.keys_={}};
Tr.prototype.disposeInternal=function(){Tr.superClass_.disposeInternal.call(this);this.removeAll()};Tr.prototype.handleEvent=function(){throw Error("Ub");};var KPb=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};KPb.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Vb`"+this.streamPos_+"`"+b+"`"+a);};
KPb.prototype.decode=function(a){this.isInputValid_||this.error_(a,"stream already broken");this.leftoverInput_+=a;a=Math.floor(this.leftoverInput_.length/4);if(0==a)return null;try{var b=dBb(this.leftoverInput_.slice(0,4*a))}catch(c){this.error_(this.leftoverInput_,c.message)}this.streamPos_+=4*a;this.leftoverInput_=this.leftoverInput_.slice(4*a);return b};var Ui=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};Ui.prototype.getErrorMessage=function(){return this.errorMessage_};Ui.prototype.error_=function(a,b,c){this.state_=3;this.errorMessage_="The stream is broken @"+this.streamPos_+"/"+b+". Error: "+c+". With input:\n"+a;throw Error(this.errorMessage_);};Ui.prototype.acceptsBinaryInput=function(){return!0};
Ui.prototype.parse=function(a){function b(q){q&128&&f.error_(h,l,"invalid tag");2!=(q&7)&&f.error_(h,l,"invalid wire type");f.tag_=q>>>3;1!=f.tag_&&2!=f.tag_&&15!=f.tag_&&f.error_(h,l,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;5==f.countLengthBytes_&&q&240&&f.error_(h,l,"message length too long");f.length_|=(q&127)<<7*(f.countLengthBytes_-1);q&128||(f.state_=2,f.countMessageBytes_=0,"undefined"!==typeof Uint8Array?f.messageBuffer_=new Uint8Array(f.length_):
f.messageBuffer_=Array(f.length_),0==f.length_&&e())}function d(q){f.messageBuffer_[f.countMessageBytes_++]=q;f.countMessageBytes_==f.length_&&e()}function e(){if(15>f.tag_){var q={};q[f.tag_]=f.messageBuffer_;f.result_.push(q)}f.state_=0}for(var f=this,h=a instanceof Array?a:new Uint8Array(a),l=0;l<h.length;){switch(f.state_){case 3:f.error_(h,l,"stream already broken");break;case 0:b(h[l]);break;case 1:c(h[l]);break;case 2:d(h[l]);break;default:throw Error("Wb`"+f.state_);}f.streamPos_++;l++}a=
f.result_;f.result_=[];return 0<a.length?a:null};var Vi=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new KPb;this.pbParser_=new Ui};Vi.prototype.getErrorMessage=function(){return this.errorMessage_};Vi.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};Vi.prototype.acceptsBinaryInput=function(){return!1};
Vi.prototype.parse=function(a){null!==this.errorMessage_&&this.error_(a,"stream already broken");var b=null;try{var c=this.base64Decoder_.decode(a);b=null===c?null:this.pbParser_.parse(c)}catch(d){this.error_(a,d.message)}this.streamPos_+=a.length;return b};var bE=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var Uma=function(a){this.errorMessage_=null;this.result_=[];this.buffer_="";this.stack_=[];this.pos_=this.depth_=0;this.slashed_=!1;this.unicodeCount_=0;this.stringInputPattern_=/[\\"]/g;this.state_=this.streamState_=0;this.deliverMessageAsRawString_=!(!a||!a.deliverMessageAsRawString)},LPb={INIT:0,VALUE:1,OBJECT_OPEN:2,OBJECT_END:3,ARRAY_OPEN:4,ARRAY_END:5,STRING:6,KEY_START:7,KEY_END:8,TRUE1:9,TRUE2:10,TRUE3:11,FALSE1:12,FALSE2:13,FALSE3:14,FALSE4:15,NULL1:16,NULL2:17,NULL3:18,NUM_DECIMAL_POINT:19,
NUM_DIGIT:20};g=Uma.prototype;g.getErrorMessage=function(){return this.errorMessage_};g.done=function(){return 2===this.streamState_};g.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};g.acceptsBinaryInput=function(){return!1};
g.parse=function(a){function b(){for(;G<a.length;)if(bE(a[G]))G++,f.pos_++;else break;return G<u}function c(){for(var M;;){M=a[G++];if(!M)break;f.pos_++;switch(f.state_){case q.INIT:"{"===M?f.state_=q.OBJECT_OPEN:"["===M?f.state_=q.ARRAY_OPEN:bE(M)||f.error_(a,G);continue;case q.KEY_START:case q.OBJECT_OPEN:if(bE(M))continue;if(f.state_===q.KEY_START)h.push(q.KEY_END);else if("}"===M){e("{}");f.state_=d();continue}else h.push(q.OBJECT_END);'"'===M?f.state_=q.STRING:f.error_(a,G);continue;case q.KEY_END:case q.OBJECT_END:if(bE(M))continue;
":"===M?(f.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),f.depth_++),f.state_=q.VALUE):"}"===M?(f.depth_--,e(),f.state_=d()):","===M?(f.state_===q.OBJECT_END&&h.push(q.OBJECT_END),f.state_=q.KEY_START):f.error_(a,G);continue;case q.ARRAY_OPEN:case q.VALUE:if(bE(M))continue;if(f.state_===q.ARRAY_OPEN)if(f.depth_++,f.state_=q.VALUE,"]"===M){f.depth_--;if(0===f.depth_){f.state_=q.ARRAY_END;return}e("[]");f.state_=d();continue}else h.push(q.ARRAY_END);'"'===M?f.state_=q.STRING:"{"===M?f.state_=q.OBJECT_OPEN:
"["===M?f.state_=q.ARRAY_OPEN:"t"===M?f.state_=q.TRUE1:"f"===M?f.state_=q.FALSE1:"n"===M?f.state_=q.NULL1:"-"!==M&&(-1!=="0123456789".indexOf(M)?f.state_=q.NUM_DIGIT:f.error_(a,G));continue;case q.ARRAY_END:if(","===M)h.push(q.ARRAY_END),f.state_=q.VALUE,1===f.depth_&&(y=G);else if("]"===M){f.depth_--;if(0===f.depth_)return;e();f.state_=d()}else if(bE(M))continue;else f.error_(a,G);continue;case q.STRING:var V=G;a:for(;;){for(;0<f.unicodeCount_;)if(M=a[G++],4===f.unicodeCount_?f.unicodeCount_=0:f.unicodeCount_++,
!M)break a;if('"'===M&&!f.slashed_){f.state_=d();break}if("\\"===M&&!f.slashed_&&(f.slashed_=!0,M=a[G++],!M))break;if(f.slashed_)if(f.slashed_=!1,"u"===M&&(f.unicodeCount_=1),M=a[G++])continue;else break;l.lastIndex=G;M=l.exec(a);if(!M){G=a.length+1;break}G=M.index+1;M=a[M.index];if(!M)break}f.pos_+=G-V;continue;case q.TRUE1:if(!M)continue;"r"===M?f.state_=q.TRUE2:f.error_(a,G);continue;case q.TRUE2:if(!M)continue;"u"===M?f.state_=q.TRUE3:f.error_(a,G);continue;case q.TRUE3:if(!M)continue;"e"===M?
f.state_=d():f.error_(a,G);continue;case q.FALSE1:if(!M)continue;"a"===M?f.state_=q.FALSE2:f.error_(a,G);continue;case q.FALSE2:if(!M)continue;"l"===M?f.state_=q.FALSE3:f.error_(a,G);continue;case q.FALSE3:if(!M)continue;"s"===M?f.state_=q.FALSE4:f.error_(a,G);continue;case q.FALSE4:if(!M)continue;"e"===M?f.state_=d():f.error_(a,G);continue;case q.NULL1:if(!M)continue;"u"===M?f.state_=q.NULL2:f.error_(a,G);continue;case q.NULL2:if(!M)continue;"l"===M?f.state_=q.NULL3:f.error_(a,G);continue;case q.NULL3:if(!M)continue;
"l"===M?f.state_=d():f.error_(a,G);continue;case q.NUM_DECIMAL_POINT:"."===M?f.state_=q.NUM_DIGIT:f.error_(a,G);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(M))continue;else G--,f.pos_--,f.state_=d();continue;default:f.error_(a,G)}}}function d(){var M=h.pop();return null!=M?M:q.VALUE}function e(M){1<f.depth_||(M||(M=-1===y?f.buffer_+a.substring(x,G):a.substring(y,G)),f.deliverMessageAsRawString_?f.result_.push(M):f.result_.push(JSON.parse(M)),y=G)}for(var f=this,h=f.stack_,l=f.stringInputPattern_,
q=LPb,u=a.length,x=0,y=-1,G=0;G<u;)switch(f.streamState_){case 3:return f.error_(a,G),null;case 2:return b()&&f.error_(a,G),null;case 0:if(b()){var J=a[G++];f.pos_++;if("["===J){f.streamState_=1;x=G;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,G)}return null;case 1:return c(),0===f.depth_&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(G)):f.buffer_=-1===y?f.buffer_+a.substring(x):a.substring(y),0<f.result_.length?(J=f.result_,f.result_=[],J):null}return null};var Ti=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Ti.prototype.getErrorMessage=function(){return this.errorMessage_};Ti.prototype.acceptsBinaryInput=function(){return!1};
Ti.prototype.parse=function(a){function b(q){f.state_=6;f.errorMessage_="The stream is broken @"+f.streamPos_+"/"+h+". Error: "+q+". With input:\n";throw Error(f.errorMessage_);}function c(){f.jsonStreamParser_=new Uma({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var u=0;u<q.length;u++){var x={};x[1]=q[u];f.result_.push(x)}}function e(q){if(q){(f.statusParsed_||1<q.length)&&b("extra status: "+q);f.statusParsed_=!0;var u={};u[2]=q[0];f.result_.push(u)}}for(var f=
this,h=0;h<a.length;){var l;if(l=2!==f.state_){a:{for(;h<a.length;){if(!bE(a[h])){l=!0;break a}h++;f.streamPos_++}l=!1}l=!l}if(l)return null;switch(f.state_){case 6:b("stream already broken");break;case 0:"["===a[h]?(f.state_=1,h++,f.streamPos_++):b("unexpected input token");break;case 1:"["===a[h]?(f.state_=2,c()):","===a[h]||"null,"==a.slice(h,h+5)?f.state_=3:"]"===a[h]?(f.state_=5,h++,f.streamPos_++):b("unexpected input token");break;case 2:l=f.jsonStreamParser_.parse(a.substring(h));d(l);f.jsonStreamParser_.done()?
(f.state_=3,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);break;case 3:","===a[h]||"null,"==a.slice(h,h+5)?(f.state_=4,c(),f.jsonStreamParser_.parse("["),h+=","===a[h]?1:5,f.streamPos_++):"]"===a[h]&&(f.state_=5,h++,f.streamPos_++);break;case 4:l=f.jsonStreamParser_.parse(a.substring(h));e(l);f.jsonStreamParser_.done()?(f.state_=5,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return 0<f.result_.length?(a=f.result_,f.result_=[],a):null};var MPb=function(a){this.xhr_=a;this.parser_=null;this.status_=this.pos_=0;this.hasStreamingResponseData_=!1;this.dataHandler_=this.statusHandler_=this.textDecoder_=null;this.eventHandler_=new Tr(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};MPb.prototype.getXhr=function(){return this.xhr_};
var cE=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},dE=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};MPb.prototype.getStatus=function(){return this.status_};
MPb.prototype.readyStateChangeHandler_=function(a){a=a.target;try{if(a==this.xhr_)a:{var b=this.xhr_.getReadyState(),c=this.xhr_.getLastErrorCode(),d=this.xhr_.getStatus(),e=this.xhr_.getResponseText();a=[];if(this.xhr_.getResponse()instanceof Array){var f=this.xhr_.getResponse();0<f.length&&f[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=f)}if(!(3>b||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?cE(this,7):7==c?cE(this,8):d||cE(this,3)),this.parser_||(this.parser_=Vma(this.xhr_),
null==this.parser_&&cE(this,5)),2<this.status_)dE(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var l=0;l<h;l++){var q=this.parser_.parse(Array.from(a[l]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if("undefined"===typeof TextDecoder)throw Error("Xb");this.textDecoder_=new TextDecoder}for(l=0;l<h;l++)q+=this.textDecoder_.decode(a[l],{stream:4==b&&l==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(x){cE(this,5);
dE(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var u=this.parser_.parse(l);null!=u&&this.dataHandler_&&this.dataHandler_(u)}catch(x){cE(this,5);dE(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?cE(this,2):cE(this,4),dE(this)):cE(this,1)}}}catch(x){cE(this,6),dE(this)}};var NPb=function(a){this.xhrReader_=a;a=Eu(this.onData_,this);this.xhrReader_.dataHandler_=a;a=Eu(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.callbackMap_={};this.callbackOnceMap_={}};g=NPb.prototype;g.on=function(a,b){var c=this.callbackMap_[a];c||(c=[],this.callbackMap_[a]=c);c.push(b);return this};g.addListener=function(a,b){this.on(a,b);return this};g.removeListener=function(a,b){var c=this.callbackMap_[a];c&&Ma(c,b);(a=this.callbackOnceMap_[a])&&Ma(a,b);return this};
g.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};g.onData_=function(a){var b=this.callbackMap_.data;b&&OPb(this,a,b);(b=this.callbackOnceMap_.data)&&OPb(this,a,b);this.callbackOnceMap_.data=[]};
var OPb=function(a,b,c){for(var d={},e=0;e<b.length;d={$jscomp$loop$prop$message$2130:d.$jscomp$loop$prop$message$2130},e++)d.$jscomp$loop$prop$message$2130=b[e],c.forEach(function(f){return function(h){try{h(f.$jscomp$loop$prop$message$2130)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};
NPb.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:PPb(this,"readable");break;case 5:case 6:case 4:case 7:case 3:PPb(this,"error");break;case 8:PPb(this,"close");break;case 2:PPb(this,"end")}};var PPb=function(a,b){var c=a.callbackMap_[b];c&&c.forEach(function(d){try{d()}catch(e){a.handleError_("status-callback exception (ignored) "+e)}});(c=a.callbackOnceMap_[b])&&c.forEach(function(d){d()});a.callbackOnceMap_[b]=[]};NPb.prototype.handleError_=function(){};var eE=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||Oq("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||Oq("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},SPb=function(a,b,c,d,e){var f=b.substr(0,b.length-e.name.length);return QPb(function(h){return new lPb(function(l,q){var u=
{},x=RPb(a,h,f);x.on("error",function(y){return q(y)});x.on("metadata",function(y){u=y});x.on("data",function(y){var G=u;G=void 0===G?{}:G;l(new hPb(y,h.getMethodDescriptor(),G))})})},a.unaryInterceptors_).call(a,iPb(e,c,d)).then(function(h){return h.responseMessage_})},fE=function(a,b,c,d,e){return SPb(a,b,c,d,e)};
eE.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return QPb(function(h){var l=h.getMethodDescriptor(),q=h.getMetadata(),u=TPb(e,!1);q=UPb(e,q,u,f+l.getName());var x=VPb(u,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage_);u.send(q,"POST",h);return x},this.streamInterceptors_).call(this,iPb(d,b,c))};
var RPb=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),f=TPb(a,!0);a=UPb(a,e,f,c+d.getName());c=VPb(f,d.responseDeserializeFn,!1);tPb(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);f.send(a,"POST",b);return c},TPb=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new HC(new JD({worker:a.workerScope_,streamBinaryChunks:b})):new HC},UPb=function(a,b,c,d){b["Content-Type"]="application/json+protobuf";b["X-User-Agent"]=
"grpc-web-javascript/0.1";var e="Authorization"in b?(e=b.Authorization)?!!{SAPISIDHASH:!0,APISIDHASH:!0}[e.split(" ")[0]]:!1:!1;if(e||a.withCredentials_)c.withCredentials_=!0;if(a.suppressCorsPreflight_)d=HPb(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},VPb=function(a,b,c){if(c)if(!Iu||10<=Number(Mu)){c=new MPb(a);var d=new NPb(c)}else d=null;return new GD({xhr:a,nodeReadableStream:d},b)},QPb=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(f){return d.intercept(f,
e)}});return c};var WPb=function(a){this.client_=new eE({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var XPb=function(a){Y.call(this,a)};X(XPb,Y);XPb.prototype.getUserPrefs=function(){return wk(this,dPb,1)};var YPb=new DD("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",zD,XPb,function(a){return a.serialize()},dc(XPb));var gE=function(a){Y.call(this,a,-1,ZPb)};X(gE,Y);var ZPb=[1];var $Pb=function(a){this.client_=new eE({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};$Pb.prototype.getUserPrefs=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},YPb)};var aQb=function(a,b){this.target=a;this.targetElement=b;this.value=this.target.value},hE=function(a,b,c){var d=this;this._elementRef=a;this._dateAdapter=b;this._dateFormats=c;this.dateChange=new vw;this.dateInput=new vw;this.stateChanges=new T.Subject;this._onTouched=function(){};this._validatorOnChange=function(){};this._cvaOnChange=function(){};this._localeSubscription=this._valueChangesSubscription=T.Subscription.EMPTY;this._parseValidator=function(){return d._lastValueValid?null:{matDatepickerParse:{text:d._elementRef.nativeElement.value}}};
this._filterValidator=function(e){e=jA(d._dateAdapter,kA(d._dateAdapter,e.value));return!e||d._matchesFilter(e)?null:{matDatepickerFilter:!0}};this._minValidator=function(e){e=jA(d._dateAdapter,kA(d._dateAdapter,e.value));var f=d._rangeInput.min;return!f||!e||0>=lA(d._dateAdapter,f,e)?null:{matDatepickerMin:{min:f,actual:e}}};this._maxValidator=function(e){e=jA(d._dateAdapter,kA(d._dateAdapter,e.value));var f=d._rangeInput.max;return!f||!e||0<=lA(d._dateAdapter,f,e)?null:{matDatepickerMax:{max:f,
actual:e}}};this._lastValueValid=!1;this._localeSubscription=b.localeChanges.subscribe(function(){d._assignValueProgrammatically(d.value)})};g=hE.prototype;g._getValidators=function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]};
g._registerModel=function(a){var b=this;this._model=a;this._valueChangesSubscription.unsubscribe();this._pendingValue&&this._assignValue(this._pendingValue);this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(c){b._shouldHandleChangeEvent(c)&&(c=b._getValueFromModel(c.selection),b._lastValueValid=b._isValidValue(c),b._cvaOnChange(c),b._onTouched(),b._formatValue(c),b.dateInput.emit(new aQb(b,b._elementRef.nativeElement)),b.dateChange.emit(new aQb(b,b._elementRef.nativeElement)))})};
g.ngAfterViewInit=function(){this._isInitialized=!0};g.ngOnChanges=function(a){a:{var b=this._dateAdapter,c=Object.keys(a);c=m(c);for(var d=c.next();!d.done;d=c.next()){var e=a[d.value];d=e.previousValue;e=e.currentValue;if(iA(d)&&iA(e)){if(!b.sameDate(d,e)){a=!0;break a}}else{a=!0;break a}}a=!1}a&&this.stateChanges.next(void 0)};g.ngOnDestroy=function(){this._valueChangesSubscription.unsubscribe();this._localeSubscription.unsubscribe();this.stateChanges.complete()};
g.registerOnValidatorChange=function(a){this._validatorOnChange=a};g.validate=function(a){return this._validator?this._validator(a):null};g.writeValue=function(a){this._assignValueProgrammatically(a)};g.registerOnChange=function(a){this._cvaOnChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};
g._onKeydown=function(a){var b=["ctrlKey","shiftKey","metaKey"];Qh(a,"altKey")&&40===a.keyCode&&b.every(function(c){return!Qh(a,c)})&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),a.preventDefault())};
g._onInput=function(a){var b=this._lastValueValid,c=this._dateAdapter.parse(a,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(c);c=jA(this._dateAdapter,c);var d=!this._dateAdapter.sameDate(c,this.value);!c||d?this._cvaOnChange(c):(a&&!this.value&&this._cvaOnChange(c),b!==this._lastValueValid&&this._validatorOnChange());d&&(this._assignValue(c),this.dateInput.emit(new aQb(this,this._elementRef.nativeElement)))};g._onChange=function(){this.dateChange.emit(new aQb(this,this._elementRef.nativeElement))};
g._onBlur=function(){this.value&&this._formatValue(this.value);this._onTouched()};g._formatValue=function(a){this._elementRef.nativeElement.value=null!=a?this._dateAdapter.format(a,this._dateFormats.display.dateInput):""};g._assignValue=function(a){this._model?(this._assignValueToModel(a),this._pendingValue=null):this._pendingValue=a};g._isValidValue=function(a){return!a||this._dateAdapter.isValid(a)};g._parentDisabled=function(){return!1};
g._assignValueProgrammatically=function(a){a=kA(this._dateAdapter,a);this._lastValueValid=this._isValidValue(a);a=jA(this._dateAdapter,a);this._assignValue(a);this._formatValue(a)};g._matchesFilter=function(a){var b=this._rangeInput.dateFilter;return!b||b(a)};
Ei.Object.defineProperties(hE.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(a){this._assignValueProgrammatically(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return!!this._disabled||this._parentDisabled()},set:function(a){a=Kh(a);var b=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0));a&&this._isInitialized&&b.blur&&b.blur()}}});
hE.\u0275fac=function(a){return new (a||hE)(A(Yd),A(hA,8),A(mA,8))};hE.\u0275dir=r({type:hE,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[md]});var bQb=new Ud("MAT_DATE_RANGE_INPUT_PARENT"),iE=function(a,b,c,d,e,f,h,l){hE.call(this,b,h,l);this._rangeInput=a;this._elementRef=b;this._defaultErrorStateMatcher=c;this._injector=d;this._parentForm=e;this._parentFormGroup=f;this._dir=Zc(Bz,{optional:!0})};X(iE,hE);g=iE.prototype;g.ngOnInit=function(){var a=this._injector.get(Cx,null,{optional:!0,self:!0});a&&(this.ngControl=a)};g.ngDoCheck=function(){this.ngControl&&this.updateErrorState()};g.isEmpty=function(){return 0===this._elementRef.nativeElement.value.length};
g._getPlaceholder=function(){return this._elementRef.nativeElement.placeholder};g.focus=function(){this._elementRef.nativeElement.focus()};g._onInput=function(a){hE.prototype._onInput.call(this,a);this._rangeInput._handleChildValueChange()};g._openPopup=function(){this._rangeInput._openDatepicker()};g._getMinDate=function(){return this._rangeInput.min};g._getMaxDate=function(){return this._rangeInput.max};g._getDateFilter=function(){return this._rangeInput.dateFilter};g._parentDisabled=function(){return this._rangeInput._groupDisabled};
g._shouldHandleChangeEvent=function(a){a=a.source;return a!==this._rangeInput._startInput&&a!==this._rangeInput._endInput};g._assignValueProgrammatically=function(a){hE.prototype._assignValueProgrammatically.call(this,a);var b;null==(b=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)||b._validatorOnChange()};g._getAccessibleName=function(){return Wma(this._elementRef.nativeElement,!0)};
iE.\u0275fac=function(a){return new (a||iE)(A(bQb),A(Yd),A(nA),A(Fv),A(Jx,8),A(Sx,8),A(hA,8),A(mA,8))};iE.\u0275dir=r({type:iE,features:[$f]});Cla(iE);var cQb={provide:new Ud("mat-datepicker-scroll-strategy"),deps:[cA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};Fi(function(a){this._elementRef=a});var dQb=new Ud("mat-mdc-fab-default-options",{providedIn:"root",factory:Xma});[].concat(p(["disabled","disableRipple","color","tabIndex"]),["extended"]);var jE=function(){};jE.\u0275fac=function(a){return new (a||jE)};jE.\u0275mod=fd({type:jE});jE.\u0275inj=Qc({imports:[gA,tA,gA]});var kE=function(){};kE.\u0275fac=function(a){return new (a||kE)};kE.\u0275mod=fd({type:kE});kE.\u0275inj=Qc({providers:[CA,cQb],imports:[px,jE,fA,nz,vy,gA,Sz]});var lE=function(){};lE.\u0275fac=function(a){return new (a||lE)};lE.\u0275mod=fd({type:lE});lE.\u0275inj=Qc({providers:[OOb],imports:[nz,px,fA,gA,gA,Sz]});var mE=function(){};mE.\u0275fac=function(a){return new (a||mE)};mE.\u0275mod=fd({type:mE});mE.\u0275inj=Qc({providers:[{provide:TOb,useFactory:function(a){return new $Pb(Yma(a))},deps:[UOb]},{provide:SOb,useFactory:function(a){return new WPb(Yma(a))},deps:[UOb]},AD],imports:[px,CD,BD,kE,gB,rD,uB,jD,lE]});var eQb=function(a){this.metricName_="/client_streamz/buganizer/load_time";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};eQb.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};eQb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var fQb=function(a){this.metricName_="/client_streamz/buganizer/user_action_counts";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};fQb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};fQb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var gQb=function(a){this.metricName_="/client_streamz/buganizer/user_latency";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};gQb.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};gQb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var hQb="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var iQb=function(a){this.servicePromise_=a;a.then(Eu(function(){},this),function(){},this)},jQb=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Zb`"+b);return e.apply(d,c)})},lQb=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=kQb(a,b).then(function(f){return f.apply(null,d)});return new iQb(e)},mQb={},kQb=function(a,b){var c=mQb[b];if(c)return c;c=(c=Oq(b))?BC(c):(new AC(function(d,e){var f=(new nC(document)).createElement("SCRIPT");
f.async=!0;Xi(f,Np(a));f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||d()};f.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=Oq(b);if(!d)throw Error("$b`"+b+"`"+a);return d});return mQb[b]=c};var nQb=function(a){this.loader_=a};nQb.prototype.startFeedback=function(a){jQb(this.loader_,"startFeedback",arguments)};nQb.prototype.requestSurvey=function(a){jQb(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};nQb.prototype.presentSurvey=function(a){jQb(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var oQb=Op("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");kQb(oQb,"help.service.Lazy.create").thenCatch(function(){});var nE=function(a){this.http=a};g=nE.prototype;g.get=function(a){return this.request("get",a)};g.delete=function(a){return this.request("delete",a)};g.post=function(a){return this.request("post",a,a.body)};g.put=function(a){return this.request("put",a,a.body)};g.request=function(a,b,c){var d=b.options;d=void 0===d?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c=null!=(e=null==c?void 0:c.toJSON())?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(B(lna(b.responseConstructor)))};
nE.\u0275fac=function(a){return new (a||nE)(n(GB))};nE.\u0275prov=Pc({token:nE,factory:nE.\u0275fac,providedIn:"root"});var oE=function(a){this.jspbExecutor=a};oE.prototype.get=function(a){return(0,T.firstValueFrom)(this.jspbExecutor.get(a))};oE.prototype.delete=function(a){return(0,T.firstValueFrom)(this.jspbExecutor.delete(a))};oE.prototype.post=function(a){return(0,T.firstValueFrom)(this.jspbExecutor.post(a))};oE.prototype.put=function(a){return(0,T.firstValueFrom)(this.jspbExecutor.put(a))};
oE.\u0275fac=function(a){return new (a||oE)(n(nE))};oE.\u0275prov=Pc({token:oE,factory:oE.\u0275fac,providedIn:"root"});var qQb=function(a){Y.call(this,a,-1,pQb)};X(qQb,Y);g=qQb.prototype;g.getAuthor=function(){return lk(this,1)};g.setAuthor=function(a){k(this,1,a)};g.getDescription=function(){return lk(this,2)};g.setDescription=function(a){return k(this,2,a)};g.hasDescription=function(){return gm(this,2)};g.getPending=function(){return xl(this,3)};g.getTimestamp=function(){return Tk(this,4)};g.setTimestamp=function(a){return k(this,4,a)};g.hasTimestamp=function(){return zm(this,4)};var pQb=[5];qQb.messageId="b.ChangelistDetailsResponse";var pE=function(a){Y.call(this,a,-1,rQb)};X(pE,Y);pE.prototype.getIssueIdsList=function(){return hj(this,1)};pE.prototype.setIssueIdsList=function(a){return Xk(this,1,a)};pE.prototype.addIssueIds=function(a){Kb(this,1,a)};pE.prototype.getAuthorEmail=function(){return lk(this,3)};var rQb=[1];var sQb=function(a){Y.call(this,a)};X(sQb,Y);g=sQb.prototype;g.getQuery=function(){return wk(this,pE,1)};g.setQuery=function(a){return Ok(this,pE,1,a)};g.clearQuery=function(){Qu(this,1)};g.hasQuery=function(){return sl(this,pE,1)};g.getNextPageToken=function(){return lk(this,2)};sQb.messageId="b.ListChangelistsRequest";var hna=function(a){Y.call(this,a,-1,tQb)};X(hna,Y);g=hna.prototype;g.getAuthor=function(){return lk(this,1)};g.setAuthor=function(a){k(this,1,a)};g.getPending=function(){return xl(this,3)};g.getTimestamp=function(){return wk(this,cj,4)};g.setTimestamp=function(a){return Ok(this,cj,4,a)};g.hasTimestamp=function(){return sl(this,cj,4)};g.getIssueIdsList=function(){return hj(this,5)};g.setIssueIdsList=function(a){return Xk(this,5,a)};g.addIssueIds=function(a){Kb(this,5,a)};var tQb=[5,6];var vQb=function(a){Y.call(this,a,-1,uQb)};X(vQb,Y);vQb.prototype.getNextPageToken=function(){return lk(this,2)};var uQb=[1];vQb.messageId="b.ListChangelistsResponse";var xQb=function(a){Y.call(this,a,-1,wQb)};X(xQb,Y);var wQb=[1];xQb.messageId="b.PendingChangelistsResponse";var qE=function(a){this.executor=a};qE.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:xQb}).pipe(B(gna))};qE.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:qQb}).pipe(B(kna))};qE.\u0275fac=function(a){return new (a||qE)(n(nE))};qE.\u0275prov=Pc({token:qE,factory:qE.\u0275fac,providedIn:"root"});
var rE=function(a){this.changelistResources=a};rE.prototype.getPendingChangelistsForIssue=function(a){return(0,T.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};rE.prototype.getChangelistDetails=function(a){return(0,T.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};rE.\u0275fac=function(a){return new (a||rE)(n(qE))};rE.\u0275prov=Pc({token:rE,factory:rE.\u0275fac,providedIn:"root"});var yQb={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},Lna={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Nna={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},Poa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"LIMIT_NONE",2:"LIMIT_VIEW",3:"LIMIT_APPEND",4:"LIMIT_VIEW_TRUSTED"},Xoa={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},
hpa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},grb={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},zQb={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},joa={0:"UNKNOWN",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},poa={UNKNOWN:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},Koa={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",
3:"PII",4:"RETENTION"},Voa={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,PII:3,RETENTION:4},xqa={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},Lqa={COMFORTABLE:1,COZY:2,COMPACT:3},Kva={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},Ppa={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},loa={0:"UNKNOWN",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},qoa={UNKNOWN:0,
SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},sm={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},Hm={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},wqa={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},Kqa={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},H8a={0:"ISSUE_LABEL_FIELD_UNSPECIFIED",1:"ID",2:"BLOCKING_ID",3:"BLOCKED_BY_ID",4:"CANONICAL_ID",5:"PARENT_ID",6:"INCOMING_DEPENDENCY_ID",7:"LINKED_ID",8:"HOTLIST_ID",9:"SAVED_SEARCH_ID",10:"COMPONENT_ID",11:"TEAM_ID",
12:"REPORTER",13:"ASSIGNEE",14:"CC",15:"VERIFIER",16:"MODIFIER",17:"LAST_MODIFIER",18:"COMMENTER",19:"LAST_COMMENTER",20:"PRIORITY",21:"SEVERITY",22:"TYPE",23:"STATUS",24:"DELETION_REASON",25:"TITLE",26:"COMMENT",27:"ATTACHMENT",28:"CL",29:"POSTMORTEM",30:"FOUND_IN",31:"TARGETED_TO",32:"VERIFIED_IN",33:"CREATED",34:"MODIFIED",35:"RESOLVED",36:"VERIFIED",37:"DELETION_TIME",38:"IN_PROD",39:"STAR",40:"MUTE",41:"IS_DELETED",42:"CUSTOM_FIELD",43:"DUPLICATE_COUNT",44:"VOTE_COUNT",45:"COMMENT_COUNT",46:"CC_COUNT",
47:"ARCHIVED",48:"MIN_SLO_TARGET",49:"EFFORT_LABEL",50:"EFFORT_VALUE",51:"MENTION",52:"VOTE",53:"EFFORT_TOTAL_OPEN",54:"EFFORT_TOTAL_COMPLETE",55:"COLLABORATOR",56:"COLLABORATOR_COUNT",57:"TRACKER_ID"},Hpa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},AQb={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},koa={0:"UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},BQb={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,EXTERNAL_AUDIENCE:2},CQb={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",
PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Zpa={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},Yk={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},Wna={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},DQb={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},Nm={ISSUE_ID:"ISSUE_ID",COMPONENT_PATH:"COMPONENT_PATH",TYPE:"TYPE",STATUS:"STATUS",PRIORITY:"PRIORITY",SEVERITY:"SEVERITY",REPORTER:"REPORTER",ASSIGNEE:"ASSIGNEE",VERIFIER:"VERIFIER",CC:"CC",COLLABORATOR:"COLLABORATOR",
CHANGELIST:"CHANGELIST",POSTMORTEM:"POSTMORTEM",BLOCKING_ISSUE_ID:"BLOCKING_ISSUE_ID",BLOCKED_BY_ISSUE_ID:"BLOCKED_BY_ISSUE_ID",CREATED_TIME:"CREATED_TIME",MODIFIED_TIME:"MODIFIED_TIME",RESOLVED_TIME:"RESOLVED_TIME",VERIFIED_TIME:"VERIFIED_TIME",DELETION_TIME:"DELETION_TIME",TITLE:"TITLE",FOUND_IN_VERSION:"FOUND_IN_VERSION",TARGETED_TO_VERSION:"TARGETED_TO_VERSION",VERIFIED_IN_VERSION:"VERIFIED_IN_VERSION",IN_PROD:"IN_PROD",CANONICAL_ISSUE_ID:"CANONICAL_ISSUE_ID",CUSTOM_FIELD:"CUSTOM_FIELD",POSITION:"POSITION",
VOTE_COUNT:"VOTE_COUNT",DUPLICATE_COUNT:"DUPLICATE_COUNT",CC_COUNT:"CC_COUNT",COLLABORATOR_COUNT:"COLLABORATOR_COUNT",MODIFIED_BY:"MODIFIED_BY",LAST_MODIFIER:"LAST_MODIFIER",ARCHIVED:"ARCHIVED",MIN_SLO:"MIN_SLO",ASSIGNMENT_SLO:"ASSIGNMENT_SLO",RESPONSE_SLO:"RESPONSE_SLO",CLOSURE_SLO:"CLOSURE_SLO",TEAM:"TEAM",ESTIMATE:"ESTIMATE",ESTIMATE_TOTAL_OPEN:"ESTIMATE_TOTAL_OPEN",ESTIMATE_TOTAL_COMPLETE:"ESTIMATE_TOTAL_COMPLETE"},Fqa={1:Nm.ISSUE_ID,2:Nm.COMPONENT_PATH,3:Nm.TYPE,4:Nm.STATUS,5:Nm.PRIORITY,6:Nm.SEVERITY,
7:Nm.REPORTER,8:Nm.ASSIGNEE,9:Nm.VERIFIER,10:Nm.CC,43:Nm.COLLABORATOR,11:Nm.CHANGELIST,32:Nm.POSTMORTEM,12:Nm.BLOCKING_ISSUE_ID,13:Nm.BLOCKED_BY_ISSUE_ID,14:Nm.CREATED_TIME,15:Nm.MODIFIED_TIME,16:Nm.RESOLVED_TIME,17:Nm.VERIFIED_TIME,38:Nm.DELETION_TIME,18:Nm.TITLE,19:Nm.FOUND_IN_VERSION,20:Nm.TARGETED_TO_VERSION,21:Nm.VERIFIED_IN_VERSION,22:Nm.IN_PROD,23:Nm.CANONICAL_ISSUE_ID,24:Nm.CUSTOM_FIELD,25:Nm.POSITION,26:Nm.VOTE_COUNT,27:Nm.DUPLICATE_COUNT,28:Nm.CC_COUNT,44:Nm.COLLABORATOR_COUNT,29:Nm.MODIFIED_BY,
30:Nm.LAST_MODIFIER,31:Nm.ARCHIVED,33:Nm.MIN_SLO,35:Nm.ASSIGNMENT_SLO,36:Nm.RESPONSE_SLO,37:Nm.CLOSURE_SLO,39:Nm.TEAM,40:Nm.ESTIMATE,41:Nm.ESTIMATE_TOTAL_OPEN,42:Nm.ESTIMATE_TOTAL_COMPLETE},Tqa={ISSUE_ID:1,COMPONENT_PATH:2,TYPE:3,STATUS:4,PRIORITY:5,SEVERITY:6,REPORTER:7,ASSIGNEE:8,VERIFIER:9,CC:10,COLLABORATOR:43,CHANGELIST:11,POSTMORTEM:32,BLOCKING_ISSUE_ID:12,BLOCKED_BY_ISSUE_ID:13,CREATED_TIME:14,MODIFIED_TIME:15,RESOLVED_TIME:16,VERIFIED_TIME:17,DELETION_TIME:38,TITLE:18,FOUND_IN_VERSION:19,
TARGETED_TO_VERSION:20,VERIFIED_IN_VERSION:21,IN_PROD:22,CANONICAL_ISSUE_ID:23,CUSTOM_FIELD:24,POSITION:25,VOTE_COUNT:26,DUPLICATE_COUNT:27,CC_COUNT:28,COLLABORATOR_COUNT:44,MODIFIED_BY:29,LAST_MODIFIER:30,ARCHIVED:31,MIN_SLO:33,ASSIGNMENT_SLO:35,RESPONSE_SLO:36,CLOSURE_SLO:37,TEAM:39,ESTIMATE:40,ESTIMATE_TOTAL_OPEN:41,ESTIMATE_TOTAL_COMPLETE:42},ppa={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},Loa={0:"TYPE_UNSPECIFIED",1:"BUG",2:"FEATURE_REQUEST",3:"CUSTOMER_ISSUE",
4:"INTERNAL_CLEANUP",5:"PROCESS",6:"VULNERABILITY",7:"PRIVACY_ISSUE",8:"PROJECT",9:"FEATURE",10:"MILESTONE",11:"EPIC",12:"STORY",13:"TASK"},Roa={TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PROJECT:8,FEATURE:9,MILESTONE:10,EPIC:11,STORY:12,TASK:13},G8a={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},EQb={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",
SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},Vpa={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},lpa={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},I8a={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},$tb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},yoa={0:"PII_SEVERITY_UNSPECIFIED",
1:"NONE_DETECTED",2:"PII",3:"SPII"},Jva={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},Moa={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},Soa={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},FQb={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},lqa={0:"REACTION_TYPE_UNSPECIFIED",1:"UPVOTE"},GQb={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},zpa={0:"UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},crb={REJECTION_REASON_UNSPECIFIED:0,
REVERSED:1,SIMILAR:2},eua={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},HQb={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},IQb={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Qk={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},Uoa={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},JQb={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",
INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},Fpa={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},woa={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},Noa={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},Toa={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},KQb={SIGNAL_TYPE_UNKNOWN:"SIGNAL_TYPE_UNKNOWN",NEAR_SLO:"NEAR_SLO",MENTIONED:"MENTIONED",REPLIED_TO_MENTION:"REPLIED_TO_MENTION",BLOCKED:"BLOCKED",UNBLOCKED:"UNBLOCKED",
ASSIGNED:"ASSIGNED",NEEDS_REPORTER_INPUT:"NEEDS_REPORTER_INPUT"},Gqa={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",6:"REPLIED_TO_MENTION",7:"BLOCKED",3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},Vqa={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,MENTIONED:2,REPLIED_TO_MENTION:6,BLOCKED:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},B8a={0:"SIMPLE_VALUE_TYPE_UNSPECIFIED",1:"TEXT",2:"QUOTED_TEXT",3:"YEAR",4:"MONTH",5:"DAY",6:"HOUR",7:"MINUTE",8:"SECOND",9:"RELATIVE_YEAR",10:"RELATIVE_MONTH",15:"RELATIVE_WEEK",
11:"RELATIVE_DAY"},Ztb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Ooa={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},Woa={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},Gpa={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},Coa={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},doa={0:"UNSPECIFIED",1:"REPORTER",2:"ASSIGNEE",3:"VERIFIER",4:"CC",5:"TYPE",6:"STATUS",7:"PRIORITY",8:"SEVERITY",9:"CHANGELISTS",
10:"PENDING_CHANGELISTS",11:"POSTMORTEMS",12:"FOUND_IN",13:"TARGETED_TO",14:"VERIFIED_IN",15:"IN_PRODUCTION",16:"SLO_STATUS",17:"TEAM",18:"COLLABORATORS"},foa={UNSPECIFIED:0,REPORTER:1,ASSIGNEE:2,VERIFIER:3,CC:4,TYPE:5,STATUS:6,PRIORITY:7,SEVERITY:8,CHANGELISTS:9,PENDING_CHANGELISTS:10,POSTMORTEMS:11,FOUND_IN:12,TARGETED_TO:13,VERIFIED_IN:14,IN_PRODUCTION:15,SLO_STATUS:16,TEAM:17,COLLABORATORS:18},LQb={STATUS_UNSPECIFIED:"STATUS_UNSPECIFIED",NEW:"NEW",ASSIGNED:"ASSIGNED",ACCEPTED:"ACCEPTED",FIXED:"FIXED",
VERIFIED:"VERIFIED",NOT_REPRODUCIBLE:"NOT_REPRODUCIBLE",INTENDED_BEHAVIOR:"INTENDED_BEHAVIOR",OBSOLETE:"OBSOLETE",INFEASIBLE:"INFEASIBLE",DUPLICATE:"DUPLICATE"},Rk={0:"STATUS_UNSPECIFIED",1:"NEW",2:"ASSIGNED",3:"ACCEPTED",4:"FIXED",5:"VERIFIED",6:"NOT_REPRODUCIBLE",7:"INTENDED_BEHAVIOR",8:"OBSOLETE",9:"INFEASIBLE",10:"DUPLICATE"},Wk={STATUS_UNSPECIFIED:0,NEW:1,ASSIGNED:2,ACCEPTED:3,FIXED:4,VERIFIED:5,NOT_REPRODUCIBLE:6,INTENDED_BEHAVIOR:7,OBSOLETE:8,INFEASIBLE:9,DUPLICATE:10},Apa={0:"ACTIVE",1:"DELETED",
2:"PURGED"},qqa={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},Wta={0:"UNKNOWN",1:"ISSUE_ID",2:"COMPONENT_PATH",3:"TYPE",4:"STATUS",5:"PRIORITY",6:"SEVERITY",7:"REPORTER",8:"ASSIGNEE",9:"VERIFIER",10:"CC",43:"COLLABORATOR",11:"CHANGELIST",33:"POSTMORTEM",12:"BLOCKING_ISSUE_ID",13:"BLOCKED_BY_ISSUE_ID",14:"CREATED_TIME",15:"MODIFIED_TIME",16:"RESOLVED_TIME",17:"VERIFIED_TIME",38:"DELETION_TIME",18:"TITLE",19:"FOUND_IN_VERSION",20:"TARGETED_TO_VERSION",21:"VERIFIED_IN_VERSION",22:"IN_PROD",23:"DUPLICATE_OF_ISSUE_ID",
24:"CUSTOM_FIELD",25:"POSITION",26:"VOTE_COUNT",27:"DUPLICATE_COUNT",28:"CC_COUNT",44:"COLLABORATOR_COUNT",29:"MODIFIED_BY",30:"LAST_MODIFIER",31:"ARCHIVED",32:"CANONICAL_ISSUE_ID",34:"MIN_SLO",35:"ASSIGNMENT_SLO",36:"RESPONSE_SLO",37:"CLOSURE_SLO",39:"TEAM",40:"ESTIMATE",41:"ESTIMATE_TOTAL_OPEN",42:"ESTIMATE_TOTAL_COMPLETE"},Yta={UNKNOWN:0,ISSUE_ID:1,COMPONENT_PATH:2,TYPE:3,STATUS:4,PRIORITY:5,SEVERITY:6,REPORTER:7,ASSIGNEE:8,VERIFIER:9,CC:10,COLLABORATOR:43,CHANGELIST:11,POSTMORTEM:33,BLOCKING_ISSUE_ID:12,
BLOCKED_BY_ISSUE_ID:13,CREATED_TIME:14,MODIFIED_TIME:15,RESOLVED_TIME:16,VERIFIED_TIME:17,DELETION_TIME:38,TITLE:18,FOUND_IN_VERSION:19,TARGETED_TO_VERSION:20,VERIFIED_IN_VERSION:21,IN_PROD:22,DUPLICATE_OF_ISSUE_ID:23,CUSTOM_FIELD:24,POSITION:25,VOTE_COUNT:26,DUPLICATE_COUNT:27,CC_COUNT:28,COLLABORATOR_COUNT:44,MODIFIED_BY:29,LAST_MODIFIER:30,ARCHIVED:31,CANONICAL_ISSUE_ID:32,MIN_SLO:34,ASSIGNMENT_SLO:35,RESPONSE_SLO:36,CLOSURE_SLO:37,TEAM:39,ESTIMATE:40,ESTIMATE_TOTAL_OPEN:41,ESTIMATE_TOTAL_COMPLETE:42},
M8a={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},frb={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION"},MQb={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1},brb={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},Sna={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Tna={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},D8a={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},NQb={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var sna=Object.prototype.hasOwnProperty;var Bj=function(a){this.customFieldId=a.customFieldId;this.displayValues=a.displayValues;this.textValue=a.textValue;this.dateValue=a.dateValue;this.enumValue=a.enumValue;this.numericValue=a.numericValue;this.repeatedTextValue=a.repeatedTextValue;this.repeatedDateValue=a.repeatedDateValue;this.repeatedEnumValue=a.repeatedEnumValue;this.repeatedNumericValue=a.repeatedNumericValue};
Bj.prototype.getValue=function(){return 0===this.numericValue?this.numericValue:this.textValue||this.dateValue||this.enumValue||this.numericValue||this.repeatedTextValue||this.repeatedDateValue||this.repeatedEnumValue||this.repeatedNumericValue||null};Bj.prototype.isEmpty=function(){var a=this.getValue();return null==a?!0:"string"===typeof a?""===a:"number"===typeof a?!1:null!=a.values?0===a.values.length:!a||!a.day||!a.month||!a.year};var Ina={UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3};var ok=function(a){Y.call(this,a)};X(ok,Y);g=ok.prototype;g.getCustomFieldId=function(){return vBb(this,sE)};g.setCustomFieldId=function(a){return Zj(this,1,sE,a)};g.hasCustomFieldId=function(){var a=Zt(this,sE,1);return null!=Db(this,a)};g.getStandardField=function(){return bk(this,Zt(this,sE,2),0)};g.setStandardField=function(a){Zj(this,2,sE,a)};var sE=[1,2];ok.messageId="b.FieldId";var tE=function(a){Y.call(this,a)};X(tE,Y);tE.prototype.getStateOnIssues=function(){return bk(this,2,0)};tE.prototype.setStateOnIssues=function(a){k(this,2,a)};tE.prototype.getEnabledOnIssues=function(){return xl(this,3)};tE.prototype.setEnabledOnIssues=function(a){k(this,3,a)};tE.messageId="b.FieldConfig";var Aj=function(){this.required=!1;this.allowedValue=null;this.stateOnIssues=1;this.type="TEXT";this.fieldSignificance="MINOR"};Aj.prototype.isDate=function(){return"DATE"===this.type};Aj.prototype.isText=function(){return"TEXT"===this.type};Aj.prototype.isNumeric=function(){return"NUMERIC"===this.type};Aj.prototype.isRepeated=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var hub=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),OQb={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var Fj=function(a){Y.call(this,a)};X(Fj,Y);Fj.prototype.getAccessLevel=function(){return bk(this,1,0)};Fj.prototype.setAccessLevel=function(a){return k(this,1,a)};Fj.messageId="b.AccessLimit";var Kk=function(a){Y.call(this,a,-1,PQb)};X(Kk,Y);g=Kk.prototype;g.getEmailAddress=function(){return lk(this,1)};g.setEmailAddress=function(a){return Mb(this,1,a)};g.getObfuscatedEmailAddress=function(){return lk(this,2)};g.setObfuscatedEmailAddress=function(a){Mb(this,2,a)};g.getUserGaiaStatus=function(){return bk(this,3,0)};g.setUserGaiaStatus=function(a){Dk(this,3,a)};g.getAliasesList=function(){return ij(this,4)};g.setAliasesList=function(a){sk(this,4,a)};var PQb=[4];var Mj=function(a){Y.call(this,a,-1,QQb)};X(Mj,Y);g=Mj.prototype;g.getEmailAddress=function(){return lk(this,1)};g.setEmailAddress=function(a){return k(this,1,a)};g.getObfuscatedEmailAddress=function(){return lk(this,2)};g.setObfuscatedEmailAddress=function(a){k(this,2,a)};g.getUserGaiaStatus=function(){return bk(this,3,0)};g.setUserGaiaStatus=function(a){k(this,3,a)};g.getAliasesList=function(){return ij(this,4)};g.setAliasesList=function(a){sk(this,4,a)};var QQb=[4];var Yj=function(a){Y.call(this,a)};X(Yj,Y);g=Yj.prototype;g.getUser=function(){return wl(this,Mj,1,Xj)};g.setUser=function(a){am(this,1,Xj,a)};g.hasUser=function(){return ul(this,Mj,1,Xj)};g.getGroup=function(){return wl(this,Mj,2,Xj)};g.setGroup=function(a){am(this,2,Xj,a)};var Xj=[1,2,3];var uE=function(a){Y.call(this,a,-1,RQb)};X(uE,Y);g=uE.prototype;g.getAppendersList=function(){return fj(this,Yj,6)};g.setAppendersList=function(a){Sb(this,6,a)};g.getReadersList=function(){return fj(this,Yj,8)};g.setReadersList=function(a){Sb(this,8,a)};g.setImplicitAccess=function(a){return k(this,10,a)};var RQb=[2,3,4,5,6,7,8,9,11,12];uE.messageId="b.AccessPolicy";var mk=function(a){Y.call(this,a)};X(mk,Y);g=mk.prototype;g.getResourcePath=function(){return lk(this,2)};g.setResourcePath=function(a){return k(this,2,a)};g.hasResourcePath=function(){return gm(this,2)};g.getSeverity=function(){return bk(this,3,0)};g.setSeverity=function(a){return k(this,3,a)};g.hasSeverity=function(){return Sk(this,3)};g.getJudgementReason=function(){return lk(this,4)};g.setJudgementReason=function(a){return k(this,4,a)};mk.messageId="b.ContentJudgement";var SQb={PII_SEVERITY_UNSPECIFIED:0,NONE_DETECTED:1,PII:2,SPII:3};var vk=function(a){Y.call(this,a,-1,TQb)};X(vk,Y);vk.prototype.getValuesList=function(){return fj(this,aj,1)};vk.prototype.setValuesList=function(a){Sb(this,1,a)};var TQb=[1];var uk=function(a){Y.call(this,a,-1,UQb)};X(uk,Y);uk.prototype.getValuesList=function(){return Hb(this,1,Saa)};uk.prototype.setValuesList=function(a){Ib(this,1,a,Raa)};var UQb=[1];var tk=function(a){Y.call(this,a,-1,VQb)};X(tk,Y);tk.prototype.getValuesList=function(){return ij(this,1)};tk.prototype.setValuesList=function(a){sk(this,1,a)};var VQb=[1];var rk=function(a){Y.call(this,a,-1,WQb)};X(rk,Y);g=rk.prototype;g.getCustomFieldId=function(){return kk(this,1)};g.setCustomFieldId=function(a){return k(this,1,a)};g.hasCustomFieldId=function(){return jk(this,1)};g.getTextValue=function(){return Wj(this,4,qk)};g.setTextValue=function(a){Zj(this,4,qk,a)};g.getDateValue=function(){return wl(this,aj,5,qk)};g.setDateValue=function(a){am(this,5,qk,a)};g.getEnumValue=function(){return Wj(this,6,qk)};g.setEnumValue=function(a){Zj(this,6,qk,a)};
g.getNumericValue=function(){return Uk(this,Zt(this,qk,7))};g.setNumericValue=function(a){Zj(this,7,qk,tb(a))};g.getRepeatedTextValue=function(){return wl(this,tk,8,qk)};g.setRepeatedTextValue=function(a){am(this,8,qk,a)};g.getRepeatedDateValue=function(){return wl(this,vk,9,qk)};g.setRepeatedDateValue=function(a){am(this,9,qk,a)};g.getRepeatedEnumValue=function(){return wl(this,tk,10,qk)};g.setRepeatedEnumValue=function(a){am(this,10,qk,a)};
g.getRepeatedNumericValue=function(){return wl(this,uk,11,qk)};g.setRepeatedNumericValue=function(a){am(this,11,qk,a)};var WQb=[12],qk=[4,5,6,7,8,9,10,11];var xk=function(a){Y.call(this,a,-1,XQb)};X(xk,Y);g=xk.prototype;g.getCustomFieldId=function(){return kk(this,1)};g.setCustomFieldId=function(a){return k(this,1,a)};g.hasCustomFieldId=function(){return jk(this,1)};g.getComponentId=function(){return kk(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return jk(this,2)};g.getType=function(){return bk(this,3,0)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return Sk(this,3)};
g.getRequired=function(){return xl(this,4)};g.setRequired=function(a){k(this,4,a)};g.getName=function(){return lk(this,5)};g.setName=function(a){return k(this,5,a)};g.hasName=function(){return gm(this,5)};g.getNameOrUndefined=function(){return Uu(this,5)};g.getDescription=function(){return lk(this,6)};g.setDescription=function(a){return k(this,6,a)};g.hasDescription=function(){return gm(this,6)};g.getTypedDefaultValue=function(){return wk(this,rk,10)};
g.setTypedDefaultValue=function(a){Ok(this,rk,10,a)};g.getFieldSignificance=function(){return bk(this,9,0)};g.setFieldSignificance=function(a){return k(this,9,a)};g.getStateOnIssues=function(){return bk(this,11,0)};g.setStateOnIssues=function(a){k(this,11,a)};g.getEnabledOnIssues=function(){return xl(this,12)};g.setEnabledOnIssues=function(a){k(this,12,a)};g.getShared=function(){return xl(this,13)};var XQb=[8];var Ck=function(a){Y.call(this,a)};X(Ck,Y);Ck.prototype.getLabel=function(){return lk(this,1)};Ck.prototype.setLabel=function(a){return Mb(this,1,a)};Ck.prototype.getValue=function(){return Uk(this,2)};Ck.prototype.setValue=function(a){return Jb(this,2,tb(a),0)};var Bk=function(a){Y.call(this,a,-1,YQb)};X(Bk,Y);var uoa=function(a,b){return Sb(a,1,b)},YQb=[1];var Ak=function(a){Y.call(this,a)};X(Ak,Y);var soa=function(a,b){return Jb(a,1,tb(b),0)};var zk=function(a){Y.call(this,a)};X(zk,Y);g=zk.prototype;g.getInherit=function(){return xl(this,1)};g.setInherit=function(a){return oq(this,1,a)};g.getId=function(){return Tk(this,2)};g.setId=function(a){return Lb(this,2,a)};g.getName=function(){return lk(this,3)};g.setName=function(a){return Mb(this,3,a)};var roa=function(a,b){am(a,4,vl,b)},toa=function(a,b){am(a,5,vl,b)};zk.prototype.getCustomFieldId=function(){return Tk(this,100)};zk.prototype.setCustomFieldId=function(a){return Lb(this,100,a)};
var vl=[4,5];var Zk=function(a){Y.call(this,a)};X(Zk,Y);var vE=function(a){Y.call(this,a)};X(vE,Y);g=vE.prototype;g.getStartTime=function(){return wk(this,cj,1)};g.setStartTime=function(a){Ok(this,cj,1,a)};g.getEndTime=function(){return wk(this,cj,2)};g.setEndTime=function(a){Ok(this,cj,2,a)};g.getTargetTime=function(){return wk(this,cj,3)};g.setTargetTime=function(a){Ok(this,cj,3,a)};g.getObjective=function(){return wk(this,il,4)};g.setObjective=function(a){Ok(this,il,4,a)};g.getBusinessDays=function(){return gj(this,5)};
g.setBusinessDays=function(a){Jb(this,5,a,0)};g.getDayType=function(){return bk(this,6,0)};g.setDayType=function(a){Dk(this,6,a)};var wE=function(a){Y.call(this,a)};X(wE,Y);g=wE.prototype;g.getAssignmentBounds=function(){return wk(this,vE,1)};g.setAssignmentBounds=function(a){Ok(this,vE,1,a)};g.hasAssignmentBounds=function(){return sl(this,vE,1)};g.getResponseBounds=function(){return wk(this,vE,2)};g.setResponseBounds=function(a){Ok(this,vE,2,a)};g.hasResponseBounds=function(){return sl(this,vE,2)};g.getClosureBounds=function(){return wk(this,vE,3)};g.setClosureBounds=function(a){Ok(this,vE,3,a)};
g.hasClosureBounds=function(){return sl(this,vE,3)};var kl=function(a){Y.call(this,a,-1,ZQb)};X(kl,Y);kl.prototype.getSourceIssueIdsList=function(){return Hb(this,1,vb)};kl.prototype.setSourceIssueIdsList=function(a){return Ib(this,1,a,ub)};var ZQb=[1];var $Qb=function(a){Y.call(this,a)};X($Qb,Y);var xE=function(a){Y.call(this,a)};X(xE,Y);xE.prototype.getStatus=function(){return bk(this,1,0)};xE.prototype.setStatus=function(a){return Dk(this,1,a)};xE.prototype.getReason=function(){return bk(this,2,0)};xE.prototype.setReason=function(a){Dk(this,2,a)};var yE=function(a){Y.call(this,a)};X(yE,Y);yE.prototype.getRetentionPeriod=function(){return wk(this,il,1)};yE.prototype.setRetentionPeriod=function(a){Ok(this,il,1,a)};yE.prototype.getScheduledDeletionTime=function(){return wk(this,cj,2)};yE.prototype.setScheduledDeletionTime=function(a){Ok(this,cj,2,a)};var aRb=function(a){Y.call(this,a)};X(aRb,Y);g=aRb.prototype;g.getAttachmentId=function(){return Tk(this,1)};g.setAttachmentId=function(a){Lb(this,1,a)};g.getContentType=function(){return lk(this,2)};g.getLength=function(){return Tk(this,3)};g.getFilename=function(){return lk(this,4)};g.setFilename=function(a){Mb(this,4,a)};g.getEntityStatus=function(){return wk(this,xE,6)};g.hasEntityStatus=function(){return sl(this,xE,6)};g.getEtag=function(){return nl(this,7)};
g.setEtag=function(a){rBb(this,7,a)};g.getContentVerdict=function(){return wk(this,$Qb,10)};var cRb=function(a){Y.call(this,a,-1,bRb)};X(cRb,Y);cRb.prototype.getValuesList=function(){return fj(this,aj,1)};cRb.prototype.setValuesList=function(a){Sb(this,1,a)};var bRb=[1];var eRb=function(a){Y.call(this,a,-1,dRb)};X(eRb,Y);eRb.prototype.getValuesList=function(){return Hb(this,1,Saa)};eRb.prototype.setValuesList=function(a){Ib(this,1,a,Raa)};var dRb=[1];var zE=function(a){Y.call(this,a,-1,fRb)};X(zE,Y);zE.prototype.getValuesList=function(){return ij(this,1)};zE.prototype.setValuesList=function(a){sk(this,1,a)};var fRb=[1];var AE=function(a){Y.call(this,a)};X(AE,Y);g=AE.prototype;g.getValueCase=function(){return pk(this,BE)};g.getCustomFieldId=function(){return Tk(this,1)};g.setCustomFieldId=function(a){return Lb(this,1,a)};g.getTextValue=function(){return Wj(this,2,BE)};g.setTextValue=function(a){Zj(this,2,BE,a)};g.getDateValue=function(){return wl(this,aj,3,BE)};g.setDateValue=function(a){am(this,3,BE,a)};g.getEnumValue=function(){return Wj(this,4,BE)};g.setEnumValue=function(a){Zj(this,4,BE,a)};
g.getNumericValue=function(){return Uk(this,Zt(this,BE,5))};g.setNumericValue=function(a){Zj(this,5,BE,tb(a))};g.getRepeatedTextValue=function(){return wl(this,zE,6,BE)};g.setRepeatedTextValue=function(a){am(this,6,BE,a)};g.getRepeatedDateValue=function(){return wl(this,cRb,7,BE)};g.setRepeatedDateValue=function(a){am(this,7,BE,a)};g.getRepeatedEnumValue=function(){return wl(this,zE,8,BE)};g.setRepeatedEnumValue=function(a){am(this,8,BE,a)};
g.getRepeatedNumericValue=function(){return wl(this,eRb,9,BE)};g.setRepeatedNumericValue=function(a){am(this,9,BE,a)};g.getDisplayString=function(){return lk(this,10)};var BE=[2,3,4,5,6,7,8,9];var hRb=function(a){Y.call(this,a,-1,gRb)};X(hRb,Y);g=hRb.prototype;g.getCustomFieldId=function(){return Tk(this,1)};g.setCustomFieldId=function(a){return Lb(this,1,a)};g.getComponentId=function(){return Tk(this,2)};g.setComponentId=function(a){return Lb(this,2,a)};g.getType=function(){return bk(this,3,0)};g.setType=function(a){return Dk(this,3,a)};g.getRequired=function(){return xl(this,4)};g.setRequired=function(a){oq(this,4,a)};g.getName=function(){return lk(this,5)};
g.setName=function(a){return Mb(this,5,a)};g.getDescription=function(){return lk(this,6)};g.setDescription=function(a){return Mb(this,6,a)};g.getTypedDefaultValue=function(){return wk(this,AE,10)};g.setTypedDefaultValue=function(a){Ok(this,AE,10,a)};g.getFieldSignificance=function(){return bk(this,9,0)};g.setFieldSignificance=function(a){return Dk(this,9,a)};g.getShared=function(){return xl(this,11)};var gRb=[8];var iRb=function(a){Y.call(this,a)};X(iRb,Y);g=iRb.prototype;g.getCustomFieldId=function(){return vBb(this,CE)};g.setCustomFieldId=function(a){return Zj(this,1,CE,a)};g.hasCustomFieldId=function(){var a=Zt(this,CE,1);return null!=Db(this,a)};g.getStandardField=function(){return bk(this,Zt(this,CE,2),0)};g.setStandardField=function(a){Zj(this,2,CE,a)};var CE=[1,2];var Nl=function(a){Y.call(this,a)};X(Nl,Y);var DE=function(a){Y.call(this,a)};X(DE,Y);DE.prototype.getAccessLevel=function(){return bk(this,1,0)};DE.prototype.setAccessLevel=function(a){return Dk(this,1,a)};var kRb=function(a){Y.call(this,a,-1,jRb)};X(kRb,Y);g=kRb.prototype;g.getComponentId=function(){return Tk(this,1)};g.setComponentId=function(a){return Lb(this,1,a)};g.getType=function(){return bk(this,2,0)};g.setType=function(a){return Dk(this,2,a)};g.getStatus=function(){return bk(this,3,0)};g.setStatus=function(a){return Dk(this,3,a)};g.getPriority=function(){return bk(this,4,0)};g.setPriority=function(a){return Dk(this,4,a)};g.getSeverity=function(){return bk(this,5,0)};
g.setSeverity=function(a){return Dk(this,5,a)};g.getTitle=function(){return lk(this,6)};g.setTitle=function(a){return Mb(this,6,a)};g.getReporter=function(){return wk(this,Kk,7)};g.setReporter=function(a){Ok(this,Kk,7,a)};g.setAssignee=function(a){Ok(this,Kk,8,a)};g.clearAssignee=function(){return Qu(this,8)};g.setVerifier=function(a){Ok(this,Kk,9,a)};g.clearVerifier=function(){return Qu(this,9)};g.getBlockingIssueIdsList=function(){return Hb(this,13,vb)};
g.addHotlistIds=function(a,b){return Kb(this,14,a,b)};g.getCustomFieldsList=function(){return fj(this,AE,15)};g.setCustomFieldsList=function(a){Sb(this,15,a)};g.getInProd=function(){return xl(this,20)};g.setInProd=function(a){oq(this,20,a)};g.getIsArchived=function(){return xl(this,21)};g.setIsArchived=function(a){oq(this,21,a)};g.getIsDeleted=function(){return xl(this,23)};g.setIsDeleted=function(a){oq(this,23,a)};g.getDeletionReason=function(){return bk(this,24,0)};
g.setDeletionReason=function(a){Dk(this,24,a)};g.getEntityStatus=function(){return wk(this,xE,25)};g.hasEntityStatus=function(){return sl(this,xE,25)};g.getSloSnoozeUntil=function(){return wk(this,cj,26)};g.setSloSnoozeUntil=function(a){Ok(this,cj,26,a)};g.getSloSnoozeType=function(){return bk(this,30,0)};g.setSloSnoozeType=function(a){Dk(this,30,a)};g.getPostmortemsList=function(){return ij(this,27)};g.setPostmortemsList=function(a){sk(this,27,a)};g.getRetention=function(){return bk(this,28,0)};
g.setRetention=function(a){Dk(this,28,a)};g.getEffort=function(){return wk(this,Zk,29)};g.setEffort=function(a){Ok(this,Zk,29,a)};g.hasEffort=function(){return sl(this,Zk,29)};g.getAccessLimit=function(){return wk(this,DE,32)};g.setAccessLimit=function(a){return Ok(this,DE,32,a)};var jRb=[10,31,12,13,14,15,16,17,18,19,22,27];var EE=function(a){Y.call(this,a,-1,lRb)};X(EE,Y);EE.prototype.getNotificationSubscription=function(){return bk(this,4,0)};EE.prototype.setNotificationSubscription=function(a){return Dk(this,4,a)};var lRb=[3];var gqa=function(a){Y.call(this,a)};X(gqa,Y);gqa.prototype.getHref=function(){return lk(this,1)};var Xl=function(a){Y.call(this,a)};X(Xl,Y);Xl.prototype.getIssueId=function(){return Tk(this,1)};Xl.prototype.setIssueId=function(a){return k(this,1,a)};Xl.prototype.getCommentNumber=function(){return gj(this,2)};Xl.prototype.setCommentNumber=function(a){return k(this,2,a)};var mRb=function(a){Y.call(this,a)};X(mRb,Y);var fqa=[1,2];var nRb=function(a){Y.call(this,a)};X(nRb,Y);g=nRb.prototype;g.getIssueId=function(){return Tk(this,1)};g.setIssueId=function(a){return Lb(this,1,a)};g.getUpdateText=function(){return lk(this,2)};g.setUpdateText=function(a){Mb(this,2,a)};g.getFormattingMode=function(){return bk(this,4,0)};g.setFormattingMode=function(a){return Dk(this,4,a)};g.getAuthor=function(){return wk(this,Kk,5)};g.setAuthor=function(a){Ok(this,Kk,5,a)};g.getUpdateTime=function(){return wk(this,cj,6)};
g.setUpdateTime=function(a){Ok(this,cj,6,a)};g.getVersion=function(){return gj(this,7)};g.setVersion=function(a){return Jb(this,7,a,0)};g.getEntityStatus=function(){return wk(this,xE,8)};g.hasEntityStatus=function(){return sl(this,xE,8)};var pRb=function(a){Y.call(this,a,-1,oRb)};X(pRb,Y);g=pRb.prototype;g.getIssueId=function(){return Tk(this,2)};g.setIssueId=function(a){return Lb(this,2,a)};g.getIssueState=function(){return wk(this,kRb,3)};g.getAttachmentsList=function(){return fj(this,aRb,18)};g.setAttachmentsList=function(a){Sb(this,18,a)};g.getStatusUpdate=function(){return wk(this,nRb,43)};g.hasStatusUpdate=function(){return sl(this,nRb,43)};g.getCreatedTime=function(){return wk(this,cj,5)};
g.getModifiedTime=function(){return wk(this,cj,6)};g.getLastModifier=function(){return wk(this,Kk,14)};g.setLastModifier=function(a){Ok(this,Kk,14,a)};g.getUserData=function(){return wk(this,EE,9)};g.setUserData=function(a){Ok(this,EE,9,a)};g.getVoteCount=function(){return Tk(this,10)};g.setVoteCount=function(a){Lb(this,10,a)};g.getParentIssueIdsList=function(){return Hb(this,37,vb)};g.setParentIssueIdsList=function(a){Ib(this,37,a,ub)};g.getAccessLimit=function(){return wk(this,vD,11)};
g.setAccessLimit=function(a){return Ok(this,vD,11,a)};g.getVersion=function(){return gj(this,12)};g.setVersion=function(a){return Jb(this,12,a,0)};g.getEtag=function(){return nl(this,13)};g.setEtag=function(a){rBb(this,13,a)};g.getCustomFieldsList=function(){return fj(this,hRb,15)};g.setCustomFieldsList=function(a){Sb(this,15,a)};g.getVisibleFieldsList=function(){return fj(this,iRb,34)};g.setVisibleFieldsList=function(a){Sb(this,34,a)};g.getSloStatus=function(){return wk(this,wE,16)};
g.setSloStatus=function(a){Ok(this,wE,16,a)};g.hasSloStatus=function(){return sl(this,wE,16)};g.getSloId=function(){return Tk(this,17)};g.setSloId=function(a){return Lb(this,17,a)};g.getTeamId=function(){return Tk(this,33)};g.setTeamId=function(a){return Lb(this,33,a)};g.getRetentionState=function(){return wk(this,yE,29)};g.setRetentionState=function(a){Ok(this,yE,29,a)};g.getAncestorsMap=function(){return Bl(this,38,kl)};g.getChildIssueCount=function(){return gj(this,39)};
g.setChildIssueCount=function(a){Jb(this,39,a,0)};g.getIsArchived=function(){return xl(this,40)};g.setIsArchived=function(a){oq(this,40,a)};g.getRelatedLinksList=function(){return fj(this,mRb,41)};g.getTrackerId=function(){return Tk(this,42)};g.setTrackerId=function(a){Lb(this,42,a)};var oRb=[18,37,31,15,34,41];var Gk=function(a){Y.call(this,a)};X(Gk,Y);Gk.prototype.getSeverity=function(){return bk(this,1,0)};Gk.prototype.setSeverity=function(a){return k(this,1,a)};Gk.prototype.hasSeverity=function(){return Sk(this,1)};var Rl=function(a){Y.call(this,a)};X(Rl,Y);var Ek=function(a){Y.call(this,a)};X(Ek,Y);Ek.prototype.hasRetentionSelection=function(){return Sk(this,1)};var hl=function(a){Y.call(this,a)};X(hl,Y);hl.prototype.getRetentionPeriod=function(){return wk(this,il,1)};hl.prototype.setRetentionPeriod=function(a){Ok(this,il,1,a)};hl.prototype.getScheduledDeletionTime=function(){return wk(this,cj,2)};hl.prototype.setScheduledDeletionTime=function(a){Ok(this,cj,2,a)};hl.messageId="b.RetentionState";var Lk=function(a){Y.call(this,a)};X(Lk,Y);g=Lk.prototype;g.getHours=function(){return gj(this,1)};g.setHours=function(a){return Jb(this,1,a,0)};g.getMinutes=function(){return gj(this,2)};g.setMinutes=function(a){return Jb(this,2,a,0)};g.getSeconds=function(){return gj(this,3)};g.setSeconds=function(a){return Jb(this,3,a,0)};g.getNanos=function(){return gj(this,4)};g.setNanos=function(a){return Jb(this,4,a,0)};var Nk=function(a){Y.call(this,a)};X(Nk,Y);g=Nk.prototype;g.getId=function(){return Tk(this,1)};g.setId=function(a){return k(this,1,a)};g.setFrequency=function(a){return Dk(this,3,a)};g.getTimeZone=function(){return wk(this,Pk,5)};g.setTimeZone=function(a){return Ok(this,Pk,5,a)};g.hasTimeZone=function(){return sl(this,Pk,5)};var FE=function(a){Y.call(this,a)};X(FE,Y);FE.prototype.getTeamId=function(){return Tk(this,1)};FE.prototype.setTeamId=function(a){return Lb(this,1,a)};FE.prototype.getEffectiveSloEditPolicy=function(){return bk(this,3,0)};var Ik=function(a){Y.call(this,a)};X(Ik,Y);g=Ik.prototype;g.getInherit=function(){return xl(this,1)};g.setInherit=function(a){return k(this,1,a)};g.getSource=function(){return bk(this,2,0)};g.setSource=function(a){return k(this,2,a)};g.hasSource=function(){return Sk(this,2)};g.getSourceOrUndefined=function(){return rt(this,2)};g.getId=function(){return kk(this,3)};g.setId=function(a){return k(this,3,a)};g.getSourceTeamId=function(){return kk(this,5)};g.setSourceTeamId=function(a){k(this,5,a)};
g.getComment=function(){return lk(this,4)};g.setComment=function(a){k(this,4,a)};var Hk=function(a){Y.call(this,a)};X(Hk,Y);g=Hk.prototype;g.getStartTime=function(){return wk(this,cj,1)};g.setStartTime=function(a){Ok(this,cj,1,a)};g.getEndTime=function(){return wk(this,cj,2)};g.setEndTime=function(a){Ok(this,cj,2,a)};g.getTargetTime=function(){return wk(this,cj,3)};g.setTargetTime=function(a){Ok(this,cj,3,a)};g.getObjective=function(){return wk(this,il,4)};g.setObjective=function(a){Ok(this,il,4,a)};g.getBusinessDays=function(){return gj(this,5)};
g.setBusinessDays=function(a){k(this,5,a)};g.getDayType=function(){return bk(this,6,0)};g.setDayType=function(a){k(this,6,a)};var jl=function(a){Y.call(this,a)};X(jl,Y);g=jl.prototype;g.getAssignmentBounds=function(){return wk(this,Hk,1)};g.setAssignmentBounds=function(a){Ok(this,Hk,1,a)};g.hasAssignmentBounds=function(){return sl(this,Hk,1)};g.getResponseBounds=function(){return wk(this,Hk,2)};g.setResponseBounds=function(a){Ok(this,Hk,2,a)};g.hasResponseBounds=function(){return sl(this,Hk,2)};g.getClosureBounds=function(){return wk(this,Hk,3)};g.setClosureBounds=function(a){Ok(this,Hk,3,a)};
g.hasClosureBounds=function(){return sl(this,Hk,3)};var GE=function(a){Y.call(this,a)};X(GE,Y);GE.prototype.getIssueId=function(){return kk(this,1)};GE.prototype.setIssueId=function(a){return k(this,1,a)};GE.prototype.getReason=function(){return bk(this,2,0)};GE.prototype.setReason=function(a){k(this,2,a)};GE.messageId="b.DeleteIssueRequest";var gpa=function(a){Y.call(this,a)};X(gpa,Y);g=gpa.prototype;g.getFieldName=function(){return lk(this,1)};g.getValue=function(){return lk(this,2)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return gm(this,2)};g.setActionType=function(a){k(this,3,a)};g.getCustomFieldValue=function(){return wk(this,rk,5)};g.setCustomFieldValue=function(a){return Ok(this,rk,5,a)};g.clearCustomFieldValue=function(){return Qu(this,5)};g.hasCustomFieldValue=function(){return sl(this,rk,5)};var al=function(a){Y.call(this,a)};X(al,Y);al.prototype.getAccessLevel=function(){return bk(this,1,0)};al.prototype.setAccessLevel=function(a){return k(this,1,a)};var $k=function(a){Y.call(this,a)};X($k,Y);$k.prototype.getIssueId=function(){return kk(this,1)};$k.prototype.setIssueId=function(a){return k(this,1,a)};$k.prototype.getIssueAccessLimit=function(){return wk(this,al,2)};$k.prototype.setIssueAccessLimit=function(a){Ok(this,al,2,a)};$k.messageId="b.GetRetainedAccessPrincipalsRequest";var gl=function(a){Y.call(this,a)};X(gl,Y);g=gl.prototype;g.getVoteCount=function(){return Tk(this,1)};g.setVoteCount=function(a){k(this,1,a)};g.getCreatedTimeMicros=function(){return Tk(this,2)};g.setCreatedTimeMicros=function(a){k(this,2,a)};g.getModifiedTimeMicros=function(){return Tk(this,3)};g.setModifiedTimeMicros=function(a){k(this,3,a)};g.getLastModifier=function(){return wk(this,Mj,10)};g.setLastModifier=function(a){Ok(this,Mj,10,a)};g.getSloStatus=function(){return wk(this,jl,6)};
g.setSloStatus=function(a){Ok(this,jl,6,a)};g.hasSloStatus=function(){return sl(this,jl,6)};g.getSloId=function(){return kk(this,7)};g.setSloId=function(a){return k(this,7,a)};g.getTeamId=function(){return kk(this,9)};g.setTeamId=function(a){return k(this,9,a)};g.getRetentionState=function(){return wk(this,hl,8)};g.setRetentionState=function(a){Ok(this,hl,8,a)};var Vk=function(a){Y.call(this,a,-1,qRb)};X(Vk,Y);g=Vk.prototype;g.getCreatedTimeMicros=function(){return Tk(this,2)};g.setCreatedTimeMicros=function(a){k(this,2,a)};g.getComponentId=function(){return kk(this,3)};g.setComponentId=function(a){return k(this,3,a)};g.hasComponentId=function(){return jk(this,3)};g.getVersion=function(){return Tk(this,4)};g.setVersion=function(a){return k(this,4,a)};g.getVersionOrUndefined=function(){return Su(this,4)};g.getType=function(){return bk(this,5,0)};
g.setType=function(a){return k(this,5,a)};g.hasType=function(){return Sk(this,5)};g.getStatus=function(){return bk(this,6,0)};g.setStatus=function(a){return k(this,6,a)};g.hasStatus=function(){return Sk(this,6)};g.getPriority=function(){return bk(this,7,0)};g.setPriority=function(a){return k(this,7,a)};g.hasPriority=function(){return Sk(this,7)};g.getSeverity=function(){return bk(this,8,0)};g.setSeverity=function(a){return k(this,8,a)};g.hasSeverity=function(){return Sk(this,8)};
g.getTitle=function(){return lk(this,9)};g.setTitle=function(a){return k(this,9,a)};g.getPostmortemsList=function(){return ij(this,35)};g.setPostmortemsList=function(a){sk(this,35,a)};g.getInProd=function(){return xl(this,22)};g.setInProd=function(a){k(this,22,a)};g.getHotlistIdList=function(){return hj(this,23)};g.setHotlistIdList=function(a){Xk(this,23,a)};g.getRetention=function(){return bk(this,42,0)};g.setRetention=function(a){k(this,42,a)};g.getIsDeleted=function(){return xl(this,27)};
g.setIsDeleted=function(a){k(this,27,a)};g.getDeletionReason=function(){return bk(this,28,0)};g.setDeletionReason=function(a){k(this,28,a)};g.getSignificanceOverride=function(){return bk(this,29,0)};g.setSignificanceOverride=function(a){k(this,29,a)};g.getIsArchived=function(){return xl(this,31)};g.setIsArchived=function(a){k(this,31,a)};g.getComment=function(){return lk(this,25)};g.setComment=function(a){k(this,25,a)};g.getFormattingMode=function(){return bk(this,45,0)};
g.setFormattingMode=function(a){return k(this,45,a)};g.getSloSnoozeUntil=function(){return wk(this,cj,34)};g.setSloSnoozeUntil=function(a){Ok(this,cj,34,a)};g.getSloSnoozeType=function(){return bk(this,52,0)};g.setSloSnoozeType=function(a){k(this,52,a)};g.getEffort=function(){return wk(this,Zk,50)};g.setEffort=function(a){Ok(this,Zk,50,a)};g.hasEffort=function(){return sl(this,Zk,50)};g.getAccessLimitLevel=function(){return bk(this,53,0)};var qRb=[40,51,14,16,17,18,35,19,20,21,23,24,30];var fl=function(a){Y.call(this,a)};X(fl,Y);g=fl.prototype;g.getStarred=function(){return xl(this,1)};g.setStarred=function(a){k(this,1,a)};g.getVoted=function(){return xl(this,2)};g.setVoted=function(a){return k(this,2,a)};g.getNotificationSubscription=function(){return bk(this,4,0)};g.setNotificationSubscription=function(a){return k(this,4,a)};fl.messageId="b.IssueUserData";var HE=function(a){Y.call(this,a)};X(HE,Y);g=HE.prototype;g.getStatus=function(){return bk(this,1,0)};g.setStatus=function(a){return k(this,1,a)};g.hasStatus=function(){return Sk(this,1)};g.getReason=function(){return bk(this,2,0)};g.setReason=function(a){k(this,2,a)};var $l=function(a){Y.call(this,a)};X($l,Y);$l.prototype.getContent=function(){return wk(this,Nl,1)};$l.prototype.setContent=function(a){Ok(this,Nl,1,a)};$l.prototype.hasContent=function(){return sl(this,Nl,1)};var Gp=function(a){Y.call(this,a)};X(Gp,Y);Gp.prototype.getContent=function(){return wk(this,Nl,1)};Gp.prototype.setContent=function(a){Ok(this,Nl,1,a)};Gp.prototype.hasContent=function(){return sl(this,Nl,1)};var Ip=function(a){Y.call(this,a)};X(Ip,Y);Ip.prototype.getContent=function(){return wk(this,Nl,2)};Ip.prototype.setContent=function(a){Ok(this,Nl,2,a)};Ip.prototype.hasContent=function(){return sl(this,Nl,2)};var Hp=function(a){Y.call(this,a,-1,rRb)};X(Hp,Y);var rRb=[1];var ll=function(a){Y.call(this,a)};X(ll,Y);ll.prototype.getKindCase=function(){return pk(this,bm)};var bm=[1,2,3];var IE=function(a){Y.call(this,a)};X(IE,Y);g=IE.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getUpdateText=function(){return lk(this,2)};g.setUpdateText=function(a){k(this,2,a)};g.getFormattingMode=function(){return bk(this,4,0)};g.setFormattingMode=function(a){return k(this,4,a)};g.getAuthor=function(){return wk(this,Mj,5)};g.setAuthor=function(a){Ok(this,Mj,5,a)};g.getUpdateTime=function(){return wk(this,cj,6)};
g.setUpdateTime=function(a){Ok(this,cj,6,a)};g.getVersion=function(){return gj(this,7)};g.setVersion=function(a){return k(this,7,a)};g.getVersionOrUndefined=function(){return Ru(this,7)};g.getEntityStatus=function(){return wk(this,HE,8)};g.hasEntityStatus=function(){return sl(this,HE,8)};IE.messageId="b.StatusUpdate";var el=function(a){Y.call(this,a,-1,sRb)};X(el,Y);g=el.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getUserData=function(){return wk(this,fl,3)};g.setUserData=function(a){Ok(this,fl,3,a)};g.getParentIssueIdsList=function(){return hj(this,8)};g.setParentIssueIdsList=function(a){Xk(this,8,a)};g.getAccessLimit=function(){return wk(this,Fj,5)};g.setAccessLimit=function(a){return Ok(this,Fj,5,a)};
g.getCustomFieldsList=function(){return fj(this,xk,15)};g.setCustomFieldsList=function(a){Sb(this,15,a)};g.getVisibleFieldsList=function(){return fj(this,ok,6)};g.setVisibleFieldsList=function(a){Sb(this,6,a)};g.getAncestorsMap=function(){return Bl(this,9,kl)};g.getChildIssueCount=function(){return gj(this,10)};g.setChildIssueCount=function(a){k(this,10,a)};g.getIsArchived=function(){return xl(this,11)};g.setIsArchived=function(a){k(this,11,a)};
g.getRelatedLinksList=function(){return fj(this,mRb,12)};g.getTrackerId=function(){return kk(this,13)};g.setTrackerId=function(a){k(this,13,a)};g.getStatusUpdate=function(){return wk(this,IE,14)};g.hasStatusUpdate=function(){return sl(this,IE,14)};var sRb=[2,8,15,6,12];var dl=function(a){Y.call(this,a)};X(dl,Y);g=dl.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getPosition=function(){return gj(this,2)};g.setPosition=function(a){return k(this,2,a)};g.getIssue=function(){return wk(this,el,3)};g.setIssue=function(a){Ok(this,el,3,a)};dl.messageId="b.HotlistIssue";var uRb=function(a){Y.call(this,a,-1,tRb)};X(uRb,Y);g=uRb.prototype;g.getSnapshot=function(){return wk(this,Vk,1)};g.setSnapshot=function(a){Ok(this,Vk,1,a)};g.getAttachmentsList=function(){return Hb(this,2,hb(this.internalArray_)&18?lba:mba)};g.setAttachmentsList=function(a){Lm(this,2,a)};g.getTemplateId=function(){return kk(this,4)};g.setTemplateId=function(a){k(this,4,a)};g.getContentJudgement=function(){return wk(this,mk,5)};g.setContentJudgement=function(a){return Ok(this,mk,5,a)};
var tRb=[2,3];var jpa=function(a){Y.call(this,a,-1,vRb)};X(jpa,Y);g=jpa.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.setActionsList=function(a){Sb(this,2,a)};g.getAttachmentsList=function(){return Hb(this,3,hb(this.internalArray_)&18?lba:mba)};g.setAttachmentsList=function(a){Lm(this,3,a)};g.getSignificanceOverride=function(){return lk(this,4)};g.setSignificanceOverride=function(a){k(this,4,a)};var vRb=[2,3,5];var xRb=function(a){Y.call(this,a,-1,wRb)};X(xRb,Y);g=xRb.prototype;g.getCount=function(){return gj(this,2)};g.setCount=function(a){return k(this,2,a)};g.setS=function(a){k(this,3,a)};g.setP=function(a){return k(this,4,a)};g.getNextPageToken=function(){return lk(this,5)};g.setTrackerIdsList=function(a){Xk(this,6,a)};var wRb=[6];var dpa=function(a){Y.call(this,a)};X(dpa,Y);g=dpa.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getComponentId=function(){return kk(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return jk(this,2)};var bpa=function(a){Y.call(this,a)};X(bpa,Y);g=bpa.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getComponentId=function(){return kk(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return jk(this,2)};var opa=function(a){Y.call(this,a,-1,yRb)};X(opa,Y);g=opa.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getRelation=function(){return bk(this,3,0)};g.setRelation=function(a){k(this,3,a)};g.setActionType=function(a){k(this,4,a)};var yRb=[2];var bl=function(a){Y.call(this,a)};X(bl,Y);bl.prototype.getIssueId=function(){return kk(this,1)};bl.prototype.setIssueId=function(a){return k(this,1,a)};bl.messageId="b.UnCcUserActionRequest";var JE=function(a){Y.call(this,a)};X(JE,Y);JE.prototype.getIssueId=function(){return kk(this,1)};JE.prototype.setIssueId=function(a){return k(this,1,a)};JE.messageId="b.UndeleteIssueRequest";var KE=function(a){Y.call(this,a)};X(KE,Y);KE.prototype.getAccessLevel=function(){return bk(this,1,0)};KE.prototype.setAccessLevel=function(a){return k(this,1,a)};var LE=function(a){Y.call(this,a)};X(LE,Y);LE.prototype.getIssueId=function(){return kk(this,1)};LE.prototype.setIssueId=function(a){return k(this,1,a)};LE.prototype.getIssueAccessLimit=function(){return wk(this,KE,2)};LE.prototype.setIssueAccessLimit=function(a){Ok(this,KE,2,a)};LE.messageId="b.UpdateIssueAccessLimitRequest";var cl=function(a){Y.call(this,a,-1,zRb)};X(cl,Y);cl.prototype.getSignificanceOverride=function(){return bk(this,4,0)};cl.prototype.setSignificanceOverride=function(a){k(this,4,a)};var zRb=[1,2];var rpa=function(a){Y.call(this,a)};X(rpa,Y);g=rpa.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getRetention=function(){return bk(this,2,0)};g.setRetention=function(a){k(this,2,a)};g.getSignificanceOverride=function(){return bk(this,3,0)};g.setSignificanceOverride=function(a){k(this,3,a)};var ol=function(a){Y.call(this,a)};X(ol,Y);ol.prototype.getContentJudgement=function(){return wk(this,mk,2)};ol.prototype.setContentJudgement=function(a){return Ok(this,mk,2,a)};var BRb=function(a){Y.call(this,a,-1,ARb)};X(BRb,Y);BRb.prototype.getIssueId=function(){return kk(this,1)};BRb.prototype.setIssueId=function(a){return k(this,1,a)};var ARb=[3];var CRb=function(a){Y.call(this,a)};X(CRb,Y);g=CRb.prototype;g.getFilename=function(){return lk(this,1)};g.setFilename=function(a){k(this,1,a)};g.getMimeType=function(){return lk(this,2)};g.setMimeType=function(a){k(this,2,a)};g.getSize=function(){return Tk(this,5)};g.setSize=function(a){return k(this,5,a)};var rl=function(a){Y.call(this,a)};X(rl,Y);rl.prototype.getTeamId=function(){return Tk(this,1)};rl.prototype.setTeamId=function(a){return Lb(this,1,a)};rl.prototype.getScore=function(){return Uk(this,2)};rl.prototype.setScore=function(a){Jb(this,2,tb(a),0)};var ql=function(a){Y.call(this,a)};X(ql,Y);ql.prototype.getInherit=function(){return xl(this,1)};ql.prototype.setInherit=function(a){return k(this,1,a)};ql.prototype.getId=function(){return kk(this,2)};ql.prototype.setId=function(a){return k(this,2,a)};var ME=function(a){Y.call(this,a)};X(ME,Y);ME.prototype.getUser=function(){return wk(this,Mj,1)};ME.prototype.setUser=function(a){Ok(this,Mj,1,a)};ME.prototype.hasUser=function(){return sl(this,Mj,1)};var su=function(a){Y.call(this,a)};X(su,Y);g=su.prototype;g.getInherit=function(){return xl(this,1)};g.setInherit=function(a){return k(this,1,a)};g.getSloId=function(){return kk(this,2)};g.setSloId=function(a){return k(this,2,a)};g.getComment=function(){return lk(this,3)};g.setComment=function(a){k(this,3,a)};g.getSourceTeamId=function(){return kk(this,4)};g.setSourceTeamId=function(a){k(this,4,a)};var NE=function(a){Y.call(this,a,-1,DRb)};X(NE,Y);g=NE.prototype;g.getTeamId=function(){return kk(this,1)};g.setTeamId=function(a){return k(this,1,a)};g.getVersion=function(){return gj(this,2)};g.setVersion=function(a){return k(this,2,a)};g.getVersionOrUndefined=function(){return Ru(this,2)};g.getName=function(){return lk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return gm(this,3)};g.getNameOrUndefined=function(){return Uu(this,3)};
g.getDescription=function(){return lk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return gm(this,4)};g.getPathNamesList=function(){return ij(this,5)};g.getPathIdsList=function(){return Hb(this,10,vb)};g.getMembersList=function(){return fj(this,ME,7)};g.getDeleted=function(){return xl(this,8)};g.getSlo=function(){return wk(this,su,11)};g.setSlo=function(a){Ok(this,su,11,a)};g.hasSlo=function(){return sl(this,su,11)};var DRb=[5,10,6,7];NE.messageId="b.TeamState";var FRb=function(a){Y.call(this,a,-1,ERb)};X(FRb,Y);g=FRb.prototype;g.getPathIdsList=function(){return hj(this,1)};g.getPathNamesList=function(){return ij(this,2)};g.getId=function(){return kk(this,3)};g.setId=function(a){return k(this,3,a)};g.getName=function(){return lk(this,4)};g.setName=function(a){return k(this,4,a)};g.hasName=function(){return gm(this,4)};g.getNameOrUndefined=function(){return Uu(this,4)};g.getDescription=function(){return lk(this,5)};
g.setDescription=function(a){return k(this,5,a)};g.hasDescription=function(){return gm(this,5)};var ERb=[1,2];var tl=function(a){Y.call(this,a,-1,GRb)};X(tl,Y);var GRb=[1,2,4];var zl=function(a){Y.call(this,a,-1,HRb)};X(zl,Y);g=zl.prototype;g.getComponentId=function(){return kk(this,1)};g.setComponentId=function(a){return k(this,1,a)};g.hasComponentId=function(){return jk(this,1)};g.getName=function(){return lk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return gm(this,3)};g.getNameOrUndefined=function(){return Uu(this,3)};g.getDescription=function(){return lk(this,4)};g.setDescription=function(a){return k(this,4,a)};
g.hasDescription=function(){return gm(this,4)};g.getArchived=function(){return xl(this,5)};g.setArchived=function(a){k(this,5,a)};g.getHotlistIdList=function(){return hj(this,8)};g.setHotlistIdList=function(a){Xk(this,8,a)};g.getAccessLimit=function(){return wk(this,Fj,12)};g.setAccessLimit=function(a){return Ok(this,Fj,12,a)};g.setCommentEditState=function(a){return k(this,15,a)};g.getSloId=function(){return kk(this,16)};g.setSloId=function(a){return k(this,16,a)};
g.getSlo=function(){return wk(this,Ik,19)};g.setSlo=function(a){Ok(this,Ik,19,a)};g.hasSlo=function(){return sl(this,Ik,19)};g.getRetentionSettings=function(){return wk(this,Ek,21)};g.setRetentionSettings=function(a){Ok(this,Ek,21,a)};g.hasRetentionSettings=function(){return sl(this,Ek,21)};g.getTeam=function(){return wk(this,ql,22)};g.setTeam=function(a){Ok(this,ql,22,a)};g.hasTeam=function(){return sl(this,ql,22)};g.getEffortSpec=function(){return wk(this,zk,24)};
g.getTeamSuggestionsList=function(){return fj(this,rl,25)};g.setTeamSuggestionsList=function(a){Sb(this,25,a)};g.getTrackerId=function(){return kk(this,26)};g.setTrackerId=function(a){k(this,26,a)};var HRb=[6,7,8,9,25];zl.messageId="b.Component";var Al=function(a){Y.call(this,a)};X(Al,Y);g=Al.prototype;g.getTemplateId=function(){return Tk(this,1)};g.setTemplateId=function(a){k(this,1,a)};g.getComponentId=function(){return kk(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return jk(this,2)};g.getDefault=function(){return xl(this,6)};g.setDefault=function(a){k(this,6,a)};g.getName=function(){return lk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return gm(this,3)};
g.getNameOrUndefined=function(){return Uu(this,3)};g.getDescription=function(){return lk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return gm(this,4)};g.getSnapshot=function(){return wk(this,Vk,5)};g.setSnapshot=function(a){Ok(this,Vk,5,a)};var OE=function(a){Y.call(this,a)};X(OE,Y);OE.prototype.getSlo=function(){return wk(this,Ik,1)};OE.prototype.setSlo=function(a){Ok(this,Ik,1,a)};OE.prototype.hasSlo=function(){return sl(this,Ik,1)};OE.messageId="b.UpdateComponentSloRequest";var PE=function(a){Y.call(this,a)};X(PE,Y);PE.prototype.getTeam=function(){return wk(this,ql,1)};PE.prototype.setTeam=function(a){Ok(this,ql,1,a)};PE.prototype.hasTeam=function(){return sl(this,ql,1)};PE.messageId="b.UpdateComponentTeamRequest";var Vl=function(a){Y.call(this,a,-1,IRb)};X(Vl,Y);Vl.prototype.setActionsList=function(a){Sb(this,1,a)};Vl.prototype.getIssueIdsList=function(){return hj(this,2)};Vl.prototype.setIssueIdsList=function(a){return Xk(this,2,a)};Vl.prototype.addIssueIds=function(a){Kb(this,2,a)};var IRb=[1,2];var KRb=function(a){Y.call(this,a,-1,JRb)};X(KRb,Y);KRb.prototype.getSignificanceOverride=function(){return lk(this,3)};KRb.prototype.setSignificanceOverride=function(a){k(this,3,a)};var JRb=[4];var LRb=function(a){return"action/issues/"+a+"/statusUpdate"},au={COMPONENT_CREATE:"/components/new",HOTLIST_SEARCH:function(a){return"/issues?q=hotlistid:"+a},HOTLIST_VIEW:function(a){return"/hotlists/"+(void 0===a?"":a)},ISSUE:function(a){return"/issues/"+a},ISSUE_LIST:"/issues",ISSUE_CREATE:"/issues/new"},MRb={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var fm=function(a){Y.call(this,a)};X(fm,Y);fm.prototype.getLogoUrl=function(){return lk(this,1)};fm.prototype.getTheme=function(){return bk(this,2,0)};fm.prototype.setTheme=function(a){return k(this,2,a)};fm.messageId="b.Branding";var Vm=function(a){Y.call(this,a,-1,NRb)};X(Vm,Y);g=Vm.prototype;g.getTrackerId=function(){return kk(this,1)};g.setTrackerId=function(a){k(this,1,a)};g.getComponentId=function(){return kk(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return jk(this,2)};g.getName=function(){return lk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return gm(this,3)};g.getNameOrUndefined=function(){return Uu(this,3)};var NRb=[4];Vm.messageId="b.Tracker";var im={COMMENT_FORMATTING_MODE_UNSPECIFIED:0,PLAIN_FORMATTING_MODE:1,MARKDOWN_FORMATTING_MODE:2,LITERAL_FORMATTING_MODE:3,0:"COMMENT_FORMATTING_MODE_UNSPECIFIED",1:"PLAIN_FORMATTING_MODE",2:"MARKDOWN_FORMATTING_MODE",3:"LITERAL_FORMATTING_MODE"},ORb={},PRb=(ORb[3]="LITERAL_FORMATTING_MODE",ORb[1]="PLAIN_FORMATTING_MODE",ORb[2]="MARKDOWN_FORMATTING_MODE",ORb),QRb=PRb[2],RRb=PRb[1],QE={showFullHistory:void 0,useCodefont:void 0,resultsPerPage:void 0,displayColumns:void 0,sortColumns:void 0,notificationPreferences:{reportedPriority:"IMPORTANT",
assignedPriority:"ALL",verifiedPriority:"IMPORTANT",ccdPriority:"IMPORTANT",collaboratorPriority:"IMPORTANT",starredPriority:"IMPORTANT",excludeChangesByMe:!0,unsubscribeFromAll:!1,enableV2Prefs:!1},listViewPreferences:{showHotlists:!1,wrapTitles:!1,wrapComponents:!1,showStatusIcons:!1,rtlComponentPath:!1},layoutPreferences:{leftSidebarWidth:220,expandIssueSlo:!1},dateTimePreferences:{calendarFormat:"MMM d, yyyy",timeFormat:"hh:mma",timeZone:"",sloEtaViewAs:"DEFAULT"},themePreferences:{density:"COMFORTABLE"},
homepagePreferences:{resourceType:void 0,resourceId:void 0},keyboardPreferences:{enableAllHotkeys:!0},textDisplayPreferences:{},bugScreensaverPreferences:{announcementDismissed:!1,enableBugScreensaver:!1},g3nPreferences:{},teamWarningPreferences:{componentTeamWarnings:[]},dismissalTimestamps:{},showRecentEventsFirst:!1,commentFilterPreferences:{commentFilter:void 0},showInlineImages:!0,needsAttentionPreferences:{selectedSignals:"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION BLOCKED ASSIGNED".split(" ")}};var km=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};km.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};km.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};km.prototype.toString=function(){return this.toApiUrlParam()};var om=function(a,b){this.fieldId=a;this.direction=b};om.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};om.prototype.toString=function(){return this.toApiUrlParam()};var xm=function(a){Y.call(this,a)};X(xm,Y);var Cm=function(a){Y.call(this,a)};X(Cm,Y);var Mm=function(a){Y.call(this,a)};X(Mm,Y);g=Mm.prototype;g.getType=function(){return bk(this,1,1)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return Sk(this,1)};g.getCustomFieldId=function(){return Tk(this,2)};g.setCustomFieldId=function(a){return k(this,2,a)};g.hasCustomFieldId=function(){return zm(this,2)};var Jm=function(a){Y.call(this,a)};X(Jm,Y);Jm.prototype.getTimeZone=function(){return lk(this,5)};Jm.prototype.setTimeZone=function(a){return k(this,5,a)};Jm.prototype.hasTimeZone=function(){return gm(this,5)};var Fm=function(a){Y.call(this,a,-1,SRb)};X(Fm,Y);Fm.prototype.getColumnList=function(){return fj(this,Mm,1)};Fm.prototype.setColumnList=function(a){return Sb(this,1,a)};var SRb=[1];var Im=function(a){Y.call(this,a)};X(Im,Y);var tm=function(a){Y.call(this,a)};X(tm,Y);var Om=function(a){Y.call(this,a)};X(Om,Y);Om.prototype.getColumn=function(){return wk(this,Mm,1)};Om.prototype.setColumn=function(a){return Ok(this,Mm,1,a)};var Gm=function(a){Y.call(this,a,-1,TRb)};X(Gm,Y);Gm.prototype.getColumnList=function(){return fj(this,Om,1)};Gm.prototype.setColumnList=function(a){return Sb(this,1,a)};var TRb=[1];var um=function(a){Y.call(this,a)};X(um,Y);um.prototype.getDensity=function(){return bk(this,1,1)};um.prototype.setDensity=function(a){return k(this,1,a)};var ym=function(a){Y.call(this,a)};X(ym,Y);var Km=function(a){Y.call(this,a)};X(Km,Y);g=Km.prototype;g.getResourceType=function(){return bk(this,1,1)};g.setResourceType=function(a){k(this,1,a)};g.hasResourceType=function(){return Sk(this,1)};g.getResourceId=function(){return kk(this,2)};g.setResourceId=function(a){k(this,2,a)};g.hasResourceId=function(){return jk(this,2)};var vm=function(a){Y.call(this,a)};X(vm,Y);var Dm=function(a){Y.call(this,a,-1,URb)};X(Dm,Y);var URb=[1];var rm=function(a){Y.call(this,a)};X(rm,Y);var Bm=function(a){Y.call(this,a)};X(Bm,Y);Bm.prototype.getComponentId=function(){return Tk(this,1)};Bm.prototype.setComponentId=function(a){return k(this,1,a)};Bm.prototype.hasComponentId=function(){return zm(this,1)};var Am=function(a){Y.call(this,a,-1,VRb)};X(Am,Y);var Uqa=function(a,b){Sb(a,1,b)},VRb=[1];var wm=function(a){Y.call(this,a)};X(wm,Y);var Em=function(a){Y.call(this,a)};X(Em,Y);g=Em.prototype;g.getDisplayColumns=function(){return wk(this,Fm,4)};g.getSortColumns=function(){return wk(this,Gm,6)};g.getLayoutPreferences=function(){return wk(this,Im,10)};g.getDateTimePreferences=function(){return wk(this,Jm,11)};g.getHomepagePreferences=function(){return wk(this,Km,13)};g.clearHomepagePreferences=function(){return Qu(this,13)};g.getShowInlineImages=function(){return xl(this,29)};var Qm=function(a){Y.call(this,a,-1,WRb)};X(Qm,Y);g=Qm.prototype;g.getAnalyticsId=function(){return lk(this,1)};g.getAppName=function(){return lk(this,2)};g.getDocumentationBaseUrl=function(){return lk(this,3)};g.getEnvironmentType=function(){return lk(this,5)};g.getMaxAccurateSearchResults=function(){return gj(this,6)};g.getOnePickUrl=function(){return lk(this,7)};g.getOnePickSecretToken=function(){return lk(this,12)};g.getCommentNumberLimit=function(){return gj(this,8)};
g.getCreateComponentRedirectDelay=function(){return Uk(this,9)};var WRb=[10,13,17,18];var Sm=function(a){Y.call(this,a)};X(Sm,Y);g=Sm.prototype;g.getEmail=function(){return lk(this,1)};g.setEmail=function(a){return k(this,1,a)};g.hasEmail=function(){return gm(this,1)};g.getSessionIdentifier=function(){return lk(this,3)};g.getUserTypeLabel=function(){return lk(this,5)};var Tm=function(a){Y.call(this,a,-1,XRb)};X(Tm,Y);Tm.prototype.getId=function(){return lk(this,1)};Tm.prototype.setId=function(a){return k(this,1,a)};var XRb=[2,4];Tm.messageId="b.TimeZoneData";var Um=function(a){Y.call(this,a,-1,YRb)};X(Um,Y);Um.prototype.getMessage=function(){return lk(this,1)};Um.prototype.setMessage=function(a){return k(this,1,a)};Um.prototype.getTagsList=function(){return ij(this,4)};var YRb=[4];Um.messageId="b.Announcement";var Rm=function(a){Y.call(this,a,-1,ZRb)};X(Rm,Y);Rm.prototype.getAnnouncement=function(){return wk(this,Um,2)};var ZRb=[1];var Wqa=function(a){Y.call(this,a)};X(Wqa,Y);g=Wqa.prototype;g.getUser=function(){return wk(this,Sm,1)};g.setUser=function(a){Ok(this,Sm,1,a)};g.hasUser=function(){return sl(this,Sm,1)};g.getConfig=function(){return wk(this,Qm,2)};g.setConfig=function(a){return Ok(this,Qm,2,a)};g.hasConfig=function(){return sl(this,Qm,2)};g.getXsrfToken=function(){return lk(this,3)};g.getCspNonce=function(){return lk(this,8)};g.getFrontendAccessMode=function(){return lk(this,4)};
g.getMustAcknowledgeTerms=function(){return xl(this,5)};g.getShowNewFeaturesDialog=function(){return xl(this,6)};g.getUserPreferences=function(){return wk(this,Em,7)};g.getAppBaseHref=function(){return lk(this,10)};g.getTracker=function(){return wk(this,Vm,11)};var Xqa=window,Pm;var tu=function(){this.session=Wm();this.tracker=this.session.tracker||void 0};tu.prototype.getAppBaseHref=function(){return this.session.appBaseHref};tu.prototype.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};tu.prototype.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};tu.prototype.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var $Rb=function(a){return"PARTNER"===a.getFrontendAccessMode()},RE=function(a){return"PUBLIC"===a.getFrontendAccessMode()};tu.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var Qp=function(a,b){return!!a.session.config.enabledFlags.get(b)};g=tu.prototype;g.isAnonymous=function(){return this.session.user.anonymous};g.getUserEmail=function(){return this.session.user.email||""};g.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};
g.getTracker=function(){return this.tracker};g.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};g.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};g.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};var SBa=function(a){a=a.getEnvironmentType();switch(a){case "QA":case "DEV":return!1;case "NIGHTLY":case "PROD":return!0;default:Qi(a,"Unknown environment type.")}};g=tu.prototype;
g.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?SBa(this)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":SBa(this)?"http://b/":"http://b-qa/"};g.getOnePickUrl=function(){return this.session.config.onePickUrl};g.getAppName=function(){return this.session.config.appName};g.getCommentNumberLimit=function(){return this.session.config.commentNumberLimit};g.getCreateComponentRedirectDelay=function(){return this.session.config.createComponentRedirectDelay};
g.getDocumentationBaseUrl=function(){return this.session.config.documentationBaseUrl};g.getMaxAccurateSearchResults=function(){return this.session.config.maxAccurateSearchResults};g.getAnalyticsId=function(){return this.session.config.analyticsId};g.getUserPreferences=function(){return this.session.userPreferences};g.getXsrfToken=function(){return this.session.xsrfToken};g.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};g.getCspNonce=function(){return this.session.cspNonce};
g.getAnnouncement=function(){return this.session.preload.announcement};g.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};tu.\u0275fac=function(a){return new (a||tu)};tu.\u0275prov=Pc({token:tu,factory:tu.\u0275fac,providedIn:"root"});var SE=new Ud("buganizerWindow",{factory:function(){return window}});var Z=function(){this.destroyed$=new T.ReplaySubject(1);this.subscriptions=new T.Subscription};Z.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Z.\u0275fac=function(a){return new (a||Z)};Z.\u0275dir=r({type:Z});var TE=function(a,b){Z.call(this);this.$window=a;this.activeSession=b;this.enableTrackers=Qp(this.activeSession,"enableTrackers");a=T.BehaviorSubject;if(this.enableTrackers){var c;b=null!=(c=this.$window.sessionStorage.getItem("buganizer.current_tracker_id"))?c:""}else b="";this.trackerId$=new a(b);this.enableTrackers&&(c=(c=this.activeSession.getTracker())?c.trackerId:void 0)&&this.setTrackerId(c)};X(TE,Z);TE.\u0275dir=Z.\u0275dir;
TE.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};TE.prototype.getTrackerId=function(){return this.trackerId$.value};TE.\u0275fac=function(a){return new (a||TE)(n(SE),n(tu))};TE.\u0275prov=Pc({token:TE,factory:TE.\u0275fac,providedIn:"root"});var UE=function(a){Y.call(this,a)};X(UE,Y);UE.messageId="f.mt";var VE=function(a){Y.call(this,a,-1,aSb)};X(VE,Y);VE.prototype.getIssueIdsList=function(){return Hb(this,1,vb)};VE.prototype.setIssueIdsList=function(a){return Ib(this,1,a,ub)};VE.prototype.addIssueIds=function(a){Kb(this,1,a)};VE.prototype.setIdsList=function(a){Xk(this,2,a)};var aSb=[1,2];VE.messageId="b.BatchGetIssuesRequest";var cSb=function(a){Y.call(this,a,-1,bSb)};X(cSb,Y);cSb.prototype.getIssuesList=function(){return fj(this,el,1)};var bSb=[1];cSb.messageId="b.BatchGetIssuesResponse";var Wl=function(a){Y.call(this,a)};X(Wl,Y);Wl.prototype.getIssueId=function(){return kk(this,1)};Wl.prototype.setIssueId=function(a){return k(this,1,a)};Wl.prototype.getMessage=function(){return lk(this,2)};Wl.prototype.setMessage=function(a){return k(this,2,a)};var eSb=function(a){Y.call(this,a,-1,dSb)};X(eSb,Y);var dSb=[2];eSb.messageId="b.BulkEditResponse";var WE=function(a){Y.call(this,a,-1,fSb)};X(WE,Y);WE.prototype.getReadersList=function(){return fj(this,Yj,1)};WE.prototype.setReadersList=function(a){Sb(this,1,a)};WE.prototype.getAppendersList=function(){return fj(this,Yj,2)};WE.prototype.setAppendersList=function(a){Sb(this,2,a)};var fSb=[1,2,3];WE.messageId="b.GetRetainedAccessPrincipalsResponse";var XE=function(a){Y.call(this,a)};X(XE,Y);XE.prototype.getIssueId=function(){return kk(this,1)};XE.prototype.setIssueId=function(a){return k(this,1,a)};XE.messageId="b.IssueCreateResponse";var gSb=function(a){Y.call(this,a)};X(gSb,Y);var ypa=function(a){Y.call(this,a,-1,hSb)};X(ypa,Y);g=ypa.prototype;g.getContentType=function(){return Db(this,1)};g.getTimestamp=function(){return Db(this,2)};g.setTimestamp=function(a){return k(this,2,a)};g.hasTimestamp=function(){return null!=Db(this,2)};g.getToken=function(){return Db(this,3)};g.setToken=function(a){return k(this,3,a)};g.getLength=function(){return Db(this,4)};g.getFilename=function(){return Db(this,5)};g.setFilename=function(a){k(this,5,a)};
g.getPath=function(){return Db(this,7)};g.setPath=function(a){return k(this,7,a)};g.hasPath=function(){return gm(this,7)};g.getHash=function(){return Db(this,11)};g.setHash=function(a){return k(this,11,a)};g.getObjectId=function(){return wk(this,gSb,15)};g.setObjectId=function(a){Ok(this,gSb,15,a)};var hSb=[13];var YE=function(a){Y.call(this,a)};X(YE,Y);g=YE.prototype;g.getAttachmentId=function(){return kk(this,1)};g.setAttachmentId=function(a){k(this,1,a)};g.getDescription=function(){return lk(this,2)};g.setDescription=function(a){return k(this,2,a)};g.hasDescription=function(){return gm(this,2)};g.getContentType=function(){return lk(this,4)};g.getFilename=function(){return lk(this,5)};g.setFilename=function(a){k(this,5,a)};g.getLength=function(){return Tk(this,6)};g.getEtag=function(){return lk(this,8)};
g.setEtag=function(a){k(this,8,a)};g.hasEtag=function(){return gm(this,8)};g.getContentVerdict=function(){return wk(this,Rl,9)};g.getEntityStatus=function(){return wk(this,HE,10)};g.hasEntityStatus=function(){return sl(this,HE,10)};g.getPiiRetentionState=function(){return wk(this,hl,12)};g.getPiiRetention=function(){return bk(this,13,0)};g.setPiiRetention=function(a){return k(this,13,a)};g.hasPiiRetention=function(){return Sk(this,13)};YE.messageId="b.Attachment";var Gl=function(a){Y.call(this,a)};X(Gl,Y);g=Gl.prototype;g.getOldValue=function(){return lk(this,1)};g.getNewValue=function(){return lk(this,2)};g.getCustomFieldId=function(){return Tk(this,3)};g.setCustomFieldId=function(a){return k(this,3,a)};g.hasCustomFieldId=function(){return zm(this,3)};var ZE=function(a){Y.call(this,a)};X(ZE,Y);ZE.prototype.getHref=function(){return lk(this,1)};ZE.prototype.getValue=function(){return lk(this,2)};ZE.prototype.setValue=function(a){return k(this,2,a)};ZE.prototype.hasValue=function(){return gm(this,2)};var Jl=function(a){Y.call(this,a,-1,iSb)};X(Jl,Y);Jl.prototype.getAddedList=function(){return fj(this,ZE,1)};Jl.prototype.getRemovedList=function(){return fj(this,ZE,2)};var iSb=[1,2];var Fl=function(a){Y.call(this,a)};X(Fl,Y);Fl.prototype.getOldValue=function(){return lk(this,1)};Fl.prototype.getNewValue=function(){return lk(this,2)};var Qpa=function(a){Y.call(this,a)};X(Qpa,Y);var Cl=function(a){Y.call(this,a)};X(Cl,Y);var El=[1,2];var Ll=function(a){Y.call(this,a)};X(Ll,Y);Ll.prototype.getEntityStatus=function(){return wk(this,HE,1)};Ll.prototype.hasEntityStatus=function(){return sl(this,HE,1)};var Il=function(a){Y.call(this,a,-1,jSb)};X(Il,Y);Il.prototype.getAddedList=function(){return ij(this,1)};Il.prototype.getRemovedList=function(){return ij(this,2)};var jSb=[1,2];var Hl=function(a){Y.call(this,a,-1,kSb)};X(Hl,Y);Hl.prototype.getAddedList=function(){return fj(this,Mj,1)};Hl.prototype.getRemovedList=function(){return fj(this,Mj,2)};var kSb=[1,2];var Ql=function(a){Y.call(this,a)};X(Ql,Y);g=Ql.prototype;g.getName=function(){return lk(this,1)};g.setName=function(a){return k(this,1,a)};g.hasName=function(){return gm(this,1)};g.getNameOrUndefined=function(){return Uu(this,1)};g.getDisplayName=function(){return lk(this,2)};g.setDisplayName=function(a){return k(this,2,a)};g.getType=function(){return bk(this,3,0)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return Sk(this,3)};g.getTimestamp=function(){return wk(this,cj,4)};
g.setTimestamp=function(a){return Ok(this,cj,4,a)};g.hasTimestamp=function(){return sl(this,cj,4)};var Dl=[6,7,8,9,10,11];Ql.messageId="b.EventDiff";var cm=function(a){Y.call(this,a,-1,lSb)};X(cm,Y);g=cm.prototype;g.getCount=function(){return Tk(this,2)};g.setCount=function(a){return k(this,2,a)};g.getType=function(){return bk(this,4,0)};g.setType=function(a){return k(this,4,a)};g.hasType=function(){return Sk(this,4)};var lSb=[3];cm.messageId="b.ReactionState";var Sl=function(a){Y.call(this,a,-1,mSb)};X(Sl,Y);var mSb=[1];Sl.messageId="b.CommentReaction";var oSb=function(a){Y.call(this,a,-1,nSb)};X(oSb,Y);oSb.prototype.getState=function(){return bk(this,2,0)};var nSb=[3];var $E=function(a){Y.call(this,a,-1,pSb)};X($E,Y);g=$E.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getMentionsList=function(){return fj(this,oSb,16)};g.getLastModified=function(){return Tk(this,5)};g.getVersion=function(){return gj(this,6)};g.setVersion=function(a){return k(this,6,a)};g.getVersionOrUndefined=function(){return Ru(this,6)};g.getEntityStatus=function(){return wk(this,HE,9)};g.hasEntityStatus=function(){return sl(this,HE,9)};
g.getFormattingMode=function(){return bk(this,10,0)};g.setFormattingMode=function(a){return k(this,10,a)};g.getFormattedComment=function(){return wk(this,ll,13)};g.getPiiRetentionState=function(){return wk(this,hl,11)};g.getPiiRetention=function(){return bk(this,12,0)};g.setPiiRetention=function(a){return k(this,12,a)};g.hasPiiRetention=function(){return Sk(this,12)};g.getEtag=function(){return lk(this,17)};g.setEtag=function(a){k(this,17,a)};g.hasEtag=function(){return gm(this,17)};var pSb=[16];
$E.messageId="b.IssueComment";var Xpa=function(a){Y.call(this,a)};X(Xpa,Y);Xpa.prototype.getTag=function(){return lk(this,1)};var Tl=function(a){Y.call(this,a,-1,qSb)};X(Tl,Y);g=Tl.prototype;g.getComment=function(){return wk(this,$E,6)};g.setComment=function(a){Ok(this,$E,6,a)};g.getAttachmentsList=function(){return fj(this,YE,10)};g.setAttachmentsList=function(a){Sb(this,10,a)};g.getVersion=function(){return Tk(this,7)};g.setVersion=function(a){return k(this,7,a)};g.getVersionOrUndefined=function(){return Su(this,7)};g.getStatusUpdate=function(){return wk(this,IE,13)};g.hasStatusUpdate=function(){return sl(this,IE,13)};
var qSb=[2,3,10,9];Tl.messageId="b.IssueEvent";var Qo=function(a){Y.call(this,a,-1,rSb)};X(Qo,Y);Qo.prototype.getIssue=function(){return wk(this,el,1)};Qo.prototype.setIssue=function(a){Ok(this,el,1,a)};Qo.prototype.getCustomFieldsList=function(){return fj(this,xk,3)};Qo.prototype.setCustomFieldsList=function(a){Sb(this,3,a)};var rSb=[3];Qo.messageId="b.IssueFetchResponse";var aF=function(a){Y.call(this,a,-1,sSb)};X(aF,Y);aF.prototype.getIssuesList=function(){return fj(this,el,1)};aF.prototype.getNumTotalResults=function(){return gj(this,2)};aF.prototype.getComponentsMap=function(){return Bl(this,3,zl)};aF.prototype.getNextPageToken=function(){return lk(this,5)};var sSb=[1];aF.messageId="b.IssueSearchResponse";var uSb=function(a){Y.call(this,a,-1,tSb)};X(uSb,Y);var tSb=[1];uSb.messageId="b.ListIssueEventsResponse";var bF=function(a){Y.call(this,a)};X(bF,Y);g=bF.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getStatus=function(){return bk(this,2,0)};g.setStatus=function(a){return k(this,2,a)};g.hasStatus=function(){return Sk(this,2)};g.getTitle=function(){return lk(this,3)};g.setTitle=function(a){return k(this,3,a)};g.getVersion=function(){return gj(this,4)};g.setVersion=function(a){return k(this,4,a)};g.getVersionOrUndefined=function(){return Ru(this,4)};
g.getIsArchived=function(){return xl(this,5)};g.setIsArchived=function(a){k(this,5,a)};var cF=function(a){Y.call(this,a,-1,vSb)};X(cF,Y);cF.prototype.getIssueDigestsList=function(){return fj(this,bF,1)};cF.prototype.getNumTotalResults=function(){return Tk(this,2)};var vSb=[1];cF.messageId="b.RelatedIssuesResponse";var dF=function(){},eF=function(a,b){this.executor=a;this.currentTrackerId=b};g=eF.prototype;g.createIssue=function(a){var b=new uRb;b.setSnapshot(Yoa(a.snapshot));a.attachments&&b.setAttachmentsList(a.attachments);a.templateId&&b.setTemplateId(String(a.templateId));a.contentJudgement&&b.setContentJudgement(boa(a.contentJudgement));var c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues",body:b,options:{headers:c},responseConstructor:XE}).pipe(B(tpa))};
g.getIssue=function(a){var b={},c=this.currentTrackerId.getTrackerId();c&&(b.currentTrackerId=c);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:Qo}).pipe(B(function(d){return Ul(d)}))};g.batchGetIssues=function(a){var b=new VE;b.setIssueIdsList(a.map(nk));return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:cSb}).pipe(B(function(c){return c.getIssuesList().map(function(d){return Ol(d)})}))};
g.updateIssue=function(a,b){b=kpa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Qo}).pipe(B(function(c){return Ul(c)}))};g.moveIssueExternal=function(a,b){b=epa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Qo}).pipe(B(function(c){return Ul(c)}))};g.moveIssue=function(a,b){b=cpa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Qo}).pipe(B(function(c){return Ul(c)}))};
g.unCcUser=function(a){var b=apa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Qo}).pipe(B(function(c){return Ul(c)}))};g.updateAccessLimit=function(a,b){var c=(new LE).setIssueId(a);b&&(b=Xoa[b])&&(b=(new KE).setAccessLevel(b),c.setIssueAccessLimit(b));return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:c,responseConstructor:UE})};
g.getRetainedAccessPrincipals=function(a,b){b=$oa(a,b);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:WE}).pipe(B(function(c){var d,e,f;return{readers:ck(null!=(d=c.getReadersList())?d:[]),appenders:ck(null!=(e=c.getAppendersList())?e:[]),writers:ck(null!=(f=fj(c,Yj,3))?f:[])}}))};g.relateIssue=function(a,b){b=qpa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:Qo}).pipe(B(function(c){return Ul(c)}))};
g.updateIssueHotlists=function(a,b){b=mpa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Qo}).pipe(B(function(c){return Ul(c)}))};g.updateIssueRetention=function(a,b){b=spa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Qo}).pipe(B(function(c){return Ul(c)}))};
g.listIssues=function(a,b){b=void 0===b?{}:b;var c=new xRb;k(c,1,a);b.count&&c.setCount(b.count);b.s&&c.setS(b.s);b.p&&c.setP(b.p);var d;c.setTrackerIdsList(null!=(d=b.trackerIds)?d:[]);return this.executor.post({url:"action/issues/list",body:c,responseConstructor:aF}).pipe(B(oqa))};
g.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new KRb;var d=a.bulkEditOps.map(bqa);Sb(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:eSb,options:{headers:c}}).pipe(B(dqa))};
g.getRelatedIssues=function(a){var b={};a.q&&(b.q=a.q);a.s&&(b.s=a.s);a.count&&(b.count=String(a.count));a.p&&(b.p=String(a.p));a.trackerId&&(b.trackerId=a.trackerId);var c="action/related";a.resourceType&&(c+="/"+a.resourceType,a.resourceId&&(c+="/"+a.resourceId));return this.executor.get({url:c,options:{params:b},responseConstructor:cF}).pipe(B(npa))};
var wSb=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:uSb}).pipe(B(function(c){return fj(c,Tl,1).map(function(d){return Ypa(d)})}))};eF.\u0275fac=function(a){return new (a||eF)(n(nE),n(TE))};eF.\u0275prov=Pc({token:eF,factory:eF.\u0275fac,providedIn:"root"});var fF=function(a){this.observableApi=a};X(fF,dF);g=fF.prototype;g.createIssue=function(a){return(0,T.firstValueFrom)(this.observableApi.createIssue(a))};
g.getIssue=function(a){return(0,T.firstValueFrom)(this.observableApi.getIssue(a))};g.batchGetIssues=function(a){return(0,T.firstValueFrom)(this.observableApi.batchGetIssues(a))};g.updateIssue=function(a,b){return(0,T.firstValueFrom)(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return(0,T.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return(0,T.firstValueFrom)(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return(0,T.firstValueFrom)(this.observableApi.unCcUser(a))};
g.updateAccessLimit=function(a,b){return(0,T.firstValueFrom)(this.observableApi.updateAccessLimit(a,b))};g.getRetainedAccessPrincipals=function(a,b){return(0,T.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b))};g.relateIssue=function(a,b){return(0,T.firstValueFrom)(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return(0,T.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};
g.updateIssueRetention=function(a,b){return(0,T.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=void 0===b?{}:b;return(0,T.firstValueFrom)(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return(0,T.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return(0,T.firstValueFrom)(this.observableApi.getRelatedIssues(a))};fF.\u0275fac=function(a){return new (a||fF)(n(eF))};
fF.\u0275prov=Pc({token:fF,factory:fF.\u0275fac,providedIn:"root"});var gF=function(a){Y.call(this,a)};X(gF,Y);var hF=function(a,b){return Lb(a,1,b)},xSb=function(a,b){return Lb(a,2,b)};var ySb=function(a){Y.call(this,a)};X(ySb,Y);g=ySb.prototype;g.getIssueId=function(){return Tk(this,1)};g.setIssueId=function(a){return Lb(this,1,a)};g.setRelationshipType=function(a){return Dk(this,2,a)};g.getIssueRelationship=function(){return wk(this,gF,3)};g.setIssueRelationship=function(a){return Ok(this,gF,3,a)};g.getSignificanceOverride=function(){return bk(this,4,0)};g.setSignificanceOverride=function(a){Dk(this,4,a)};var ASb=function(a){Y.call(this,a,-1,zSb)};X(ASb,Y);g=ASb.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.setRelationshipType=function(a){return k(this,2,a)};g.setRequestsList=function(a){return Sb(this,3,a)};g.addAndReturnRequests=function(){return tBb(this,3,ySb)};g.getSignificanceOverride=function(){return bk(this,4,0)};g.setSignificanceOverride=function(a){k(this,4,a)};var zSb=[3];ASb.messageId="b.BatchCreateIssueRelationshipsRequest";var CSb=function(a){Y.call(this,a,-1,BSb)};X(CSb,Y);CSb.prototype.getIssueRelationshipsList=function(){return fj(this,gF,1)};var BSb=[1];CSb.messageId="b.BatchCreateIssueRelationshipsResponse";var ESb=function(a){Y.call(this,a,-1,DSb)};X(ESb,Y);g=ESb.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.setRelationshipType=function(a){return k(this,2,a)};g.getSignificanceOverride=function(){return bk(this,4,0)};g.setSignificanceOverride=function(a){k(this,4,a)};var DSb=[3];ESb.messageId="b.BatchDeleteIssueRelationshipsRequest";var iF=function(a){Y.call(this,a,-1,FSb)};X(iF,Y);iF.prototype.getSourceIssueIdsList=function(){return hj(this,1)};iF.prototype.setSourceIssueIdsList=function(a){return Xk(this,1,a)};iF.prototype.setRelationshipType=function(a){return k(this,2,a)};iF.prototype.setIncludeArchived=function(a){return k(this,3,a)};var FSb=[1];iF.messageId="b.BatchGetIssueRelationshipsRequest";var jF=function(a){Y.call(this,a,-1,GSb)};X(jF,Y);jF.prototype.getIssueRelationshipsList=function(){return fj(this,gF,1)};jF.prototype.getTotalSize=function(){return gj(this,2)};var GSb=[1];var ISb=function(a){Y.call(this,a,-1,HSb)};X(ISb,Y);var HSb=[1];ISb.messageId="b.BatchGetIssueRelationshipsResponse";var kF=function(a){Y.call(this,a)};X(kF,Y);kF.prototype.getIssueRelationship=function(){return wk(this,gF,1)};kF.prototype.setIssueRelationship=function(a){return Ok(this,gF,1,a)};kF.messageId="b.CreateIssueRelationshipResponse";var lF=function(a){Y.call(this,a,-1,JSb)};X(lF,Y);var KSb=function(a,b){return Xk(a,1,b)};lF.prototype.setRelationshipType=function(a){return k(this,2,a)};lF.prototype.setIncludeArchived=function(a){return k(this,3,a)};var LSb=function(a,b){return k(a,4,b)},MSb=function(a,b){return k(a,5,b)},JSb=[1];lF.messageId="b.GetIssueDescendantsRequest";var NSb=function(a){Y.call(this,a)};X(NSb,Y);NSb.messageId="b.GetIssueDescendantsResponse";var PSb=function(a){Y.call(this,a,-1,OSb)};X(PSb,Y);PSb.prototype.getIssueRelationshipsList=function(){return fj(this,gF,1)};var OSb=[1];PSb.messageId="b.ListIssueRelationshipsResponse";var mF=function(a){Y.call(this,a)};X(mF,Y);mF.prototype.getIssueRelationship=function(){return wk(this,gF,1)};mF.prototype.setIssueRelationship=function(a){return Ok(this,gF,1,a)};mF.messageId="b.UpdateIssueRelationshipResponse";var nF=function(a){this.executor=a};g=nF.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+b,responseConstructor:PSb}).pipe(B(function(c){return c.getIssueRelationshipsList()}))};g.create=function(a,b,c){return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:kF}).pipe(B(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new gF}))};
g.update=function(a,b,c){return this.executor.put({url:"action/issues/"+a+"/relationships/"+Tk(c,1)+"?relationshipType="+b,body:c,responseConstructor:mF}).pipe(B(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new gF}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+b,responseConstructor:null})};
g.batchGet=function(a,b,c){a=(new iF).setSourceIssueIdsList(a).setRelationshipType(b).setIncludeArchived(c);return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:ISb}).pipe(B(function(d){return fj(d,jF,1)}))};
var QSb=function(a,b,c){c=c.map(function(d){return(new ySb).setIssueRelationship(d)});b=(new ASb).setIssueId(b).setRelationshipType(1).setRequestsList(c);return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:CSb}).pipe(B(function(d){return d.getIssueRelationshipsList()}))},RSb=function(a,b,c){b=(new ESb).setIssueId(b).setRelationshipType(1);c=Xk(b,3,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:c,responseConstructor:null})};
nF.prototype.getDescendants=function(a){var b=a.issueIds,c=a.relationshipType,d=a.includeArchived,e=a.depthLimit;a=a.prefixSizeLimit;b=MSb(LSb(KSb(new lF,b).setRelationshipType(c).setIncludeArchived(d),e),a);return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:NSb}).pipe(B(function(f){var h=new Map;f=Bl(f,1,jF);f=m(f.entries());for(var l=f.next();!l.done;l=f.next()){var q=m(l.value);l=q.next().value;q=q.next().value;h.set(String(l),q)}return h}))};
nF.\u0275fac=function(a){return new (a||nF)(n(nE))};nF.\u0275prov=Pc({token:nF,factory:nF.\u0275fac,providedIn:"root"});var Zqa=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var oF=new Map([[1,"New"],[2,"Assigned"],[3,"In Progress (Accepted)"],[4,"Fixed"],[5,"Fixed (Verified)"],[6,"Won't fix (Not reproducible)"],[7,"Won't fix (Intended behavior)"],[8,"Won't fix (Obsolete)"],[9,"Won't fix (Infeasible)"],[10,"Duplicate"],[0,""]]),pF=new Map([[1,"New"],[2,"Assigned"],[3,"In Progress"],[4,"Fixed"],[5,"Verified"],[6,"Can't Repro"],[7,"WAI"],[8,"Obsolete"],[9,"Infeasible"],[10,"Duplicate"],[0,""]]);var qF={},rF=(qF[0]=pF.get(0),qF[1]=pF.get(1),qF[2]=pF.get(2),qF[3]=pF.get(3),qF[4]=pF.get(4),qF[5]=pF.get(5),qF[10]=pF.get(10),qF[9]=pF.get(9),qF[6]=pF.get(6),qF[8]=pF.get(8),qF[7]=pF.get(7),qF),SSb=Zm(rF,Rk),sF={},yra=(sF.STATUS_UNSPECIFIED=0,sF.NEW=10,sF.ASSIGNED=20,sF.ACCEPTED=30,sF.FIXED=40,sF.VERIFIED=50,sF.DUPLICATE=60,sF.INFEASIBLE=70,sF.NOT_REPRODUCIBLE=80,sF.OBSOLETE=90,sF.INTENDED_BEHAVIOR=100,sF),tF={},TSb=(tF.ASSIGNED=!0,tF.ACCEPTED=!0,tF.FIXED=!0,tF.VERIFIED=!0,tF.DUPLICATE=!0,tF.INFEASIBLE=
!0,tF.NOT_REPRODUCIBLE=!0,tF.OBSOLETE=!0,tF.INTENDED_BEHAVIOR=!0,tF),uF={},vF=(uF[0]=oF.get(0),uF[1]=oF.get(1),uF[2]=oF.get(2),uF[3]=oF.get(3),uF[4]=oF.get(4),uF[5]=oF.get(5),uF[10]=oF.get(10),uF[9]=oF.get(9),uF[6]=oF.get(6),uF[8]=oF.get(8),uF[7]=oF.get(7),uF),$m=Zm(vF,Rk),wF={},USb=(wF.P0="P0",wF.P1="P1",wF.P2="P2",wF.P3="P3",wF.P4="P4",wF.PRIORITY_UNSPECIFIED="--",wF),xF={},VSb=(xF.S0="S0",xF.S1="S1",xF.S2="S2",xF.S3="S3",xF.S4="S4",xF.SEVERITY_UNSPECIFIED="--",xF),yF={},WSb=(yF[0]="",yF[1]="Bug",
yF[2]="Feature Request",yF[3]="Customer Issue",yF[4]="Internal Cleanup",yF[5]="Process",yF[6]="Vulnerability",yF[7]="Privacy Issue",yF[8]="Project",yF[9]="Feature",yF[10]="Milestone",yF[11]="Epic",yF[12]="Story",yF[13]="Task",yF),XSb=Zm(WSb,Loa),zF={},YSb=(zF[0]="issue-status-wont-fix",zF[1]="issue-status-new",zF[2]="issue-status-assigned",zF[3]="issue-status-accepted",zF[4]="issue-status-fixed",zF[5]="issue-status-verified",zF[10]="issue-status-duplicate",zF[9]="issue-status-wont-fix",zF[6]="issue-status-wont-fix",
zF[8]="issue-status-wont-fix",zF[7]="issue-status-wont-fix",zF),ZSb=Zm(YSb,Rk);var gra=function(a,b,c,d,e){this.status=a;this.displayValue=b;this.open=c;this.assigneeRequirement=d;this.sortOrder=e},AF={},ln=(AF.NEW=an("NEW",!0,"FORBIDDEN",10),AF.ASSIGNED=an("ASSIGNED",!0,"REQUIRED",20),AF.ACCEPTED=an("ACCEPTED",!0,"REQUIRED",30),AF.FIXED=an("FIXED",!1,"REQUIRED",40),AF.VERIFIED=an("VERIFIED",!1,"REQUIRED",50),AF.DUPLICATE=an("DUPLICATE",!1,"ALLOWED",60),AF.INFEASIBLE=an("INFEASIBLE",!1,"ALLOWED",70),AF.NOT_REPRODUCIBLE=an("NOT_REPRODUCIBLE",!1,"ALLOWED",80),AF.OBSOLETE=an("OBSOLETE",
!1,"ALLOWED",90),AF.INTENDED_BEHAVIOR=an("INTENDED_BEHAVIOR",!1,"ALLOWED",100),AF),$Sb=[ln.NEW,ln.ASSIGNED,ln.ACCEPTED,ln.FIXED,ln.VERIFIED,ln.NOT_REPRODUCIBLE,ln.INTENDED_BEHAVIOR,ln.OBSOLETE,ln.INFEASIBLE,ln.DUPLICATE],aTb=$Sb.map(function(a){return{value:a.status,displayText:a.displayValue}}),bTb=new Set(Object.values(gc(ln,function(a){return"REQUIRED"===a.assigneeRequirement})));var BF=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()},CF=function(a){return Date.now()-a.lastValidated};BF.prototype.isFresh=function(){return CF(this)<this.cfg.freshUntil};BF.prototype.isAncient=function(){return CF(this)>this.cfg.ancientAfter};BF.prototype.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};BF.prototype.toString=function(){var a=String(this.data);return Math.ceil(CF(this)/1E3)+"s old -- "+a};
var cTb=function(a){this.cfg=a;this.cache=new Map},dTb=function(a,b){a=DF(a,b);return null==a?Infinity:a},DF=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:CF(c)};cTb.prototype.isFresh=function(a){return dTb(this,a)<this.cfg.freshUntil};var eTb=function(a,b){return dTb(a,b)<=a.cfg.ancientAfter};g=cTb.prototype;g.isAncient=function(){var a=DF(this);return a?a>this.cfg.ancientAfter:!1};g.getStatus=function(a){a=this.get(a,!0);if(null!=a)return a.getStatus()};
g.has=function(a,b){return!!this.get(a,void 0===b?!1:b)};g.get=function(a,b){b=void 0===b?!1:b;var c=this.cache.get(a);if(null!=c)return CF(c)>this.cfg.ancientAfter&&!b&&this.cache.delete(a),this.cache.get(a)};g.getData=function(a,b){var c;return null==(c=this.get(a,void 0===b?!1:b))?void 0:c.data};g.set=function(a,b){this.cache.set(a,new BF(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new BF(b.data,this.cfg))};
g.validate=function(a,b,c,d){d=void 0===d?!1:d;if(!this.has(a,d))return!1;a=this.getData(a,d);return c(a,b)};g.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};g.toString=function(){return Array.from(this.cache,function(a){a=m(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var EF={trustMemory:!0},fTb=function(){},wna=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],gTb=function(a){this.ids=[];Object.assign(this,a)};X(gTb,fTb);gTb.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var hTb={freshUntil:1E4,ancientAfter:792E5},GF=function(a){var b=this;a=void 0===a?{}:a;this.error$=new T.Subject;this.normalizeQueryResponses=!0;this.idKey="id";this.idForRecord=function(c){var d=c[b.idKey];if("string"===typeof d)return d;if("number"===typeof d)return String(d);c=JSON.stringify(c).slice(0,128);if(null==d)throw Error("lc`"+b.idKey+"`"+c);throw Error("mc`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new T.BehaviorSubject(Object.freeze({}));
this.inFlightSaves$=new T.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(B(sn));this.saving$=this.inFlightSaves$.pipe(B(sn));this.thinking$=(0,T.combineLatest)(this.getting$,this.saving$).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c||d}),Df());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?Jra:FF({label:c,value:DF(b.memory,c)});if(b.memory.validate(c,d,b.isEqual))e("one-isSame"),b.memory.touch(c);else{b.memory.set(c,
d);var f=b.valsById.get(c);e("one-isChanged");f?f.next(d):Zi(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=m(d),f=e.next();!f.done;f=e.next()){f=f.value;var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}(e=iTb(b,c))?e.next(d):$i("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=FF({label:c,value:DF(b.collectiveMemory,c)});if(b.normalizeQueryResponses)for(var f=m(d.results),h=f.next();!h.done;h=
f.next()){h=h.value;var l=b.idForRecord(h);b.gotOne(l)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,vna);b.collectiveMemory.set(c,f);e("all-isChanged");(e=b.collectionsById.get(c))?(d=jTb(b,f,d.results),e.next(d)):bna(c+" gotAll but don't have a behaviorSubject set up to broadcast on. Strange...",d)}};this.dereferenceOne=function(c){return function(d){var e=c.find(function(f){return b.idForRecord(f)===d});null==e&&$i("Couldn't find a record for id "+d);return e}};this.debug=
function(){return{recordType:b.recordType,isThinking:b.isThinking(),inFlightGets:Object.entries(b.inFlightGets).map(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves).map(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),lists:b.collectiveMemory.debug()}};this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((void 0===c.message?"":
c.message).match("Default no-op for Fridge"))return!1}return!0}};this.canSave=this.implementsFn();this.isThinking=function(c){return b.isSaving(c)||b.isGetting(c)};this.isSaving=function(c){return null==c?sn(b.inFlightSaves):!!b.inFlightSaves[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(B(function(d){return!!d[c]}),Df())};this.isGetting=function(c){return null==c?sn(b.inFlightGets):!!b.inFlightGets[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?EF:d;"number"===typeof d&&(d=
EF);if(null==c)return(0,T.of)();"number"===typeof c&&(c=String(c));var e=kTb(b,c);lTb(b,c,d).catch(function(){});return Vv(e)};this.watchSet=function(c,d){d=void 0===d?EF:d;"number"===typeof d&&(d=EF);if(0===c.length)return(0,T.of)([]);c=c.map(function(f){return"number"===typeof f?String(f):f});var e=iTb(b,c);mTb(b,c,d);return e};this.watchMany=function(c){var d=void 0===d?EF:d;c=Object.assign({},b.defaultQuery,c);var e=nTb(b,c);b.getAll(c,d);return Vv(e)};this.save=function(c){var d=b.idForRecord(c);
if(null==d)throw Error("nc");c=b.doSave(c).pipe(Cf(0,T.asapScheduler),oha(),We());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),oTb(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};Kra(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){tn(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};Kra(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){tn(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?Qra():lTb(b,String(c),
d)};this.pokeMany=function(c){return null==c?Promise.resolve({results:[]}):b.getAll(Object.assign({},b.defaultQuery,c),void 0)};this.announce=function(c,d){d=void 0===d?{}:d;if(null!=c){var e=b.idForRecord(c);if(null==e)throw Error("oc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new cTb(Object.assign({},hTb,a));this.collectiveMemory=new cTb(Object.assign({},hTb,a))};g=GF.prototype;g.fetchOne=function(){throw Error("pc");};g.fetchAll=function(){throw Error("qc");};
g.fetchSet=function(){throw Error("rc");};g.doSave=function(){throw Error("sc");};g.copy=function(){throw Error("tc");};g.isEqual=function(a,b){return vna(a,b,100)};
var lTb=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=FF({label:b,value:DF(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&eTb(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),Pra(c);if(a.inFlightGets[b])return c("one-inFlight"),c=kTb(a,b),Ora(c).then(Pra);c("one-fetch");var f=a.fetchOne(b).pipe(Cf(0,T.asapScheduler));a.setIsGetting(b);return new Promise(function(h,l){f.subscribe(function(q){a.gotOne(b)(q);h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);
l(q)},oTb(b,a.inFlightGets$))})},mTb=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(p(b)).sort().join("-")+"]",e=FF({label:d});if(c&&pTb(a,b))qTb(a,b),e("set-trustMemory");else if(a.inFlightGets[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(Cf(0,T.asapScheduler));e={};e=(e[d]=!0,e);for(var f=m(b),h=f.next();!h.done;h=f.next())e[h.value]=!0;Kra(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(l){Lra(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(l)},function(){Lra(a.inFlightGets$,
[d].concat(p(b)))})}},pTb=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},qTb=function(a,b){var c=rTb(a,b).filter(Vj);iTb(a,b).next(c)};
GF.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=un(a);var d=FF({label:b,value:DF(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=rTb(this,a.ids).filter(Vj),a=jTb(this,a,b),Promise.resolve(a);if(this.inFlightGets[b])return d("all-inFlight"),a=nTb(this,a),Ora(a);d("all-fetch");c=this.fetchAll(a).pipe(Cf(0,T.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,this.inFlightGets$),
oTb(b,this.inFlightGets$));a=nTb(this,a);return Ora(a)};GF.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);cna(a+" gotErr()",d);tn(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var oTb=function(a,b){return function(){tn(b,a)}};GF.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new gTb(Object.assign({},Nra(a),{ids:b}))};
var jTb=function(a,b,c){a=b.ids.map(a.dereferenceOne(c)).filter(Boolean);return Object.assign({},Nra(b),{results:a})},rTb=function(a,b){return b.map(function(c){return a.memory.getData(c)})},nTb=function(a,b){b=un(b);return Mra(a.collectionsById,b,new T.ReplaySubject(1))},iTb=function(a,b){b="["+[].concat(p(b)).sort().join("-")+"]";return Mra(a.setsByLabel,b,new T.ReplaySubject(1))},kTb=function(a,b){var c=new T.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return Mra(a.valsById,b,c)},
sTb=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(un(b))};GF.prototype.invalidate=function(a){null==a?(this.memory.cache.clear(),this.collectiveMemory.cache.clear()):["string","number"].includes(typeof a)?this.memory.cache.delete(String(a)):this.collectiveMemory.cache.delete(un(a))};
var HF=function(a,b,c,d){d=void 0===d?{}:d;if(void 0!==d.evenWhenInFlight&&d.evenWhenInFlight||!a.inFlightGets[b])if(b=a.copy(a.memory.getData(String(b))))c(b),a.announce(b)};Ei.Object.defineProperties(GF.prototype,{inFlightGets:{configurable:!0,enumerable:!0,get:function(){return this.inFlightGets$.getValue()}},inFlightSaves:{configurable:!0,enumerable:!0,get:function(){return this.inFlightSaves$.getValue()}}});
var FF=function(a){for(var b=m(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,null==a[c]&&delete a[c];return function(){}},IF=function(){GF.apply(this,arguments);this.defaultQuery={}};X(IF,GF);var JF=function(a){IF.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};X(JF,IF);JF.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:xra(null==a?void 0:a.events,null==b?void 0:b.events)};JF.prototype.copy=function(a){return a&&nj(a)};JF.prototype.fetchOne=function(a){return wSb(this.observableIssueResources,a).pipe(B(function(b){return{id:a,events:b}}))};JF.prototype.fetchSet=function(a){var b=this;return(0,T.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(Vj)}))};
JF.\u0275fac=function(a){return new (a||JF)(n(eF))};JF.\u0275prov=Pc({token:JF,factory:JF.\u0275fac,providedIn:"root"});var Rra=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),Sra=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var KF=function(a,b,c,d){this.issueApi=a;this.issueRelationshipApi=b;this.changelistApi=c;this.eventsForIssueFridge=d},vTb=function(a,b){var c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb;return Ze(function(lb){switch(lb.nextAddress){case 1:return b=cn(b),d=c=0,e=[],f=[],h=[],l=[],q=[],u=[],x=[],y=[],null==b||0===b.length?lb.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:f,hyperLinks:h,issueLinks:l,screenshots:q,goLinks:u,contributors:x,comments:y}):af(lb,tTb(a,b),2);case 2:return G=
lb.yieldResult,J=[].concat(p(b)),Object.values(G).forEach(function(Ya){J.push.apply(J,p(Ya))}),J=cn(J),af(lb,a.getIssues(J),3);case 3:M=lb.yieldResult;V={};U=m(M);for(W=U.next();!W.done;W=U.next())ba=W.value,V[ba.issueId]=ba;c=J.length;pa=m(b);na=pa.next();case 4:if(na.done){lb.jumpTo(6);break}xa=na.value;return af(lb,uTb(a,xa,G,V),7);case 7:Fa=lb.yieldResult;d+=Fa.openCount;e.push.apply(e,p(Fa.clIds));f.push.apply(f,p(Fa.pendingChangeLists));h.push.apply(h,p(Fa.hyperLinks));l.push.apply(l,p(Fa.issueLinks));
q.push.apply(q,p(Fa.screenshots));u.push.apply(u,p(Fa.goLinks));x.push.apply(x,p(Fa.contributors));y.push.apply(y,p(Fa.comments));na=pa.next();lb.jumpTo(4);break;case 6:return y.sort(function(Ya,qa){var Ba,Ea,Oa,La;return(null==(Ba=qa.comments)?NaN:null==(Ea=Ba[0])?NaN:Ea.modifiedTime)-(null==(Oa=Ya.comments)?NaN:null==(La=Oa[0])?NaN:La.modifiedTime)}),Ha=f.map(function(Ya){return Ya.fixedIssueIds}).flat(),Bb=f.map(function(Ya){return Ya.issueIds}).flat(),lb.return({totalCount:c,openCount:d,clIds:cn(e),
pendingChangeLists:bn(f,function(Ya){return Ya.changelistNumber}),bugToPendingCl:new Map(Bb.map(function(Ya){return[Ya,f.find(function(qa){return qa.issueIds.includes(Ya)})]})),bugToPendingFixCl:new Map(Ha.map(function(Ya){return[Ya,f.find(function(qa){return qa.fixedIssueIds.includes(Ya)})]})),hyperLinks:cn(h),issueLinks:cn(l),screenshots:cn(q),goLinks:cn(u),contributors:cn(x),comments:y})}})},ATb=function(a,b){var c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya,qa,Ba;return Ze(function(Ea){switch(Ea.nextAddress){case 1:return b=
cn(b),c=b.length,d=0,e=[],f=[],h=[],l=[],q=[],u=[],x=[],null==b||0===b.length?Ea.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:[],hyperLinks:f,issueLinks:h,screenshots:l,goLinks:q,contributors:u,comments:x}):af(Ea,Promise.all([a.getIssues(b),wTb(a,b)]),2);case 2:y=Ea.yieldResult,G=m(y),J=G.next().value,M=G.next().value,V=J,U=M,V.sort(function(Oa,La){return La.majorModifiedTimeMicros-Oa.majorModifiedTimeMicros}),W=10,ba=0,pa=m(V),na=pa.next();case 3:if(na.done){Ea.jumpTo(5);break}xa=
na.value;mn(xa)&&(d+=1);Fa=xTb(xa);e.push.apply(e,p(Fa));Ha=yTb(xa);f.push.apply(f,p(Ha.hyperLinks));h.push.apply(h,p(Ha.issueLinks));q.push.apply(q,p(Ha.goLinks));l.push.apply(l,p(Ha.screenshots));Bb=tra(xa);null!=Bb&&u.push(Bb);if(!(ba<W)){Ea.jumpTo(4);break}$e(Ea,7);return af(Ea,zTb(a,xa.issueId),9);case 9:lb=Ea.yieldResult;0<lb.comments.length&&x.push(lb);ba+=1;Au(Ea,4);break;case 7:Ya=df(Ea),console.warn("fetch comments",Ya);case 4:na=pa.next();Ea.jumpTo(3);break;case 5:return e.sort(function(Oa,
La){return Number(La)-Number(Oa)}),qa=U.map(function(Oa){return Oa.fixedIssueIds}).flat(),Ba=U.map(function(Oa){return Oa.issueIds}).flat(),Ea.return({totalCount:c,openCount:d,clIds:cn(e),pendingChangeLists:bn(U,function(Oa){return Oa.changelistNumber}),bugToPendingCl:new Map(Ba.map(function(Oa){return[Oa,U.find(function(La){return La.issueIds.includes(Oa)})]})),bugToPendingFixCl:new Map(qa.map(function(Oa){return[Oa,U.find(function(La){return La.fixedIssueIds.includes(Oa)})]})),hyperLinks:cn(f),
issueLinks:cn(h),screenshots:cn(l),goLinks:cn(q),contributors:cn(u),comments:x})}})},uTb=function(a,b,c,d){var e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb;return Ze(function(Ya){switch(Ya.nextAddress){case 1:return f=e=0,h=[],l=[],q=[],u=[],x=[],y=[],G=[],J=BTb(a,d[b],c,d),M=J.map(function(qa){return qa.issueId}),af(Ya,wTb(a,M),2);case 2:V=Ya.yieldResult,J.sort(function(qa,Ba){return Ba.majorModifiedTimeMicros-qa.majorModifiedTimeMicros}),U=10,W=0,ba=m(J),pa=ba.next();case 3:if(pa.done){Ya.jumpTo(5);
break}na=pa.value;mn(na)&&(f+=1);xa=xTb(na);h.push.apply(h,p(xa));Fa=yTb(na);l.push.apply(l,p(Fa.hyperLinks));q.push.apply(q,p(Fa.issueLinks));x.push.apply(x,p(Fa.goLinks));u.push.apply(u,p(Fa.screenshots));Ha=tra(na);null!=Ha&&y.push(Ha);if(!(W<U)){Ya.jumpTo(4);break}$e(Ya,7);return af(Ya,zTb(a,na.issueId),9);case 9:Bb=Ya.yieldResult;0<Bb.comments.length&&G.push(Bb);W+=1;Au(Ya,4);break;case 7:lb=df(Ya),console.warn("fetch comments",lb);case 4:pa=ba.next();Ya.jumpTo(3);break;case 5:return h.sort(function(qa,
Ba){return Number(Ba)-Number(qa)}),Ya.return({totalCount:e,openCount:f,clIds:h,pendingChangeLists:V,hyperLinks:l,issueLinks:q,screenshots:u,goLinks:x,contributors:y,comments:G})}})},BTb=function(a,b,c,d){if(null==b)return console.warn("getIssueAndDescendants() missing an issue"),[];var e=[b];b=m(c[b.issueId]);for(var f=b.next();!f.done;f=b.next())f=BTb(a,d[f.value],c,d),e.push.apply(e,p(f));return e},xTb=function(a){var b=[],c,d;a=null==(c=a.snapshot)?void 0:null==(d=c[0])?void 0:d.changelist;null!=
a&&b.push.apply(b,p(a));return b},wTb=function(a,b){var c;return Ze(function(d){if(1==d.nextAddress){var e=T.firstValueFrom;var f=a.changelistApi;var h=(new sQb).setQuery(xBb((new pE).setIssueIdsList(b),2,2));f=f.executor.post({url:"action/changelists/list",body:h,responseConstructor:vQb}).pipe(B(jna));return af(d,e.call(T,f),2)}c=d.yieldResult;return d.return(c.changelists)})},tTb=function(a,b){var c,d,e,f,h,l,q,u,x,y;return Ze(function(G){if(1==G.nextAddress)return c={},af(G,(0,T.firstValueFrom)(a.issueRelationshipApi.getDescendants({issueIds:b,
relationshipType:1,includeArchived:!1,depthLimit:10,prefixSizeLimit:100})),2);d=G.yieldResult;e=m(d.entries());for(f=e.next();!f.done;f=e.next())h=f.value,l=m(h),q=l.next().value,u=l.next().value,x=q,y=u,c[String(x)]=y.getIssueRelationshipsList().map(function(J){return String(Tk(J,1))});return G.return(c)})},yTb=function(a){var b=[],c=[],d=[],e=[];a=m(a.relatedLinks||[]);for(var f=a.next();!f.done;f=a.next())f=f.value,"hyperlink"===f.type?(vn(f.href)?d.push(f.href):b.push(f.href),Tra(f)&&e.push(f.href)):
"issueReference"===f.type&&c.push(f.issueId);return{hyperLinks:b,issueLinks:c,goLinks:e,screenshots:d}},zTb=function(a,b){var c,d,e,f,h,l,q,u,x,y;return Ze(function(G){if(1==G.nextAddress)return c=3,d=new Set,e=[],af(G,(0,T.firstValueFrom)(a.eventsForIssueFridge.watchOne(b)),2);f=G.yieldResult;if(void 0===f)return G.return({issueId:b,comments:e});h=m(f.events.reverse());for(l=h.next();!l.done&&!(q=l.value,gn(q)&&q.isHumanAuthor&&(u=q.commentNumber,null!==u&&!d.has(u)&&(d.add(u),x=q.unlinkifiedComment,
y=q.commentLastModifiedAtDate,null!=x&&0<x.length&&null!=y&&e.push({commentNumber:u,content:x,modifiedTime:y}),d.size>=c)));l=h.next());return G.return({issueId:b,comments:e})})};
KF.prototype.getIssues=function(a){var b=this,c,d,e,f,h;return Ze(function(l){switch(l.nextAddress){case 1:c=[],d=0;case 2:if(!(d<a.length)){l.jumpTo(4);break}e=a.slice(d,d+100);f=[];$e(l,5);return af(l,b.issueApi.batchGetIssues(e),7);case 7:f=l.yieldResult;Au(l,6);break;case 5:h=df(l),console.warn("fetch issues",h);case 6:c.push.apply(c,p(f));d+=100;l.jumpTo(2);break;case 4:return l.return(c)}})};KF.\u0275fac=function(a){return new (a||KF)(n(fF),n(nF),n(qE),n(JF))};
KF.\u0275prov=Pc({token:KF,factory:KF.\u0275fac,providedIn:"root"});var LF=function(){};LF.prototype.adapt=function(a){var b,c=new CTb(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};LF.\u0275fac=function(a){return new (a||LF)};LF.\u0275prov=Pc({token:LF,factory:LF.\u0275fac,providedIn:"root"});
var CTb=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new T.Subject;this.inputs$=this.inputSubject.pipe(xf(this.inputSubject.pipe(wf(this.bufferTimeMs,T.asapScheduler))));this.removeDuplicates=B(function(f){return[].concat(p(new Set(f)))});this.limitInputSize=B(function(f){for(var h=m(f.slice(e.maxBatchSize)),l=h.next();!l.done;l=h.next())e.inputSubject.next(l.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,T.pipe)(lf(function(f){try{return e.batchCall(f).pipe(Ef(),B(function(h){return{inputs:f,batchResponse:h,error:void 0}}),yf(function(h){return(0,T.of)({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return(0,T.of)({inputs:f,batchResponse:void 0,error:h})}}),Mf());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
CTb.prototype.get=function(a){var b=this;return new T.Observable(function(c){c=b.batchResults$.pipe(sf(function(d){return d.inputs.has(a)}),Ef(),B(function(d){if(!d.error&&d.batchResponse)return b.batchSplit(a,d.batchResponse);throw new DTb(d.error,d.inputs);})).subscribe(c);b.inputSubject.next(a);return c})};var DTb=function(a,b){var c=Error.call(this,"Error in batch call");this.message=c.message;"stack"in c&&(this.stack=c.stack);this.err=a;this.inputs=b;Object.setPrototypeOf(this,DTb.prototype)};
X(DTb,Error);var ETb=function(a){Y.call(this,a)};X(ETb,Y);ETb.messageId="b.CreateComponentResponse";var GTb=function(a){Y.call(this,a,-1,FTb)};X(GTb,Y);var FTb=[1];GTb.messageId="b.ListComponentsResponse";var HTb=function(){},ITb=function(){},MF=function(a,b){this.executor=a;this.currentTrackerId=b};X(MF,ITb);g=MF.prototype;g.get=function(a){return this.query({id:[a]}).pipe(B(function(b){return b.length?b[0]:null}))};g.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};g.fetchComponent=function(a,b){var c={};b.checkEditAccess&&(c.checkEditAccess="true");return this.executor.get({url:"action/components/"+a,options:{params:c},responseConstructor:zl}).pipe(B(yl))};
g.query=function(a){var b={};a.id&&(b.id=a.id.map(String));a.parentId&&(b.parentId=String(a.parentId));a.query&&(b.query=a.query);a.includearchived&&(b.includearchived="true");a=this.currentTrackerId.getTrackerId();zn(a)||(b.currentTrackerId=a);zn(a)||(b.trackerId=[a]);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:GTb}).pipe(B(Opa))};
g.create=function(a){a=Ipa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:ETb}).pipe(B(function(b){return yl(wk(b,zl,1))}))};
g.update=function(a){var b=a.componentId,c=new zl;c.setComponentId(String(a.componentId));k(c,2,String(a.parentComponentId));c.setName(a.name);c.setDescription(a.description);c.setArchived(a.archived);if(a.customFieldId){var d=a.customFieldId.map(String);Xk(c,7,d)}if(a.componentPathInfo){var e=a.componentPathInfo;d=new tl;if(e.componentPathId){var f=e.componentPathId.map(String);Xk(d,1,f)}e.componentPathName&&(f=e.componentPathName.map(String),sk(d,2,f));e.allCustomField&&(e=e.allCustomField.map(yk),
Sb(d,4,e));Ok(c,tl,10,d)}a.accessLimit&&c.setAccessLimit(Ona(a.accessLimit));k(c,13,a.emailAlias);a.userHasEditAccess&&k(c,14,a.userHasEditAccess);a.commentEditState&&c.setCommentEditState("ENABLED"===a.commentEditState?1:2);k(c,18,String(a.defaultTemplateId));a.slo&&c.setSlo(Doa(a.slo));k(c,20,a.bugscopeSloId);a.retentionSettings&&c.setRetentionSettings(xoa(a.retentionSettings));a.fieldOrdering&&k(c,23,AQb[a.fieldOrdering]);a.effortSpec&&(d=voa(a.effortSpec),Ok(c,zk,24,d));a.team&&c.setTeam(Bpa(a.team));
var h;c.setTeamSuggestionsList((null!=(h=a.teamSuggestions)?h:[]).map(Epa));return this.executor.post({url:"action/components/"+b,body:c,responseConstructor:zl}).pipe(B(yl))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:zl}).pipe(B(yl))};g.updateSlo=function(a,b){var c=new OE;c.setSlo(Doa(b));return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:zl}).pipe(B(yl))};
g.updateTeam=function(a,b){var c=new PE;c.setTeam(Bpa(b));return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:zl}).pipe(B(yl))};MF.\u0275fac=function(a){return new (a||MF)(n(nE),n(TE))};MF.\u0275prov=Pc({token:MF,factory:MF.\u0275fac,providedIn:"root"});var NF=function(a){this.observableApi=a};X(NF,HTb);g=NF.prototype;g.get=function(a){return(0,T.firstValueFrom)(this.observableApi.get(a))};
g.getChildren=function(a,b){return(0,T.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};g.fetchComponent=function(a,b){return(0,T.firstValueFrom)(this.observableApi.fetchComponent(a,b))};g.query=function(a){return(0,T.firstValueFrom)(this.observableApi.query(a))};g.create=function(a){return(0,T.firstValueFrom)(this.observableApi.create(a))};g.update=function(a){return(0,T.firstValueFrom)(this.observableApi.update(a))};
g.move=function(a,b){return(0,T.firstValueFrom)(this.observableApi.move(a,b))};g.updateSlo=function(a,b){return(0,T.firstValueFrom)(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return(0,T.firstValueFrom)(this.observableApi.updateTeam(a,b))};NF.\u0275fac=function(a){return new (a||NF)(n(MF))};NF.\u0275prov=Pc({token:NF,factory:NF.\u0275fac,providedIn:"root"});var OF=function(a){IF.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};X(OF,IF);OF.prototype.fetchOne=function(a){return this.batchedComponentApi.get(a).pipe(yf(function(){return(0,T.of)(void 0)}))};OF.prototype.fetchSet=function(a){var b=this;return(0,T.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(Vj)}))};OF.\u0275fac=function(a){return new (a||OF)(n(PF))};
OF.\u0275prov=Pc({token:OF,factory:OF.\u0275fac,providedIn:"root"});var PF=function(a,b){var c=this;this.observableComponentApi=a;this.batchApiAdapter=b;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};
PF.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(p(a))[0],{}).pipe(B(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(p(a))}).pipe(B(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};PF.prototype.splitBatch=function(a,b){return b.get(Number(a))};PF.\u0275fac=function(a){return new (a||PF)(n(ITb),n(LF))};PF.\u0275prov=Pc({token:PF,factory:PF.\u0275fac,providedIn:"root"});var QF=function(a){Y.call(this,a)};X(QF,Y);QF.prototype.getSnapshot=function(){return wk(this,Vk,1)};QF.prototype.setSnapshot=function(a){Ok(this,Vk,1,a)};QF.messageId="b.IssueTemplateResponse";var KTb=function(a){Y.call(this,a,-1,JTb)};X(KTb,Y);var JTb=[1];KTb.messageId="b.ListTemplatesResponse";var RF=function(a){Y.call(this,a)};X(RF,Y);RF.messageId="b.TemplateResponse";var SF=function(){},TF=function(a){this.executor=a};g=TF.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:RF}).pipe(B(Wra))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:KTb}).pipe(B(Xra))};g.create=function(a,b){b=Mpa(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:RF,body:b}).pipe(B(Wra))};
g.update=function(a,b,c){c=Mpa(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:RF,body:c}).pipe(B(Wra))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};g.getIssueTemplate=function(a,b){return this.executor.get({url:"action/components/"+a+"/issue_template",responseConstructor:QF,options:{params:{templateId:String(b)}}}).pipe(B(Npa))};TF.\u0275fac=function(a){return new (a||TF)(n(nE))};
TF.\u0275prov=Pc({token:TF,factory:TF.\u0275fac,providedIn:"root"});var VF=function(a){this.observableApi=a};X(VF,SF);g=VF.prototype;g.get=function(a,b){return(0,T.firstValueFrom)(this.observableApi.get(a,b))};g.query=function(a){return(0,T.firstValueFrom)(this.observableApi.query(a))};g.create=function(a,b){return(0,T.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,T.firstValueFrom)(this.observableApi.update(a,b,c))};
g.delete=function(a,b){return(0,T.firstValueFrom)(this.observableApi.delete(a,b))};g.getIssueTemplate=function(a,b){return(0,T.firstValueFrom)(this.observableApi.getIssueTemplate(a,b))};VF.\u0275fac=function(a){return new (a||VF)(n(TF))};VF.\u0275prov=Pc({token:VF,factory:VF.\u0275fac,providedIn:"root"});var Yra=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var LTb=Symbol("uc"),MTb=Symbol("vc"),WF=Symbol("wc"),XF=function(){};XF.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=An(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[WF]=!0;return}c.resolve(e);d[WF]=!0},b);d[LTb]=b;d[MTb]=c.reject;d[WF]=!1;return c.promise};XF.prototype.cancel=function(a){var b=a[LTb];if(null==b||a[WF])return!1;clearTimeout(b);var c;null==(c=a[MTb])||c.call(a,Error("xc"));return a[WF]=!0};XF.\u0275fac=function(a){return new (a||XF)};
XF.\u0275prov=Pc({token:XF,factory:XF.\u0275fac,providedIn:"root"});var YF=function(a){this.timeout=a};YF.prototype.adapt=function(a){return new NTb(this.timeout,a)};YF.\u0275fac=function(a){return new (a||YF)(n(XF))};YF.\u0275prov=Pc({token:YF,factory:YF.\u0275fac,providedIn:"root"});var NTb=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
NTb.prototype.get=function(a){var b=An(),c=this.batchedInputs[this.batchedInputs.length-1],d=this.batchedDeferreds[this.batchedDeferreds.length-1];100>c.length?(c.push(a),d.push(b)):(this.batchedInputs.push([a]),this.batchedDeferreds.push([b]));this.isBatchScheduled||OTb(this);return b.promise};
var OTb=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={$jscomp$loop$prop$batchedDeferred$2135:b.$jscomp$loop$prop$batchedDeferred$2135},c++){var d=a.batchedInputs[c];b.$jscomp$loop$prop$batchedDeferred$2135=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(f){for(var h=0;h<e.$jscomp$loop$prop$batchedDeferred$2135.length;h++)e.$jscomp$loop$prop$batchedDeferred$2135[h].resolve(f[h])}}(b),function(e){return function(f){for(var h=
m(e.$jscomp$loop$prop$batchedDeferred$2135),l=h.next();!l.done;l=h.next())l.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];a.isBatchScheduled=!1})};var Bn=function(a){Y.call(this,a)};X(Bn,Y);Bn.prototype.getResource=function(){return lk(this,1)};Bn.prototype.setResource=function(a){return k(this,1,a)};Bn.prototype.getRelation=function(){return bk(this,2,0)};Bn.prototype.setRelation=function(a){k(this,2,a)};Bn.messageId="b.ResourceRelation";var QTb=function(a){Y.call(this,a,-1,PTb)};X(QTb,Y);var PTb=[1];QTb.messageId="b.UserAccessBatchResponse";var ZF=function(){this.resourceNamePattern=RegExp("^((components|issues|hotlists|savedSearches|bookmarkGroups|templates|slos|teams)\\/\\d+|components\\/\\d+\\/slo|components\\/\\d+\\/issueDefaults|teams\\/\\d+\\/slo|issues\\/\\d+\\/(attachments|comments)\\/\\d+)$")};ZF.prototype.validate=function(a){return this.resourceNamePattern.test(a)};ZF.\u0275fac=function(a){return new (a||ZF)};ZF.\u0275prov=Pc({token:ZF,factory:ZF.\u0275fac,providedIn:"root"});
var $F=function(a,b,c){var d=this;this.userAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return RTb(d,e)})},RTb=function(a,b){return STb(a,b).then(function(c){return $ra(b,c)})},aG=function(a,b,c){return a.resourceNameValidator.validate(c)?TTb(a,b,c):Promise.reject("invalid resource name: "+c)},STb=function(a,b){var c=[],d=[];b=m(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return a.userAccess.bulkGetUserAccess(c,
d)},TTb=function(a,b,c){var d=b+"/"+c,e=a.accesses[d];if(e)return e;b=a.accessGetter.get({relation:b,resourceName:c}).then(function(f){return null==f?!1:f});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};$F.\u0275fac=function(a){return new (a||$F)(n(bG),n(ZF),n(YF))};$F.\u0275prov=Pc({token:$F,factory:$F.\u0275fac,providedIn:"root"});var cG=function(a){this.executor=a};
cG.prototype.bulkGetUserAccess=function(a,b){return this.executor.get({url:"action/user_access",options:{params:{relations:a.join(","),resourceNames:b.join(",")}},responseConstructor:QTb}).pipe(B(Zra))};cG.\u0275fac=function(a){return new (a||cG)(n(nE))};cG.\u0275prov=Pc({token:cG,factory:cG.\u0275fac,providedIn:"root"});var bG=function(a){this.observableApi=a};bG.prototype.bulkGetUserAccess=function(a,b){return(0,T.firstValueFrom)(this.observableApi.bulkGetUserAccess(a,b))};
bG.\u0275fac=function(a){return new (a||bG)(n(cG))};bG.\u0275prov=Pc({token:bG,factory:bG.\u0275fac,providedIn:"root"});var UTb=new Ud("MatSnackBarData"),VTb=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var WTb=Math.pow(2,31)-1,dG=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new T.Subject;this._afterOpened=new T.Subject;this._onAction=new T.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};dG.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var esa=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};g=dG.prototype;g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,WTb))};g._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
g._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var XTb=$h("state",[ci("void, hidden",bi({transform:"scale(0.8)",opacity:0})),ci("visible",bi({transform:"scale(1)",opacity:1})),di("* => visible",ai("150ms cubic-bezier(0, 0, 0.2, 1)")),di("* => void, * => hidden",ai("75ms cubic-bezier(0.4, 0.0, 1, 1)",bi({opacity:0})))]);var YTb=0,eG=function(a,b,c,d,e){this._isDisposed=!1;this._ngZone=a;this._elementRef=b;this._changeDetectorRef=c;this._platform=d;this.snackBarConfig=e;this._document=Zc(Ci);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new T.Subject;this._onExit=new T.Subject;this._onEnter=new T.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+YTb++;this._live="assertive"!==e.politeness||e.announcementMessage?"off"===e.politeness?"off":
"polite":"assertive";this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))};X(eG,ry);eG.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};eG.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var ZTb=function(a,b){var c=b.fromState;b=b.toState;("void"===b&&"void"!==c||"hidden"===b)&&a._completeExit();if("visible"===b){var d=a._onEnter;a._ngZone.run(function(){d.next();d.complete()})}};g=eG.prototype;g.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};g.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)})};
g.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};g._completeExit=function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe(Ef()).subscribe(function(){a._ngZone.run(function(){a._onExit.next();a._onExit.complete()})})};g._afterPortalAttached=function(){var a=this._elementRef.nativeElement,b=this.snackBarConfig.panelClass;b&&(Array.isArray(b)?b.forEach(function(c){return a.classList.add(c)}):a.classList.add(b));this._exposeToModals()};
g._exposeToModals=function(){for(var a=this._liveElementId,b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");this._trackedModals.add(d);e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
g._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),0<c.length?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};g._assertNotAttached=function(){};
g._screenReaderAnnounce=function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var b=a._elementRef.nativeElement.querySelector("[aria-hidden]"),c=a._elementRef.nativeElement.querySelector("[aria-live]");if(b&&c){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&b.contains(document.activeElement)&&(d=document.activeElement);b.removeAttribute("aria-hidden");c.appendChild(b);var e;null==(e=d)||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};eG.\u0275fac=function(a){return new (a||eG)(A(Yf),A(Yd),A(Vw),A(cy),A(VTb))};eG.\u0275dir=r({type:eG,viewQuery:function(a,b){a&1&&Sg(uy,7);if(a&2){var c;Rg(c=Ug())&&(b._portalOutlet=c.first)}},features:[$f]});var $Tb=new Ud("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new VTb}}),fG=function(a,b,c,d,e,f){this._overlay=a;this._live=b;this._injector=c;this._breakpointObserver=d;this._parentSnackBar=e;this._defaultConfig=f;this._snackBarRefAtThisLevel=null};g=fG.prototype;
g.open=function(a,b,c){b=void 0===b?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this._attach(this.simpleSnackBarComponent,d)};g.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};g.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};
g._attachSnackBarContainer=function(a,b){var c=Wf({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:VTb,useValue:b}]});a=a.attach(new py(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new VTb,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new dG(b,e);if(a instanceof Og)f.instance=b.attachTemplatePortal(new qy(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new py(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Rf(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a._afterDismissed.subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef._afterDismissed.subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&0<b.duration&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new Vz;b.direction=a.direction;var c=this._overlay.position().global(),d="rtl"===a.direction;d="left"===a.horizontalPosition||"start"===a.horizontalPosition&&!d||"end"===a.horizontalPosition&&d;var e=!d&&"center"!==a.horizontalPosition;d?c.left("0"):e?c.right("0"):LIb(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return Wf({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:dG,useValue:b},{provide:UTb,useValue:a.data}]})};Ei.Object.defineProperties(fG.prototype,{_openedSnackBarRef:{configurable:!0,enumerable:!0,get:function(){var a=this._parentSnackBar;return a?a._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(a){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=a:this._snackBarRefAtThisLevel=a}}});
fG.\u0275fac=function(a){return new (a||fG)(n(cA),n(mz),n(Fv),n(gz),n(fG,12),n($Tb))};fG.\u0275prov=Pc({token:fG,factory:fG.\u0275fac});var gG=function(a,b){this.snackBarRef=a;this.data=b};gG.prototype.action=function(){esa(this.snackBarRef)};Ei.Object.defineProperties(gG.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});gG.\u0275fac=function(a){return new (a||gG)(A(dG),A(UTb))};
gG.\u0275cmp=r({type:gG,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(a,b){a&1&&(D(0,"span",0),P(1),E(),O(2,asa,3,1,"div",1));a&2&&(z(1),Bg(b.data.message),z(1),C("ngIf",b.hasAction))},dependencies:[bx,NA],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],
encapsulation:2,changeDetection:0});var hG=function(){eG.apply(this,arguments)};X(hG,eG);hG.\u0275dir=eG.\u0275dir;hG.prototype._afterPortalAttached=function(){eG.prototype._afterPortalAttached.call(this);"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center");"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")};hG.\u0275fac=function(){var a;return function(b){return(a||(a=Od(hG)))(b||hG)}}();
hG.\u0275cmp=r({type:hG,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&nia("@state.done",function(c){return ZTb(b,c)});a&2&&vg("@state",b._animationState)},features:[$f],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(D(0,"div",0),O(1,bsa,0,0,"ng-template",1),E(),F(2,"div"));a&2&&(z(2),dg("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[uy],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],
encapsulation:2,data:{animation:[XTb]}});var iG=function(){};iG.\u0275fac=function(a){return new (a||iG)};iG.\u0275mod=fd({type:iG});iG.\u0275inj=Qc({imports:[fA,vy,px,BD,gA,gA]});var jG=function(a,b,c,d,e,f){fG.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=gG;this.snackBarContainerComponent=hG;this.handsetCssClass="mat-snack-bar-handset"};X(jG,fG);jG.\u0275fac=function(a){return new (a||jG)(n(cA),n(mz),n(Fv),n(gz),n(jG,12),n($Tb))};jG.\u0275prov=Pc({token:jG,factory:jG.\u0275fac,providedIn:iG});var kG=function(a){this.snackBar=a};kG.prototype.open=function(a){var b=a.message,c=a.duration,d=a.snackbarType;a={dismissLabel:a.dismissLabel,actionLabel:a.actionLabel,snackbarType:d};"string"===typeof b?a.message=b:a.htmlMessage=b;switch(d){case "ERROR":b="error";break;default:b=void 0}b={data:a,panelClass:b};c&&(b.duration=c);return this.snackBar._attach(lG,b)};kG.\u0275fac=function(a){return new (a||kG)(n(jG))};kG.\u0275prov=Pc({token:kG,factory:kG.\u0275fac,providedIn:"root"});
var lG=function(a,b){this.data=a;this.snackBarRef=b};lG.\u0275fac=function(a){return new (a||lG)(A(UTb),A(dG))};
lG.\u0275cmp=r({type:lG,selectors:[["ng-component"]],decls:7,vars:5,consts:[[1,"snackbar-content"],["class","message",4,"ngIf"],["class","message",3,"innerHtml",4,"ngIf"],[1,"actions"],["mat-button","",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Dismiss",3,"click",4,"ngIf"],[1,"message"],[1,"message",3,"innerHtml"],["mat-button","",3,"click"],["mat-icon-button","","aria-label","Dismiss",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,csa,2,1,"span",1),O(2,
dsa,1,1,"span",2),D(3,"div",3),O(4,fsa,2,1,"button",4),O(5,gsa,2,1,"button",4),O(6,hsa,2,0,"button",5),E()());a&2&&(z(1),C("ngIf",!b.data.htmlMessage),z(1),C("ngIf",b.data.htmlMessage),z(2),C("ngIf",b.data.actionLabel),z(1),C("ngIf",b.data.dismissLabel),z(1),C("ngIf",!b.data.dismissLabel))},dependencies:[bx,NA,OB],styles:[".snackbar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;word-break:break-word}button[_ngcontent-%COMP%]:not(.mat-icon-button){height:24px;line-height:24px;padding:0 10px}.mat-icon-button[_ngcontent-%COMP%]{line-height:24px}.actions[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;margin-left:5px;align-items:center}\n/*# sourceMappingURL=snackbar_content.css.map */"]});var mG=function(a){this.snackbar=a};mG.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var nG=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},aUb=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},oG=function(a,b,c){a.open({message:b,duration:void 0===c?0:c,snackbarType:"ERROR"})};mG.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};mG.\u0275fac=function(a){return new (a||mG)(n(kG))};
mG.\u0275prov=Pc({token:mG,factory:mG.\u0275fac,providedIn:"root"});var pG=function(){};g=pG.prototype;g.debug=function(){Zi.apply(null,p(bd.apply(0,arguments)))};g.error=function(){cna.apply(null,p(bd.apply(0,arguments)))};g.info=function(){ana.apply(null,p(bd.apply(0,arguments)))};g.log=function(){bna.apply(null,p(bd.apply(0,arguments)))};g.warn=function(){$i.apply(null,p(bd.apply(0,arguments)))};pG.\u0275fac=function(a){return new (a||pG)};pG.\u0275prov=Pc({token:pG,factory:pG.\u0275fac,providedIn:"root"});var qG=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
qG.prototype.errorHandler=function(a,b){var c=this;this.timeout.schedule(function(){var d=403===b.status?"Access denied for: "+c.activeSession.getUserEmail():429===b.status?"Request throttled for: "+c.activeSession.getUserEmail()+". Please wait a few seconds and try again.":Dn(b)?Dn(b):404===b.status?"Invalid ID.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);oG(c.butterBar,d)})};
var rG=function(a,b){a.$log.warn(b);oG(a.butterBar,b)},sG=function(a,b){if(Cn(b))a.errorHandler(null,b);else throw b;};qG.\u0275fac=function(a){return new (a||qG)(n(mG),n(tu),n(pG),n(XF))};qG.\u0275prov=Pc({token:qG,factory:qG.\u0275fac,providedIn:"root"});var tG=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},cUb=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,f=Ca(c.issue.snapshot),h=c.firstEvent.unlinkifiedComment;f.comment=h?h.trim():"";f.status="NEW";f.createdTimeMicros=null;f.version=null;f.changelist=null;f.significanceOverride=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f,customFieldMap:{}},{trackerId:c.issue.trackerId})}).then(function(c){return bUb(a,
c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},bUb=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return aG(a.userAccess,"appender","hotlists/"+e)});return Promise.all(d).then(function(e){b.snapshot.hotlistId=c.filter(function(f,h){return e[h]});return b})};tG.\u0275fac=function(a){return new (a||tG)(n(dF),n(SF),n(qG),n($F))};tG.\u0275prov=Pc({token:tG,factory:tG.\u0275fac,providedIn:"root"});var uG=function(){this.bookmarkGroupModified=new T.Subject;this.commentSubmitted=new T.Subject;this.commentRendered=new T.Subject;this.componentModified=new T.Subject;this.contactChipsRevertChanges=new T.Subject;this.customFieldsModified=new T.Subject;this.dashboardPanels={moveDown:new T.Subject,moveUp:new T.Subject,moveToTop:new T.Subject,moveToBottom:new T.Subject,remove:new T.Subject};this.favoritesModified=new T.Subject;this.hotlistCreated=new T.Subject;this.onClickAppMenuIcon=new T.Subject;this.openEditField=
new T.Subject;this.sidebarWidthChanged=new T.Subject;this.hotlistChanged=new T.Subject;this.savedSearchModified=new T.Subject;this.sidebarUpdated=new T.Subject;this.topBarEvents={browseComponents:new T.Subject,manageHotlists:new T.Subject,manageSlos:new T.Subject,setDensity:new T.Subject,openSettings:new T.Subject};this.templateModified=new T.Subject;this.issueViewed=new T.Subject;this.issueEdited=new T.Subject;this.focusCommentBox=new T.Subject;this.scrollToCommentBox=new T.Subject;this.needsAttentionIssueCount=
new T.Subject;this.recaptchaSubmitted=new T.Subject};uG.\u0275fac=function(a){return new (a||uG)};uG.\u0275prov=Pc({token:uG,factory:uG.\u0275fac,providedIn:"root"});var vG=function(a,b){IF.call(this,{freshUntil:3E5,ancientAfter:6048E5});var c=this;this.template=a;this.appEvents=b;this.recordType="componentTemplates";this.idKey="componentId";this.defaultTemplate$=function(d){return c.watch(d).pipe(sf(Vj),B(function(e){return e.templates}),B(function(e){var f;return null!=(f=e.find(function(h){return h.default}))?f:e[0]}))};this.appEvents.templateModified.pipe(sf(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};X(vG,IF);
vG.prototype.fetchOne=function(a){return(0,T.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};vG.\u0275fac=function(a){return new (a||vG)(n(tG),n(uG))};vG.\u0275prov=Pc({token:vG,factory:vG.\u0275fac,providedIn:"root"});var wG=function(a){Y.call(this,a,-1,dUb)};X(wG,Y);wG.prototype.getIssueId=function(){return Tk(this,1)};wG.prototype.setIssueId=function(a){return k(this,1,a)};wG.prototype.setCurrentTrackerId=function(a){k(this,3,a)};var dUb=[2];wG.messageId="b.BatchGetIssueCommentsRequest";var fUb=function(a){Y.call(this,a,-1,eUb)};X(fUb,Y);fUb.prototype.getIssueCommentsList=function(){return fj(this,$E,1)};var eUb=[1];fUb.messageId="b.BatchGetIssueCommentsResponse";var xG=function(a,b){this.jspbExecutor=a;this.currentTrackerId=b};xG.prototype.batchGet=function(a,b){a=(new wG).setIssueId(Number(a));b=Lm(a,2,b);(a=this.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(a);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:fUb,body:b}).pipe(B(eqa))};xG.\u0275fac=function(a){return new (a||xG)(n(nE),n(TE))};xG.\u0275prov=Pc({token:xG,factory:xG.\u0275fac,providedIn:"root"});var yG=function(a,b){IF.call(this);var c=this;this.issueCommentsBatchApi=a;this.batchApiAdapter=b;this.recordType="formattedCommentsForIssue";this.idForRecord=function(d){return d.id.issueId+"-"+d.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};X(yG,IF);
yG.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,T.combineLatest)(a.map(function(d){return b.get(d)})).pipe(B(function(d){var e=[];d=m(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,l={issueId:c,commentId:null!=(h=f.commentNumber)?h:0};e.push({id:l,formattedComment:f})}return e}))};
yG.prototype.call=function(a){var b="",c=[];a=m(a);for(var d=a.next();!d.done;d=a.next()){var e=m(d.value.split("-"));d=e.next().value;e=e.next().value;""!==b&&b===d?c.push(Number(e)):""===b&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(B(function(f){var h=b,l=new Map;f=m(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var u=void 0,x=Number(h)+"-"+(null!=(u=q.commentNumber)?u:0);l.set(x,q)}return l}))};yG.prototype.splitBatch=function(a,b){return b.get(a)};
yG.\u0275fac=function(a){return new (a||yG)(n(xG),n(LF))};yG.\u0275prov=Pc({token:yG,factory:yG.\u0275fac,providedIn:"root"});var hUb=function(a){Y.call(this,a,-1,gUb)};X(hUb,Y);var gUb=[1,2];hUb.messageId="b.CheckPermissionResponse";var zG=function(){},AG=function(a){this.executor=a};g=AG.prototype;g.get=function(a,b){a=En(Fn(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:uE}).pipe(B(Xna))};
g.update=function(a,b,c){a=En(Fn(a,b));b=new uE;var d,e=(null!=(d=c.admins)?d:[]).map(ak);Sb(b,2,e);var f;b.setAppendersList((null!=(f=c.appenders)?f:[]).map(ak));var h;d=(null!=(h=c.editors)?h:[]).map(ak);Sb(b,4,d);var l;b.setReadersList((null!=(l=c.readers)?l:[]).map(ak));var q;h=(null!=(q=c.restrictedReaders)?q:[]).map(ak);Sb(b,11,h);var u;q=(null!=(u=c.restrictedPlusReaders)?u:[]).map(ak);Sb(b,12,q);c.implicitAccess&&b.setImplicitAccess(DQb[c.implicitAccess]);return this.executor.post({url:"action/access_policies/"+
a,body:b,responseConstructor:uE}).pipe(B(Xna))};g.checkPermission=function(a,b,c,d){a=En(a.join(","));b=En(b);c=En(Fn(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:hUb}).pipe(B(Una))};g.setAccessLimit=function(a,b,c){a=En(Fn(a,b));c=Ona(c);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:Fj}).pipe(B(Mna))};
g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(B(function(b){return"ALLOW"===b.implicitAccess}))};AG.\u0275fac=function(a){return new (a||AG)(n(nE))};AG.\u0275prov=Pc({token:AG,factory:AG.\u0275fac,providedIn:"root"});var BG=function(a){this.observableApi=a};X(BG,zG);g=BG.prototype;g.get=function(a,b){return(0,T.firstValueFrom)(this.observableApi.get(a,b))};g.update=function(a,b,c){return(0,T.firstValueFrom)(this.observableApi.update(a,b,c))};
g.checkPermission=function(a,b,c,d){return(0,T.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};g.setAccessLimit=function(a,b,c){return(0,T.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};g.checkComponentImplicitAccessEnabled=function(a){return(0,T.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};BG.\u0275fac=function(a){return new (a||BG)(n(AG))};BG.\u0275prov=Pc({token:BG,factory:BG.\u0275fac,providedIn:"root"});var CG=function(a){IF.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=mj};X(CG,IF);CG.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(B(function(b){return Object.assign({},{id:a},b)}))};CG.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(B(function(c){return Object.assign({},{id:b},c)}))};CG.\u0275fac=function(a){return new (a||CG)(n(AG))};
CG.\u0275prov=Pc({token:CG,factory:CG.\u0275fac,providedIn:"root"});var iUb=function(a){this.allowExecution=a;this.queue=[]};iUb.prototype.addTask=function(a){this.queue.push(a);jUb(this)};var jUb=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=m(a.queue),c=b.next().value;a.queue=rf(b);c();jUb(a)}else setTimeout(function(){jUb(a)},0)};var Eo=Symbol("zc"),DG=function(a){this.params=a||{}};DG.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};DG.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};DG.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};Ei.Object.defineProperties(DG.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var ssa={exact:wsa,subset:zsa},tsa={exact:vsa,subset:xsa,ignored:function(){return!0}},$n=function(a,b,c){a=void 0===a?new Yn([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};$n.prototype.toString=function(){return kUb.serialize(this)};Ei.Object.defineProperties($n.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new DG(this.queryParams));return this._queryParamMap}}});
var Yn=function(a,b){var c=this;this.segments=a;this.children=b;this.parent=null;Object.values(b).forEach(function(d){return d.parent=c})};Yn.prototype.hasChildren=function(){return 0<this.numberOfChildren};Yn.prototype.toString=function(){return Un(this)};Ei.Object.defineProperties(Yn.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var fo=function(a,b){this.path=a;this.parameters=b};
fo.prototype.toString=function(){return Tn(this.path)+Csa(this.parameters)};var EG=function(){};EG.\u0275fac=function(a){return new (a||EG)};EG.\u0275prov=Pc({token:EG,factory:function(){return new FG},providedIn:"root"});var FG=function(){};FG.prototype.parse=function(a){a=new lUb(a);GG(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new Yn([],{}):new Yn([],mUb(a));return new $n(b,a.parseQueryParams(),GG(a,"#")?decodeURIComponent(a.remaining):null)};
FG.prototype.serialize=function(a){var b="/"+Vn(a.root,!0),c=Esa(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var kUb=new FG,Fsa=/^[^\/()?;=#]+/,nUb=/^[^=?&#]+/,oUb=/^[^&#]+/,lUb=function(a){this.remaining=this.url=a};
lUb.prototype.parseQueryParams=function(){var a={};if(GG(this,"?")){do{var b,c=this.remaining.match(nUb);if(b=c?c[0]:""){this.capture(b);c="";if(GG(this,"=")){var d;if(d=(d=this.remaining.match(oUb))?d[0]:"")c=d,this.capture(c)}b=decodeURIComponent(b.replace(/\+/g,"%20"));c=decodeURIComponent(c.replace(/\+/g,"%20"));a.hasOwnProperty(b)?(d=a[b],Array.isArray(d)||(d=[d],a[b]=d),d.push(c)):a[b]=c}}while(GG(this,"&"))}return a};
var mUb=function(a){if(""===a.remaining)return{};GG(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(pUb(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(pUb(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=qUb(a,!0));var d={};a.remaining.startsWith("(")&&(d=qUb(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new Yn(b,c);return d},pUb=function(a){var b=Xn(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new Tc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};GG(a,";");){var d=a,e=Xn(d.remaining);if(e){d.capture(e);var f="";if(GG(d,"=")){var h=Xn(d.remaining);h&&(f=h,d.capture(f))}c[decodeURIComponent(e)]=decodeURIComponent(f)}}return new fo(b,c)},qUb=function(a,b){var c={};for(a.capture("(");!GG(a,")")&&0<a.remaining.length;){var d=Xn(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new Tc(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),a.capture(e),a.capture(":")):
b&&(e="primary");d=mUb(a);c[e]=1===Object.keys(d).length?d.primary:new Yn([],d);GG(a,"//")}return c},GG=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};lUb.prototype.capture=function(a){if(!GG(this,a))throw new Tc(4011,!1);};var Ksa=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&bo(c[0]))throw new Tc(4003,!1);if((a=c.find(co))&&a!==(0<c.length?c[c.length-1]:null))throw new Tc(4004,!1);},rUb=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var HG=function(a,b){this.id=a;this.url=b},ap=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;HG.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};X(ap,HG);ap.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var Fo=function(a,b,c){HG.call(this,a,b);this.urlAfterRedirects=c;this.type=1};X(Fo,HG);
Fo.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var Go=function(a,b,c,d){HG.call(this,a,b);this.reason=c;this.code=d;this.type=2};X(Go,HG);Go.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var Io=function(a,b,c,d){HG.call(this,a,b);this.reason=c;this.code=d;this.type=16};X(Io,HG);
var Ho=function(a,b,c,d){HG.call(this,a,b);this.error=c;this.target=d;this.type=3};X(Ho,HG);Ho.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var sUb=function(a,b,c,d){HG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};X(sUb,HG);sUb.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var tUb=function(a,b,c,d){HG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};X(tUb,HG);tUb.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var uUb=function(a,b,c,d,e){HG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};X(uUb,HG);
uUb.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var vUb=function(a,b,c,d){HG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};X(vUb,HG);vUb.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var wUb=function(a,b,c,d){HG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};X(wUb,HG);wUb.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var xUb=function(a){this.route=a;this.type=9};xUb.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var yUb=function(a){this.route=a;this.type=10};
yUb.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var nta=function(a){this.snapshot=a;this.type=11};nta.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var zUb=function(a){this.snapshot=a;this.type=12};zUb.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var yo=function(a){this.snapshot=a;this.type=13};yo.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var AUb=function(a){this.snapshot=a;this.type=14};AUb.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var BUb=function(a,b){this.position=a;this.anchor=b;this.type=15};
BUb.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var IG=function(){};
IG.prototype.createUrlTree=function(a,b,c,d,e,f){try{var h=Hsa(a?a.snapshot:b.snapshot.root)}catch(l){"string"===typeof d[0]&&d[0].startsWith("/")||(d=[]),h=c.root}b=h;a=d;for(d=b;d.parent;)d=d.parent;if(0===a.length)e=Jsa(d,d,d,e,f);else if(a=Lsa(a),a.isAbsolute&&1===a.commands.length&&"/"==a.commands[0])e=Jsa(d,d,new Yn([],{}),e,f);else{if(a.isAbsolute)b=new rUb(d,!0,0);else if(b)if(null===b.parent)b=new rUb(b,!0,0);else{c=b;b=b.segments.length-1+(bo(a.commands[0])?0:1);for(h=a.numberOfDoubleDots;h>
b;){h-=b;c=c.parent;if(!c)throw new Tc(4005,!1);b=c.segments.length}b=new rUb(c,!1,b-h)}else b=new rUb(d,!1,NaN);a=b.processChildren?eo(b.segmentGroup,b.index,a.commands):Osa(b.segmentGroup,b.index,a.commands);e=Jsa(d,b.segmentGroup,a,e,f)}return e};IG.\u0275fac=function(a){return new (a||IG)};IG.\u0275prov=Pc({token:IG,factory:IG.\u0275fac});var JG=function(){};JG.\u0275fac=function(a){return new (a||JG)};JG.\u0275prov=Pc({token:JG,factory:function(a){return IG.\u0275fac(a)},providedIn:"root"});var KG=function(a){this._root=a};KG.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};KG.prototype.children=function(a){return(a=Rsa(a,this._root))?a.children.map(function(b){return b.value}):[]};KG.prototype.firstChild=function(a){return(a=Rsa(a,this._root))&&0<a.children.length?a.children[0].value:null};KG.prototype.pathFromRoot=function(a){return Ssa(a,this._root).map(function(b){return b.value})};
Ei.Object.defineProperties(KG.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var io=function(a,b){this.value=a;this.children=b};io.prototype.toString=function(){return"TreeNode("+this.value+")"};var lo=function(a,b){this._root=a;this.snapshot=b;Wsa(this,a)};X(lo,KG);lo.prototype.toString=function(){return this.snapshot.toString()};var ko=function(a,b,c,d,e,f,h,l){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;var q,u;this.title=null!=(u=null==(q=this.data)?void 0:q.pipe(B(function(x){return x[Eo]})))?u:(0,T.of)(void 0);this._futureSnapshot=l};
ko.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
Ei.Object.defineProperties(ko.prototype,{routeConfig:{configurable:!0,enumerable:!0,get:function(){return this._futureSnapshot.routeConfig}},root:{configurable:!0,enumerable:!0,get:function(){return this._routerState.root}},parent:{configurable:!0,enumerable:!0,get:function(){return this._routerState.parent(this)}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this._routerState.firstChild(this)}},children:{configurable:!0,enumerable:!0,get:function(){return this._routerState.children(this)}},
pathFromRoot:{configurable:!0,enumerable:!0,get:function(){return this._routerState.pathFromRoot(this)}},paramMap:{configurable:!0,enumerable:!0,get:function(){this._paramMap||(this._paramMap=this.params.pipe(B(function(a){return new DG(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(function(a){return new DG(a)})));return this._queryParamMap}}});
var jo=function(a,b,c,d,e,f,h,l,q,u,x){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=l;this._urlSegment=q;this._lastPathIndex=u;this._resolve=x};jo.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
Ei.Object.defineProperties(jo.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[Eo]}},root:{configurable:!0,enumerable:!0,get:function(){return this._routerState.root}},parent:{configurable:!0,enumerable:!0,get:function(){return this._routerState.parent(this)}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this._routerState.firstChild(this)}},children:{configurable:!0,enumerable:!0,get:function(){return this._routerState.children(this)}},
pathFromRoot:{configurable:!0,enumerable:!0,get:function(){return this._routerState.pathFromRoot(this)}},paramMap:{configurable:!0,enumerable:!0,get:function(){this._paramMap||(this._paramMap=new DG(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new DG(this.queryParams));return this._queryParamMap}}});var ho=function(a,b){this._root=b;this.url=a;Wsa(this,b)};X(ho,KG);ho.prototype.toString=function(){return Xsa(this._root)};var CUb=function(){this.injector=this.resolver=this.route=this.outlet=null;this.children=new LG;this.attachRef=null},LG=function(){this.contexts=new Map},DUb=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},EUb=function(a){var b=a.contexts;a.contexts=new Map;return b},FUb=function(a,b){var c=a.getContext(b);c||(c=new CUb,a.contexts.set(b,c));return c};LG.prototype.getContext=function(a){return this.contexts.get(a)||null};LG.\u0275fac=function(a){return new (a||LG)};
LG.\u0275prov=Pc({token:LG,factory:LG.\u0275fac,providedIn:"root"});var MG=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new vw;this.deactivateEvents=new vw;this.attachEvents=new vw;this.detachEvents=new vw;this.parentContexts=Zc(LG);this.location=Zc(Pg);this.changeDetector=Zc(Vw);this.environmentInjector=Zc(Ev)};MG.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(GUb(this,b)&&(this.deactivate(),DUb(this.parentContexts,b)),HUb(this))}};
MG.prototype.ngOnDestroy=function(){GUb(this,this.name)&&DUb(this.parentContexts,this.name)};var GUb=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};MG.prototype.ngOnInit=function(){HUb(this)};var HUb=function(a){var b=a.parentContexts,c=a.name,d=FUb(b,c);d.outlet=a;b.contexts.set(c,d);!a.activated&&(b=a.parentContexts.getContext(a.name),null==b?0:b.route)&&(b.attachRef?a.attach(b.attachRef,b.route):IUb(a,b.route,b.injector))};
MG.prototype.detach=function(){if(!this.activated)throw new Tc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};MG.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);this.attachEvents.emit(a.instance)};MG.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var IUb=function(a,b,c){if(a.isActivated)throw new Tc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=FUb(a.parentContexts,a.name).children;b=new JUb(b,f,d.injector);c&&c.resolveComponentFactory?(c=c.resolveComponentFactory(e),a.activated=d.createComponent(c,d.length,b)):a.activated=d.createComponent(e,{index:d.length,injector:b,environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();a.activateEvents.emit(a.activated.instance)};
Ei.Object.defineProperties(MG.prototype,{isActivated:{configurable:!0,enumerable:!0,get:function(){return!!this.activated}},component:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Tc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Tc(4012,!1);return this._activatedRoute}}});MG.\u0275fac=function(a){return new (a||MG)};
MG.\u0275dir=r({type:MG,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[md]});var JUb=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};JUb.prototype.get=function(a,b){return a===ko?this.route:a===LG?this.childContexts:this.parent.get(a,b)};var oo=function(){};oo.\u0275fac=function(a){return new (a||oo)};oo.\u0275cmp=r({type:oo,selectors:[["ng-component"]],standalone:!0,features:[xia],decls:1,vars:0,template:function(a){a&1&&F(0,"router-outlet")},dependencies:[MG],encapsulation:2});var LUb=function(a,b,c){return B(function(d){(new KUb(b,d.targetRouterState,d.currentRouterState,c)).activate(a);return d})},KUb=function(a,b,c,d){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d};KUb.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;MUb(this,b,c,a);Ysa(this.futureState.root);NG(this,b,c,a)};
var MUb=function(a,b,c,d){var e=go(c);b.children.forEach(function(f){var h=f.value.outlet,l=e[h],q=f.value,u=l?l.value:null;q===u?q.component?(q=d.getContext(q.outlet))&&MUb(a,f,l,q.children):MUb(a,f,l,d):u&&NUb(a,l,d);delete e[h]});Object.values(e).forEach(function(f){NUb(a,f,d)})},NUb=function(a,b,c){if(b.value.component&&a.routeReuseStrategy.shouldDetach()){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;for(var e=go(b),f=m(Object.keys(e)),h=f.next();!h.done;h=f.next())NUb(a,
e[h.value],c);d&&d.outlet&&(c=d.outlet.detach(),d=EUb(d.children),a.routeReuseStrategy.store(b.value.snapshot,{componentRef:c,route:b,contexts:d}))}else{c=(d=c.getContext(b.value.outlet))&&b.value.component?d.children:c;b=go(b);e=m(Object.keys(b));for(f=e.next();!f.done;f=e.next())NUb(a,b[f.value],c);d&&d.outlet&&(d.outlet.deactivate(),EUb(d.children),d.attachRef=null,d.resolver=null,d.route=null)}},NG=function(a,b,c,d){var e=go(c);b.children.forEach(function(f){var h=e[f.value.outlet],l=f.value,
q=h?h.value:null;Ysa(l);if(l===q)l.component?(l=FUb(d,l.outlet),NG(a,f,h,l.children)):NG(a,f,h,d);else if(l.component){h=FUb(d,l.outlet);if(a.routeReuseStrategy.shouldAttach()){var u=a.routeReuseStrategy.retrieve();a.routeReuseStrategy.store(l.snapshot,null);h.children.contexts=u.contexts;h.attachRef=u.componentRef;h.route=u.route.value;h.outlet&&h.outlet.attach(u.componentRef,u.route.value);Ysa(u.route.value)}else{q=qo(l.snapshot);var x=null!=(u=null==q?void 0:q.get(Gv))?u:null;h.attachRef=null;
h.route=l;h.resolver=x;h.injector=q;h.outlet&&IUb(h.outlet,l,h.injector)}NG(a,f,null,h.children)}else NG(a,f,null,d);a.forwardEvent(new AUb(f.value.snapshot))});b.children.length&&a.forwardEvent(new zUb(b.value.snapshot))};var ro=Symbol("Bc");var hta=function(a){this.path=a;this.route=this.path[this.path.length-1]},vo=function(a,b){this.component=a;this.route=b};var uta={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var Bo=function(a){this.segmentGroup=a||null},OUb=function(a){this.urlTree=a},Do=function(a,b,c,d,e){this.injector=a;this.configLoader=b;this.urlSerializer=c;this.urlTree=d;this.config=e;this.allowRedirects=!0};
Do.prototype.apply=function(){var a=this,b=Ao(this.urlTree.root,[],[],this.config).segmentGroup;b=new Yn(b.segments,b.children);return PUb(this,this.injector,this.config,b,"primary").pipe(B(function(c){return a.createUrlTree(Zn(c),a.urlTree.queryParams,a.urlTree.fragment)})).pipe(yf(function(c){if(c instanceof OUb)return a.allowRedirects=!1,a.match(c.urlTree);if(c instanceof Bo)throw new Tc(4002,!1);throw c;}))};
Do.prototype.match=function(a){var b=this;return PUb(this,this.injector,this.config,a.root,"primary").pipe(B(function(c){return b.createUrlTree(Zn(c),a.queryParams,a.fragment)})).pipe(yf(function(c){if(c instanceof Bo)throw new Tc(4002,!1);throw c;}))};Do.prototype.createUrlTree=function(a,b,c){a=Gsa(a);return new $n(a,b,c)};
var PUb=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?QUb(a,b,c,d).pipe(B(function(f){return new Yn([],f)})):RUb(a,b,d,c,d.segments,e,!0)},QUb=function(a,b,c,d){for(var e=[],f=m(Object.keys(d.children)),h=f.next();!h.done;h=f.next())h=h.value,"primary"===h?e.unshift(h):e.push(h);return(0,T.from)(e).pipe(lf(function(l){var q=d.children[l],u=fta(c,l);return PUb(a,b,u,q,l).pipe(B(function(x){return{segment:x,outlet:l}}))},1),Jf(function(l,q){l[q.outlet]=q.segment;return l},{}),jha())},
RUb=function(a,b,c,d,e,f,h){return(0,T.from)(d).pipe(lf(function(l){return SUb(a,b,c,d,l,e,f,h).pipe(yf(function(q){if(q instanceof Bo)return(0,T.of)(null);throw q;}))},1),Hf(function(l){return!!l}),yf(function(l){if(ita(l))return 0!==e.length||c.children[f]?Co(c):(0,T.of)(new Yn([],{}));throw l;}))},SUb=function(a,b,c,d,e,f,h,l){if(yta(e,c,f,h))if(void 0===e.redirectTo)a=TUb(a,b,c,e,f,h);else{var q;l&&a.allowRedirects?q="**"===e.path?UUb(a,b,d,e,h):VUb(a,b,c,d,e,f,h):q=Co(c);a=q}else a=Co(c);return a},
UUb=function(a,b,c,d,e){var f=WUb(a,[],d.redirectTo,{});return d.redirectTo.startsWith("/")?(0,T.throwError)(new OUb(f)):XUb(f).pipe(lf(function(h){var l=new Yn(h,{});return RUb(a,b,l,c,h,e,!1)}))},VUb=function(a,b,c,d,e,f,h){f=tta(c,e,f);var l=f.consumedSegments,q=f.remainingSegments,u=f.positionalParamSegments;if(!f.matched)return Co(c);f=WUb(a,l,e.redirectTo,u);return e.redirectTo.startsWith("/")?(0,T.throwError)(new OUb(f)):XUb(f).pipe(lf(function(x){return RUb(a,b,c,d,x.concat(q),h,!1)}))},TUb=
function(a,b,c,d,e,f){return"**"===d.path?(b=eta(d,b),d.loadChildren?(d._loadedRoutes?(0,T.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):a.configLoader.loadChildren(b,d)).pipe(B(function(h){d._loadedRoutes=h.routes;d._loadedInjector=h.injector;return new Yn(e,{})})):(0,T.of)(new Yn(e,{}))):vta(c,d,e,b).pipe(Qf(function(h){var l=h.consumedSegments,q=h.remainingSegments;if(!h.matched)return Co(c);var u;b=null!=(u=d._injector)?u:b;return YUb(a,b,d,e).pipe(lf(function(x){var y,G=null!=(y=x.injector)?
y:b;x=x.routes;var J=Ao(c,l,q,x);y=J.segmentGroup;J=J.slicedSegments;y=new Yn(y.segments,y.children);return 0===J.length&&y.hasChildren()?QUb(a,G,x,y).pipe(B(function(M){return new Yn(l,M)})):0===x.length&&0===J.length?(0,T.of)(new Yn(l,{})):RUb(a,G,y,x,J,po(d)===f?"primary":f,!0).pipe(B(function(M){return new Yn(l.concat(M.segments),M.children)}))}))}))},YUb=function(a,b,c,d){return c.children?(0,T.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,T.of)({routes:c._loadedRoutes,
injector:c._loadedInjector}):rta(b,c,d).pipe(lf(function(e){return e?a.configLoader.loadChildren(b,c).pipe(Sf(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):(0,T.throwError)(bta(3))})):(0,T.of)({routes:[],injector:b})},XUb=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,T.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,T.throwError)(new Tc(4E3,!1));a=a.children.primary}},WUb=function(a,b,c,d){var e=a.urlSerializer.parse(c);
b=ZUb(a,c,e.root,b,d);return new $n(b,$Ub(e.queryParams,a.urlTree.queryParams),e.fragment)},$Ub=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=m(d);d=e.next().value;e=e.next().value;c[d]="string"===typeof e&&e.startsWith(":")?b[e.substring(1)]:e});return c},ZUb=function(a,b,c,d,e){var f=aVb(c.segments,d,e),h={};Object.entries(c.children).forEach(function(l){var q=m(l);l=q.next().value;q=q.next().value;h[l]=ZUb(a,b,q,d,e)});return new Yn(f,h)},aVb=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=
c[d.path.substring(1)],!d)throw new Tc(4001,!1);}else a:for(var e=0,f=m(b),h=f.next();!h.done;h=f.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var Ata=function(){},Cta=function(a,b,c,d,e,f,h){this.injector=a;this.rootComponentType=b;this.config=c;this.urlTree=d;this.url=e;this.paramsInheritanceStrategy=f;this.urlSerializer=h};
Cta.prototype.recognize=function(){var a=this,b=Ao(this.urlTree.root,[],[],this.config.filter(function(c){return void 0===c.redirectTo})).segmentGroup;return bVb(this,this.injector,this.config,b,"primary").pipe(B(function(c){if(null===c)return null;var d=new jo([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,a.urlTree.root,-1,{});c=new ho(a.url,new io(d,c));cVb(a,c._root);return c}))};
var cVb=function(a,b){var c=b.value,d=Vsa(c,a.paramsInheritanceStrategy);c.params=Object.freeze(d.params);c.data=Object.freeze(d.data);b.children.forEach(function(e){return cVb(a,e)})},bVb=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):dVb(a,b,c,d,d.segments,e)};
Cta.prototype.processChildren=function(a,b,c){var d=this;return(0,T.from)(Object.keys(c.children)).pipe(lf(function(e){var f=c.children[e],h=fta(b,e);return bVb(d,a,h,f,e)},1),Jf(function(e,f){if(!e||!f)return null;e.push.apply(e,p(f));return e}),xha(function(e){return null!==e}),Bf(null),jha(),B(function(e){if(null===e)return null;e=Gta(e);Eta(e);return e}))};
var dVb=function(a,b,c,d,e,f){return(0,T.from)(c).pipe(lf(function(h){var l;return eVb(a,null!=(l=h._injector)?l:b,h,d,e,f)},1),Hf(function(h){return!!h}),yf(function(h){if(ita(h))return 0!==e.length||d.children[f]?(0,T.of)(null):(0,T.of)([]);throw h;}))},eVb=function(a,b,c,d,e,f){if(c.redirectTo||!yta(c,d,e,f))return(0,T.of)(null);if("**"===c.path){var h=Ita(d)+e.length;var l,q;e=new jo(e,0<e.length?(0<e.length?e[e.length-1]:null).parameters:{},Object.freeze(Object.assign({},a.urlTree.queryParams)),
a.urlTree.fragment,c.data||{},po(c),null!=(q=null!=(l=c.component)?l:c._loadedComponent)?q:null,c,Hta(d),h,c.resolve||{});h=(0,T.of)({snapshot:e,consumedSegments:[],remainingSegments:[]})}else h=vta(d,c,e,b).pipe(B(function(u){var x=u.consumedSegments,y=u.remainingSegments;if(!u.matched)return null;var G=Ita(d)+x.length,J,M;return{snapshot:new jo(x,u.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,c.data||{},po(c),null!=(M=null!=(J=c.component)?J:c._loadedComponent)?
M:null,c,Hta(d),G,c.resolve||{}),consumedSegments:x,remainingSegments:y}}));return h.pipe(Qf(function(u){if(null===u)return(0,T.of)(null);var x=u.snapshot,y=u.consumedSegments;u=u.remainingSegments;var G;b=null!=(G=c._injector)?G:b;var J;G=null!=(J=c._loadedInjector)?J:b;J=c.children?c.children:c.loadChildren?c._loadedRoutes:[];u=Ao(d,y,u,J.filter(function(M){return void 0===M.redirectTo}));y=u.segmentGroup;u=u.slicedSegments;return 0===u.length&&y.hasChildren()?a.processChildren(G,J,y).pipe(B(function(M){return null===
M?null:[new io(x,M)]})):0===J.length&&0===u.length?(0,T.of)([new io(x,[])]):dVb(a,G,J,y,u,po(c)===f?"primary":f).pipe(B(function(M){return null===M?null:[new io(x,M)]}))}))};var fVb=new Ud("ROUTES"),OG=function(a){this.injector=a;this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap};
OG.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,T.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=Qn(a.loadComponent()).pipe(B(Qta),Sf(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Gf(function(){b.componentLoaders.delete(a)}));c=(new T.ConnectableObservable(c,function(){return new T.Subject})).pipe(We());this.componentLoaders.set(a,
c);return c};
OG.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,T.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);var d=gVb(b.loadChildren).pipe(B(function(e){if(c.onLoadEndListener)c.onLoadEndListener(b);if(!Array.isArray(e)){var f=e.create(a).injector;e=f.get(fVb,[],10).flat()}return{routes:e.map(no),injector:f}}),Gf(function(){c.childrenLoaders.delete(b)}));d=
(new T.ConnectableObservable(d,function(){return new T.Subject})).pipe(We());this.childrenLoaders.set(b,d);return d};var gVb=function(a){return Qn(a()).pipe(B(Qta),lf(function(b){return b instanceof wDb||Array.isArray(b)?(0,T.of)(b):(0,T.from)(Promise.resolve(new RDb(b)))}))};OG.\u0275fac=function(a){return new (a||OG)(n(Fv),n(Qv))};OG.\u0275prov=Pc({token:OG,factory:OG.\u0275fac,providedIn:"root"});var PG=function(){var a=this;this.lastSuccessfulNavigation=this.currentNavigation=null;this.events=new T.Subject;this.configLoader=Zc(OG);this.environmentInjector=Zc(Ev);this.urlSerializer=Zc(EG);this.rootContexts=Zc(LG);this.navigationId=0;this.afterPreactivation=function(){return(0,T.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new yUb(b))};this.configLoader.onLoadStartListener=function(b){return a.events.next(new xUb(b))}};
PG.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var hVb=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},mVb=function(a,b){a.transitions=new T.BehaviorSubject({id:0,targetPageId:0,currentUrlTree:b.currentUrlTree,currentRawUrl:b.currentUrlTree,extractedUrl:b.urlHandlingStrategy.extract(b.currentUrlTree),urlAfterRedirects:b.urlHandlingStrategy.extract(b.currentUrlTree),rawUrl:b.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,
currentSnapshot:b.routerState.snapshot,targetSnapshot:null,currentRouterState:b.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(sf(function(c){return 0!==c.id}),B(function(c){return Object.assign({},c,{extractedUrl:b.urlHandlingStrategy.extract(c.rawUrl)})}),Qf(function(c){var d=!1,e=!1;return(0,T.of)(c).pipe(Sf(function(f){a.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,trigger:f.source,
extras:f.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Qf(function(f){var h=b.browserUrlTree.toString();h=!b.navigated||f.extractedUrl.toString()!==h||h!==b.currentUrlTree.toString();var l,q=null!=(l=f.extras.onSameUrlNavigation)?l:b.onSameUrlNavigation;if(!h&&"reload"!==q)return a.events.next(new Io(f.id,b.urlSerializer.serialize(c.rawUrl),"",0)),b.rawUrlTree=f.rawUrl,f.resolve(null),T.EMPTY;"imperative"!==f.source&&
(b.browserUrlTree=f.extractedUrl);return(0,T.of)(f).pipe(Qf(function(u){var x,y=null==(x=a.transitions)?void 0:x.getValue();a.events.next(new ap(u.id,a.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState));var G;return y!==(null==(G=a.transitions)?void 0:G.getValue())?T.EMPTY:Promise.resolve(u)}),zta(a.environmentInjector,a.configLoader,a.urlSerializer,b.config),Sf(function(u){a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:u.urlAfterRedirects});c.urlAfterRedirects=
u.urlAfterRedirects}),Jta(a.environmentInjector,a.rootComponentType,b.config,a.urlSerializer,b.paramsInheritanceStrategy),Sf(function(u){c.targetSnapshot=u.targetSnapshot;if("eager"===b.urlUpdateStrategy){if(!u.extras.skipLocationChange){var x=b.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);iVb(b,x,u)}b.browserUrlTree=u.urlAfterRedirects}u=new sUb(u.id,a.urlSerializer.serialize(u.extractedUrl),a.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);a.events.next(u)}))}),Sf(function(f){f=
new tUb(f.id,a.urlSerializer.serialize(f.extractedUrl),a.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);a.events.next(f)}),B(function(f){var h=Object,l=h.assign;var q=f.currentSnapshot;var u=f.targetSnapshot._root;q=uo(u,q?q._root:null,a.rootContexts,[u.value]);return c=l.call(h,{},f,{guards:q})}),lta(a.environmentInjector,function(f){return a.events.next(f)}),Sf(function(f){c.guardsResult=f.guardsResult;if(ao(f.guardsResult))throw cta(f.guardsResult);f=new uUb(f.id,a.urlSerializer.serialize(f.extractedUrl),
a.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);a.events.next(f)}),sf(function(f){return f.guardsResult?!0:(jVb(b,f),kVb(a,f,3),!1)}),Pta(function(f){if(f.guards.canActivateChecks.length)return(0,T.of)(f).pipe(Sf(function(h){h=new vUb(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}),Qf(function(h){var l=!1;return(0,T.of)(h).pipe(Lta(b.paramsInheritanceStrategy,a.environmentInjector),
Sf({next:function(){return l=!0},complete:function(){l||(jVb(b,h),kVb(a,h,2))}}))}),Sf(function(h){h=new wUb(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}))}),Pta(function(f){var h=function(l){var q=[],u;(null==(u=l.routeConfig)?0:u.loadComponent)&&!l.routeConfig._loadedComponent&&q.push(a.configLoader.loadComponent(l.routeConfig).pipe(Sf(function(y){l.component=y}),B(function(){})));u=m(l.children);for(var x=u.next();!x.done;x=
u.next())q.push.apply(q,p(h(x.value)));return q};return(0,T.combineLatest)(h(f.targetSnapshot.root)).pipe(Bf(),Ef())}),Pta(function(){return a.afterPreactivation()}),B(function(f){var h=f.targetSnapshot;var l=f.currentRouterState;l=mo(b.routeReuseStrategy,h._root,l?l._root:void 0);h=new lo(l,h);return c=Object.assign({},f,{targetRouterState:h})}),Sf(function(f){b.currentUrlTree=f.urlAfterRedirects;b.rawUrlTree=b.urlHandlingStrategy.merge(f.urlAfterRedirects,f.rawUrl);b.routerState=f.targetRouterState;
"deferred"===b.urlUpdateStrategy&&(f.extras.skipLocationChange||iVb(b,b.rawUrlTree,f),b.browserUrlTree=f.urlAfterRedirects)}),LUb(a.rootContexts,b.routeReuseStrategy,function(f){return a.events.next(f)}),Sf({next:function(f){d=!0;a.lastSuccessfulNavigation=a.currentNavigation;b.navigated=!0;a.events.next(new Fo(f.id,a.urlSerializer.serialize(f.extractedUrl),a.urlSerializer.serialize(b.currentUrlTree)));var h;null==(h=b.titleStrategy)||h.updateTitle(f.targetRouterState.snapshot);f.resolve(!0)},complete:function(){d=
!0}}),Gf(function(){d||e||kVb(a,c,1);var f;(null==(f=a.currentNavigation)?void 0:f.id)===c.id&&(a.currentNavigation=null)}),yf(function(f){e=!0;if(dta(f)){dta(f)&&ao(f.url)||(b.navigated=!0,jVb(b,c,!0));var h=new Go(c.id,a.urlSerializer.serialize(c.extractedUrl),f.message,f.cancellationCode);a.events.next(h);dta(f)&&ao(f.url)?(f=b.urlHandlingStrategy.merge(f.url,b.rawUrlTree),lVb(b,f,"imperative",null,{skipLocationChange:c.extras.skipLocationChange,replaceUrl:"eager"===b.urlUpdateStrategy||"imperative"!==
c.source},{resolve:c.resolve,reject:c.reject,promise:c.promise})):c.resolve(!1)}else{jVb(b,c,!0);var l=new Ho(c.id,a.urlSerializer.serialize(c.extractedUrl),f,null!=(h=c.targetSnapshot)?h:void 0);a.events.next(l);try{c.resolve(b.errorHandler(f))}catch(q){c.reject(q)}}return T.EMPTY}))}))},kVb=function(a,b,c){c=new Go(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)};
Ei.Object.defineProperties(PG.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});PG.\u0275fac=function(a){return new (a||PG)};PG.\u0275prov=Pc({token:PG,factory:PG.\u0275fac,providedIn:"root"});var QG=function(){},nVb=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[Eo])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};QG.\u0275fac=function(a){return new (a||QG)};QG.\u0275prov=Pc({token:QG,factory:function(){return Zc(RG)},providedIn:"root"});var RG=function(a){this.title=a};X(RG,QG);RG.prototype.updateTitle=function(a){a=nVb(a);void 0!==a&&this.title.setTitle(a)};RG.\u0275fac=function(a){return new (a||RG)(n(Iy))};
RG.\u0275prov=Pc({token:RG,factory:RG.\u0275fac,providedIn:"root"});var SG=function(){};SG.\u0275fac=function(a){return new (a||SG)};SG.\u0275prov=Pc({token:SG,factory:function(){return Zc(TG)},providedIn:"root"});var oVb=function(){};g=oVb.prototype;g.shouldDetach=function(){return!1};g.store=function(){};g.shouldAttach=function(){return!1};g.retrieve=function(){return null};g.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var TG=function(){};X(TG,oVb);TG.\u0275fac=function(){var a;return function(b){return(a||(a=Od(TG)))(b||TG)}}();
TG.\u0275prov=Pc({token:TG,factory:TG.\u0275fac,providedIn:"root"});var pVb=new Ud("",{providedIn:"root",factory:function(){return{}}});var UG=function(){};UG.\u0275fac=function(a){return new (a||UG)};UG.\u0275prov=Pc({token:UG,factory:function(){return Zc(VG)},providedIn:"root"});var VG=function(){};VG.prototype.extract=function(a){return a};VG.prototype.merge=function(a){return a};VG.\u0275fac=function(a){return new (a||VG)};VG.\u0275prov=Pc({token:VG,factory:VG.\u0275fac,providedIn:"root"});var qVb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rVb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},WG=function(){var a=this;this.disposed=!1;this.currentPageId=0;this.console=Zc(Pv);this.options=Zc(pVb,{optional:!0})||{};this.errorHandler=this.options.errorHandler||Rta;this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Sta;this.navigated=!1;this.lastSuccessfulId=-1;this.urlHandlingStrategy=Zc(UG);this.routeReuseStrategy=
Zc(SG);this.urlCreationStrategy=Zc(JG);this.titleStrategy=Zc(QG);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";var b,c;this.config=null!=(c=null==(b=Zc(fVb,{optional:!0}))?void 0:b.flat())?c:[];this.navigationTransitions=Zc(PG);this.urlSerializer=
Zc(EG);this.location=Zc(xx);Zc(Yf)instanceof Yf&&IEb();this.config=this.config.map(no);this.navigated=!1;this.lastSuccessfulId=-1;this.browserUrlTree=this.rawUrlTree=this.currentUrlTree=new $n;this.routerState=Tsa(this.currentUrlTree);mVb(this.navigationTransitions,this).subscribe(function(d){a.lastSuccessfulId=d.id;a.currentPageId=d.targetPageId},function(d){a.console.warn("Unhandled Navigation Error: "+d)})};
WG.prototype.initialNavigation=function(){sVb(this);if(!this.navigationTransitions.hasRequestedNavigation){var a=this.location.getState();tVb(this,this.location.path(!0),"imperative",a)}};
var sVb=function(a){a.locationSubscription||(a.locationSubscription=a.location.subscribe(function(b){var c="popstate"===b.type?"popstate":"hashchange";"popstate"===c&&setTimeout(function(){tVb(a,b.url,c,b.state)},0)}))},tVb=function(a,b,c,d){var e={replaceUrl:!0},f=(null==d?0:d.navigationId)?d:null;d&&(d=Object.assign({},d),delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(e.state=d));b=uVb(a,b);lVb(a,b,c,f,e)};WG.prototype.ngOnDestroy=function(){this.dispose()};
WG.prototype.dispose=function(){this.navigationTransitions.complete();this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0);this.disposed=!0};
WG.prototype.createUrlTree=function(a,b){var c=b=void 0===b?{}:b;b=c.relativeTo;var d=c.queryParams,e=c.fragment;e=c.preserveFragment?this.currentUrlTree.fragment:e;switch(c.queryParamsHandling){case "merge":c=Object.assign({},this.currentUrlTree.queryParams,d);break;case "preserve":c=this.currentUrlTree.queryParams;break;default:c=d||null}null!==c&&(c=vVb(c));return this.urlCreationStrategy.createUrlTree(b,this.routerState,this.currentUrlTree,a,c,null!=e?e:null)};
var Ht=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=ao(b)?b:uVb(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return lVb(a,b,"imperative",null,c)};WG.prototype.navigate=function(a,b){b=void 0===b?{skipLocationChange:!1}:b;for(var c=0;c<a.length;c++)if(null==a[c])throw new Tc(4008,!1);return Ht(this,this.createUrlTree(a,b),b)};var uVb=function(a,b){try{var c=a.urlSerializer.parse(b)}catch(d){c=a.malformedUriErrorHandler(d,a.urlSerializer,b)}return c};
WG.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},qVb):!1===b?c=Object.assign({},rVb):c=b;if(ao(a))return usa(this.currentUrlTree,a,c);a=uVb(this,a);return usa(this.currentUrlTree,a,c)};
var vVb=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];null!==d&&void 0!==d&&(b[c]=d);return b},{})},lVb=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var l=f.reject;f=f.promise}else f=new Promise(function(y,G){h=y;l=G});if("computed"===a.canceledNavigationResolution)if(d&&d.\u0275routerPageId)var q=d.\u0275routerPageId;else if(e.replaceUrl||e.skipLocationChange){var u;q=null!=(u=a.browserPageId)?u:0}else{var x;q=(null!=(x=a.browserPageId)?
x:0)+1}else q=0;hVb(a.navigationTransitions,{targetPageId:q,source:c,restoredState:d,currentUrlTree:a.currentUrlTree,currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:l,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(y){return Promise.reject(y)})},iVb=function(a,b,c){b=a.urlSerializer.serialize(b);var d=Object.assign({},c.extras.state,wVb(a,c.id,c.targetPageId)),e=a.location;var f=void 0===f?"":f;e.path()==e.normalize(b+rh(f))||
c.extras.replaceUrl?a.location.replaceState(b,"",d):a.location.go(b,"",d)},jVb=function(a,b,c){c=void 0===c?!1:c;if("computed"===a.canceledNavigationResolution){c=a.currentPageId-b.targetPageId;var d;if("popstate"!==b.source&&"eager"!==a.urlUpdateStrategy&&a.currentUrlTree!==(null==(d=a.navigationTransitions.currentNavigation)?void 0:d.finalUrl)||0===c){var e;a.currentUrlTree===(null==(e=a.navigationTransitions.currentNavigation)?void 0:e.finalUrl)&&0===c&&(a.resetState(b),a.browserUrlTree=b.currentUrlTree,
xVb(a))}else a.location.historyGo(c)}else"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),xVb(a))};WG.prototype.resetState=function(a){this.routerState=a.currentRouterState;this.currentUrlTree=a.currentUrlTree;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)};
var xVb=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",wVb(a,a.lastSuccessfulId,a.currentPageId))},wVb=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
Ei.Object.defineProperties(WG.prototype,{navigationId:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.navigationId}},browserPageId:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.location.getState())?void 0:a.\u0275routerPageId}},events:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.events}},url:{configurable:!0,enumerable:!0,get:function(){return this.urlSerializer.serialize(this.currentUrlTree)}},lastSuccessfulNavigation:{configurable:!0,
enumerable:!0,get:function(){return this.navigationTransitions.lastSuccessfulNavigation}}});WG.\u0275fac=function(a){return new (a||WG)};WG.\u0275prov=Pc({token:WG,factory:WG.\u0275fac,providedIn:"root"});var XG=function(a,b,c,d,e,f){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=f;this._replaceUrl=this._skipLocationChange=this._preserveFragment=!1;this.commands=this.href=null;this.onChanges=new T.Subject;var l;b=null==(l=e.nativeElement.tagName)?void 0:l.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(q){q instanceof Fo&&yVb(h)}):zVb(this,"0")},zVb=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||AVb(a,"tabindex",b)};XG.prototype.ngOnChanges=function(){this.isAnchorElement&&yVb(this);this.onChanges.next(this)};XG.prototype.onClick=function(a,b,c,d,e){if(null===this.urlTree||this.isAnchorElement&&(0!==a||b||c||d||e||"string"===typeof this.target&&"_self"!=this.target))return!0;Ht(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state});return!this.isAnchorElement};
XG.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var yVb=function(a){var b;a.href=null!==a.urlTree&&a.locationStrategy?null==(b=a.locationStrategy)?void 0:b.prepareExternalUrl(a.router.urlSerializer.serialize(a.urlTree)):null;null===a.href?b=null:(b=a.el.nativeElement.tagName.toLowerCase(),b=("base"===b||"link"===b?Xea:ue)(a.href));AVb(a,"href",b)},AVb=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
Ei.Object.defineProperties(XG.prototype,{preserveFragment:{configurable:!0,enumerable:!0,set:function(a){this._preserveFragment=bh(a)},get:function(){return this._preserveFragment}},skipLocationChange:{configurable:!0,enumerable:!0,set:function(a){this._skipLocationChange=bh(a)},get:function(){return this._skipLocationChange}},replaceUrl:{configurable:!0,enumerable:!0,set:function(a){this._replaceUrl=bh(a)},get:function(){return this._replaceUrl}},routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=
a?(this.commands=Array.isArray(a)?a:[a],zVb(this,"0")):(this.commands=null,zVb(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}});
XG.\u0275fac=function(a){return new (a||XG)(A(WG),A(ko),Id("tabindex"),A(Jv),A(Yd),A(ux))};
XG.\u0275dir=r({type:XG,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&K("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&dg("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,
features:[md]});var YG=function(a,b,c,d,e){var f=this;this.router=a;this.element=b;this.renderer=c;this.cdr=d;this.link=e;this.classes=[];this._isActive=!1;this.routerLinkActiveOptions={exact:!1};this.isActiveChange=new vw;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof Fo&&f.update()})};YG.prototype.ngAfterContentInit=function(){var a=this;(0,T.of)(this.links.changes,(0,T.of)(null)).pipe(mf()).subscribe(function(){a.update();BVb(a)})};
var BVb=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(p(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,T.from)(b).pipe(mf()).subscribe(function(c){a._isActive!==CVb(a,a.router)(c)&&a.update()})};YG.prototype.ngOnChanges=function(){this.update()};
YG.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
YG.prototype.update=function(){var a=this;this.links&&this.router.navigated&&Promise.resolve().then(function(){var b=DVb(a);a._isActive!==b&&(a._isActive=b,a.cdr.markForCheck(),a.classes.forEach(function(c){b?a.renderer.addClass(a.element.nativeElement,c):a.renderer.removeClass(a.element.nativeElement,c)}),b&&void 0!==a.ariaCurrentWhenActive?a.renderer.setAttribute(a.element.nativeElement,"aria-current",a.ariaCurrentWhenActive.toString()):a.renderer.removeAttribute(a.element.nativeElement,"aria-current"),
a.isActiveChange.emit(b))})};var CVb=function(a,b){var c=a.routerLinkActiveOptions.paths?a.routerLinkActiveOptions:a.routerLinkActiveOptions.exact||!1;return function(d){return d.urlTree?b.isActive(d.urlTree,c):!1}},DVb=function(a){var b=CVb(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
Ei.Object.defineProperties(YG.prototype,{isActive:{configurable:!0,enumerable:!0,get:function(){return this._isActive}},routerLinkActive:{configurable:!0,enumerable:!0,set:function(a){this.classes=(Array.isArray(a)?a:a.split(" ")).filter(function(b){return!!b})}}});YG.\u0275fac=function(a){return new (a||YG)(A(WG),A(Yd),A(Jv),A(Vw),A(XG,8))};
YG.\u0275dir=r({type:YG,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&Tg(c,XG,5);if(a&2){var d;Rg(d=Ug())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[md]});var EVb=function(){},ZG=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},FVb=function(a){a.subscription=a.router.events.pipe(sf(function(b){return b instanceof Fo}),lf(function(){return a.preload()},1)).subscribe(function(){})};ZG.prototype.preload=function(){return GVb(this,this.injector,this.router.config)};ZG.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var GVb=function(a,b,c){var d=[];c=m(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=vfa(e.providers,b,"Route: "+e.path));var f=void 0,h=null!=(f=e._injector)?f:b,l=void 0;f=null!=(l=e._loadedInjector)?l:h;if(e.loadChildren&&!e._loadedRoutes&&void 0===e.canLoad||e.loadComponent&&!e._loadedComponent)d.push(HVb(a,h,e));else if(e.children||e._loadedRoutes)h=void 0,d.push(GVb(a,f,null!=(h=e.children)?h:e._loadedRoutes))}return(0,T.from)(d).pipe(mf())},HVb=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,T.of)(null)).pipe(lf(function(f){if(null===f)return(0,T.of)(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return GVb(a,null!=(h=f.injector)?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,T.from)([d,e]).pipe(mf())}return d})};ZG.\u0275fac=function(a){return new (a||ZG)(n(WG),n(Qv),n(Ev),n(EVb),n(OG))};
ZG.\u0275prov=Pc({token:ZG,factory:ZG.\u0275fac,providedIn:"root"});var IVb=new Ud(""),$G=function(a,b,c,d,e){e=void 0===e?{}:e;this.urlSerializer=a;this.transitions=b;this.viewportScroller=c;this.zone=d;this.options=e;this.lastId=0;this.lastSource="imperative";this.restoredId=0;this.store={};e.scrollPositionRestoration=e.scrollPositionRestoration||"disabled";e.anchorScrolling=e.anchorScrolling||"disabled"};
$G.prototype.init=function(){if("disabled"!==this.options.scrollPositionRestoration){var a=this.viewportScroller;try{if(OFb(a)){var b=Object.getOwnPropertyDescriptor(a.window.history,"scrollRestoration")||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(a.window.history),"scrollRestoration");var c=!!b&&!(!b.writable&&!b.set)}else c=!1}catch(d){c=!1}c&&(a=a.window.history)&&a.scrollRestoration&&(a.scrollRestoration="manual")}this.routerEventsSubscription=JVb(this);this.scrollEventsSubscription=
KVb(this)};
var JVb=function(a){return a.transitions.events.subscribe(function(b){b instanceof ap?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof Fo?(a.lastId=b.id,LVb(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof Io&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,LVb(a,a.urlSerializer.parse(b.url).fragment))})},KVb=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof BUb)if(b.position)"top"===
a.options.scrollPositionRestoration?PFb(a.viewportScroller,[0,0]):"enabled"===a.options.scrollPositionRestoration&&PFb(a.viewportScroller,b.position);else if(b.anchor&&"enabled"===a.options.anchorScrolling){var c=a.viewportScroller;if(OFb(c)){a:{var d=c.document;b=b.anchor;var e=d.getElementById(b)||d.getElementsByName(b)[0];if(e)b=e;else{if("function"===typeof d.createTreeWalker&&d.body&&(d.body.createShadowRoot||"function"===typeof d.body.attachShadow))for(d=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT),
e=d.currentNode;e;){if(e=e.shadowRoot)if(e=e.getElementById(b)||e.querySelector('[name="'+b+'"]')){b=e;break a}e=d.nextNode()}b=null}}if(b){e=b.getBoundingClientRect();d=e.left+c.window.pageXOffset;e=e.top+c.window.pageYOffset;var f=c.offset();c.window.scrollTo(d-f[0],e-f[1]);b.focus()}}}else"disabled"!==a.options.scrollPositionRestoration&&PFb(a.viewportScroller,[0,0])})},LVb=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new BUb("popstate"===
a.lastSource?a.store[a.restoredId]:null,b))})},0)})};$G.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};$G.\u0275fac=function(){be()};$G.\u0275prov=Pc({token:$G,factory:$G.\u0275fac});new Ud("",{providedIn:"root",factory:function(){return!1}});var MVb=new Ud("",{factory:function(){return new T.Subject}}),NVb=new Ud("",{providedIn:"root",factory:function(){return 1}}),OVb=new Ud("");var PVb=new Ud("ROUTER_FORROOT_GUARD"),QVb=[xx,{provide:EG,useClass:FG},WG,LG,{provide:ko,useFactory:function(a){return a.routerState.root},deps:[WG]},OG,[]],aH=function(){};aH.\u0275fac=function(a){return new (a||aH)(n(PVb,8))};aH.\u0275mod=fd({type:aH});aH.\u0275inj=Qc({imports:[oo]});var RVb=new Ud("");var bH=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new iUb(function(){return!e.router.navigationTransitions.currentNavigation})};g=bH.prototype;g.absUrl=function(){return this.platformLocation.href};g.hash=function(a,b){return"undefined"===typeof a?this.getHash():this.setHash(null!=a?a:"",b)};g.getHash=function(){var a;return null!=(a=this.activatedRoute.snapshot.fragment)?a:""};
g.setHash=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([],{fragment:a,replaceUrl:b})});return this};g.path=function(a,b){return"undefined"===typeof a?this.getPath():this.setPath(a,b)};var SVb=function(a,b){a.path(b,!0)};g=bH.prototype;g.getPath=function(){var a=m(this.location.path().split("?")).next().value;return m(a.split("#")).next().value};
g.setPath=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};g.search=function(a,b,c){if("undefined"===typeof a)return this.getSearch();this.setSearch(a,b,c);return this};g.getSearch=function(){return Vta(this.activatedRoute.snapshot.queryParamMap)};
g.setSearch=function(a,b,c){var d=this;c=void 0===c?!1:c;this.addTask(function(){var e={};d.router.navigate([],{relativeTo:d.activatedRoute,queryParams:(e[a]=b,e),queryParamsHandling:"merge",replaceUrl:c})})};g.url=function(a,b){return"undefined"===typeof a?this.getUrl():this.setUrl(a,b)};g.replaceUrl=function(a){return this.url(a,!0)};g.setUrl=function(a,b){var c=this;b=void 0===b?!1:b;return new Promise(function(d,e){c.addTask(function(){Ht(c.router,a,{replaceUrl:b}).then(d).catch(e)})})};
g.getUrl=function(){return this.location.path(!0)};g.addTask=function(a){this.scheduler.addTask(a)};bH.\u0275fac=function(a){return new (a||bH)(n(xx),n(sx),n(ko),n(WG))};bH.\u0275prov=Pc({token:bH,factory:bH.\u0275fac,providedIn:"root"});var cH=function(a){this.bLocation=a};cH.prototype.createIssue=function(a){return Jn("issues/new",{params:a})};cH.prototype.editIssue=function(a,b){return Hn(a,b)};cH.prototype.listIssues=function(a){return Kn(a)};cH.prototype.viewSavedSearch=function(a){return Gn("savedsearches/:savedSearchId",{id:a,params:void 0})};
var TVb=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b},UVb=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.url();a=new Wq(a);b=new Wq(b);return a.getPath()===b.getPath()&&VD(a.queryData_.toString())===VD(b.queryData_.toString())};g=cH.prototype;g.viewHotlist=function(a){return Gn("hotlists/:hotlistId",{id:a})};g.editHotlist=function(a){return Jn("hotlists/:hotlistId/edit",{id:a,tab:void 0})};g.createHotlist=function(){return"hotlists/new"};g.createBookmarkGroup=function(){return"bookmark-groups/new"};
g.viewBookmarkGroup=function(a){return Gn("bookmark-groups/:groupId",{id:a})};g.editBookmarkGroup=function(a){return Jn("bookmark-groups/:groupId/edit",{id:a})};g.editSavedSearch=function(a){return Jn("savedsearches/:savedSearchId/edit",{id:a})};g.dashboard=function(a){return Jn("dashboard/:groupId",{id:a})};g.issuesCsvAction=function(a,b,c,d,e){c=jsa(c);d=ksa(d);return FC("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)};
g.hotlistIssuesCsvAction=function(a,b,c,d,e){a="action/hotlists/"+a+"/issues/csv";c=jsa(c);(d=ksa(d))&&(d="position,"+d);return FC(a,"trackerIds",b,"s",c,"c",d,"h",e)};g.toApiSortParamValue=function(a){return jsa(a)};g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return Jn("components",{params:void 0})};g.viewComponent=function(a,b){return Gn("components/:componentId",{id:a,tab:b})};
g.manageComponent=function(a,b){return lsa(a,b)};g.createComponent=function(a){return Jn("components/new",{params:a})};g.editComponent=function(a,b){return Jn("components/:componentId/edit",{id:a,tab:b})};g.createSlo=function(){return Jn("slos/new",{params:void 0})};g.editSlo=function(a){return On(a).path};g.listSlos=function(){return Jn("slos",{params:void 0})};
g.getBaseUrl=function(){var a=this.bLocation.absUrl();a=a.slice(0,a.length-this.bLocation.url().length);"/"===a.charAt(a.length-1)&&(a=a.slice(0,a.length-1));return a};g.listHotlists=function(){return"hotlists"};cH.\u0275fac=function(a){return new (a||cH)(n(bH))};cH.\u0275prov=Pc({token:cH,factory:cH.\u0275fac,providedIn:"root"});var VVb=function(a,b){this.childIterator_=a[da.Symbol.iterator]();this.mapFn_=b};VVb.prototype[Symbol.iterator]=function(){return this};VVb.prototype.next=function(){var a=this.childIterator_.next();return{value:a.done?void 0:this.mapFn_.call(void 0,a.value),done:a.done}};var WVb=function(a,b){return new VVb(a,b)};var dH=function(){};dH.prototype.next=function(){return XVb};var XVb={done:!0,value:void 0};dH.prototype.__iterator__=function(){return this};var YVb=function(a){if(a instanceof eH||a instanceof fH||a instanceof gH)return a;if("function"==typeof a.next)return new eH(function(){return a});if("function"==typeof a[Symbol.iterator])return new eH(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new eH(function(){return a.__iterator__()});throw Error("Cc");},eH=function(a){this.func_=a};eH.prototype.__iterator__=function(){return new fH(this.func_())};eH.prototype[Symbol.iterator]=function(){return new gH(this.func_())};
eH.prototype.toEs6=function(){return new gH(this.func_())};var fH=function(a){this.iter_=a};X(fH,dH);fH.prototype.next=function(){return this.iter_.next()};fH.prototype[Symbol.iterator]=function(){return new gH(this.iter_)};fH.prototype.toEs6=function(){return new gH(this.iter_)};var gH=function(a){eH.call(this,function(){return a});this.iter_=a};X(gH,eH);gH.prototype.next=function(){return this.iter_.next()};var hH=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Y");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=hH.prototype;g.getCount=function(){return this.size};g.getValues=function(){iH(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){iH(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return jH(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(jH(this.map_,c)&&this.map_[c]==a)return!0}return!1};g.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||ZVb;iH(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var ZVb=function(a,b){return a===b};hH.prototype.isEmpty=function(){return 0==this.size};
hH.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};hH.prototype.remove=function(a){return this.delete(a)};hH.prototype.delete=function(a){return jH(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&iH(this),!0):!1};
var iH=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];jH(a.map_,d)&&(a.keys_[c++]=d);b++}a.keys_.length=c}if(a.size!=a.keys_.length){var e={};for(c=b=0;b<a.keys_.length;)d=a.keys_[b],jH(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};g=hH.prototype;g.get=function(a,b){return jH(this.map_,a)?this.map_[a]:b};g.set=function(a,b){jH(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
g.addAll=function(a){if(a instanceof hH)for(var b=a.getKeys(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};g.forEach=function(a,b){for(var c=this.getKeys(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new hH(this)};g.transpose=function(){for(var a=new hH,b=0;b<this.keys_.length;b++){var c=this.keys_[b];a.set(this.map_[c],c)}return a};g.keys=function(){return YVb(this.__iterator__(!0)).toEs6()};g.values=function(){return YVb(this.__iterator__(!1)).toEs6()};
g.entries=function(){var a=this;return WVb(this.keys(),function(b){return[b,a.get(b)]})};g.__iterator__=function(a){iH(this);var b=0,c=this.version_,d=this,e=new dH;e.next=function(){if(c!=d.version_)throw Error("Dc");if(b>=d.keys_.length)return XVb;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var jH=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var kH=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new hH;this.head_=new $Vb("");this.head_.next=this.head_.prev=this.head_},bWb=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),aWb(a,b));return b};kH.prototype.get=function(a,b){return(a=bWb(this,a))?a.value:b};var cWb=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=kH.prototype;g.set=function(a,b){var c=bWb(this,a);c?c.value=b:(c=new $Vb(a,b),this.map_.set(a,c),aWb(this,c))};
g.shift=function(){return dWb(this,this.head_.next)};g.pop=function(){return dWb(this,this.head_.prev)};g.remove=function(a){return(a=this.map_.get(a))?(this.removeNode(a),!0):!1};g.removeNode=function(a){a.remove();this.map_.remove(a.key)};g.getCount=function(){return this.map_.getCount()};g.isEmpty=function(){return this.map_.isEmpty()};g.getKeys=function(){return this.map(function(a,b){return b})};g.getValues=function(){return this.map(function(a){return a})};
g.contains=function(a){return this.some(function(b){return b==a})};g.containsKey=function(a){return this.map_.containsKey(a)};g.clear=function(){eWb(this,0)};g.forEach=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)a.call(b,c.value,c.key,this)};g.map=function(a,b){for(var c=[],d=this.head_.next;d!=this.head_;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};g.some=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};
g.every=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
var aWb=function(a,b){a.cache_?(b.next=a.head_.next,b.prev=a.head_,a.head_.next=b,b.next.prev=b):(b.prev=a.head_.prev,b.next=a.head_,a.head_.prev=b,b.prev.next=b);null!=a.maxCount_&&eWb(a,a.maxCount_)},eWb=function(a,b){for(;a.getCount()>b;){var c=a.cache_?a.head_.prev:a.head_.next;a.removeNode(c);a.evictionCallback_&&a.evictionCallback_(c.key,c.value)}},dWb=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},$Vb=function(a,b){this.key=a;this.value=b};
$Vb.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var lH=function(){this.caches=new Map};lH.prototype.create=function(a,b){if(this.caches.has(a))throw Error("Ec`"+a);b=new mH(null==b?void 0:b.capacity);this.caches.set(a,b);return b};lH.prototype.get=function(a){return this.caches.get(a)};lH.\u0275fac=function(a){return new (a||lH)};lH.\u0275prov=Pc({token:lH,factory:lH.\u0275fac,providedIn:"root"});var mH=function(a){this.lruCache=new kH(a,!0)};mH.prototype.get=function(a){return this.lruCache.get(a)};
mH.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};mH.prototype.remove=function(a){this.lruCache.remove(a)};mH.prototype.removeAll=function(){this.lruCache.clear()};var Jo=function(a){Y.call(this,a)};X(Jo,Y);g=Jo.prototype;g.getType=function(){return bk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return Sk(this,1)};g.getCustomFieldId=function(){return kk(this,2)};g.setCustomFieldId=function(a){return k(this,2,a)};g.hasCustomFieldId=function(){return jk(this,2)};g.getCustomFieldName=function(){return lk(this,3)};var Ko=function(a){Y.call(this,a)};X(Ko,Y);Ko.prototype.getField=function(){return wk(this,Jo,1)};Ko.prototype.setField=function(a){Ok(this,Jo,1,a)};Ko.prototype.getDirection=function(){return bk(this,2,0)};Ko.prototype.setDirection=function(a){return k(this,2,a)};var Lo=function(a){Y.call(this,a,-1,fWb)};X(Lo,Y);g=Lo.prototype;g.getHotlistId=function(){return kk(this,1)};g.setHotlistId=function(a){k(this,1,a)};g.getName=function(){return lk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return gm(this,3)};g.getNameOrUndefined=function(){return Uu(this,3)};g.getDescription=function(){return lk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return gm(this,4)};
g.getArchived=function(){return xl(this,6)};g.setArchived=function(a){k(this,6,a)};g.getDisplayColumnList=function(){return fj(this,Jo,8)};g.setDisplayColumnList=function(a){Sb(this,8,a)};g.getSortOrderList=function(){return fj(this,Ko,9)};g.setSortOrderList=function(a){Sb(this,9,a)};g.getCreatedTimeMicros=function(){return Tk(this,10)};g.setCreatedTimeMicros=function(a){k(this,10,a)};g.getModifiedTimeMicros=function(){return Tk(this,11)};g.setModifiedTimeMicros=function(a){k(this,11,a)};
g.getAdminUsersList=function(){return fj(this,Mj,14)};g.setAdminUsersList=function(a){Sb(this,14,a)};g.getEtag=function(){return lk(this,15)};g.setEtag=function(a){k(this,15,a)};g.hasEtag=function(){return gm(this,15)};var fWb=[8,9,14];Lo.messageId="b.Hotlist";var nH=function(a){Y.call(this,a,-1,gWb)};X(nH,Y);nH.prototype.getHotlistsList=function(){return fj(this,Lo,1)};var gWb=[1];nH.messageId="b.ListHotlistsResponse";var oH=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};oH.prototype.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};oH.prototype.bulkLoad=function(a){var b=this;a=a.filter(function(d){return!b.hotlistCache.get(String(d))});if(!a.length)return Promise.resolve();var c=this.hotlistApi.bulkLoad(a);hWb(this,a,c);return c.then(function(){})};
var hWb=function(a,b,c){c=c.then(function(f){if(f){var h={};f=m(f);for(var l=f.next();!l.done;l=f.next())l=l.value,h[l.hotlistId]=l;return h}});var d={};b=m(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$id$2139:d.$jscomp$loop$prop$id$2139},e=b.next())d.$jscomp$loop$prop$id$2139=e.value,a.hotlistCache.put(String(d.$jscomp$loop$prop$id$2139),c.then(function(f){return function(h){return h&&h[f.$jscomp$loop$prop$id$2139]?h[f.$jscomp$loop$prop$id$2139]:Promise.reject({data:{message:"Could not load hotlist "+
f.$jscomp$loop$prop$id$2139}})}}(d)))};g=oH.prototype;g.repositionHotlistIssue=function(a,b,c){return this.hotlistApi.repositionHotlistIssue(a,b,c)};g.createHotlist=function(a,b){return this.hotlistApi.createHotlist(a,b)};g.queryHotlists=function(a){return this.hotlistApi.queryHotlists(a)};g.archiveHotlist=function(a,b){return this.hotlistApi.archiveHotlist(a,b)};g.updateMetadata=function(a,b){return this.hotlistApi.updateMetadata(a,b)};
g.getPagedHotlistContent=function(a,b,c,d,e){return this.hotlistApi.getPagedHotlistContent(a,b,c,d,e)};oH.\u0275fac=function(a){return new (a||oH)(n(lH),n(pH))};oH.\u0275prov=Pc({token:oH,factory:oH.\u0275fac,providedIn:"root"});var qH=function(a,b){this.paths=a;this.executor=b};g=qH.prototype;g.get=function(a){return this.executor.get({url:"action/hotlists/"+a,responseConstructor:Lo}).pipe(B(Mo))};g.bulkLoad=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:nH,options:{params:{id:a.map(String)}}}).pipe(B(cua))};
g.repositionHotlistIssue=function(a,b,c){var d=new dl;d.setIssueId(b);d.setPosition(c);return this.executor.put({url:"action/hotlists/"+a+"/issues",body:d,responseConstructor:null})};g.createHotlist=function(a,b){var c=new Lo;c.setName(a);b&&c.setDescription(b);return this.executor.post({url:"action/hotlists",body:c,responseConstructor:Lo}).pipe(B(Mo))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:nH,options:{params:{q:a}}}).pipe(B(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(Mo)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:bua(b),responseConstructor:Lo}).pipe(B(Mo))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:bua(b),options:{headers:c},responseConstructor:Lo}).pipe(B(Mo))};g.getPagedHotlistContent=function(a,b,c,d,e){b={p:String(b),count:String(c)};if(d=this.paths.toApiSortParamValue(d))b.s=d;e&&(b.trackerIds=e);return this.executor.get({url:"action/hotlists/"+a+"/issues",options:{params:Object.assign({},b)},responseConstructor:aF}).pipe(B(oqa))};
qH.\u0275fac=function(a){return new (a||qH)(n(cH),n(nE))};qH.\u0275prov=Pc({token:qH,factory:qH.\u0275fac,providedIn:"root"});var pH=function(a){this.observableApi=a};g=pH.prototype;g.get=function(a){return(0,T.firstValueFrom)(this.observableApi.get(a))};g.bulkLoad=function(a){return(0,T.firstValueFrom)(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return(0,T.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
g.createHotlist=function(a,b){return(0,T.firstValueFrom)(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return(0,T.firstValueFrom)(this.observableApi.queryHotlists(a))};g.archiveHotlist=function(a,b){return(0,T.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return(0,T.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
g.getPagedHotlistContent=function(a,b,c,d,e){return(0,T.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};pH.\u0275fac=function(a){return new (a||pH)(n(qH))};pH.\u0275prov=Pc({token:pH,factory:pH.\u0275fac,providedIn:"root"});var iWb=function(a){Y.call(this,a)};X(iWb,Y);g=iWb.prototype;g.getUser=function(){return wk(this,Mj,5)};g.setUser=function(a){Ok(this,Mj,5,a)};g.hasUser=function(){return sl(this,Mj,5)};g.getResourceType=function(){return bk(this,2,0)};g.setResourceType=function(a){k(this,2,a)};g.hasResourceType=function(){return Sk(this,2)};g.getResourceId=function(){return kk(this,3)};g.setResourceId=function(a){k(this,3,a)};g.hasResourceId=function(){return jk(this,3)};g.getName=function(){return lk(this,4)};
g.setName=function(a){return k(this,4,a)};g.hasName=function(){return gm(this,4)};g.getNameOrUndefined=function(){return Uu(this,4)};var No=function(a){Y.call(this,a,-1,jWb)};X(No,Y);g=No.prototype;g.getName=function(){return lk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return gm(this,3)};g.getNameOrUndefined=function(){return Uu(this,3)};g.getDescription=function(){return lk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return gm(this,4)};g.getQuery=function(){return lk(this,7)};g.setQuery=function(a){return k(this,7,a)};g.clearQuery=function(){Qu(this,7)};
g.hasQuery=function(){return gm(this,7)};g.getSortOrderList=function(){return fj(this,Ko,8)};g.setSortOrderList=function(a){Sb(this,8,a)};g.getDisplayColumnList=function(){return fj(this,Jo,6)};g.setDisplayColumnList=function(a){Sb(this,6,a)};g.getAdminUsersList=function(){return fj(this,Mj,11)};g.setAdminUsersList=function(a){Sb(this,11,a)};var jWb=[8,6,11];var rH=function(a){Y.call(this,a)};X(rH,Y);rH.prototype.getFavorite=function(){return wk(this,iWb,1)};rH.messageId="b.Favorite";var lWb=function(a){Y.call(this,a,-1,kWb)};X(lWb,Y);lWb.prototype.addHotlist=function(a){Jp(this,1,Lo,a)};var kWb=[1];lWb.messageId="b.HotlistBatchResponse";var Oo=function(a){Y.call(this,a,-1,mWb)};X(Oo,Y);g=Oo.prototype;g.getId=function(){return kk(this,1)};g.setId=function(a){return k(this,1,a)};g.getName=function(){return lk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return gm(this,2)};g.getNameOrUndefined=function(){return Uu(this,2)};g.getDescription=function(){return lk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return gm(this,3)};
g.getAdminUsersList=function(){return fj(this,Mj,8)};g.setAdminUsersList=function(a){Sb(this,8,a)};g.getStarred=function(){return xl(this,5)};g.setStarred=function(a){k(this,5,a)};g.getResourceType=function(){return lk(this,6)};g.setResourceType=function(a){k(this,6,a)};g.hasResourceType=function(){return gm(this,6)};var mWb=[8];var Po=function(a){Y.call(this,a,-1,nWb)};X(Po,Y);g=Po.prototype;g.getId=function(){return kk(this,1)};g.setId=function(a){return k(this,1,a)};g.getName=function(){return lk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return gm(this,2)};g.getNameOrUndefined=function(){return Uu(this,2)};g.getDescription=function(){return lk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return gm(this,3)};
g.getAdminUsersList=function(){return fj(this,Mj,8)};g.setAdminUsersList=function(a){Sb(this,8,a)};g.getStarred=function(){return xl(this,5)};g.setStarred=function(a){k(this,5,a)};var nWb=[8,6];var sH=function(a){Y.call(this,a,-1,oWb)};X(sH,Y);sH.prototype.getHotlistsList=function(){return fj(this,Oo,1)};sH.prototype.getBookmarkGroupsList=function(){return fj(this,Po,2)};var oWb=[1,2,3,4];sH.messageId="b.SidebarInfo";var qWb=function(a){Y.call(this,a,-1,pWb)};X(qWb,Y);var pWb=[1];qWb.messageId="b.UserRecentComponentResponse";var sWb=function(a){Y.call(this,a,-1,rWb)};X(sWb,Y);var rWb=[1];sWb.messageId="b.UserSavedSearchesResponse";var tH=function(){},uH=function(){};uH.\u0275fac=function(a){return new (a||uH)};uH.\u0275prov=Pc({token:uH,factory:uH.\u0275fac,providedIn:"root"});var vH=function(a){this.executor=a};X(vH,uH);g=vH.prototype;g.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:lWb}).pipe(B(dua))};g.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:sH}).pipe(B(kua))};
g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:qWb}).pipe(B(Jpa))};g.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:sWb}).pipe(B(hua))};g.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:rH}).pipe(B(fua))};
g.saveFavorite=function(a){var b=new iWb;b.setResourceType(HQb[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:rH}).pipe(B(fua))};g.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};
var tWb=function(a,b,c){var d={};d.id=String(b);null!==c.voted&&(d.vote=String(!!c.voted));null!==c.starred&&(d.star=String(!!c.starred));null!==c.notificationSubscription&&(d.subscription=c.notificationSubscription);return a.executor.post({url:"action/current_user/issue_data",body:null,options:{params:d},responseConstructor:null})};vH.\u0275fac=function(a){return new (a||vH)(n(nE))};vH.\u0275prov=Pc({token:vH,factory:vH.\u0275fac,providedIn:"root"});var wH=function(a){this.observableApi=a};
X(wH,tH);g=wH.prototype;g.getUserHotlists=function(){return(0,T.firstValueFrom)(this.observableApi.getUserHotlists())};g.getUserSidebar=function(){return(0,T.firstValueFrom)(this.observableApi.getUserSidebar())};g.getRecentComponents=function(){return(0,T.firstValueFrom)(this.observableApi.getRecentComponents())};g.getUserSavedSearches=function(){return(0,T.firstValueFrom)(this.observableApi.getUserSavedSearches())};
g.getFavorite=function(a,b){return(0,T.firstValueFrom)(this.observableApi.getFavorite(a,b))};g.saveFavorite=function(a){return(0,T.firstValueFrom)(this.observableApi.saveFavorite(a))};g.deleteFavorite=function(a){return(0,T.firstValueFrom)(this.observableApi.deleteFavorite(a))};wH.\u0275fac=function(a){return new (a||wH)(n(vH))};wH.\u0275prov=Pc({token:wH,factory:wH.\u0275fac,providedIn:"root"});var uWb={parent:"me"},xH=function(a,b,c){IF.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,T.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(uWb)})};X(xH,IF);
xH.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(yf(function(b){return 403===b.status?(0,T.of)(void 0):(0,T.throwError)(b)}))};xH.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(B(function(b){return{results:b}}));$i("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,T.of)({results:[]})};
xH.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(B(function(b){return(null!=b?b:[]).filter(Vj)}))};xH.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var vWb=function(a){return a.watchMany(uWb).pipe(B(function(b){return b.results}))};xH.\u0275fac=function(a){return new (a||xH)(n(qH),n(uH),n(uG))};xH.\u0275prov=Pc({token:xH,factory:xH.\u0275fac,providedIn:"root"});var lua=function(a){Y.call(this,a,-1,wWb)};X(lua,Y);var wWb=[1];var xWb=!1;var Mp={ADD_USER_WITHOUT_ACCESS:"addUserWithoutAccess",COMPONENT_PICKER:"componentPicker",CREATE_ISSUE:"createIssue",EDIT_ISSUE:"editIssue",EDIT_SLO:"editSlo",EXPERIMENTAL_HOMEPAGE:"experimentalHomepage",FIELD_ORDERING:"fieldOrdering",G3C_WIDGET:"g3cWidget",G3N:"g3n",GLOBAL_SEARCH:"global-search",ISSUE:"issue",ISSUE_ACCESS_LIMITS:"issueAccessLimits",ISSUE_CARD:"issueCard",ISSUE_EVENT_DETAIL:"issueEventDetail",ISSUE_PICKER:"issuePicker",ISSUE_SLO:"issueSlo",JOURNEY:"journey",LINK_FIELD:"linkField",
LIST_ISSUES:"listIssues",MAGIC_BOX:"magicBox",MANAGE_COMPONENT:"component",NEEDS_ATTENTION:"needsAttention",PERSON_CARD:"personCard",PUSH_UPDATE:"pushUpdate",RECAPTCHA_TOKEN:"recaptchaToken",RESTRICTED_CONTENT:"restrictedContent",ROLE_BASED_PERMISSIONS:"roleBasedPermissions",SEARCH:"search",SIDEBAR:"sidebar",TEAM_CARD:"teamCard",TEAM_WARNING:"teamWarning",UPDATE_HISTORY_MODAL:"updateHistoryModal",WHATS_NEW:"whatsNew"};var yH=function(){var a=new Pma(852);a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.enableSendBeaconApi_=!0;a=new kOb(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new LMb(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};yH.\u0275fac=function(a){return new (a||yH)};yH.\u0275prov=Pc({token:yH,factory:yH.\u0275fac,providedIn:"root"});var yWb={clear:function(){},getItem:function(){},removeItem:function(){},setItem:function(){}},Ro=window.localStorage||yWb,zWb=function(a){return function(){var b=Ro.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},AWb=function(a){return function(){var b=Ro.getItem(a);if(null!=b)return String(b)}},BWb=function(a){return function(b){null==b?Ro.removeItem(a):Ro.setItem(a,String(b))}},CWb=function(a){return function(b){null==b?Ro.removeItem(a):Ro.setItem(a,b)}},DWb=function(a){return function(){var b=
So(a)();To(a)(!b);return!b}},EWb=function(a){return function(){var b=Ro.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+a+")"),console.warn(c)}}},FWb=function(a){return function(b){null==b?Ro.removeItem(a):Ro.setItem(a,JSON.stringify(b))}};var GWb=So("debug-logging")(),zH=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new eQb(this.streamz.service);this.userLatency=new gQb(this.streamz.service);this.userActionCounter=new fQb(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
zH.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);GWb&&console.log("Clearcut stub",{action:b,duration:a})};var AH=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);GWb&&console.log("Clearcut stub",{action:c,duration:b})},BH=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);GWb&&console.log("Clearcut stub",{action:b})};
zH.\u0275fac=function(a){return new (a||zH)(n(tu),n(yH))};zH.\u0275prov=Pc({token:zH,factory:zH.\u0275fac,providedIn:"root"});var nua=window,Bua=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},HWb=function(a){if(Uo())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var Cua=So("debug-logging")(),Yo=window,IWb,Aua=!1;var JWb=Mp.GLOBAL_SEARCH,KWb=Mp.JOURNEY,LWb=FWb("journey-log"),MWb=EWb("journey-log"),CH={},NWb=(CH.ssue__edit="edit",CH.ssue__addComment="comment",CH["ssue__light-ixn"]="ixn",CH.ssue__copyIssueId="ixn",CH[JWb+"__.*__.*text"]="ilp-search",CH[JWb+"__.*__filters"]="ilp-filter",CH),DH={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},EH=function(a){this.clearcut=a},OWb=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=MWb())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));LWb(e);if(DH.successEvents.includes(b)){b=e;c=DH.abortEvents;d=DH.successEvents;e=DH.startEvents;for(var f=DH.successMarker,h,l=b.length-1;0<=l;l--){var q=m(b[l]),u=q.next().value;q=q.next().value;if(c.includes(u))break;if(f===u)break;if(d.includes(u)){if(h&&x)break;var x=q}else x&&e.includes(u)&&(h=q)}x=h&&x?[h,x]:void 0;x&&(x=m(x),h=x.next().value,x=x.next().value-h,AH(a.clearcut,x,Dua(KWb,"global-search-text")),Vo({hitType:"event",
eventCategory:KWb,eventAction:"global-search-text",eventLabel:"duration",eventValue:x}),OWb(a,DH.successMarker))}};EH.\u0275fac=function(a){return new (a||EH)(n(zH))};EH.\u0275prov=Pc({token:EH,factory:EH.\u0275fac,providedIn:"root"});var FH=function(a){var b=this;this.clearcut=a;this.onMeasurement=function(c){c.getEntries().forEach(b.sendToClearcut)};this.sendToClearcut=function(c){var d=c.name;c=Math.round(c.duration);null!=d&&(isNaN(c)||b.clearcut.timePageLoad&&b.clearcut.timePageLoad(c,d))}},PWb=function(a){Uo()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new nua.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};FH.\u0275fac=function(a){return new (a||FH)(n(zH))};
FH.\u0275prov=Pc({token:FH,factory:FH.\u0275fac,providedIn:"root"});var Zo={},QWb={logInfo:function(){console.log(Gua());console.log("\nDuplicate Requests:");console.table(Eua())},getCounts:function(){return Zo},getDupes:Eua,getAggregates:Gua};var RWb={attributes:!1,childList:!0,subtree:!0},GH=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new T.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new T.Subject;this.render$=(0,T.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(Af(200));this.navigatedTo$=this.router.events.pipe(sf($o),B(function(){return Hua(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(Qf(function(e){return d.renderSettled$.pipe(Ef(),B(function(){return e}))}),
Nf(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},SWb=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,RWb)};GH.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Zo[c]=~~Zo[c]+1;this.xhr$.next(c);return b.handle(a)};GH.\u0275fac=function(a){return new (a||GH)(n(Yf),n(WG),n(ko))};GH.\u0275prov=Pc({token:GH,factory:GH.\u0275fac,providedIn:"root"});var TWb={provide:HB,useExisting:GH,multi:!0};var HH=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};HH.prototype.ngOnDestroy=function(){this.destroyed=!0};HH.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};HH.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};HH.\u0275fac=function(a){return new (a||HH)(n(Vw),n(Yf))};HH.\u0275prov=Pc({token:HH,factory:HH.\u0275fac});var IH=function(a){Z.call(this);var b=this;this.ngZone=a;this.activeSubject$=new T.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(Df(),Rf(this.destroyed$),Jua(this.ngZone));this.onUserEvent=vCb(function(){b.activeSubject$.next(!0);UWb(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),UWb(b))}};X(IH,Z);IH.\u0275dir=Z.\u0275dir;
IH.prototype.install=function(){var a=this;if("visible"===document.visibilityState)this.onUserEvent();this.ngZone.runOutsideAngular(function(){window.addEventListener("click",a.onUserEvent);window.addEventListener("keydown",a.onUserEvent);window.addEventListener("mousemove",a.onUserEvent);window.addEventListener("wheel",a.onUserEvent);window.addEventListener("touchstart",a.onUserEvent);window.addEventListener("focus",a.onUserEvent)});document.addEventListener("visibilitychange",this.onVisibilityChange)};
IH.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);clearTimeout(this.activeTimeoutId);window.removeEventListener("click",this.onUserEvent);window.removeEventListener("keydown",this.onUserEvent);window.removeEventListener("mousemove",this.onUserEvent);window.removeEventListener("wheel",this.onUserEvent);window.removeEventListener("touchstart",this.onUserEvent);window.removeEventListener("focus",this.onUserEvent);document.removeEventListener("visibilitychange",this.onVisibilityChange)};
var UWb=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};IH.\u0275fac=function(a){return new (a||IH)(n(Yf))};IH.\u0275prov=Pc({token:IH,factory:IH.\u0275fac,providedIn:"root"});var VWb=[Fo,Ho,Go],KH=function(a,b){Z.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new T.Subject;this.routeChangeSuccess=new T.Subject;this.locationChangeStart=new T.Subject;this.locationChangeSuccess=new T.Subject;this.routeUpdate=new T.Subject;this.viewContentLoaded=new T.Subject;this.navigationEnd$=this.router.events.pipe(sf($o));this.navigationOver$=this.router.events.pipe(sf(function(d){return VWb.some(function(e){return d instanceof e})}));JH(this,yo).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=JH(this,AUb);(0,T.merge)(this.navigationOver$.pipe(If(T.NEVER)),this.routeChangeStart.pipe(If(a))).pipe(Qf(Oe),Rf(this.destroyed$),sf(function(d){return d.snapshot.routeConfig.isRootRoute}),B(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});JH(this,ap).pipe(B(function(d){return d.url}),Df()).subscribe(function(){c.locationChangeStart.next()});JH(this,Fo).pipe(B(function(d){return d.url}),
Df()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(Tf(JH(this,sUb)));(0,T.merge)(this.routeChangeStart.pipe(If(T.NEVER)),this.navigationOver$.pipe(If(a))).pipe(Qf(Oe),Rf(this.destroyed$)).subscribe(function(d){d=m(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});JH(this,Fo).subscribe(function(){c.viewContentLoaded.next()})};X(KH,Z);KH.\u0275dir=Z.\u0275dir;
var JH=function(a,b){return a.router.events.pipe(sf(function(c){return c instanceof b}),B(function(c){return c}),Rf(a.destroyed$))};KH.\u0275fac=function(a){return new (a||KH)(n(WG),n(ko))};KH.\u0275prov=Pc({token:KH,factory:KH.\u0275fac,providedIn:"root"});var Kua=zWb("last-visit"),Lua=zWb("last-visit-count"),Nua=BWb("last-visit"),Mua=BWb("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var WWb=So("onedev-darkmode"),XWb=So("hasClickedCommentSortBtn"),LH=function(a,b,c,d){Z.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var q=YWb;return function(u){return function(x,y){Lp(e,q,u,x,y)}}};Oua();Xo("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();Xo("dimension7",WWb()?"dark":"default");var f;Xo("dimension3",null==(f=d.themePreferences)?void 0:f.density);Xo("dimension6",Qp(b,"readUnreadOptOut"));Xo("dimension8",Qp(b,"enableEnhancedCommentThread"));Xo("dimension9",
XWb());f=d.showFullHistory?"fh":"comments";var h;if(Qp(b,"enableCommentFiltering")&&(null==(h=d.commentFilterPreferences)?0:h.commentFilter)){var l;f=null==(l=d.commentFilterPreferences)?void 0:l.commentFilter}Xo("dimension2",f);Xo("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");Xo("dimension11",Qp(b,"enableHomepageVariantA"));this.subscriptions.add(a.viewContentLoaded.subscribe(function(){Vo({hitType:"pageview",page:Hua(c.snapshot)})}))};X(LH,Z);LH.\u0275dir=Z.\u0275dir;
var Lp=function(a,b,c,d,e){Wo(b,c,d,"boolean"===typeof e?e?1:0:e);a=a.journeyTracker;b=Dua(b,c,d);c=m(Object.entries(NWb));for(d=c.next();!d.done;d=c.next())if(e=m(d.value),d=e.next().value,e=e.next().value,b.match(new RegExp(d))){OWb(a,e);break}},ZWb=function(a,b,c){Vo(Object.assign({},{hitType:"timing",timingCategory:"userAction",timingVar:a,timingValue:b},void 0!==c?{timingLabel:c}:{}))};LH.\u0275fac=function(a){return new (a||LH)(n(KH),n(tu),n(ko),n(EH))};
LH.\u0275prov=Pc({token:LH,factory:LH.\u0275fac,providedIn:"root"});var aXb=function(a){Y.call(this,a,-1,$Wb)};X(aXb,Y);g=aXb.prototype;g.getComponentId=function(){return Tk(this,1)};g.setComponentId=function(a){return k(this,1,a)};g.hasComponentId=function(){return zm(this,1)};g.getType=function(){return bk(this,2,0)};g.setType=function(a){return k(this,2,a)};g.hasType=function(){return Sk(this,2)};g.getPriority=function(){return bk(this,3,0)};g.setPriority=function(a){return k(this,3,a)};g.hasPriority=function(){return Sk(this,3)};
g.getSeverity=function(){return bk(this,4,0)};g.setSeverity=function(a){return k(this,4,a)};g.hasSeverity=function(){return Sk(this,4)};g.getStatus=function(){return bk(this,5,0)};g.setStatus=function(a){return k(this,5,a)};g.hasStatus=function(){return Sk(this,5)};g.getReporter=function(){return wk(this,Mj,6)};g.setReporter=function(a){Ok(this,Mj,6,a)};g.setAssignee=function(a){Ok(this,Mj,7,a)};g.clearAssignee=function(){return Qu(this,7)};g.setVerifier=function(a){Ok(this,Mj,8,a)};
g.clearVerifier=function(){return Qu(this,8)};g.addHotlistIds=function(a,b){return Kb(this,10,a,b)};g.getBlockingIssueIdsList=function(){return Hb(this,12,vb)};g.getInProd=function(){return xl(this,15)};g.setInProd=function(a){k(this,15,a)};g.getSloSnoozeUntil=function(){return wk(this,cj,16)};g.setSloSnoozeUntil=function(a){Ok(this,cj,16,a)};g.getRetention=function(){return bk(this,17,0)};g.setRetention=function(a){k(this,17,a)};g.getEntityStatus=function(){return wk(this,HE,18)};
g.hasEntityStatus=function(){return sl(this,HE,18)};g.getIsArchived=function(){return xl(this,19)};g.setIsArchived=function(a){k(this,19,a)};var $Wb=[9,10,11,12,14];var bXb=function(a){Y.call(this,a)};X(bXb,Y);g=bXb.prototype;g.getIssueId=function(){return Tk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getIssueState=function(){return wk(this,aXb,2)};g.getVersion=function(){return gj(this,3)};g.setVersion=function(a){return k(this,3,a)};g.getVersionOrUndefined=function(){return Ru(this,3)};g.getCreatedTime=function(){return wk(this,cj,4)};g.getModifiedTime=function(){return wk(this,cj,5)};g.getSloId=function(){return Tk(this,9)};
g.setSloId=function(a){return k(this,9,a)};g.getSloStatus=function(){return wk(this,jl,10)};g.setSloStatus=function(a){Ok(this,jl,10,a)};g.hasSloStatus=function(){return sl(this,jl,10)};g.getRetentionState=function(){return wk(this,hl,11)};g.setRetentionState=function(a){Ok(this,hl,11,a)};g.getAccessLimit=function(){return wk(this,Fj,12)};g.setAccessLimit=function(a){return Ok(this,Fj,12,a)};g.getTeamId=function(){return Tk(this,13)};g.setTeamId=function(a){return k(this,13,a)};bXb.messageId="b.IssueMetadata";var MH=function(a){Y.call(this,a,-1,cXb)};X(MH,Y);MH.prototype.getIssueIdsList=function(){return Hb(this,1,vb)};MH.prototype.setIssueIdsList=function(a){return Ib(this,1,a,ub)};MH.prototype.addIssueIds=function(a){Kb(this,1,a)};var cXb=[1];var dXb=function(a){Y.call(this,a)};X(dXb,Y);dXb.messageId="b.UpdateIssueReadTimestampResponse";var NH=function(a){this.executor=a};NH.prototype.delete=function(a,b){var c=new GE;c.setIssueId(String(a));c.setReason(Voa[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};NH.prototype.undelete=function(a){var b=new JE;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};NH.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:bXb}).then(iqa)};
NH.prototype.markRead=function(a,b){b=void 0===b?!0:b;var c=new MH;c.setIssueIdsList(a.map(Number));k(c,2,b);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:dXb}).then(hqa)};NH.\u0275fac=function(a){return new (a||NH)(n(oE))};NH.\u0275prov=Pc({token:NH,factory:NH.\u0275fac,providedIn:"root"});var OH=function(){this.refreshRequest=new T.Subject};OH.prototype.getObservable=function(){return this.refreshRequest};var eXb=function(a,b){return a.getObservable().pipe(Pf(void 0)).pipe(Qf(function(){return b}))};OH.\u0275fac=function(a){return new (a||OH)};OH.\u0275prov=Pc({token:OH,factory:OH.\u0275fac,providedIn:"root"});var PH=Mp.ISSUE,QH=function(a,b,c,d,e,f,h,l){IF.call(this);var q=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=f;this.hotlistFridge=h;this.analytics=l;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(u){return String(u.issueId)};this.isEqual=mj;this.issueFetchResponse$=new T.Subject;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(u){return q.call(u)},split:function(u,
x){return q.splitBatch(u,x)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};X(QH,IF);QH.prototype.fetchOne=function(a){return this.get(a).pipe(yf(function(){return(0,T.of)(void 0)}))};QH.prototype.fetchSet=function(a){var b=this;return(0,T.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(Vj)}))};
QH.prototype.fetchAll=function(a){var b=a.filter;a={s:a.sort,count:a.pageSize};if(b)return this.issueResources.listIssues(b,a).pipe(B(function(c){return{results:c.issues,totalSize:c.numTotalResults}}));throw Error("Mc");};QH.prototype.copy=function(a){return a&&nj(a)};
var fXb=function(a,b,c){Lp(a.analytics,PH,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};RE(a.activeSession)&&(d.voted=c);return tWb(a.userResources,b,d).pipe(Sf(function(){HF(a,b,function(e){e.userData&&(e.userData.starred=c,RE(a.activeSession)&&(e.userData.voted=c))})}))};
QH.prototype.setVoted=function(a,b){var c=this;Lp(this.analytics,PH,"light-ixn","vote",b);return tWb(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(Sf(function(){HF(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
QH.prototype.setNotificationSubscription=function(a,b){var c=this,d;return Ze(function(e){if(1==e.nextAddress)return Lp(c.analytics,PH,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},af(e,(0,T.firstValueFrom)(tWb(c.userResources,a,d)),2);HF(c,a,function(f){f.userData&&(f.userData.notificationSubscription=b)});ef(e)})};
var gXb=function(a,b,c){Lp(a.analytics,PH,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};HF(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(Sf(function(e){e&&a.announce(e.issue)}))},hXb=function(a,b,c,d){var e,f,h,l,q,u,x;return Ze(function(y){if(1==y.nextAddress){Lp(a.analytics,PH,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};f=m([].concat(p(c),p(d)));for(h=f.next();!h.done;h=f.next())l=h.value,a.hotlistFridge.setIsSaving(l);
$e(y,2);return af(y,(0,T.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var G=m([].concat(p(c),p(d))),J=G.next();!J.done;J=G.next())a.hotlistFridge.clearIsSaving(J.value)}),4)}if(2!=y.nextAddress)return(q=y.yieldResult)&&a.announce(q.issue),y.return(null==(u=q)?void 0:u.issue);x=df(y);a.poke(b);throw x;})},iXb=function(a,b,c){return RH(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
QH.prototype.removeDuplicate=function(a,b){var c=this;return RH(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var RH=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);Lp(a.analytics,PH,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};jXb(a,b);var f=[d].concat(p(e));e=m(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,T.firstValueFrom)(a.issueResources.relateIssue(d,b)).then(function(h){h&&a.announce(h.issue)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=m(f),l=h.next();!l.done;l=h.next())a.clearIsSaving(l.value)})},
SH=function(a,b,c){c=void 0===c?{}:c;var d=void 0===c.markRead?!0:c.markRead,e=void 0===c.eagerUpdate?!0:c.eagerUpdate,f,h,l,q;return Ze(function(u){if(1==u.nextAddress)return a.activeSession.isAnonymous()?u.return():af(u,a.issueService.markRead(b,d),2);f=u.yieldResult;if(e)for(h=m(b),l=h.next();!l.done;l=h.next())q=l.value,HF(a,String(q),function(x){x.userData&&(x.userData.lastViewedTimeMicros=f.readTimestamp)});return u.return(f.readTimestamp?Math.round(f.readTimestamp/1E3):void 0)})},jXb=function(a,
b){HF(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(p(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),p(b.targetIds.map(String)))}else if("REMOVE"===b.actionType){var e,f;c.snapshot[0].blockedByIssueId=null!=(f=null==(e=c.snapshot[0].blockedByIssueId)?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))?f:[]}}})};
QH.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(p(a))[0];return this.issueResources.getIssue(c).pipe(Sf(function(d){b.issueFetchResponse$.next(d)}),B(function(d){return new Map([[c,d.issue]])}))}return this.issueResources.batchGetIssues([].concat(p(a))).pipe(B(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};QH.prototype.splitBatch=function(a,b){return b.get(a)};QH.\u0275fac=function(a){return new (a||QH)(n(LF),n(eF),n(uH),n(OH),n(NH),n(tu),n(xH),n(LH))};
QH.\u0275prov=Pc({token:QH,factory:QH.\u0275fac,providedIn:"root"});var TH=function(a,b){IF.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=mj;this.destroyed$=new T.ReplaySubject(1);xWb?a=void 0:(xWb=!0,a=mua());a&&kXb(this,a);this.issueFridge.issueFetchResponse$.pipe(sf(Vj),B(Qua),Rf(this.destroyed$)).subscribe(this.announce)};X(TH,IF);
var UH=function(a,b){return a.watch(b).pipe(Qf(function(c){return a.issueFridge.watch(b).pipe(B(function(d){return c&&d&&Object.assign({},c,{issue:d})}))}))},VH=function(a,b,c){return a.poke(b,c).then(function(){return(0,T.firstValueFrom)(UH(a,b))})},kXb=function(a,b){var c=Object.assign({},b);b=b.issue;c=(delete c.issue,c);a.announce(Object.assign({},c,{issueId:b.issueId}));a.issueFridge.announce(b)};
TH.prototype.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.observableIssueResources.getIssue(a).pipe(Sf(function(c){(null==c?0:c.issue)&&b.issueFridge.announce(c.issue);b.issueFridge.clearIsGetting(a)}),B(function(c){return c&&Qua(c)}),yf(function(c){b.issueFridge.clearIsGetting(a);return(0,T.throwError)(c)}))};TH.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};TH.prototype.copy=function(a){return a&&Object.assign({},a)};
TH.\u0275fac=function(a){return new (a||TH)(n(eF),n(QH))};TH.\u0275prov=Pc({token:TH,factory:TH.\u0275fac,providedIn:"root"});var WH={},lXb=(WH.BUG="BUG",WH.FEATURE_REQUEST="FEATURE_REQUEST",WH.CUSTOMER_ISSUE="CUSTOMER_ISSUE",WH.INTERNAL_CLEANUP="INTERNAL_CLEANUP",WH.PROCESS="PROCESS",WH.VULNERABILITY="VULNERABILITY",WH.PRIVACY_ISSUE="PRIVACY_ISSUE",WH.EPIC="STORY",WH.STORY="TASK",WH.TASK="TASK",WH.PROJECT="TASK",WH.FEATURE="TASK",WH.MILESTONE="TASK",WH);var XH=function(a,b,c){GF.call(this,{freshUntil:6E4,ancientAfter:792E5});var d=this;this.issueRelationshipService=a;this.issueFridge=b;this.refreshMonitor=c;this.recordType="issueRelationships";this.idForRecord=function(e){return e.issueId};this.isEqual=mj;this.activeMoveOperation$=new T.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=Sua(function(e,f){return mXb(d,e,f)});this.assignParentToOneIssue=function(e,f){return mXb(d,String(e),[{issueId:f}])};
this.moveChildrenInAPI=Rua(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=Sua(function(e){var f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya,qa,Ba,Ea,Oa;return Ze(function(La){switch(La.nextAddress){case 1:h=Xua(e);if(0===h.length)return La.return();l=h.map(function(fc){return fc.issues.map(function(Ua){return Ua.parentId})}).flat();q=h.map(function(fc){return fc.newParentId});u=cn([].concat(p(l),p(q)));x=m(u);for(y=x.next();!y.done;y=x.next())G=y.value,
d.setIsSaving(G);$e(La,2);J=m(h);M=J.next();case 4:if(M.done){Au(La,3);break}V=M.value;U={};W=m(V.newRelations);ba=W.next();case 7:if(ba.done){M=J.next();La.jumpTo(4);break}U.$jscomp$loop$prop$newRelation$2141=ba.value;pa=V.issues.find(function(fc){return function(Ua){return Ua.issueId===fc.$jscomp$loop$prop$newRelation$2141.targetIssueId}}(U)).parentId;if(V.newParentId===pa)return xa=void 0,af(La,(0,T.firstValueFrom)(d.issueRelationshipService.update(V.newParentId,1,hF(xSb(new gF,null!=(xa=Pj(U.$jscomp$loop$prop$newRelation$2141.afterIssueId))?
xa:0),Number(U.$jscomp$loop$prop$newRelation$2141.targetIssueId)))),8);na=void 0;return af(La,(0,T.firstValueFrom)(d.issueRelationshipService.create(V.newParentId,1,hF(xSb(new gF,null!=(na=Pj(U.$jscomp$loop$prop$newRelation$2141.afterIssueId))?na:0),Number(U.$jscomp$loop$prop$newRelation$2141.targetIssueId)))).catch(function(fc){var Ua,bb;if(!(null==fc?0:null==(Ua=fc.error)?0:null==(bb=Ua.details)?0:bb.includes("ALREADY_EXISTS")))throw fc;}),12);case 12:return af(La,(0,T.firstValueFrom)(d.issueRelationshipService.delete(pa,
1,U.$jscomp$loop$prop$newRelation$2141.targetIssueId)),8);case 8:U={$jscomp$loop$prop$newRelation$2141:U.$jscomp$loop$prop$newRelation$2141};ba=W.next();La.jumpTo(7);break;case 2:f=Fa=df(La);case 3:Ha=d.activeMoveOperation$.value;Bb=m(e.map(function(fc){return fc.eventTimestamps}).flat());for(lb=Bb.next();!lb.done;lb=Bb.next())Ya=lb.value,Ha.delete(Ya);d.activeMoveOperation$.next(Ha);qa=m(u);for(y=qa.next();!y.done;y=qa.next())Ba=y.value,d.clearIsSaving(Ba);Promise.all(u.map(function(fc){return d.poke(fc)}));
Ea=m(h);for(M=Ea.next();!M.done;M=Ea.next())Oa=M.value,f&&Oa.done.reject(f),Oa.done.resolve();ef(La)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};X(XH,GF);XH.prototype.fetchOne=function(a){var b=this;return nXb(this,function(){return b.issueRelationshipService.list(a,1).pipe(B(function(c){return{issueId:a,relatedChildren:c.map(Zoa),totalChildCount:c.length}}),yf(function(c){return Cn(c)&&403===c.status?(0,T.of)(void 0):(0,T.throwError)(c)}))})};
XH.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(p(null!=(c=a.ids)?c:[]));return 0===d.length?(0,T.of)({results:[]}):nXb(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:1,includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(B(aqa),B(function(e){return{results:e}}))});default:Qi(a.type)}};XH.prototype.copy=function(a){return a&&nj(a)};
var nXb=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(sf(function(d){return 0===d.size}),Qf(function(){return b()}),Qf(function(d){return 0===a.activeMoveOperation$.value.size?(0,T.of)(d):c()}),Ef())};return c()},oXb=function(a,b){return a.watch(b).pipe(Qf(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,T.of)(c):a.watch(b,{trustMemory:!1})}))},YH=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},pXb=function(a,
b){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:3})};
XH.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return Ze(function(f){switch(f.nextAddress){case 1:HF(d.issueFridge,b,function(h){--h.childIssueCount});HF(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});HF(d,b,function(h){var l=h.relatedChildren;h.relatedChildren=Wua(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return f.return();$e(f,2);return af(f,(0,T.firstValueFrom)(d.issueRelationshipService.delete(b,
1,a)),4);case 4:Au(f,0);break;case 2:return e=df(f),af(f,Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var mXb=function(a,b,c){var d,e,f,h,l,q,u,x,y,G;return Ze(function(J){switch(J.nextAddress){case 1:d=[];e=[];f=[];if(0===c.length)return J.return({added:d,notAdded:e});h=qXb(a,b);l=c.map(function(M,V){var U="-1"===M.afterIssueId?h:M.afterIssueId;return{targetIssueId:M.issueId,afterIssueId:V?c[V-1].issueId:U}});rXb(a,b,l);q=m(l);u=q.next();case 2:if(u.done){J.jumpTo(4);break}x=u.value;$e(J,5);y=void 0;return af(J,(0,T.firstValueFrom)(a.issueRelationshipService.create(b,1,hF(xSb(new gF,null!=(y=Pj(x.afterIssueId))?
y:0),Number(x.targetIssueId)))),7);case 7:d.push(x.targetIssueId);Au(J,3);break;case 5:G=df(J);if(!Cn(G))throw G;f.push(G);e.push(x.targetIssueId);case 3:u=q.next();J.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),J.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},rXb=function(a,b,c){var d=0;HF(a,b,function(e){var f=Vua(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});HF(a.issueFridge,
b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},sXb=function(a,b,c){var d,e,f,h,l,q,u,x,y,G,J,M;return Ze(function(V){if(1==V.nextAddress)return d=[],e=[],f=[],0===c.length?V.return({added:d,notAdded:e}):af(V,Promise.allSettled(c.map(function(U){return(0,T.firstValueFrom)(a.issueRelationshipService.create(U,1,hF(xSb(new gF,Number(qXb(a,U))),Number(b))))})),2);h=V.yieldResult;l=m(h.entries());for(q=l.next();!q.done;q=l.next())u=q.value,x=m(u),y=x.next().value,G=x.next().value,J=y,M=G,"fulfilled"===
M.status&&d.push(c[J]),"rejected"===M.status&&(e.push(c[J]),f.push(M.reason));Promise.all(c.map(function(U){return a.poke(U)}));return V.return({added:d,notAdded:e,errors:f})})},tXb=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f={},h=m(c),l=h.next();!l.done;f={$jscomp$loop$prop$issue$2143:f.$jscomp$loop$prop$issue$2143},l=h.next())f.$jscomp$loop$prop$issue$2143=l.value,HF(a,f.$jscomp$loop$prop$issue$2143.parentId,function(W){return function(ba){ba.relatedChildren=
Wua(ba.relatedChildren,W.$jscomp$loop$prop$issue$2143.issueId);--ba.totalChildCount}}(f));var q=void 0,u;if(null==(u=b.position)?0:u.issueId){var x;if("after"===(null==(x=b.position)?void 0:x.position))q=b.position.issueId;else{var y;if("before"===(null==(y=b.position)?void 0:y.position)){var G,J;f=null!=(J=null==(G=a.memory.getData(d))?void 0:G.relatedChildren)?J:[];G=m(f.entries());for(J=G.next();!J.done;J=G.next())if(h=m(J.value),J=h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=
void 0;q=null==(b=f[J-1])?void 0:b.targetIssueId;break}}}}var M=c.map(function(W,ba){return{targetIssueId:W.issueId,afterIssueId:ba?c[ba-1].issueId:q}});void 0!==sTb(a,d)?HF(a,d,function(W){W.relatedChildren=Vua(W.relatedChildren,M);W.totalChildCount+=M.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:Vua([],M),totalChildCount:M.length});b=new Yra;var V,U;a.moveChildrenInAPI({newParentId:d,newRelations:M,issues:c,eventTimestamps:[e],newParentChildrenSnapshot:null!=(U=null==(V=
a.memory.getData(d))?void 0:V.relatedChildren)?U:[],done:b});return b.promise},qXb=function(a,b){var c;a=null==(c=a.memory.getData(b))?void 0:c.relatedChildren;var d,e;return null!=(e=null==a?void 0:null==(d=a[(null==a?NaN:a.length)-1])?void 0:d.targetIssueId)?e:"0"};XH.\u0275fac=function(a){return new (a||XH)(n(nF),n(QH),n(OH))};XH.\u0275prov=Pc({token:XH,factory:XH.\u0275fac,providedIn:"root"});var ZH=function(a){IF.call(this);this.observableAccessResources=a;this.recordType="permissions"};X(ZH,IF);ZH.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(B(function(b){return m(b).next().value}))};
ZH.prototype.fetchSet=function(a){for(var b=[],c=m(a),d=c.next();!d.done;d=c.next())d=d.value,b.push(["admin",d]),b.push(["writer",d]),b.push(["appender",d]),b.push(["reader",d]);c=b.map(function(e){return e[0]});b=b.map(function(e){return e[1]});return this.observableAccessResources.bulkGetUserAccess(c,b).pipe(B(function(e){return a.map(function(f){return Object.assign({},e[f],{id:f})})}))};ZH.\u0275fac=function(a){return new (a||ZH)(n(cG))};ZH.\u0275prov=Pc({token:ZH,factory:ZH.\u0275fac,providedIn:"root"});var uXb=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new kH(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};uXb.prototype.get=function(a){var b=this;return new T.Observable(function(c){var d=b.lruCache.get(a);d||(d=vXb(b,a));return d.obs$.subscribe(c)})};
var vXb=function(a,b){var c=a.rawGet(b).pipe(Nf({refCount:!0,bufferSize:1})),d=c.subscribe({error:function(){var e=a.lruCache.get(b);e&&(a.lruCache.remove(b),e.subscription.unsubscribe())}});c=new wXb(c,d);a.lruCache.set(b,c);return c},wXb=function(a,b){this.obs$=a;this.subscription=b};var yXb=function(a){Y.call(this,a,-1,xXb)};X(yXb,Y);var zXb=function(a,b){return Xk(a,1,b)},xXb=[1];yXb.messageId="b.BatchChildTeamsRequest";var AXb=function(a){Y.call(this,a)};X(AXb,Y);g=AXb.prototype;g.getId=function(){return kk(this,1)};g.setId=function(a){return k(this,1,a)};g.getName=function(){return lk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return gm(this,2)};g.getNameOrUndefined=function(){return Uu(this,2)};g.getDescription=function(){return lk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return gm(this,3)};var CXb=function(a){Y.call(this,a,-1,BXb)};X(CXb,Y);var BXb=[1];var DXb=function(a){Y.call(this,a)};X(DXb,Y);DXb.messageId="b.BatchChildTeamsResponse";var $H=function(a){Y.call(this,a)};X($H,Y);$H.messageId="b.BatchGetTeamsResponse";var aI=function(a){Y.call(this,a,-1,EXb)};X(aI,Y);aI.prototype.getTeamSuggestionsList=function(){return fj(this,FRb,1)};aI.prototype.setTeamSuggestionsList=function(a){Sb(this,1,a)};var EXb=[1];aI.messageId="b.TeamSuggestionResult";var bI=function(a){Y.call(this,a)};X(bI,Y);bI.prototype.getTeamId=function(){return kk(this,1)};bI.prototype.setTeamId=function(a){return k(this,1,a)};bI.messageId="b.UpdateTeamSloRequest";var cI=function(a,b,c){var d=this;this.executor=a;this.teamsBatchApiConfig=b;this.batchApiAdapter=c;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.teamsBatchApiConfig);this.memoizingTeamStateMap=new uXb(function(e){return d.batchAdaptedGet(e)},100)};cI.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:NE})};cI.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var FXb=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,T.forkJoin)(b).pipe(B(function(c){var d=new $H;c=m(c);for(var e=c.next();!e.done;e=c.next())e=e.value,Bl(d,1,NE).set(e.getTeamId(),e);return d}))};
cI.prototype.getChildTeams=function(a){a=zXb(new yXb,a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:DXb}).pipe(B(function(b){b=[].concat(p(Bl(b,1,CXb).entries()));return new Map(b.map(function(c){var d=m(c);c=d.next().value;d=d.next().value;return[c,fj(d,AXb,1)]}))}))};
var dI=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:aI})},GXb=function(a){return dI(a,"").pipe(B(function(b){return b.getTeamSuggestionsList().map(Cpa)}))},HXb=function(a,b,c){return"0"===b?(0,T.of)(!1):a.memoizingTeamStateMap.get(b).pipe(B(function(d){return void 0!==d.getMembersList().find(function(e){return e&&Kj(e.getUser())===c})}))},IXb=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),
view:"full"}},responseConstructor:$H}).pipe(yf(function(){return(0,T.of)(new $H)}),B(function(c){return new Map(Array.from(Bl(c,1,NE).entries()).map(function(d){var e=m(d);d=e.next().value;e=e.next().value;return[d,Tk(e,9)]}))}))};cI.prototype.updateTeam=function(a){return this.executor.post({url:"action/teams/"+a.getTeamId(),body:a,responseConstructor:NE})};cI.\u0275fac=function(a){return new (a||cI)(n(nE),n(eI),n(LF))};cI.\u0275prov=Pc({token:cI,factory:cI.\u0275fac,providedIn:"root"});
var eI=function(a){this.executor=a};eI.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(p(a)).join(",")}},responseConstructor:$H}).pipe(yf(function(){return(0,T.of)(new $H)}))};eI.prototype.split=function(a,b){return Bl(b,1,NE).get(a)||new NE};eI.\u0275fac=function(a){return new (a||eI)(n(nE))};eI.\u0275prov=Pc({token:eI,factory:eI.\u0275fac,providedIn:"root"});var fI=function(a){GF.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};X(fI,GF);fI.prototype.fetchAll=function(a){if(a.myTeams)return GXb(this.teamsApi).pipe(B(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Nc");};fI.\u0275fac=function(a){return new (a||fI)(n(cI))};fI.\u0275prov=Pc({token:fI,factory:fI.\u0275fac,providedIn:"root"});var gI=function(a){IF.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.getTeamId()}};X(gI,IF);gI.prototype.fetchOne=function(a){return"0"===a?(0,T.of)(void 0):this.teamsApi.getTeam(a).pipe(yf(function(){return(0,T.of)(void 0)}))};gI.prototype.fetchSet=function(a){var b=this;return(0,T.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(Vj)}))};gI.\u0275fac=function(a){return new (a||gI)(n(cI))};
gI.\u0275prov=Pc({token:gI,factory:gI.\u0275fac,providedIn:"root"});var KXb=function(a){Y.call(this,a,-1,JXb)};X(KXb,Y);KXb.prototype.getTrackersList=function(){return fj(this,Vm,1)};var JXb=[1];KXb.messageId="b.BatchGetTrackersResponse";var hI=function(a){Y.call(this,a,-1,LXb)};X(hI,Y);hI.prototype.getTrackersList=function(){return fj(this,Vm,1)};hI.prototype.getNextPageToken=function(){return lk(this,2)};hI.prototype.getTotalSize=function(){return gj(this,3)};var LXb=[1];hI.messageId="b.ListTrackersResponse";var iI=function(a){this.jspbExecutor=a};iI.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Vm}).pipe(B(hm))};iI.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:KXb,options:{params:{trackerIds:a}}}).pipe(B(rqa))};
iI.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:hI,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(B(sqa))};iI.\u0275fac=function(a){return new (a||iI)(n(nE))};iI.\u0275prov=Pc({token:iI,factory:iI.\u0275fac,providedIn:"root"});var jI=function(a,b){IF.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=a;this.activeSession=b;this.recordType="tracker";this.idKey="trackerId";(a=this.activeSession.getTracker())&&this.announce(a)};X(jI,IF);jI.prototype.fetchOne=function(a){return this.trackerApi.get(a)};jI.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
jI.prototype.fetchAll=function(a){var b,c;return this.trackerApi.query(null!=(b=a.filter)?b:"",null!=(c=a.pageSize)?c:0,a.pageToken).pipe(B(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};jI.\u0275fac=function(a){return new (a||jI)(n(iI),n(tu))};jI.\u0275prov=Pc({token:jI,factory:jI.\u0275fac,providedIn:"root"});var kI=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new T.Subject;this.email=this.activeSession.getUserEmail();this.user=Oj(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(B(function(c){return c.results}));this.teams$.pipe(B(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(B(function(c){return c.flatMap(function(d){return d.pathIds})}),
B(function(c){return[].concat(p(new Set(c))).filter(Vj)}));this.allTeamIdsSubject$=dp(this.allTeamIds$.pipe(Rf(this.destroyed$)),[])};kI.prototype.ngOnDestroy=function(){this.destroyed$.next()};Ei.Object.defineProperties(kI.prototype,{allTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.allTeamIdsSubject$.value}}});kI.\u0275fac=function(a){return new (a||kI)(n(fI),n(tu))};kI.\u0275prov=Pc({token:kI,factory:kI.\u0275fac,providedIn:"root"});var MXb={issueId:"0",issueIdChain:[],isArchived:!1,confidence:0,issueNumAssignedOrReported:0,issueNumCls:0,issueNumRecentlyModified:0,issueChildrenCount:0,issueNumOpen:0,issueNumClosed:0,directChildrenNumAssignedOrReported:0,directChildrenNumCls:0,directChildrenNumRecentlyModified:0,directChildrenCount:0,directChildrenNumOpen:0,directChildrenNumClosed:0,rollupNumAssignedOrReported:0,rollupNumCls:0,rollupNumRecentlyModified:0,rollupChildrenCount:0,rollupNumOpen:0,rollupNumClosed:0},NXb={issueNumAssignedOrReported:1,
issueNumCls:1,issueNumRecentlyModified:1,issueChildrenCount:1,issueNumOpen:1,issueNumClosed:-500,directChildrenNumAssignedOrReported:10,directChildrenNumCls:1.25,directChildrenNumRecentlyModified:5,directChildrenCount:1.25,directChildrenNumOpen:20,directChildrenNumClosed:-20,rollupNumAssignedOrReported:10,rollupNumCls:.75,rollupNumRecentlyModified:1,rollupChildrenCount:.75,rollupNumOpen:2,rollupNumClosed:-2},lI=function(a,b,c){this.issueFridge=a;this.currentUser=b;this.issueRelationshipApi=c;this.currentUserLdap=
this.currentUser.email.split("@")[0];this.parentToChildIssueIds=new Map},OXb=function(a){var b,c="(assignee:"+(null!=(b=fp())?b:a.currentUserLdap)+") t:(feature | feature_request | story | task | internal_cleanup | process) modified:90d parentId:any";return a.issueFridge.watchMany({filter:c,pageSize:50,sort:"modified_time:desc"}).pipe(B(function(d){var e;return null!=(e=d.results)?e:[]}),lf(a.findPossibleProjectIssueIds.bind(a)))};
lI.prototype.findPossibleProjectIssueIds=function(a){var b=this,c,d,e,f,h,l,q,u,x,y,G,J;return Ze(function(M){switch(M.nextAddress){case 1:if(!a||0===a.length)return M.return([]);c=[a[0]];for(d={$jscomp$loop$prop$g$2151:1};d.$jscomp$loop$prop$g$2151<a.length;d={$jscomp$loop$prop$g$2151:d.$jscomp$loop$prop$g$2151},d.$jscomp$loop$prop$g$2151++)c.some(function(V){return function(U){return U.parentIssueIds[0]===a[V.$jscomp$loop$prop$g$2151].parentIssueIds[0]}}(d))||c.push(a[d.$jscomp$loop$prop$g$2151]);
return af(M,PXb(b,c),2);case 2:e=[],f=0;case 3:if(!(f<c.length)){M.jumpTo(5);break}return af(M,QXb(b,c[f]),6);case 6:h=M.yieldResult;e.push.apply(e,p(h));f++;M.jumpTo(3);break;case 5:l=new Map;q=m(e);for(u=q.next();!u.done;u=q.next())x=u.value,x.isArchived||(x.confidence=b.calculateConfidence(x),l.has(x.issueId)&&(y=l.get(x.issueId),G=x,x.confidence=y.confidence>G.confidence?y.confidence:G.confidence),l.set(x.issueId,x));J=Array.from(l.values());J.sort(function(V,U){return U.confidence-V.confidence});
return M.return(J.filter(function(V){return 0<V.confidence}).map(function(V){return V.issueId}).slice(0,10))}})};
var PXb=function(a,b){var c,d,e,f,h,l,q,u,x;return Ze(function(y){if(1==y.nextAddress)return c=b.filter(function(G){return G.parentIssueIds&&0<G.parentIssueIds.length}).map(function(G){return G.parentIssueIds[0]}),d=[].concat(p(c)),af(y,(0,T.firstValueFrom)(a.issueRelationshipApi.batchGet(c,1,!1)),2);if(3!=y.nextAddress){e=y.yieldResult;f=[];h=m(e);for(l=h.next();!l.done;l=h.next())q=l.value,f=q.getIssueRelationshipsList().map(function(G){return String(Tk(G,1))}),a.parentToChildIssueIds.set(String(Tk(q,
3)),f),d.push.apply(d,p(f));return af(y,(0,T.firstValueFrom)(a.issueFridge.watchSet(d)),3)}u=y.yieldResult;x=u.filter(function(G){return c.includes(G.issueId)});return 0<x.length?af(y,PXb(a,x),0):y.jumpTo(0)})},QXb=function(a,b,c){c=void 0===c?[]:c;var d,e,f,h,l,q,u,x,y,G,J,M;return Ze(function(V){switch(V.nextAddress){case 1:var U=Object,W=U.assign,ba=b.issueId,pa=b.isArchived,na=RXb(a,b)?1:0,xa=(null!=(d=b.snapshot[0].changelist)?d:[]).length;var Fa=2592E9>1E3*Date.now()-b.majorModifiedTimeMicros;
e=W.call(U,{},MXb,{issueId:ba,issueIdChain:[],isArchived:pa,issueNumAssignedOrReported:na,issueNumCls:xa,issueNumRecentlyModified:Fa?1:0,issueChildrenCount:b.childIssueCount||0,issueNumOpen:mn(b)?1:0,issueNumClosed:mn(b)?0:1});f=a.parentToChildIssueIds.get(b.issueId)||[];if(!(0<f.length)){V.jumpTo(2);break}l=m(f);q=l.next();case 3:if(q.done){V.jumpTo(2);break}u=q.value;return af(V,(0,T.firstValueFrom)(a.issueFridge.watchOne(u)),6);case 6:h=V.yieldResult;if(!h){V.jumpTo(4);break}e.directChildrenNumAssignedOrReported+=
RXb(a,h)?1:0;x=void 0;e.directChildrenNumCls+=(null!=(x=h.snapshot[0].changelist)?x:[]).length;U=e.directChildrenNumRecentlyModified;W=h;W=2592E9>1E3*Date.now()-W.majorModifiedTimeMicros;e.directChildrenNumRecentlyModified=U+(W?1:0);e.directChildrenCount+=1;e.directChildrenNumOpen+=mn(h)?1:0;e.directChildrenNumClosed+=mn(h)?0:1;case 4:q=l.next();V.jumpTo(3);break;case 2:y=m(c);for(G=y.next();!G.done;G=y.next())J=G.value,e.issueIdChain.unshift(J.issueId),e.rollupNumAssignedOrReported+=J.issueNumAssignedOrReported+
J.directChildrenNumAssignedOrReported,e.rollupNumCls+=J.issueNumCls+J.directChildrenNumCls,e.rollupNumRecentlyModified+=J.issueNumRecentlyModified+J.directChildrenNumRecentlyModified,e.rollupChildrenCount+=J.issueChildrenCount+J.directChildrenCount,e.rollupNumOpen+=J.issueNumOpen+J.directChildrenNumOpen,e.rollupNumClosed+=J.issueNumClosed+J.directChildrenNumClosed;e.issueIdChain.unshift(b.issueId);c.push(e);return b.parentIssueIds&&0<b.parentIssueIds.length?af(V,(0,T.firstValueFrom)(a.issueFridge.watchOne(b.parentIssueIds[0])),
8):V.return(c);case 8:return(M=V.yieldResult)?V.return(QXb(a,M,c)):V.return(c)}})};
lI.prototype.calculateConfidence=function(a){var b=void 0===b?NXb:b;var c=a.issueNumAssignedOrReported*b.issueNumAssignedOrReported;c+=a.issueNumCls*b.issueNumCls;c+=a.issueNumRecentlyModified*b.issueNumRecentlyModified;c+=a.issueChildrenCount*b.issueChildrenCount;c+=a.issueNumOpen*b.issueNumOpen;c+=a.directChildrenNumAssignedOrReported*b.directChildrenNumAssignedOrReported;c+=a.directChildrenNumCls*b.directChildrenNumCls;c+=a.directChildrenNumRecentlyModified*b.directChildrenNumRecentlyModified;
c+=a.directChildrenCount*b.directChildrenCount;c+=a.directChildrenNumOpen*b.directChildrenNumOpen;c+=a.rollupNumAssignedOrReported*b.rollupNumAssignedOrReported;c+=a.rollupNumCls*b.rollupNumCls;c+=a.rollupNumRecentlyModified*b.rollupNumRecentlyModified;c+=a.rollupChildrenCount*b.rollupChildrenCount;c+=a.rollupNumOpen*b.rollupNumOpen;c+=a.issueNumClosed*b.issueNumClosed;c+=a.directChildrenNumClosed*b.directChildrenNumClosed;c+=a.rollupNumClosed*b.rollupNumClosed;0===a.directChildrenNumAssignedOrReported&&
(c-=10*a.directChildrenCount);b=a.directChildrenNumAssignedOrReported/a.directChildrenCount;.5>b?(a=100<a.directChildrenCount?1.5:1,c=.25>b?.1>b?c-300*a:c-200*a:c-50*a):c=.75<b?c+200:c+150;return c};var RXb=function(a,b){var c,d=null!=(c=fp())?c:a.currentUserLdap;c=a.getLdapFromUser(b.snapshot[0].assigneeUser);return a.getLdapFromUser(b.snapshot[0].reporterUser)===d||c===d};lI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};
lI.\u0275fac=function(a){return new (a||lI)(n(QH),n(kI),n(nF))};lI.\u0275prov=Pc({token:lI,factory:lI.\u0275fac,providedIn:"root"});var mI=function(a){this.issueFridge=a},SXb=function(a,b,c){var d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d status:open";(void 0===c?0:c)&&(d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process)\n      modified:90d status:(open | fixed | verified)");return a.issueFridge.watchMany({filter:d,pageSize:50,sort:"modified_time:desc"}).pipe(B(function(e){return e.results}))};
mI.\u0275fac=function(a){return new (a||mI)(n(QH))};mI.\u0275prov=Pc({token:mI,factory:mI.\u0275fac,providedIn:"root"});var nI=function(a,b){var c=this;this.currentUser=a;this.queryIssuesService=b;this.currentUserLdap=this.currentUser.email.split("@")[0];this.ldap=this.getLdap();this.issuesFromQuery$=(0,T.defer)(function(){return SXb(c.queryIssuesService,c.ldap,!0)});this.suggestedHotlists$=this.issuesFromQuery$.pipe(B(this.fetchHotlistsFromIssues.bind(this)))};
nI.prototype.fetchHotlistsFromIssues=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=void 0,f=null!=(e=null==(d=c.snapshot[0])?void 0:d.hotlistId)?e:[];d=m(f);for(e=d.next();!e.done;e=d.next())if(e=e.value,b.has(e)){f=void 0;var h=null!=(f=b.get(e))?f:{count:0,confidence:0};h.count++;h.confidence+=this.calculateConfidence(c);b.set(e,h)}else f=this.calculateConfidence(c),b.set(e,{count:1,confidence:f})}return TXb(b)};
var TXb=function(a){return new Map([].concat(p(a.entries())).sort(function(b,c){return c[1].confidence-b[1].confidence}))};nI.prototype.getLdap=function(){var a;return null!=(a=fp())?a:this.currentUserLdap};
nI.prototype.calculateConfidence=function(a){var b=0,c,d,e,f=(null==(c=a.snapshot[0])?void 0:null==(d=c.assigneeUser)?void 0:null==(e=d.emailAddress)?void 0:e.split("@")[0])===this.ldap,h,l,q;c=(null==(h=a.snapshot[0])?void 0:null==(l=h.reporterUser)?void 0:null==(q=l.emailAddress)?void 0:q.split("@")[0])===this.ldap;f&&(b+=5);c&&(b+=3);return b=mn(a)?b+2:b+1};nI.\u0275fac=function(a){return new (a||nI)(n(kI),n(mI))};nI.\u0275prov=Pc({token:nI,factory:nI.\u0275fac,providedIn:"root"});var UXb=["needs-attention-table","needs-attention-cards","pinned-issues","working-on-this-week"],VXb="my-projects-as-cards my-projects-as-tree recently-viewed-i-own pinned-issues working-on-this-week suggested-issues".split(" "),WXb=["team-activity-stream","team-inbox","tp-my-work","tp-needs-input","activity-feed"];[].concat(p(UXb),p(VXb),p(WXb));var XXb=["children","immersed"];p(XXb);
var YXb={collapsed:{},projectFilters:[]},ZXb={layout:"layout-b",showHiddenSettings:!1,sectionA:"",sectionW:"my-projects-as-cards",sectionT:"tp-my-work tp-needs-input",collapsed:{},projectFilters:["OPEN"],pinned:[],issuesThisWeek:{issues:[],weekNumber:0}};var $Xb=function(a){Y.call(this,a)};X($Xb,Y);g=$Xb.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getComment=function(){return lk(this,2)};g.setComment=function(a){k(this,2,a)};g.getFormattingMode=function(){return bk(this,3,0)};g.setFormattingMode=function(a){return k(this,3,a)};g.getContentJudgement=function(){return wk(this,mk,4)};g.setContentJudgement=function(a){return Ok(this,mk,4,a)};var aYb=function(a){Y.call(this,a)};X(aYb,Y);g=aYb.prototype;g.getType=function(){return bk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return Sk(this,1)};g.setPageSize=function(a){return k(this,2,a)};g.setPageToken=function(a){return k(this,3,a)};aYb.messageId="b.ListCommentReactionRespondersRequest";var dm=function(a){Y.call(this,a)};X(dm,Y);dm.prototype.getCreatedTime=function(){return wk(this,cj,2)};dm.messageId="b.CommentReactionResponder";var oI=function(a){Y.call(this,a,-1,bYb)};X(oI,Y);oI.prototype.getNextPageToken=function(){return lk(this,2)};oI.prototype.getTotalSize=function(){return gj(this,3)};var bYb=[1];oI.messageId="b.ListCommentReactionRespondersResponse";var dYb=function(a){Y.call(this,a,-1,cYb)};X(dYb,Y);dYb.prototype.getIssueCommentsList=function(){return fj(this,$E,1)};var cYb=[1];dYb.messageId="b.ListIssueCommentHistoryResponse";var eYb=function(a){Y.call(this,a)};X(eYb,Y);g=eYb.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getCommentNumber=function(){return gj(this,2)};g.setCommentNumber=function(a){return k(this,2,a)};g.getComment=function(){return lk(this,3)};g.setComment=function(a){k(this,3,a)};g.getFormattingMode=function(){return bk(this,4,0)};g.setFormattingMode=function(a){return k(this,4,a)};var pI=function(){};pI.\u0275fac=function(a){return new (a||pI)};pI.\u0275prov=Pc({token:pI,factory:pI.\u0275fac,providedIn:"root"});var qI=function(a){this.executor=a};g=qI.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(Zna(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:$E}).pipe(B(Zl))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);e=new $Xb;e.setIssueId(a);e.setComment(b);e.setFormattingMode(Yl(c));e.setContentJudgement(d);return this.executor.post({url:"action/issues/"+a+"/comment",body:e,responseConstructor:null,options:{headers:f}})};
g.update=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);e=new eYb;e.setIssueId(a);e.setCommentNumber(b);e.setComment(c);e.setFormattingMode(Yl(d));return this.executor.post({url:"action/issues/"+a+"/updateComment",body:e,options:{headers:f},responseConstructor:null})};g.delete=function(a,b,c,d){return this.executor.delete({url:"action/issues/"+a+"/comment/"+b,options:{params:{reason:c},headers:{"If-Match":d}},responseConstructor:null})};
g.undelete=function(a,b,c){var d={};void 0!==c&&(d.comment_version=String(c));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/undelete",body:null,options:{params:d},responseConstructor:$E}).pipe(B(Zl))};g.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:dYb}).pipe(B(jqa))};
g.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType,e=a.hasReacted,f;a=new Sl;d=(new cm).setType(null!=(f=GQb[d])?f:0);f=k(d,1,e);f=Jp(a,1,cm,f);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:f,responseConstructor:Sl}).pipe(B($pa))};
g.listCommentReactionResponders=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType,e=a.pageToken;a=void 0===a.pageSize?500:a.pageSize;var f;d=(new aYb).setType(null!=(f=GQb[d])?f:0).setPageSize(a);e&&d.setPageToken(e);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/listReactionResponders",body:d,responseConstructor:oI}).pipe(B(nqa))};qI.\u0275fac=function(a){return new (a||qI)(n(nE))};qI.\u0275prov=Pc({token:qI,factory:qI.\u0275fac,providedIn:"root"});
var rI=function(a){this.observableApi=a};X(rI,pI);g=rI.prototype;g.get=function(a,b,c){return(0,T.firstValueFrom)(this.observableApi.get(a,b,c))};g.create=function(a,b,c,d,e){return(0,T.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return(0,T.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return(0,T.firstValueFrom)(this.observableApi.delete(a,b,c,d))};
g.undelete=function(a,b,c){return(0,T.firstValueFrom)(this.observableApi.undelete(a,b,c))};g.listHistory=function(a,b){return(0,T.firstValueFrom)(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return(0,T.firstValueFrom)(this.observableApi.updateCommentReaction(a))};g.listCommentReactionResponders=function(a){return(0,T.firstValueFrom)(this.observableApi.listCommentReactionResponders(a))};rI.\u0275fac=function(a){return new (a||rI)(n(qI))};
rI.\u0275prov=Pc({token:rI,factory:rI.\u0275fac,providedIn:"root"});var fYb=Wm(),gYb=fYb.config.environmentType,hYb,iYb=(null!=(hYb=fYb.user.email)?hYb:"").split("@")[0],jYb="QA"===gYb?412808:1294964,kra=[9019942154,9327443891,1953099861400,1292819114016,1525660445733],sI=function(a,b,c,d,e){var f=this;this.issueApi=a;this.issueCommentsApi=b;this.currentUser=c;this.issueRelationshipsFridge=d;this.issueRelationshipService=e;this.prefs$=new T.BehaviorSubject(void 0);this.issue$=new T.BehaviorSubject(void 0);this.projectIds$=this.prefs$.pipe(B(function(h){return null==
h?void 0:h.id}),Qf(this.issueRelationshipsFridge.watch),B(function(h){var l;return null!=(l=null==h?void 0:h.relatedChildren.map(function(q){return q.targetIssueId}))?l:[]}));this.onSaveError=function(h){400===h.status?(console.log("Couldn't save hackypref, resetting the backing pref",h),kYb(f)):console.error("UNHANDLED: Couldn't save hackypref",h)}};sI.prototype.init=function(a){a=void 0===a?iYb:a;var b=this;return Ze(function(c){b.ldap=a;return af(c,lYb(b),0)})};
var lYb=function(a){return Ze(function(b){return af(b,mYb(a),0)})};sI.prototype.save=function(a){var b=this,c=a.id;null==c?console.warn("Can't save, missing config issue id"):(a.hasUserEdits=!0,this.prefs$.next(a),a=JSON.stringify(a,null,2),this.issueCommentsApi.update(c,1,a,"PLAIN").then(function(){nYb(b,c)}).catch(this.onSaveError))};
var kYb=function(a){var b,c,d,e,f;Ze(function(h){if(1==h.nextAddress){b=a.prefs.id;if(null==b)return h.return();d=null!=(c=ep(a.projectIds$))?c:[];return af(h,oYb(a),2)}e=h.yieldResult;a.prefs.id=e;a.save(a.prefs);f=d.map(Number).map(function(l){return hF(new gF,l)});QSb(a.issueRelationshipService,e,f).subscribe();return af(h,pYb(a,b),0)})},pYb=function(a,b){b=void 0===b?a.prefs.id:b;return null==b?Promise.reject():a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"status",value:"OBSOLETE"}]})},
gq=function(a,b){a.prefs.collapsed[b]=!a.prefs.collapsed[b];a.save(a.prefs)},nYb=function(a,b){var c;return Ze(function(d){if(1==d.nextAddress)return af(d,a.issueApi.getIssue(b),2);c=d.yieldResult;qYb(a,c);ef(d)})},qYb=function(a,b){var c,d,e,f,h,l,q;Ze(function(u){if(1==u.nextAddress){c=b.issue.issueId;e=null==(d=b.firstEvent)?void 0:d.unlinkifiedComment;f={};try{f=JSON.parse(null!=(h=e)?h:"")}catch(x){console.warn("unable to parse as json: `"+e+"`"),console.error(x)}return af(u,rYb(a),2)}l=u.yieldResult;
q=Object.assign({},l,f,{id:c});a.prefs$.next(q);ef(u)})},mYb=function(a){var b;return Ze(function(c){switch(c.nextAddress){case 1:return af(c,sYb(a),2);case 2:b=c.yieldResult;if(null!=b){c.jumpTo(3);break}return af(c,oYb(a),4);case 4:b=c.yieldResult;case 3:return af(c,nYb(a,b),0)}})},sYb=function(a){var b,c,d,e;return Ze(function(f){if(1==f.nextAddress)return c=null!=(b=a.ldap)?b:iYb,af(f,tYb(a,c),2);d=f.yieldResult;return f.return(null==(e=d)?void 0:e.issueId)})},tYb=function(a,b){var c,d,e,f;return Ze(function(h){if(1==
h.nextAddress)return c='title:"__experimental config__ for '+b+'" status:open archived:all',af(h,a.issueApi.listIssues(c,{count:1,s:"created_time:desc"}),2);d=h.yieldResult;return h.return(null==(e=d)?void 0:null==(f=e.issues)?void 0:f[0])})},oYb=function(a){var b,c,d,e,f,h;return Ze(function(l){return 1==l.nextAddress?(c=null!=(b=a.ldap)?b:iYb,d={snapshot:{title:"__experimental config__ for "+c,componentId:jYb,comment:'{ "README": "This issue is a temporary config container. For more info, see go/task-mission-control" }'}},
af(l,a.issueApi.createIssue(d),2)):3!=l.nextAddress?(e=l.yieldResult,f=e.issueId,h=[{fieldName:"isArchived",value:"true"}],af(l,a.issueApi.updateIssue(f,{issueId:f,actions:h}),3)):l.return(e.issueId)})},rYb=function(a){var b;return Ze(function(c){0<a.currentUser.allTeamIds.length?(b=a.currentUser.allTeamIds.map(Number),b=lra(b)):console.warn("No team ids found on currentUser");return c.return(Object.assign({},ZXb,{teamIds:b}))})},lq=function(a){var b;return null!=(b=a.prefs.pinned)?b:[]},fq=function(a,
b){var c=a.prefs;if(a.prefs.pinned){if(a.prefs.pinned.includes(b))return;a.prefs.pinned.unshift(b)}else a.prefs.pinned=[b];a.save(c)},eq=function(a,b){if(null!=b){var c=a.prefs;c.pinned&&c.pinned.includes(b)&&c.pinned.splice(c.pinned.indexOf(b),1);a.save(c)}},uYb=function(a){var b=a.prefs;var c=void 0===c?new Date:c;c=new Date(c.getTime());c.setHours(0,0,0,0);c.setDate(c.getDate()+3-(c.getDay()+6)%7);var d=new Date(c.getFullYear(),0,4);c=1+Math.round(((c.getTime()-d.getTime())/864E5-3+(d.getDay()+
6)%7)/7);var e,f;d=null!=(f=null==(e=b.issuesThisWeek)?void 0:e.weekNumber)?f:0;if(!b.issuesThisWeek||c>d||52===d&&c<d)b.issuesThisWeek={issues:[],weekNumber:c},a.save(b)};sI.prototype.isCurrentUser=function(a){return a===iYb};Ei.Object.defineProperties(sI.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefs$.value)?a:YXb}}});sI.\u0275fac=function(a){return new (a||sI)(n(fF),n(pI),n(kI),n(XH),n(nF))};sI.\u0275prov=Pc({token:sI,factory:sI.\u0275fac,providedIn:"root"});var tI=function(a,b,c,d){var e=this;this.issueFridge=a;this.hackyPrefs=b;this.eventsForIssueFridge=c;this.teamFridge=d;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;var f;this.currTeamIds=null!=(f=this.hackyPrefs.prefs.teamIds)?f:[];this.currTeamIssuesFilter="("+jva(this.currTeamIds)+") (created<"+kva()+") -status:(duplicate | infeasible | intended_behavior | not_reproducible | obsolete)";this.recentTeamIssues$=(0,T.timer)(1,11E3).pipe(Qf(function(){return e.issueFridge.watchMany({filter:e.currTeamIssuesFilter,
sort:"modified_time:desc",pageSize:20})}),B(function(h){return h.results}));this.teamObjects$=this.teamFridge.watchSet(this.currTeamIds);this.noChangeEvents$=this.recentTeamIssues$.pipe(B(function(h){return e.getNoChangeEvents(h)}));this.changedIssues$=this.recentTeamIssues$.pipe(B(function(h){return $ua(h,e.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(B(function(h){return h.map(function(l){return l.issueId})}),Qf(this.eventsForIssueFridge.watchSet));this.allRecentTeamEvents$=
(0,T.combineLatest)([this.noChangeEvents$,this.eventsForUpdatedIssues$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;for(var q=m(l),u=q.next();!u.done;u=q.next())u=u.value,e.issuesToEventsMap.set(u.id,u);return[].concat(p(h),p(l))}),sf(Vj));this.interestingEventsForTeamActivity$=(0,T.combineLatest)([this.teamObjects$,this.allRecentTeamEvents$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return e.filterAllEventsToRecentActivity(h,l)}))};
tI.prototype.getInterestingEventType=function(a,b){if(b.modifiedDate<(new Date(Date.now()-3456E5)).getTime())return"";if(vYb(a,b.userPerformingActionUser)&&(0<b.preDiffs.length||0<b.postDiffs.length)){a=[].concat(p(b.preDiffs),p(b.postDiffs));a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;if("priority"===c.name)return"priority";if("status"===c.name)return"status"}}return rn(b)?"changelist":gn(b)&&b.isHumanAuthor?"comment":""};
var vYb=function(a,b){if(!b||!b.emailAddress||0===a.length)return!1;a=m(a);for(var c=a.next();!c.done;c=a.next())if(c.value.getMembersList().find(function(d){return d&&Kj(d.getUser())===Kj(b)}))return!0;return!1};
tI.prototype.filterAllEventsToRecentActivity=function(a,b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;if(e){d=e.id;e=m(e.events);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=this.getInterestingEventType(a,f);""!==h&&c.push({issueId:d,event:f,eventType:h})}c.sort(function(l,q){return q.event.modifiedDate-l.event.modifiedDate})}}return c};
tI.prototype.getNoChangeEvents=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;this.lastModifiedIssueTimestampMap.has(c.issueId)&&this.lastModifiedIssueTimestampMap.get(c.issueId)===(null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)&&b.push(this.issuesToEventsMap.get(c.issueId))}return b};tI.\u0275fac=function(a){return new (a||tI)(n(QH),n(sI),n(JF),n(gI))};tI.\u0275prov=Pc({token:tI,factory:tI.\u0275fac,providedIn:"root"});var uI=function(a,b,c){var d=this;this.currentUser=a;this.queryIssuesService=b;this.eventsForIssueFridge=c;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;this.currentUserLdap=this.currentUser.email.split("@")[0];this.ldap=this.getLdap();this.issuesFromQuery$=(0,T.defer)(function(){return SXb(d.queryIssuesService,d.ldap)});this.changedIssues$=this.issuesFromQuery$.pipe(B(function(e){return $ua(e,d.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(B(function(e){return e.map(function(f){return f.issueId})}),
Qf(function(e){return(0,T.combineLatest)(e.map(function(f){return d.eventsForIssueFridge.watch(f,{trustUncertainMemory:!0})}))}),sf(Vj));this.suggestedIssues$=(0,T.combineLatest)([this.issuesFromQuery$,this.eventsForUpdatedIssues$]).pipe(Qf(function(e){e=m(e);var f=e.next().value;e=e.next().value;e=m(e);for(var h=e.next();!h.done;h=e.next())h=h.value,null!=h&&d.issuesToEventsMap.set(h.id,h);e=T.of;var l=f;if(l&&0!==l.length){50<l.length&&(console.warn("truncating search to the first SUGGESTED_ISSUE_LIMIT issues"),
l=l.slice(0,50));f=d.ldap;if(l&&0!==l.length){h=[];l=m(l);for(var q=l.next();!q.done;q=l.next()){var u=q.value,x=u.snapshot[0].reporterUser,y=u.snapshot[0].assigneeUser;q=h;var G=q.push,J=u.issueId;x=null===x?0:d.getLdapFromUser(x)===f?1:0;y=null===y?0:d.getLdapFromUser(y)===f?1:0;var M=u.majorModifiedTimeMicros,V=d.getPriority(u);var U=void 0;var W=f;var ba=0,pa=new Set,na=null==(U=d.issuesToEventsMap.get(u.issueId))?void 0:U.events;if(void 0!==na)for(U=m(na),na=U.next();!na.done;na=U.next()){var xa=
na.value;if(gn(xa)&&xa.isHumanAuthor){var Fa=xa.commentNumber;null===Fa||pa.has(Fa)||(na=xa.lastCommentEditorUser,null!=na&&(pa.add(Fa),xa=xa.unlinkifiedComment,na=d.getLdapFromUser(na),null!=xa&&0<xa.length&&na===W&&(ba+=1)))}}W=ba;na=void 0;ba=f;pa=0;U=new Set;u=null==(na=d.issuesToEventsMap.get(u.issueId))?void 0:na.events;if(void 0!==u)for(u=m(u),na=u.next();!na.done;na=u.next())na=na.value,rn(na)&&(xa=na.commentNumber,null==xa||U.has(xa)||(U.add(xa),hp(na)===ba&&(pa+=1)));u=pa;G.call(q,{issueId:J,
reporterStatus:x,assigneeStatus:y,lastModifiedTime:M,priority:V,commentCountByUser:W,clCountByUser:u})}}else h=[];f=[];h=m(h);for(G=h.next();!G.done;G=h.next())l=f,q=l.push,G=G.value,J=5-G.priority,x=G.lastModifiedTime,x=Math.abs(1E3*Date.now()-x)/864E8,q.call(l,{issueId:G.issueId,interest:J+(1>=x?4:7>=x?3:14>=x?2:30>=x?1:0)+2*G.commentCountByUser+2*G.clCountByUser+2*G.assigneeStatus+G.reporterStatus,priority:G.priority});h=[];wYb(f);for(l=0;10>l;++l)h.push(f[l].issueId);f=h}else f=[];return e.call(T,
f)}),Nf({refCount:!0,bufferSize:1}))};uI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};uI.prototype.getPriority=function(a){switch(a.snapshot[0].priority){case "P0":return 0;case "P1":return 1;case "P2":return 2;case "P3":return 3;case "P4":return 4;default:return console.warn("cannot find issue priority"),null}};uI.prototype.getLdap=function(){var a;return null!=(a=fp())?a:this.currentUserLdap};
var wYb=function(a){a.sort(function(b,c){return b.interest===c.interest?b.priority-c.priority:c.interest-b.interest})};uI.\u0275fac=function(a){return new (a||uI)(n(kI),n(mI),n(JF))};uI.\u0275prov=Pc({token:uI,factory:uI.\u0275fac,providedIn:"root"});var vI=function(a,b,c){this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistApi=c;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map},yYb=function(a,b){var c=(0,T.timer)(1,11E3).pipe(Qf(function(){return a.issueFridge.watchMany({filter:"parentid:"+b+"+ OR id:"+b,sort:"modified_time:desc",pageSize:20})}),B(function(e){return e.results})),d=c.pipe(B(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(B(function(e){return xYb(a,e)})).pipe(B(function(e){return e.map(function(f){return f.issueId})}),
Qf(a.eventsForIssueFridge.watchSet));return(0,T.combineLatest)([d,c]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;for(var h=m(f),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(p(e),p(f))}),sf(Vj),B(function(e){return a.filterAllEventsToRecentActivity(e)}))},zYb=function(a,b){var c=(0,T.timer)(1,11E3).pipe(Qf(function(){return a.hotlistApi.getPagedHotlistContent(b,1,20,[])}),B(function(e){return e.issues})),d=c.pipe(B(function(e){return a.getNoChangeEvents(e)}));
c=c.pipe(B(function(e){return xYb(a,e)})).pipe(B(function(e){return e.map(function(f){return f.issueId})}),Qf(a.eventsForIssueFridge.watchSet));return(0,T.combineLatest)([d,c]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;for(var h=m(f),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(p(e),p(f))}),sf(Vj),B(function(e){return a.filterAllEventsToRecentActivity(e)}))},AYb=function(a,b){var c=(0,T.timer)(1,11E3).pipe(Qf(function(){return a.issueFridge.watchMany({filter:"savedsearchid:"+
b,sort:"modified_time:desc",pageSize:20})}),B(function(e){return e.results})),d=c.pipe(B(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(B(function(e){return xYb(a,e)})).pipe(B(function(e){return e.map(function(f){return f.issueId})}),Qf(a.eventsForIssueFridge.watchSet));return(0,T.combineLatest)([d,c]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;for(var h=m(f),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(p(e),p(f))}),sf(Vj),B(function(e){return a.filterAllEventsToRecentActivity(e)}))};
vI.prototype.getNoChangeEvents=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;this.lastModifiedIssueTimestampMap.has(c.issueId)&&this.lastModifiedIssueTimestampMap.get(c.issueId)===(null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)&&b.push(this.issuesToEventsMap.get(c.issueId))}return b};
var xYb=function(a,b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=void 0;if(!a.lastModifiedIssueTimestampMap.has(d.issueId)||a.lastModifiedIssueTimestampMap.get(d.issueId)!==(null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)){c.push(d);var f=e=void 0;a.lastModifiedIssueTimestampMap.set(d.issueId,null!=(f=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?f:0)}}return c};
vI.prototype.filterAllEventsToRecentActivity=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d){c=d.id;d=m(d.events);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=this.getInterestingEventType(e);""!==f&&b.push({issueId:c,event:e,eventType:f})}b.sort(function(h,l){return l.event.modifiedDate-h.event.modifiedDate})}}return b};
vI.prototype.getInterestingEventType=function(a){if(a.modifiedDate<Date.now()-12096E5)return"";if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(p(a.preDiffs),p(a.postDiffs));b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.oldValue&&("priority"===c.name||"status"===c.name))return"newIssue";if("priority"===c.name)return"priority";if("status"===c.name)return rn(a)?"changelistFixed":"status"}}return rn(a)?"changelist":gn(a)&&a.isHumanAuthor?"comment":""};
vI.\u0275fac=function(a){return new (a||vI)(n(QH),n(JF),n(qH))};vI.\u0275prov=Pc({token:vI,factory:vI.\u0275fac,providedIn:"root"});var wI=function(a,b){Z.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new T.BehaviorSubject({})};X(wI,Z);wI.\u0275dir=Z.\u0275dir;
var CYb=function(a){a.activatedRoute.queryParams.pipe(Rf(a.destroyed$)).subscribe(function(b){BYb(a,a.routeParams$.value,b)});a.router.events.pipe(sf(function(b){return b instanceof yo}),B(function(b){return b}),Rf(a.destroyed$)).subscribe(function(b){b=b.snapshot;var c={},d=b;do c=Object.assign({},d.params,c),d=d.parent;while(d&&d!==d.root);BYb(a,c,b.queryParams)})},xI=function(a,b){return a.routeParams$.pipe(B(function(c){return c[b]}))},BYb=function(a,b,c){for(var d=m(Object.keys(a.params)),e=
d.next();!e.done;e=d.next())delete a.params[lva(e.value)];a.routeParams$.next(b);c=m(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=m(d.value),d=e.next().value,e=e.next().value,a.params[lva(d)]=e;b=m(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=m(c.value),c=d.next().value,d=d.next().value,a.params[lva(c)]=d};wI.\u0275fac=function(a){return new (a||wI)(n(WG),n(ko))};wI.\u0275prov=Pc({token:wI,factory:wI.\u0275fac,providedIn:"root"});var yI=function(a,b,c){this.dialogRef=a;this.params=c;this.DEFAULTS={};this.data=Object.assign({},this.DEFAULTS,b);this.data.prefilledSearchInput&&""!==this.data.prefilledSearchInput&&(this.selectedProject=this.data.prefilledSearchInput)};yI.prototype.onEnter=function(){this.onConfirm()};yI.prototype.onEscape=function(){this.dialogRef.close()};
yI.prototype.onConfirm=function(){var a,b=null==(a=this.selectedProject)?void 0:a.trim();if(null==b?0:b.match(/\d{3,}/))if(null==iva(b))this.errorMsg="That doesn't look an issue, hotlist, or saved search";else{a:{a=ip(b);if(null!=a)switch(iva(b)){case "hotlist":b=jp(a);break a;case "savedsearch":b="savedsearch-"+a;break a;default:b=a;break a}b=void 0}this.dialogRef.close(b)}else this.errorMsg="Please enter an ID. (at least 3 numbers in a row)"};yI.prototype.onCancel=function(){this.dialogRef.close()};
yI.\u0275fac=function(a){return new (a||yI)(A(ZA),A(aB),A(wI))};
yI.\u0275cmp=r({type:yI,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&K("keydown.escape",function(){return b.onEscape()})},decls:19,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["type","text","mat-input","","placeholder","Enter an ID",1,"search-field",3,"ngModel","keydown.enter","ngModelChange"],["class","color-bad-text margin-s-top",4,"ngIf"],[1,"muted","flex-kids-x","margin-top"],["mat-icon-button","","href","http://go/b-learn-project-add","target","_blank","title",
"Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"click"],[1,"color-bad-text","margin-s-top"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1," Add a Project\n"),E(),D(2,"div",1)(3,"input",2),K("keydown.enter",function(){return b.onEnter()})("ngModelChange",function(c){return b.selectedProject=c}),E(),O(4,
mva,2,1,"p",3),D(5,"div",4)(6,"a",5),F(7,"mat-icon",6),E(),D(8,"p"),P(9,' You can add "parent" tracking bugs using their ID. '),F(10,"br"),P(11,' You can also add hotlists and saved searches using a syntax like "hotlist/123456" '),F(12,"br"),P(13,' or "savedsearch-789012" or a URL. '),E()()(),D(14,"div",7)(15,"button",8),K("click",function(){return b.onCancel()}),P(16," Cancel "),E(),D(17,"button",9),K("click",function(){return b.onConfirm()}),P(18," Confirm "),E()());a&2&&(z(3),C("ngModel",b.selectedProject),
z(1),C("ngIf",b.errorMsg))},dependencies:[bx,NA,OA,dB,eB,fB,OB,yh,Ex,Lx],styles:[".search-field[_ngcontent-%COMP%] {\n      height: 32px;\n      width: 100%;\n    }"]});var zI=function(a){this.dialog=a};zI.prototype.open=function(a,b){var c=this;a=void 0===a?{}:a;var d={panelClass:"no-jitter",data:a};return new Promise(function(e){XA(c.dialog.open(yI,d)).subscribe(function(f){null==b||b(f);e(f)})})};zI.\u0275fac=function(a){return new (a||zI)(n(bB))};
zI.\u0275prov=Pc({token:zI,factory:zI.\u0275fac,providedIn:"root"});var AI=function(a){this.issuesApi=a};AI.prototype.get=function(a){return this.issuesApi.getRelatedIssues({resourceType:void 0===a.resourceType?null:a.resourceType,resourceId:void 0===a.resourceId?null:a.resourceId,q:a.query,trackerId:void 0===a.trackerId?null:a.trackerId,s:void 0===a.sort?null:a.sort,count:void 0===a.count?null:a.count,p:void 0===a.page?null:a.page})};AI.\u0275fac=function(a){return new (a||AI)(n(dF))};AI.\u0275prov=Pc({token:AI,factory:AI.\u0275fac,providedIn:"root"});var BI=function(a){this.executor=a},DYb=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:Em,body:Rqa(b)}).pipe(B(function(c){return Eqa(c)}))};BI.\u0275fac=function(a){return new (a||BI)(n(nE))};BI.\u0275prov=Pc({token:BI,factory:BI.\u0275fac,providedIn:"root"});var CI=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new T.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(B(nj));this.textDisplayPreferences$=this.preferences$.pipe(B(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=dp(this.textDisplayPreferences$.pipe(Rf(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(B(function(b){return b.lastPublishMode}),
Df());this.lastPublishModeProto$=this.lastPublishMode$.pipe(B(jm));this.themePreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.themePreferences)?c:nj(QE.themePreferences)}),kp());this.listViewPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.listViewPreferences)?c:nj(QE.listViewPreferences)}),kp());this.layoutPreferences$=this.preferences$.pipe(B(this.getLayoutPreferences),kp());this.dateTimePreferences$=this.preferences$.pipe(B(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:nj(QE.dateTimePreferences)}),kp());this.homepagePreferences$=this.preferences$.pipe(B(this.getHomepagePreferences),kp());this.keyboardPrefs$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.keyboardPreferences)?c:nj(QE.keyboardPreferences)}),kp());this.displayColumnsPreferences$=this.preferences$.pipe(B(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),kp());this.sortColumnsPreferences$=this.preferences$.pipe(B(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),kp());this.needsAttentionPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:nj(QE.needsAttentionPreferences)}),kp());this.bugScreensaverPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:nj(QE.bugScreensaverPreferences)}),kp());this.bugScreensaverSubject$=dp(this.bugScreensaverPreferences$.pipe(Rf(this.destroyed$)),QE.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.g3nPreferences)?c:nj(QE.g3nPreferences)}),kp());dp(this.g3nPreferences$.pipe(Rf(this.destroyed$)),QE.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:nj(QE.teamWarningPreferences)}),kp());this.teamWarningPreferencesSubject$=dp(this.teamWarningPreferences$.pipe(Rf(this.destroyed$)),QE.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(B(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:nj(QE.commentFilterPreferences)}),kp());dp(this.commentFilterPreferences$.pipe(Rf(this.destroyed$)),QE.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(B(function(b){return!!b.useCodefont}),Df());this.autoCcOnComment$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),Df());this.showFullHistory$=this.preferences$.pipe(B(function(b){return!!b.showFullHistory}),Df());
this.showRecentEventsFirst$=this.preferences$.pipe(B(function(b){return!!b.showRecentEventsFirst}),Df());this.showInlineImages$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.showInlineImages)?c:QE.showInlineImages}),Df())};CI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};CI.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var EYb=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(B(a.getLayoutPreferences))},FYb=function(a,b){return a.save({homepagePreferences:b}).pipe(B(a.getHomepagePreferences))};CI.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:nj(QE.dateTimePreferences)};
var GYb=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},HYb=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]};CI.prototype.clearHomepagePreferences=function(){return FYb(this,{})};var IYb=function(a,b){return a.save({displayColumns:{column:b}}).pipe(B(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
CI.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(B(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var JYb=function(a,b){return a.save({teamWarningPreferences:b}).pipe(B(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:nj(QE.teamWarningPreferences)}))};CI.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:nj(QE.layoutPreferences)};
CI.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:nj(QE.homepagePreferences)};var DI=function(a){return nj(a.preferencesSubject$.getValue())};CI.\u0275fac=function(a){return new (a||CI)(n(EI))};CI.\u0275prov=Pc({token:CI,factory:CI.\u0275fac,providedIn:"root"});
var EI=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new T.BehaviorSubject(nj(QE));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),KYb(a);this.preferences$.next(a)};EI.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,T.of)(LYb(this,a)):DYb(this.userPreferencesResources,a).pipe(B(function(){return LYb(b,a)}))};
var LYb=function(a,b){var c=nj(a.preferences$.value);c=Object.assign({},c,b);KYb(c);a.preferences$.next(c);return c},KYb=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=QE.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=QE.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=QE.dateTimePreferences.sloEtaViewAs))};
EI.\u0275fac=function(a){return new (a||EI)(n(tu),n(BI))};EI.\u0275prov=Pc({token:EI,factory:EI.\u0275fac,providedIn:"root"});var FI=function(a){this.codefont$=a.codeFont$};FI.\u0275fac=function(a){return new (a||FI)(n(CI))};FI.\u0275prov=Pc({token:FI,factory:FI.\u0275fac,providedIn:"root"});var MYb=["child"],GI=function(a){this.codefont=a};GI.prototype.ngOnInit=function(){};GI.prototype.ngOnChanges=function(){lp(this.child.nativeElement,this.content.getContent())};GI.\u0275fac=function(a){return new (a||GI)(A(FI))};
GI.\u0275cmp=r({type:GI,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&Sg(MYb,7);if(a&2){var c;Rg(c=Ug())&&(b.child=c.first)}},inputs:{content:"content"},features:[md],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(D(0,"div",0,1),R(2,"async"),E());a&2&&pg("codefont",S(2,2,b.codefont.codefont$))},dependencies:[hx],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var HI=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new vw;this.clickHandler=function(c){var d=c.target instanceof Element?c.target:c.target instanceof Node?c.target.parentElement:null;d&&(d.closest(".cdk-overlay-container")||b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}};HI.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
HI.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};HI.\u0275fac=function(a){return new (a||HI)(A(Yd))};HI.\u0275dir=r({type:HI,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var II=function(){};II.\u0275fac=function(a){return new (a||II)};II.\u0275mod=fd({type:II});II.\u0275inj=Qc({});var JI=function(a){this.window=a};JI.prototype.openInNewTab=function(a){a=Xh(a);$ma(this.window,a,"_blank")};var op=function(a,b){b=Xh(b);$ma(a.window,b)},KI=function(a,b){a=a.window.location;b=Xh(b);b=oka(b);void 0!==b&&(a.href=b)};JI.\u0275fac=function(a){return new (a||JI)(n(SE))};JI.\u0275prov=Pc({token:JI,factory:JI.\u0275fac,providedIn:"root"});var LI=function(){};LI.\u0275fac=function(a){return new (a||LI)};LI.\u0275cmp=r({type:LI,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(wg(),D(0,"span",0),xg(1),E())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var NYb=function(a,b){this._document=b;var c=this._textarea=this._document.createElement("textarea"),d=c.style;d.position="fixed";d.top=d.opacity="0";d.left="-999em";c.setAttribute("aria-hidden","true");c.value=a;c.readOnly=!0;this._document.body.appendChild(c)};NYb.prototype.copy=function(){var a=this._textarea,b=!1;try{if(a){var c=this._document.activeElement;a.select();a.setSelectionRange(0,a.value.length);b=this._document.execCommand("copy");c&&c.focus()}}catch(d){}return b};
NYb.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var MI=function(a){this._document=a};MI.prototype.copy=function(a){a=new NYb(a,this._document);var b=a.copy();a.destroy();return b};MI.\u0275fac=function(a){return new (a||MI)(n(Ci))};MI.\u0275prov=Pc({token:MI,factory:MI.\u0275fac,providedIn:"root"});new Ud("CDK_COPY_TO_CLIPBOARD_CONFIG");var OYb=["el"],NI=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};NI.prototype.getNgContentParentEl=function(){return this.el.nativeElement};NI.prototype.hide=function(){this.opened=!1};NI.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};NI.\u0275fac=function(a){return new (a||NI)(A(MI),A(jG),A(JI))};
NI.\u0275cmp=r({type:NI,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&Sg(OYb,7);if(a&2){var c;Rg(c=Ug())&&(b.el=c.first)}},inputs:{originalHref:"originalHref"},ngContentSelectors:["*"],decls:8,vars:3,consts:[["cdkOverlayOrigin","","aria-haspopup","true",1,"broken",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","link-off",1,"broken","icon-s"],["el",""],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen"],[1,"b-bubble","flex-kids-y",3,"clickOutside"],[1,"flex-kids-x"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"click"],["svgIcon","copy"],[3,"href","click"]],template:function(a,b){a&1&&(wg(),D(0,"a",0,1),K("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),D(2,"b-glue"),F(3,"mat-icon",2),E(),D(4,"span",null,3),xg(6),E()(),O(7,qva,11,3,"ng-template",4));if(a&2){var c=N(1);z(7);C("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[eA,dA,HI,LI,OB,NA,qD],styles:["mat-icon.broken[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}a.broken[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}.b-bubble[_ngcontent-%COMP%]{display:flex;border-width:1px;border-style:solid;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;box-shadow:0 4px 8px 3px rgba(0,0,0,.1);padding:9px;background-color:#fff;background-color:var(--surface-default)}.b-bubble[_ngcontent-%COMP%]   .gmat-caption[_ngcontent-%COMP%]{max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:4px}  .tooltip-panel{display:inline-block;margin:.1em}"],
changeDetection:0});var PYb=new Ud("mat-checkbox-default-options",{providedIn:"root",factory:rva});var QYb=["input"],RYb=["label"],SYb=0,TYb=rva(),UYb=Ii(Fi(Gi(Hi(function(a){this._elementRef=a})))),OI=function(a,b,c,d,e,f,h){b=UYb.call(this,b)||this;b._changeDetectorRef=c;b._ngZone=d;b._animationMode=f;b._options=h;b.ariaLabel="";b.ariaLabelledby=null;b.labelPosition="after";b.name=null;b.change=new vw;b.indeterminateChange=new vw;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=function(){};b._checked=!1;b._disabled=!1;b._indeterminate=
!1;b._options=b._options||TYb;b.color=b.defaultColor=b._options.color||TYb.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++SYb;return b};X(OI,UYb);g=OI.prototype;g.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};
g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};g._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"};
g._transitionCheckState=function(a){var b=this._currentCheckState,c=this._elementRef.nativeElement;if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,0<this._currentAnimationClass.length)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};g._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};g.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
g._handleInputClick=function(){var a=this,b,c=null==(b=this._options)?void 0:b.clickAction;this.disabled||"noop"===c?this.disabled||"noop"!==c||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==c&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())};
g._onInteractionEvent=function(a){a.stopPropagation()};g._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
g._getAnimationClassForCheckStateTransition=function(a,b){if("NoopAnimations"===this._animationMode)return"";switch(a){case 0:if(1===b)return this._animationClasses.uncheckedToChecked;if(3==b)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===b?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===b?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return 1===b?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};
Ei.Object.defineProperties(OI.prototype,{inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Kh(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Kh(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=Kh(a);a!==this.disabled&&(this._disabled=a,this._changeDetectorRef.markForCheck())}},indeterminate:{configurable:!0,enumerable:!0,get:function(){return this._indeterminate},set:function(a){var b=a!=this._indeterminate;this._indeterminate=Kh(a);b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});OI.\u0275fac=function(){be()};
OI.\u0275dir=r({type:OI,viewQuery:function(a,b){a&1&&(Sg(QYb,5),Sg(RYb,5),Sg(qA,5));if(a&2){var c;Rg(c=Ug())&&(b._inputElement=c.first);Rg(c=Ug())&&(b._labelElement=c.first);Rg(c=Ug())&&(b.ripple=c.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},
outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[$f]});var PI=function(){};PI.\u0275fac=function(a){return new (a||PI)};PI.\u0275mod=fd({type:PI});PI.\u0275inj=Qc({});var VYb=function(a){return{enterDuration:a}},WYb=function(){},XYb={provide:rx,useExisting:Nc(function(){return QI}),multi:!0},QI=function(a,b,c,d,e,f,h){a=OI.call(this,"mat-checkbox-",a,b,d,e,f,h)||this;a._focusMonitor=c;a._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",
indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"};return a};X(QI,OI);QI.\u0275dir=OI.\u0275dir;g=QI.prototype;g._createChangeEvent=function(a){var b=new WYb;b.source=this;b.checked=a;return b};g._getAnimationTargetElement=function(){return this._elementRef.nativeElement};g.ngAfterViewInit=function(){var a=this;OI.prototype.ngAfterViewInit.call(this);this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b||a._onBlur()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
g._onInputClick=function(a){a.stopPropagation();OI.prototype._handleInputClick.call(this)};g.focus=function(a,b){a?my(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};QI.\u0275fac=function(a){return new (a||QI)(A(Yd),A(Vw),A(ly),A(Yf),Id("tabindex"),A(Ov,8),A(PYb,8))};
QI.\u0275cmp=r({type:QI,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(ug("id",b.id),dg("tabindex",null)("aria-label",null)("aria-labelledby",null),pg("mat-checkbox-indeterminate",b.indeterminate)("mat-checkbox-checked",b.checked)("mat-checkbox-disabled",b.disabled)("mat-checkbox-label-before","before"==b.labelPosition)("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},
exportAs:["matCheckbox"],features:[Dg([XYb]),$f],ngContentSelectors:["*"],decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element",
"mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(a,b){a&1&&(wg(),D(0,"label",0,1)(2,"span",2)(3,"input",3,4),K("change",
function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),E(),D(5,"span",5),F(6,"span",6),E(),F(7,"span",7),D(8,"span",8),yd(),D(9,"svg",9),F(10,"path",10),E(),zd(),F(11,"span",11),E()(),D(12,"span",12,13),K("cdkObserveContent",function(){return b._onLabelTextChange()}),D(14,"span",14),P(15,"\u00a0"),E(),xg(16),E()());if(a&2){var c=N(1),d=N(13);dg("for",b.inputId);z(2);pg("mat-checkbox-inner-container-no-side-margin",!d.textContent||!d.textContent.trim());z(1);
C("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);dg("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-checked",b._getAriaChecked())("aria-describedby",b.ariaDescribedby);z(2);C("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Gg(19,VYb,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[qA,kz],
styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var RI=function(){this.checked=!1};RI.\u0275fac=function(a){return new (a||RI)};RI.\u0275cmp=r({type:RI,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[["gmat-checkbox","",3,"disabled","checked"]],template:function(a,b){a&1&&F(0,"mat-checkbox",0);a&2&&C("disabled",!0)("checked",b.checked)},dependencies:[QI],encapsulation:2,changeDetection:0});var YYb=["el"],SI=function(a,b,c){Z.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};X(SI,Z);SI.\u0275dir=Z.\u0275dir;SI.prototype.ngOnInit=function(){};SI.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(Rf(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};SI.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var ZYb=function(a){var b=a.getNgContentParentEl(),c,d;if(d=pva(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};SI.prototype.hide=function(){this.opened=!1};var tva=function(a,b){np(b)||(b.preventDefault(),b.stopPropagation(),op(a.domSafe,a.href))};SI.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var vva=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},uva=function(a,b){if(b.shiftKey&&"Tab"===b.key&&(b.preventDefault(),a=a.cdkConnectedOverlay.overlayRef.overlayElement)){var c=a.querySelector("button");c&&setTimeout(function(){c.focus()})}};SI.\u0275fac=function(a){return new (a||SI)(A(JI),A(MI),A(jG))};
SI.\u0275cmp=r({type:SI,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(Sg(YYb,7),Sg(eA,7));if(a&2){var c;Rg(c=Ug())&&(b.el=c.first);Rg(c=Ug())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[$f],ngContentSelectors:["*"],decls:7,vars:8,consts:[["cdkOverlayOrigin","",1,"keep-focus-ring",3,"href","rel","click"],["trigger","cdkOverlayOrigin"],[4,"ngIf"],["el",""],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",
3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["svgIcon","link",1,"icon-s"],[1,"b-bubble",3,"clickOutside"],[1,"gmat-caption"],["target","_blank",1,"keep-focus-ring",3,"href","rel","click","keydown"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"keydown.Tab","click"],["svgIcon","copy"]],template:function(a,b){a&1&&(wg(),D(0,"a",0,1),K("click",function(d){np(d)||(d.preventDefault(),d.stopPropagation(),ZYb(b)?
b.opened=!b.opened:tva(b,d))}),O(2,sva,2,0,"b-glue",2),D(3,"span",null,3),xg(5),E()(),O(6,wva,6,3,"ng-template",4));if(a&2){var c=N(1);pg("needs-user-confirm",ZYb(b));C("href",b.originalHref,ue)("rel",b.EXTERNAL_LINK_REL);z(2);C("ngIf",ZYb(b));z(4);C("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[bx,eA,dA,HI,LI,OB,NA,qD],styles:[".tooltip-panel{display:inline-block;margin:.1em}[_nghost-%COMP%] > a.needs-user-confirm[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline}.b-bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-width:1px;border-style:solid;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;box-shadow:0 4px 8px 3px rgba(60,64,67,.15);padding:9px;background-color:#fff;background-color:var(--surface-default)}.b-bubble[_ngcontent-%COMP%]   .gmat-caption[_ngcontent-%COMP%]{max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:4px}"],
changeDetection:0});var TI=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(B(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),Df());this.textDisplayPreferences$.pipe(B(function(c){return c.lastPublishMode===QRb}),Df());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(B(function(c){return c.commentDisplayOverride}),Df())};TI.\u0275fac=function(a){return new (a||TI)(n(tu),n(CI))};
TI.\u0275prov=Pc({token:TI,factory:TI.\u0275fac,providedIn:"root"});var $Yb=new Ud("IssueCard");var UI=function(){};UI.prototype.visit=function(){};UI.\u0275fac=function(a){return new (a||UI)};UI.\u0275prov=Pc({token:UI,factory:UI.\u0275fac,providedIn:"root"});var xva;var VI=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new vw;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};VI.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};VI.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
VI.prototype.getRoot=function(){var a;return null!=(a=yva(this.elementRef.nativeElement))?a:document};VI.\u0275fac=function(a){return new (a||VI)(A(Yd))};VI.\u0275dir=r({type:VI,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var WI=function(){};WI.\u0275fac=function(a){return new (a||WI)};WI.\u0275mod=fd({type:WI});WI.\u0275inj=Qc({});var aZb,bZb=Symbol("Oc"),cZb=Symbol("Pc"),XI=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new vw;this[aZb]=new T.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new T.BehaviorSubject(!1);this.closeHovercard$=new T.Subject};XI.prototype.ngOnInit=function(){};var dZb=function(a){var b=a[cZb];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[bZb].pipe(Cf(0))):(0,T.of)(void 0)};aZb=bZb;
XI.\u0275fac=function(a){return new (a||XI)(A(Pg))};
XI.\u0275cmp=r({type:XI,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&Sg(Og,7);if(a&2){var c;Rg(c=Ug())&&(b.templateRef=c.first)}},inputs:{className:"className"},outputs:{onHide:"onHide"},exportAs:["onedevHovercard"],ngContentSelectors:["*"],decls:1,vars:0,consts:[["cdkTrapFocus","",3,"cdkTrapFocusAutoCapture","clickOutside","mouseenter","mouseleave"]],template:function(a){a&1&&(wg(),O(0,zva,2,3,"ng-template"))},dependencies:[iy,VI],styles:[".onedev-hovercard{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);border-radius:4px;overflow:hidden}"],
encapsulation:2});var YI=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[cZb]=this};YI.\u0275fac=function(a){return new (a||YI)(A(Og),A(Pg),A(Vw),A(XI))};YI.\u0275dir=r({type:YI,selectors:[["","onedevHovercardLazyBody",""]]});var ZI=function(a){this.hovercard=a;this.destroyed$=new T.ReplaySubject(1)};ZI.prototype.ngOnDestroy=function(){this.destroyed$.next()};ZI.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(Rf(this.destroyed$)).subscribe(this.hovercard[bZb])};
ZI.\u0275fac=function(a){return new (a||ZI)(A(XI))};ZI.\u0275dir=r({type:ZI,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:["onedevIsHovercardReady","isHovercardReady$"]}});var eZb={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},fZb={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},gZb=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},fZb,{originX:"end",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:10,offsetY:10},{originX:"end",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:10,
offsetY:-10}];var $I=function(){this.delay=600;this.position=gZb;this.triggerKey=[]},aJ=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new $I;this.active=!1;this.hovercardShown$=new T.ReplaySubject(1);this.hide$=new T.Subject;this.hovercard$=new T.BehaviorSubject(null);this.isHovered$=new T.BehaviorSubject(!1);this.isKeyboardActivated$=new T.BehaviorSubject(!1);this.destroyed$=new T.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(hZb(c),
d.stopPropagation(),d.preventDefault())};iZb(this);this.handleClose()},iZb=function(a){jZb(a).pipe(Rf(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};aJ.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(Qf(function(b){return(null==b?void 0:b.closeHovercard$)||T.NEVER}),Rf(this.destroyed$)).subscribe(function(){hZb(a)})};aJ.prototype.dispose=function(){kZb(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
aJ.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};aJ.prototype.toggle=function(a){this.isHovered$.next(a)};var hZb=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
aJ.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,dZb(this.hovercard$.getValue()).pipe(Ef(),Rf(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};aJ.prototype.hide=function(){kZb(this);this.hide$.next()};
var kZb=function(a){if(a.overlayRef&&a.overlayRef.hasAttached()){document.removeEventListener("keydown",a.onDocumentKeyDown);var b;null!=(b=a.hovercard$.getValue())&&b.onHide.emit();a.overlayRef.detach()}};aJ.prototype.getPositionStrategy=function(){return Yz(Zz($z(bA(this.overlay.position(),this.origin)),8),this.config.position)};
var jZb=function(a){return(0,T.combineLatest)([lZb(a).pipe(Pf(!1)),a.isKeyboardActivated$]).pipe(Of(1),B(function(b){var c=m(b);b=c.next().value;c=c.next().value;return b||c}),Qf(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(If(b)))||(0,T.of)(b)}))},lZb=function(a){return a.hovercard$.pipe(Qf(function(b){return(0,T.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,T.of)(!1)]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c||d}),Af(a.config.delay),
Rf(a.destroyed$))}))};var mZb=new Ud("onedevHovercardLoggingOn"),bJ=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new $I;this.destroyed$=new T.ReplaySubject(1);this.triggerControl=new aJ(a,b);this.triggerControl.hovercardShown$.pipe(Tf(d||(0,T.of)(!1)),Rf(this.destroyed$)).subscribe(function(h){h=m(h);h.next();h.next().value&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(SC)),f.clientStreamzService.logUsageMetric("hovercardShown",!0))})};g=bJ.prototype;
g.ngOnChanges=function(a){if(a.hovercard){var b;a=null==(b=a.hovercard)?void 0:b.currentValue;this.triggerControl.hovercard$.next(a);if(a){b=this.triggerControl;var c=this.viewContainerRef;b.config=this.config;b.overlayRef=b.overlay.create({positionStrategy:b.getPositionStrategy(),scrollStrategy:b.overlay.scrollStrategies.reposition()});b.templatePortal=new qy(a.templateRef,c);b.hovercard$.next(a)}}};g.ngOnDestroy=function(){this.triggerControl.dispose();this.destroyed$.next();this.destroyed$.complete()};
g.isExpanded=function(){return this.triggerControl.isExpanded()};g.onKeyDown=function(a){if(this.config.triggerKey.includes(a.key)){var b=this.triggerControl;a.stopPropagation();a.preventDefault();b.isKeyboardActivated$.next(!0)}};g.toggle=function(a){this.triggerControl.toggle(a)};g.hide=function(){this.triggerControl.hide()};Ei.Object.defineProperties(bJ.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
bJ.\u0275fac=function(a){return new (a||bJ)(A(cA),A(Yd),A(Pg),A(mZb,8),A(Fv))};
bJ.\u0275dir=r({type:bJ,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&K("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("keydown.alt.arrowRight",function(c){var d=b.triggerControl;c.stopPropagation();c.preventDefault();d.isKeyboardActivated$.next(!0)})("keydown",function(c){return b.onKeyDown(c)});a&2&&dg("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:["onedevHovercardTrigger",
"hovercard"],enabled:["onedevHovercardActive","enabled"],config:["onedevHovercardConfig","config"]},features:[md]});var nZb=["el"],cJ=function(a){this.viewContainerRef=a};cJ.\u0275fac=function(a){return new (a||cJ)(A(Pg))};cJ.\u0275dir=r({type:cJ,selectors:[["","issueCardHost",""]]});var dJ=function(a,b){Z.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new T.ReplaySubject(1)};X(dJ,Z);dJ.\u0275dir=Z.\u0275dir;dJ.prototype.ngOnInit=function(){};
dJ.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(Rf(this.destroyed$)).subscribe(function(b){a.issueCard&&0!==b.length&&(b=a.issueCardHost.first.viewContainerRef.createComponent(a.issueCard),b.instance.issueId=a.issueId,b.instance.init.pipe(Ef(),Rf(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
dJ.prototype.visit=function(a){if(!np(a))if(this.commentNumber)this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+this.commentNumber,event:a});else{var b=this.href.indexOf("#");if(-1!==b&&(b=this.href.slice(b+1))){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:b,event:a});return}this.issueReferenceResolver.visit({issueId:this.issueId,event:a})}};dJ.\u0275fac=function(a){return new (a||dJ)(A(UI),A($Yb,8))};
dJ.\u0275cmp=r({type:dJ,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(Sg(nZb,7),Sg(cJ,5));if(a&2){var c;Rg(c=Ug())&&(b.el=c.first);Rg(c=Ug())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[$f],ngContentSelectors:["*"],decls:6,vars:3,consts:[["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger","onedevHovercardActive","href","click"],["el",""],[3,"onedevIsHovercardReady"],
["issueCardHost",""]],template:function(a,b){a&1&&(wg(),D(0,"onedev-hovercard",null,0),O(2,Ava,2,1,"div",1),E(),D(3,"a",2,3),K("click",function(d){return b.visit(d)}),xg(5),E());if(a&2){var c=N(1);z(3);C("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,ue)}},dependencies:[XI,YI,bJ,ZI,cJ],encapsulation:2,changeDetection:0});var oZb=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.createdTimeMicros=this.authorUser=this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=this.version=null;this.title="";this.verifierUser=this.verifier=this.assigneeUser=this.assignee=this.reporterUser=this.reporter=null;this.cc=[];this.ccUsers=[];this.collaborators=[];this.collaboratorsUsers=[];this.hotlistId=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=
this.postmortems=this.changelist=this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=this.attachmentId=null;this.customField=[];this.duplicateIssueId=this.significanceOverride=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloSnoozeUntil=null;this.status="NEW"};
oZb.prototype.setData=function(a,b,c){this.issueId=b;a=nj(a);a.status=a.status||"NEW";a.blockingIssueId=a.blockingIssueId||[];a.componentId=a.componentId||0;a.changelist=a.changelist||[];a.postmortems=a.postmortems||[];a.blockedByIssueId=a.blockedByIssueId||[];a.foundInVersion=a.foundInVersion||[];a.hotlistId=a.hotlistId||[];a.targetedToVersion=a.targetedToVersion||[];a.verifiedInVersion=a.verifiedInVersion||[];a.customField=a.customField||[];a.deletionReason=a.deletionReason||null;a.duplicateOfIssueId=
a.duplicateOfIssueId||null;a.isDeleted=a.isDeleted||!1;this.originalModelData=nj(a);this.assignee=Gj(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.authorUser=a.authorUser;this.attachmentId=a.attachmentId;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=Ij(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=Ij(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.changelist=a.changelist;this.componentId=a.componentId||
0;this.createdTimeMicros=a.createdTimeMicros;this.deletionReason=a.deletionReason;this.duplicateIssueId=a.duplicateIssueId;this.duplicateOfIssueId=a.duplicateOfIssueId;this.foundInVersion=a.foundInVersion;this.hotlistId=a.hotlistId;this.inProd=a.inProd;this.isArchived=a.isArchived;this.isDeleted=a.isDeleted;this.postmortems=a.postmortems;this.priority=a.priority;this.reporter=Gj(a.reporterUser);this.reporterUser=a.reporterUser;this.severity=a.severity;this.significanceOverride=a.significanceOverride;
this.status=a.status||"NEW";this.targetedToVersion=a.targetedToVersion;this.title=a.title;this.type=a.type;this.user=Gj(a.authorUser);this.verifiedInVersion=a.verifiedInVersion;this.verifier=Gj(a.verifierUser);this.verifierUser=a.verifierUser;this.version=a.version;this.sloSnoozeUntil=a.sloSnoozeUntil;this.sloSnoozeType=a.sloSnoozeType;var d,e;this.effortEstimate=null!=(e=null==(d=a.effort)?void 0:d.estimate)?e:null;this.customField=[];a&&(this.customField=(a.customField||[]).filter(function(f){return f}).map(function(f){return new pZb(f)}));
d={};c=m(c);for(e=c.next();!e.done;d={$jscomp$loop$prop$fieldResource$2153:d.$jscomp$loop$prop$fieldResource$2153},e=c.next())d.$jscomp$loop$prop$fieldResource$2153=e.value,e=d.$jscomp$loop$prop$fieldResource$2153.allowedValue?d.$jscomp$loop$prop$fieldResource$2153.allowedValue.map(function(f){return{value:f,displayText:f}}):null,(a=this.customField.find(function(f){return function(h){return h.customFieldId===f.$jscomp$loop$prop$fieldResource$2153.customFieldId}}(d)))?(a.type=d.$jscomp$loop$prop$fieldResource$2153.type,
a.customFieldName=d.$jscomp$loop$prop$fieldResource$2153.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2153.customFieldId)]=a):(a=new pZb({customFieldId:d.$jscomp$loop$prop$fieldResource$2153.customFieldId}),a.type=d.$jscomp$loop$prop$fieldResource$2153.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2153.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2153.customFieldId)]=a)};
var rZb=function(a){for(var b=[],c=m(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=qZb(a,d.customFieldId);e=e?e.getValue():null;var f=d.getValue();if(!mj(e,f)){if(e=d.isEmpty())d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){eJ(Gj(a.originalModelData.assigneeUser),a.assignee,"assignee",b);eJ(a.originalModelData.componentId,a.componentId,"componentId",b);eJ(a.originalModelData.createdTimeMicros,
a.createdTimeMicros,"createdTimeMicros",b);eJ(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",b);eJ(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);eJ(a.originalModelData.inProd,a.inProd,"inProd",b);eJ(a.originalModelData.isArchived,a.isArchived,"isArchived",b);eJ(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);eJ(a.originalModelData.priority,a.priority,"priority",b);eJ(Gj(a.originalModelData.reporterUser),a.reporter,"reporter",b);
eJ(a.originalModelData.severity,a.severity,"severity",b);eJ(a.originalModelData.significanceOverride,a.significanceOverride,"significanceOverride",b);eJ(a.originalModelData.status,a.status,"status",b);eJ(a.originalModelData.title,a.title,"title",b);eJ(a.originalModelData.type,a.type,"type",b);eJ(Gj(a.originalModelData.authorUser),a.user,"user",b);eJ(Gj(a.originalModelData.verifierUser),a.verifier,"verifier",b);eJ(a.originalModelData.version,a.version,"version",b);var h,l,q,u;eJ(null!=(q=null==(h=
a.originalModelData.sloSnoozeUntil)?void 0:h.seconds)?q:null,null!=(u=null==(l=a.sloSnoozeUntil)?void 0:l.seconds)?u:null,"sloSnoozeUntil",b);eJ(a.originalModelData.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var x,y;eJ(null!=(y=null==(x=a.originalModelData.effort)?void 0:x.estimate)?y:null,a.effortEstimate,"effortEstimate",b);fJ(a.originalModelData.attachmentId,a.attachmentId,"attachmentId",b);fJ(Ij(a.originalModelData.ccUsers),a.cc,"ccs",b);fJ(Ij(a.originalModelData.collaboratorsUsers),a.collaborators,
"collaborators",b);fJ(a.originalModelData.changelist,a.changelist,"changelists",b);fJ(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);fJ(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);fJ(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);fJ(a.originalModelData.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);fJ(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);fJ(a.originalModelData.hotlistId,
a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},eJ=function(a,b,c,d){a!==b&&d.push({fieldName:c,value:null!=b?String(b):void 0})},fJ=function(a,b,c,d){var e=Dna(b||[],new Set(a));a=Dna(a||[],new Set(b));e.length&&d.push({fieldName:c,value:e.join(","),actionType:"ADD"});a.length&&d.push({fieldName:c,value:a.join(","),actionType:"REMOVE"})};g=oZb.prototype;
g.setCustomField=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "UNKNOWN":break;case "TEXT":this.customFieldMap[a].textValue=b||"";break;case "DATE":this.customFieldMap[a].dateValue=b||void 0;break;case "ENUM":this.customFieldMap[a].enumValue=b||"";break;case "NUMERIC":this.customFieldMap[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldMap[a].repeatedTextValue={values:b};break;case "REPEATED_DATE":this.customFieldMap[a].repeatedDateValue=
{values:b};break;case "REPEATED_ENUM":this.customFieldMap[a].repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":this.customFieldMap[a].repeatedNumericValue={values:b};break;default:Qi(c,"Unexpected custom field type: "+c)}}};g.setIsDeleted=function(a){this.isDeleted=a};g.setIsArchived=function(a){this.isArchived=a};g.setDeletionReason=function(a){this.deletionReason=a};g.setReporter=function(a){this.reporter=a};g.setType=function(a){this.type=a};g.setPriority=function(a){this.priority=a};
g.setSeverity=function(a){this.severity=a};g.setAssignee=function(a){this.assignee=a;a=ln[this.status];!this.assignee&&this.originalModelData&&Gj(this.originalModelData.assigneeUser)&&"REQUIRED"===(null==a?void 0:a.assigneeRequirement)?this.status="NEW":this.assignee&&"FIXED"!==this.status&&"VERIFIED"!==this.status&&(this.status="ASSIGNED")};
g.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&Gj(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=ln[this.status];"FORBIDDEN"===(null==a?void 0:a.assigneeRequirement)&&this.assigneeUser?this.assignee="":"REQUIRED"!==(null==a?void 0:a.assigneeRequirement)||this.assigneeUser||(this.assignee=this.currentUserEmail);"VERIFIED"!==this.status||this.verifier||(this.verifier=this.currentUserEmail)};g.setInProd=function(a){this.inProd=a};g.setSloSnoozeUntil=function(a){this.sloSnoozeUntil=a};g.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var qZb=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?new Bj(a):null:null},pZb=function(a){Bj.call(this,a);this.choices=this.customFieldName=this.type=null};X(pZb,Bj);pZb.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var sZb=new Map([["assignee",function(a,b){a.assigneeUser=Oj(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(Oj).filter(Vj)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=Oj(b.reporter)}],["verifier",function(a,b){a.verifierUser=Oj(b.verifier)}],["componentId",function(a,b){a.componentId=b.componentId}],["createdTimeMicros",function(a,b){a.createdTimeMicros=b.createdTimeMicros}],["deletionReason",
function(a,b){a.deletionReason=b.deletionReason}],["duplicateOfIssueId",function(a,b){a.duplicateOfIssueId=b.duplicateOfIssueId}],["inProd",function(a,b){a.inProd=b.inProd}],["isArchived",function(a,b){a.isArchived=b.isArchived}],["isDeleted",function(a,b){a.isDeleted=b.isDeleted}],["priority",function(a,b){a.priority=b.priority}],["severity",function(a,b){a.severity=b.severity}],["significanceOverride",function(a,b){a.significanceOverride=b.significanceOverride}],["status",function(a,b){a.status=
b.status}],["title",function(a,b){a.title=b.title}],["type",function(a,b){a.type=b.type}],["user",function(a,b){a.authorUser=b.authorUser}],["version",function(a,b){a.version=b.version}],["attachmentId",function(a,b){a.attachmentId=b.attachmentId}],["blockedByIssueId",function(a,b){a.blockedByIssueId=b.blockedByIssueId}],["blockingIssueId",function(a,b){a.blockingIssueId=b.blockingIssueId}],["foundInVersion",function(a,b){a.foundInVersion=b.foundInVersion}],["targetedToVersion",function(a,b){a.targetedToVersion=
b.targetedToVersion}],["verifiedInVersion",function(a,b){a.verifiedInVersion=b.verifiedInVersion}]]);var gJ=function(a){this.$window=a};gJ.\u0275fac=function(a){return new (a||gJ)(n(SE))};gJ.\u0275prov=Pc({token:gJ,factory:gJ.\u0275fac,providedIn:"root"});var hJ=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},Kp=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"};hJ.prototype.getIssueAccessLimit=function(){return""};
var tZb=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":Kp(a)},Nub=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access"},uZb=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},vZb=function(a){return uZb(a)+"#recommended-access-settings"},
hlb=function(a){return Kp(a)+"#expanded-access-on-components"},wZb=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"#terms_of_service":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/public-access#spam"},Pdb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},xZb=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#creating-moving-issues"},
nu=function(){return"http://go/buganizer-retention"};hJ.prototype.getRestrictedAccessHelpLink=function(){return this.session.isExternalSession()?"https://developers.google.com/issue-tracker/concepts/restricted-content":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/restricted-access"};var Wvb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};hJ.prototype.getDisablingFieldsHelpLink=function(){return Wvb()+"#hiding-inherited-fields"};
var yZb=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};hJ.\u0275fac=function(a){return new (a||hJ)(n(tu))};hJ.\u0275prov=Pc({token:hJ,factory:hJ.\u0275fac,providedIn:"root"});var iJ=function(a,b){this.dialogRef=a;this.data=b;this.confirmButtonTheme=b.isDestructive?"warn":"primary";var c;this.cancelButtonText=null!=(c=b.cancelButtonText)?c:"Cancel";var d;this.confirmButtonText=null!=(d=b.confirmButtonText)?d:"Confirm";var e;this.showCancelButton=null!=(e=b.showCancelButton)?e:!0};iJ.\u0275fac=function(a){return new (a||iJ)(A(ZA),A(aB))};
iJ.\u0275cmp=r({type:iJ,selectors:[["b-confirmation-dialog"]],decls:7,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","","class","gmat-button medium",3,"click",4,"ngIf"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium",3,"color","click"],["mat-button","",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),F(2,"div",1),D(3,"div",2),O(4,Eva,2,1,"button",3),D(5,"button",4),K("click",
function(){return b.dialogRef.close(!0)}),P(6),E()());a&2&&(z(1),Bg(b.data.title),z(1),C("innerHTML",b.data.content,te),z(2),C("ngIf",b.showCancelButton),z(1),C("color",b.confirmButtonTheme),z(1),Q(" ",b.confirmButtonText," "))},dependencies:[bx,NA,dB,eB,fB],encapsulation:2});var jJ=function(a){this.dialog=a},zZb=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
jJ.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;XA(this.dialog.open(iJ,{data:{title:a.title,content:a.content,isDestructive:a.isDestructive,cancelButtonText:a.cancelButtonText,confirmButtonText:a.confirmButtonText,showCancelButton:a.showCancelButton},maxWidth:"500px"})).subscribe(function(d){d?null==b||b():null==c||c()})};jJ.\u0275fac=function(a){return new (a||jJ)(n(bB))};jJ.\u0275prov=Pc({token:jJ,factory:jJ.\u0275fac,providedIn:"root"});var kJ=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},AZb=function(a,b){return new Promise(function(c){lJ(a,b,function(){c(!0)},function(){c(!1)})})},lJ=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=xp("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},f=Ap(zv('A security "Vulnerability" is a weakness in software and hardware components that, when exploited, results in a negative impact to confidentiality, integrity, or availability. \n\nThis issue type is subject to stricter SLOs than other types. Please refer to the security guidelines for more information on on proper usage.\n\n'),
zp("A",(b.href="http://goto.google.com/vulnerability-slo",b.target="_blank",b),"Learn more"));else if("PRIVACY_ISSUE"===b){e="Set the issue type to \u201cPrivacy Issue\u201d?";b={};f={};var h={};f=Ap(zv('The "Privacy Issue" type tracks situations in which Google systems risk falling out of alignment with internal privacy  standards and requirements, and is subject to stricter SLOs than other types. '),zp("A",(b.href="http://goto.google.com/pib-slo",b.target="_blank",b),"Learn more"),zv(".\n\nDO NOT use this type to file "),
zp("A",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),zv(". Incidents should be filed at "),zp("A",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),zv(".\n\nDO NOT use this type unless you are on one of the following teams or have been specifically requested by one of these teams to file a Privacy Issue bug: Privacy Incident Management, Privacy Investigations, Privacy Remediation."))}a.confirmationDialogService.open({title:e,
content:f,onConfirm:null!=c?c:function(){},onDismiss:null!=d?d:function(){}})}};kJ.\u0275fac=function(a){return new (a||kJ)(n(tu),n(hJ),n(jJ))};kJ.\u0275prov=Pc({token:kJ,factory:kJ.\u0275fac,providedIn:"root"});var CZb=function(a){Y.call(this,a,-1,BZb)};X(CZb,Y);var BZb=[1];CZb.messageId="b.TimeZoneDataList";var mJ=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new uXb(function(d){a:{var e=m(c.activeSession.session.preload.timezones);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d===f.timeZoneId_){e=f;break a}e=void 0}return e?(0,T.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:Tm}).pipe(B(pqa))},10)};mJ.prototype.get=function(a){return this.memoized.get(a)};
var DZb=function(a){return a.executor.get({url:"action/timezone",responseConstructor:CZb}).pipe(B(function(b){return null==b?void 0:fj(b,Tm,1).map(function(c){c=pqa(c);var d=tKb(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_}})}))};mJ.\u0275fac=function(a){return new (a||mJ)(n(nE),n(tu))};mJ.\u0275prov=Pc({token:mJ,factory:mJ.\u0275fac,providedIn:"root"});var EZb=Hva({PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5}),FZb=Hva({STATUS_UNSPECIFIED:0,NEW:1,ASSIGNED:2,ACCEPTED:3,FIXED:4,VERIFIED:5,NOT_REPRODUCIBLE:6,INTENDED_BEHAVIOR:7,OBSOLETE:8,INFEASIBLE:9,DUPLICATE:10}),GZb=Hva({TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PROJECT:8,FEATURE:9,MILESTONE:10,EPIC:11,STORY:12,TASK:13});var nJ={},oJ=(nJ.BUG="Unintended behavior",nJ.FEATURE_REQUEST="Request for new functionality",nJ.CUSTOMER_ISSUE="Issue affecting a 3rd party",nJ.INTERNAL_CLEANUP="Maintenance work",nJ.PROCESS="Miscellaneous non-feature work",nJ.VULNERABILITY="A security concern",nJ.PRIVACY_ISSUE="A privacy concern",nJ.PROJECT="Goal-driven effort",nJ.FEATURE="A collection of work",nJ.MILESTONE="An important achievement",nJ.EPIC="A large collection of work",nJ.STORY="A small collection of work",nJ.TASK="A small unit of work",
nJ.TYPE_UNSPECIFIED="Unspecified",nJ),HZb="TYPE_UNSPECIFIED BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),IZb="PRIORITY_UNSPECIFIED P0 P1 P2 P3 P4".split(" ").slice(1),JZb="STATUS_UNSPECIFIED NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" ").slice(1),pJ=HZb.slice(1),KZb=["S0","S1","S2","S3","S4"],LZb=HZb.slice(1,8),qJ={},MZb=(qJ.PRIORITY_UNSPECIFIED=
"(Unspecified Priority)",qJ.P0="P0",qJ.P1="P1",qJ.P2="P2",qJ.P3="P3",qJ.P4="P4",qJ),rJ={},NZb=(rJ.TYPE_UNSPECIFIED="(Unspecified Issue Type)",rJ.BUG="Bug",rJ.FEATURE_REQUEST="Feature Request",rJ.CUSTOMER_ISSUE="Customer Issue",rJ.INTERNAL_CLEANUP="Internal Cleanup",rJ.PROCESS="Process",rJ.VULNERABILITY="Vulnerability",rJ.PRIVACY_ISSUE="Privacy Issue",rJ.PROJECT="Project",rJ.FEATURE="Feature",rJ.MILESTONE="Milestone",rJ.EPIC="Epic",rJ.STORY="Story",rJ.TASK="Task",rJ),OZb=IZb.map(function(a){return MZb[a]}),
PZb=pJ.map(function(a){return NZb[a]}),QZb=new Map([[1,oJ.BUG],[2,oJ.FEATURE_REQUEST],[3,oJ.CUSTOMER_ISSUE],[4,oJ.INTERNAL_CLEANUP],[5,oJ.PROCESS],[6,oJ.VULNERABILITY],[7,oJ.PRIVACY_ISSUE],[8,oJ.PROJECT],[9,oJ.FEATURE],[10,oJ.MILESTONE],[11,oJ.EPIC],[12,oJ.STORY],[13,oJ.TASK]]),RZb=new Map([["BUG",oJ.BUG],["FEATURE_REQUEST",oJ.FEATURE_REQUEST],["CUSTOMER_ISSUE",oJ.CUSTOMER_ISSUE],["INTERNAL_CLEANUP",oJ.INTERNAL_CLEANUP],["PROCESS",oJ.PROCESS],["VULNERABILITY",oJ.VULNERABILITY],["PRIVACY_ISSUE",oJ.PRIVACY_ISSUE],
["PROJECT",oJ.PROJECT],["FEATURE",oJ.FEATURE],["MILESTONE",oJ.MILESTONE],["EPIC",oJ.EPIC],["STORY",oJ.STORY],["TASK",oJ.TASK]]),SZb=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),TZb=pJ.map(function(a){return{value:a,displayText:Ym(a),altText:RZb.get(a)}}),sJ=function(){this.protoIssueTypesEnumStrings=new Map(dn(GZb,pJ));this.protoIssueStatusesEnumStrings=new Map(dn(FZb,JZb));this.priorities=IZb;this.severities=KZb;this.issueTypes=LZb;this.editIssueTypes=pJ;this.editIssueTypeChoices=
TZb;dn(pJ,PZb);this.protoIssuePrioritiesDisplayNames=new Map(dn(EZb,OZb));this.protoIssueTypesDisplayNames=new Map(dn(GZb,PZb));this.protoIssueTypesShortDescriptions=QZb;this.issueTypesShortDescriptions=RZb;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};sJ.\u0275fac=function(a){return new (a||sJ)};sJ.\u0275prov=Pc({token:sJ,factory:sJ.\u0275fac,providedIn:"root"});var tJ=function(a,b,c,d){Z.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new T.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=QE.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(f){if(""===f.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(f.id).pipe(Rf(e.destroyed$));return(0,T.firstValueFrom)(h).then(function(l){return{name:f.name,timeZone:l}})})).then(function(f){f=m(f);for(var h=f.next();!h.done;h=
f.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(Rf(e.destroyed$)).subscribe(function(l){l.dateTimePreferences&&(l=l.dateTimePreferences,e.userPrefs=l,e.userTimeZone=e.timeZones[l.timeZone],e.formatPrefChange$.next())})}).catch(function(f){e.errorHandler.errorHandler(null,f)})};X(tJ,Z);tJ.\u0275dir=Z.\u0275dir;tJ.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new xB(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var UZb=function(a,b){return a.formatPrefChange$.subscribe(b)};tJ.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};tJ.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};tJ.\u0275fac=function(a){return new (a||tJ)(n(CI),n(mJ),n(sJ),n(qG))};tJ.\u0275prov=Pc({token:tJ,factory:tJ.\u0275fac,providedIn:"root"});var uJ=function(a){this.dateFormatter=a};
uJ.prototype.format=function(a){var b=this;if(a){if(a.textValue)return a.textValue;if(a.dateValue)return(a=a.dateValue)&&a.day&&a.month&&a.year?this.dateFormatter.formatUserCalendar(kj(a)):"";if(a.enumValue)return a.enumValue;if(a.numericValue||0===a.numericValue)return String(a.numericValue);if(a.repeatedTextValue)return a.repeatedTextValue.values.join(", ");if(a.repeatedDateValue)return a.repeatedDateValue.values.map(function(c){return b.dateFormatter.formatUserCalendar(kj(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};uJ.\u0275fac=function(a){return new (a||uJ)(n(tJ))};uJ.\u0275prov=Pc({token:uJ,factory:uJ.\u0275fac,providedIn:"root"});var vJ=function(a,b){this.customFieldFormatter=a;this.hotlistFridge=b;this.FIELD_TEXT_MAP={assignee:"Assignee",type:"Issue Type",componentId:"Component ID",duplicateOfIssueId:"Canonical Issue ID",inProd:"In Prod",priority:"Priority",severity:"Severity",status:"Status",title:"Title",verifier:"Verifier",effortEstimate:"Estimated Effort",sloSnoozeUntil:"SLO Snooze Until",blockingIssueId:"Blocked Issues",ccs:"CCs",changelists:"Changelists",blockedByIssueId:"Blocking Issues",foundInVersion:"Found In",
hotlists:"Hotlists",targetedToVersion:"Targeted To",verifiedInVersion:"Verified In"};this.ENUM_FIELDS=["type","status"]},XZb=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=Gva(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=Fva(b.bulkEditOps));b=VZb(f).map(function(h){return WZb(a,h,c,d)});b=b.filter(Boolean);if(!b.length)return"Issue(s) updated.";b=b.join(", ");return b=e?1==e.length?b+" on 1 issue.":b+(" on "+e.length+" issues."):b+"."},VZb=function(a){var b=
[],c=[];a=m(a);for(var d=a.next();!d.done;d=a.next())d=d.value,"status"===d.fieldName?c.push(d):b.push(d);return b.concat(c)},WZb=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,f=b.value||"<none>";b.customFieldValue?(d=new Bj(b.customFieldValue),e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,f=a.customFieldFormatter.format(d)||"<none>"):e="effortEstimate"===b.fieldName&&d?d:a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName;"hotlists"===
b.fieldName?f=b.value.split(",").map(function(h){var l,q;return(l=null==(q=ep(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?Ej(f.replace(/_/g," ").toLowerCase()):"");return"ADD"===b.actionType&&"hotlists"===b.fieldName?(f=f.replace(/,/g,", "),"Added issue to Hotlist ["+f+"]"):"REMOVE"===b.actionType&&"hotlists"===b.fieldName?(f=f.replace(/,/g,", "),"Removed issue from Hotlist ["+f+"]"):"ADD"===b.actionType&&
"parentId"===b.fieldName?"Added child issue(s) to parent ["+f+"]":"REMOVE"===b.actionType&&"parentId"===b.fieldName?"Unlinked child issue(s) from parent ["+f+"]":b.actionType||"status"!==b.fieldName?b.actionType||"comment"!==b.fieldName?b.actionType||"attachments"!==b.fieldName?b.actionType||"sloSnoozeUntil"!==b.fieldName?"ADD"!==b.actionType||b.customFieldValue?"REMOVE"!==b.actionType||b.customFieldValue?"isArchived"===b.fieldName?"true"===b.value?"Archived successfully":"Unarchived successfully":
e+' set to "'+f+'"':(f=f.replace(/,/g,", "),'"'+f+'" removed from '+e):(f=f.replace(/,/g,", "),'"'+f+'" added to '+e):b.value?"SLO snoozed":"SLO un-snoozed":"":"Comment added":'Status set to "'+ln[b.value].displayValue+'"'};vJ.\u0275fac=function(a){return new (a||vJ)(n(uJ),n(xH))};vJ.\u0275prov=Pc({token:vJ,factory:vJ.\u0275fac,providedIn:"root"});var wJ=function(a){Y.call(this,a,-1,YZb)};X(wJ,Y);wJ.prototype.getAttachmentsList=function(){return fj(this,YE,1)};wJ.prototype.setAttachmentsList=function(a){Sb(this,1,a)};var YZb=[1];wJ.messageId="b.CreateAttachmentsResponse";var xJ=function(a){Y.call(this,a)};X(xJ,Y);xJ.prototype.getErrorMessage=function(){return lk(this,2)};xJ.prototype.setErrorMessage=function(a){k(this,2,a)};xJ.messageId="b.EncryptedMediaResponse";var ZZb=function(){},yJ=function(a){this.executor=a};X(yJ,ZZb);var $Zb=function(a,b){var c=new CRb;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&k(c,3,b.encryptedBlobId);k(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:xJ}).then(upa)};yJ.\u0275fac=function(a){return new (a||yJ)(n(oE))};yJ.\u0275prov=Pc({token:yJ,factory:yJ.\u0275fac,providedIn:"root"});var zJ=function(){};zJ.\u0275fac=function(a){return new (a||zJ)};zJ.\u0275prov=Pc({token:zJ,factory:zJ.\u0275fac,providedIn:"root"});var AJ=function(a){this.executor=a};X(AJ,zJ);AJ.prototype.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/attachments/"+b.attachmentId+"/delete",options:{headers:{"If-Match":b.etag},params:{reason:c}},responseConstructor:null})};
AJ.prototype.undelete=function(a,b){return this.executor.post({url:"action/issues/"+a+"/attachments/"+b.attachmentId+"/undelete",body:null,options:{headers:{"If-Match":b.etag}},responseConstructor:YE}).then(pl)};AJ.\u0275fac=function(a){return new (a||AJ)(n(oE))};AJ.\u0275prov=Pc({token:AJ,factory:AJ.\u0275fac,providedIn:"root"});var Iva=function(a){Y.call(this,a)};X(Iva,Y);var a_b=function(a){Y.call(this,a)};X(a_b,Y);a_b.messageId="b.PrincipalTypeInfoBatchResponse";var BJ=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(b_b(this,!1));this.principalTypeWithDetailGetter=b.adapt(b_b(this,!0))},b_b=function(a,b){return function(c){return c_b(a.principalResources,c,b).then(function(d){return Mva(c,d)})}};BJ.prototype.get=function(a){return CJ(this,a,!1)};var CJ=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:Nva()})};
BJ.\u0275fac=function(a){return new (a||BJ)(n(DJ),n(YF))};BJ.\u0275prov=Pc({token:BJ,factory:BJ.\u0275fac,providedIn:"root"});var DJ=function(a){this.executor=a},c_b=function(a,b,c){var d={};d.email=cn(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:a_b}).then(Lva).then(function(e){for(var f={},h=m(b),l=h.next();!l.done;l=h.next()){l=l.value;var q=void 0;f[l]=null!=(q=e[l])?q:Nva()}return f})};
DJ.\u0275fac=function(a){return new (a||DJ)(n(oE))};DJ.\u0275prov=Pc({token:DJ,factory:DJ.\u0275fac,providedIn:"root"});var EJ=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};EJ.prototype.close=function(a){this.dialogRef.close(a)};EJ.\u0275fac=function(a){return new (a||EJ)(A(ZA),A(hJ),A(aB))};
EJ.\u0275cmp=r({type:EJ,selectors:[["confirm-no-access-dialog"]],decls:18,vars:2,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngFor","ngForOf"],["mat-dialog-actions",""],[1,"help-label"],["target","_blank",3,"href"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"h1",1),P(2,"User may not have access"),E(),D(3,"section",2)(4,"p"),P(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
E(),D(6,"ul"),O(7,Ova,2,1,"li",3),E(),D(8,"section"),P(9,"Continue anyway?"),E()(),D(10,"footer",4)(11,"div",5)(12,"a",6),P(13,"Learn more"),E()(),D(14,"button",7),K("click",function(){return b.close(!0)}),P(15,"Continue"),E(),D(16,"button",8),K("click",function(){return b.close(!1)}),P(17,"Cancel"),E()()());a&2&&(z(7),C("ngForOf",b.userEmails),z(5),C("href",b.readMoreLink,ue))},dependencies:[ax,NA,dB,eB,fB],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var FJ=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},GJ=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,f=b.analyticsEventLabel,h,l,q;return Ze(function(u){switch(u.nextAddress){case 1:if(d.every(function(x){return 0===x.length}))return u.return(!0);$e(u,2);return af(u,d_b(a,c,d,e),4);case 4:h=u.yieldResult;if(0===h.length)return u.return(!0);Lp(a.analytics,Mp.ADD_USER_WITHOUT_ACCESS,"warn",f);return af(u,a.confirm(h,
e),5);case 5:l=u.yieldResult;if(!l)return nG(a.butterBar,"Save cancelled.",4E3),Lp(a.analytics,Mp.ADD_USER_WITHOUT_ACCESS,"cancel",f),u.return(!1);Lp(a.analytics,Mp.ADD_USER_WITHOUT_ACCESS,"proceed",f);return u.return(!0);case 2:return q=df(u),a.logger.error(q),u.return(!1)}})},d_b=function(a,b,c,d){var e;return Ze(function(f){if(1==f.nextAddress)return af(f,a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(p(e.noAccessEmails||[]),p(e.unknownEmails||
[])))})};FJ.prototype.confirm=function(a,b){var c=this,d,e,f;return Ze(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(EJ,{width:"400px",data:d}),af(h,(0,T.firstValueFrom)(XA(e)),2);f=h.yieldResult;return h.return(!!f)})};FJ.\u0275fac=function(a){return new (a||FJ)(n(bB),n(LH),n(mG),n(pG),n(zG))};FJ.\u0275prov=Pc({token:FJ,factory:FJ.\u0275fac,providedIn:"root"});var HJ=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};HJ.prototype.cancel=function(){this.state=4};var e_b={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var IJ=function(a,b){this.initialComment=a=void 0===a?"":a;this.fromTemplate=void 0===b?!1:b;this.uploads=[];this.formattingMode="PLAIN";this.value=a};IJ.prototype.reset=function(){this.value="";f_b(this)};
var f_b=function(a){for(var b=m(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},g_b=function(a){return a.fromTemplate&&a.initialComment===a.value},h_b=function(a){var b=[];a=m(a.uploads);for(var c=a.next();!c.done;c=a.next())c=c.value,2===c.state&&c.blobRef&&b.push(nj(c.blobRef));return b};IJ.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var i_b=function(a){return!a.isEmpty()&&!Keb(a)};IJ.prototype.isEmpty=function(){return!this.value&&!j_b(this)};
var Keb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},j_b=function(a){return a.uploads.some(function(b){return 2===b.state})};var JJ=new Ud("routeParams",{factory:function(){return Zc(wI).params}});var KJ=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};KJ.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,T.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=sj(this.routeParams.template_comment)||1;return(0,T.defer)(function(){return k_b(b,c,d,b.routeParams.do_attribution)})}return a?(0,T.of)(this.draftStore.$window.sessionStorage.getItem(tp(a))||""):(0,T.of)("")};
var k_b=function(a,b,c,d){var e,f,h,l,q;return Ze(function(u){if(1==u.nextAddress)return $e(u,2),af(u,a.issueComments.get(b,c),4);if(2!=u.nextAddress)return e=u.yieldResult,f=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(l="> From issue "+b+" on "+h+":",u.return(l+"\n\n"+f)):u.return(f);q=df(u);sG(a.errorHandler,q);return u.return("")})};KJ.\u0275fac=function(a){return new (a||KJ)(n(JJ),n(pI),n(gJ),n(qG))};KJ.\u0275prov=Pc({token:KJ,factory:KJ.\u0275fac,providedIn:"root"});var l_b=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFetchResponseFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issueFr$=UH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFr$.pipe(B(function(h){return null==h?void 0:h.issue}));this.componentId$=this.issue$.pipe(B(function(h){return null==h?void 0:h.snapshot[0].componentId}),Df());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(Pf(""),Df(),Tf(this.userPreferencesManager.lastPublishModeProto$),
B(function(h){var l=m(h);h=l.next().value;l=l.next().value;h=new IJ(h);h.formattingMode=l;return h}),Nf({bufferSize:1,refCount:!0}));this.comment=function(){return ep(f.comment$)};this.createRestrictedResourcesComponentWhitelist=this.activeSession.session.config.createRestrictedSubresourcesComponentWhitelist;this.componentJudgementForNewContent$=this.componentId$.pipe(B(function(h){if(h&&f.createRestrictedResourcesComponentWhitelist.includes(h))return(new mk).setSeverity(2).setJudgementReason("None Specified")}),
Nf({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=new T.BehaviorSubject(void 0);this.judgementForNewContent$=(0,T.combineLatest)([this.componentJudgementForNewContent$.pipe(Pf(void 0)),this.userDefinedJudgementForNewContent$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return null!=l?l:h}),Nf({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return ep(f.judgementForNewContent$)}},m_b=function(a){var b=a.comment(),c,d=1===(null==(c=a.judgementForNewContent())?
void 0:c.getSeverity())?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=m(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,2===f.state&&f.blobRef&&(f=nj({attachment:f.blobRef}),d&&(f.contentJudgement={severity:gk(d.getSeverity()),judgementReason:d.getJudgementReason()}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},n_b=function(a){var b=m_b(a),c=b.attachmentsWithJudgements;a={issueId:a.issueId,actions:[]};
b.commentText&&a.actions.push({fieldName:"comment"});c.length&&a.actions.push({fieldName:"attachments"});return a},LJ=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};LJ.prototype.create=function(a){return new l_b(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};LJ.\u0275fac=function(a){return new (a||LJ)(n(KJ),n(TH),n(tu),n(CI))};
LJ.\u0275prov=Pc({token:LJ,factory:LJ.\u0275fac,providedIn:"root"});var MJ=function(){};MJ.prototype.isSloSnoozed=function(a){return!!a&&a.seconds>Date.now()/1E3};
var NJ=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},OJ=function(a){return NJ(a.assignmentBounds)||NJ(a.responseBounds)||NJ(a.closureBounds)},o_b=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&Pva(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&Pva(b,c,a.responseBounds,"RESPONSE");a.closureBounds&&Pva(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(Qva),b[0]):0<c.length?(c.sort(Qva),{sloBounds:c[0].sloBounds,sloMetric:""}):null};
MJ.\u0275fac=function(a){return new (a||MJ)};MJ.\u0275prov=Pc({token:MJ,factory:MJ.\u0275fac,providedIn:"root"});var p_b=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFetchResponseFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=Qp(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=UH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFetchResponse$.pipe(B(function(h){return null==
h?void 0:h.issue}));this.issueSnapshot$=this.issue$.pipe(B(function(h){return null==h?void 0:h.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(B(function(h){var l;return null==h?void 0:null==(l=h.aggregatedData)?void 0:l.sloStatus}),B(function(h){return!!h&&OJ(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(B(function(h){return null!=(null==h?void 0:h.type)&&SZb.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(B(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,T.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(B(function(h){return!h}));this.isChangelistPrimary$=(0,T.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return!h||"STORY"===(null==l?void 0:l.type)||"TASK"===(null==l?void 0:l.type)}));this.customFields$=this.issueFetchResponse$.pipe(B(function(h){var l;
return null!=(l=null==h?void 0:h.customFields)?l:[]}));this.visibleFields$=this.issue$.pipe(B(function(h){var l;return null!=(l=null==h?void 0:h.visibleFields)?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(B(function(h){return h.map(function(l){return l.customFieldId}).filter(Vj)}),B(function(h){return new Set(h)}),Nf({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,T.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(B(function(h){h=m(h);var l=h.next().value;return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),
Nf({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,T.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(B(function(h){h=m(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),Nf({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,T.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(B(function(h){var l=m(h);h=l.next().value;var q=
l.next().value,u=l.next().value,x=l.next().value;l=l.next().value;return(h?0:4)+(q?0:1)+(!f.showSloStatus||u?0:1)+(!f.showChangelists||x?0:2)+l.length}),Nf({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(B(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(B(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},PJ=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=b;this.activeSession=c;this.sloStatusHelpersService=
d};PJ.prototype.create=function(a){return new p_b(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};PJ.\u0275fac=function(a){return new (a||PJ)(n(TH),n(sJ),n(tu),n(MJ))};PJ.\u0275prov=Pc({token:PJ,factory:PJ.\u0275fac,providedIn:"root"});var YWb=Mp.EDIT_ISSUE,QJ=function(a,b){Z.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=up(this.issueToTrackingState,Tva);this.trackFirstAction=this.analytics.preapply()("first-action");this.trackEdit=this.analytics.preapply()("edit");this.trackNavigation=this.analytics.preapply()("navigate");this.trackDestroy=this.analytics.preapply()("destroyed")};X(QJ,Z);QJ.\u0275dir=Z.\u0275dir;
var RJ=function(a,b,c){var d=a.getState(b);c&&(d.editCount++,a.trackEdit(c.label,c.value));d.firstActionSeen||(b=a.getState(b),c=Date.now()-b.startTime,a.trackFirstAction("time-to-action",c),q_b(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},iu=function(a,b,c){a.getState(b).variations.add(c)},q_b=function(a,b,c,d){AH(a.clearcut,b,c);d=m(d);for(var e=d.next();!e.done;e=d.next())AH(a.clearcut,b,c+"-"+e.value)};QJ.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
QJ.\u0275fac=function(a){return new (a||QJ)(n(LH),n(zH))};QJ.\u0275prov=Pc({token:QJ,factory:QJ.\u0275fac,providedIn:"root"});var SJ=function(a,b,c,d,e,f,h){var l=this;this.issueFetchResponseFridge=a;this.issueFridge=b;this.teamFridge=c;this.componentFridge=d;this.eventsForIssue=e;this.paramsService=f;this.activatedRoute=h;this.id$=xI(this.paramsService,"issueId").pipe(Df());this.urlComment$=this.activatedRoute.fragment.pipe(B(Jwa),Nf({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(Qf(function(q){return UH(l.issueFetchResponseFridge,q)}),Nf({refCount:!0,bufferSize:1}));this.issueJs$.pipe(B(function(q){return null==
q?void 0:q.firstEvent}));this.eventsJs$=this.id$.pipe(Qf(this.eventsForIssue.watch),B(function(q){var u;return null!=(u=null==q?void 0:q.events)?u:[]}));this.starred$=this.issueJs$.pipe(B(Vva));this.lastViewedTimeMicros$=this.issueJs$.pipe(B(Wva));this.lastViewedTimeMicros$.pipe(B(function(q){return!q}));this.issueJs$.pipe(B(Xva));this.issueJs$.pipe(B(qwa));this.accessLimitLevel$=this.issueJs$.pipe(B(ewa));this.issueJs$.pipe(B(rwa));this.status$=this.issueJs$.pipe(B(Yva));this.priority$=this.issueJs$.pipe(B(Zva));
this.assignee$=this.issueJs$.pipe(B($va));this.issueJs$.pipe(B(awa));this.teamId$=this.issueJs$.pipe(B(bwa));this.team$=this.teamId$.pipe(Qf(this.teamFridge.watch),Nf({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(B(dwa));this.collaboratorsUsers$=this.issueJs$.pipe(B(fwa));this.issueJs$.pipe(B(function(q){var u,x;return null!=(x=null==(u=qn(q))?void 0:u.severity)?x:void 0}));this.type$=this.issueJs$.pipe(B(gwa));this.issueJs$.pipe(B(hwa));this.issueJs$.pipe(B(iwa));this.issueJs$.pipe(B(jwa));
this.postmortems$=this.issueJs$.pipe(B(kwa));this.postmortems$.pipe(B(function(q){return 0<q.length}));this.issueJs$.pipe(B(lwa));this.effort$=this.issueJs$.pipe(B(mwa));this.isDeleted$=this.issueJs$.pipe(B(twa));this.accessLevel$=this.issueJs$.pipe(B(vwa));this.customFieldDefs$=this.issueJs$.pipe(B(nwa));this.customFieldValues$=this.issueJs$.pipe(B(owa));this.modifiedTime$=this.issueJs$.pipe(B(wwa));this.retention$=this.issueJs$.pipe(B(ywa));this.retention=function(){return ep(l.retention$)};this.retentionState$=
this.issueJs$.pipe(B(Bwa));this.retentionState=function(){return ep(l.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(B(zwa));this.canonicalIssue$=this.canonicalIssueId$.pipe(Qf(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(B(function(q){var u;return null==q?void 0:null==(u=q.issue.aggregatedData)?void 0:u.sloStatus}));this.sloId$=this.issueJs$.pipe(B(Cwa));this.createdTimeMicros$=this.issueJs$.pipe(B(Dwa));this.visibleFields$=this.issueJs$.pipe(B(pwa));this.visibleCustomFieldIds$=
this.visibleFields$.pipe(B(Iwa));this.customFieldEntries$=(0,T.combineLatest)([this.customFieldDefs$,this.customFieldValues$]).pipe(B(function(q){var u=m(q);q=u.next().value;u=u.next().value;var x=new Map(u.map(function(y){return[y.customFieldId,y]}));return q.map(function(y){var G=y.customFieldId,J={customFieldId:G},M;G=null!=(M=x.get(G))?M:J;return{def:y,value:G}})}));(0,T.combineLatest)([this.customFieldEntries$,this.visibleCustomFieldIds$]).pipe(B(function(q){q=m(q);var u=q.next().value,x=q.next().value;
return u.filter(function(y){return x.has(String(y.def.customFieldId))})}));(0,T.combineLatest)([this.customFieldEntries$,this.visibleCustomFieldIds$]).pipe(B(function(q){q=m(q);var u=q.next().value,x=q.next().value;return u.filter(function(y){return!x.has(String(y.def.customFieldId))})}));this.componentId$=this.issueJs$.pipe(B(cwa));this.component$=this.componentId$.pipe(Qf(this.componentFridge.watch));this.teamSuggestions$=this.component$.pipe(B(Ewa));this.effortSpec$=this.component$.pipe(B(Fwa));
this.isEffortEnabled$=this.component$.pipe(B(Gwa));this.component$.pipe(B(Hwa));this.thinking$=this.issueFetchResponseFridge.thinking$};SJ.\u0275fac=function(a){return new (a||SJ)(n(TH),n(QH),n(gI),n(OF),n(JF),n(wI),n(ko))};SJ.\u0275prov=Pc({token:SJ,factory:SJ.\u0275fac,providedIn:"root"});var r_b={admin:!1,writer:!0,appender:!0,reader:!0},TJ=function(a,b,c,d,e,f){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=f;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+yp(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(Qf(function(l){return l?h.permissionsFridge.watchOne("issues/"+
l):(0,T.of)(void 0)}),B(function(l){return null!=l?l:r_b}),Pf(r_b),Nf({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(B(function(l){return!!l.writer}));this.hasAclToEdit=function(){return!!ep(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(B(function(l){return!!l.appender}));this.hasAclToComment=function(){return!!ep(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(B(function(l){return!!l.admin}));this.hasAclToAdmin=function(){return!!ep(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(B(function(l){return l.some(function(q){return h.isCurrentUser(q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!ep(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(B(function(l){return l.some(function(q){return h.isCurrentUser(q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!ep(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;
(0,T.combineLatest)([this.hasAclToEdit$,this.isCurrentUserCCd$]).pipe(B(function(l){var q=m(l);l=q.next().value;q=q.next().value;return l?q?"Un-CC yourself in order to change this setting.":"":"Edit issue permission is required to modify the CC list."}));this.isImplicitAccessEnabled$=this.issueDetailsBrain.componentId$.pipe(Df(),Qf(function(l){return l?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(l)):(0,T.of)(!1)}),yf(function(l){if(403===l.status)return(0,T.of)(!0);h.errorHandler.errorHandler(null,
l);return(0,T.of)(!1)}),Nf({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!ep(h.isImplicitAccessEnabled$)};this.showImplicitAccessIndicator$=(0,T.combineLatest)([this.hasAclToEdit$,this.isImplicitAccessEnabled$]).pipe(B(function(l){var q=m(l);l=q.next().value;q=q.next().value;return l&&q}));this.showImplicitAccessIndicator=function(){return!!ep(h.showImplicitAccessIndicator$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,T.combineLatest)([this.issueDetailsBrain.isDeleted$,
this.canDeleteIssue$]).pipe(B(function(l){var q=m(l);l=q.next().value;q=q.next().value;return l&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Df(),Qf(function(l){return l?aG(h.userAccess,"admin","components/"+l):(0,T.of)(!1)}),yf(function(l){h.errorHandler.errorHandler(null,l);return(0,T.of)(!1)}),Nf({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return ep(h.accessLevel$)};this.isWithinExternalComponent$=this.accessLevel$.pipe(B(function(l){return!(!l||
"INTERNAL"===l)}));this.audience$=this.isWithinExternalComponent$.pipe(B(function(l){return l?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return ep(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=function(){return ep(h.canChangeCommentRetention$)}};TJ.prototype.isCurrentUser=function(a){return 0===(null==a?void 0:a.search(this.currentUserEmailPattern))};
var s_b=function(a,b){return gn(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||Gj(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},t_b=function(a,b){return gn(b)&&"ACTIVE"===b.commentDeletionStatus?Kj(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
TJ.prototype.canEditComment$=function(a){var b=this;return(0,T.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(B(function(c){var d=m(c);c=d.next().value;var e=d.next().value;d=d.next().value;return void 0!==c&&"ENABLED"===c.commentEditState&&"DELETED"!==a.commentDeletionStatus&&"PURGED"!==a.commentDeletionStatus&&a.commentNumber?1===a.commentNumber?e:d&&Kj(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
TJ.\u0275fac=function(a){return new (a||TJ)(n(SJ),n(ZH),n(tu),n(zG),n(qG),n($F))};TJ.\u0275prov=Pc({token:TJ,factory:TJ.\u0275fac,providedIn:"root"});var u_b={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},v_b={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},w_b={type:"START",displayText:"Start work",description:"Change issue status to '"+$m.ACCEPTED+"'"},x_b={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+$m.FIXED+"'"},y_b={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+$m.VERIFIED+"'"},z_b={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+$m.ASSIGNED+"'"};var B_b=function(a,b,c,d){var e=this;this.issueId=a;this.activeSession=b;this.issueFridge=c;this.componentTemplatesFridge=d;this.defaultAssigneeQuickActionEnabled=this.activeSession.isInternalSession();this.issue$=this.issueFridge.watch(this.issueId).pipe(Nf({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(B(function(f){return null==f?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(B(function(f){return(null==f?void 0:f.assigneeUser)&&Kj(f.assigneeUser)}),B(Qj));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(B(function(f){return null==f?void 0:f.componentId}),Df(),Qf(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):(0,T.of)(void 0)}),B(function(f){return f&&Kj(f.snapshot.assigneeUser)}),Nf({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return ep(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,T.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(B(function(f){var h=
m(f);f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?v_b:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(B(function(f){return f&&A_b(e,f)}))},A_b=function(a,b){var c=a.activeSession.getUserEmail();a=Kj(b.assigneeUser)===c;c=Kj(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return y_b;if(a)switch(b){case "ASSIGNED":return w_b;case "ACCEPTED":return x_b;default:return z_b}switch(b){case "NEW":return u_b;case "ASSIGNED":return u_b;case "ACCEPTED":return u_b;
default:return z_b}},UJ=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};UJ.prototype.create=function(a){return new B_b(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};UJ.\u0275fac=function(a){return new (a||UJ)(n(tu),n(QH),n(vG))};UJ.\u0275prov=Pc({token:UJ,factory:UJ.\u0275fac,providedIn:"root"});var Lwa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),Kwa=RegExp("^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),Owa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var VJ=function(){this.transform=Pwa};VJ.\u0275fac=function(a){return new (a||VJ)};VJ.\u0275pipe=hd({name:"toNewEmailPreference",type:VJ,pure:!0});var WJ=function(){this.transform=Qwa};WJ.\u0275fac=function(a){return new (a||WJ)};WJ.\u0275pipe=hd({name:"enumToHuman",type:WJ,pure:!0});var XJ=function(){this.transform=Rwa};XJ.\u0275fac=function(a){return new (a||XJ)};XJ.\u0275pipe=hd({name:"arrayToHuman",type:XJ,pure:!0});var YJ=function(){};YJ.prototype.transform=function(a,b){return Ml(Swa(a,b)).toString()};
YJ.\u0275fac=function(a){return new (a||YJ)};YJ.\u0275pipe=hd({name:"boldPrefixMatches",type:YJ,pure:!0});var ZJ=function(){this.transform=Twa};ZJ.\u0275fac=function(a){return new (a||ZJ)};ZJ.\u0275pipe=hd({name:"yesNo",type:ZJ,pure:!0});var $J=function(){this.transform=Uwa};$J.\u0275fac=function(a){return new (a||$J)};$J.\u0275pipe=hd({name:"componentPath",type:$J,pure:!0});var aK=function(){this.transform=Vwa};aK.\u0275fac=function(a){return new (a||aK)};
aK.\u0275pipe=hd({name:"teamPath",type:aK,pure:!0});var bK=function(){this.transform=Wwa};bK.\u0275fac=function(a){return new (a||bK)};bK.\u0275pipe=hd({name:"humanFileSize",type:bK,pure:!0});var cK=function(){this.transform=Bp};cK.\u0275fac=function(a){return new (a||cK)};cK.\u0275pipe=hd({name:"omitObfuscatedEmail",type:cK,pure:!0});var dK=function(){this.transform=Cp};dK.\u0275fac=function(a){return new (a||dK)};dK.\u0275pipe=hd({name:"toString",type:dK,pure:!0});
var eK=function(){this.transform=Xwa};eK.\u0275fac=function(a){return new (a||eK)};eK.\u0275pipe=hd({name:"csv",type:eK,pure:!0});var C_b=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),fK=function(){};fK.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=C_b.get(b))?c:b}).join("")};fK.\u0275fac=function(a){return new (a||fK)};fK.\u0275pipe=hd({name:"reverse",type:fK,pure:!0});var gK=function(){};
gK.\u0275fac=function(a){return new (a||gK)};gK.\u0275mod=fd({type:gK});gK.\u0275inj=Qc({});var hK=function(a){a=void 0===a?[]:a;this.internalValue$=new T.BehaviorSubject(new Set);this.value$=Vv(this.internalValue$).pipe(B(function(b){return new Set(b)}),Df(mj),Nf({refCount:!0,bufferSize:1}));this.reset(a)};g=hK.prototype;g.reset=function(a){this.value.clear();a=m(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
g.add=function(){for(var a=m(bd.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value);return this};g.clear=function(){this.value.clear();this.internalValue$.next(this.value)};g.delete=function(a){a=this.value.delete(a);this.internalValue$.next(this.value);return a};g.has=function(a){return this.value.has(a)};var iq=function(a,b){return a.internalValue$.pipe(B(function(c){return c.has(b)}),Df())};hK.prototype[Symbol.iterator]=function(){return this.value.values()};
hK.prototype.toString=function(){return"[ReactiveSet](["+[].concat(p(this.value.values())).join(", ")+"])"};hK.prototype.indexOf=function(a){return[].concat(p(this.value.values())).indexOf(a)};
Ei.Object.defineProperties(hK.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.internalValue$.value}},size:{configurable:!0,enumerable:!0,get:function(){return this.value.size}},size$:{configurable:!0,enumerable:!0,get:function(){return this.internalValue$.pipe(B(function(a){return a.size}),Df())}}});var D_b=function(){this.propertiesBeingSaved=new hK};D_b.prototype.get=function(a){return this.propertiesBeingSaved.has(Cp(a))};var iK=function(a,b){a.propertiesBeingSaved.add(Cp(b))},jK=function(a,b){a.propertiesBeingSaved.delete(Cp(b))};D_b.prototype.properties=function(){return[].concat(p(this.propertiesBeingSaved))};var kK=function(){};kK.prototype.transform=function(a){return Dp(a)};kK.\u0275fac=function(a){return new (a||kK)};kK.\u0275pipe=hd({name:"appendDomain",type:kK,pure:!0});var axa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var lK=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya){var qa=this;this.issueFetchResponseFridge=a;this.activeSession=b;this.butterBar=c;this.issueInteractionsTracking=d;this.issueApi=e;this.componentFridge=f;this.permissionsFridge=h;this.eventsForIssueFridge=l;this.statusMessages=q;this.errorHandler=u;this.confirmationDialogService=x;this.principalTypes=y;this.issuePermissionService=G;this.accessPolicy=J;this.issueTypeDialog=M;this.logger=V;this.issueFridge=U;this.confirmNoAccessService=
W;this.issueService=ba;this.attachmentsMember=pa;this.userPreferencesManager=na;this.issueComments=xa;this.draftStore=Fa;this.attachmentApi=Ha;this.issueFieldsFactory=Bb;this.issueQuickActionsFactory=lb;this.issueCommentDraftFactory=Ya;this.isSavingMap=new Map;this.savingState=up(this.isSavingMap,function(){return new D_b});this.issueFieldsMap=new Map;this.issueFields=up(this.issueFieldsMap,function(Ba){return qa.issueFieldsFactory.create(Ba)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
up(this.issueQuickActionsMap,function(Ba){return qa.issueQuickActionsFactory.create(Ba)});this.editableIssueMap=new Map;this.editableIssue$=up(this.editableIssueMap,function(Ba){return E_b(qa,Ba)});this.editableIssue=function(Ba){return qa.editableIssue$(Ba).value};this.subscriptions=new Map;this.getSubscription=up(this.subscriptions,function(){return new T.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=up(this.issueCommentDraftMap,function(Ba){return qa.issueCommentDraftFactory.create(Ba)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};lK.prototype.clear=function(a){this.isSavingMap.delete(a);this.issueFieldsMap.delete(a);this.issueQuickActionsMap.delete(a);this.editableIssueMap.delete(a);this.issueCommentDraftMap.delete(a);this.getSubscription(a).unsubscribe()};
lK.prototype.updateComponent=function(a,b,c){var d=this,e,f,h,l,q;return Ze(function(u){if(1==u.nextAddress)return e=d.editableIssue(a),e.componentId=b,(f=mK(d,e))&&f.actions&&f.actions.length?af(u,d.getRetentionState(a),2):u.return();h=u.yieldResult;nK(d,f);l={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,l):d.issueApi.moveIssue(a,l);return u.return(oK(d,q,f,{originalRetentionState:h}))})};
var Ukb=function(a,b,c){var d;return Ze(function(e){if(!c)return oG(a.butterBar,"Reporter can't be empty."),e.return();a.editableIssue(b).setReporter(c);return e.return(null!=(d=a.updateIssue(b))?d:Promise.resolve())})},Emb=function(a,b,c){var d,e,f,h;return Ze(function(l){if(1==l.nextAddress){d=dra(c);if(!d)return a.logger.warn("unknown issue type: "+c),l.return();e=a.editableIssue(b);return"VULNERABILITY"!==d&&"PRIVACY_ISSUE"!==d?l.jumpTo(2):af(l,AZb(a.issueTypeDialog,d),3)}if(2!=l.nextAddress&&
(f=l.yieldResult,!f))return l.return();e.setType(d);return l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())})},Fmb=function(a,b,c){var d,e,f;return Ze(function(h){d=Xm(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},G_b=function(a,b,c){var d,e,f;return Ze(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=mK(a,d);return e?(f=e.actions.find(function(l){return"duplicateOfIssueId"===
l.fieldName&&!nm(l.value||"")}))&&f.value?h.return(F_b(a,b,{actionIssueId:f.value,implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},H_b=function(a,b,c){var d,e;return Ze(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},I_b=function(a,b,c){var d,e,f;return Ze(function(h){if(!c)return h.return();d=a.editableIssue(b);e=a.issueQuickActions(b);switch(c.type){case "TAKE":"NEW"===
d.status&&(d.status="ASSIGNED");d.assignee=e.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":var l=e.defaultAssigneeForComponent();l&&("NEW"===d.status&&(d.status="ASSIGNED"),d.assignee=l);break;case "START":d.status="ACCEPTED";break;case "FIX":d.status="FIXED";break;case "VERIFY":d.status="VERIFIED";break;case "REOPEN":d.status=d.assignee?"ASSIGNED":"NEW";break;default:Qi(c.type)}return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},flb=function(a,b,c){var d,e;return Ze(function(f){d=
a.editableIssue(b);var h;d.effortEstimate=null!=(h=null==c?void 0:c.estimate)?h:null;return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},pmb=function(a,b,c){var d,e,f;return Ze(function(h){d=a.editableIssue(b);e=yj(c,!1);d.foundInVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},tmb=function(a,b,c){var d,e,f;return Ze(function(h){d=a.editableIssue(b);e=yj(c,!1);d.verifiedInVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},rmb=function(a,
b,c){var d,e,f;return Ze(function(h){d=a.editableIssue(b);e=yj(c,!1);d.targetedToVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},vmb=function(a,b,c){var d,e;return Ze(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},kmb=function(a,b,c){var d,e,f;return Ze(function(h){d=era(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return(null!=(f=a.updateIssue(b))?
f:Promise.resolve())})},hmb=function(a,b,c,d){var e,f;return Ze(function(h){e=a.editableIssue(b);e.setSloSnoozeUntil(c);e.setSloSnoozeType(d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},nmb=function(a,b,c){var d,e,f;return Ze(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},Cmb=function(a,b,c,d){var e,f;return Ze(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(f=a.updateIssue(b))?
f:Promise.resolve())})},wlb=function(a,b,c){var d,e,f,h;return Ze(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?af(l,J_b(a,b,"verifier",[c]),5):af(l,GJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(f=l.yieldResult,!f)return l.return();case 3:return d.setVerifier(c),l.return(null!=
(h=a.updateIssue(b))?h:Promise.resolve())}})},plb=function(a,b,c){var d,e,f,h;return Ze(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?af(l,J_b(a,b,"assignee",[c]),5):af(l,GJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(f=l.yieldResult,!f)return l.return();case 3:return d.setAssignee(c),
l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},K_b=function(a,b,c){var d,e,f,h,l,q;return Ze(function(u){switch(u.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return af(u,J_b(a,b,"CC",c),5);e=nra(d.cc,c);f=e.added;return af(u,GJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=u.yieldResult;if(!h)return u.return();u.jumpTo(3);break;case 5:if(l=u.yieldResult,
!l)return u.return();case 3:return d.cc=c,u.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},L_b=function(a,b,c){var d,e,f,h,l,q;return Ze(function(u){switch(u.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return af(u,J_b(a,b,"collaborators",c),5);e=nra(d.collaborators,c);f=e.added;return af(u,GJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=u.yieldResult;
if(!h)return u.return();u.jumpTo(3);break;case 5:if(l=u.yieldResult,!l)return u.return();case 3:return d.collaborators=c,u.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};lK.prototype.unarchive=function(a){var b=this,c,d;return Ze(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
lK.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return Ze(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),iK(e,"retention"),$e(h,2,3),af(h,c.issueApi.updateIssueRetention(a,d),5);case 5:return af(h,c.issueFridge.poke(a),6);case 6:nG(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:bf(h);jK(e,"retention");cf(h,0);break;case 2:f=df(h),sG(c.errorHandler,f),h.jumpTo(3)}})};
var M_b=function(a,b){var c,d,e;return Ze(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=mK(a,c);if(!d||!d.actions)return f.jumpTo(0);nK(a,d);e=a.issueService.delete(b,"ABUSE");return af(f,oK(a,e,d),0)})},Tmb=function(a,b){var c,d,e;return Ze(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=mK(a,c);if(!d||!d.actions)return f.jumpTo(0);nK(a,d);e=a.issueService.undelete(b);return af(f,oK(a,e,d),0)})};
lK.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,l;return Ze(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),af(q,(0,T.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=null==(f=e)?void 0:f.userData;if(null==h||d.get("subscribe"))return q.return();$e(q,3,4);iK(d,"subscribe");return af(q,c.issueFridge.setNotificationSubscription(a,b),4);case 4:bf(q);jK(d,"subscribe");cf(q,0);break;case 3:l=df(q),sG(c.errorHandler,l),q.jumpTo(4)}})};
var N_b=function(a,b,c){var d,e;Ze(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();$e(f,2,3);nG(a.butterBar,"Restoring attachment...");iK(d,"undeleteAttachment");return af(f,a.attachmentsMember.undelete(b.toString(),c),5);case 5:nG(a.butterBar,"Attachment restored."),VH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:bf(f);jK(d,"undeleteAttachment");cf(f,0);break;case 2:e=df(f),sG(a.errorHandler,e),f.jumpTo(3)}})},
O_b=function(a,b,c,d){var e,f;return Ze(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();$e(h,2,3);nG(a.butterBar,"Deleting attachment...");iK(e,"deleteAttachment");return af(h,a.attachmentsMember.delete(b,c,d),5);case 5:nG(a.butterBar,"Attachment deleted."),VH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:bf(h);jK(e,"deleteAttachment");cf(h,0);break;case 2:f=df(h),sG(a.errorHandler,f),h.jumpTo(3)}})};
lK.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=m_b(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=n_b(d);nK(this,h);return oK(this,function(){return Ze(function(l){switch(l.nextAddress){case 1:return af(l,P_b(c,a),2);case 2:if(!f.commentText){l.jumpTo(3);break}return af(l,c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(tp(a));
case 3:if(!f.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=c.attachmentApi;var u=f.attachmentsWithJudgements,x=new BRb;x.setIssueId(String(a));void 0!==u&&(u=u.map(vpa),Sb(x,3,u));q=q.executor.post({url:"action/issues/"+a+"/attachments",body:x,responseConstructor:wJ}).then(wpa);return af(l,q,6);case 6:e.reset();case 5:return d.userDefinedJudgementForNewContent$.next(void 0),l.return(VH(c.issueFetchResponseFridge,a))}})}(),h)};
var P_b=function(a,b){var c,d;return Ze(function(e){if(!DI(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();c=a.editableIssue(b);var f=[].concat(p(c.cc),[a.activeSession.getUserEmail()]);c.cc=f;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return af(e,a.issueApi.updateIssue(b,d),0)})},E_b=function(a,b){var c=UH(a.issueFetchResponseFridge,b).pipe(B(function(e){var f=
new oZb;if(e){var h=Q_b(a,b,nj(Ca(e.issue.snapshot)));f.currentUserEmail=a.activeSession.getUserEmail();var l;f.setData(h,b,null!=(l=e.customFields)?l:[])}return f})),d=new T.BehaviorSubject(new oZb);a.getSubscription(b).add(c.subscribe(d));return d};
lK.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=mK(this,b);if(!c)return null;for(var d=!1,e=[],f=[],h=a,l=m(c.actions),q=l.next();!q.done;q=l.next()){q=q.value;var u=q.value||"";if("REMOVE"!==q.actionType)switch(q.fieldName){case "ccs":e=u.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":f=u.split(",").filter(Boolean);break;case "duplicateOfIssueId":nm(u)||(e=b.cc,h=String(u),d=!0)}}return F_b(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:f,
isDeduping:d,isRemovingSelfFromCc:1===c.actions.length&&"ccs"===c.actions[0].fieldName&&"REMOVE"===c.actions[0].actionType&&this.activeSession.getUserEmail()===c.actions[0].value,requestData:c})};
var F_b=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,f=c.implicitEditors,h=c.isDeduping,l=c.isRemovingSelfFromCc,q=c.requestData,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa;return Ze(function(Ha){switch(Ha.nextAddress){case 1:return af(Ha,Promise.all([R_b(a,e,"appender",d),R_b(a,f,"writer",d)]),2);case 2:u=Ha.yieldResult;x=m(u);y=x.next().value;G=x.next().value;J=y;M=G;V=J.noAccessEmails||[];U=M.noAccessEmails||[];W=[].concat(p(V),p(U));if(0===W.length)return Ha.return(S_b(a,q,h,l));$e(Ha,3);
return af(Ha,Promise.all(W.map(function(Bb){return T_b(a,Bb)})),5);case 5:return ba=Ha.yieldResult,pa=Ira({userPrincipals:ba,newEditors:U,newImplicitUsers:W,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),na=pa.title,xa=pa.content,af(Ha,zZb(a.confirmationDialogService,{title:na,content:xp(xa),confirmButtonText:"Allow"}),6);case 6:if(Fa=Ha.yieldResult)return Ha.return(S_b(a,q,h,l));a.permissionsFridge.poke("issues/"+b);VH(a.issueFetchResponseFridge,b);Au(Ha,0);break;
case 3:df(Ha),oG(a.butterBar,"Could not determine email type."),ef(Ha)}})},S_b=function(a,b,c,d){nK(a,b);var e=b.issueId;c?(c=a.editableIssue(String(e)),e=a.issueApi.relateIssue(e,{issueId:e,targetIds:[c.duplicateOfIssueId],actionType:"ADD",relation:"DUPLICATE"})):e=d?a.issueApi.unCcUser(b.issueId):a.issueApi.updateIssue(e,b);return oK(a,e,b)},R_b=function(a,b,c,d,e,f){e=void 0===e?!1:e;f=void 0===f?null:f;if(e&&!f)throw Error("Qc");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};return 0!==
b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(Dp),c,h,d):Promise.resolve(e)},Q_b=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&ep(a);if(!a||!d)return c;b=d.properties();d={};b=m(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$customFieldId$2157:d.$jscomp$loop$prop$customFieldId$2157},e=b.next())if(e=e.value,e.match(/^\d+$/)){d.$jscomp$loop$prop$customFieldId$2157=sj(e);var f=(c.customField||[]).find(function(h){return function(l){return l.customFieldId===
h.$jscomp$loop$prop$customFieldId$2157}}(d));e=a.customFieldMap[e];f&&e&&(f.textValue=e.textValue,f.dateValue=e.dateValue,f.enumValue=e.enumValue,f.numericValue=e.numericValue)}else f=void 0,null==(f=sZb.get(e))||f(c,a);return c},mK=function(a,b){var c=rZb(b);if(!c)return null;var d=a.isSavingMap.get(String(b.issueId));c.actions=c.actions.filter(function(e){return!(null==d?0:d.get(cxa(e)))});return c.actions.length?c:null},nK=function(a,b){var c=String(b.issueId);nG(a.butterBar,"Saving...",0);var d=
b.actions.map(function(e){return e.fieldName}).join(",");RJ(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=m(b.actions);for(c=b.next();!c.done;c=b.next())iK(a,cxa(c.value))},oK=function(a,b,c,d){var e,f;return Ze(function(h){switch(h.nextAddress){case 1:return $e(h,2),af(h,b,4);case 4:return e=h.yieldResult,SH(a.issueFridge,[c.issueId],{eagerUpdate:!1}).then(function(){var l=String(c.issueId);VH(a.issueFetchResponseFridge,l);a.eventsForIssueFridge.poke(l)}),af(h,U_b(a,c,e,d),5);case 5:Au(h,
0);break;case 2:f=df(h),V_b(a,c,f),ef(h)}})},U_b=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,f,h,l,q;return Ze(function(u){f=a.savingState(String(b.issueId));h=m(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,jK(f,cxa(q));return c?af(u,W_b(a,b,e),0):u.jumpTo(0)})},V_b=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=m(b.actions);for(var f=b.next();!f.done;f=b.next())jK(e,cxa(f.value));a.permissionsFridge.poke("issues/"+d);VH(a.issueFetchResponseFridge,d);Cn(c)&&
403===c.status&&Dn(c)?rG(a.errorHandler,Dn(c)):sG(a.errorHandler,c)},W_b=function(a,b,c){var d,e,f,h,l,q,u,x,y,G,J;return Ze(function(M){switch(M.nextAddress){case 1:return af(M,a.getEffortSpec(String(b.issueId)),2);case 2:d=M.yieldResult;e=a.editableIssue(String(b.issueId));l=XZb(a.statusMessages,b,e.customFieldMap,null!=(h=null==(f=d)?void 0:f.name)?h:"");if(!c){M.jumpTo(3);break}return af(M,Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=M.yieldResult;
u=m(q);x=u.next().value;y=u.next().value;G=x;J=y;var V=l;if("INDEFINITE"!==J&&c&&G){var U=Dva(c);var W=Dva(G);U=U===W?"":" Issue retention period changed from "+U+" to "+W+"."}else U="";l=V+U;case 3:nG(a.butterBar,l),ef(M)}})},J_b=function(a,b,c,d){return Ze(function(e){if(1==e.nextAddress){var f=a.editableIssue(b);var h=a.activeSession.getUserEmail();f=new Map([["CC",f.cc],["collaborators",f.collaborators],["assignee",f.assignee?[f.assignee]:[]],["verifier",f.verifier?[f.verifier]:[]]]);(new Set([].concat(p(f.values())).flat())).has(h)?
(f.set(c,d),h=!(new Set([].concat(p(f.values())).flat())).has(h)):h=!1;e=h?af(e,X_b(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},X_b=function(a,b,c,d){var e;return Ze(function(f){if(1==f.nextAddress)return af(f,R_b(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?f.return(zZb(a.confirmationDialogService,{title:"Removing yourself from "+d+" may revoke your access to the issue",
content:xp("This issue is in a component with Expanded Access enabled, and you do not have access to view this issue by default. Removing yourself from "+d+" may also remove your ability to view the issue. Are you sure you would like to do this?")})):f.return(!0)})};lK.prototype.getRetentionState=function(a){return(0,T.firstValueFrom)(UH(this.issueFetchResponseFridge,a).pipe(B(Bwa)))};lK.prototype.getRetention=function(a){return(0,T.firstValueFrom)(UH(this.issueFetchResponseFridge,a).pipe(B(ywa)))};
lK.prototype.getEffortSpec=function(a){return(0,T.firstValueFrom)(UH(this.issueFetchResponseFridge,a).pipe(B(cwa),Qf(this.componentFridge.watch),B(Fwa)))};var T_b=function(a,b){return Ze(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(CJ(a.principalTypes,b,!0))})};
lK.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=m(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};lK.\u0275fac=function(a){return new (a||lK)(n(TH),n(tu),n(mG),n(QJ),n(dF),n(OF),n(ZH),n(JF),n(vJ),n(qG),n(jJ),n(BJ),n(TJ),n(zG),n(kJ),n(pG),n(QH),n(FJ),n(NH),n(zJ),n(CI),n(pI),n(gJ),n(ZZb),n(PJ),n(UJ),n(LJ))};
lK.\u0275prov=Pc({token:lK,factory:lK.\u0275fac,providedIn:"root"});var pK=function(a,b,c){Z.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new T.ReplaySubject(1);this.ccInProgress$=new T.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(B(function(d){var e;return Gj(null==(e=jn(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(B(function(d){var e;return Hj(null==(e=jn(d))?void 0:e.ccUsers)||[]}));this.assignee$=
this.assigneeUpdate$.pipe(Nf({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe(Nf({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};X(pK,Z);pK.\u0275dir=Z.\u0275dir;
var Y_b=function(a,b){var c,d,e;return Ze(function(f){switch(f.nextAddress){case 1:c=ep(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;$e(f,2,3);return af(f,plb(a.editIssueService,c,d),5);case 5:return af(f,(0,T.firstValueFrom)(a.assigneeUpdate$.pipe(sf(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),uf(6E4))),3);case 3:bf(f);a.assigneeInProgress$.next(!1);cf(f,0);break;case 2:throw e=df(f),e;}})},Z_b=function(a,b){var c,d,e,f,h;return Ze(function(l){switch(l.nextAddress){case 1:c=
ep(a.id$);if(!c)return l.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);f=void 0;"set_user"!==b.action||e?"remove_user"===b.action&&e&&(f=K_b(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=K_b(a.editIssueService,c,[].concat(p(d.cc),[b.email]));if(!f)return l.return();$e(l,2,3);a.ccInProgress$.next(!0);return af(l,f,5);case 5:return af(l,(0,T.firstValueFrom)(a.ccUpdate$.pipe(sf(function(q){q=q.includes(b.email);return"set_user"===b.action?q:!q}),uf(6E4))),
3);case 3:bf(l);a.ccInProgress$.next(!1);cf(l,0);break;case 2:throw h=df(l),h;}})};pK.\u0275fac=function(a){return new (a||pK)(n(SJ),n(TJ),n(lK))};pK.\u0275prov=Pc({token:pK,factory:pK.\u0275fac});var $_b=function(a){return["chip","gmat-caption",a]},qK=function(){this.variant="grey";this.isTall=!1};qK.\u0275fac=function(a){return new (a||qK)};
qK.\u0275cmp=r({type:qK,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&pg("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(wg(),D(0,"div",0)(1,"div",1),xg(2),E()());a&2&&C("ngClass",Gg(1,$_b,b.variant))},dependencies:[$w],styles:["[_nghost-%COMP%]{--chip-grey-bg:var(--grey-100,#f1f3f4);--chip-blue-bg:var(--blue-50,#e8f0fe);--chip-red-bg:var(--red-50,#fce8e6);--chip-yellow-bg:var(--yellow-50,#fef7e0);--chip-green-bg:var(--green-50,#e6f4ea);--chip-orange-bg:var(--orange-50,#feefe3);--chip-pink-bg:var(--pink-50,#fde7f3);--chip-purple-bg:var(--purple-50,#f3e8fd);--chip-cyan-bg:var(--cyan-50,#e4f7fb);--chip-grey-icon:var(--grey-700,#5f6368);--chip-blue-icon:var(--blue-700,#1967d2);--chip-red-icon:var(--red-700,#c5221f);--chip-yellow-icon:#9b5400;--chip-green-icon:var(--green-800,#137333);--chip-orange-icon:#9b5400;--chip-pink-icon:var(--pink-800,#b80672);--chip-purple-icon:var(--purple-700,#8430ce);--chip-cyan-icon:var(--cyan-900,#007b83);--chip-text:var(--text-default,#202124)}.tall[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]{border-radius:12px;height:24px;font-weight:500}.tall[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]   .centering[_ngcontent-%COMP%]{height:16px;margin-right:4px}body.dark-mode[_nghost-%COMP%], body.dark-mode   [_nghost-%COMP%]{--chip-grey-bg:#505357;--chip-blue-bg:#314972;--chip-red-bg:#6c322f;--chip-yellow-bg:#725d1e;--chip-green-bg:#2c553a;--chip-orange-bg:#714625;--chip-pink-bg:#702f55;--chip-purple-bg:#523272;--chip-cyan-bg:#275e6b;--chip-grey-icon:var(--grey-200,#e8eaed);--chip-blue-icon:var(--blue-200,#aecbfa);--chip-red-icon:var(--red-200,#f6aea9);--chip-yellow-icon:var(--yellow-200,#fde293);--chip-green-icon:var(--green-200,#a8dab5);--chip-orange-icon:var(--orange-200,#fdc69c);--chip-pink-icon:var(--pink-200,#fba9d6);--chip-purple-icon:var(--purple-200,#d7aefb);--chip-cyan-icon:var(--cyan-200,#a1e4f2);--chip-text:var(--white,#fff)}.chip[_ngcontent-%COMP%]{background-color:var(--chip-grey-bg);border-radius:10px;color:var(--chip-text);display:inline-block;height:20px;padding:0 6px}.chip[_ngcontent-%COMP%]   .centering[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;line-height:12px;margin-bottom:4px;margin-top:4px}.chip.yellow[_ngcontent-%COMP%]{background-color:var(--chip-yellow-bg)}.chip.green[_ngcontent-%COMP%]{background-color:var(--chip-green-bg)}.chip.blue[_ngcontent-%COMP%]{background-color:var(--chip-blue-bg)}.chip.orange[_ngcontent-%COMP%]{background-color:var(--chip-orange-bg)}.chip.pink[_ngcontent-%COMP%]{background-color:var(--chip-pink-bg)}.chip.cyan[_ngcontent-%COMP%]{background-color:var(--chip-cyan-bg)}.chip.red[_ngcontent-%COMP%]{background-color:var(--chip-red-bg)}.chip.purple[_ngcontent-%COMP%]{background-color:var(--chip-purple-bg)}.chip.none[_ngcontent-%COMP%]{background-color:transparent;color:inherit}"],
changeDetection:0});var rK=function(a){this.chip=a};rK.\u0275fac=function(a){return new (a||rK)(A(qK))};rK.\u0275dir=r({type:rK,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&og("color","var(--chip-"+b.chip.variant+"-icon")("font-size",b.chip.isTall?"16px":"12px")("height",b.chip.isTall?"16px":"12px")("margin","0 4px 0 0")("width",b.chip.isTall?"16px":"12px")}});var sK=function(){};sK.\u0275fac=function(a){return new (a||sK)};sK.\u0275cmp=r({type:sK,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&dg("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&P(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var a0b=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],b0b=function(a){return{"with-avatar":a}},tK=function(){};tK.prototype.ngOnInit=function(){};tK.\u0275fac=function(a){return new (a||tK)};
tK.\u0275cmp=r({type:tK,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},ngContentSelectors:["[onedev-additional-content]","onedev-hovercard-action"],decls:14,vars:10,consts:[["role","dialog","aria-label","Person hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"contact-info",3,"ngClass"],["aria-hidden","true","class","avatar",3,"src","alt",4,"ngIf"],[1,"name","gmat-headline-4"],["class","email gmat-body-3",
4,"ngIf"],["class","chips gmat-caption",4,"ngIf"],[1,"content","gmat-body-3"],[4,"ngIf"],["aria-hidden","true",1,"avatar",3,"src","alt"],[1,"email","gmat-body-3"],[1,"chips","gmat-caption"],["variant","yellow"],["onedevChipIcon","","svgIcon","event_busy_24px"],["svgIcon","work_outline_24px"],[1,"detail"],[1,"dot-separated-list"],["onedevDot","",4,"ngIf"],["onedevDot",""],["svgIcon","location_pin_24px"],["svgIcon","link_24px"],["target","_blank","rel","noopener noreferrer",3,"href"]],template:function(a,
b){a&1&&(wg(a0b),D(0,"div",0)(1,"div",1)(2,"div",2),O(3,dxa,1,2,"img",3),D(4,"div",4),P(5),E(),O(6,exa,2,1,"div",5),E(),O(7,fxa,4,1,"div",6),D(8,"div",7),O(9,jxa,7,3,"ng-container",8),O(10,kxa,4,1,"ng-container",8),O(11,nxa,21,6,"ng-container",8),xg(12),E()(),xg(13,1),E());a&2&&(z(2),C("ngClass",Gg(8,b0b,b.person.imageUrl)),z(1),C("ngIf",b.person.imageUrl),z(2),Q(" ",b.person.name||b.person.email," "),z(1),C("ngIf",b.person.name),z(1),C("ngIf",b.outOfOfficeDescription),z(2),C("ngIf",b.person.title||
b.person.department),z(1),C("ngIf",b.person.location),z(1),C("ngIf",b.person.ldap))},dependencies:[qK,rK,$w,bx,sK,OB],styles:[".onedev-hovercard-content{--onedev-card-background:var(--surface-default,#fff);--onedev-card-title-text:var(--text-default,#202124);--onedev-card-icon:var(--icon,#5f6368);--onedev-card-secondary-text:var(--text-secondary,#5f6368);--onedev-card-link-color:var(--primary-default,#1a73e8)}.onedev-hovercard-content{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content .onedev-hovercard-body{padding:20px}.onedev-hovercard-content .onedev-hovercard-body a{color:var(--onedev-card-link-color)}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar{display:grid;grid-template-columns:48px auto;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar .avatar{grid-row:1/span 2}.onedev-hovercard-content .onedev-hovercard-body .contact-info .name{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content .onedev-hovercard-body .contact-info .email{grid-row:2;grid-column:2}.onedev-hovercard-content .onedev-hovercard-body .title{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content .onedev-hovercard-body .chips{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body mat-icon{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content .onedev-hovercard-body .content{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body .content .detail{margin-top:2px}.onedev-hovercard-content .onedev-hovercard-body .content:empty{margin-top:0}.onedev-hovercard-content .onedev-hovercard-body .subcontent:not(:last-child){margin-bottom:8px}.onedev-hovercard-content .onedev-hovercard-body .label{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list li{display:inline}.avatar{border-radius:50%;object-fit:cover;height:48px;width:48px}"],
encapsulation:2,changeDetection:0});var c0b=function(){};var Fp=function(){this.Serializable$values={}},Ep=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},uK=function(a,b){return null!=a.Serializable$values[b]};var d0b=function(){};var e0b=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};X(e0b,d0b);
var f0b=function(a,b,c){var d=oxa(a.hookFactory,b);return null==d?c:T.EMPTY.pipe(Sf({complete:function(){d.onBeforeSend()}}),Rga(c.pipe(Sf(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},g0b=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof Fp?vxa(b.body,sxa,txa,uxa):b.body;return f0b(a,b,e.call(d,{path:b.path,httpMethod:b.httpMethod,methodId:b.methodId,body:f,queryParams:b.queryParams,streamingType:b.streamingType&&b.streamingType},c))};var h0b=function(){};h0b.prototype.send=function(a,b){pxa(a);return this.makeRequest(a).pipe(B(function(c){return b?zxa(b,c):c}))};var i0b=new Ud("API_VERSION"),j0b=new Ud("REQUEST_SERVICE"),vK=function(){};vK.\u0275fac=function(a){return new (a||vK)};vK.\u0275mod=fd({type:vK});vK.\u0275inj=Qc({});
var k0b={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",blockDirection:"blockDirection",callback:"callback",client:"client",clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",
clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",consentOptionsStrategy:"consentOptions.strategy",contactId:"contactId",contactListType:"contactListType",
contactLookupOptionsEmailLookupType:"contactLookupOptions.emailLookupType",container:"container",containerId:"containerId",containerIds:"containerIds",contextAllowedRequesterState:"context.allowedRequesterState",contextAuthDelegationContextDelegationType:"context.authDelegationContext.delegationType",contextAuthDelegationContextObfuscatedOwnerId:"context.authDelegationContext.obfuscatedOwnerId",contextAuthDelegationContextUnicornObfuscatedOwnerId:"context.authDelegationContext.unicorn.obfuscatedOwnerId",
contextClientType:"context.clientType",contextClientVersionClientAgent:"context.clientVersion.clientAgent",contextClientVersionClientType:"context.clientVersion.clientType",contextClientVersionClientVersion:"context.clientVersion.clientVersion",contextClientVersionGmsCoreContextAppManagementContext:"context.clientVersion.gmsCoreContext.appManagementContext",contextClientVersionGmsCoreContextIsFirstParty:"context.clientVersion.gmsCoreContext.isFirstParty",contextClientVersionGmsCoreContextPackageName:"context.clientVersion.gmsCoreContext.packageName",
contextClientVersionGmsCoreContextPackageSignature:"context.clientVersion.gmsCoreContext.packageSignature",contextConsistencyContextBase64EncodedZookie:"context.consistencyContext.base64EncodedZookie",contextConsistencyContextDirectoryVersionToken:"context.consistencyContext.directoryVersionToken",contextConsistencyContextFbsRequireAllImportantWritesUpToTime:"context.consistencyContext.fbsRequireAllImportantWritesUpToTime",contextConsistencyContextFbsVersionInfo:"context.consistencyContext.fbsVersionInfo",
contextConsistencyOptionsLevel:"context.consistencyOptions.level",contextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",contextConsistencyOptionsLevelOptionsExactTimestamp:"context.consistencyOptions.levelOptions.exactTimestamp",contextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contextMigrationOptionsUseClusterBased:"context.migrationOptions.useClusterBased",
contextMigrationOptionsUseLegacyRequestMaskBehavior:"context.migrationOptions.useLegacyRequestMaskBehavior",contextMigrationOptionsUseNewRequestMaskBehavior:"context.migrationOptions.useNewRequestMaskBehavior",contextRequestGroupLoggingId:"context.requestGroupLoggingId",contextRightOfPublicityContext:"context.rightOfPublicityContext",coreIdParamsCheckIdentityAcl:"coreIdParams.checkIdentityAcl",coreIdParamsEnablePrivateAccountEmails:"coreIdParams.enablePrivateAccountEmails",coreIdParamsEnablePrivateNames:"coreIdParams.enablePrivateNames",
coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",dataJoinParamsProfileJoinType:"dataJoinParams.profileJoinType",
dedupeOption:"dedupeOption",delayFullSync:"delayFullSync",delegatedGroupIdDelegatedGroupId:"delegatedGroupId.delegatedGroupId",deleteContacts:"deleteContacts",deleteTrashedContacts:"deleteTrashedContacts",deletionContextMutationContextAndroidDeviceInfoId:"deletionContext.mutationContext.androidDeviceInfo.id",deletionContextMutationContextHostAppInfoHostAppName:"deletionContext.mutationContext.hostAppInfo.hostAppName",deletionContextMutationContextSource:"deletionContext.mutationContext.source",deletionContextMutationContextThirdPartyInfoClientName:"deletionContext.mutationContext.thirdPartyInfo.clientName",
deletionContextMutationContextThirdPartyInfoProjectNumber:"deletionContext.mutationContext.thirdPartyInfo.projectNumber",deletionContextMutationContextTimestamp:"deletionContext.mutationContext.timestamp",deviceId:"deviceId",deviceIdentifierClientInstanceId:"deviceIdentifier.clientInstanceId",deviceIdentityDeviceId:"deviceIdentity.deviceId",extensionSetExtendedRequestDataPeopleBackendExtensionApplication:"extensionSet.extendedRequestData.peopleBackendExtension.application",extensionSetExtensionNames:"extensionSet.extensionNames",
fieldFilterField:"fieldFilter.field",fieldMask:"fieldMask",fieldValueFilterAdminAssistants:"fieldValueFilter.adminAssistants",fieldValueFilterDottedLineManagers:"fieldValueFilter.dottedLineManagers",fieldValueFilterExecAssistants:"fieldValueFilter.execAssistants",fieldValueFilterIndirectManagers:"fieldValueFilter.indirectManagers",fieldValueFilterIndirectManagersWithMaxNumHops:"fieldValueFilter.indirectManagersWithMaxNumHops",fieldValueFilterManagers:"fieldValueFilter.managers",fieldValueFilterProfileExternalIdCustomTag:"fieldValueFilter.profileExternalId.customTag",
fieldValueFilterProfileExternalIdStandardTag:"fieldValueFilter.profileExternalId.standardTag",fieldValueFilterProfileExternalIdValue:"fieldValueFilter.profileExternalId.value",fields:"fields",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",getPeopleRequestContextAuthDelegationContextDelegationType:"getPeopleRequest.context.authDelegationContext.delegationType",getPeopleRequestContextAuthDelegationContextObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.obfuscatedOwnerId",
getPeopleRequestContextAuthDelegationContextUnicornObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.unicorn.obfuscatedOwnerId",getPeopleRequestContextClientType:"getPeopleRequest.context.clientType",getPeopleRequestContextClientVersionClientAgent:"getPeopleRequest.context.clientVersion.clientAgent",getPeopleRequestContextClientVersionClientType:"getPeopleRequest.context.clientVersion.clientType",getPeopleRequestContextClientVersionClientVersion:"getPeopleRequest.context.clientVersion.clientVersion",
getPeopleRequestContextClientVersionGmsCoreContextAppManagementContext:"getPeopleRequest.context.clientVersion.gmsCoreContext.appManagementContext",getPeopleRequestContextClientVersionGmsCoreContextIsFirstParty:"getPeopleRequest.context.clientVersion.gmsCoreContext.isFirstParty",getPeopleRequestContextClientVersionGmsCoreContextPackageName:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageName",getPeopleRequestContextClientVersionGmsCoreContextPackageSignature:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageSignature",
getPeopleRequestContextConsistencyContextDirectoryVersionToken:"getPeopleRequest.context.consistencyContext.directoryVersionToken",getPeopleRequestContextConsistencyOptionsLevel:"getPeopleRequest.context.consistencyOptions.level",getPeopleRequestContextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"getPeopleRequest.context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",getPeopleRequestContextConsistencyOptionsLevelOptionsExactTimestamp:"getPeopleRequest.context.consistencyOptions.levelOptions.exactTimestamp",
getPeopleRequestContextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"getPeopleRequest.context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",getPeopleRequestContextMigrationOptionsUseClusterBased:"getPeopleRequest.context.migrationOptions.useClusterBased",getPeopleRequestContextMigrationOptionsUseLegacyRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useLegacyRequestMaskBehavior",getPeopleRequestContextMigrationOptionsUseNewRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useNewRequestMaskBehavior",
getPeopleRequestContextRequestGroupLoggingId:"getPeopleRequest.context.requestGroupLoggingId",getPeopleRequestContextRightOfPublicityContext:"getPeopleRequest.context.rightOfPublicityContext",getPeopleRequestCoreIdParamsCheckIdentityAcl:"getPeopleRequest.coreIdParams.checkIdentityAcl",getPeopleRequestCoreIdParamsEnablePrivateAccountEmails:"getPeopleRequest.coreIdParams.enablePrivateAccountEmails",getPeopleRequestCoreIdParamsEnablePrivateNames:"getPeopleRequest.coreIdParams.enablePrivateNames",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",
getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",getPeopleRequestCoreIdParamsUseRealtimeNotificationExpandedAcls:"getPeopleRequest.coreIdParams.useRealtimeNotificationExpandedAcls",getPeopleRequestDataFormatsAffinityFormatsScoreFormat:"getPeopleRequest.dataFormats.affinityFormats.scoreFormat",getPeopleRequestDataFormatsProfilePhotoOptionsPrivateUrlFormat:"getPeopleRequest.dataFormats.profilePhotoOptions.privateUrlFormat",
getPeopleRequestDedupeOption:"getPeopleRequest.dedupeOption",getPeopleRequestExtensionSetExtendedRequestDataPeopleBackendExtensionApplication:"getPeopleRequest.extensionSet.extendedRequestData.peopleBackendExtension.application",getPeopleRequestExtensionSetExtensionNames:"getPeopleRequest.extensionSet.extensionNames",getPeopleRequestIncludeFieldAcl:"getPeopleRequest.includeFieldAcl",getPeopleRequestIncludedProfileStates:"getPeopleRequest.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsCertificateParamsRequestCertificates:"getPeopleRequest.mergedPersonSourceOptions.certificateParams.requestCertificates",
getPeopleRequestMergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"getPeopleRequest.mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",
getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",
getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",
getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",graphRestricts:"graphRestricts",groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",
id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",matchType:"matchType",
maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",mergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",
mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",
pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",photoOptionsMaxHeight:"photoOptions.maxHeight",photoOptionsMaxWidth:"photoOptions.maxWidth",placeParamsRequestPlaces:"placeParams.requestPlaces",postPhotoMutateReadOption:"postPhotoMutateReadOption",prefixQuery:"prefixQuery",prettyPrint:"prettyPrint",profileId:"profileId",profileLookupOptionsEmailLookupOption:"profileLookupOptions.emailLookupOption",
profileLookupOptionsExcludeGaiaAccountTypes:"profileLookupOptions.excludeGaiaAccountTypes",profileLookupOptionsUseTrustedClientPhoneLookupQuota:"profileLookupOptions.useTrustedClientPhoneLookupQuota",query:"query",quotaFilterType:"quotaFilterType",quotaUser:"quotaUser",requestConfigContextConfigKey:"requestConfigContext.configKey",requestConfigContextVersion:"requestConfigContext.version",requestMask:"requestMask",requestMaskCustomRequestMask:"requestMask.customRequestMask",requestMaskImageUrlType:"requestMask.imageUrlType",
requestMaskIncludeContainer:"requestMask.includeContainer",requestMaskIncludeField:"requestMask.includeField",requestMaskIncludePeopleInCommon:"requestMask.includePeopleInCommon",requestMaskPersonAttribute:"requestMask.personAttribute",requestMaskPhotoOptionsPrivateUrlFormat:"requestMask.photoOptions.privateUrlFormat",requestOptionsRequireConsistency:"requestOptions.requireConsistency",requestOptionsTreatRestrictsAsFilter:"requestOptions.treatRestrictsAsFilter",requireCompleteResults:"requireCompleteResults",
returnedFieldAcl:"returnedFieldAcl",searchSettingsMinTotalItemsAccuracy:"searchSettings.minTotalItemsAccuracy",searchSettingsNumToScore:"searchSettings.numToScore",searchSettingsScoringType:"searchSettings.scoringType",skipPostMutateGet:"skipPostMutateGet",sortOptionsSortField:"sortOptions.sortField",sortOptionsSortOrder:"sortOptions.sortOrder",source:"source",sources:"sources",squery:"squery",stFieldSpecExpressionsExpressionNames:"stFieldSpecExpressions.expressionNames",stFieldSpecExpressionsExpressions:"stFieldSpecExpressions.expressions",
startIndex:"startIndex",stquery:"stquery",syncParametersFullSyncOption:"syncParameters.fullSyncOption",syncParametersSyncToken:"syncParameters.syncToken",syncToken:"syncToken",type:"type",uploadType:"uploadType",upload_protocol:"upload_protocol",useBytes:"useBytes"},wK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new e0b(b,c)};
wK.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return g0b(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:qxa(a,k0b,b)})};wK.\u0275fac=function(a){return new (a||wK)(n(i0b,8),n(j0b),n(c0b,8))};wK.\u0275prov=Pc({token:wK,factory:wK.\u0275fac});var xK=function(){};xK.\u0275fac=function(a){return new (a||xK)};xK.\u0275prov=Pc({token:xK,factory:function(a){return wK.\u0275fac(a)},providedIn:vK});
var yK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new e0b(b,c)};yK.\u0275fac=function(a){return new (a||yK)(n(i0b,8),n(j0b),n(c0b,8))};yK.\u0275prov=Pc({token:yK,factory:yK.\u0275fac});var zK=function(){};zK.\u0275fac=function(a){return new (a||zK)};zK.\u0275prov=Pc({token:zK,factory:function(a){return yK.\u0275fac(a)},providedIn:vK});var Dxa=/.*@google.com/,l0b=new Ud("onedevPeopleServiceConfig"),m0b={},AK=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new T.Subject;this.config=m0b;c&&c.pipe(Sf(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),Rf(this.destroy$)).subscribe({next:function(e){d.config=e}})},o0b=function(a,b){return n0b(a,[b]).pipe(B(function(c){return c[0]}))},n0b=function(a,b){return a.lookupApiClient.list({id:b,type:"EMAIL",matchType:"EXACT",requestMaskIncludeField:"person.email,person.name,person.photo,person.organization",
requestMaskIncludeContainer:["PROFILE","DOMAIN_PROFILE","CONTACT","DOMAIN_CONTACT","GOOGLE_GROUP"],sources:["PROFILE_SOURCE"],access_token:a.config.accessToken}).pipe(B(function(c){return Hxa(b,c)}))};AK.prototype.ngOnDestroy=function(){this.destroy$.next()};AK.\u0275fac=function(a){return new (a||AK)(n(xK),n(zK),n(l0b,8))};AK.\u0275prov=Pc({token:AK,factory:AK.\u0275fac});var p0b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=null==a.dayOfWeek?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=null==a.periodStartMinutes?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=null==a.periodEndMinutes?null:a.periodEndMinutes};X(p0b,Fp);p0b.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
Ei.Object.defineProperties(p0b.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return uK(this,"dayOfWeek")?Ep(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return uK(this,"periodEndMinutes")?Ep(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return uK(this,"periodStartMinutes")?Ep(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var rq=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userIds=null==a.userIds?null:a.userIds;this.Serializable$values.debugOptions=null==a.debugOptions?null:a.debugOptions};X(rq,Fp);rq.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:qq},keys:["debugOptions","userIds"],objects:{debugOptions:BK}}};
Ei.Object.defineProperties(rq.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return uK(this,"debugOptions")?Ep(this,"debugOptions"):this.debugOptions=new BK},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return uK(this,"userIds")?Ep(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var q0b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};X(q0b,Fp);q0b.prototype.getPartialClassMetadata=function(){return{arrays:{results:r0b},keys:["results"]}};
Ei.Object.defineProperties(q0b.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==Ep(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return uK(this,"results")?Ep(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var CK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.committedUntilIsMixed=null==a.committedUntilIsMixed?null:a.committedUntilIsMixed};
X(CK,Fp);CK.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","committedUntilIsMixed","eventSummary","nextAvailable","occupiedUntil"]}};
Ei.Object.defineProperties(CK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return uK(this,"committedUntil")?Ep(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},committedUntilIsMixed:{configurable:!0,enumerable:!0,get:function(){return uK(this,"committedUntilIsMixed")?Ep(this,"committedUntilIsMixed"):!1},set:function(a){this.Serializable$values.committedUntilIsMixed=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return uK(this,
"eventSummary")?Ep(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return uK(this,"nextAvailable")?Ep(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return uK(this,"occupiedUntil")?Ep(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var DK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location;this.Serializable$values.geoCoordinates=null==a.geoCoordinates?null:a.geoCoordinates;this.Serializable$values.label=null==a.label?null:a.label};X(DK,Fp);DK.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:EK}}};
Ei.Object.defineProperties(DK.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return uK(this,"geoCoordinates")?Ep(this,"geoCoordinates"):this.geoCoordinates=new EK},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return uK(this,"label")?Ep(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return uK(this,"location")?Ep(this,"location"):""},
set:function(a){this.Serializable$values.location=a}}});var FK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.committedUntilIsMixed=null==a.committedUntilIsMixed?null:a.committedUntilIsMixed;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable};X(FK,Fp);
FK.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","committedUntilIsMixed","nextAvailable","occupiedUntil"]}};
Ei.Object.defineProperties(FK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return uK(this,"committedUntil")?Ep(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},committedUntilIsMixed:{configurable:!0,enumerable:!0,get:function(){return uK(this,"committedUntilIsMixed")?Ep(this,"committedUntilIsMixed"):!1},set:function(a){this.Serializable$values.committedUntilIsMixed=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return uK(this,
"nextAvailable")?Ep(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return uK(this,"occupiedUntil")?Ep(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var s0b=function(){this.Serializable$values={}};X(s0b,Fp);s0b.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var GK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.inMeetingsUntil=null==a.inMeetingsUntil?null:a.inMeetingsUntil;this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.committedUntilIsMixed=null==a.committedUntilIsMixed?null:a.committedUntilIsMixed;
this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable};X(GK,Fp);GK.prototype.getPartialClassMetadata=function(){return{keys:"committedUntil committedUntilIsMixed eventSummary inMeetingsUntil nextAvailable occupiedUntil".split(" ")}};
Ei.Object.defineProperties(GK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return uK(this,"committedUntil")?Ep(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},committedUntilIsMixed:{configurable:!0,enumerable:!0,get:function(){return uK(this,"committedUntilIsMixed")?Ep(this,"committedUntilIsMixed"):!1},set:function(a){this.Serializable$values.committedUntilIsMixed=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return uK(this,
"eventSummary")?Ep(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return uK(this,"inMeetingsUntil")?Ep(this,"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return uK(this,"nextAvailable")?Ep(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,
enumerable:!0,get:function(){return uK(this,"occupiedUntil")?Ep(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var t0b=function(){this.Serializable$values={}};X(t0b,Fp);t0b.prototype.getPartialClassMetadata=function(){return{keys:[]}};var EK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.latitude=null==a.latitude?null:a.latitude;this.Serializable$values.longitude=null==a.longitude?null:a.longitude};X(EK,Fp);
EK.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};Ei.Object.defineProperties(EK.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return uK(this,"latitude")?Ep(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return uK(this,"longitude")?Ep(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});
var HK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};X(HK,Fp);HK.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};Ei.Object.defineProperties(HK.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return uK(this,"timeZone")?Ep(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var IK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.experimentalBuildingId=null==a.experimentalBuildingId?null:a.experimentalBuildingId;this.Serializable$values.experimentalDeskId=null==a.experimentalDeskId?null:a.experimentalDeskId;this.Serializable$values.experimentalFloorId=null==a.experimentalFloorId?null:a.experimentalFloorId};X(IK,Fp);IK.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId"]}};
Ei.Object.defineProperties(IK.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return uK(this,"experimentalBuildingId")?Ep(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return uK(this,"experimentalDeskId")?Ep(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return uK(this,"experimentalFloorId")?Ep(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}}});
var JK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime;this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.committedUntilIsMixed=null==a.committedUntilIsMixed?null:a.committedUntilIsMixed};X(JK,Fp);
JK.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","committedUntilIsMixed","eventSummary"]}};
Ei.Object.defineProperties(JK.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"comeBackTime")?Ep(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return uK(this,"committedUntil")?Ep(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},committedUntilIsMixed:{configurable:!0,enumerable:!0,get:function(){return uK(this,"committedUntilIsMixed")?
Ep(this,"committedUntilIsMixed"):!1},set:function(a){this.Serializable$values.committedUntilIsMixed=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return uK(this,"eventSummary")?Ep(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}}});var KK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};X(KK,Fp);KK.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
Ei.Object.defineProperties(KK.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"comeBackTime")?Ep(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var LK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.code=null==a.code?null:a.code;this.Serializable$values.message=null==a.message?null:a.message;this.Serializable$values.details=null==a.details?null:a.details};X(LK,Fp);
LK.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
Ei.Object.defineProperties(LK.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return uK(this,"code")?Ep(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return uK(this,"details")?Ep(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return uK(this,"message")?Ep(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var MK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.startTime=null==a.startTime?null:a.startTime;this.Serializable$values.endTime=null==a.endTime?null:a.endTime};X(MK,Fp);MK.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
Ei.Object.defineProperties(MK.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"endTime")?Ep(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"startTime")?Ep(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var NK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.overrideCurrentTime=null==a.overrideCurrentTime?null:a.overrideCurrentTime;this.Serializable$values.computationDuration=null==a.computationDuration?null:a.computationDuration};X(NK,Fp);NK.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
Ei.Object.defineProperties(NK.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return uK(this,"computationDuration")?Ep(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"overrideCurrentTime")?Ep(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var OK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.nextCommitmentTime=null==a.nextCommitmentTime?null:a.nextCommitmentTime;this.Serializable$values.nextCommitmentStatus=null==a.nextCommitmentStatus?null:a.nextCommitmentStatus};X(OK,Fp);OK.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:PK}}};
Ei.Object.defineProperties(OK.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return uK(this,"nextCommitmentStatus")?Ep(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new PK},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"nextCommitmentTime")?Ep(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var QK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};X(QK,Fp);QK.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:MK}}};Ei.Object.defineProperties(QK.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return uK(this,"timeRange")?Ep(this,"timeRange"):this.timeRange=new MK},set:function(a){this.Serializable$values.timeRange=a}}});
var RK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availabilities=null==a.availabilities?null:a.availabilities;this.Serializable$values.workingHours=null==a.workingHours?null:a.workingHours;this.Serializable$values.nextPollTime=null==a.nextPollTime?null:a.nextPollTime};X(RK,Fp);RK.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:u0b},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:SK}}};
Ei.Object.defineProperties(RK.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return uK(this,"availabilities")?Ep(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"nextPollTime")?Ep(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return uK(this,"workingHours")?
Ep(this,"workingHours"):this.workingHours=new SK},set:function(a){this.Serializable$values.workingHours=a}}});var BK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.forceEnableUserStatusCache=null==a.forceEnableUserStatusCache?null:a.forceEnableUserStatusCache;this.Serializable$values.timeSettings=null==a.timeSettings?null:a.timeSettings};X(BK,Fp);BK.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:NK}}};
Ei.Object.defineProperties(BK.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return uK(this,"forceEnableUserStatusCache")?Ep(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return uK(this,"timeSettings")?Ep(this,"timeSettings"):this.timeSettings=new NK},set:function(a){this.Serializable$values.timeSettings=a}}});
var r0b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userId=null==a.userId?null:a.userId;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.userAvailabilities=null==a.userAvailabilities?null:a.userAvailabilities};X(r0b,Fp);r0b.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:LK,userAvailabilities:RK,userId:qq}}};
Ei.Object.defineProperties(r0b.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Ep(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return uK(this,"status")?Ep(this,"status"):this.status=new LK},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==Ep(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return uK(this,"userAvailabilities")?
Ep(this,"userAvailabilities"):this.userAvailabilities=new RK},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==Ep(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return uK(this,"userId")?Ep(this,"userId"):this.userId=new qq},set:function(a){this.Serializable$values.userId=a}}});
var u0b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.contexts=null==a.contexts?null:a.contexts};X(u0b,Fp);u0b.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:TK,status:PK,timeRange:MK}}};
Ei.Object.defineProperties(u0b.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return uK(this,"contexts")?Ep(this,"contexts"):this.contexts=new TK},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Ep(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return uK(this,"status")?Ep(this,"status"):this.status=new PK},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,
enumerable:!0,get:function(){return uK(this,"timeRange")?Ep(this,"timeRange"):this.timeRange=new MK},set:function(a){this.Serializable$values.timeRange=a}}});
var TK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.workingElsewhere=null==a.workingElsewhere?null:a.workingElsewhere;this.Serializable$values.upcomingOoo=null==a.upcomingOoo?null:a.upcomingOoo;this.Serializable$values.localTime=null==a.localTime?null:a.localTime;this.Serializable$values.upcomingCommitmentContext=null==a.upcomingCommitmentContext?null:a.upcomingCommitmentContext};X(TK,Fp);
TK.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:HK,upcomingCommitmentContext:OK,upcomingOoo:QK,workingElsewhere:UK}}};
Ei.Object.defineProperties(TK.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"localTime")?Ep(this,"localTime"):this.localTime=new HK},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return uK(this,"upcomingCommitmentContext")?Ep(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new OK},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return uK(this,"upcomingOoo")?Ep(this,"upcomingOoo"):this.upcomingOoo=new QK},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return uK(this,"workingElsewhere")?Ep(this,"workingElsewhere"):this.workingElsewhere=new UK},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var qq=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.obfuscatedGaiaId=null==a.obfuscatedGaiaId?null:a.obfuscatedGaiaId;this.Serializable$values.email=null==a.email?null:a.email};X(qq,Fp);qq.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
Ei.Object.defineProperties(qq.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return uK(this,"email")?Ep(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return uK(this,"obfuscatedGaiaId")?Ep(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var VK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.homeLocation=null==a.homeLocation?null:a.homeLocation;this.Serializable$values.customLocation=null==a.customLocation?null:a.customLocation;this.Serializable$values.officeLocation=null==a.officeLocation?null:a.officeLocation};X(VK,Fp);VK.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:DK,homeLocation:s0b,officeLocation:IK}}};
Ei.Object.defineProperties(VK.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return uK(this,"customLocation")?Ep(this,"customLocation"):this.customLocation=new DK},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return uK(this,"homeLocation")?Ep(this,"homeLocation"):this.homeLocation=new s0b},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return uK(this,
"officeLocation")?Ep(this,"officeLocation"):this.officeLocation=new IK},set:function(a){this.Serializable$values.officeLocation=a}}});
var PK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.inactive=null==a.inactive?null:a.inactive;this.Serializable$values.doNotDisturb=null==a.doNotDisturb?null:a.doNotDisturb;this.Serializable$values.outsideWorkingHours=null==a.outsideWorkingHours?null:a.outsideWorkingHours;this.Serializable$values.outOfOffice=null==a.outOfOffice?null:a.outOfOffice;this.Serializable$values.inMeeting=null==a.inMeeting?null:a.inMeeting;this.Serializable$values.calendarBusy=null==
a.calendarBusy?null:a.calendarBusy};X(PK,Fp);PK.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:CK,doNotDisturb:FK,inMeeting:GK,inactive:t0b,outOfOffice:JK,outsideWorkingHours:KK}}};
Ei.Object.defineProperties(PK.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return uK(this,"calendarBusy")?Ep(this,"calendarBusy"):this.calendarBusy=new CK},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return uK(this,"doNotDisturb")?Ep(this,"doNotDisturb"):this.doNotDisturb=new FK},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return uK(this,
"inMeeting")?Ep(this,"inMeeting"):this.inMeeting=new GK},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return uK(this,"inactive")?Ep(this,"inactive"):this.inactive=new t0b},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==Ep(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return uK(this,"outOfOffice")?Ep(this,"outOfOffice"):
this.outOfOffice=new JK},set:function(a){this.Serializable$values.outOfOffice=a}},hasOutsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return null!==Ep(this,"outsideWorkingHours")}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return uK(this,"outsideWorkingHours")?Ep(this,"outsideWorkingHours"):this.outsideWorkingHours=new KK},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});
var UK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};X(UK,Fp);UK.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:VK}}};Ei.Object.defineProperties(UK.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return uK(this,"location")?Ep(this,"location"):this.location=new VK},set:function(a){this.Serializable$values.location=a}}});
var SK=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};X(SK,Fp);SK.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:p0b},keys:["availableTime"]}};Ei.Object.defineProperties(SK.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return uK(this,"availableTime")?Ep(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});
var v0b=new Ud("API_VERSION"),w0b=new Ud("REQUEST_SERVICE"),WK=function(){};WK.\u0275fac=function(a){return new (a||WK)};WK.\u0275mod=fd({type:WK});WK.\u0275inj=Qc({});
var x0b={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",callback:"callback",fields:"fields",key:"key",oauth_token:"oauth_token",prettyPrint:"prettyPrint",quotaUser:"quotaUser",uploadType:"uploadType",upload_protocol:"upload_protocol"},XK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new e0b(b,c)},y0b=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;return g0b(a.$apiClient,{body:b,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",
path:"/"+a.gapiVersion+"/useravailabilities:batchget",queryParams:qxa(c,x0b,d),responseCtor:q0b})};XK.\u0275fac=function(a){return new (a||XK)(n(v0b,8),n(w0b),n(c0b,8))};XK.\u0275prov=Pc({token:XK,factory:XK.\u0275fac});var YK=function(){};YK.\u0275fac=function(a){return new (a||YK)};YK.\u0275prov=Pc({token:YK,factory:function(a){return XK.\u0275fac(a)},providedIn:WK});var ZK=function(a){var b=this;this.apiStub=a;this.result=new T.Subject;this.destroyed=new T.ReplaySubject(1);this.trigger=new T.Subject;this.batchedTrigger=this.trigger.pipe(xf(this.trigger.pipe(wf(200))));this.responseHandler=function(c){if(c.hasResults){c=m(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){e=e.status.outOfOffice;
if(e.comeBackTime){var f=e=new Date(e.comeBackTime),h=new Date;e=h.getFullYear()===f.getFullYear()&&h.getMonth()===f.getMonth()&&h.getDate()===f.getDate()?"at "+e.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(e.getFullYear()!==(new Date).getFullYear()?e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));e=" - back "+e}else e="";e="Out of Office"+e}else e="";b.result.next({emailAddress:d,
availability:e})}else b.result.next({emailAddress:d,availability:""})}}};this.batchedTrigger.pipe(Rf(this.destroyed)).subscribe(function(c){c=[].concat(p(new Set(c)));z0b(b,c.slice(0,100));c=m(c.slice(100));for(var d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},z0b=function(a,b){var c,d;Ze(function(e){for(var f=new rq,h=[],l=m(b),q=l.next();!q.done;q=l.next()){q=q.value;var u=new qq;u.email=q;h.push(u)}f.userIds=h;c=f;d=y0b(a.apiStub,c);d.pipe(Rf(a.destroyed)).subscribe(a.responseHandler);
ef(e)})},A0b=function(a,b){if(!b)return(0,T.of)("");a.trigger.next(b);return a.result.pipe(sf(function(c){return c.emailAddress===b})).pipe(B(function(c){return c.availability}))};ZK.prototype.ngOnDestroy=function(){this.destroyed.next()};ZK.\u0275fac=function(a){return new (a||ZK)(n(YK))};ZK.\u0275prov=Pc({token:ZK,factory:ZK.\u0275fac});var B0b=function(a){Y.call(this,a)};X(B0b,Y);g=B0b.prototype;g.getSize=function(){return Db(this,1)};g.setSize=function(a){return k(this,1,a)};g.getWidth=function(){return Db(this,12)};g.setWidth=function(a){return k(this,12,a)};g.getHeight=function(){return Db(this,13)};g.setHeight=function(a){return k(this,13,a)};g.setStretch=function(a){return k(this,33,a)};g.setCrop=function(a){return k(this,2,a)};g.setCircleCrop=function(a){return k(this,51,a)};g.setImageCrop=function(a){return k(this,32,a)};
g.setSmartCrop=function(a){return k(this,19,a)};g.setSmartCropNoClip=function(a){return k(this,52,a)};g.setSmartCropUseFace=function(a){return k(this,67,a)};g.setDetectFaces=function(a){k(this,80,a)};g.setCenterCrop=function(a){return k(this,20,a)};g.setPad=function(a){return k(this,60,a)};g.setDownload=function(a){k(this,3,a)};g.setHtml=function(a){k(this,4,a)};g.getObjectId=function(){return Db(this,7)};g.setObjectId=function(a){k(this,7,a)};g.setLooseFaceCrop=function(a){return k(this,65,a)};
g.setFaceCropVersion=function(a){k(this,94,a)};g.setFrameId=function(a){k(this,29,a)};g.setTileX=function(a){k(this,9,a)};g.setTileY=function(a){k(this,10,a)};g.setTileZoom=function(a){k(this,11,a)};g.setTileGeneration=function(a){k(this,14,a)};g.setForceTileGeneration=function(a){k(this,34,a)};g.setTilePyramidAsProto=function(a){k(this,72,a)};g.setExpirationTime=function(a){k(this,15,a)};g.setImageFilter=function(a){return k(this,16,a)};g.setKillAnimation=function(a){return k(this,17,a)};
g.setUnfiltered=function(a){k(this,18,a)};g.setUnfilteredWithTransforms=function(a){k(this,45,a)};g.setIncludeMetadata=function(a){k(this,22,a)};g.setIncludePublicMetadata=function(a){k(this,54,a)};g.setStripGoogleData=function(a){k(this,82,a)};g.setPreserveGoogleData=function(a){k(this,83,a)};g.setStripMetadata=function(a){k(this,93,a)};g.setStripGeoinfo=function(a){k(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return k(this,21,a)};g.setBypassTakedown=function(a){k(this,23,a)};
g.getToken=function(){return Db(this,24)};g.setToken=function(a){return k(this,24,a)};g.setVersionedToken=function(a){k(this,36,a)};g.setSkipRefererCheck=function(a){k(this,6,a)};g.setRotate=function(a){return k(this,26,a)};g.setHorizontalFlip=function(a){k(this,30,a)};g.setVerticalFlip=function(a){k(this,31,a)};g.getOverlay=function(){return at(this,27)};g.setOverlay=function(a){return k(this,27,a)};g.setQueryString=function(a){k(this,28,a)};g.setRequestJpeg=function(a){return k(this,57,a)};
g.setRequestPng=function(a){return k(this,58,a)};g.setRequestGif=function(a){k(this,59,a)};g.setRequestAvif=function(a){k(this,103,a)};g.setRequestWebp=function(a){return k(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){k(this,41,a)};g.setRequestAnimatedWebp=function(a){k(this,64,a)};g.setNoWebp=function(a){k(this,48,a)};g.setRequestH264=function(a){return k(this,49,a)};g.setLossy=function(a){k(this,97,a)};g.setNoOverlay=function(a){return k(this,37,a)};
g.setBorderSize=function(a){k(this,38,a)};g.setBorderRadius=function(a){k(this,86,a)};g.setBorderColor=function(a){k(this,39,a)};g.getBackgroundColor=function(){return Db(this,87)};g.setBackgroundColor=function(a){k(this,87,a)};g.setPadColor=function(a){k(this,88,a)};g.setSubstitutionColor=function(a){k(this,89,a)};g.setNoSilhouette=function(a){k(this,40,a)};g.setFocusBlur=function(a){k(this,42,a)};g.setFocalPlane=function(a){k(this,43,a)};g.setQualityLevel=function(a){return k(this,44,a)};
g.setQualityBucket=function(a){return k(this,62,a)};g.setNoUpscale=function(a){k(this,46,a)};g.setPreserveAspectRatio=function(a){k(this,61,a)};g.setForceTransformation=function(a){k(this,50,a)};g.setNoDefaultImage=function(a){k(this,53,a)};g.setNoCorrectExifOrientation=function(a){k(this,55,a)};g.setSelectFrameNumber=function(a){k(this,56,a)};g.setVideoFormat=function(a){k(this,63,a)};g.setVideoMultiFormat=function(a){k(this,81,a)};g.setVideoManifest=function(a){k(this,98,a)};
g.setDownloadVideo=function(a){k(this,90,a)};g.setVideoBegin=function(a){k(this,68,a)};g.setVideoLength=function(a){k(this,69,a)};g.setMatchVersion=function(a){k(this,66,a)};g.setImageDigest=function(a){k(this,70,a)};g.setInternalClient=function(a){k(this,71,a)};g.setMonogram=function(a){k(this,73,a)};g.setForceMonogram=function(a){return k(this,84,a)};g.setMonogramDogfood=function(a){k(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){k(this,96,a)};g.setAutoloop=function(a){k(this,74,a)};
g.getImageVersion=function(){return Db(this,75)};g.setImageVersion=function(a){k(this,75,a)};g.setPitchDegrees=function(a){k(this,76,tb(a))};g.setYawDegrees=function(a){k(this,77,tb(a))};g.setRollDegrees=function(a){k(this,78,tb(a))};g.setFovDegrees=function(a){k(this,79,tb(a))};g.setBadge=function(a){k(this,85,a)};g.setColorProfile=function(a){k(this,92,a)};g.setDeepCrop=function(a){k(this,99,a)};g.setRequestVideoFast=function(a){k(this,100,a)};g.setVideoFormatFilters=function(a){k(this,102,a)};var $K=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};$K.prototype.set=function(a,b){C0b(this,a,b,!1)};$K.prototype.add=function(a,b){C0b(this,a,b,!0)};var C0b=function(a,b,c,d){for(var e=0;e<b.length;e++){var f=b.charAt(e);a.childNodes_[f]||(a.childNodes_[f]=new $K);a=a.childNodes_[f]}if(d&&void 0!==a.value_)throw Error("Uc`"+b);a.value_=c};$K.prototype.setAll=function(a){var b=wPb(a);a=ND(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var D0b=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};$K.prototype.get=function(a){return(a=D0b(this,a))?a.value_:void 0};$K.prototype.getValues=function(){var a=[];E0b(this,a);return a};var E0b=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)E0b(a.childNodes_[c],b)};
$K.prototype.getKeys=function(a){var b=[];if(a){for(var c=this,d=0;d<a.length;d++){var e=a.charAt(d);if(!c.childNodes_[e])return[];c=c.childNodes_[e]}F0b(c,a,b)}else F0b(this,"",b);return b};var F0b=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)F0b(a.childNodes_[d],b+d,c)};g=$K.prototype;g.containsKey=function(a){return void 0!==this.get(a)};
g.containsValue=function(a){if(this.value_===a)return!0;for(var b in this.childNodes_)if(this.childNodes_[b].containsValue(a))return!0;return!1};g.clear=function(){this.childNodes_={};this.value_=void 0};g.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.childNodes_[e])throw Error("Vc`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};
g.clone=function(){return new $K(this)};g.getCount=function(){return vPb(this.getValues())};g.isEmpty=function(){return void 0===this.value_&&hc(this.childNodes_)};var I0b=function(){if(!G0b){var a=G0b=new $K,b;for(b in H0b)a.add(b,H0b[b])}},G0b,aL=function(a,b){this.types=a;this.setters=b},H0b={a:new aL([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new aL([3],[function(a,b){a.setAutoloop(b)}]),b:new aL([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new aL([0],[function(a,b){a.setBadge(b)}]),bc:new aL([0],[function(a,b){a.setBackgroundColor(b)}]),br:new aL([0],[function(a,
b){a.setBorderRadius(b)}]),c:new aL([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new aL([3],[function(a,b){a.setCircleCrop(b)}]),ci:new aL([3],[function(a,b){a.setImageCrop(b)}]),cp:new aL([0],[function(a,b){a.setColorProfile(b)}]),cv:new aL([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new aL([3],[function(a,b){a.setDownload(b)}]),dc:new aL([5],[function(a,b){a.setDeepCrop(b)}]),df:new aL([3],[function(a,b){a.setDetectFaces(b)}]),dv:new aL([3],[function(a,b){a.setDownloadVideo(b)}]),
e:new aL([0],[function(a,b){a.setExpirationTime(b)}]),f:new aL([4],[function(a,b){a.setImageFilter(b)}]),fg:new aL([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new aL([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new aL([3],[function(a,b){a.setForceMonogram(b)}]),fo:new aL([2],[function(a,b){a.setFovDegrees(b)}]),ft:new aL([3],[function(a,b){a.setForceTransformation(b)}]),fv:new aL([3],[function(a,b){a.setVerticalFlip(b)}]),g:new aL([3],[function(a,b){a.setTileGeneration(b)}]),gd:new aL([3],
[function(a,b){a.setPreserveGoogleData(b)}]),h:new aL([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new aL([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new aL([0],[function(a,b){a.setInternalClient(b)}]),id:new aL([3],[function(a,b){a.setImageDigest(b)}]),il:new aL([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new aL([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new aL([0],[function(a,b){a.setImageVersion(b)}]),j:new aL([1],[function(a,b){a.setFrameId(b)}]),
k:new aL([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new aL([0],[function(a,b){a.setQualityLevel(b)}]),lf:new aL([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new aL([3],[function(a,b){a.setLossy(b)}]),m:new aL([0],[function(a,b){a.setVideoFormat(b)}]),md:new aL([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new aL([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new aL([3],[function(a,b){a.setMonogram(b)}]),mv:new aL([3],[function(a,b){a.setMatchVersion(b)}]),
n:new aL([3],[function(a,b){a.setCenterCrop(b)}]),nc:new aL([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new aL([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new aL([3],[function(a,b){a.setStripGeoinfo(b)}]),no:new aL([3],[function(a,b){a.setNoOverlay(b)}]),ns:new aL([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new aL([4],[function(a,b){a.setVersionedToken(b)}]),nu:new aL([3],[function(a,b){a.setNoUpscale(b)}]),nw:new aL([3],[function(a,b){a.setNoWebp(b)}]),o:new aL([1,3],[function(a,
b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new aL([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new aL([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new aL([0],[function(a,b){a.setPadColor(b)}]),pd:new aL([3],[function(a,b){a.setPad(b)}]),pf:new aL([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new aL([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new aL([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new aL([3],[function(a,b){a.setSmartCropNoClip(b)}]),
q:new aL([4],[function(a,b){a.setQueryString(b)}]),r:new aL([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new aL([3],[function(a,b){a.setRequestAvif(b)}]),rf:new aL([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new aL([3],[function(a,b){a.setRequestGif(b)}]),rh:new aL([3],[function(a,b){a.setRequestH264(b)}]),rj:new aL([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new aL([2],[function(a,b){a.setRollDegrees(b)}]),rp:new aL([3],[function(a,b){a.setRequestPng(b)}]),
rw:new aL([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new aL([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new aL([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new aL([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new aL([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new aL([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new aL([3],[function(a,b){a.setStripMetadata(b)}]),t:new aL([4],[function(a,b){a.setToken(b)}]),u:new aL([3],[function(a,
b){a.setUnfiltered(b)}]),ut:new aL([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new aL([0],[function(a,b){a.setQualityBucket(b)}]),vb:new aL([0],[function(a,b){a.setVideoBegin(b)}]),vf:new aL([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new aL([0],[function(a,b){a.setVideoLength(b)}]),vm:new aL([3],[function(a,b){a.setVideoManifest(b)}]),w:new aL([0],[function(a,b){a.setWidth(b)}]),x:new aL([0],[function(a,b){a.setTileX(b)}]),y:new aL([0],[function(a,b){a.setTileY(b)}]),ya:new aL([2],
[function(a,b){a.setYawDegrees(b)}]),z:new aL([0],[function(a,b){a.setTileZoom(b)}])};
I0b.prototype.parse=function(a){var b=new B0b,c=new B0b;if(""==a)a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(0==f.length)d=!1;else{var h=f,l=!1;var q=h;var u=h.charAt(0);u!=u.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var x=G0b;for(u=1;u<=q.length;++u){var y=x,G=q.substring(0,u);if(0==G.length?y.isEmpty():!D0b(y,G))break}q=1==u?null:(q=x.get(q.substring(0,u-1)))?{option:h.substring(0,u-1),value:h.substring(u-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];u=!1;for(x=0;x<q.attributes.types.length;x++){y=q.attributes.types[x];var J=q.value;G=e;if(q.signed&&1==y)for(var M=J.length;12>M&&G<a.length-1;)J+="-"+a[G+1],M=J.length,++G;else if(2==y)for(;G<a.length-1&&a[G+1].match(/^[\d\.]/);)J+="-"+a[G+1],++G;M=q.attributes.setters[x];J=J0b(this,y)(q.option,J,b,c,M);if(null===J){u=!0;e=G;break}else h.push(y),l.push(J)}if(!u)for(q=0;q<l.length;q++)x=h[q],J=l[q],K0b(this,x)(f,J);d=d&&u}else d=!1}}a=d}return new L0b(b,c,a)};
var M0b=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=I0b.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=sj(b);if(isNaN(b))return 1;M0b(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=zj(b);if(isNaN(b))return 1;M0b(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;M0b(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;M0b(a,b,c,d,e,function(f){return f?"1":""});return null};g.logStringParseError_=function(){};
var J0b=function(a,b){switch(b){case 0:return Eu(a.parseAndSetIntOption_,a);case 2:return Eu(a.parseAndSetFloatOption_,a);case 3:return Eu(a.parseAndSetBoolOption_,a);case 4:case 1:return Eu(a.parseAndSetStringOption_,a);default:return function(){}}},K0b=function(a,b){switch(b){case 0:return Eu(a.logIntParseError_,a);case 2:return Eu(a.logFloatParseError_,a);case 3:return Eu(a.logBoolParseError_,a);case 4:case 1:return Eu(a.logStringParseError_,a);default:return function(){}}},L0b=function(a,b,c){this.valueProto_=
a;this.signatureFlagProto_=b;this.valid_=c};L0b.prototype.isValid=function(){return this.valid_};var N0b=function(a,b){null!=a&&this.append.apply(this,arguments)};g=N0b.prototype;g.buffer_="";g.set=function(a){this.buffer_=""+a};g.append=function(a,b,c){this.buffer_+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.buffer_+=arguments[d];return this};g.clear=function(){this.buffer_=""};g.getLength=function(){return this.buffer_.length};g.toString=function(){return this.buffer_};var bL=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;O0b(this,a)};bL.prototype.getParsedOptions=function(){return this.parsedOptions_};var P0b=function(a){null==a.parser_&&(a.parser_=new I0b);return a.parser_},O0b=function(a,b){a.parsedOptions_=b?"string"===typeof b?P0b(a).parse(b):b:P0b(a).parse("")},cL=function(a,b){return a==b?!1:!0};g=bL.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,21),at(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,56),Db(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,74),at(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,23,!1),xl(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,38),Db(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,85),Db(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,86),Db(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,2,!1),xl(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,39),Db(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,51),at(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,32),at(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,92),Db(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,94),Db(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,3,!1),xl(b.signatureFlagProto_,3,!1))&&c.setDownload(a)};
g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,99),Db(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,80),at(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,90),at(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};
g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,15),Db(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,16),Db(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,34,!1),xl(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};
g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,30),at(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,84),at(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,$t(c,79),$t(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,50),at(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,31),at(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,14,!1),xl(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};
g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,83),at(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,4,!1),xl(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,c.getHeight(),b.signatureFlagProto_.getHeight())&&c.setHeight(a);return this};
g.setIncludeMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,22),at(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,71),Db(b.signatureFlagProto_,71))&&c.setInternalClient(a)};g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,70),at(b.signatureFlagProto_,70))&&c.setImageDigest(a)};
g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,96),at(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,54),at(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};
g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,29),Db(b.signatureFlagProto_,29))&&c.setFrameId(a)};g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,17),at(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,42),Db(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};
g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,44),Db(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,65),at(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,97),at(b.signatureFlagProto_,97))&&c.setLossy(a)};
g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,63),Db(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,91),at(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,81),Db(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};
g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,73),at(b.signatureFlagProto_,73))&&c.setMonogram(a)};g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,66),at(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,20,!1),xl(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};
g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,55),at(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,53),at(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,95),at(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};
g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,37,!1),xl(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,40),at(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,36),Db(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};
g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,46),at(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,48,!1),xl(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,c.getObjectId(),b.signatureFlagProto_.getObjectId())&&c.setObjectId(a)};
g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,c.getOverlay(),b.signatureFlagProto_.getOverlay())&&c.setOverlay(a);return this};g.setSmartCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,19,!1),xl(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,43),Db(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};
g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,61),at(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,88),Db(b.signatureFlagProto_,88))&&c.setPadColor(a)};g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,60),at(b.signatureFlagProto_,60))&&c.setPad(a);return this};
g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,67,!1),xl(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,72,!1),xl(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,$t(c,76),$t(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};
g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,52,!1),xl(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,28),Db(b.signatureFlagProto_,28))&&c.setQueryString(a)};g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,6,!1),xl(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};
g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,26),Db(b.signatureFlagProto_,26))&&c.setRotate(a);return this};g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,103,!1),xl(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,100),at(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};
g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,59),at(b.signatureFlagProto_,59))&&c.setRequestGif(a)};g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,49,!1),xl(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,57),at(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};
g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,$t(c,78),$t(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,58),at(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,35,!1),xl(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};
g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,64,!1),xl(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,xl(c,41,!1),xl(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};
g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,33),at(b.signatureFlagProto_,33))&&c.setStretch(a);return this};g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,89),Db(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};
g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,82),at(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,93),at(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};
g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,18),at(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,45),at(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,62),Db(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};
g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,68),Db(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,102),Db(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,69),Db(b.signatureFlagProto_,69))&&c.setVideoLength(a)};
g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;cL(a,at(c,98),at(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,9),Db(b.signatureFlagProto_,9))&&c.setTileX(a)};
g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,10),Db(b.signatureFlagProto_,10))&&c.setTileY(a)};g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,$t(c,77),$t(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;cL(a,Db(c,11),Db(b.signatureFlagProto_,11))&&c.setTileZoom(a)};g.setOptions=function(a){O0b(this,a);return this};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;dL(this,"s",b.getSize(),a.getSize());dL(this,"w",b.getWidth(),a.getWidth());eL(this,"c",xl(b,2,!1),xl(a,2,!1));eL(this,"d",xl(b,3,!1),xl(a,3,!1));dL(this,"h",b.getHeight(),a.getHeight());eL(this,"s",at(b,33),at(a,33));eL(this,"h",xl(b,4,!1),xl(a,4,!1));eL(this,"p",xl(b,19,!1),xl(a,19,!1));eL(this,"pp",xl(b,52,!1),xl(a,52,!1));eL(this,"pf",xl(b,67,!1),xl(a,67,!1));eL(this,"n",xl(b,20,!1),
xl(a,20,!1));dL(this,"r",Db(b,26),Db(a,26));eL(this,"r",xl(b,6,!1),xl(a,6,!1));eL(this,"o",b.getOverlay(),a.getOverlay());var c=b.getObjectId();fL(this,"o",c,a.getObjectId());c=Db(b,29);fL(this,"j",c,Db(a,29));dL(this,"x",Db(b,9),Db(a,9));dL(this,"y",Db(b,10),Db(a,10));dL(this,"z",Db(b,11),Db(a,11));eL(this,"g",xl(b,14,!1),xl(a,14,!1));dL(this,"e",Db(b,15),Db(a,15));fL(this,"f",Db(b,16),Db(a,16));eL(this,"k",at(b,17),at(a,17));eL(this,"u",at(b,18),!0);eL(this,"ut",at(b,45),!0);eL(this,"i",at(b,22),
!0);eL(this,"a",at(b,21),at(a,21));eL(this,"b",xl(b,23,!1),xl(a,23,!1));dL(this,"b",Db(b,38),Db(a,38));dL(this,"c",Db(b,39),Db(a,39),16,8);fL(this,"q",Db(b,28),Db(a,28));eL(this,"fh",at(b,30),at(a,30));eL(this,"fv",at(b,31),at(a,31));eL(this,"fg",xl(b,34,!1),xl(a,34,!1));eL(this,"ci",at(b,32),at(a,32));fL(this,"t",b.getToken(),a.getToken());fL(this,"nt0",Db(b,36),Db(a,36));eL(this,"rw",xl(b,35,!1),xl(a,35,!1));eL(this,"rwu",xl(b,41,!1),xl(a,41,!1));eL(this,"rwa",xl(b,64,!1),xl(a,64,!1));eL(this,"nw",
xl(b,48,!1),xl(a,48,!1));eL(this,"rh",xl(b,49,!1),xl(a,49,!1));eL(this,"no",xl(b,37,!1),xl(a,37,!1));eL(this,"ns",at(b,40),at(a,40));dL(this,"k",Db(b,42),Db(a,42));dL(this,"p",Db(b,43),Db(a,43));dL(this,"l",Db(b,44),Db(a,44));dL(this,"v",Db(b,62),Db(a,62));eL(this,"nu",at(b,46),at(a,46));eL(this,"ft",at(b,50),at(a,50));eL(this,"cc",at(b,51),at(a,51));eL(this,"nd",at(b,53),at(a,53));eL(this,"ip",at(b,54),at(a,54));eL(this,"nc",at(b,55),at(a,55));dL(this,"a",Db(b,56),Db(a,56));eL(this,"rj",at(b,57),
at(a,57));eL(this,"rp",at(b,58),at(a,58));eL(this,"rg",at(b,59),at(a,59));eL(this,"pd",at(b,60),at(a,60));eL(this,"pa",at(b,61),at(a,61));dL(this,"m",Db(b,63),Db(a,63));dL(this,"vb",Db(b,68),Db(a,68));dL(this,"vl",Db(b,69),Db(a,69));eL(this,"lf",at(b,65),at(a,65));eL(this,"mv",at(b,66),at(a,66));eL(this,"id",at(b,70),at(a,70));dL(this,"ic",Db(b,71),!0);eL(this,"pg",xl(b,72,!1),xl(a,72,!1));eL(this,"mo",at(b,73),at(a,73));eL(this,"al",at(b,74),at(a,74));dL(this,"iv",b.getImageVersion(),a.getImageVersion());
dL(this,"pi",$t(b,76),$t(a,76));dL(this,"ya",$t(b,77),$t(a,77));dL(this,"ro",$t(b,78),$t(a,78));dL(this,"fo",$t(b,79),$t(a,79));eL(this,"df",at(b,80),at(a,80));fL(this,"mm",Db(b,81),Db(a,81));eL(this,"sg",at(b,82),at(a,82));eL(this,"gd",at(b,83),at(a,83));eL(this,"fm",at(b,84),at(a,84));dL(this,"ba",Db(b,85),Db(a,85));dL(this,"br",Db(b,86),Db(a,86));dL(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);dL(this,"pc",Db(b,88),Db(a,88),16,8);dL(this,"sc",Db(b,89),Db(a,89),16,8);eL(this,"dv",
at(b,90),at(a,90));eL(this,"md",at(b,91),at(a,91));dL(this,"cp",Db(b,92),Db(a,92));eL(this,"sm",at(b,93),at(a,93));dL(this,"cv",Db(b,94),Db(a,94));eL(this,"ng",at(b,95),at(a,95));eL(this,"il",at(b,96),at(a,96));eL(this,"lo",at(b,97),at(a,97));eL(this,"vm",at(b,98),at(a,98));fL(this,"dc",Db(b,99),Db(a,99));eL(this,"rf",at(b,100),at(a,100));fL(this,"vf",Db(b,102),Db(a,102));eL(this,"ra",xl(b,103,!1),xl(a,103,!1));return this.components_.join("-")};
var dL=function(a,b,c,d,e,f){if(null!=c){var h=void 0==e||10!=e&&16!=e?10:e;c=c.toString(h);e=new N0b;e.append(16==h?"0x":"");h=e.append;void 0==f?f="":(f-=c.length,f=0>=f?"":ZCb("0",f));h.call(e,f);e.append(c);Q0b(a,b,e.toString(),!!d)}},eL=function(a,b,c,d){c&&Q0b(a,b,"",!!d)},fL=function(a,b,c,d){c&&Q0b(a,b,c,!!d)},Q0b=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var gL=function(a){bL.call(this,a)};Gu(gL,bL);g=gL.prototype;g.setCrop=function(a){a&&hL(this);return gL.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return gL.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&hL(this);return gL.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return gL.superClass_.setQualityLevel.call(this,a)};
g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return gL.superClass_.setImageFilter.call(this,a)};g.setImageCrop=function(a){a&&hL(this);return gL.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&hL(this);return gL.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){Ta(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return gL.superClass_.setSize.call(this,a)};
g.setSmartCrop=function(a){a&&hL(this);return gL.superClass_.setSmartCrop.call(this,a)};g.setSmartCropNoClip=function(a){a&&hL(this);return gL.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&hL(this);return gL.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&hL(this);return gL.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&hL(this);return gL.superClass_.setPad.call(this,a)};
g.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return gL.superClass_.setWidth.call(this,a)};var hL=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
gL.prototype.build=function(){var a=this.getParsedOptions().valueProto_;at(a,18)||at(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),hL(this)));return gL.superClass_.build.call(this)};var R0b=/^[^\/]*\/\//,iL=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(R0b))&&a[0]?(this.originalPrefix_=a[0],a=this.originalPrefix_.match(/\w+/)?this.original_:"http://"+this.original_.substring(this.originalPrefix_.length)):a="http://"+this.original_;this.uri_=ZD(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},S0b=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},jL=function(a){if(void 0==a.components_){var b=a.uri_.getPath().substring(1);
a.pathPrefix_=null;if(a.isFreeformUrl_){a.components_=[];if(1<(b.match(/=/g)||[]).length)return a.valid_=!1,a.components_;var c=b.indexOf("=");-1!=c?(a.components_.push(b.substr(0,c)),a.components_.push(b.substr(c+1))):a.components_.push(b);return a.components_}a.components_=b.split("/");b=a.components_.length;2<b&&"u"==a.components_[0]&&(S0b(a,a.components_[0]+"/"+a.components_[1]),a.components_.shift(),a.components_.shift(),b-=2);if(0==b||4==b||7<b)return a.valid_=!1,a.components_;if(2==b)S0b(a,
a.components_[0]);else if("image"==a.components_[0])S0b(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(S0b(a,a.components_[1]),a.components_.shift(),--b);--b;c=a.components_[b];var d=c.indexOf("=");-1!=d&&(a.components_[b]=c.substr(0,d),a.components_.push(c.substr(d+1)))}}return a.components_};iL.prototype.isValid=function(){jL(this);return this.valid_};var T0b=function(a){jL(a);return a.obfuscated_},U0b=function(a){jL(a);return a.isFreeformUrl_};
iL.prototype.getDomain=function(){var a=this.uri_.port_;return this.uri_.getDomain()+(a?":"+a:"")};iL.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var kL=function(a){jL(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};iL.prototype.hasOptions=function(){switch(jL(this).length){case 7:return!0;case 6:return null==kL(this);case 5:return!1;case 3:return!0;case 2:return null==kL(this);case 1:return!1;default:return!1}};
var lL=function(a,b){if(U0b(a))a:{switch(b){case 7:b=0;break;case 4:if(!a.hasOptions()){a=null;break a}b=1;break;default:a=null;break a}a=jL(a)[b]}else if(T0b(a))a:{var c=null!=kL(a)?1:0;switch(b){case 6:b=c;break;case 4:if(!a.hasOptions()){a=null;break a}b=1+c;break;default:a=null;break a}a=jL(a)[b]}else a:{c=null!=kL(a)?1:0;switch(b){case 0:b=c;break;case 1:b=1+c;break;case 2:b=2+c;break;case 3:b=3+c;break;case 4:if(!a.hasOptions()){a=null;break a}b=4+c;break;case 5:b=a.hasOptions()?1:0;b=4+c+b;
break;default:a=null;break a}a=jL(a)[b]}return a};g=iL.prototype;g.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=lL(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=lL(this,1));return this.photoId_};g.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=lL(this,2));return this.imageVersion_};g.getOptions=function(){void 0==this.options_&&(this.options_=lL(this,4));return this.options_};
g.getFilename=function(){void 0==this.filename_&&(this.filename_=lL(this,5));return this.filename_};var V0b=function(){};V0b.prototype.parse=function(a,b){return new W0b(a,void 0===b?!1:b)};var W0b=function(a,b){iL.call(this,a,void 0===b?!1:b)};X(W0b,iL);W0b.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new I0b).parse(a)}return this.parsedOptions_};var mL=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof W0b||(void 0==X0b&&(X0b=new V0b),a=X0b.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();bL.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},X0b;Gu(mL,gL);mL.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
mL.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=mL.superClass_.build.call(this),b=[];null!=kL(this.parsedImageUrl_)&&b.push(kL(this.parsedImageUrl_));var c=U0b(this.parsedImageUrl_);if(T0b(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=lL(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=lL(e,7));d.call(b,
e.freeformUrlPath_);a&&b.push(a)}else b.push(this.parsedImageUrl_.getObfuscatedGaiaId()),b.push(this.parsedImageUrl_.getPhotoId()),b.push(this.parsedImageUrl_.getImageVersion()),d=b.push,e=this.parsedImageUrl_,void 0==e.signature_&&(e.signature_=lL(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=ZD(this.protocolPrefix_+this.domain_+"/"+(c?b.join("="):b.join("/"))+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));
return a};var Y0b=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],nL=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new T.ReplaySubject(1);this.person$=this.providedEmail$.pipe(Qf(function(d){return o0b(c.peopleService,d)}),B(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;var l=new mL(h);l.setSize(48);h=l.build()||h}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),Nf(1));this.outOfOfficeDescription$=
new T.ReplaySubject;this.init=new T.ReplaySubject(1);this.destroyed$=new T.ReplaySubject(1)};nL.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Ef(),Rf(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&Z0b(this)};var Z0b=function(a){a.waldoService&&a.person$.pipe(Qf(function(b){return b?A0b(a.waldoService,b.email):(0,T.of)("")}),Rf(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
Ei.Object.defineProperties(nL.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});nL.\u0275fac=function(a){return new (a||nL)(A(AK),A(ZK,8))};
nL.\u0275cmp=r({type:nL,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},ngContentSelectors:["onedev-hovercard-action","[onedev-additional-content]"],decls:2,vars:3,consts:[[3,"person","outOfOfficeDescription",4,"ngIf"],[3,"person","outOfOfficeDescription"]],template:function(a,b){a&1&&(wg(Y0b),O(0,Ixa,4,4,"onedev-person-hovercard-body",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.person$))},dependencies:[bx,tK,hx],encapsulation:2,changeDetection:0});var $0b=[[["onedev-hovercard-action"],["",8,"actions"]]],oL=function(){};oL.prototype.ngOnInit=function(){};oL.\u0275fac=function(a){return new (a||oL)};
oL.\u0275cmp=r({type:oL,selectors:[["b-person-card"]],inputs:{email:"email"},ngContentSelectors:["onedev-hovercard-action, .actions"],decls:1,vars:0,consts:[[3,"email","enableWaldo","onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"email","enableWaldo","onedevIsHovercardReady"],["cardBody",""]],template:function(a){a&1&&(wg($0b),O(0,Jxa,3,3,"onedev-person-hovercard",0))},dependencies:[nL,YI,ZI],styles:["onedev-hovercard-action[_ngcontent-%COMP%]   .label-enabled[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}onedev-hovercard-action[_ngcontent-%COMP%]   .label-disabled[_ngcontent-%COMP%]{color:rgba(0,0,0,.2)}[_nghost-%COMP%]     .onedev-hovercard-content .onedev-hovercard-body a:focus{outline-width:1px}"],
changeDetection:0});var pL=function(){this.isNonObfuscatedEmail=wp};pL.\u0275fac=function(a){return new (a||pL)};
pL.\u0275cmp=r({type:pL,selectors:[["b-person-hovercard"]],inputs:{email:"email",triggerClass:"triggerClass"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],[3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(wg(),O(0,Lxa,6,4,"ng-container",0),O(1,Mxa,1,0,"ng-template",null,1,$g));if(a&2){var c=N(2);C("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",c)}},dependencies:[bx,
gx,XI,bJ,oL],encapsulation:2,changeDetection:0});var qL=function(){this.onAction=new vw;this.disabled=!1};qL.prototype.handleClick=function(){this.onAction.emit()};qL.\u0275fac=function(a){return new (a||qL)};
qL.\u0275cmp=r({type:qL,selectors:[["onedev-hovercard-action"]],inputs:{disabled:"disabled"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:2,vars:1,consts:[["mat-button","","color","primary",1,"onedev-hovercard-action",3,"disabled","click"]],template:function(a,b){a&1&&(wg(),D(0,"button",0),K("click",function(){return b.handleClick()}),xg(1),E());a&2&&C("disabled",b.disabled)},dependencies:[NA],styles:[".onedev-hovercard-action[_ngcontent-%COMP%]{--onedev-card-action-background:var(--surface-default,#fff);--onedev-card-action-border:var(--hairline,#dadce0)}button.onedev-hovercard-action[_ngcontent-%COMP%]{background-color:var(--onedev-card-action-background);border-radius:0;border:none;border-top:1px solid var(--onedev-card-action-border);font-size:14px;height:40px;padding:0 20px;text-align:left;width:100%}"]});var rL=function(a,b,c){Z.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};X(rL,Z);rL.\u0275dir=Z.\u0275dir;
rL.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(Rf(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(Rf(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var Nxa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Wo(Mp.PERSON_CARD,"assigneeAction",b);Y_b(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},Oxa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Wo(Mp.PERSON_CARD,"ccAction",b);Z_b(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};rL.\u0275fac=function(a){return new (a||rL)(A(JI),A(HH,2),A(pK,8))};
rL.\u0275cmp=r({type:rL,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Dg([HH]),$f],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"disabled","onAction"]],template:function(a,b){a&1&&(D(0,"b-person-card",0),O(1,Pxa,9,8,"ng-container",1),R(2,"async"),D(3,"onedev-hovercard-action",2),K("click",function(c){Wo(Mp.PERSON_CARD,"showAssignedIssuesAction");var d=Kn({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
KI(b.domSafe,d)}),D(4,"span"),P(5,"Show assigned issues"),E()()());a&2&&(C("email",b.email),z(1),C("ngIf",b.actionService&&S(2,2,b.actionService.editAccess$)))},dependencies:[bx,qL,oL,hx],encapsulation:2,changeDetection:0});var sL=function(){this.isMentioningMe=!1};sL.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};sL.\u0275fac=function(a){return new (a||sL)};
sL.\u0275cmp=r({type:sL,selectors:[["b-mention-chip-widget"]],inputs:{email:"email",isMentioningMe:"isMentioningMe"},decls:6,vars:5,consts:[[1,"mention",3,"onedevHovercardTrigger"],["el",""],["card",""],[3,"email"]],template:function(a,b){a&1&&(D(0,"span",0,1),P(2),E(),D(3,"onedev-hovercard",null,2),F(5,"b-issue-person-card",3),E());if(a&2){var c=N(4);pg("me",b.isMentioningMe);C("onedevHovercardTrigger",c);z(2);Q("@",b.username,"");z(3);C("email",b.email)}},dependencies:[rL,XI,bJ],styles:[".mention[_ngcontent-%COMP%]{font-weight:500}.mention.me[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--self-mentioned-bg);color:#1a73e8;color:var(--self-mentioend-text);border-radius:4px;font-weight:500;padding:0 3px}"]});var tL=function(a){Y.call(this,a)};X(tL,Y);tL.prototype.getUrl=function(){return lk(this,1)};tL.prototype.setUrl=function(a){return k(this,1,a)};tL.prototype.hasUrl=function(){return gm(this,1)};tL.messageId="b.ImageRedirectRequest";var uL=function(a){Y.call(this,a)};X(uL,Y);uL.prototype.getUrl=function(){return lk(this,1)};uL.prototype.setUrl=function(a){return k(this,1,a)};uL.prototype.hasUrl=function(){return gm(this,1)};uL.messageId="b.ImageRedirectResponse";var vL=function(a){this.executor=a},a1b=function(a,b){var c=new tL;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:uL}).pipe(B(function(d){return d.getUrl()}))};vL.\u0275fac=function(a){return new (a||vL)(n(nE))};vL.\u0275prov=Pc({token:vL,factory:vL.\u0275fac,providedIn:"root"});var wL=function(a){var b=this;this.imageRedirector=a;this.src$=new T.BehaviorSubject("");this.showImage$=new T.BehaviorSubject(!1);this.error$=new T.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(B(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(p(d));if(c.length<=e)e=d;else{var f=Math.floor(e/2);d=c.slice(0,f-1).join("");e=c.slice(-(f-(0!==e%2?1:2))).join("");null!=String.prototype.trimEnd&&null!=String.prototype.trimStart&&(d=d.trimEnd(),e=e.trimStart());e=d+"..."+
e}return e}));this.srcRedirected$=(0,T.combineLatest)([this.src$,this.showImage$]).pipe(sf(function(c){c=m(c);c.next();return c.next().value}),Qf(function(c){var d=m(c).next().value;return(c=Ura(d))?(0,T.of)(c):a1b(b.imageRedirector,d).pipe(yf(function(){b.error$.next(!0);return d}))}))};wL.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
Ei.Object.defineProperties(wL.prototype,{showByDefault:{configurable:!0,enumerable:!0,set:function(a){this.showImage$.next(a)}},src:{configurable:!0,enumerable:!0,set:function(a){this.src$.next(a);this.error$.next(!1)},get:function(){return this.src$.value}}});wL.\u0275fac=function(a){return new (a||wL)(A(vL))};
wL.\u0275cmp=r({type:wL,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["widget",""],["error",""],[3,"src"],["tabindex","0",1,"normal-link",3,"href","title","click","keydown.enter"],["svgIcon","image",1,"icon-s"],["svgIcon","broken-image",1,"icon-l",3,"matTooltip"]],template:function(a,b){a&1&&(O(0,Rxa,3,4,"ng-container",0),R(1,"async"),O(2,Sxa,8,9,"ng-template",null,1,$g),O(4,Txa,2,3,"ng-template",null,
2,$g));if(a&2){var c=N(5);C("ngIf",!1===S(1,2,b.error$))("ngIfElse",c)}},dependencies:[bx,OB,qD,LI,hx],styles:["a[_ngcontent-%COMP%]{word-break:break-all;margin:0 2px}a[_ngcontent-%COMP%]:hover{text-decoration:underline}mat-icon[_ngcontent-%COMP%]{vertical-align:middle;line-height:18px;margin-top:-3px;margin-right:1px}img[_ngcontent-%COMP%]{max-width:100%}\n/*# sourceMappingURL=secure_image.css.map */"],changeDetection:0});var b1b={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},xL=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=b1b;this.src$=new T.BehaviorSubject("");this.isMarkdownImage$=new T.BehaviorSubject(!1);this.displayMode$=(0,T.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(B(function(d){var e=m(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d&&
Qp(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!f&&e?"COLLAPSE":f?"SHOW":"HIDE":"HIDE"}),Pf("HIDE"))};Ei.Object.defineProperties(xL.prototype,{src:{configurable:!0,enumerable:!0,set:function(a){this.src$.next(a)},get:function(){return this.src$.value}},isMarkdownImage:{configurable:!0,enumerable:!0,set:function(a){this.isMarkdownImage$.next(a)},get:function(){return this.isMarkdownImage$.value}}});xL.\u0275fac=function(a){return new (a||xL)(A(tu),A(CI))};
xL.\u0275cmp=r({type:xL,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"src","alt","showByDefault",4,"ngSwitchCase"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"],[3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(O(0,Wxa,5,5,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.src$))},dependencies:[bx,cx,dx,wL,hx],styles:["[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]{display:inline-block;margin-top:8px;margin-bottom:8px;max-width:70%}[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]     img{border:2px solid;border-color:#e8eaed;border-color:var(--c200);border-radius:8px;min-width:18px;min-height:18px;max-width:100%;max-height:350px}\n/*# sourceMappingURL=snipit_image.css.map */"],
changeDetection:0});var c1b=Symbol(),d1b=Symbol(),e1b=Symbol(),f1b=Symbol(),g1b=Symbol(),h1b=Symbol(),yL=function(a,b,c){this.appRef=a;this.flags=b;this.session=c;this.allComponentRefs=[];this.secureImageRefs=[];this.snipItImageRefs=[];this.mentionChipRefs=[];this.checkboxRefs=[];this.externalHyperlinkRefs=[];this.brokenLinkRefs=[];this.issueReferenceRefs=[]},k1b=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var f=d[e],h=f.dataset.bId;h&&(f.id=h)}d=m(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&vn(h)&&e&&pva(e)&&h===e.textContent&&(f=e.nextSibling,i1b(a,e,h,void 0,c),h=void 0,null!=(h=f)&&h.textContent&&(h=f.textContent.match(/(^[^\w]+)/))))h=h[1],f.textContent=f.textContent.substring(h.length),f=document.createElement("span"),f.textContent=h,e.insertAdjacentElement("afterend",f);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(f=d[e],f.dataset.bWidget){case "image":h=a;var l=c,q=f.dataset.bImgSrc,u=f.dataset.bImgRedirectedSrc;
Xxa(f);if(q){var x=f.dataset.bImgAlt;if(vn(q))i1b(h,f,q,x,l,!0);else if(Qp(h.flags.session,"enableMarkdownInlineImages"))f=h.createComponent(wL,f,l),l=f.instance,l.src=q,x&&(l.alt=x),h.secureImageRefs.push(f);else{var y=document.createElement("a");x?y.appendChild(document.createTextNode(x)):y.appendChild(document.createTextNode(q));f.appendChild(y);j1b(h,y,q,u||q,l)}}break;case "checkbox":h=a;x=c;q=null!=f.dataset.bCheckboxChecked;Xxa(f);f=h.createComponent(RI,f,x);f.instance.checked=q;h.checkboxRefs.push(f);
break;case "url":h=a;q=c;x=f.dataset.bOriginalHref;l=f.dataset.bRedirectedHref;x&&l&&(f.removeAttribute("href"),j1b(h,f,x,l,q));break;case "broken-url":h=a;l=c;if(x=f.dataset.bOriginalHref){q=Array.from(f.childNodes);f=h.createComponent(NI,f,l);l=f.instance;l.originalHref=x;x=l.getNgContentParentEl();q=m(q);for(l=q.next();!l.done;l=q.next())x.appendChild(l.value);h.brokenLinkRefs.push(f)}break;case "mention":a.session.isInternalSession()&&(x=void 0,h=a,l=c,q="","@"===(null==(x=f.textContent)?void 0:
x[0])&&(q=f.textContent.slice(1)),Xxa(f),f=h.createComponent(sL,f,l),x=f.instance,x.email=q,x.isMentioningMe=h.session.getUserEmail()===q,h.mentionChipRefs.push(f));break;case "issue-reference":y=void 0;h=a;var G=c;q=f.href;x=f.dataset.bIssueId;l=f.dataset.bCommentNumber;if(q&&x){u=Number(l);l=Array.from(f.childNodes);var J=document.createElement("span");null==(y=f.parentNode)||y.insertBefore(J,f);y=h.createComponent(dJ,J,G);G=y.instance;G.href=q;G.issueId=x;G.commentNumber=u;q=G.el.nativeElement;
x=m(l);for(l=x.next();!l.done;l=x.next())q.appendChild(l.value);f.remove();h.issueReferenceRefs.push(y)}}a=b.querySelectorAll("a");for(c=0;c<a.length;c++)d=a[c],d.getAttribute("target")||d.setAttribute("target","_self");b=b.querySelectorAll("table");for(a=0;a<b.length;a++)c=b[a],c.parentNode&&(d=document.createElement("div"),d.classList.add("table-overflow"),c.parentNode.insertBefore(d,c),d.appendChild(c))};yL.prototype.ngOnDestroy=function(){l1b(this)};
var i1b=function(a,b,c,d,e,f){f=void 0===f?!1:f;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));b=a.createComponent(xL,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=f;a.snipItImageRefs.push(b)},j1b=function(a,b,c,d,e){var f=Array.from(b.childNodes);b=a.createComponent(SI,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();f=m(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
yL.prototype.createComponent=function(a,b,c){c={environmentInjector:this.appRef.injector,elementInjector:c.injector};a=a[ed]||null;var d=c.elementInjector||Td();c=(new Kv(a)).create(d,c.projectableNodes,c.hostElement,c.environmentInjector);b.appendChild(c.location.nativeElement);cFb(this.appRef,c.hostView);this.allComponentRefs.push(c);return c};
var l1b=function(a){for(var b=m(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[];a.secureImageRefs=[];a.snipItImageRefs=[];a.mentionChipRefs=[];a.checkboxRefs=[];a.externalHyperlinkRefs=[];a.brokenLinkRefs=[];a.issueReferenceRefs=[]};yL.prototype[c1b]=function(){return this.secureImageRefs.slice()};yL.prototype[d1b]=function(){return this.snipItImageRefs.slice()};yL.prototype[e1b]=function(){return this.checkboxRefs.slice()};yL.prototype[f1b]=function(){return this.externalHyperlinkRefs.slice()};
yL.prototype[g1b]=function(){return this.brokenLinkRefs.slice()};yL.prototype[h1b]=function(){return this.issueReferenceRefs.slice()};yL.\u0275fac=function(a){return new (a||yL)(n(Tw),n(TI),n(tu))};yL.\u0275prov=Pc({token:yL,factory:yL.\u0275fac});var m1b=["child"],n1b=Symbol(),zL=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};zL.prototype.ngOnInit=function(){};zL.prototype.ngOnChanges=function(){l1b(this.dynamicComponents);var a=this.child.nativeElement;lp(a,this.content.getContent());k1b(this.dynamicComponents,a,this.viewContainerRef)};zL.prototype.ngOnDestroy=function(){l1b(this.dynamicComponents)};zL.prototype[n1b]=function(){return this.dynamicComponents};
zL.\u0275fac=function(a){return new (a||zL)(A(yL,2),A(FI),A(Pg))};
zL.\u0275cmp=r({type:zL,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&Sg(m1b,7);if(a&2){var c;Rg(c=Ug())&&(b.child=c.first)}},inputs:{content:"content"},features:[Dg([{provide:yL,useClass:yL}]),md],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(D(0,"div",0,1),R(2,"async"),E());a&2&&pg("codefont",S(2,2,b.codefont.codefont$))},dependencies:[hx],styles:[':root{--blue-50: #e8f0fe;--blue-100: #d2e3fc;--blue-200: #aecbfa;--blue-300: #8ab4f8;--blue-400: #669df6;--blue-500: #4285f4;--blue-600: #1a73e8;--blue-700: #1967d2;--blue-800: #185abc;--blue-900: #174ea6;--blue: var(--blue-600);--red-50: #fce8e6;--red-100: #fad2cf;--red-200: #f6aea9;--red-300: #f28b82;--red-400: #ee675c;--red-500: #ea4335;--red-600: #d93025;--red-700: #c5221f;--red-800: #b31412;--red-900: #a50e0e;--red: var(--red-600);--yellow-50: #fef7e0;--yellow-100: #feefc3;--yellow-200: #fde293;--yellow-300: #fdd663;--yellow-400: #fcc934;--yellow-500: #fbbc04;--yellow-600: #f9ab00;--yellow-700: #f29900;--yellow-800: #ea8600;--yellow-900: #e37400;--yellow: var(--yellow-600);--green-50: #e6f4ea;--green-100: #ceead6;--green-200: #a8dab5;--green-300: #81c995;--green-400: #5bb974;--green-500: #34a853;--green-600: #1e8e3e;--green-700: #188038;--green-800: #137333;--green-900: #0d652d;--green: var(--green-600);--white: #fff;--grey-50: #f8f9fa;--grey-100: #f1f3f4;--grey-200: #e8eaed;--grey-300: #dadce0;--grey-400: #bdc1c6;--grey-500: #9aa0a6;--grey-600: #80868b;--grey-700: #5f6368;--grey-800: #3c4043;--grey-900: #202124;--black: var(--grey-900);--orange-50: #feefe3;--orange-100: #fedfc8;--orange-200: #fdc69c;--orange-300: #fcad70;--orange-400: #fa903e;--orange-500: #fa7b17;--orange-600: #e8710a;--orange-700: #d56e0c;--orange-800: #c26401;--orange-900: #b06000;--pink-50: #fde7f3;--pink-100: #fdcfe8;--pink-200: #fba9d6;--pink-300: #ff8bcb;--pink-400: #ff63b8;--pink-500: #f439a0;--pink-600: #e52592;--pink-700: #c92786;--pink-800: #b80672;--pink-900: #9c166b;--purple-50: #f3e8fd;--purple-100: #e9d2fd;--purple-200: #d7aefb;--purple-300: #c58af9;--purple-400: #af5cf7;--purple-500: #a142f4;--purple-600: #9334e6;--purple-700: #8430ce;--purple-800: #7627bb;--purple-900: #681da8;--cyan-50: #e4f7fb;--cyan-100: #cbf0f8;--cyan-200: #a1e4f2;--cyan-300: #78d9ec;--cyan-400: #4ecde6;--cyan-500: #24c1e0;--cyan-600: #12b5cb;--cyan-700: #129eaf;--cyan-800: #098591;--cyan-900: #007b83}.markdown-display{word-break:break-word;overflow-wrap:break-word}.markdown-display p{word-break:break-word}.markdown-display hr{height:0;border:0;border-top:1px solid var(--hairline)}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{font-weight:500}.markdown-display h1{font-size:160%;font-weight:700}.markdown-display h2{font-size:160%}.markdown-display h3{font-size:140%}.markdown-display h4{font-size:120%}.markdown-display h5{font-size:100%}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display p,.markdown-display blockquote,.markdown-display hr,.markdown-display ul,.markdown-display ol{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display>*:first-child{margin-block-start:0}.markdown-display ul,.markdown-display ol{padding-inline-start:2rem}.markdown-display blockquote{background-color:var(--markdown-blockquote-background);border-left:4px solid var(--markdown-blockquote-border);color:var(--text-secondary);overflow:hidden;padding-left:8px}.markdown-display ul{list-style:initial}.markdown-display ul ul{list-style:circle}.markdown-display ul ul ul{list-style:square}.markdown-display ul ul,.markdown-display ol ol,.markdown-display ul ol,.markdown-display ol ul{margin:0}.markdown-display li{margin-block-end:.2em}.markdown-display code,.markdown-display pre{background-color:var(--surface-secondary);border-radius:2px;font-family:WorkAroundWebKitAndMozilla,monospace}.markdown-display pre{border:1px solid var(--hairline);overflow-x:auto}.markdown-display code{color:var(--markdown-code);padding:0 2px}.markdown-display pre code{color:var(--text-high-contrast);padding:0}.markdown-display pre{padding:8px 16px}.markdown-display pre,.markdown-display pre code{line-height:1.5}.markdown-display img{max-width:100%}.markdown-display a,.markdown-display a code{color:var(--primary-default);text-decoration:none}.markdown-display a:visited,.markdown-display a code:visited{color:var(--markdown-link-visited)}.markdown-display pre code a{color:inherit;text-decoration:underline}.markdown-display a:hover{text-decoration:underline}.markdown-display a:focus{outline:-webkit-focus-ring-color auto 1px}.markdown-display table{border-collapse:collapse;margin:1em 0}.markdown-display td,.markdown-display th{background-color:var(--surface-default);border:1px solid var(--hairline);padding:4px 8px;vertical-align:top}.markdown-display th{text-align:left;vertical-align:bottom;word-break:keep-all}.markdown-display div.table-overflow{overflow-x:auto}.markdown-display input[type=checkbox]{vertical-align:middle}.markdown-display section.footnotes{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;margin-top:2.5em;border-top:1px solid #dadce0}.markdown-display sup.footnote-ref::before{content:"["}.markdown-display sup.footnote-ref::after{content:"]"}.markdown-display .footnote-backref{text-decoration:none}.markdown-display .footnote-backref>a{text-decoration:none}.markdown-display .align-left{text-align:left}.markdown-display .align-right{text-align:right}.markdown-display .align-center{text-align:center}.markdown-display .align-justify{text-align:justify}.markdown-display .g3mark-callout{position:relative}.markdown-display .g3mark-callout .g3mark-callout__icon{display:none}body:not(.dark-mode) .markdown-display .stx-plain{color:inherit}body:not(.dark-mode) .markdown-display .stx-keyword{color:#708}body:not(.dark-mode) .markdown-display .stx-keyword-strong{color:inherit}body:not(.dark-mode) .markdown-display .stx-string{color:#080}body:not(.dark-mode) .markdown-display .stx-comment{color:#800}body:not(.dark-mode) .markdown-display .stx-number{color:#164}body:not(.dark-mode) .markdown-display .stx-macro{color:#555}body:not(.dark-mode) .markdown-display .stx-class{color:inherit}body:not(.dark-mode) .markdown-display .stx-const{color:inherit}body:not(.dark-mode) .markdown-display .stx-escape-sequence{color:inherit}body:not(.dark-mode) .markdown-display .stx-deprecated{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-doc-tag{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-task-tag{font-weight:inherit}body:not(.dark-mode) .markdown-display .stx-atom{color:#219}body:not(.dark-mode) .markdown-display .stx-definition{color:blue}body:not(.dark-mode) .markdown-display .stx-type-id{color:#085}body:not(.dark-mode) .markdown-display .stx-qualifier{color:#555}body:not(.dark-mode) .markdown-display .stx-local-ref{color:#05a}body:not(.dark-mode) .markdown-display .stx-md-entity{color:#708}body:not(.dark-mode) .markdown-display .stx-md-bold{font-weight:bold}body:not(.dark-mode) .markdown-display .stx-md-italic{font-style:italic}body:not(.dark-mode) .markdown-display .stx-md-link{color:#080}body:not(.dark-mode) .markdown-display .stx-md-code{color:#555}body:not(.dark-mode) .markdown-display .stx-comment .stx-md-link,body:not(.dark-mode) .markdown-display .stx-comment .stx-md-code{color:#800}body:not(.dark-mode) .markdown-display .g3mark-callout{margin:1rem 0;padding:.5rem .5rem .5rem 2rem}body:not(.dark-mode) .markdown-display .g3mark-callout p:first-of-type{margin-top:0}body:not(.dark-mode) .markdown-display .g3mark-callout p:last-child{margin-bottom:0}body:not(.dark-mode) .markdown-display .g3mark-callout blockquote{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;padding-left:initial;border-left:initial;margin:0}body:not(.dark-mode) .markdown-display .g3mark-callout__keyword{font-weight:bold}body:not(.dark-mode) .markdown-display .g3mark-callout__icon::before{position:absolute;font-size:1.25rem;font-family:"Material Icons","Google Material Icons";margin-left:-1.5rem}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr .g3mark-callout__icon::before,body:not(.dark-mode) .markdown-display .g3mark-callout-summary .g3mark-callout__icon::before{color:#174ea6;content:"sms"}body:not(.dark-mode) .markdown-display .g3mark-callout-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body:not(.dark-mode) .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body:not(.dark-mode) .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body:not(.dark-mode) .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr,body:not(.dark-mode) .markdown-display .g3mark-callout-summary{border-color:#669df6;background:#e8f0fe;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-tip,body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice{border-color:#5bb974;background:#e6f4ea;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-note{border-color:#bdc1c6;background:#f8f9fa;color:#202124;background:#f1f3f4}body:not(.dark-mode) .markdown-display .g3mark-callout-warning{border-color:#ee675c;background:#fce8e6;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-important{border-color:#fa903e;background:#feefe3;color:#202124}body.dark-mode .markdown-display .stx-plain{color:inherit}body.dark-mode .markdown-display .stx-keyword{color:#d8884b}body.dark-mode .markdown-display .stx-keyword-strong{color:inherit}body.dark-mode .markdown-display .stx-string{color:#97c67b}body.dark-mode .markdown-display .stx-comment{color:#8c9292}body.dark-mode .markdown-display .stx-number{color:#79a9c4}body.dark-mode .markdown-display .stx-macro{color:#9dbed9}body.dark-mode .markdown-display .stx-class{color:inherit}body.dark-mode .markdown-display .stx-const{color:inherit}body.dark-mode .markdown-display .stx-escape-sequence{color:inherit}body.dark-mode .markdown-display .stx-deprecated{text-decoration:inherit}body.dark-mode .markdown-display .stx-doc-tag{text-decoration:inherit}body.dark-mode .markdown-display .stx-task-tag{font-weight:inherit}body.dark-mode .markdown-display .stx-atom{color:#cf7ea9}body.dark-mode .markdown-display .stx-definition{color:#75b3db}body.dark-mode .markdown-display .stx-type-id{color:#eede7b}body.dark-mode .markdown-display .stx-qualifier{color:#97c67b}body.dark-mode .markdown-display .stx-local-ref{color:#aac6e3}body.dark-mode .markdown-display .stx-md-entity{color:#d8884b}body.dark-mode .markdown-display .stx-md-bold{font-weight:bold}body.dark-mode .markdown-display .stx-md-italic{font-style:italic}body.dark-mode .markdown-display .stx-md-link{color:#d8884b}body.dark-mode .markdown-display .stx-md-code{color:#d8884b}body.dark-mode .markdown-display .stx-comment .stx-md-link,body.dark-mode .markdown-display .stx-comment .stx-md-code{color:#89b2cd}body.dark-mode .markdown-display .g3mark-callout{margin:1rem 0;padding:.5rem .5rem .5rem 2rem}body.dark-mode .markdown-display .g3mark-callout p:first-of-type{margin-top:0}body.dark-mode .markdown-display .g3mark-callout p:last-child{margin-bottom:0}body.dark-mode .markdown-display .g3mark-callout blockquote{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;padding-left:initial;border-left:initial;margin:0}body.dark-mode .markdown-display .g3mark-callout__keyword{font-weight:bold}body.dark-mode .markdown-display .g3mark-callout__icon::before{position:absolute;font-size:1.25rem;font-family:"Material Icons","Google Material Icons";margin-left:-1.5rem}body.dark-mode .markdown-display .g3mark-callout-tldr .g3mark-callout__icon::before,body.dark-mode .markdown-display .g3mark-callout-summary .g3mark-callout__icon::before{color:#174ea6;content:"sms"}body.dark-mode .markdown-display .g3mark-callout-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body.dark-mode .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body.dark-mode .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body.dark-mode .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body.dark-mode .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body.dark-mode .markdown-display .g3mark-callout-tldr,body.dark-mode .markdown-display .g3mark-callout-tip,body.dark-mode .markdown-display .g3mark-callout-note,body.dark-mode .markdown-display .g3mark-callout-warning{border-color:#fff;background:#3c4043;color:#fff}/*# sourceMappingURL=markdown_format_presenter.css.map */\n'],encapsulation:2,
changeDetection:0});var o1b=["child"],p1b=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},AL=function(a){this.codefont=a};AL.prototype.ngOnInit=function(){};AL.\u0275fac=function(a){return new (a||AL)(A(FI))};
AL.\u0275cmp=r({type:AL,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},decls:3,vars:5,consts:[[1,"type-m"],[4,"ngFor","ngForOf"],[3,"section"]],template:function(a,b){a&1&&(D(0,"div",0),R(1,"async"),O(2,Yxa,2,1,"ng-container",1),E());a&2&&(pg("codefont",S(1,3,b.codefont.codefont$)),z(2),C("ngForOf",fj(b.content,Ip,1)))},dependencies:function(){return[ax,BL,hx]},styles:[p1b()],changeDetection:0});var BL=function(){};BL.prototype.ngOnInit=function(){};
BL.\u0275fac=function(a){return new (a||BL)};BL.\u0275cmp=r({type:BL,selectors:[["b-plain-format-section"]],inputs:{section:"section"},decls:3,vars:2,consts:[[3,"section",4,"ngIf"],[3,"section"]],template:function(a,b){a&1&&(H(0),O(1,Zxa,1,1,"b-plain-format-quoted-section",0),O(2,$xa,1,1,"b-plain-format-unquoted-section",0),I());a&2&&(z(1),C("ngIf",xl(b.section,1)),z(1),C("ngIf",!xl(b.section,1)))},dependencies:function(){return[bx,CL,DL]},encapsulation:2,changeDetection:0});
var CL=function(){this.showQuote=!1;q1b++;this.childId="plainFormatQuotedSection"+q1b};CL.prototype.ngOnInit=function(){};CL.prototype.ngOnChanges=function(){aya(this)};var aya=function(a){var b=a.child.nativeElement;a.showQuote?lp(b,a.section.getContent()):ova(b)};CL.\u0275fac=function(a){return new (a||CL)};
CL.\u0275cmp=r({type:CL,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&Sg(o1b,7);if(a&2){var c;Rg(c=Ug())&&(b.child=c.first)}},inputs:{section:"section"},features:[md],decls:5,vars:3,consts:[["class","showhide muted","tabindex","0","role","button","aria-expanded","false",3,"click",4,"ngIf"],["class","showhide muted","tabindex","0","role","button","aria-expanded","true",3,"click",4,"ngIf"],[1,"child",3,"id"],["child",""],["tabindex","0","role","button","aria-expanded","false",
1,"showhide","muted",3,"click"],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted",3,"click"]],template:function(a,b){a&1&&(D(0,"div"),O(1,bya,2,1,"a",0),O(2,cya,2,1,"a",1),F(3,"div",2,3),E());a&2&&(z(1),C("ngIf",!b.showQuote),z(1),C("ngIf",b.showQuote),z(1),C("id",b.childId))},dependencies:[bx],styles:[p1b()],changeDetection:0});var q1b=0,DL=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};DL.prototype.ngOnInit=function(){};
DL.prototype.ngOnChanges=function(){l1b(this.dynamicComponents);var a=this.child.nativeElement;lp(a,this.section.getContent());k1b(this.dynamicComponents,a,this.viewContainerRef)};DL.\u0275fac=function(a){return new (a||DL)(A(yL,2),A(Pg))};
DL.\u0275cmp=r({type:DL,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&Sg(o1b,7);if(a&2){var c;Rg(c=Ug())&&(b.child=c.first)}},inputs:{section:"section"},features:[Dg([{provide:yL,useClass:yL}]),md],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&F(0,"div",0,1)},encapsulation:2,changeDetection:0});var EL=function(){};EL.prototype.ngOnInit=function(){};EL.\u0275fac=function(a){return new (a||EL)};
EL.\u0275cmp=r({type:EL,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&(O(0,dya,2,1,"ng-container",0),O(1,eya,2,1,"ng-container",0),O(2,fya,2,1,"ng-container",0));a&2&&(C("ngIf",wl(b.formattedComment,$l,3,bm)),z(1),C("ngIf",wl(b.formattedComment,Gp,2,bm)),z(1),C("ngIf",wl(b.formattedComment,Hp,1,bm)))},dependencies:[bx,GI,zL,AL],encapsulation:2,changeDetection:0});var FL=function(a){Y.call(this,a)};X(FL,Y);g=FL.prototype;g.getFormattingMode=function(){return bk(this,1,0)};g.setFormattingMode=function(a){return k(this,1,a)};g.getSource=function(){return lk(this,2)};g.setSource=function(a){return k(this,2,a)};g.hasSource=function(){return gm(this,2)};g.getSourceOrUndefined=function(){return Uu(this,2)};g.getIssueId=function(){return Tk(this,3)};g.setIssueId=function(a){return k(this,3,a)};g.getIdPrefix=function(){return lk(this,4)};
g.setIdPrefix=function(a){return k(this,4,a)};g.setCurrentTrackerId=function(a){k(this,7,a)};FL.messageId="b.FormatCommentRequest";var GL=function(a){Y.call(this,a,-1,r1b)};X(GL,Y);GL.prototype.getFormattedComment=function(){return wk(this,ll,1)};GL.prototype.getMentionsList=function(){return fj(this,oSb,2)};var r1b=[2];GL.messageId="b.FormatCommentResponse";var HL=function(a,b){this.executor=a;this.currentTrackerId=b};HL.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?gya(a):s1b(this,a).pipe(B(function(b){return b.getFormattedComment()||new ll}))};
var t1b=function(a,b){if("LITERAL"===b.formattingMode||""===b.comment.trim())return(0,T.of)([]);var c=new FL;c.setSource(b.comment);var d;c.setIssueId(null!=(d=Pj(b.issueId))?d:0);k(c,6,BQb[b.audience]);c.setFormattingMode(Yl(b.formattingMode));c.setIdPrefix(b.idPrefix);return s1b(a,b).pipe(B(function(e){return e.getMentionsList().map(function(f){return Kj(wk(f,Mj,1))||""})}))},s1b=function(a,b){var c,d=(new FL).setSource(b.comment).setIssueId(null!=(c=Pj(b.issueId))?c:0);b=k(d,6,BQb[b.audience]).setFormattingMode(Yl(b.formattingMode)).setIdPrefix(b.idPrefix);
(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:GL})};HL.\u0275fac=function(a){return new (a||HL)(n(nE),n(TE))};HL.\u0275prov=Pc({token:HL,factory:HL.\u0275fac,providedIn:"root"});var IL=function(a){Z.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL_AUDIENCE";this.formattingMode="LITERAL";this.params$=new T.ReplaySubject(1);this.formattedResult$=this.params$.pipe(Af(200),Qf(function(c){return b.formatter.format(c).pipe(u1b,yf(function(){var d=kqa(c.comment);return(0,T.of)({formattedComment:d,isFallback:!0})}))}))};X(IL,Z);IL.\u0275dir=Z.\u0275dir;
IL.prototype.ngOnInit=function(){var a=this;this.comment$&&this.subscriptions.add(this.comment$.subscribe(function(b){a.params$.next({comment:b,issueId:a.issueId,audience:null!=a.audience?a.audience:"EXTERNAL_AUDIENCE",formattingMode:a.formattingMode,idPrefix:a.getIdPrefix()})}))};IL.prototype.ngOnChanges=function(){null!=this.comment&&this.params$.next({comment:this.comment,issueId:this.issueId,audience:null!=this.audience?this.audience:"EXTERNAL_AUDIENCE",formattingMode:this.formattingMode,idPrefix:this.getIdPrefix()})};
IL.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};IL.\u0275fac=function(a){return new (a||IL)(A(HL))};
IL.\u0275cmp=r({type:IL,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[$f,md],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(O(0,hya,3,5,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.formattedResult$))},dependencies:[bx,EL,hx],styles:["[_nghost-%COMP%]{display:block}.md-preview[_ngcontent-%COMP%]{min-height:32px;margin-top:16px}.md-preview[_ngcontent-%COMP%]{box-sizing:border-box;padding:8px;background-color:#f8f9fa;background-color:var(--c50);border-radius:4px}.md-preview.error[_ngcontent-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);box-shadow:inset 0 0 0 1px #ea4335;box-shadow:inset 0 0 0 1px var(--bad)}[_nghost-%COMP%]     .markdown-display pre, [_nghost-%COMP%]     .markdown-display code{background-color:#f1f3f4;background-color:var(--c100)}.bv2-note-container-note   [_nghost-%COMP%]   .md-preview[_ngcontent-%COMP%]{min-height:0;margin-top:0;padding:0;background-color:rgba(0,0,0,0)}\n/*# sourceMappingURL=live_preview.css.map */"],
changeDetection:0});var u1b=B(function(a){return{formattedComment:a,isFallback:!1}});var JL=function(a,b){Z.call(this);var c=this;this.appEvents=b;this.init=new vw;this.FormattingMode=CQb;a.textDisplayPreferencesSubject$.pipe(Rf(this.destroyed$)).subscribe(function(d){switch(d.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":c.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":c.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":c.formattingModeOverride="PLAIN";break;case void 0:c.formattingModeOverride=void 0;break;default:Qi(d.commentDisplayOverride)}})};
X(JL,Z);JL.\u0275dir=Z.\u0275dir;JL.prototype.ngOnInit=function(){};JL.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.note.commentNumber&&(this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber)};JL.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
JL.\u0275fac=function(a){return new (a||JL)(A(CI),A(uG))};
JL.\u0275cmp=r({type:JL,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[$f,md],decls:5,vars:2,consts:[[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment",4,"ngIf","ngIfElse"],["livePreview",""],[3,"formattedComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),O(2,
iya,1,1,"b-formatted-comment-presenter",2),E()(),O(3,jya,1,5,"ng-template",null,3,$g));if(a&2){var c=N(4);z(2);if(a=b.note.formattedComment)a=b.note.formattedComment,a=!a||b.formattingModeOverride?!1:ul(a,$l,3,bm)&&"LITERAL"===b.formattingMode||ul(a,Hp,1,bm)&&"PLAIN"===b.formattingMode||ul(a,Gp,2,bm)&&"MARKDOWN"===b.formattingMode?!0:!1;C("ngIf",a)("ngIfElse",c)}},dependencies:[bx,EL,IL],styles:[".bv2-note-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}.bv2-note-container-note[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;min-width:0}"],
changeDetection:0});var KL=function(){};KL.prototype.transform=function(a,b){switch(a){case "EXTERNAL_PARTNER":return b?"Partners":"Visible to Partners";case "EXTERNAL_PUBLIC":return b?"Public":"Visible to Public";default:return""}};KL.\u0275fac=function(a){return new (a||KL)};KL.\u0275pipe=hd({name:"toAccessLevelLabel",type:KL,pure:!0});var v1b=bi({opacity:"0"}),w1b=sf(function(a){return a}),x1b=(0,T.pipe)(Df(),w1b,If()),y1b=new Ud("xap-bubble UX style"),LL=function(a){var b=this;this.activity=new T.Subject;this.openedSubject=new T.BehaviorSubject(!1);this.destroy=new T.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new vw;this.onOpened=new vw;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Nga(function(){return b.activity.pipe(Af(b.hoverDelayMs))}));
a=Rf(this.destroy);this.opened.pipe(x1b,a).subscribe(this.onOpened);this.openedSubject.pipe(w1b,Bha(function(){return b.opened.pipe(sf(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};LL.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};LL.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};LL.\u0275fac=function(a){return new (a||LL)(A(y1b,8))};
LL.\u0275cmp=r({type:LL,selectors:[["xap-bubble"]],inputs:{panelTemplate:"panelTemplate",overlayPositions:"overlayPositions",overlayPanelClass:"overlayPanelClass",hoverDelayMs:"hoverDelayMs"},outputs:{beforeOpened:"beforeOpened",beforeShow:"beforeShow",onOpened:"opened"},ngContentSelectors:["*"],decls:5,vars:7,consts:[["cdkOverlayOrigin","",1,"xap-bubble-trigger",3,"ngClass","mouseenter","mouseleave","mousemove"],["trigger","cdkOverlayOrigin"],["cdkConnectedOverlay","","cdkConnectedOverlayPush","true",
3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"xap-bubble-panel",3,"ngClass","mouseenter","mouseleave","mousemove"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(wg(),D(0,"span",0,1),K("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),xg(2),E(),O(3,lya,2,3,"ng-template",2),R(4,"async"));if(a&2){var c=N(1);C("ngClass",b.bubbleStyle);
z(3);C("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",S(4,5,b.opened))}},dependencies:[$w,gx,eA,dA,hx],styles:[".xap-bubble-trigger{cursor:default;pointer-events:auto}.xap-bubble-trigger.xap-bubble-reach{-webkit-text-decoration:underline dashed #80868b;-moz-text-decoration:underline dashed #80868b;text-decoration:underline dashed #80868b;text-underline-position:under}.xap-bubble-panel{overflow:auto;padding:16px;will-change:opacity}.xap-bubble-panel.xap-bubble-md1{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);max-height:400px;max-width:400px}.xap-bubble-panel.xap-bubble-reach{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);border-radius:8px;max-height:420px;max-width:420px;min-height:40px;min-width:220px}"],
encapsulation:2,data:{animation:[$h("fade",[di(":enter",[v1b,ai("225ms")]),di(":leave",[ai("195ms",v1b)])])]}});var ML=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.bubbleText=this.chipClass=""};
ML.prototype.ngOnChanges=function(){if(this.accessLevel)switch(this.accessLevel){case "EXTERNAL_PARTNER":this.chipClass="partner";this.bubbleText=' Components and issues designated as "Visible to Partners" can be shared with specific external partners listed in the component\'s access control settings.';break;case "EXTERNAL_PUBLIC":this.chipClass="public";this.bubbleText='Components and issues designated as "Visible to Public" can be \n              shared with any external user.';break;default:this.bubbleText=
this.chipClass=""}};ML.\u0275fac=function(a){return new (a||ML)(A(tu),A(hJ))};
ML.\u0275cmp=r({type:ML,selectors:[["b-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[md],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["withBubble",""],[1,"chippy","rounded",3,"ngClass"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],["popup",""],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&O(0,pya,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:$Rb(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;C("ngIf",a)}},dependencies:[$w,bx,LL,KL],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px}.chippy.partner[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-outline)}.chippy.public[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-outline)}.chippy.xs[_ngcontent-%COMP%]{box-shadow:none;margin-right:4px}.bubble[_ngcontent-%COMP%]{width:300px}"],
changeDetection:0});var z1b={COMPACT_DECIMAL_SHORT_PATTERN:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},COMPACT_DECIMAL_LONG_PATTERN:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},
1E12:{other:"0 trillion"},1E13:{other:"00 trillion"},1E14:{other:"000 trillion"}}},NL=z1b;NL=z1b;var A1b={AED:[2,"dh","\u062f.\u0625."],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,
"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd",
"RUB"],SAR:[2,"SAR","SAR"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"\u20ba","TRY"],TWD:[2,"$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var B1b={DECIMAL_SEP:".",GROUP_SEP:",",PERCENT:"%",ZERO_DIGIT:"0",PLUS_SIGN:"+",MINUS_SIGN:"-",EXP_SYMBOL:"E",PERMILL:"\u2030",INFINITY:"\u221e",NAN:"NaN",DECIMAL_PATTERN:"#,##0.###",SCIENTIFIC_PATTERN:"#E0",PERCENT_PATTERN:"#,##0%",CURRENCY_PATTERN:"\u00a4#,##0.00",DEF_CURRENCY_CODE:"USD"},OL=B1b;OL=B1b;var PL=function(a){this.maximumIntegerDigits_=40;this.minimumIntegerDigits_=1;this.significantDigits_=0;this.maximumFractionDigits_=3;this.minExponentDigits_=this.minimumFractionDigits_=0;this.useSignForPositiveExponent_=!1;this.positiveSuffix_=this.positivePrefix_="";this.negativePrefix_=OL.MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;this.pattern_=
"string"===typeof a?a:"";"number"===typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
PL.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=C1b(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,l=-1,q=a.length,u=!0;b[0]<q&&u;b[0]++)switch(a.charAt(b[0])){case "#":0<f?h++:e++;0<=l&&0>d&&l++;break;case "0":if(0<h)throw Error("ed`"+a);f++;0<=l&&0>d&&l++;break;case ",":0<l&&this.groupingArray_.push(l);l=0;break;case ".":if(0<=d)throw Error("fd`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("gd`"+a);this.useExponentialNotation_=
!0;this.minExponentDigits_=0;b[0]+1<q&&"+"==a.charAt(b[0]+1)&&(b[0]++,this.useSignForPositiveExponent_=!0);for(;b[0]+1<q&&"0"==a.charAt(b[0]+1);)b[0]++,this.minExponentDigits_++;if(1>e+f||1>this.minExponentDigits_)throw Error("hd`"+a);u=!1;break;default:b[0]--,u=!1}0==f&&0<e&&0<=d&&(f=d,0==f&&f++,h=e-f,e=f-1,f=1);if(0>d&&0<h||0<=d&&(d<e||d>e+f)||0==l)throw Error("id`"+a);h=e+f+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+f-d,0>this.minimumFractionDigits_&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(0<=d?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,0==this.maximumFractionDigits_&&0==this.minimumIntegerDigits_&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,l));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=C1b(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=C1b(this,a,b),b[0]+=c,
this.negativeSuffix_=C1b(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
PL.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(OL.DECIMAL_PATTERN);break;case 2:this.applyPattern_(OL.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(OL.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=OL.CURRENCY_PATTERN;var c=["0"],d=A1b[OL.DEF_CURRENCY_CODE];if(d){d=d[0]&7;if(0<d){c.push(".");for(var e=0;e<d;e++)c.push("0")}b=b.replace(/0.00/g,c.join(""))}a.call(this,b);break;case 5:D1b(this,1);break;case 6:D1b(this,2);break;default:throw Error("Zc");
}};var D1b=function(a,b){a.compactStyle_=b;a.applyPattern_(OL.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("Xc");a.significantDigits_=2};
PL.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("$c");a=a.replace(/ |\u202f/g,"\u00a0");var c=a.indexOf(this.positivePrefix_,b[0])==b[0],d=a.indexOf(this.negativePrefix_,b[0])==b[0];c&&d&&(this.positivePrefix_.length>this.negativePrefix_.length?d=!1:this.positivePrefix_.length<this.negativePrefix_.length&&(c=!1));c?b[0]+=this.positivePrefix_.length:d&&(b[0]+=this.negativePrefix_.length);if(a.indexOf(OL.INFINITY,b[0])==b[0]){b[0]+=OL.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,l=!1,q=-1,u=1,x=OL.DECIMAL_SEP,y=OL.GROUP_SEP,G=OL.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("ad");y=y.replace(/\u202f/g,"\u00a0");for(var J="";b[0]<e.length;b[0]++){var M=e.charAt(b[0]),V=E1b(M);if(0<=V&&9>=V)J+=V,l=!0;else if(M==x.charAt(0)){if(f||h)break;J+=".";f=!0}else if(M==y.charAt(0)&&("\u00a0"!=y.charAt(0)||b[0]+1<e.length&&0<=E1b(e.charAt(b[0]+1)))){if(f||h)break}else if(M==G.charAt(0)){if(h)break;J+="E";h=!0;q=b[0]}else if("+"==M||"-"==M){if(l&&q!=b[0]-1)break;J+=
M}else if(1==this.multiplier_&&M==OL.PERCENT.charAt(0)){if(1!=u)break;u=100;if(l){b[0]++;break}}else if(1==this.multiplier_&&M==OL.PERMILL.charAt(0)){if(1!=u)break;u=1E3;if(l){b[0]++;break}}else break}1!=this.multiplier_&&(u=this.multiplier_);e=parseFloat(J)/u}if(c){if(a.indexOf(this.positiveSuffix_,b[0])!=b[0])return NaN;b[0]+=this.positiveSuffix_.length}else if(d){if(a.indexOf(this.negativeSuffix_,b[0])!=b[0])return NaN;b[0]+=this.negativeSuffix_.length}return d?-e:e};
PL.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("bd");if(isNaN(a))return OL.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=QL;else{c=Math.abs(c);var d=F1b(this,1>=c?0:G1b(c)).divisorBase;c=F1b(this,d+G1b(H1b(this,RL(c,-d)).intValue))}a=RL(a,-c.divisorBase);(d=0>a||0==a&&0>1/a)?c.negative_prefix?b.push(c.negative_prefix):(b.push(c.prefix),b.push(this.negativePrefix_)):(b.push(c.prefix),b.push(this.positivePrefix_));if(isFinite(a))if(a*=d?-1:1,
a*=this.multiplier_,this.useExponentialNotation_){var e=a;if(0==e)I1b(this,e,this.minimumIntegerDigits_,b),J1b(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=RL(e,-f);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=RL(e,h),f-=h,h=1):1>this.minimumIntegerDigits_?(f++,e=RL(e,-1)):(f-=this.minimumIntegerDigits_-1,e=RL(e,this.minimumIntegerDigits_-
1));I1b(this,e,h,b);J1b(this,f,b)}}else I1b(this,a,this.minimumIntegerDigits_,b);else b.push(OL.INFINITY);d?c.negative_suffix?b.push(c.negative_suffix):(isFinite(a)&&b.push(c.suffix),b.push(this.negativeSuffix_)):(isFinite(a)&&b.push(c.suffix),b.push(this.positiveSuffix_));return b.join("")};
var H1b=function(a,b){var c=RL(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=K1b(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(RL(c,-a.maximumFractionDigits_)),a=Math.floor(c-RL(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},I1b=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("bd");d||(d=[]);b=H1b(a,b);var e=b.intValue,f=b.fracValue,h=0<a.minimumFractionDigits_||0<f||!1;b=a.minimumFractionDigits_;
h&&(b=a.minimumFractionDigits_);for(var l="",q=e;1E20<q;)l="0"+l,q=Math.round(RL(q,-1));l=q+l;var u=OL.DECIMAL_SEP;q=OL.ZERO_DIGIT.charCodeAt(0);var x=l.length,y=0;if(0<e||0<c){for(e=x;e<c;e++)d.push(String.fromCharCode(q));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)y+=a.groupingArray_[c];c=x-y;if(0<c){e=a.groupingArray_;y=x=0;for(var G,J=OL.GROUP_SEP,M=l.length,V=0;V<M;V++)if(d.push(String.fromCharCode(q+Number(l.charAt(V)))),1<M-V)if(G=e[y],V<c){var U=c-V;(1===G||0<G&&1===
U%G)&&d.push(J)}else y<e.length&&(V===c?y+=1:G===V-c-x+1&&(d.push(J),x+=G,y+=1))}else{c=l;l=a.groupingArray_;e=OL.GROUP_SEP;G=c.length;J=[];for(x=l.length-1;0<=x&&0<G;x--){y=l[x];for(M=0;M<y&&0<=G-M-1;M++)J.push(String.fromCharCode(q+Number(c.charAt(G-M-1))));G-=y;0<G&&J.push(e)}d.push.apply(d,J.reverse())}}else h||d.push(String.fromCharCode(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(u);f=String(f);h=f.split("e+");2==h.length&&(f=String(K1b(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",
""),f+=ZCb("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+ZCb("0",a.maximumFractionDigits_-f.length)+f);for(a=f.length;"0"==f.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCharCode(q+Number(f.charAt(b))))},J1b=function(a,b,c){c.push(OL.EXP_SYMBOL);0>b?(b=-b,c.push(OL.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(OL.PLUS_SIGN);b=""+b;for(var d=OL.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},E1b=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=OL.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},C1b=function(a,b,c){for(var d="",e=!1,f=b.length;c[0]<f;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<f&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":c[0]+1<f&&"\u00a4"==b.charAt(c[0]+1)?(c[0]++,d+=OL.DEF_CURRENCY_CODE):(h=OL.DEF_CURRENCY_CODE,d+=h in A1b?A1b[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("cd");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("dd");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=OL.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("cd");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("dd");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=OL.PERMILL;break;default:d+=h}}return d},QL={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
F1b=function(a,b){a=1==a.compactStyle_?NL.COMPACT_DECIMAL_SHORT_PATTERN:NL.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=NL.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return QL;b=Math.min(14,b);var c=a[RL(1,b)];for(--b;!c&&3<=b;)c=a[RL(1,b)],b--;if(!c)return QL;c=c.other;var d=a="",e=c.indexOf(";");0<=e&&(c=c.substring(0,e),e=c.substring(e+1))&&(d=/([^0]*)(0+)(.*)/.exec(e),a=d[1],d=d[3]);return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{divisorBase:b+1-(c[2].length-1),negative_prefix:a,negative_suffix:d,prefix:c[1],
suffix:c[3]}:QL:QL},G1b=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},RL=function(a,b){if(!a||!isFinite(a)||0==b)return a;a=String(a).split("e");return parseFloat(a[0]+"e"+(parseInt(a[1]||0,10)+b))},L1b=function(a,b){return a&&isFinite(a)?RL(Math.round(RL(a,b)),-b):a},K1b=function(a,b,c){if(!a)return a;b=b-G1b(a)-1;return b<-c?L1b(a,-c):L1b(a,b)};var M1b=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":"other"},N1b=M1b;N1b=M1b;var O1b=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min,e=a+"",f=e.indexOf(".");b=d.call(b,-1===f?0:e.length-f-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return 1==c&&0==a.v?"one":"other"},P1b=O1b;P1b=O1b;var SL=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=OL;var b=NL;if(Q1b!==a||R1b!==b)Q1b=a,R1b=b,S1b=new PL(1);this.numberFormatter_=S1b},Q1b=null,R1b=null,S1b=null,T1b=RegExp("'([{}#].*?)'","g"),U1b=RegExp("''","g");SL.prototype.format=function(a){return this.format_(a,!1)};
SL.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=V1b(this,this.pattern_);this.parsedPattern_=W1b(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=Pa(this.initialLiterals_);c=[];X1b(this,this.parsedPattern_,a,b,c);for(a=c.join("");0<this.literals_.length;)a=a.replace(this.buildPlaceholder_(this.literals_),this.literals_.pop());return a};
var X1b=function(a,b,c,d,e){for(var f=0;f<b.length;f++)switch(b[f].type){case 4:e.push(b[f].value);break;case 3:var h=b[f].value,l=a,q=e,u=c[h];void 0===u?q.push("Undefined parameter - "+h):(l.literals_.push(u),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[f].value;l=a;q=c;u=d;var x=e,y=h.argumentIndex;void 0===q[y]?x.push("Undefined parameter - "+y):(y=h[q[y]],void 0===y&&(y=h.other),X1b(l,y,q,u,x));break;case 0:h=b[f].value;Y1b(a,h,c,P1b,d,e);break;case 1:h=b[f].value,Y1b(a,h,c,N1b,
d,e)}},Y1b=function(a,b,c,d,e,f){var h=b.argumentIndex,l=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(l=q-l,h=b[c[h]],void 0===h&&(d=d(Math.abs(l)),h=b[d],void 0===h&&(h=b.other)),b=[],X1b(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(l),f.push(c.replace(/#/g,a))))},V1b=function(a,b){var c=a.initialLiterals_,d=Eu(a.buildPlaceholder_,a);b=b.replace(U1b,function(){c.push("'");return d(c)});return b=b.replace(T1b,function(e,f){c.push(f);return d(c)})},
Z1b=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var f;f=e.exec(a);){var h=f.index;"}"==f[0]?(c.pop(),0==c.length&&(f={type:1},f.value=a.substring(b,h),d.push(f),b=h+1)):(0==c.length&&(b=a.substring(b,h),""!=b&&d.push({type:0,value:b}),b=h+1),c.push("{"))}b=a.substring(b);""!=b&&d.push({type:0,value:b});return d},$1b=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,a2b=/^\s*(\w+)\s*,\s*selectordinal\s*,/,b2b=/^\s*(\w+)\s*,\s*select\s*,/,W1b=function(a,b){var c=[];b=Z1b(b);for(var d=0;d<
b.length;d++){var e={};if(0==b[d].type)e.type=4,e.value=b[d].value;else if(1==b[d].type){var f=b[d].value;switch($1b.test(f)?0:a2b.test(f)?1:b2b.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=c2b(a,b[d].value);break;case 0:e.type=0;e.value=d2b(a,b[d].value);break;case 1:e.type=1;e.value=e2b(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},c2b=function(a,b){var c="";b=b.replace(b2b,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=Z1b(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h;1==b[e].type&&(h=W1b(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},d2b=function(a,b){var c="",d=0;b=b.replace($1b,function(q,u,x){c=u;x&&(d=parseInt(x,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=Z1b(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var l;1==b[f].type&&(l=W1b(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;f++}return e},e2b=function(a,b){var c="";b=b.replace(a2b,function(l,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=Z1b(b);for(var e=0;e<b.length;){var f=b[e].value;e++;if(1==b[e].type)var h=W1b(a,b[e].value);d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};SL.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var g2b=function(a){a=Math.abs(a);if(6E4>a)return"0 minutes";var b=Math.floor(a/864E5);a%=864E5;var c=Math.floor(a/36E5),d=Math.floor(a%36E5/6E4),e=yKb(b),f=yKb(c),h=yKb(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=f2b("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=f2b("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=f2b("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},f2b=function(a,b,c){return(new SL(a)).format({COUNT:b,TEXT:c})};var TL=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new kH(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(B(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(B(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(Qf(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,T.of)(void 0)}))};
TL.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new xB(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};TL.prototype.formatUserCalendar=function(a){var b=this;return(0,T.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
TL.prototype.formatUserTime=function(a){var b=this;return(0,T.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var h2b=function(a,b){return(0,T.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(B(function(c){var d=m(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},i2b=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(B(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,T.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},Ycb=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new jj;c&&d.setTime(c);c=new jj;
c.setTime(a);if(c.getTime()<d.getTime())return"Expired";a=12*(c.getFullYear()-d.getFullYear())+(c.getMonth()-d.getMonth());var e=c.getDate()-d.getDate();0>e&&(a--,d=d.clone(),d.add(new wB("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new wB(Math.floor(a/12),a%12,e);if(1<=d.years)return c=1<d.years?"s":"",0===d.months&&0===d.days?b?d.years+" year"+c:d.years+"Y":b?d.years+" year"+c+" +":d.years+"Y+";if(1<=d.months)return c=1<d.months?"s":"",0===d.days?b?d.months+" month"+c:d.months+"M":b?
d.months+" month"+c+" +":d.months+"M+";c=1<d.days?"s":"";return b?d.days+" day"+c:d.days+"D"};TL.\u0275fac=function(a){return new (a||TL)(n(CI),n(mJ))};TL.\u0275prov=Pc({token:TL,factory:TL.\u0275fac,providedIn:"root"});var j2b=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]];var k2b,l2b,m2b=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],n2b=Symbol("jd"),o2b=Symbol("jd"),UL=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new T.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(B(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(B(function(c){if(void 0!==c)return new Date(c)}));this[k2b]=this.timestampDate$.pipe(Qf(function(c){if(void 0===c)return(0,T.of)("");
switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return h2b(b.dateFormatter,c);case "relativepast":a:if(c=Math.floor((new Date).getTime()/1E3-c.getTime()/1E3),300>c)c="just now";else{for(var d=m(j2b),e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;f=Math.floor(c/f);if(1===f){c=f+" "+e+" ago";break a}if(1<f){c=f+" "+e+"s ago";break a}}c=void 0}return(0,T.of)(c);default:return Qi(b.mode)}}));
this[l2b]=this.timestampDate$.pipe(Qf(function(c){return void 0===c?(0,T.of)(""):(0,T.combineLatest)(m2b.map(function(d){return i2b(b.dateFormatter,c,d.id).pipe(B(function(e){return{formatted:e,tzName:d.name}}))})).pipe(p2b)}));this.vars$=(0,T.combineLatest)([this[n2b],this[o2b]]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};UL.prototype.ngOnInit=function(){};
Ei.Object.defineProperties(UL.prototype,{timestamp:{configurable:!0,enumerable:!0,set:function(a){var b=this.timestampMs$,c=b.next;a=null!=a?"number"===typeof a?a:"string"===typeof a?Date.parse(a):a instanceof cj?1E3*a.getSeconds():1E3*a.seconds:void 0;a=null==a||isNaN(a)?void 0:a;c.call(b,a)}},date:{configurable:!0,enumerable:!0,set:function(a){a&&this.timestampMs$.next(a.valueOf())}}});k2b=n2b;l2b=o2b;UL.\u0275fac=function(a){return new (a||UL)(A(TL))};
UL.\u0275cmp=r({type:UL,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"title"]],template:function(a,b){a&1&&(O(0,qya,4,8,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.vars$))},dependencies:[bx,hx],encapsulation:2,changeDetection:0});
var p2b=(0,T.pipe)(B(function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var VL=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new vw};VL.prototype.ngOnInit=function(){};
VL.prototype.toggle=function(){var a=this;Lp(this.analytics,"issueCard","click","cc "+(this.ccState?"REMOVE":"ADD"));this.onCc.emit(!this.ccState);this.ccState?(this.ccState=!1,this.issueApi.unCcUser(this.issueId).then(function(){}).catch(function(b){a.ccState=!0;a.errorHandler.errorHandler(null,b)})):(this.ccState=!0,this.issueApi.updateIssue(this.issueId,{issueId:this.issueId,actions:[{fieldName:"ccs",value:this.activeSession.getUserEmail(),actionType:"ADD"}]}).then(function(){}).catch(function(b){a.ccState=
!1;a.errorHandler.errorHandler(null,b)}))};VL.\u0275fac=function(a){return new (a||VL)(A(tu),A(dF),A(LH),A(qG))};
VL.\u0275cmp=r({type:VL,selectors:[["b-cc-button"]],inputs:{issueId:"issueId",ccState:"ccState"},outputs:{onCc:"onCc"},decls:3,vars:1,consts:[["mat-button","",1,"gmat-button","medium",3,"click"],[4,"ngIf"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){return b.toggle()}),O(1,rya,2,0,"ng-container",1),P(2,"CC me\n"),E());a&2&&(z(1),C("ngIf",b.ccState))},dependencies:[bx,NA],encapsulation:2});var WL=function(a){Y.call(this,a)};X(WL,Y);WL.prototype.getDisplayName=function(){return lk(this,1)};WL.prototype.setDisplayName=function(a){return k(this,1,a)};WL.prototype.getPhotoUrl=function(){return lk(this,2)};var q2b=function(a){Y.call(this,a)};X(q2b,Y);q2b.messageId="b.UserProfileBatchResponse";var XL=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new uXb(function(d){return c.batchAdaptedGet(d)},100)};XL.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};XL.\u0275fac=function(a){return new (a||XL)(n(YL),n(LF))};XL.\u0275prov=Pc({token:XL,factory:XL.\u0275fac,providedIn:"root"});var YL=function(a){this.executor=a};
YL.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(p(a)).join(",")}},responseConstructor:q2b}).pipe(yf(function(){return(0,T.of)(new q2b)}))};YL.prototype.split=function(a,b){return Bl(b,1,WL).get(a)||new WL};YL.\u0275fac=function(a){return new (a||YL)(n(nE))};YL.\u0275prov=Pc({token:YL,factory:YL.\u0275fac,providedIn:"root"});var ZL=function(a,b,c){Z.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};X(ZL,Z);Ei.Object.defineProperties(ZL.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(Rf(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});ZL.\u0275fac=function(a){return new (a||ZL)(A(Og),A(Pg),A(Vw))};
ZL.\u0275dir=r({type:ZL,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[$f]});var $L=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new T.ReplaySubject(1);this.availability=this.userSubject.pipe(Qf(function(c){return A0b(b.waldoAvailabilityService,c)}))};$L.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};$L.\u0275fac=function(a){return new (a||$L)(A(ZK))};
$L.\u0275cmp=r({type:$L,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[md],decls:2,vars:3,consts:[["class","chip__container",4,"ngIf"],[1,"chip__container"],["preserveAspectRatio","xMidYMid meet","width","100%","height","100%","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 24 24","aria-hidden","true",1,"chip__icon"],["d","M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"],
["aria-hidden","true",1,"chip__text"]],template:function(a,b){a&1&&(O(0,sya,6,3,"div",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.availability))},dependencies:[bx,hx],styles:["[_nghost-%COMP%]{display:inline-block;height:18px;vertical-align:middle}[_nghost-%COMP%]:empty{display:none}[coinonly][_nghost-%COMP%]   .chip__container[_ngcontent-%COMP%], [collapsed][_nghost-%COMP%]:not(:hover)   .chip__container[_ngcontent-%COMP%]{background:#f1f3f4;padding:0 1px}[coinonly][_nghost-%COMP%]   .chip__icon[_ngcontent-%COMP%], [collapsed][_nghost-%COMP%]:not(:hover)   .chip__icon[_ngcontent-%COMP%]{fill:#5f6368}[coinonly][_nghost-%COMP%]   .chip__text[_ngcontent-%COMP%], [collapsed][_nghost-%COMP%]:not(:hover)   .chip__text[_ngcontent-%COMP%]{display:none}.chip__container[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;background:#fef7e0;border:1px solid transparent;border-radius:20px;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:18px;padding:0 6px;white-space:nowrap;width:100%}.chip__icon[_ngcontent-%COMP%]{fill:#b06000;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:14px;width:14px}.chip__text[_ngcontent-%COMP%]{color:#202124;font-family:Google Sans Display,Roboto,Arial,sans-serif;font-size:12px;letter-spacing:.025em;line-height:16px;margin:0 0 0 6px;overflow:hidden;text-overflow:ellipsis}"],
changeDetection:0});var aM=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};aM.\u0275fac=function(a){return new (a||aM)(A(OH))};aM.\u0275cmp=r({type:aM,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&O(0,tya,1,2,"ng-template",0);a&2&&C("refreshable",b.refreshMonitor.getObservable())},dependencies:[$L,ZL],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var bM=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new T.ReplaySubject(1);this.showEmail$=new T.BehaviorSubject(!1);this.isNonObfuscatedEmail=wp;this.userProfile$=this.email$.pipe(Qf(function(d){return c.userProfiles.get(d)})).pipe(Pf(new WL));this.content$=(0,T.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(B(function(d){var e=m(d);d=e.next().value;var f=e.next().value;
e=e.next().value;return(f=f.getDisplayName())?e?d+" ("+f+")":f:d}));this.vars$=(0,T.combineLatest)([this.email$,this.content$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=Qp(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};Ei.Object.defineProperties(bM.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){this.email$.next(a)}},showEmail:{configurable:!0,enumerable:!0,set:function(a){this.showEmail$.next(a)}}});
bM.\u0275fac=function(a){return new (a||bM)(A(tu),A(XL))};
bM.\u0275cmp=r({type:bM,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[[4,"ngIf"],["displayName",""],[4,"ngIf","ngIfElse"],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(O(0,yya,4,2,"ng-container",
0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.vars$))},dependencies:[bx,gx,aM,rL,XI,bJ,hx],encapsulation:2,changeDetection:0});var cM=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};cM.prototype.getDisplayString=function(){return Gj(this.model)};var r2b=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Pna(Jj(b)):Pna(b))&&!!a.getEmailAddress()};cM.prototype.getEmailAddress=function(){return Kj(this.model)||""};cM.\u0275fac=function(a){return new (a||cM)};
cM.\u0275cmp=r({type:cM,selectors:[["b-user-display"]],inputs:{model:"model",availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled"},decls:3,vars:2,consts:[[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled",4,"ngIf"],[4,"ngIf"],[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled"]],template:function(a,b){a&1&&(H(0),O(1,zya,1,4,"b-user-display-name",0),O(2,Aya,2,1,"span",
1),I());a&2&&(z(1),C("ngIf",r2b(b)),z(1),C("ngIf",!r2b(b)))},dependencies:[bx,bM],styles:[".b-user-display-span[_ngcontent-%COMP%]{margin-right:2px;margin-top:-1px;font-family:Roboto,Arial,sans-serif;font-size:.8125rem}"],changeDetection:0});var dM=function(a,b){Z.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new vw;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};X(dM,Z);dM.\u0275dir=Z.\u0275dir;
dM.prototype.onClick=function(){var a=this;if(null!=this.issueId&&!this.isSaving){var b=(this.upvoted=!this.upvoted)?1:-1;this.voteCount+=b;this.onVote.emit(this.upvoted);this.isSaving=!0;this.issueFridge.setVoted(String(this.issueId),this.upvoted).pipe(Ef(),Rf(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};dM.\u0275fac=function(a){return new (a||dM)(A(qG),A(QH))};
dM.\u0275cmp=r({type:dM,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&pg("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[$f],decls:4,vars:5,consts:[["mat-button","",1,"gmat-button","small",3,"matTooltip","click"],["svgIcon","exposure_plus_1_24px",1,"icon-m"],[3,"title"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){return b.onClick()}),F(1,"mat-icon",1),D(2,"output",
2),P(3),E()());a&2&&(C("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),dg("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),z(2),yg("title","",b.voteCount," votes on this issue"),z(1),Q(" ",9999<b.voteCount?"9999+":b.voteCount," "))},dependencies:[NA,OB,qD],styles:["[_nghost-%COMP%]{display:inline-block;margin-right:12px}.gmat-button[_ngcontent-%COMP%]{box-sizing:border-box;height:24px;line-height:24px;min-width:42px;border-radius:12px;padding:0 4px;font-size:.8125rem;text-align:center;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.gmat-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px}.gmat-button[_ngcontent-%COMP%]:hover{box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}.gmat-button[aria-pressed=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse);box-shadow:none}.gmat-button[aria-pressed=true][_ngcontent-%COMP%]:hover{background-color:#4285f4;background-color:var(--primary-btn-bg-hover)}button.gmat-button.mat-button[aria-pressed=true][_ngcontent-%COMP%]{color:#fff;color:var(--text-inverse)}.bv2-material   [_nghost-%COMP%]     button.gmat-button:not(.mat-icon-button).small{padding:0 4px}output[_ngcontent-%COMP%]{display:inline-block;box-sizing:border-box;height:20px;line-height:20px;min-width:20px;border-radius:10px;margin-left:4px;margin-right:-16px;transform:translate(0, -33%);padding:0 4px;font-weight:500;font-size:.75rem;text-align:center;background-color:#188038;background-color:var(--good-bg-inverse);color:#fff;color:var(--text-inverse);box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--background);position:relative;z-index:1}[_nghost-%COMP%], output[_ngcontent-%COMP%]{transition:margin-right .1s ease-out}.no-votes[_nghost-%COMP%]{margin-right:2px}.no-votes[_nghost-%COMP%]   output[_ngcontent-%COMP%]{margin-right:-22px;visibility:hidden}\n/*# sourceMappingURL=app_vote_button.css.map */"],
changeDetection:0});var Oya=function(){return[]},eM=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.issuesApi=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.relationshipService=e;this.issueFridge=f;this.butterBar=h;this.STATUS_FULL_TEXT=$m;this.providedIssueId$=new T.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe(Qf(function(q){return l.issuesApi.getIssue(q)}));this.editIssue=Hn;this.FormattingMode=CQb;this.init=new T.ReplaySubject(1)};X(eM,Z);eM.\u0275dir=Z.\u0275dir;
eM.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issueFetchResponse$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.issue=b.issue;a.firstEvent=b.firstEvent;a.cdr.markForCheck();a.init.next()})};eM.prototype.priority=function(a){return null==a?"--":USb[a]};eM.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
eM.prototype.getNote=function(){var a,b;return{commentNumber:1,unlinkifiedComment:(null==(a=this.firstEvent)?void 0:a.unlinkifiedComment)||"",formattedComment:null==(b=this.firstEvent)?void 0:b.formattedComment}};
var Nya=function(a,b){return Hj(b).includes(a.activeSession.getUserEmail())},Iya=function(a,b){var c;return Ze(function(d){if(1==d.nextAddress)return c=a.issueId,HF(a.issueFridge,b,function(e){var f=e.parentIssueIds.indexOf(c);0>f||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),$e(d,2,3),af(d,(0,T.firstValueFrom)(a.relationshipService.delete(c,1,b)),3);if(2!=d.nextAddress)return bf(d),a.issueFridge.poke(b),cf(d,0);df(d);oG(a.butterBar,"Error removing the parent issue.");return d.jumpTo(3)})};
eM.\u0275fac=function(a){return new (a||eM)(A(eF),A(HH,2),A(tu),A(LH),A(nF),A(QH),A(mG))};
eM.\u0275cmp=r({type:eM,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Dg([HH]),$f],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[4,"ngIf"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"labelOnlyMode","accessLevel"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[3,"ngSwitch",4,"ngIf"],[1,"issue-card-buttons",
"margin-y"],[3,"issueId","ccState","onCc"],["class","bv2-issue-card-comment",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"model","hovercardEnabled"],[3,"issueId","voteCount","upvoted"],["mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"gmat-button","medium",3,"click"],["mode","date",1,"float-right",3,"timestamp"],[1,"bv2-issue-card-comment"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,b){a&1&&(D(0,"div",
0),O(1,Pya,23,16,"ng-container",1),E());a&2&&(z(1),C("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[$w,bx,cx,dx,ex,ML,NA,qD,cM,UL,JL,dM,VL],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;padding:16px}.issue-card-buttons[_ngcontent-%COMP%]{margin-left:-12px}h3[_ngcontent-%COMP%]{display:inline-flex}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}.priority-status[_ngcontent-%COMP%]{display:inline-flex}"]});var fM=function(a,b,c){Z.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new vw;this.checkedSubject=new T.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(Rf(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(Rf(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};X(fM,Z);fM.\u0275dir=Z.\u0275dir;fM.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};fM.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};fM.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(Rf(this.destroyed$)).subscribe()};fM.\u0275fac=function(a){return new (a||fM)(A(CI),A(TI),A(hJ))};
fM.\u0275cmp=r({type:fM,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[$f,md],decls:4,vars:4,consts:[["gmat-checkbox","","aria-label","Use markdown for this comment","matTooltip","Use Markdown for this comment",3,"checked","change"],["mat-icon-button","","matTooltip","Markdown Help","class","help small","aria-label","Markdown Help","target","_blank",3,"href","disableRipple",4,"ngIf"],["mat-icon-button","","matTooltip","Markdown Help","aria-label",
"Markdown Help","target","_blank",1,"help","small",3,"href","disableRipple"],["svgIcon","help-outline",1,"icon-xs"]],template:function(a,b){a&1&&(D(0,"mat-checkbox",0),K("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?QRb:e?e:RRb;b.save({lastPublishMode:d});b.change.emit(jm(d))}),R(1,"async"),P(2," Markdown "),E(),O(3,Qya,2,2,"a",1));if(a&2){var c;C("checked",null!==(c=S(1,2,b.checkedSubject))&&void 0!==c?c:!1);z(3);C("ngIf",b.mdHelpLink)}},dependencies:[QI,bx,OB,OA,qD,hx],
encapsulation:2,changeDetection:0});var gM=function(){};gM.\u0275fac=function(a){return new (a||gM)};gM.\u0275mod=fd({type:gM});gM.\u0275inj=Qc({imports:[nz,WI,px,BD,fA]});var hM=function(){};hM.\u0275fac=function(a){return new (a||hM)};hM.\u0275mod=fd({type:hM});hM.\u0275inj=Qc({imports:[px]});var iM=function(){};iM.\u0275fac=function(a){return new (a||iM)};iM.\u0275mod=fd({type:iM});iM.\u0275inj=Qc({});var jM=function(){};jM.\u0275fac=function(a){return new (a||jM)};jM.\u0275mod=fd({type:jM});jM.\u0275inj=Qc({imports:[hM,px,iM,rD]});var kM=function(){};kM.\u0275fac=function(a){return new (a||kM)};kM.\u0275mod=fd({type:kM});kM.\u0275inj=Qc({providers:[AK],imports:[vK]});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var lM=function(a,b){this.sequence_=[];this.onCancelFunction_=a;this.defaultScope_=b||null;this.hadError_=this.fired_=!1;this.result_=void 0;this.silentlyCanceled_=this.blocking_=this.blocked_=!1;this.unhandledErrorId_=0;this.parent_=null;this.branches_=0};Gu(lM,Rya);
lM.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof lM&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,0>=b.branches_&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||(a=new mM(this),nM(this),oM(this,!1,a))}};lM.prototype.continue_=function(a,b){this.blocked_=!1;oM(this,a,b)};
var oM=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;s2b(a)},nM=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new t2b(a);a.silentlyCanceled_=!1}};lM.prototype.callback=function(a){nM(this);oM(this,!0,a)};lM.prototype.addCallback=function(a,b){return u2b(this,a,null,b)};var u2b=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&s2b(a);return a};
lM.prototype.then=function(a,b,c){var d,e,f=new AC(function(h,l){e=h;d=l});u2b(this,e,function(h){h instanceof mM?f.cancel():d(h);return v2b},this);return f.then(a,b,c)};lM.prototype.$goog_Thenable=!0;lM.prototype.isError=function(a){return a instanceof Error};
var w2b=function(a){return zAb(a.sequence_,function(b){return"function"===typeof b[1]})},v2b={},s2b=function(a){if(a.unhandledErrorId_&&a.fired_&&w2b(a)){var b=a.unhandledErrorId_,c=x2b[b];c&&(da.clearTimeout(c.id_),delete x2b[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],h=e[1];e=e[2];if(f=a.hadError_?h:f)try{var l=f.call(e||a.defaultScope_,b);l===v2b&&(l=void 0);void 0!==
l&&(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(nMb(b)||"function"===typeof da.Promise&&b instanceof da.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,w2b(a)||(c=!0)}}a.result_=b;d&&(l=Eu(a.continue_,a,!0),d=Eu(a.continue_,a,!1),b instanceof lM?(u2b(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new y2b(b),x2b[b.id_]=b,a.unhandledErrorId_=b.id_)},t2b=function(){aa.call(this)};Gu(t2b,aa);t2b.prototype.message="Deferred has already fired";t2b.prototype.name="AlreadyCalledError";
var mM=function(){aa.call(this)};Gu(mM,aa);mM.prototype.message="Deferred was canceled";mM.prototype.name="CanceledError";var y2b=function(a){this.id_=da.setTimeout(Eu(this.throwError,this),0);this.error_=a};y2b.prototype.throwError=function(){delete x2b[this.id_];throw this.error_;};var x2b={};var Wya=function(a,b){var c=b||{};b=c.document||document;var d=Wi(a).toString(),e=(new nC(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new lM(z2b,f),l=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(l=window.setTimeout(function(){A2b(e,!0);var u=new B2b(1,"Timeout reached for loading script "+d);nM(h);oM(h,!1,u)},q),f.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(A2b(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=
function(){A2b(e,!0,l);var u=new B2b(0,"Error while loading script "+d);nM(h);oM(h,!1,u)};f=c.attributes||{};lc(f,{type:"text/javascript",charset:"UTF-8"});QLb(e,f);UCb(e,a);C2b(b).appendChild(e);return h},C2b=function(a){var b=qC("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},z2b=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&A2b(a,!0,this.timeout_)}},A2b=function(a,b,c){null!=c&&da.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){vC(a)},0)},B2b=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);aa.call(this,c);this.code=a};Gu(B2b,aa);var Sya=null,Yya=new WeakMap;var pM=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;var e=this;this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c;this.gapiAuthParams=d;this.gapi=(0,T.defer)(function(){return Uya().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return $ya(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};X(pM,h0b);
pM.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(lf(function(c){var d=(0,T.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,T.from)(Zya(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(lf(function(){b.setGapiConfig(c);return b.parseResponse(c.client.request({path:b.gapiUrl+a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers}))}))}))};
pM.prototype.parseResponse=function(a){return new T.Observable(function(b){a.then(function(c){!1===c.result&&null!=c.body?b.next({data:c.body}):b.next(c.result);b.complete()},function(c){b.error(c.result)})})};pM.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&Xya(a,b,this.gapiConfigUpdates[b])};var D2b=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;pM.call(this,a,c,d,e);this.waldoApiKey=b};X(D2b,pM);D2b.prototype.makeRequest=function(a){var b=pM.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var Lzb=function(a){this.proxiedService=a};X(Lzb,h0b);Lzb.prototype.makeRequest=function(a){var b=this;return(0,T.defer)(function(){return b.proxiedService.makeRequest(a)})};var E2b=new Ud("environment"),F2b={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},qM=function(){};qM.\u0275fac=function(a){return new (a||qM)};qM.\u0275mod=fd({type:qM});qM.\u0275inj=Qc({imports:[px,WK]});var rM=function(){};rM.\u0275fac=function(a){return new (a||rM)};rM.\u0275mod=fd({type:rM});rM.\u0275inj=Qc({imports:[px,kM,jM,qM]});var sM=function(){};sM.\u0275fac=function(a){return new (a||sM)};sM.\u0275mod=fd({type:sM});sM.\u0275inj=Qc({imports:[px,rM,gM]});var tM=function(){};tM.\u0275fac=function(a){return new (a||tM)};tM.\u0275mod=fd({type:tM});tM.\u0275inj=Qc({imports:[px,gM,sM]});var uM=function(){this.segments=[];this.clickMain=new vw;this.clickSegment=new vw};uM.prototype.ngOnInit=function(){};Ei.Object.defineProperties(uM.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});uM.\u0275fac=function(a){return new (a||uM)};
uM.\u0275cmp=r({type:uM,selectors:[["b-fab-segmented"]],inputs:{label:"label",icon:"icon",segments:"segments",href:"href"},outputs:{clickMain:"clickMain",clickSegment:"clickSegment"},decls:5,vars:6,consts:[[1,"shrink-wrap"],["mat-button","","role","button",1,"main","button-xl",3,"click"],[1,"icon-xl",3,"svgIcon"],[4,"ngIf"],["mat-button","","aria-label","More options",1,"more","button-xl","square-left",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],["createMenu","matMenu"],["mat-menu-item","",
3,"href","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"href","click"]],template:function(a,b){a&1&&(D(0,"span",0)(1,"a",1),K("click",function(){return b.clickMain.emit(b.label)}),F(2,"mat-icon",2),P(3),E(),O(4,bza,6,2,"ng-container",3),E());a&2&&(z(1),pg("square-right",b.showMoreButton),dg("href",b.href||void 0,ue),z(1),C("svgIcon",b.icon),z(1),Q(" ",b.label," "),z(1),C("ngIf",b.showMoreButton))},dependencies:[ax,bx,NA,OA,iD,gD,hD,OB],styles:['[mat-button][_ngcontent-%COMP%]{vertical-align:middle;color:#202124;color:var(--text-default);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}.shrink-wrap[_ngcontent-%COMP%]{display:inline-block;border-radius:24px;white-space:nowrap;transition:box-shadow .2s ease-in-out;background-color:#fff;background-color:var(--fab-button-bg);box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15)}.shrink-wrap[_ngcontent-%COMP%]:hover{box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15)}.mat-button[_ngcontent-%COMP%]{border-radius:24px}.main[_ngcontent-%COMP%]{padding-left:10px;padding-right:24px}.main.square-right[_ngcontent-%COMP%]{padding-right:8px}.more[_ngcontent-%COMP%]{padding-right:10px;padding-left:4px;min-width:0;color:#80868b;color:var(--gfx-muted)}.more[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:24px}.more[_ngcontent-%COMP%]:hover, .more[_ngcontent-%COMP%]:focus{color:#202124;color:var(--text-default)}.more[_ngcontent-%COMP%]{transition:border .2s ease-in-out;border-left:1px solid rgba(0,0,0,0)}.shrink-wrap[_ngcontent-%COMP%]:hover   .more[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}\n/*# sourceMappingURL=fab_segmented.css.map */']});var G2b=[uM],vM=function(){};vM.\u0275fac=function(a){return new (a||vM)};vM.\u0275mod=fd({type:vM});vM.\u0275inj=Qc({imports:[px,BD,jD,rD,lE]});var wM=function(){};wM.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};wM.\u0275fac=function(a){return new (a||wM)};
wM.\u0275cmp=r({type:wM,selectors:[["empty-toolbar"]],decls:3,vars:0,consts:[[1,"button-bar","flex-kids-x","align-items-center","border-bottom","padded-s"],["mat-icon-button","","color","primary","matTooltip","Go back","aria-label","Go back",1,"gmat-button",3,"click"],["svgIcon","arrow-backward"]],template:function(a,b){a&1&&(D(0,"section",0)(1,"button",1),K("click",function(){return b.onPressBack()}),F(2,"mat-icon",2),E()())},dependencies:[NA,OB,qD],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var xM=function(a,b,c){var d=this;this.cdr=a;this.events=b;this.ngZone=c;this.lastOpenPosition=this.width=220;this.hideToggleBtnOnOpen=this.disableToggleBtn=!1;this.direction="ltr";this.widthChanged=new vw;this.widthAtDragStart=this.width;this.startDragging=function(e){d.dragStart=e;d.widthAtDragStart=d.width};this.minSnapWidth=185;this.onMousemove=function(e){d.isDragging&&(d.setWidth(d.widthAtDragStart+(e.pageX-(d.dragStart||0))*(d.isLTR?1:-1)),d.cdr.detectChanges())};this.onMouseup=function(){d.dragStart=
void 0;d.cdr.detectChanges()};this.broadcastWidthChange=vv(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=vv(function(){Wo(Mp.SIDEBAR,"resizeKeyboard")},2E3)};xM.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
xM.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var H2b=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};xM.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
xM.prototype.setWidth=function(a){var b=this.minSnapWidth;a=90>a?28:a<b?b:Math.min(a,700);a>=this.minSnapWidth&&(this.lastOpenPosition=a);this.width=a;this.broadcastWidthChange(a)};
Ei.Object.defineProperties(xM.prototype,{minWidth:{configurable:!0,enumerable:!0,get:function(){return this.minSnapWidth},set:function(a){a=Number(a);Number.isNaN(a)?this.minSnapWidth=185:this.minSnapWidth=a}},size:{configurable:!0,enumerable:!0,get:function(){return this.width},set:function(a){var b=Number(a);"open"===a?b=this.lastOpenPosition:Number.isNaN(b)&&(b=220);this.setWidth(b)}},isLTR:{configurable:!0,enumerable:!0,get:function(){return"ltr"===this.direction}},isClosed:{configurable:!0,enumerable:!0,
get:function(){return this.width<this.minSnapWidth}},toggleButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this.isClosed?"Open Navigation":"Close Navigation"}},isDragging:{configurable:!0,enumerable:!0,get:function(){return null!=this.dragStart}}});xM.\u0275fac=function(a){return new (a||xM)(A(HH,2),A(uG),A(Yf))};
xM.\u0275cmp=r({type:xM,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&qg(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[Dg([HH])],ngContentSelectors:["*"],decls:5,vars:12,consts:[["cdkScrollable","",1,"inner",3,"ngClass"],[1,"content"],["tabindex","0","role","slider","aria-label","Resize side navigation bar","aria-orientation",
"horizontal",1,"resizeHandle",3,"mousedown","keyup.arrowleft","keyup.arrowright","keyup.space","keyup.enter","dblclick"],["mat-icon-button","","class","toggleButton xs","matTooltipPosition","right",3,"ngClass","isClosed","matTooltip","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",1,"toggleButton","xs",3,"ngClass","matTooltip","click"],[3,"svgIcon"]],template:function(a,b){a&1&&(wg(),D(0,"div",0)(1,"div",1),xg(2),E(),D(3,"div",2),K("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return H2b(b,-10)})("keyup.arrowright",function(){return H2b(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),E()(),O(4,cza,2,6,"button",3));a&2&&(og("width",b.width+"px"),pg("isDragging",b.isDragging)("isClosed",b.isClosed),C("ngClass",b.direction),z(1),og("width",b.lastOpenPosition+"px"),z(2),dg("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),z(1),C("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[$w,bx,NA,OB,qD,Mz],styles:['[_nghost-%COMP%]{position:relative}.inner[_ngcontent-%COMP%]{height:100%;overflow-y:auto;overflow-x:hidden;transition:width .2s cubic-bezier(0.165, 0.84, 0.44, 1);display:flex;flex-direction:column}.inner.ltr[_ngcontent-%COMP%]{border-right:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.rtl[_ngcontent-%COMP%]{border-left:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.isDragging[_ngcontent-%COMP%]{transition:none}.content[_ngcontent-%COMP%]{position:relative;flex:1;opacity:1;transition:opacity .1s ease-in-out;transition-delay:.1s}.isClosed[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:none;opacity:0;transition-delay:0s}.isDragging[_ngcontent-%COMP%]{user-select:none}.resizeHandle[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:8px;cursor:col-resize}.ltr[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{right:0}.rtl[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{left:0}.toggleButton[_ngcontent-%COMP%]{position:absolute;bottom:0;top:0;margin:auto}.toggleButton.ltr[_ngcontent-%COMP%]{right:2px}.toggleButton.rtl[_ngcontent-%COMP%]{left:2px}.toggleButton.isClosed[_ngcontent-%COMP%]{z-index:2}.toggleButton.isClosed.ltr[_ngcontent-%COMP%]{right:6px}.toggleButton.isClosed.rtl[_ngcontent-%COMP%]{left:6px}.toggleButton[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.toggleButton.isClosed[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transform:rotateZ(180deg)}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus, .isDragging[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 1px 50%;background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}\n/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var I2b=new Ud("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),J2b=new Ud("isScrolledOnScreen",{factory:function(){return{fully:dza,partially:eza}}}),yM=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};yM.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?fza(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):gza(a,this.isScrolledOnScreen,b)};
var K2b=function(a,b){var c={durationOnScreenMs:5E3},d=void 0===c?{}:c;c=void 0===d.emitOnPartial?!1:d.emitOnPartial;var e=void 0===d.durationOnScreenMs?0:d.durationOnScreenMs;d={cumulativeTime:0,wasPreviouslyOnScreen:!1,lastTimestamp:Date.now()};return a.getObservable(b,c).pipe(Jf(function(f,h){return{cumulativeTime:f.cumulativeTime+(f.wasPreviouslyOnScreen?Date.now()-f.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),Qf(function(f){if(0===e&&f.wasPreviouslyOnScreen)return(0,T.of)(void 0);
var h=e-f.cumulativeTime;return 0>h?(0,T.of)(void 0):f.wasPreviouslyOnScreen?(0,T.of)(void 0).pipe(Cf(h)):T.NEVER}),B(function(){}),Ef())};yM.\u0275fac=function(a){return new (a||yM)(n(I2b),n(J2b))};yM.\u0275prov=Pc({token:yM,factory:yM.\u0275fac,providedIn:"root"});var zM=function(){};zM.prototype.onClick=function(a,b){L2b(b)&&a.preventDefault()};var L2b=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};zM.\u0275fac=function(a){return new (a||zM)};zM.\u0275dir=r({type:zM,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&K("click",function(c){return b.onClick(c,c.target)})}});[].concat(p(G2b),[xM,LI]);var AM=function(){};AM.\u0275fac=function(a){return new (a||AM)};AM.\u0275mod=fd({type:AM});AM.\u0275inj=Qc({imports:[px,BD,rD,lE,Sz,vM]});var BM=function(){};BM.\u0275fac=function(a){return new (a||BM)};BM.\u0275mod=fd({type:BM});BM.\u0275inj=Qc({imports:[tA,gA,lz,PI,gA,PI]});var M2b=$h("transformPanelWrap",[di("* => void",fi("@transformPanel",[ei()]))]),N2b=$h("transformPanel",[ci("void",bi({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ci("showing",bi({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ci("showing-multiple",bi({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),di("void => *",ai("120ms cubic-bezier(0, 0, 0.2, 1)")),di("* => void",ai("100ms 25ms linear",bi({opacity:0})))]);var O2b=["trigger"],P2b=["panel"],Q2b=0,R2b=new Ud("mat-select-scroll-strategy"),S2b=new Ud("MAT_SELECT_CONFIG"),T2b={provide:R2b,deps:[cA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},U2b=new Ud("MatSelectTrigger"),V2b=Gi(Ii(Hi(Cla(function(a,b,c,d,e){this._elementRef=a;this._defaultErrorStateMatcher=b;this._parentForm=c;this._parentFormGroup=d;this.ngControl=e;this.stateChanges=new T.Subject})))),CM=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J){var M=V2b.call(this,
e,d,h,l,u)||this;M._viewportRuler=a;M._changeDetectorRef=b;M._ngZone=c;M._dir=f;M._parentFormField=q;M._liveAnnouncer=G;M._defaultOptions=J;M._panelOpen=!1;M._compareWith=function(ba,pa){return ba===pa};M._uid="mat-select-"+Q2b++;M._triggerAriaLabelledBy=null;M._destroy=new T.Subject;M._onChange=function(){};M._onTouched=function(){};M._valueId="mat-select-value-"+Q2b++;M._panelDoneAnimatingStream=new T.Subject;var V;M._overlayPanelClass=(null==(V=M._defaultOptions)?void 0:V.overlayPanelClass)||"";
M._focused=!1;M.controlType="mat-select";M._multiple=!1;var U,W;M._disableOptionCentering=null!=(W=null==(U=M._defaultOptions)?void 0:U.disableOptionCentering)?W:!1;M.ariaLabel="";M.optionSelectionChanges=(0,T.defer)(function(){var ba=M.options;return ba?ba.changes.pipe(Pf(ba),Qf(function(){return T.merge.apply(null,p(ba.map(function(pa){return pa.onSelectionChange})))})):M._ngZone.onStable.pipe(Ef(),Qf(function(){return M.optionSelectionChanges}))});M.openedChange=new vw;M._openedStream=M.openedChange.pipe(sf(function(ba){return ba}),
B(function(){}));M._closedStream=M.openedChange.pipe(sf(function(ba){return!ba}),B(function(){}));M.selectionChange=new vw;M.valueChange=new vw;M.ngControl&&(M.ngControl.valueAccessor=M);null!=(null==J?void 0:J.typeaheadDebounceInterval)&&(M._typeaheadDebounceInterval=J.typeaheadDebounceInterval);M._scrollStrategyFactory=y;M._scrollStrategy=M._scrollStrategyFactory();M.tabIndex=parseInt(x)||0;M.id=M.id;return M};X(CM,V2b);g=CM.prototype;
g.ngOnInit=function(){var a=this;this._selectionModel=new Nz(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Df(),Rf(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
g.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(Rf(this._destroy)).subscribe(function(b){b.added.forEach(function(c){return c.select()});b.removed.forEach(function(c){return c.deselect()})});this.options.changes.pipe(Pf(null),Rf(this._destroy)).subscribe(function(){a._resetOptions();a._initializeSelection()})};
g.ngDoCheck=function(){var a=this._getTriggerAriaLabelledby(),b=this.ngControl;if(a!==this._triggerAriaLabelledBy){var c=this._elementRef.nativeElement;(this._triggerAriaLabelledBy=a)?c.setAttribute("aria-labelledby",a):c.removeAttribute("aria-labelledby")}b&&(this._previousControl!==b.control&&(void 0!==this._previousControl&&null!==b.disabled&&b.disabled!==this.disabled&&(this.disabled=b.disabled),this._previousControl=b.control),this.updateErrorState())};
g.ngOnChanges=function(a){(a.disabled||a.userAriaDescribedBy)&&this.stateChanges.next();a.typeaheadDebounceInterval&&this._keyManager&&mIb(this._keyManager,this._typeaheadDebounceInterval)};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete()};g.toggle=function(){this.panelOpen?this.close():this.open()};
g.open=function(){this._canOpen()&&(this._panelOpen=!0,vz(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())};g.close=function(){this._panelOpen&&(this._panelOpen=!1,vz(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())};g.writeValue=function(a){this._assignValue(a)};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this.stateChanges.next()};g._isRtl=function(){return this._dir?"rtl"===this._dir.value:!1};g._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
g._handleClosedKeydown=function(a){var b=a.keyCode,c=40===b||38===b||37===b||39===b,d=this._keyManager;!(0<d._pressedLetters.length||13!==b&&32!==b||Qh(a))||(this.multiple||a.altKey)&&c?(a.preventDefault(),this.open()):this.multiple||(b=this.selected,d.onKeydown(a),(a=this.selected)&&b!==a&&this._liveAnnouncer.announce(a.viewValue,1E4))};
g._handleOpenKeydown=function(a){var b=this._keyManager,c=a.keyCode,d=40===c||38===c,e=0<b._pressedLetters.length;if(d&&a.altKey)a.preventDefault(),this.close();else if(e||13!==c&&32!==c||!b.activeItem||Qh(a))if(!e&&this._multiple&&65===c&&a.ctrlKey){a.preventDefault();var f=this.options.some(function(h){return!h.disabled&&!h.selected});this.options.forEach(function(h){h.disabled||(f?h.select():h.deselect())})}else c=b.activeItemIndex,b.onKeydown(a),this._multiple&&d&&a.shiftKey&&b.activeItem&&b.activeItemIndex!==
c&&b.activeItem._selectViaInteraction();else a.preventDefault(),b.activeItem._selectViaInteraction()};g._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};g._onBlur=function(){this._focused=!1;var a;null!=(a=this._keyManager)&&(a._pressedLetters=[]);this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
g._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(Ef()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};g._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};g._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
g._setSelectionByValue=function(a){var b=this;this.options.forEach(function(c){return c.setInactiveStyles()});this._selectionModel.clear();this.multiple&&a?(Array.isArray(a),a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?xz(this._keyManager,a):this.panelOpen||xz(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
g._selectOptionByValue=function(a){var b=this,c=this.options.find(function(d){if(b._selectionModel.isSelected(d))return!1;try{return null!=d.value&&b._compareWith(d.value,a)}catch(e){return!1}});c&&this._selectionModel.select(c);return c};g._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};
g._initKeyManager=function(){var a=this;this._keyManager=lIb(nIb(wz(vz(kIb(mIb(new zz(this.options),this._typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr"))));this._keyManager.tabOut.subscribe(function(){a.panelOpen&&(!a.multiple&&a._keyManager.activeItem&&a._keyManager.activeItem._selectViaInteraction(),a.focus(),a.close())});this._keyManager.change.subscribe(function(){a._panelOpen&&a.panel?a._scrollOptionIntoView(a._keyManager.activeItemIndex||0):a._panelOpen||a.multiple||!a._keyManager.activeItem||
a._keyManager.activeItem._selectViaInteraction()})};g._resetOptions=function(){var a=this,b=(0,T.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Rf(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});T.merge.apply(null,p(this.options.map(function(c){return c._stateChanges}))).pipe(Rf(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);null!=a.value||this._multiple?(c!==a.selected&&(a.selected?this._selectionModel.select(a):this._selectionModel.deselect(a)),b&&this._keyManager.setActiveItem(a),this.multiple&&(this._sortValues(),b&&this.focus())):(a.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
g._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};g._propagateChanges=function(a){var b=null;this.multiple?b=this.selected.map(function(c){return c.value}):b=this.selected?this.selected.value:a;this._value=b;this.valueChange.emit(b);this._onChange(b);this.selectionChange.emit(this._getChangeEvent(b));this._changeDetectorRef.markForCheck()};
g._highlightCorrectOption=function(){this._keyManager&&(this.empty?yz(this._keyManager):this._keyManager.setActiveItem(this._selectionModel.selected[0]))};g._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&0<(null==(a=this.options)?void 0:a.length)};g.focus=function(a){this._elementRef.nativeElement.focus(a)};
g._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();return this.ariaLabelledby?(b?b+" ":"")+this.ariaLabelledby:b};g._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
g._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};g._panelDoneAnimating=function(a){this.openedChange.emit(a)};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
g.onContainerClick=function(){this.focus();this.open()};
Ei.Object.defineProperties(CM.prototype,{focused:{configurable:!0,enumerable:!0,get:function(){return this._focused||this._panelOpen}},placeholder:{configurable:!0,enumerable:!0,get:function(){return this._placeholder},set:function(a){this._placeholder=a;this.stateChanges.next()}},required:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return null!=(d=null!=(c=this._required)?c:null==(a=this.ngControl)?void 0:null==(b=a.control)?void 0:UFb(b))?d:!1},set:function(a){this._required=Kh(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Kh(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=Kh(a)}},compareWith:{configurable:!0,enumerable:!0,get:function(){return this._compareWith},set:function(a){this._compareWith=a;this._selectionModel&&this._initializeSelection()}},value:{configurable:!0,enumerable:!0,
get:function(){return this._value},set:function(a){this._assignValue(a)&&this._onChange(a)}},typeaheadDebounceInterval:{configurable:!0,enumerable:!0,get:function(){return this._typeaheadDebounceInterval},set:function(a){this._typeaheadDebounceInterval=Nh(a)}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=a||this._uid;this.stateChanges.next()}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._panelOpen}},selected:{configurable:!0,enumerable:!0,
get:function(){var a,b;return this.multiple?(null==(a=this._selectionModel)?void 0:a.selected)||[]:null==(b=this._selectionModel)?void 0:b.selected[0]}},triggerValue:{configurable:!0,enumerable:!0,get:function(){if(this.empty)return"";if(this._multiple){var a=this._selectionModel.selected.map(function(b){return b.viewValue});this._isRtl()&&a.reverse();return a.join(", ")}return this._selectionModel.selected[0].viewValue}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._selectionModel||
this._selectionModel.isEmpty()}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}});CM.\u0275fac=function(a){return new (a||CM)(A(Pz),A(Vw),A(Yf),A(nA),A(Yd),A(Bz,8),A(Jx,8),A(Sx,8),A(mB,8),A(Cx,10),Id("tabindex"),A(R2b),A(mz),A(S2b,8))};
CM.\u0275dir=r({type:CM,viewQuery:function(a,b){a&1&&(Sg(O2b,5),Sg(P2b,5),Sg(eA,5));if(a&2){var c;Rg(c=Ug())&&(b.trigger=c.first);Rg(c=Ug())&&(b.panel=c.first);Rg(c=Ug())&&(b._overlayDir=c.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby",
"ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[$f,md]});var W2b=[[["mat-select-trigger"]],"*"],X2b=function(a,b){this.source=a;this.value=b},DM=function(){};DM.\u0275fac=function(a){return new (a||DM)};DM.\u0275dir=r({type:DM,selectors:[["mat-select-trigger"]],features:[Dg([{provide:U2b,useExisting:DM}])]});
var EM=function(){var a=CM.apply(this,arguments)||this;a._scrollTop=0;a._triggerFontSize=0;a._transformOrigin="top";a._offsetY=0;a._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}];return a};X(EM,CM);EM.\u0275dir=CM.\u0275dir;g=EM.prototype;g._calculateOverlayScroll=function(a,b,c){var d=this._getItemHeight();return Math.min(Math.max(0,d*a-b+d/2),c)};
g.ngOnInit=function(){var a=this;CM.prototype.ngOnInit.call(this);this._viewportRuler.change().pipe(Rf(this._destroy)).subscribe(function(){a.panelOpen&&(a._triggerRect=a.trigger.nativeElement.getBoundingClientRect(),a._changeDetectorRef.markForCheck())})};
g.open=function(){var a=this;CM.prototype._canOpen.call(this)&&(CM.prototype.open.call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Ef()).subscribe(function(){a._triggerFontSize&&a._overlayDir.overlayRef&&a._overlayDir.overlayRef.overlayElement&&(a._overlayDir.overlayRef.overlayElement.style.fontSize=a._triggerFontSize+
"px")}))};g._scrollOptionIntoView=function(a){var b=Hla(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:Ila((a+b)*c,c,this.panel.nativeElement.scrollTop,256)};g._positioningSettled=function(){this._calculateOverlayOffsetX();this.panel.nativeElement.scrollTop=this._scrollTop};
g._panelDoneAnimating=function(a){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck());CM.prototype._panelDoneAnimating.call(this,a)};g._getChangeEvent=function(a){return new X2b(this,a)};g._getOverlayMinWidth=function(){var a;return null==(a=this._triggerRect)?void 0:a.width};
g._calculateOverlayOffsetX=function(){var a=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),b=this._viewportRuler.getViewportSize(),c=this._isRtl(),d=this.multiple?56:32;var e=this.multiple?40:this.disableOptionCentering?16:(e=this._selectionModel.selected[0]||this.options.first)&&e.group?32:16;c||(e*=-1);var f=-(a.left+e-(c?d:0));a=a.right+e-b.width+(c?0:d);0<f?e+=f+8:0<a&&(e-=a+8);this._overlayDir.offsetX=Math.round(e);this._overlayDir.overlayRef.updatePosition()};
g._calculateOverlayOffsetY=function(a,b,c){var d=this._getItemHeight(),e=(d-this._triggerRect.height)/2,f=Math.floor(256/d);return this.disableOptionCentering?0:Math.round(-1*(0===this._scrollTop?a*d:this._scrollTop===c?(a-(this._getItemCount()-f))*d+(d-(this._getItemCount()*d-256)%d):b-d/2)-e)};
g._checkOverlayWithinViewport=function(a){var b=this._getItemHeight(),c=this._viewportRuler.getViewportSize(),d=this._triggerRect.top-8;c=c.height-this._triggerRect.bottom-8;var e=Math.abs(this._offsetY);b=Math.min(this._getItemCount()*b,256)-e-this._triggerRect.height;b>c?this._adjustPanelUp(b,c):e>d?this._adjustPanelDown(e,d,a):this._transformOrigin=this._getOriginBasedOnOption()};
g._adjustPanelUp=function(a,b){a=Math.round(a-b);this._scrollTop-=a;this._offsetY-=a;this._transformOrigin=this._getOriginBasedOnOption();0>=this._scrollTop&&(this._offsetY=this._scrollTop=0,this._transformOrigin="50% bottom 0px")};g._adjustPanelDown=function(a,b,c){a=Math.round(a-b);this._scrollTop+=a;this._offsetY+=a;this._transformOrigin=this._getOriginBasedOnOption();this._scrollTop>=c&&(this._scrollTop=c,this._offsetY=0,this._transformOrigin="50% top 0px")};
g._calculateOverlayPosition=function(){var a=this._getItemHeight(),b=this._getItemCount(),c=Math.min(b*a,256);a=b*a-c;b=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0);b+=Hla(b,this.options,this.optionGroups);c/=2;this._scrollTop=this._calculateOverlayScroll(b,c,a);this._offsetY=this._calculateOverlayOffsetY(b,c,a);this._checkOverlayWithinViewport(a)};
g._getOriginBasedOnOption=function(){var a=this._getItemHeight();return"50% "+(Math.abs(this._offsetY)-(a-this._triggerRect.height)/2+a/2)+"px 0px"};g._getItemHeight=function(){return 3*this._triggerFontSize};g._getItemCount=function(){return this.options.length+this.optionGroups.length};EM.\u0275fac=function(){var a;return function(b){return(a||(a=Od(EM)))(b||EM)}}();
EM.\u0275cmp=r({type:EM,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(Tg(c,U2b,5),Tg(c,PA,5),Tg(c,UIb,5));if(a&2){var d;Rg(d=Ug())&&(b.customTrigger=d.first);Rg(d=Ug())&&(b.options=d);Rg(d=Ug())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(a,b){a&1&&K("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});
a&2&&(dg("id",b.id)("tabindex",b.tabIndex)("aria-controls",b.panelOpen?b.id+"-panel":null)("aria-expanded",b.panelOpen)("aria-label",b.ariaLabel||null)("aria-required",b.required.toString())("aria-disabled",b.disabled.toString())("aria-invalid",b.errorState)("aria-activedescendant",b._getAriaActiveDescendant()),pg("mat-select-disabled",b.disabled)("mat-select-invalid",b.errorState)("mat-select-required",b.required)("mat-select-empty",b.empty)("mat-select-multiple",b.multiple))},inputs:{disabled:"disabled",
disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Dg([{provide:lB,useExisting:EM},{provide:TIb,useExisting:EM}]),$f],ngContentSelectors:["mat-select-trigger","*"],decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],
[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",
3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(a,b){a&1&&(wg(W2b),D(0,"div",0,1),K("click",function(){return b.toggle()}),D(3,"div",2),O(4,hza,2,1,"span",3),O(5,kza,3,2,"span",4),E(),D(6,"div",5),F(7,"div",6),E()(),O(8,lza,4,14,"ng-template",7),K("backdropClick",function(){return b.close()})("attach",function(){return b._onAttached()})("detach",
function(){return b.close()}));if(a&2){var c=N(1);dg("aria-owns",b.panelOpen?b.id+"-panel":null);z(3);C("ngSwitch",b.empty);dg("id",b._valueId);z(1);C("ngSwitchCase",!0);z(1);C("ngSwitchCase",!1);z(3);C("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",
b._offsetY)}},dependencies:[$w,cx,dx,ex,eA,dA],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],
encapsulation:2,data:{animation:[M2b,N2b]},changeDetection:0});var FM=function(){};FM.\u0275fac=function(a){return new (a||FM)};FM.\u0275mod=fd({type:FM});FM.\u0275inj=Qc({providers:[T2b],imports:[px,fA,QA,gA,Sz,rB,QA,gA]});var Y2b=new Ud("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var Z2b=$h("translateTab",[ci("center, void, left-origin-center, right-origin-center",bi({transform:"none"})),ci("left",bi({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ci("right",bi({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),di("* => left, * => right, left => center, right => center",ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),di("void => left-origin-center",[bi({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),di("void => right-origin-center",[bi({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var $2b=function(a){return{animationDuration:a}},a3b=function(a,b){return{value:a,params:b}},GM=function(a,b,c,d){uy.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=T.Subscription.EMPTY};X(GM,uy);
GM.prototype.ngOnInit=function(){var a=this;uy.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(Pf(this._host._isCenterPosition(this._host._position))).subscribe(function(b){b&&!a.hasAttached()&&a.attach(a._host._content)});this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){a._host.preserveContent||a.detach()})};GM.prototype.ngOnDestroy=function(){uy.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
GM.\u0275fac=function(a){return new (a||GM)(A(Gv),A(Pg),A(Nc(function(){return HM})),A(Ci))};GM.\u0275dir=r({type:GM,selectors:[["","matTabBodyHost",""]],features:[$f]});
var IM=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=T.Subscription.EMPTY;this._translateTabComplete=new T.Subject;this._onCentering=new vw;this._beforeCentering=new vw;this._afterLeavingCenter=new vw;this._onCentered=new vw(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(Df(function(e,f){return e.fromState===
f.fromState&&e.toState===f.toState})).subscribe(function(e){d._isCenterPosition(e.toState)&&d._isCenterPosition(d._position)&&d._onCentered.emit();d._isCenterPosition(e.fromState)&&!d._isCenterPosition(d._position)&&d._afterLeavingCenter.emit()})};g=IM.prototype;g.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))};g.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
g._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};g._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};g._isCenterPosition=function(a){return"center"==a||"left-origin-center"==a||"right-origin-center"==a};
g._computePositionAnimationState=function(a){a=void 0===a?this._getLayoutDirection():a;this._position=0>this._positionIndex?"ltr"==a?"left":"right":0<this._positionIndex?"ltr"==a?"right":"left":"center"};g._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return"ltr"==b&&0>=a||"rtl"==b&&0<a?"left-origin-center":"right-origin-center"};Ei.Object.defineProperties(IM.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
IM.\u0275fac=function(a){return new (a||IM)(A(Yd),A(Bz,8),A(Vw))};IM.\u0275dir=r({type:IM,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var HM=function(a,b,c){IM.call(this,a,b,c)};X(HM,IM);HM.\u0275dir=IM.\u0275dir;
HM.\u0275fac=function(a){return new (a||HM)(A(Yd),A(Bz,8),A(Vw))};
HM.\u0275cmp=r({type:HM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Sg(uy,5);if(a&2){var c;Rg(c=Ug())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[$f],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(D(0,"div",0,1),K("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),O(2,nza,0,
0,"ng-template",2),E());a&2&&C("@translateTab",Hg(3,a3b,b._position,Gg(1,$2b,b.animationDuration)))},dependencies:[GM],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}\n'],
encapsulation:2,data:{animation:[Z2b]}});var b3b=new Ud("MatTabContent");var c3b=new Ud("MAT_TABS_CONFIG");var d3b=Dh({passive:!0}),JM=function(a,b,c,d,e,f,h){var l=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=f;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new T.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new T.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new vw;this.indexFocused=new vw;
e.runOutsideAngular(function(){(0,T.fromEvent)(a.nativeElement,"mouseleave").pipe(Rf(l._destroyed)).subscribe(function(){l._stopInterval()})})};g=JM.prototype;g.ngAfterViewInit=function(){var a=this;(0,T.fromEvent)(this._previousPaginator.nativeElement,"touchstart",d3b).pipe(Rf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,T.fromEvent)(this._nextPaginator.nativeElement,"touchstart",d3b).pipe(Rf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,T.of)("ltr"),c=this._viewportRuler.change(150),d=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=jIb(uz(wz(vz(new Az(this._items),this._getLayoutDirection()))),function(){return!1});xz(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(Ef()).subscribe(d);(0,T.merge)(b,c,this._items.changes,this._itemsResized()).pipe(Rf(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=
Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));d()})});vz(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(e){a.indexFocused.emit(e);a._setTabFocus(e)})};
g._itemsResized=function(){var a=this;return"function"!==typeof ResizeObserver?T.EMPTY:this._items.changes.pipe(Pf(this._items),Qf(function(b){return new T.Observable(function(c){return a._ngZone.runOutsideAngular(function(){var d=new ResizeObserver(function(e){return c.next(e)});b.forEach(function(e){return d.observe(e.elementRef.nativeElement)});return function(){d.disconnect()}})})}),Of(1),sf(function(b){return b.some(function(c){return 0<c.contentRect.width&&0<c.contentRect.height})}))};
g.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck());this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck());this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};g._handleKeydown=function(a){if(!Qh(a))switch(a.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){var b=this._items.get(this.focusIndex);b&&!b.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(a))}break;default:this._keyManager.onKeydown(a)}};
g._onContentChanges=function(){var a=this,b=this._elementRef.nativeElement.textContent;b!==this._currentTextContent&&(this._currentTextContent=b||"",this._ngZone.run(function(){a.updatePagination();a._alignInkBarToSelectedTab();a._changeDetectorRef.markForCheck()}))};g.updatePagination=function(){this._checkPaginationEnabled();this._checkScrollingControls();this._updateTabScrollPosition()};g._isValidIndex=function(a){return this._items?!!this._items.toArray()[a]:!0};
g._setTabFocus=function(a){this._showPaginationControls&&this._scrollToLabel(a);this._items&&this._items.length&&(this._items.toArray()[a].focus(),a=this._tabListContainer.nativeElement,a.scrollLeft="ltr"==this._getLayoutDirection()?0:a.scrollWidth-a.offsetWidth)};g._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};
g._updateTabScrollPosition=function(){if(!this.disablePagination){var a=this.scrollDistance;this._tabList.nativeElement.style.transform="translateX("+Math.round("ltr"===this._getLayoutDirection()?-a:a)+"px)";if(this._platform.TRIDENT||this._platform.EDGE)this._tabListContainer.nativeElement.scrollLeft=0}};g._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+("before"==a?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)};
g._handlePaginatorClick=function(a){this._stopInterval();this._scrollHeader(a)};
g._scrollToLabel=function(a){if(!this.disablePagination){var b=this._items?this._items.toArray()[a]:null;if(b){a=this._tabListContainer.nativeElement.offsetWidth;var c=b.elementRef.nativeElement;b=c.offsetLeft;var d=c.offsetWidth;"ltr"==this._getLayoutDirection()?c=b+d:(c=this._tabListInner.nativeElement.offsetWidth-b,b=c-d);d=this.scrollDistance;a=this.scrollDistance+a;b<d?this.scrollDistance-=d-b+60:c>a&&(this.scrollDistance+=c-a+60)}}};
g._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var a=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;a||(this.scrollDistance=0);a!==this._showPaginationControls&&this._changeDetectorRef.markForCheck();this._showPaginationControls=a}};
g._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())};g._getMaxScrollDistance=function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0};
g._alignInkBarToSelectedTab=function(){var a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null;(a=a?a.elementRef.nativeElement:null)?e3b(this._inkBar,a):this._inkBar.hide()};g._stopInterval=function(){this._stopScrolling.next()};
g._handlePaginatorPress=function(a,b){var c=this;b&&null!=b.button&&0!==b.button||(this._stopInterval(),(0,T.timer)(650,100).pipe(Rf((0,T.merge)(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(0===d||d>=e)&&c._stopInterval()}))};
g._scrollTo=function(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var b=this._getMaxScrollDistance();this._scrollDistance=Math.max(0,Math.min(b,a));this._scrollDistanceChanged=!0;this._checkScrollingControls();return{maxScrollDistance:b,distance:this._scrollDistance}};
Ei.Object.defineProperties(JM.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Kh(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Nh(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&xz(this._keyManager,a))}},focusIndex:{configurable:!0,enumerable:!0,get:function(){return this._keyManager?this._keyManager.activeItemIndex:
0},set:function(a){this._isValidIndex(a)&&this.focusIndex!==a&&this._keyManager&&this._keyManager.setActiveItem(a)}},scrollDistance:{configurable:!0,enumerable:!0,get:function(){return this._scrollDistance},set:function(a){this._scrollTo(a)}}});JM.\u0275fac=function(a){return new (a||JM)(A(Yd),A(Vw),A(Pz),A(Bz,8),A(Yf),A(cy),A(Ov,8))};JM.\u0275dir=r({type:JM,inputs:{disablePagination:"disablePagination"}});var f3b=Hi(function(){}),KM=function(a){var b=f3b.call(this)||this;b.elementRef=a;return b};X(KM,f3b);KM.prototype.focus=function(){this.elementRef.nativeElement.focus()};KM.\u0275fac=function(a){return new (a||KM)(A(Yd))};KM.\u0275dir=r({type:KM,features:[$f]});mza(KM);var LM=function(a,b,c,d,e,f,h){JM.call(this,a,b,c,d,e,f,h);this._disableRipple=!1};X(LM,JM);LM.prototype._itemSelected=function(a){a.preventDefault()};Ei.Object.defineProperties(LM.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Kh(a)}}});LM.\u0275fac=function(a){return new (a||LM)(A(Yd),A(Vw),A(Pz),A(Bz,8),A(Yf),A(cy),A(Ov,8))};LM.\u0275dir=r({type:LM,inputs:{disableRipple:"disableRipple"},features:[$f]});var g3b=new Ud("MatTabLabel"),h3b=new Ud("MAT_TAB"),MM=function(a,b,c){qy.call(this,a,b);this._closestTab=c};X(MM,ty);MM.\u0275fac=function(a){return new (a||MM)(A(Og),A(Pg),A(h3b,8))};MM.\u0275dir=r({type:MM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Dg([{provide:g3b,useExisting:MM}]),$f]});var i3b=Hi(function(){}),j3b=new Ud("MAT_TAB_GROUP"),NM=function(a,b){var c=i3b.call(this)||this;c._viewContainerRef=a;c._closestTabGroup=b;c.textLabel="";c._contentPortal=null;c._stateChanges=new T.Subject;c.position=null;c.origin=null;c.isActive=!1;return c};X(NM,i3b);NM.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};NM.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
NM.prototype.ngOnInit=function(){this._contentPortal=new qy(this._explicitContent||this._implicitContent,this._viewContainerRef)};NM.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};Ei.Object.defineProperties(NM.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});NM.\u0275fac=function(a){return new (a||NM)(A(Pg),A(j3b,8))};
NM.\u0275dir=r({type:NM,viewQuery:function(a,b){a&1&&Sg(Og,7);if(a&2){var c;Rg(c=Ug())&&(b._implicitContent=c.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[$f,md]});var k3b=0,l3b=Fi(Gi(function(a){this._elementRef=a}),"primary"),OM=function(a,b,c,d){a=l3b.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new Vg;a._indexToSelect=0;a._lastFocusedTabIndex=null;a._tabBodyWrapperHeight=0;a._tabsSubscription=T.Subscription.EMPTY;a._tabLabelSubscription=T.Subscription.EMPTY;a._dynamicHeight=!1;a._selectedIndex=null;a.headerPosition="above";a._disablePagination=!1;a._preserveContent=!1;a.selectedIndexChange=new vw;a.focusChange=new vw;a.animationDone=
new vw;a.selectedTabChange=new vw(!0);a._groupId=k3b++;a.animationDuration=c&&c.animationDuration?c.animationDuration:"500ms";a.disablePagination=c&&null!=c.disablePagination?c.disablePagination:!1;a.dynamicHeight=c&&null!=c.dynamicHeight?c.dynamicHeight:!1;var e;a.contentTabIndex=null!=(e=null==c?void 0:c.contentTabIndex)?e:null;a.preserveContent=!(null==c||!c.preserveContent);return a};X(OM,l3b);g=OM.prototype;
g.ngAfterContentChecked=function(){var a=this,b=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=b){var c=null==this._selectedIndex;if(!c){this.selectedTabChange.emit(this._createChangeEvent(b));var d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(function(){a._tabs.forEach(function(e,f){return e.isActive=f===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
f){e.position=f-b;null==a._selectedIndex||0!=e.position||e.origin||(e.origin=b-a._selectedIndex)});this._selectedIndex!==b&&(this._selectedIndex=b,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())};
g.ngAfterContentInit=function(){var a=this;this._subscribeToAllTabChanges();this._subscribeToTabLabels();this._tabsSubscription=this._tabs.changes.subscribe(function(){var b=a._clampTabIndex(a._indexToSelect);if(b===a._selectedIndex){for(var c=a._tabs.toArray(),d,e=0;e<c.length;e++)if(c[e].isActive){a._indexToSelect=a._selectedIndex=e;a._lastFocusedTabIndex=null;d=c[e];break}!d&&c[b]&&Promise.resolve().then(function(){c[b].isActive=!0;a.selectedTabChange.emit(a._createChangeEvent(b))})}a._changeDetectorRef.markForCheck()})};
g._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe(Pf(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));Qg(a._tabs)})};g.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe()};g.updatePagination=function(){this._tabHeader&&this._tabHeader.updatePagination()};g._focusChanged=function(a){this._lastFocusedTabIndex=a;this.focusChange.emit(this._createChangeEvent(a))};
g._createChangeEvent=function(a){var b=new m3b;b.index=a;this._tabs&&this._tabs.length&&(b.tab=this._tabs.toArray()[a]);return b};g._subscribeToTabLabels=function(){var a=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe();this._tabLabelSubscription=T.merge.apply(null,p(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};g._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
g._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};g._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};g._setTabBodyWrapperHeight=function(a){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var b=this._tabBodyWrapper.nativeElement;b.style.height=this._tabBodyWrapperHeight+"px";this._tabBodyWrapper.nativeElement.offsetHeight&&(b.style.height=a+"px")}};
g._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};g._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};g._getTabIndex=function(a){var b,c=null!=(b=this._lastFocusedTabIndex)?b:this.selectedIndex;return a===c?0:-1};g._tabFocusChanged=function(a,b){a&&"mouse"!==a&&"touch"!==a&&(this._tabHeader.focusIndex=b)};
Ei.Object.defineProperties(OM.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=Kh(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=Nh(a,null)}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a+"")?a+"ms":a}},contentTabIndex:{configurable:!0,
enumerable:!0,get:function(){return this._contentTabIndex},set:function(a){this._contentTabIndex=Nh(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Kh(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=Kh(a)}},backgroundColor:{configurable:!0,enumerable:!0,get:function(){return this._backgroundColor},set:function(a){var b=
this._elementRef.nativeElement.classList;b.remove("mat-tabs-with-background","mat-background-"+this.backgroundColor);a&&b.add("mat-tabs-with-background","mat-background-"+a);this._backgroundColor=a}}});OM.\u0275fac=function(a){return new (a||OM)(A(Yd),A(Vw),A(c3b,8),A(Ov,8))};
OM.\u0275dir=r({type:OM,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[$f]});var m3b=function(){};var n3b=0,PM=function(a,b,c,d,e,f,h){JM.call(this,a,d,e,b,c,f,h);this._disableRipple=!1;this.color="primary"};X(PM,JM);PM.prototype._itemSelected=function(){};PM.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe(Pf(null),Rf(this._destroyed)).subscribe(function(){o3b(a)});JM.prototype.ngAfterContentInit.call(this)};
var o3b=function(a){if(a._items){for(var b=a._items.toArray(),c=0;c<b.length;c++)if(b[c].active){a.selectedIndex=c;a._changeDetectorRef.markForCheck();a.tabPanel&&(a.tabPanel._activeTabId=b[c].id);return}a.selectedIndex=-1;a._inkBar.hide()}};PM.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
Ei.Object.defineProperties(PM.prototype,{backgroundColor:{configurable:!0,enumerable:!0,get:function(){return this._backgroundColor},set:function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-tabs-with-background","mat-background-"+this.backgroundColor);a&&b.add("mat-tabs-with-background","mat-background-"+a);this._backgroundColor=a}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Kh(a)}}});
PM.\u0275fac=function(a){return new (a||PM)(A(Yd),A(Bz,8),A(Yf),A(Vw),A(Pz),A(cy),A(Ov,8))};PM.\u0275dir=r({type:PM,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[$f]});
var p3b=Ii(Gi(Hi(function(){}))),QM=function(a,b,c,d,e,f){var h=p3b.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+n3b++;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===f&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};X(QM,p3b);g=QM.prototype;g.focus=function(){this.elementRef.nativeElement.focus()};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)};
g._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};g._handleKeydown=function(a){this._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click()};g._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};g._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};
g._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};g._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};g._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex};
Ei.Object.defineProperties(QM.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=Kh(a);a!==this._isActive&&(this._isActive=a,o3b(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});QM.\u0275fac=function(a){return new (a||QM)(A(PM),A(Yd),A(gJb,8),Id("tabindex"),A(ly),A(Ov,8))};
QM.\u0275dir=r({type:QM,inputs:{active:"active",id:"id"},features:[$f]});mza(QM);var RM=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},e3b=function(a,b){a.show();a._ngZone.run(function(){a._ngZone.onStable.pipe(Ef()).subscribe(function(){var c=a._inkBarPositioner(b),d=a._elementRef.nativeElement;d.style.left=c.left;d.style.width=c.width})})};RM.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"};RM.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"};
RM.\u0275fac=function(a){return new (a||RM)(A(Yd),A(Yf),A(Y2b),A(Ov,8))};RM.\u0275dir=r({type:RM,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&pg("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var q3b=function(a){return{animationDuration:a}},r3b=function(a,b){return{value:a,params:b}},SM=function(a,b,c,d){GM.call(this,a,b,c,d)};X(SM,GM);SM.\u0275fac=function(a){return new (a||SM)(A(Gv),A(Pg),A(Nc(function(){return TM})),A(Ci))};SM.\u0275dir=r({type:SM,selectors:[["","matTabBodyHost",""]],features:[$f]});var TM=function(a,b,c){IM.call(this,a,b,c)};X(TM,IM);TM.\u0275dir=IM.\u0275dir;TM.\u0275fac=function(a){return new (a||TM)(A(Yd),A(Bz,8),A(Vw))};
TM.\u0275cmp=r({type:TM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Sg(uy,5);if(a&2){var c;Rg(c=Ug())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],features:[$f],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(D(0,"div",0,1),K("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),O(2,oza,0,0,"ng-template",
2),E());a&2&&C("@translateTab",Hg(3,r3b,b._position,Gg(1,q3b,b.animationDuration)))},dependencies:[SM],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[Z2b]}});var UM=function(){return KM.apply(this,arguments)||this};X(UM,KM);UM.\u0275fac=function(){var a;return function(b){return(a||(a=Od(UM)))(b||UM)}}();UM.\u0275dir=r({type:UM,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(dg("aria-disabled",!!b.disabled),pg("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[$f]});var s3b=["tabListContainer"],t3b=["tabList"],u3b=["tabListInner"],v3b=["nextPaginator"],w3b=["previousPaginator"],VM=function(a,b,c,d,e,f,h){LM.call(this,a,b,c,d,e,f,h)};X(VM,LM);VM.\u0275dir=LM.\u0275dir;VM.\u0275fac=function(a){return new (a||VM)(A(Yd),A(Vw),A(Pz),A(Bz,8),A(Yf),A(cy),A(Ov,8))};
VM.\u0275cmp=r({type:VM,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&Tg(c,UM,4);if(a&2){var d;Rg(d=Ug())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Sg(RM,7),Sg(s3b,7),Sg(t3b,7),Sg(u3b,7),Sg(v3b,5),Sg(w3b,5));if(a&2){var c;Rg(c=Ug())&&(b._inkBar=c.first);Rg(c=Ug())&&(b._tabListContainer=c.first);Rg(c=Ug())&&(b._tabList=c.first);Rg(c=Ug())&&(b._tabListInner=c.first);Rg(c=Ug())&&(b._nextPaginator=c.first);Rg(c=Ug())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:4,hostBindings:function(a,b){a&2&&pg("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[$f],ngContentSelectors:["*"],decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",
3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown",
"click","touchend"],["nextPaginator",""]],template:function(a,b){a&1&&(wg(),D(0,"button",0,1),K("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),F(2,"div",2),E(),D(3,"div",3,4),K("keydown",function(c){return b._handleKeydown(c)}),D(5,"div",5,6),K("cdkObserveContent",function(){return b._onContentChanges()}),D(7,"div",7,8),xg(9),E(),F(10,"mat-ink-bar"),E()(),D(11,"button",
9,10),K("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),F(13,"div",2),E());a&2&&(pg("mat-tab-header-pagination-disabled",b._disableScrollBefore),C("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),pg("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(6),pg("mat-tab-header-pagination-disabled",b._disableScrollAfter),
C("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[qA,kz,RM],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],
encapsulation:2});var WM=function(){return NM.apply(this,arguments)||this};X(WM,NM);WM.\u0275dir=NM.\u0275dir;Ei.Object.defineProperties(WM.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}}});WM.\u0275fac=function(){var a;return function(b){return(a||(a=Od(WM)))(b||WM)}}();
WM.\u0275cmp=r({type:WM,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(Tg(c,g3b,5),Tg(c,b3b,7,Og));if(a&2){var d;Rg(d=Ug())&&(b.templateLabel=d.first);Rg(d=Ug())&&(b._explicitContent=d.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Dg([{provide:h3b,useExisting:WM}]),$f],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(wg(),O(0,pza,1,0,"ng-template"))},encapsulation:2});var x3b=["tabBodyWrapper"],y3b=["tabHeader"],XM=function(a,b,c,d){return OM.call(this,a,b,c,d)||this};X(XM,OM);XM.\u0275dir=OM.\u0275dir;XM.\u0275fac=function(a){return new (a||XM)(A(Yd),A(Vw),A(c3b,8),A(Ov,8))};
XM.\u0275cmp=r({type:XM,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&Tg(c,WM,5);if(a&2){var d;Rg(d=Ug())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(Sg(x3b,5),Sg(y3b,5));if(a&2){var c;Rg(c=Ug())&&(b._tabBodyWrapper=c.first);Rg(c=Ug())&&(b._tabHeader=c.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(a,b){a&2&&pg("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===b.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},
exportAs:["matTabGroup"],features:[Dg([{provide:j3b,useExisting:XM}]),$f],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role",
"tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content",
"position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(a,b){a&1&&(D(0,"mat-tab-header",0,1),K("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),O(2,tza,5,15,"div",2),E(),D(3,"div",3,4),O(5,uza,1,11,"mat-tab-body",5),E());a&2&&(C("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),z(2),C("ngForOf",b._tabs),z(1),pg("_mat-animation-noopable",
"NoopAnimations"===b._animationMode),z(2),C("ngForOf",b._tabs))},dependencies:[$w,ax,bx,uy,qA,ny,UM,TM,VM],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],
encapsulation:2});var YM=function(){MM.apply(this,arguments)};X(YM,MM);YM.\u0275fac=function(){var a;return function(b){return(a||(a=Od(YM)))(b||YM)}}();YM.\u0275dir=r({type:YM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Dg([{provide:g3b,useExisting:YM}]),$f]});var z3b=["tabListContainer"],A3b=["tabList"],B3b=["tabListInner"],C3b=["nextPaginator"],D3b=["previousPaginator"],ZM=function(a,b,c,d,e,f,h){PM.call(this,a,b,c,d,e,f,h)};X(ZM,PM);ZM.\u0275dir=PM.\u0275dir;ZM.\u0275fac=function(a){return new (a||ZM)(A(Yd),A(Bz,8),A(Yf),A(Vw),A(Pz),A(cy),A(Ov,8))};
ZM.\u0275cmp=r({type:ZM,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&Tg(c,$M,5);if(a&2){var d;Rg(d=Ug())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Sg(RM,7),Sg(z3b,7),Sg(A3b,7),Sg(B3b,7),Sg(C3b,5),Sg(D3b,5));if(a&2){var c;Rg(c=Ug())&&(b._inkBar=c.first);Rg(c=Ug())&&(b._tabListContainer=c.first);Rg(c=Ug())&&(b._tabList=c.first);Rg(c=Ug())&&(b._tabListInner=c.first);Rg(c=Ug())&&(b._nextPaginator=c.first);Rg(c=Ug())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:11,hostBindings:function(a,b){a&2&&(dg("role",b._getRole()),pg("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())("mat-primary","warn"!==b.color&&"accent"!==b.color)("mat-accent","accent"===b.color)("mat-warn","warn"===b.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[$f],attrs:["mat-tab-nav-bar",""],ngContentSelectors:["*"],decls:14,vars:10,consts:[["aria-hidden","true",
"type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination",
"mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(a,b){a&1&&(wg(),D(0,"button",0,1),K("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),F(2,"div",2),E(),D(3,"div",3,4),K("keydown",function(c){return b._handleKeydown(c)}),D(5,"div",5,6),K("cdkObserveContent",function(){return b._onContentChanges()}),
D(7,"div",7,8),xg(9),E(),F(10,"mat-ink-bar"),E()(),D(11,"button",9,10),K("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),F(13,"div",2),E());a&2&&(pg("mat-tab-header-pagination-disabled",b._disableScrollBefore),C("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),pg("_mat-animation-noopable","NoopAnimations"===b._animationMode),
z(6),pg("mat-tab-header-pagination-disabled",b._disableScrollAfter),C("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[qA,kz,RM],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],
encapsulation:2});var $M=function(a,b,c,d,e,f,h,l){a=QM.call(this,a,b,e,f,h,l)||this;a._tabLinkRipple=new cJb(a,c,b,d);fJb(a._tabLinkRipple,b.nativeElement);return a};X($M,QM);$M.prototype.ngOnDestroy=function(){QM.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};$M.\u0275fac=function(a){return new (a||$M)(A(ZM),A(Yd),A(Yf),A(cy),A(gJb,8),Id("tabindex"),A(ly),A(Ov,8))};
$M.\u0275dir=r({type:$M,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&K("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(dg("aria-controls",b._getAriaControls())("aria-current",b._getAriaCurrent())("aria-disabled",b.disabled)("aria-selected",b._getAriaSelected())("id",b.id)("tabIndex",b._getTabIndex())("role",b._getRole()),pg("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[$f]});var aN=function(){};aN.\u0275fac=function(a){return new (a||aN)};aN.\u0275mod=fd({type:aN});aN.\u0275inj=Qc({imports:[px,gA,vy,tA,lz,nz,gA]});var bN=function(){};bN.\u0275fac=function(a){return new (a||bN)};bN.\u0275mod=fd({type:bN});bN.\u0275inj=Qc({imports:[BM,iG,px,fA,II,AM,FM,aN,rD,BD,lE,sM,tM,gM]});var E3b={UNKNOWN:"Unknown",TEXT:"Text",DATE:"Date",ENUM:"Enum",NUMERIC:"Numeric",REPEATED_TEXT:"Repeated Text",REPEATED_DATE:"Repeated Date",REPEATED_ENUM:"Repeated Enum",REPEATED_NUMERIC:"Repeated Numeric"},cN=function(){};cN.prototype.transform=function(a){return E3b[a]};cN.\u0275fac=function(a){return new (a||cN)};cN.\u0275pipe=hd({name:"toCustomFieldTypeDisplayValue",type:cN,pure:!0});var dN=function(){};dN.prototype.transform=function(a,b){var c;a=null==(c=a.split("@"))?void 0:c[0];b&&a.length>b&&(b=(b-3)/2,a=a.substring(0,b)+"..."+a.substring(a.length-b));return a+"@"};dN.\u0275fac=function(a){return new (a||dN)};dN.\u0275pipe=hd({name:"shortenEmail",type:dN,pure:!0});var eN=function(){};eN.\u0275fac=function(a){return new (a||eN)};eN.\u0275mod=fd({type:eN});eN.\u0275inj=Qc({imports:[px]});var fN=function(){};fN.\u0275fac=function(a){return new (a||fN)};fN.\u0275mod=fd({type:fN});fN.\u0275inj=Qc({imports:[px,fA]});var gN=function(){};gN.\u0275fac=function(a){return new (a||gN)};gN.\u0275mod=fd({type:gN});gN.\u0275inj=Qc({imports:[px,eN,fN]});var hN=function(){};hN.\u0275fac=function(a){return new (a||hN)};hN.\u0275mod=fd({type:hN});hN.\u0275inj=Qc({imports:[px]});var iN=function(){};iN.\u0275fac=function(a){return new (a||iN)};iN.\u0275mod=fd({type:iN});iN.\u0275inj=Qc({imports:[qM,px,AM]});var jN=function(){};jN.prototype.transform=function(a){if(wp(a))return a};jN.\u0275fac=function(a){return new (a||jN)};jN.\u0275pipe=hd({name:"omitObfuscatedEmail",type:jN,pure:!0});var xza={"alertmanager-buganizer-handler@google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","alertmanager-buganizer-handler@prod.google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","bugjuggler-beta@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler-beta@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head",
"bugjuggler@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","piper-bugupdater@google.com":"https://static.corp.google.com/devtools/codereview/new_logo_only.svg","piper-bugupdater@prod.google.com":"https://static.corp.google.com/devtools/codereview/new_logo_only.svg"};var kN=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new T.ReplaySubject(1);this.isNonObfuscatedEmail=wp;this.userProfile$=this.email$.pipe(Qf(function(d){return d?c.userProfiles.get(d).pipe(Pf(new WL)):(0,T.of)(void 0)}));this.vars$=(0,T.combineLatest)([this.email$,this.userProfile$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var f=!e.getPhotoUrl(),h=f?void 0:e.getPhotoUrl(),l;f?l=void 0:
l=lk(e,3)?lk(e,3)+" 2x":e.getPhotoUrl()+" 1x";return{email:d,showImage:!f,src:h,srcset:l}}))},Bza=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==xza[b]};Ei.Object.defineProperties(kN.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){wp(a)?this.email$.next(a):this.email$.next(void 0)}}});kN.\u0275fac=function(a){return new (a||kN)(A(XL),A(tu))};
kN.\u0275cmp=r({type:kN,selectors:[["b-user-image"]],inputs:{email:"email"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["imageDisplay",""],["role","button","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],["class","user-avatar material",3,"anonymous",4,"ngIf"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar","material"],["alt","",3,"src","srcset",4,"ngIf"],["alt","",3,"src","srcset"]],template:function(a,
b){a&1&&(O(0,Dza,4,2,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.vars$))},dependencies:[bx,gx,rL,XI,bJ,hx],styles:['.user-avatar.anonymous[_ngcontent-%COMP%]{border:1px solid;border-color:#bdc1c6;border-color:var(--c400);border-radius:18px;background-image:url("https://www.gstatic.com/buganizer/img/v0/logo_avatar_anonymous.svg");background-repeat:no-repeat;background-position:center}.material.user-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .material.user-avatar.anonymous[_ngcontent-%COMP%]{border-radius:50%}.material.user-avatar.robo-avatar[_ngcontent-%COMP%]{border-radius:0;object-fit:contain}[_nghost-%COMP%]{display:inline-flex;vertical-align:middle}'],
changeDetection:0});var lN=function(a){this.session=a;this.isNonObfuscatedEmail=wp;this.email="";this.withProfile=!0;this.enableWaldoAvailability=Qp(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};lN.\u0275fac=function(a){return new (a||lN)(A(tu))};
lN.\u0275cmp=r({type:lN,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile"},decls:6,vars:4,consts:[[1,"bv2-email-with-profile-container"],["class","bv2-email-with-profile-avatar",3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["emailDisplay",""],["class","bv2-email-with-profile-waldo",4,"ngIf"],[1,"bv2-email-with-profile-avatar",3,"email"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"bv2-email-with-profile-waldo"],["coinonly",
"",3,"user"]],template:function(a,b){a&1&&(D(0,"span",0),O(1,Eza,1,1,"b-user-image",1),O(2,Gza,6,3,"ng-container",2),O(3,Hza,2,1,"ng-template",null,3,$g),O(5,Iza,2,1,"span",4),E());if(a&2){var c=N(4);z(1);C("ngIf",b.withProfile);z(1);C("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);z(3);C("ngIf",b.enableWaldoAvailability)}},dependencies:[bx,gx,aM,rL,XI,bJ,kN],styles:["[_nghost-%COMP%]     span.bv2-email-with-profile-avatar, [_nghost-%COMP%]     .bv2-email-with-profile-avatar .user-avatar{background-size:103%;display:inline-block;height:1.5em;margin-right:2px;margin-top:-1px;width:1.5em;vertical-align:middle}[_nghost-%COMP%]     span.bv2-email-with-profile-avatar img, [_nghost-%COMP%]     .bv2-email-with-profile-avatar .user-avatar img{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);height:1.5em;width:1.5em}"],
changeDetection:0});var F3b=0,mN=function(a,b){var c=this;this.teamsService=a;this.session=b;this.teamId="";this.enableSmallChip=!1;this.providedTeamId$=new T.ReplaySubject(1);this.providedUser$=new T.ReplaySubject(1);this.providedEmail$=new T.ReplaySubject(1);this.isNonObfuscatedEmail=wp;this.fetchedTeam$=this.providedTeamId$.pipe(Qf(function(d){return c.teamsService.getTeam(d)}),yf(function(){return(0,T.of)((new NE).setTeamId(c.teamId).setName(c.teamId).setDescription(""))}));this.detailedUserType$=this.providedUser$.pipe(B(function(d){d=
d?d&&d.getUserGaiaStatus?d.getAliasesList():d.aliases||[]:[];return d.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":d.includes("google_domain")?"TVC":d.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":d.includes("external_partners")?"EXTERNAL":d.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),Pf("NO_DETAILED_TYPE"));this.isTeamMember$=(0,T.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(Qf(function(d){var e=m(d);d=e.next().value;e=e.next().value;
return HXb(c.teamsService,d,e)}),Pf(!1),yf(function(){return(0,T.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(B(function(d){return"Member of "+d.getName()}));this.groupMembershipType$=(0,T.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;if(c.enableExternalAnnotations){if("PUBLIC"===d)return"PUBLIC_USER";if("EXTERNAL"===d)return"PARTNER_USER"}return e?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableExternalAnnotations=
Qp(this.session,"enableExternalAnnotations");this.enableWaldoAvailability=Qp(this.session,"enableWaldoAvailability")&&this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(B(function(d){return c.enableSmallChip?"user-chip-small":d&&"INTERNAL_NON_TEAM_MEMBER"!==d?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(B(function(d){if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return"team-member-chip";if("PARTNER_USER"===
d)return"partner-chip";if("PUBLIC_USER"===d)return"public-chip"}else return"internal-non-team-member-chip";return""}));this.shouldShowIcon$=this.groupMembershipType$.pipe(B(function(d){return d&&"INTERNAL_NON_TEAM_MEMBER"!==d}));this.iconName$=this.groupMembershipType$.pipe(B(function(d){if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return"people-outline";if("PARTNER_USER"===d)return"enterprise";if("PUBLIC_USER"===d)return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(Tf(this.teamUser$),
B(function(d){var e=m(d);d=e.next().value;e=e.next().value;if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return e;if("PARTNER_USER"===d)return"Partner user";if("PUBLIC_USER"===d)return"Public user"}return""}));F3b++};mN.prototype.ngOnInit=function(){};mN.prototype.ngOnChanges=function(a){a.teamId&&this.teamId&&this.providedTeamId$.next(this.teamId);a.user&&this.user&&this.providedUser$.next(this.user);a.email&&this.email&&this.providedEmail$.next(this.email)};
mN.\u0275fac=function(a){return new (a||mN)(A(cI),A(tu))};
mN.\u0275cmp=r({type:mN,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip"},features:[md],decls:11,vars:13,consts:[[3,"ngClass"],["class","bv2-profile-avatar",3,"email",4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],["smallChipContents",""],[3,"svgIcon","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"bv2-profile-avatar",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],
[4,"ngIf","ngIfElse"],["emailDisplay",""],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(D(0,"span",0),R(1,"async"),D(2,"span",0),R(3,"async"),O(4,Jza,1,1,"b-user-image",1),O(5,Kza,1,3,"b-user-display-name",2),O(6,Oza,3,2,"ng-template",null,3,$g),O(8,Pza,3,6,"mat-icon",4),R(9,"async"),E()(),O(10,Qza,2,1,"ng-container",
5));if(a&2){var c=N(7),d,e;C("ngClass",null!==(d=S(1,7,b.userTypeClass$))&&void 0!==d?d:"");z(2);C("ngClass",null!==(e=S(3,9,b.userChipType$))&&void 0!==e?e:"");z(2);C("ngIf",b.enableSmallChip);z(1);C("ngIf",!b.enableSmallChip)("ngIfElse",c);z(3);C("ngIf",S(9,11,b.shouldShowIcon$));z(2);C("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[$w,bx,gx,aM,OB,qD,rL,XI,bJ,kN,bM,hx],styles:[".user-chip-without-icon[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip-without-icon[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px}.user-chip-without-icon[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;display:flex;height:1.75em;line-height:1.75em;padding:0 8px}.user-chip[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:16px;margin-left:3%;padding:0 14px 0 0;position:relative;width:16px}.user-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px;padding:0 0 0 8px}.team-member-chip[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--team-member-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.team-member-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1967d2;color:var(--team-member-gfx)}.partner-chip[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.partner-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.partner-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .partner-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.public-chip[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.public-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.public-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .public-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.user-chip-small[_ngcontent-%COMP%]{display:flex;height:1.25em}.user-chip-small[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:11px;padding:0 0 1px 2px;width:11px}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px;min-width:0}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--user-bg-focus)}.user-chip-small[_ngcontent-%COMP%]   .team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .partner-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .public-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:normal;height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;letter-spacing:.3px;line-height:16px;padding:0 0 0 2px}[_nghost-%COMP%]{min-width:0}[_nghost-%COMP%]     span.bv2-profile-avatar, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;height:12px;vertical-align:middle;width:12px}[_nghost-%COMP%]     span.bv2-profile-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:12px;width:12px}"],
changeDetection:0});var nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=fd({type:nN});nN.\u0275inj=Qc({imports:[px,iN,rD,lE,sM,tM,gM]});var oN=function(){};oN.\u0275fac=function(a){return new (a||oN)};oN.\u0275mod=fd({type:oN});oN.\u0275inj=Qc({imports:[px,BD,rD,lE]});var pN=function(){};pN.\u0275fac=function(a){return new (a||pN)};pN.\u0275mod=fd({type:pN});pN.\u0275inj=Qc({providers:[{provide:$Yb,useValue:eM}],imports:[px,gN,BD,lE,nN,hN,bN,oN]});var qN=function(a,b,c,d){Z.call(this);var e=this;this.currentTrackerId=a;this.activeSession=b;this.trackerFridge=c;this.errorHandler=d;this.handleTrackerError=function(f){e.errorHandler.errorHandler(null,f)};this.enableTrackers=this.currentTrackerId.enableTrackers;this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe(Qf(function(f){return""===f?(0,T.of)(void 0):e.trackerFridge.watch(f).pipe(Pf(void 0))}));this.inTracker$=this.tracker$.pipe(B(function(f){return!!f}));
this.inTracker=!1;this.associatedTrackers$=this.tracker$.pipe(B(function(f){var h;return null!=(h=null==f?void 0:f.associatedTrackerIds)?h:[]}),Qf(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(Tf(this.tracker$),B(function(f){var h=m(f);f=h.next().value;return(h=h.next().value)?[h].concat(p(f)):[]}));this.trackerFridge.error$.pipe(Rf(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(Rf(this.destroyed$)).subscribe(function(f){e.tracker=f});
this.inTracker$.pipe(Rf(this.destroyed$)).subscribe(function(f){e.inTracker=f})};X(qN,Z);qN.\u0275dir=Z.\u0275dir;qN.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var G3b=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]};qN.prototype.setTrackerId=function(a){this.currentTrackerId.setTrackerId(a)};
var rN=function(a,b,c,d){c=void 0===c?a.tracker:c;d=void 0===d?!1:d;c?(d=void 0===d?!1:d,a=a.activeSession.isInternalSession()&&!d&&c.internalBaseUrl?c.internalBaseUrl+"/"+b:c.externalBaseUrl?c.externalBaseUrl+"/"+b:H3b(a,b,!0,c.trackerId,d)):a=H3b(a,b,!1,"",d);return a},H3b=function(a,b,c,d,e){c=void 0===c?!1:c;d=void 0===d?"":d;a=a.activeSession.getAppBaseUrl(void 0===e?!1:e);return c?a+b+"?tracker="+d:a+b};qN.\u0275fac=function(a){return new (a||qN)(n(TE),n(tu),n(jI),n(qG))};
qN.\u0275prov=Pc({token:qN,factory:qN.\u0275fac,providedIn:"root"});var I3b=["determinateSpinner"],J3b=Fi(function(a){this._elementRef=a},"primary"),K3b=new Ud("mat-progress-spinner-default-options",{providedIn:"root",factory:Sza}),sN=function(a,b,c){a=J3b.call(this,a)||this;a.mode="mat-spinner"===a._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate";a._value=0;a._diameter=100;a._noopAnimations="NoopAnimations"===b&&!!c&&!c._forceAnimations;c&&(c.color&&(a.color=a.defaultColor=c.color),c.diameter&&(a.diameter=c.diameter),c.strokeWidth&&
(a.strokeWidth=c.strokeWidth));return a};X(sN,J3b);g=sN.prototype;g._circleRadius=function(){return(this.diameter-10)/2};g._viewBox=function(){var a=2*this._circleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};g._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};g._strokeDashOffset=function(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null};g._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
Ei.Object.defineProperties(sN.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,Nh(a)))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Nh(a)}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._strokeWidth)?a:this.diameter/10},set:function(a){this._strokeWidth=Nh(a)}}});
sN.\u0275fac=function(a){return new (a||sN)(A(Yd),A(Ov,8),A(K3b))};
sN.\u0275cmp=r({type:sN,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&Sg(I3b,5);if(a&2){var c;Rg(c=Ug())&&(b._determinateCircle=c.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(a,b){a&2&&(dg("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),og("width",b.diameter,"px")("height",b.diameter,"px"),pg("_mat-animation-noopable",
b._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===b.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[$f],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,
"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],
["cx","50%","cy","50%"]],template:function(a,b){a&1&&(O(0,Rza,2,8,"ng-template",null,0,$g),D(2,"div",1,2),yd(),D(4,"svg",3),F(5,"circle",4),E()(),zd(),D(6,"div",5)(7,"div",6)(8,"div",7),tg(9,8),E(),D(10,"div",9),tg(11,8),E(),D(12,"div",10),tg(13,8),E()()());if(a&2){var c=N(1);z(4);dg("viewBox",b._viewBox());z(1);og("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),"px")("stroke-width",b._circleStrokeWidth(),"%");dg("r",b._circleRadius());z(4);C("ngTemplateOutlet",
c);z(2);C("ngTemplateOutlet",c);z(2);C("ngTemplateOutlet",c)}},dependencies:[gx],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}\n"],
encapsulation:2,changeDetection:0});var tN=function(){};tN.\u0275fac=function(a){return new (a||tN)};tN.\u0275mod=fd({type:tN});tN.\u0275inj=Qc({imports:[px,gA]});var L3b=Fi(function(a){this._elementRef=a},"primary"),uN=function(a,b,c,d,e,f,h,l){var q=L3b.call(this,a)||this;q._document=c;q._diameter=100;q._value=0;q._resizeSubscription=T.Subscription.EMPTY;q.mode="determinate";q._spinnerAnimationLabel=q._getSpinnerAnimationLabel();M3b.has(c.head)||M3b.set(c.head,new Set([100]));q._noopAnimations="NoopAnimations"===d&&!!e&&!e._forceAnimations;"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(q.mode="indeterminate");e&&(e.color&&(q.color=q.defaultColor=
e.color),e.diameter&&(q.diameter=e.diameter),e.strokeWidth&&(q.strokeWidth=e.strokeWidth));b.isBrowser&&b.SAFARI&&h&&f&&l&&(q._resizeSubscription=h.change(150).subscribe(function(){"indeterminate"===q.mode&&l.run(function(){return f.markForCheck()})}));return q};X(uN,L3b);g=uN.prototype;g.ngOnInit=function(){var a=this._elementRef.nativeElement;this._styleRoot=Gh(a)||this._document.head;this._attachStyleNode();a.classList.add("mat-progress-spinner-indeterminate-animation")};g.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};
g._getCircleRadius=function(){return(this.diameter-10)/2};g._getViewBox=function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};g._getStrokeCircumference=function(){return 2*Math.PI*this._getCircleRadius()};g._getStrokeDashOffset=function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null};g._getCircleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
g._getCircleTransformOrigin=function(a){var b;a=50*(null!=(b=a.currentScale)?b:1);return a+"% "+a+"%"};g._attachStyleNode=function(){var a=this._styleRoot,b=this._diameter,c=M3b.get(a);if(!c||!c.has(b)){var d=this._document.createElement("style");d.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel);d.textContent=this._getAnimationText();a.appendChild(d);c||(c=new Set,M3b.set(a,c));c.add(b)}};
g._getAnimationText=function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+
.95*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,this._spinnerAnimationLabel)};g._getSpinnerAnimationLabel=function(){return this.diameter.toString().replace(".","_")};
Ei.Object.defineProperties(uN.prototype,{diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Nh(a);this._spinnerAnimationLabel=this._getSpinnerAnimationLabel();this._styleRoot&&this._attachStyleNode()}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){return this._strokeWidth||this.diameter/10},set:function(a){this._strokeWidth=Nh(a)}},value:{configurable:!0,enumerable:!0,get:function(){return"determinate"===this.mode?this._value:0},
set:function(a){this._value=Math.max(0,Math.min(100,Nh(a)))}}});var M3b=new WeakMap;uN.\u0275fac=function(a){return new (a||uN)(A(Yd),A(cy),A(Ci,8),A(Ov,8),A(K3b),A(Vw),A(Pz),A(Yf))};
uN.\u0275cmp=r({type:uN,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,b){a&2&&(dg("aria-valuemin","determinate"===b.mode?0:null)("aria-valuemax","determinate"===b.mode?100:null)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),og("width",b.diameter,"px")("height",b.diameter,"px"),pg("_mat-animation-noopable",b._noopAnimations))},inputs:{color:"color",
diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[$f],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx",
"50%","cy","50%"]],template:function(a,b){a&1&&(yd(),D(0,"svg",0,1),O(2,Tza,1,11,"circle",2),O(3,Uza,1,9,"circle",3),E());a&2&&(og("width",b.diameter,"px")("height",b.diameter,"px"),C("ngSwitch","indeterminate"===b.mode),dg("viewBox",b._getViewBox()),z(2),C("ngSwitchCase",!0),z(1),C("ngSwitchCase",!1))},dependencies:[cx,dx],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],
encapsulation:2,changeDetection:0});var vN=function(){};vN.\u0275fac=function(a){return new (a||vN)};vN.\u0275cmp=r({type:vN,selectors:[["b-spinner"]],inputs:{large:"large"},decls:2,vars:2,consts:[["class","large",3,"diameter",4,"ngIf"],["class","small",3,"diameter","strokeWidth",4,"ngIf"],[1,"large",3,"diameter"],[1,"small",3,"diameter","strokeWidth"]],template:function(a,b){a&1&&(O(0,Vza,1,1,"mat-spinner",0),O(1,Wza,1,2,"mat-spinner",1));a&2&&(C("ngIf",b.large),z(1),C("ngIf",!b.large))},dependencies:[bx,uN],styles:[".muted[_nghost-%COMP%]     .mat-progress-spinner circle, .muted[_nghost-%COMP%]     .mat-spinner circle{stroke:rgba(0,0,0,.4)}[_nghost-%COMP%]     .mat-progress-spinner circle, [_nghost-%COMP%]     .mat-spinner circle{stroke:var(--text-primary)}.large[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;margin-left:-18px;margin-top:-18px}[_nghost-%COMP%]{animation-delay:150ms;animation-duration:200ms;animation-name:_ngcontent-%COMP%_fade-in;animation-timing-function:linear;animation-fill-mode:both;display:inline-block;vertical-align:middle}[_nghost-%COMP%]     mat-spinner.small{margin-top:-2px}@keyframes _ngcontent-%COMP%_fade-in{0%{opacity:0}100%{opacity:1}}\n/*# sourceMappingURL=spinner.css.map */"]});var wN=function(){};wN.\u0275fac=function(a){return new (a||wN)};wN.\u0275mod=fd({type:wN});wN.\u0275inj=Qc({imports:[gA,px,gA]});var xN=function(){};xN.\u0275fac=function(a){return new (a||xN)};xN.\u0275mod=fd({type:xN});xN.\u0275inj=Qc({imports:[px,wN]});var N3b=["panel"],O3b=0,P3b=function(a,b){this.source=a;this.option=b},Q3b=Gi(function(){}),R3b=new Ud("mat-autocomplete-default-options",{providedIn:"root",factory:Xza}),yN=function(a,b,c,d){var e=Q3b.call(this)||this;e._changeDetectorRef=a;e._elementRef=b;e._defaults=c;e._activeOptionChanges=T.Subscription.EMPTY;e.showPanel=!1;e._isOpen=!1;e.displayWith=null;e._autoActiveFirstOption=!!e._defaults.autoActiveFirstOption;e._autoSelectActiveOption=!!e._defaults.autoSelectActiveOption;e.optionSelected=
new vw;e.opened=new vw;e.closed=new vw;e.optionActivated=new vw;e._classList={};e.id="mat-autocomplete-"+O3b++;e.inertGroups=(null==d?void 0:d.SAFARI)||!1;return e};X(yN,Q3b);g=yN.prototype;g._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};
g.ngAfterContentInit=function(){var a=this;this._keyManager=uz(new zz(this.options));this._activeOptionChanges=this._keyManager.change.subscribe(function(b){a.isOpen&&a.optionActivated.emit({source:a,option:a.options.toArray()[b]||null})});this._setVisibility()};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._activeOptionChanges.unsubscribe()};g._setScrollTop=function(a){this.panel&&(this.panel.nativeElement.scrollTop=a)};
g._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0};g._setVisibility=function(){this.showPanel=!!this.options.length;this._setVisibilityClasses(this._classList);this._changeDetectorRef.markForCheck()};g._emitSelectEvent=function(a){this.optionSelected.emit(new P3b(this,a))};g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};
g._setVisibilityClasses=function(a){a[this._visibleClass]=this.showPanel;a[this._hiddenClass]=!this.showPanel};g._setThemeClasses=function(a){a["mat-primary"]="primary"===this._color;a["mat-warn"]="warn"===this._color;a["mat-accent"]="accent"===this._color};
Ei.Object.defineProperties(yN.prototype,{isOpen:{configurable:!0,enumerable:!0,get:function(){return this._isOpen&&this.showPanel}},autoActiveFirstOption:{configurable:!0,enumerable:!0,get:function(){return this._autoActiveFirstOption},set:function(a){this._autoActiveFirstOption=Kh(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=Kh(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&
a.length?this._classList=ika(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}}});yN.\u0275fac=function(a){return new (a||yN)(A(Vw),A(Yd),A(R3b),A(cy))};
yN.\u0275dir=r({type:yN,viewQuery:function(a,b){a&1&&(Sg(Og,7),Sg(N3b,5));if(a&2){var c;Rg(c=Ug())&&(b.template=c.first);Rg(c=Ug())&&(b.panel=c.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},
features:[$f]});var S3b=new Ud("mat-autocomplete-scroll-strategy"),T3b={provide:S3b,deps:[cA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},zN=function(a,b,c,d,e,f,h,l,q,u,x){var y=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=l;this._document=q;this._viewportRuler=u;this._defaults=x;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=T.Subscription.EMPTY;
this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new T.Subject;this._windowBlurHandler=function(){y._canOpenOnNextFocus=y._document.activeElement!==y._element.nativeElement||y.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._overlayAttached=!1;this.optionSelections=(0,T.defer)(function(){var G=y.autocomplete?y.autocomplete.options:null;return G?G.changes.pipe(Pf(G),Qf(function(){return T.merge.apply(null,p(G.map(function(J){return J.onSelectionChange})))})):
y._zone.onStable.pipe(Ef(),Qf(function(){return y.optionSelections}))});this._scrollStrategy=f};zN.prototype.ngAfterViewInit=function(){var a=this,b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};zN.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
zN.prototype.ngOnDestroy=function(){var a=this._getWindow();"undefined"!==typeof a&&a.removeEventListener("blur",this._windowBlurHandler);this._viewportSubscription.unsubscribe();this._componentDestroyed=!0;this._destroyPanel();this._closeKeyEventStream.complete()};
var Q8a=function(a){a._resetLabel();a._overlayAttached&&(a.panelOpen&&a._zone.run(function(){a.autocomplete.closed.emit()}),a.autocomplete._isOpen=a._overlayAttached=!1,a._pendingAutoselectedOption=null,a._overlayRef&&a._overlayRef.hasAttached()&&(a._overlayRef.detach(),a._closingActionsSubscription.unsubscribe()),a._componentDestroyed||a._changeDetectorRef.detectChanges())};g=zN.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return(0,T.merge)((0,T.fromEvent)(this._document,"click"),(0,T.fromEvent)(this._document,"auxclick"),(0,T.fromEvent)(this._document,"touchend")).pipe(sf(function(b){b=Ih(b);var c=a._formField?a._formField._elementRef.nativeElement:null,d=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;return a._overlayAttached&&b!==a._element.nativeElement&&a._document.activeElement!==a._element.nativeElement&&(!c||!c.contains(b))&&(!d||!d.contains(b))&&!!a._overlayRef&&
!a._overlayRef.overlayElement.contains(b)}))};g.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this._element.nativeElement.disabled=a};
g._handleKeydown=function(a){var b=a.keyCode,c=Qh(a);27!==b||c||a.preventDefault();if(this.activeOption&&13===b&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),a.preventDefault();else if(this.autocomplete){var d=this.autocomplete._keyManager.activeItem,e=38===b||40===b;if(9===b||e&&!c&&this.panelOpen)this.autocomplete._keyManager.onKeydown(a);else e&&this._canOpen()&&(this._attachOverlay(),this._floatLabel());if(e||this.autocomplete._keyManager.activeItem!==d)this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||
0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value))}};
g._handleInput=function(a){var b=a.target,c=b.value;"number"===b.type&&(c=""==c?null:parseFloat(c));this._previousValue!==c&&(this._previousValue=c,this._pendingAutoselectedOption=null,this._onChange(c),this._canOpen()&&this._document.activeElement===a.target&&(this._attachOverlay(),this._floatLabel()))};g._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};
g._handleClick=function(){this._canOpen()&&!this.panelOpen&&(this._attachOverlay(),this._floatLabel())};g._floatLabel=function(a){this._formField&&"auto"===this._formField.floatLabel&&((void 0===a?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};g._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
g._subscribeToClosingActions=function(){var a=this,b=this._zone.onStable.pipe(Ef()),c=this.autocomplete.options.changes.pipe(Sf(function(){return EIb(a._positionStrategy)}),Cf(0));return(0,T.merge)(b,c).pipe(Qf(function(){a._zone.run(function(){var d=a.panelOpen;a._resetActiveItem();a.autocomplete._setVisibility();a._changeDetectorRef.detectChanges();a.panelOpen&&a._overlayRef.updatePosition();d!==a.panelOpen&&(a.panelOpen?a.autocomplete.opened.emit():a.autocomplete.closed.emit())});return a.panelClosingActions}),
Ef()).subscribe(function(d){return a._setValueAndClose(d)})};g._destroyPanel=function(){this._overlayRef&&(Q8a(this),this._overlayRef.dispose(),this._overlayRef=null)};g._assignOptionValue=function(a){a=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(a):a;this._updateNativeInputValue(null!=a?a:"")};g._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
g._setValueAndClose=function(a){if(a=a?a.source:this._pendingAutoselectedOption)this._clearPreviousSelectedOption(a),this._assignOptionValue(a.value),this._onChange(a.value),this.autocomplete._emitSelectEvent(a),this._element.nativeElement.focus();Q8a(this)};g._clearPreviousSelectedOption=function(a){this.autocomplete.options.forEach(function(b){b!==a&&b.selected&&b.deselect()})};
g._attachOverlay=function(){var a=this,b=this._overlayRef;if(b)this._positionStrategy.setOrigin(this._getConnectedElement()),b.updateSize({width:this._getPanelWidth()});else{var c;this._portal=new qy(this.autocomplete.template,this._viewContainerRef,{id:null==(c=this._formField)?void 0:c.getLabelId()});this._overlayRef=b=this._overlay.create(this._getOverlayConfig());this._handleOverlayEvents(b);this._viewportSubscription=this._viewportRuler.change().subscribe(function(){a.panelOpen&&b&&b.updateSize({width:a._getPanelWidth()})})}b&&
!b.hasAttached()&&(b.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());c=this.panelOpen;this.autocomplete._setVisibility();this.autocomplete._isOpen=this._overlayAttached=!0;var d;this.autocomplete._setColor(null==(d=this._formField)?void 0:d.color);this.panelOpen&&c!==this.panelOpen&&this.autocomplete.opened.emit()};
g._getOverlayConfig=function(){var a,b;return new Vz({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:null!=(b=this._dir)?b:void 0,panelClass:null==(a=this._defaults)?void 0:a.overlayPanelClass})};g._getOverlayPosition=function(){var a=HIb($z(bA(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
g._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=this._aboveClass;c=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:c},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:c}];b="above"===this.position?c:"below"===this.position?b:[].concat(p(b),p(c));Yz(a,b)};
g._getConnectedElement=function(){if(this.connectedTo)var a=this.connectedTo.elementRef;else this._formField?(a=this._formField,a=a._connectionContainerRef||a._elementRef):a=this._element;return a};g._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};g._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};g._resetActiveItem=function(){var a=this.autocomplete;a.autoActiveFirstOption?yz(a._keyManager):a._keyManager.setActiveItem(-1)};
g._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this._autocompleteDisabled};g._getWindow=function(){var a;return(null==(a=this._document)?void 0:a.defaultView)||window};g._scrollToOption=function(a){var b=this.autocomplete,c=Hla(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Ila(a.offsetTop,a.offsetHeight,b._getScrollTop(),b.panel.nativeElement.offsetHeight)))};
g._handleOverlayEvents=function(a){var b=this;a.keydownEvents().subscribe(function(c){if(27===c.keyCode&&!Qh(c)||38===c.keyCode&&Qh(c,"altKey")){if(b._pendingAutoselectedOption){var d;b._updateNativeInputValue(null!=(d=b._valueBeforeAutoSelection)?d:"");b._pendingAutoselectedOption=null}b._closeKeyEventStream.next();b._resetActiveItem();c.stopPropagation();c.preventDefault()}});a.outsidePointerEvents().subscribe()};
Ei.Object.defineProperties(zN.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=Kh(a)}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},panelClosingActions:{configurable:!0,enumerable:!0,get:function(){var a=this;return(0,T.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(sf(function(){return a._overlayAttached})),
this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(sf(function(){return a._overlayAttached})):(0,T.of)()).pipe(B(function(b){return b instanceof jJb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});zN.\u0275fac=function(a){return new (a||zN)(A(Yd),A(cA),A(Pg),A(Yf),A(Vw),A(S3b),A(Bz,8),A(mB,9),A(Ci,8),A(Pz),A(R3b,8))};
zN.\u0275dir=r({type:zN,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[md]});var U3b={provide:rx,useExisting:Nc(function(){return AN}),multi:!0},AN=function(){zN.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};X(AN,zN);AN.\u0275fac=function(){var a;return function(b){return(a||(a=Od(AN)))(b||AN)}}();
AN.\u0275dir=r({type:AN,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&K("focusin",function(){return b._handleFocus()})("blur",function(){return b._onTouched()})("input",function(c){return b._handleInput(c)})("keydown",function(c){return b._handleKeydown(c)})("click",function(){return b._handleClick()});a&2&&dg("autocomplete",b.autocompleteAttribute)("role",b.autocompleteDisabled?null:
"combobox")("aria-autocomplete",b.autocompleteDisabled?null:"list")("aria-activedescendant",b.panelOpen&&b.activeOption?b.activeOption.id:null)("aria-expanded",b.autocompleteDisabled?null:b.panelOpen.toString())("aria-owns",b.autocompleteDisabled||!b.panelOpen?null:null==b.autocomplete?null:b.autocomplete.id)("aria-haspopup",b.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Dg([U3b]),$f]});var BN=function(){var a=yN.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";return a};X(BN,yN);BN.\u0275dir=yN.\u0275dir;BN.\u0275fac=function(){var a;return function(b){return(a||(a=Od(BN)))(b||BN)}}();
BN.\u0275cmp=r({type:BN,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(Tg(c,UIb,5),Tg(c,PA,5));if(a&2){var d;Rg(d=Ug())&&(b.optionGroups=d);Rg(d=Ug())&&(b.options=d)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Dg([{provide:TIb,useExisting:BN}]),$f],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(a){a&1&&(wg(),O(0,
Yza,3,4,"ng-template"))},dependencies:[$w],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],
encapsulation:2,changeDetection:0});var CN=function(){};CN.\u0275fac=function(a){return new (a||CN)};CN.\u0275mod=fd({type:CN});CN.\u0275inj=Qc({providers:[T3b],imports:[fA,QA,gA,px,Sz,QA,gA]});var DN=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=f;this.currentTracker=h;this.STATUS_ICON=ZSb;this.currentResourceType=this.currentResourceId=null;this.entrySelect=new vw;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new vw;this.getTextToPutInInputOnSelect=function(){return l.query}};
X(DN,Z);DN.\u0275dir=Z.\u0275dir;DN.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(Af(250),Rf(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};DN.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(p(this.defaultChoices),p(this.asyncChoices)))};
var W3b=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(V3b(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return/[^0-9]/.test(b)?[]:[b]},V3b=function(a){return!a.some(function(b){return!!/[^0-9]/.test(b)})};DN.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
DN.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)X3b(this);else{var b=W3b(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",Y3b(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var X3b=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;Z3b(a,[])},Z3b=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||Q8a(c)},Y3b=function(a,b,c){"issue"===a.currentResourceType&&1===b.length&&b[0]===String(a.currentResourceId)?(a.searchingForSelf=!0,X3b(a)):(a.choices=$3b(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(Ef(),Rf(a.destroyed$)).subscribe(function(d){if(a.currentQuery===c){var e=d.reduce(function(f,
h){var l=Ca(h.snapshot);return f.set(h.issueId,{resourceId:h.issueId,displayText:l.title,status:l.status,relations:[]})},new Map);Wa(b);d=b.map(function(f){return e.get(f)});d.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=d;a.choices=[].concat(p(a.choices),p(a.asyncChoices));Z3b(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
DN.prototype.searchAsync=function(a){var b=this;this.choices=a4b(this,a);this.hasLoadedResults=!1;if(nm(a))this.hasLoadedResults=!0;else{var c=b4b(a,this.defaultChoices);this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:this.currentResourceType,resourceId:this.currentResourceId,nonParallelRequest:!0}).then(function(d){b.currentQuery===a&&(d=d.issueDigests.map(function(e){return{resourceId:e.issueId,displayText:e.title,status:e.status,relations:[]}}),b.choices=
[].concat(p(b.choices),p(d)),b.cdr.detectChanges())},function(d){b.errorHandler.errorHandler(null,d)}).finally(function(){b.hasLoadedResults=!0})}};var $3b=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},a4b=function(a,b){return nm(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};DN.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var dAa=function(a){return a.relations.map(function(b){return c4b.get(b)}).filter(function(b){return!!b}).join("/")},b4b=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};DN.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};Ei.Object.defineProperties(DN.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
DN.\u0275fac=function(a){return new (a||DN)(A(HH,2),A(cH),A(QH),A(AI),A(qG),A(JI),A(qN))};
DN.\u0275cmp=r({type:DN,selectors:[["b-issue-picker"]],viewQuery:function(a,b){a&1&&Sg(AN,5);if(a&2){var c;Rg(c=Ug())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",enableAsyncSearch:"enableAsyncSearch",currentResourceId:"currentResourceId",currentResourceType:"currentResourceType",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Dg([AI,HH]),$f,md],decls:9,vars:8,consts:[[1,"bv2-issue-picker"],[4,"ngIf"],[1,"bv2-resource-picker",
"bv2-picker"],["type","text","placeholder","Type issue ID or search query...","autocomplete","off","spellcheck","false","aria-autocomplete","list","role","combobox","autofocus","autofocus","cdkFocusInitial","",1,"bv2-resource-picker-input",3,"ngModel","matAutocomplete","ngModelChange","keydown.enter","keydown.alt.arrowright"],[1,"issue-picker","base-resource-picker",3,"displayWith","optionActivated","optionSelected"],["auto","matAutocomplete"],["disabled","",4,"ngIf"],["disabled","","class","bv2-resource-picker-message",
4,"ngIf"],["class","bv2-resource-picker-item bv2-issue-picker-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-issue-picker-message"],["disabled",""],[1,"spinner-container"],[3,"large"],["disabled","",1,"bv2-resource-picker-message"],[1,"bv2-resource-picker-item","bv2-issue-picker-item",3,"value"],["role","region","tabindex","0"],["class","icon-s margin-none",3,"svgIcon",4,"ngIf"],[1,"bv2-issue-picker-issue-id",3,"title"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],
["mat-icon-button","","aria-label","Go to issue page.","data-stable","issue-pop-out","target","_blank",1,"gmat-button","small","bv2-issue-picker-pop-out",3,"onedevHovercardTrigger","href","click"],["svgIcon","pop-out",1,"icon-s"],[1,"bv2-issue-picker-relations"],[1,"bv2-issue-picker-description",3,"title","innerHTML"],[1,"icon-s","margin-none",3,"svgIcon"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""]],template:function(a,b){a&1&&(D(0,"div",0),O(1,Zza,3,0,"div",1),D(2,"div",2)(3,"input",
3),K("ngModelChange",function(d){return b.search(d)})("keydown.enter",function(d){return b.onEnter(d)})("keydown.alt.arrowright",function(){b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice))}),E(),D(4,"mat-autocomplete",4,5),K("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){Z3b(b,[null==d.option?null:d.option.value])}),O(6,$za,3,1,"mat-option",6),O(7,aAa,2,0,"mat-option",7),O(8,eAa,14,13,"mat-option",8),E()()());if(a&
2){var c=N(5);z(1);C("ngIf",b.searchingForSelf);z(2);C("ngModel",b.query)("matAutocomplete",c);dg("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");z(1);C("displayWith",b.getTextToPutInInputOnSelect);z(2);C("ngIf",""!==b.query&&!b.hasLoadedResults);z(1);C("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);z(1);C("ngForOf",b.choices)}},dependencies:[ax,bx,yh,Ex,Lx,OB,OA,BN,AN,PA,eM,XI,YI,bJ,ZI,vN,YJ],styles:["input[_ngcontent-%COMP%]{width:450px}.bv2-issue-picker-message[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad);padding:5px;text-align:center}"]});
var c4b=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]),EN=function(){};EN.\u0275fac=function(a){return new (a||EN)};EN.\u0275mod=fd({type:EN});EN.\u0275inj=Qc({imports:[px,ay,gK,rD,BD,CN,pN,gM,xN]});var d4b=CWb("edited-ids"),e4b=AWb("edited-ids"),f4b=CWb("viewed-ids"),g4b=AWb("viewed-ids"),FN=function(a){var b=this;this.appEvents=a;this.stop$=new T.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){fAa(b.viewed,c);f4b(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){fAa(b.edited,c);d4b(Array.from(b.edited.keys()).join(","))}},h4b=function(a){return Array.from(a.viewed.keys())};FN.\u0275fac=function(a){return new (a||FN)(n(uG))};
FN.\u0275prov=Pc({token:FN,factory:FN.\u0275fac,providedIn:"root"});var GN=function(){XG.apply(this,arguments)};X(GN,XG);Ei.Object.defineProperties(GN.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});GN.\u0275fac=function(){var a;return function(b){return(a||(a=Od(GN)))(b||GN)}}();GN.\u0275dir=r({type:GN,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[$f]});var HN=function(){};
HN.\u0275fac=function(a){return new (a||HN)};HN.\u0275mod=fd({type:HN});HN.\u0275inj=Qc({imports:[px,aH]});var i4b=new Ud("GMAT_TABS_OPTION");var IN=function(a){this.inkBarPositioner=a};IN.prototype.isEnabled=function(){return this.inkBarPositioner===hAa};IN.\u0275fac=function(a){return new (a||IN)(A(Y2b))};IN.\u0275dir=r({type:IN,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&pg("gmat-tabs",b.isEnabled())},features:[Dg([{provide:Y2b,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?hAa:b},deps:[Yd,[new Dv,Y2b],[new Cv,i4b]]}])]});var Pp=function(a){return{$implicit:a}},JN=function(a,b,c){Z.call(this);var d=this;this.issueLru=a;this.issueFridge=b;this.componentFridge=c;this.onSelect=new vw;this.onCancel=new vw;this.onSave=new vw;this.supportMultiSelect=!1;this.contextIssueId$=new T.BehaviorSubject(void 0);this.STATUS_TERSE=rF;this.searchControl=new Kx;this.viewIssues=Mn;this.contextIssue$=this.contextIssueId$.pipe(Qf(this.issueFridge.watch));this.contextComponentId$=this.contextIssue$.pipe(B(function(e){return null==e?void 0:
e.snapshot[0].componentId}));this.contextComponent$=this.contextComponentId$.pipe(Qf(this.componentFridge.watch));this.selectedIds=new Set;this.recentIds=h4b(this.issueLru).reverse().slice(0,7);this.recentIssues$=this.issueFridge.watchSet(this.recentIds);this.userQuery$=this.searchControl.valueChanges.pipe(Af(200),Nf({bufferSize:1,refCount:!0}));this.globalSearchResults$=this.userQuery$.pipe(Qf(function(e){return""===e.trim()?(0,T.of)(void 0):d.issueFridge.watchMany({filter:e+" AND status:open",sort:"modified_time:desc, vote_count:desc",
pageSize:5}).pipe(Pf(void 0))}),B(function(e){return null==e?void 0:e.results}),B(function(e){return null==e?void 0:e.filter(function(f){return String(f.issueId)!==d.contextIssueId})}));this.myTeamResults$=this.userQuery$.pipe(Qf(function(e){return""===e.trim()?(0,T.of)(void 0):d.issueFridge.watchMany({filter:"(componentid:1131+ | assignee:me | cc:me | reporter:me | commenter:me) AND ("+e+") AND status:open",sort:"modified_time:desc, vote_count:desc",pageSize:5}).pipe(Pf(void 0))}),B(function(e){return null==
e?void 0:e.results}),B(function(e){return null==e?void 0:e.filter(function(f){return String(f.issueId)!==d.contextIssueId})}));this.triggerComponentResults$=(0,T.combineLatest)([this.userQuery$,this.contextComponentId$]).pipe(Qf(function(e){var f=m(e);e=f.next().value;f=f.next().value;return""===e.trim()?(0,T.of)(void 0):d.issueFridge.watchMany({filter:"componentid:"+f+"+ AND ("+e+") AND status:open",sort:"modified_time:desc, vote_count:desc",pageSize:5}).pipe(Pf(void 0))}),B(function(e){return null==
e?void 0:e.results}),B(function(e){return null==e?void 0:e.filter(function(f){return String(f.issueId)!==d.contextIssueId})}));this.maybeIds$=this.userQuery$.pipe(B(RAa));this.exactIdMatches$=this.maybeIds$.pipe(Qf(function(e){return 0===e.length?(0,T.of)(void 0):d.issueFridge.watchSet(e).pipe(Pf(void 0))}),Sf(function(e){1===(null==e?void 0:e.length)?(e=e[0].issueId,d.selectedIds.clear(),d.selectedIds.add(e)):d.selectedIds.clear();j4b(d)}),Pf(void 0));this.selectedTabIndex$=(0,T.combineLatest)([this.userQuery$.pipe(Pf(void 0)),
this.exactIdMatches$.pipe(Pf(void 0),B(function(e){var f;return null!=(f=null==e?void 0:e.length)?f:0}))]).pipe(Af(10),B(function(e){e=m(e);var f=e.next().value;f=void 0===f?"":f;return 0<e.next().value?2:""!==f.trim()?1:0}))};X(JN,Z);JN.\u0275dir=Z.\u0275dir;g=JN.prototype;g.convertIssueStatusStrToTag=function(a){return Wk[a]};g.getPriorityTag=function(a){a=a.snapshot[0].priority;if(null!=a)return Soa[a]};g.getStatusTag=function(a){a=a.snapshot[0].status;if(null!=a)return Wk[a]};
g.shouldShowVotes=function(a){var b,c;return 0<(null!=(c=null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0)};g.shouldShowDupes=function(a){var b;return 0<(null!=(b=null==a?void 0:a.snapshot[0].duplicateIssueId)?b:[]).length};g.shouldShowStatus=function(a){return"NEW"===a.snapshot[0].status||"ASSIGNED"===a.snapshot[0].status?!1:!0};
var j4b=function(a){var b=a.selectedIds.keys();b=[].concat(p(b)).map(QAa);a.onSelect.emit(b)},NAa=function(a,b){a.selectedIds.has(b.issueId)?a.selectedIds.delete(b.issueId):(a.supportMultiSelect||a.selectedIds.clear(),a.selectedIds.add(b.issueId));j4b(a)};Ei.Object.defineProperties(JN.prototype,{contextIssueId:{configurable:!0,enumerable:!0,set:function(a){this.contextIssueId$.next(null!=a?a:void 0)},get:function(){return this.contextIssueId$.value}}});
JN.\u0275fac=function(a){return new (a||JN)(A(FN),A(QH),A(OF))};
JN.\u0275cmp=r({type:JN,selectors:[["issue-picker-assistive"]],inputs:{supportMultiSelect:"supportMultiSelect",contextIssueId:"contextIssueId"},outputs:{onSelect:"onSelect",onCancel:"onCancel",onSave:"onSave"},features:[$f],decls:15,vars:12,consts:[[1,"search-field","margin-bottom"],["svgIcon","search",1,"icon-m"],["type","search","placeholder","Search by title, contents, or id",3,"formControl","keydown.enter"],["gmat-tabs","",3,"selectedIndex"],["label","Recently Viewed"],[4,"ngIf","ngIfElse"],["label",
"Search Results",4,"ngIf"],["label","IDs",4,"ngIf"],["issueRow",""],["loading",""],[4,"ngFor","ngForOf"],["class","border-top padded-s padded-left",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"border-top","padded-s","padded-left"],["routerLink","/recent",3,"click"],["label","Search Results"],["class","margin-left margin-top",4,"ngIf"],["class","margin-bottom",4,"ngIf","ngIfElse"],[1,"margin-left","margin-top"],[1,"muted"],[1,"margin-bottom"],[4,"ngIf"],[1,"subtle-link","muted",3,
"routerLinkObj","click"],["class","padded-s padded-left muted",4,"ngIf"],[1,"padded-s","padded-left","muted"],["label","IDs"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[1,"padded-s","padded-left","display-block","clickable-row","flex-kids-x","align-items-start",3,"click"],[1,"nowrap"],["gmat-checkbox","",1,"margin-s-right",3,"checked","click","change"],[1,"margin-right","issue-id"],["href","javascript:void();",1,"type-m","issue-title",
"margin-s-right","break-word","subtle-link",3,"onedevHovercardTrigger","click"],["class","type-s margin-right muted",4,"ngIf"],[1,"margin-left-auto"],[3,"class",4,"ngIf"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""],[1,"type-s","margin-right","muted"]],template:function(a,b){a&1&&(D(0,"header",0),F(1,"mat-icon",1),D(2,"input",2),K("keydown.enter",function(){0!==b.selectedIds.size&&b.onSave.emit()}),E()(),D(3,"mat-tab-group",3),R(4,"async"),D(5,"mat-tab",4),O(6,mAa,3,2,"ng-container",5),
R(7,"async"),E(),O(8,DAa,13,18,"mat-tab",6),O(9,IAa,5,4,"mat-tab",7),R(10,"async"),E(),O(11,OAa,17,11,"ng-template",null,8,$g),O(13,PAa,2,0,"ng-template",null,9,$g));if(a&2){var c=N(14),d;z(2);C("formControl",b.searchControl);z(1);C("selectedIndex",S(4,6,b.selectedTabIndex$));z(3);C("ngIf",S(7,8,b.recentIssues$))("ngIfElse",c);z(2);C("ngIf",""!==(b.searchControl.value||"").trim());z(1);C("ngIf",""!==(b.searchControl.value||"").trim()&&(null==(d=S(10,10,b.maybeIds$))?null:d.length))}},dependencies:[ax,
bx,gx,QI,XM,WM,IN,XG,GN,yh,Ex,Rx,OB,eM,XI,YI,bJ,ZI,hx],styles:[".search-field[_ngcontent-%COMP%]{position:relative;margin-left:8px;padding-top:1px}.search-field[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{position:absolute;top:9px;left:5px}.search-field[_ngcontent-%COMP%]   input[type=search][_ngcontent-%COMP%]{height:40px;width:100%;min-width:320px;background-color:#f1f3f4;background-color:var(--main-search-bg);color:#202124;color:var(--text-high-contrast);border-radius:8px;border:none;padding:0 16px;padding-left:30px}.search-field[_ngcontent-%COMP%]   input[type=search][_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}.issue-id[_ngcontent-%COMP%]{display:inline-block;min-width:5em}.chippy[_ngcontent-%COMP%], .p-chip[_ngcontent-%COMP%]{margin-top:-2px;margin-bottom:-2px}.clickable-row[_ngcontent-%COMP%]{overflow:hidden}"]});var KN=function(){};KN.\u0275fac=function(a){return new (a||KN)};KN.\u0275mod=fd({type:KN});KN.\u0275inj=Qc({imports:[px,aN]});var LN=function(){};LN.\u0275fac=function(a){return new (a||LN)};LN.\u0275mod=fd({type:LN});LN.\u0275inj=Qc({providers:[{provide:i4b,useValue:{enabled:!0}}],imports:[px,BD,gB,lE,BM,aN,KN,aH,HN,ay,by,gK,rD,BD,CN,pN,gM,xN]});var k4b=new Ud("XapHatsSurveyApiKey"),l4b=new Ud("XapHatsSurveyLocale"),m4b=new Ud("XapHatsSurveyWindow"),n4b=new Ud("XapHatsSurveyListnrProductId");var o4b=new Map([[0,1],[1,2]]),MN=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=lQb(oQb,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,environment:h.environment||h.environment,helpCenterPath:h.helpCenterPath||h.helpCenterPath,locale:h.locale||h.locale||"en-US".replace(/-/g,"_"),nonce:h.nonce||h.nonce,productData:h.productData||h.productData,receiverUri:h.receiverUri||h.receiverUri,renderApiUri:h.renderApiUri||h.renderApiUri,theme:h.theme||h.theme,
window:h.window||h.window});return new nQb(h)};this.helpService=e?e.runOutsideAngular(f):f()},p4b=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;var e=d.anonymous?void 0:d.authUser||0;return(new T.Observable(function(f){a.helpService.requestSurvey({triggerId:b,enableTestingMode:d.enableTestingMode,nonProd:d.nonProd,callback:function(h){null!=h.surveyData&&f.next(h.surveyData);f.complete()},authuser:e})})).pipe(Qf(function(f){return new T.Observable(function(h){var l;a.helpService.presentSurvey({surveyData:f,
colorScheme:d.theme?o4b.get(d.theme):1,authuser:e,customZIndex:null!=(l=d.zIndex)?l:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()}}});h.next(f.surveyMetadata)})}))};MN.\u0275fac=function(a){return new (a||MN)(n(k4b),n(n4b),n(l4b,8),n(m4b,8),n(Yf,8))};MN.\u0275prov=Pc({token:MN,factory:MN.\u0275fac,providedIn:"any"});var q4b=Mp.ISSUE_PICKER,bBa=So("opt-out-experiments")(),NN=function(a,b,c,d){this.dialogRef=a;this.params=c;this.activeSession=d;this.issueId$=xI(this.params,"issueId").pipe(Df());this.DEFAULTS={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1,currentResourceId:null,currentResourceType:null};this.isQueryRestricted=!1;this.selectedIssues=[];this.data=Object.assign({},this.DEFAULTS,b);this.queryRestriction=this.data.componentId?"componentid:"+this.data.componentId+"+":"";this.enableAssistivePicker=
cBa(this.data,this.activeSession)},ZAa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(yp(a.queryRestriction)+" ?"),""):a.queryRestriction+" "+b}};NN.prototype.onQueryChange=function(a){this.isQueryRestricted=""!==this.queryRestriction&&a.includes(this.queryRestriction)};NN.prototype.onEnter=function(){0!==this.selectedIssues.length&&UAa(this)};NN.prototype.onEscape=function(){this.dialogRef.close()};
var UAa=function(a){var b;a.dialogRef.close([a.selectedIssues,null==(b=a.issuePicker)?void 0:b.lastSearchType])};NN.prototype.onPressCancel=function(){this.dialogRef.close()};NN.\u0275fac=function(a){return new (a||NN)(A(ZA),A(aB),A(wI),A(tu))};
NN.\u0275cmp=r({type:NN,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Sg(DN,5);if(a&2){var c;Rg(c=Ug())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&K("keydown.escape",function(){return b.onEscape()})},decls:12,vars:5,consts:[["mat-dialog-title",""],["class","muted",4,"ngIf"],["mat-dialog-content",""],[4,"ngIf","ngIfElse"],["classicPicker",""],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,
"gmat-button","medium","confirm",3,"disabled","click"],[1,"muted"],[4,"ngFor","ngForOf"],[3,"contextIssueId","supportMultiSelect","onSelect","onCancel","onSave"],[1,"bv2-rel-issue-text"],["class","bv2-rel-issue-preview-link",4,"ngIf"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],["class","bv2-rel-issue-narrow-to-component",4,"ngIf"],[1,"bv2-rel-issue-issue-picker",3,"defaultChoices","enableAsyncSearch","currentResourceId","currentResourceType","allowMultipleIds","keydown.enter",
"entrySelect","queryChange"],[1,"bv2-rel-issue-preview-link"],["target","_blank","class","bv2-rel-issue-id-link",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"bv2-rel-issue-id-link",3,"href"],["target","_blank",1,"keep-underline","bv2-rel-issue-title-link",3,"href"],[1,"bv2-rel-issue-title-link-txt"],["svgIcon","pop-out",1,"icon-xs"],[1,"bv2-rel-issue-narrow-to-component"],["role","checkbox","tabindex","0","aria-label","Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",
3,"matTooltip","click","keyup.space"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1),O(2,TAa,2,1,"span",1),E(),D(3,"div",2),O(4,VAa,3,4,"ng-container",3),O(5,aBa,7,10,"ng-template",null,4,$g),E(),D(7,"div",5)(8,"button",6),K("click",function(){return b.onPressCancel()}),P(9," Cancel "),E(),D(10,"button",7),K("click",function(){return UAa(b)}),P(11," Confirm "),E()());if(a&2){var c=N(6);z(1);Q(" ",b.data.title," ");z(1);C("ngIf",b.enableAssistivePicker);z(2);C("ngIf",b.enableAssistivePicker)("ngIfElse",
c);z(6);C("disabled",!b.selectedIssues.length)}},dependencies:[ax,bx,DN,JN,NA,dB,eB,fB,OB,qD,hx],encapsulation:2});var ON=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
ON.prototype.open=function(a,b){var c=this,d={panelClass:"no-jitter",data:a};cBa(a,this.activeSession)&&(d.width="50vw",d.minWidth="600px");return new Promise(function(e){XA(c.dialog.open(NN,d)).subscribe(function(f){f=void 0===f?[]:f;var h,l=null!=(h=f[0])?h:[],q;f=null!=(q=f[1])?q:"";q=l.map(function(u){return u.resourceId});h=[a.originIsBulk?"bulk":void 0,1<q.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");Lp(c.analytics,q4b,h,f);null==b||b(q);e(l);c.activeSession.isInternalSession()&&
"id"===f&&p4b(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Ef()).subscribe()})})};ON.\u0275fac=function(a){return new (a||ON)(n(bB),n(LH),n(MN),n(tu))};ON.\u0275prov=Pc({token:ON,factory:ON.\u0275fac});var PN=function(){};PN.\u0275fac=function(a){return new (a||PN)};PN.\u0275mod=fd({type:PN});PN.\u0275inj=Qc({providers:[ON],imports:[px,EN,LN,BD,gB,rD,lE]});var Rp={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return!!Wm().user.email&&Wm().user.email===(null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress)},queryFragment:"assignee:me"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return mn(a)},queryFragment:"status:open"}};var QN=function(a){this.pathToAncestor=a},Vp=function(a){return new QN(a.split(">"))},RN=function(a,b){return new QN([].concat(p(a.pathToAncestor),[b]))};QN.prototype.hash=function(){return this.pathToAncestor.join(">")};QN.prototype.equals=function(a){return!!a&&mj(this.pathToAncestor,a.pathToAncestor)};var r4b=function(a,b){a=m(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=m(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
QN.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};QN.prototype.some=function(a){return this.pathToAncestor.some(a)};QN.prototype.toString=function(){return this.hash()};
Ei.Object.defineProperties(QN.prototype,{size:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor.length}},nodeId:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[this.size-1]}},parentNodeId:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[this.size-2]}},parentChain:{configurable:!0,enumerable:!0,get:function(){return new QN(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var SN=function(){var a=this;this.draftRows=new Map;this.changed$=new T.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};SN.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:RN(a,d),level:a.size-1,issue$:(0,T.of)(b),afterDraftId:null==c?void 0:c.afterDraftId,afterIssueId:null==c?void 0:c.afterIssueId,id:d,saving:!1,draftStartedAt:new Date};this.set(a,b);return b};
SN.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};SN.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(f){return f.id!==a.id});if(c.length!==d.length){c=m(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var s4b=function(a,b){return Ze(function(c){return c.return((0,T.firstValueFrom)(a.changed$.pipe(Pf(a.draftRows),B(function(d){return![].concat(p(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),sf(Boolean),B(function(){}))))})},t4b=function(a,b,c){b.issueId=c;for(var d=m(a.draftRows.values()),e=d.next();!e.done;e=d.next()){e=m(e.value);for(var f=e.next();!f.done;f=e.next())f=f.value,f.afterDraftId===b.id&&(f.afterIssueId=c)}a.changed$.next(a.draftRows)};
SN.prototype.isSaving=function(){return[].concat(p(this.draftRows.values())).flat().some(function(a){return a.saving})};SN.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(p(c),[b]));this.changed$.next(this.draftRows)};var u4b={defaultExpandedChildren:0,defaultExpansionLevel:0,maxExpansion:Infinity},v4b=function(a){var b={defaultExpansionLevel:3,defaultExpandedChildren:10,maxExpansion:500};b=void 0===b?u4b:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new T.ReplaySubject(1)},TN=function(a,b){b=b.hash();return a.expansionState[b]},UN=function(a,b,c){b=b.hash();void 0===c?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},w4b=function(a,b,
c){var d=!1;c=m(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=RN(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===TN(a,e)&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=m(Object.entries(a.expansionState)),l=h.next();!l.done;l=h.next()){l=m(l.value);var q=l.next().value;l=l.next().value;q=Vp(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new QN(d),delete a.expansionState[q.hash()],
a.expansionState[d.hash()]=l,d=!0)}}if(!TN(a,b)){var u;a.expansionState[b.hash()]=null!=(u=a.config.defaultExpandedChildren)?u:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)},x4b=function(a){var b=new Map;a=m(Object.entries(a.expansionState));for(var c=a.next();!c.done;c=a.next()){c=m(c.value);var d=c.next().value;c=c.next().value;d=Vp(d).nodeId;var e=void 0;c=Math.max(c,null!=(e=b.get(d))?e:0);b.set(d,c)}return b};var VN=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=Oj(this.activeSession.getUserEmail())},z4b=function(a,b){var c,d,e;return Ze(function(f){if(1==f.nextAddress)return af(f,y4b(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(Yqa(d,e))})},B4b=function(a,b){var c;return Ze(function(d){if(1==d.nextAddress)return af(d,A4b(a,b),2);c=d.yieldResult;return d.return({snapshot:[c],
issueId:"",userData:void 0,aggregatedData:void 0,accessLimit:void 0,customFields:[],visibleFields:[],majorModifiedTimeMicros:0,parentIssueIds:[],ancestors:new Map,childIssueCount:0,isArchived:!1,relatedLinks:[]})})},C4b=function(a,b,c){var d;return Ze(function(e){if(1==e.nextAddress)return af(e,A4b(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
VN.prototype.create=function(a){var b=this,c,d;return Ze(function(e){return 1==e.nextAddress?af(e,b.issueApi.createIssue({snapshot:a}),2):3!=e.nextAddress?(c=e.yieldResult,d=c.issueId,af(e,b.issueFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var A4b=function(a,b){var c,d,e,f,h;return Ze(function(l){if(1==l.nextAddress)return af(l,(0,T.firstValueFrom)(a.issueFridge.watch(b).pipe(sf(Vj))),2);if(3!=l.nextAddress)return c=l.yieldResult,af(l,y4b(a,String(c.snapshot[0].componentId)),3);d=l.yieldResult;e=d.component;f=d.defaultTemplate;if(c){var q={};c.snapshot[0].priority&&(q.priority=c.snapshot[0].priority);c.snapshot[0].severity&&(q.severity=c.snapshot[0].severity);c.snapshot[0].type&&(q.type=lXb[c.snapshot[0].type])}else q={};h=Object.assign({},
{componentId:e.componentId},{inProd:!1,status:"NEW",isDeleted:!1,deletionReason:"DELETION_REASON_UNSPECIFIED",isArchived:!1,formattingMode:"UNSPECIFIED_FORMATTING_MODE",reporterUser:a.currentUser,ccUsers:[a.currentUser]},q,D4b(f),E4b(e,f));h.assigneeUser&&(h.status="ASSIGNED");return l.return(h)})},D4b=function(a){if(!a)return{};a=gc(a.snapshot,function(b){return null==b||"string"===typeof b&&nm(b)?!1:!0});delete a.componentId;return a},E4b=function(a,b){var c=[],d,e,f={};a=m(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);for(d=a.next();!d.done;f={$jscomp$loop$prop$customField$2164:f.$jscomp$loop$prop$customField$2164},d=a.next())if(f.$jscomp$loop$prop$customField$2164=d.value,f.$jscomp$loop$prop$customField$2164.required){e=void 0;d=null!=(e=f.$jscomp$loop$prop$customField$2164.typedDefaultValue)?e:new Bj({customFieldId:f.$jscomp$loop$prop$customField$2164.customFieldId});var h=e=void 0,l=void 0,q=null!=(l=null==(e=b)?void 0:null==(h=e.snapshot.customField)?void 0:h.find(function(u){return function(x){return x.customFieldId===
u.$jscomp$loop$prop$customField$2164.customFieldId}}(f)))?l:d;q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},y4b=function(a,b){var c,d,e,f,h,l;return Ze(function(q){if(1==q.nextAddress)return af(q,Promise.all([(0,T.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,T.firstValueFrom)(a.componentFridge.watch(b).pipe(sf(Vj)))]),2);c=q.yieldResult;d=m(c);e=d.next().value;f=d.next().value;h=e;l=f;return q.return({component:l,defaultTemplate:h})})};
VN.\u0275fac=function(a){return new (a||VN)(n(dF),n(tu),n(QH),n(OF),n(vG))};VN.\u0275prov=Pc({token:VN,factory:VN.\u0275fac,providedIn:"root"});new Promise(function(){});var WN=function(a,b,c,d,e,f,h,l,q,u,x,y,G){Z.call(this);var J=this;this.rootIssueId=a;this.quickFilters=b;this.saveExpansionAtKey=c;this.analytics=d;this.butterBar=e;this.issueFridge=f;this.issuePicker=h;this.issueRelationshipsFridge=l;this.paths=q;this.router=u;this.issueCreationService=x;this.clearcut=y;this.refreshMonitor=G;var M;this.recallExpansion=EWb(null!=(M=this.saveExpansionAtKey)?M:"");var V;this.saveExpansion=FWb(null!=(V=this.saveExpansionAtKey)?V:"");this.expansion=new v4b(this.recallExpansion());
this.draftRows=new SN;this.refetchingAll$=new T.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Qf(function(){J.refetchingAll$.next(!0);var U=ep(J.rows$),W=[];if(!U)return Promise.resolve();W.push(pXb(J.issueRelationshipsFridge,J.rootIssueId));U=m(U);for(var ba=U.next();!ba.done;ba=U.next())ba=ba.value,"data"===ba.type&&W.push(J.issueFridge.poke(ba.id)),1<ba.level&&W.push(J.issueRelationshipsFridge.poke(ba.id));return Promise.all(W).then(function(){J.refetchingAll$.next(!1)})}));
this.rows$=(0,T.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,T.scheduled)((0,T.of)({}),T.asapScheduler)).pipe(Qf(function(){return YH(J.issueRelationshipsFridge,J.rootIssueId,3)}),Qf(function(){var U=new Set([].concat(p(x4b(J.expansion).keys())));return J.getParentToChildrenMap(U)}),Qf(function(U){return J.quickFilters.value$.pipe(Qf(function(W){return J.applyFilters(U,[].concat(p(W)))}))}),B(function(U){return J.calculateDisplayedRows(U)}),Nf({refCount:!0,
bufferSize:1}));this.filteredRowCount$=new T.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(sf(Vj));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new QN([this.rootIssueId]),expandedCount:500,issue$:T.NEVER,hasChildren$:T.NEVER};this.supportsOneLineCreation=(0,T.firstValueFrom)(this.rootIssue$).then(function(U){return Cp(U.snapshot[0].componentId)}).then(function(U){return z4b(J.issueCreationService,U)});this.isOneLineCreationSupported=function(){return J.supportsOneLineCreation};
this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(Af(100)).subscribe(function(U){J.saveExpansion(U)}))};X(WN,Z);WN.\u0275dir=Z.\u0275dir;WN.\u0275fac=Z.\u0275fac;g=WN.prototype;
g.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,f,h,l,q,u;Ze(function(x){switch(x.nextAddress){case 1:return d=a.nodeId,af(x,(0,T.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=x.yieldResult)?af(x,c.supportsOneLineCreation,3):x.return();case 3:f=x.yieldResult;if(!f){x.jumpTo(4);break}return af(x,B4b(c.issueCreationService,d),5);case 5:return h=x.yieldResult,x.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,u={},af(x,
Ht(c.router,c.paths.createIssue((u.component=l?String(l):void 0,u.parentIssueId=e.issueId,u.redirectUrl=In(c.rootIssueId),u.afterIssueId=null==(q=b)?void 0:q.afterIssueId,u))),6);case 6:return x.return()}})};
g.addExistingChild=function(a){var b=this,c,d,e,f;Ze(function(h){if(1==h.nextAddress)return af(h,(0,T.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();f=String(e.issueId);return af(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(l){return Ze(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(f,l);Lp(b.analytics,Mp.EXPERIMENTAL_HOMEPAGE,"add","existing-child-issue");
return af(q,Up(),2)}a&&UN(b.expansion,a.ancestorChain,500);ef(q)})}),0)})};g.deleteDraftRow=function(a){this.draftRows.remove(a)};g.saveDraft=function(a){var b=this,c;return Ze(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return af(d,b.createIssueFromDraft(a),2)}return(c=d.yieldResult)?d.return(b.assignParentToIssue(a,c)):d.return()})};
g.createIssueFromDraft=function(a){var b=this,c,d,e,f;return Ze(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,$e(h,2),af(h,C4b(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;Au(h,3);break;case 2:return f=df(h),oG(b.butterBar,"Could not create issue. Error: "+JSON.stringify(f)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),UN(b.expansion,a.ancestorChain.parentChain,500),t4b(b.draftRows,a,d),h.return(d)}})};
g.assignParentToIssue=function(a,b){var c=this,d,e,f,h,l,q;return Ze(function(u){if(1==u.nextAddress)return d=a.ancestorChain.parentNodeId,f=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===f||"-1"===f?u.jumpTo(2):af(u,s4b(c.draftRows,f),2);if(4!=u.nextAddress)return af(u,c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=u.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&oG(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);ef(u)})};
g.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,T.combineLatest)([this.rootIssueId].concat(p(a.keys())).map(function(d){return c.refetchingAll$.pipe(sf(function(e){return!e}),Qf(function(){return oXb(c.issueRelationshipsFridge,d)}))})).pipe(B(function(d){return d.filter(Boolean)}),Qf(function(d){var e=new Map(d.map(function(f){return[f.issueId,f]}));if(1===b)return(0,T.of)(e);d=c.getIdsAtLevel(e,b);return c.getParentToChildrenMap(d,b+1).pipe(B(function(f){return Rva(e,f)}))}))};
g.getIdsAtLevel=function(a,b){for(var c=new Set,d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;){e.$jscomp$loop$prop$current$2166=d.pop();e.$jscomp$loop$prop$current$2166.level===b&&c.add(e.$jscomp$loop$prop$current$2166.id);if(!(e.$jscomp$loop$prop$current$2166.level>b)){var f=void 0,h=void 0,l=null!=(h=null==(f=a.get(e.$jscomp$loop$prop$current$2166.id))?void 0:f.relatedChildren)?h:[];d.push.apply(d,p(l.map(function(q){return function(u){return{id:u.targetIssueId,level:q.$jscomp$loop$prop$current$2166.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2166:e.$jscomp$loop$prop$current$2166}}return c};
g.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2168=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2168.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2168.type)c.push(e.$jscomp$loop$prop$parentRow$2168);else{e.$jscomp$loop$prop$parentRow$2168.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2168);var f=void 0,h=void 0,l=null!=(h=null==(f=a.get(e.$jscomp$loop$prop$parentRow$2168.id))?void 0:
f.relatedChildren)?h:[];f=l.slice(0,e.$jscomp$loop$prop$parentRow$2168.expandedCount);f.length&&(e.$jscomp$loop$prop$parentRow$2168.hasChildren$=(0,T.of)(!0));e.$jscomp$loop$prop$childrenLevel$2169=e.$jscomp$loop$prop$parentRow$2168.level+1;e.$jscomp$loop$prop$parentRow$2168.expandedCount&&f.length<l.length&&(h=RN(e.$jscomp$loop$prop$parentRow$2168.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2169,parentIssue$:e.$jscomp$loop$prop$parentRow$2168.issue$,
ancestorChain:h,truncatedSiblingCount:l.length-f.length}));l=f.map(function(q){return function(u){var x=RN(q.$jscomp$loop$prop$parentRow$2168.ancestorChain,u.targetIssueId);return{type:"data",id:u.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2169,hasChildren$:F4b(b,u.targetIssueId),ancestorChain:x,expandedCount:b.getExpandedCount(x,q.$jscomp$loop$prop$childrenLevel$2169,a),issue$:b.issueFridge.watch(u.targetIssueId)}}}(e));d.push.apply(d,p(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2168.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2168:e.$jscomp$loop$prop$parentRow$2168,$jscomp$loop$prop$childrenLevel$2169:e.$jscomp$loop$prop$childrenLevel$2169}}return c};
var F4b=function(a,b){return a.issueRelationshipsFridge.watch(b).pipe(Qf(function(c){return c&&c.relatedChildren.length?a.quickFilters.value$.pipe(Qf(function(d){return 0===d.size?(0,T.of)(!0):a.issueFridge.watchSet(c.relatedChildren.map(function(e){return e.targetIssueId})).pipe(B(function(e){return e.some(function(f){return dBa(f,[].concat(p(d)))})}))})):(0,T.of)(!1)}))};g=WN.prototype;
g.interpolateDraftRows=function(a,b){var c=[].concat(p(a)),d=this.draftRows.get(b);b={};d=m(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2172:b.$jscomp$loop$prop$draft$2172},e=d.next())b.$jscomp$loop$prop$draft$2172=e.value,a.some(function(f){return function(h){return h.id===f.$jscomp$loop$prop$draft$2172.issueId}}(b))||(e=c.findIndex(function(f){return function(h){return h.id===f.$jscomp$loop$prop$draft$2172.afterDraftId||h.id===f.$jscomp$loop$prop$draft$2172.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2172));return c};g.getExpandedCount=function(a,b,c){var d=a.nodeId;a=TN(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,f;return Math.min(10,null!=(f=null==(e=c.get(d))?void 0:e.relatedChildren.length)?f:0)}return 0};
g.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return Ze(function(l){if(1==l.nextAddress)return 0===b.length?l.return():af(l,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return oG(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=f)?void 0:h.map(function(q){return Dn(q)}))),l.return();ef(l)})};
g.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);ZWb("createIssue",b,"from-tree");Lp(this.analytics,Mp.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);AH(this.clearcut,a,"createIssue-fromTree")}};
g.getAllIssues=function(a){var b=this,c,d,e,f,h,l,q,u,x,y,G,J;return Ze(function(M){if(1==M.nextAddress){c=new Set;d=m(a.keys());for(e=d.next();!e.done;e=d.next())f=e.value,c.add(f);h=m(a.values());for(l=h.next();!l.done;l=h.next())for(q=l.value,u=q.relatedChildren.map(function(V){return V.targetIssueId}),x=m(u),y=x.next();!y.done;y=x.next())G=y.value,c.add(G);return af(M,Promise.all([].concat(p(c)).map(function(V){return(0,T.firstValueFrom)(b.issueFridge.watch(V))})),2)}J=M.yieldResult;return M.return(bn(J.filter(Vj),
function(V){return V.issueId}))})};
g.applyFilters=function(a,b){function c(q){if(!q)return!1;var u=e.get(q),x=h.get(q);if(!u||0===u.relatedChildren.length)return x;var y=u.relatedChildren.filter(function(G){return c(G.targetIssueId)});l+=u.relatedChildren.length-y.length;e.set(q,Object.assign({},u,{relatedChildren:y}));return 0!==y.length||x}var d=this,e,f,h,l;return Ze(function(q){if(1==q.nextAddress){if(0===b.length)return d.filteredRowCount$.next(0),q.return(a);e=new Map(a.entries());return af(q,d.getAllIssues(e),2)}f=q.yieldResult;
h=new Map(f.map(function(u){return[u.issueId,dBa(u,b)]}));l=0;c(d.rootIssueId);d.filteredRowCount$.next(l);return q.return(e)})};var XN=function(a,b,c,d,e,f,h,l,q,u){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=f;this.router=h;this.issueCreationService=l;this.clearcut=q;this.refreshMonitor=u};
XN.prototype.create=function(a,b,c){b=void 0===b?new hK:b;return new WN(a,b,c,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};XN.\u0275fac=function(a){return new (a||XN)(n(LH),n(mG),n(QH),n(ON),n(XH),n(cH),n(WG),n(VN),n(zH),n(OH))};XN.\u0275prov=Pc({token:XN,factory:XN.\u0275fac,providedIn:"root"});var YN=function(a){this.clApi=a};YN.prototype.transform=function(a){var b=this;return a.pipe(Qf(function(c){if(null==c)return(0,T.of)(c);var d,e=Ca(null!=(d=c.snapshot[0].changelist)?d:[]);return e?b.clApi.getChangelistDetails(e).pipe(B(function(f){return Object.assign({},f,{changelistNumber:Number(e)})})):(0,T.of)(void 0)}),Nf({bufferSize:1,refCount:!0}))};YN.\u0275fac=function(a){return new (a||YN)(A(qE,16))};YN.\u0275pipe=hd({name:"mostRecentCL$",type:YN,pure:!0});var G4b=["button"],ZN=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new vw};ZN.prototype.onClick=function(a){this.onAction.emit(a)};ZN.prototype.focus=function(){this.nativeButton.focus()};ZN.\u0275fac=function(a){return new (a||ZN)};
ZN.\u0275cmp=r({type:ZN,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&Sg(G4b,5);if(a&2){var c;Rg(c=Ug())&&(b.nativeButton=c.first)}},inputs:{color:"color",format:"format",disabled:"disabled",size:"size",bAriaLabel:"bAriaLabel",bAriaExpanded:"bAriaExpanded",tooltip:"tooltip"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:8,vars:5,consts:[["buttonContent",""],[3,"ngSwitch"],["type","button","mat-stroked-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip",
"click",4,"ngSwitchCase"],["type","button","mat-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-flat-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-icon-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-stroked-button","","class","gmat-button",3,"color","disabled","ngClass",
"matTooltip","click",4,"ngSwitchDefault"],["type","button","mat-stroked-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["button",""],[4,"ngTemplateOutlet"],["type","button","mat-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["type","button","mat-flat-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["type","button","mat-icon-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"]],
template:function(a,b){a&1&&(wg(),O(0,fBa,1,0,"ng-template",null,0,$g),H(2,1),O(3,hBa,3,7,"button",2),O(4,jBa,3,7,"button",3),O(5,lBa,3,7,"button",4),O(6,nBa,3,7,"button",5),O(7,pBa,3,7,"button",6),I());a&2&&(z(2),C("ngSwitch",b.format),z(1),C("ngSwitchCase","hairline"),z(1),C("ngSwitchCase","flat"),z(1),C("ngSwitchCase","fill"),z(1),C("ngSwitchCase","icon"))},dependencies:[NA,qD,$w,gx,cx,dx,ex],encapsulation:2,changeDetection:0});var H4b={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},$N=function(a,b){this.data=a;this.paths=b;this.descendantIssuesUrl=this.paths.listIssues({q:"parentId:"+this.data.issueId+"+"});this.numberOfDescendants=this.data.numberOfDescendants;this.ActionType=H4b};$N.\u0275fac=function(a){return new (a||$N)(A(aB),A(cH))};
$N.\u0275cmp=r({type:$N,selectors:[["b-issue-archive-dialog"]],decls:18,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["href","http://go/b-issue-archive","target","_blank"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"matDialogClose"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium",3,"matDialogClose"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Archive with all descendant issues?"),E(),
D(2,"div",1),P(3),F(4,"br")(5,"br"),D(6,"a",2),P(7,"View all descendant issues"),E(),F(8,"br"),D(9,"a",3),P(10,"Learn more"),E()(),D(11,"div",4)(12,"button",5),P(13,"Cancel"),E(),D(14,"button",5),P(15," Just this one "),E(),D(16,"button",6),P(17," Archive all "),E()());a&2&&(z(3),Q(" This issue has ",b.numberOfDescendants," descendant issues. Archiving only this issue may make it difficult to find them later. Do you want to archive this issue with all descendant issues? "),z(3),zg("href",b.descendantIssuesUrl,
ue),z(6),C("matDialogClose",b.ActionType.CANCEL),z(2),C("matDialogClose",b.ActionType.ARCHIVE_ONE),z(2),C("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[NA,cB,dB,eB,fB],encapsulation:2});var aO=function(a,b,c,d,e,f,h,l,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=f;this.paths=h;this.butterBar=l;this.editIssueService=q};
aO.prototype.submitArchivalState=function(a,b){var c=this;return Ze(function(d){if(1==d.nextAddress)return b?af(d,c.archive(a),5):af(d,c.editIssueService.unarchive(a),0);c.issueFridge.poke(a);c.eventsForIssueFridge.poke(a);ef(d)})};
aO.prototype.archive=function(a){var b=this,c,d,e,f,h,l,q,u,x,y;return Ze(function(G){if(1==G.nextAddress)return af(G,Promise.all([b.getDescendants(a),(0,T.firstValueFrom)(b.issueFridge.watch(a))]),2);c=G.yieldResult;d=m(c);e=d.next().value;f=d.next().value;h=e;l=f;q=h;u=q.childToParents;x=q.completeResult;y=[].concat(p(u.keys()));u.set(a,l.parentIssueIds||[]);return 0===y.length?G.return(I4b(b,a,u)):x?G.return(J4b(b,a,y,u)):G.return(K4b(b,a,u))})};
var J4b=function(a,b,c,d){var e,f,h;return Ze(function(l){if(1==l.nextAddress)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},af(l,(0,T.firstValueFrom)(XA(a.dialog.open($N,f))),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return(L4b(a,[b].concat(p(c)),d));case "ARCHIVE_ONE":return l.return(I4b(a,b,d));case "CANCEL":return l.return();default:return l.return(Qi(h))}})},L4b=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];M4b(a,
c);nG(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){nG(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){oG(a.butterBar,e);N4b(a,c)})},I4b=function(a,b,c){M4b(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){nG(a.butterBar,"Archived successfully.")}).catch(function(d){oG(a.butterBar,d);N4b(a,c)})},K4b=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues\uff1f",
content:Ap(xp("This issue has more than 1000 descendant issues. Archiving only\n                      this issue may make it difficult to find them later. Go to\n                      issue list page and archive issues there."),zp("BR",{}),zp("BR",{}),zp("A",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),zp("BR",{}),zp("A",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")),cancelButtonText:"Cancel",confirmButtonText:"Just this one",onConfirm:function(){I4b(a,
b,c).then(d)},onDismiss:d})})},M4b=function(a,b){b=m(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;d=m(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},N4b=function(a,b){b=[].concat(p(b.values())).flat();b=m(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
aO.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,l,q,u,x,y,G,J;return Ze(function(M){if(1==M.nextAddress)return af(M,(0,T.firstValueFrom)(YH(b.issueRelationshipsFridge,a)),2);c=M.yieldResult;d=c.results;e=!0;f=new Map;h=m(d);for(l=h.next();!l.done;l=h.next()){q=l.value;u=m(q.relatedChildren);for(x=u.next();!x.done;x=u.next())y=x.value,G=void 0,J=null!=(G=f.get(y.targetIssueId))?G:[],J.push(q.issueId),f.set(y.targetIssueId,J);q.totalChildCount===q.relatedChildren.length||(e=!1)}return M.return({childToParents:f,
completeResult:e})})};aO.\u0275fac=function(a){return new (a||aO)(n(dF),n(bB),n(jJ),n(XH),n(QH),n(JF),n(cH),n(mG),n(lK))};aO.\u0275prov=Pc({token:aO,factory:aO.\u0275fac,providedIn:"root"});var bO=function(){var a=this;this.checks=[];this.beforeUnloadEventHandler=function(b){if(a.checks.some(function(c){return c.dataChanged()}))return b.preventDefault(),b.returnValue="","You have unsaved changes in your form."};window.addEventListener("beforeunload",this.beforeUnloadEventHandler)};bO.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var cO=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new T.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};bO.prototype.canDeactivate=function(a,b,c,d){a:{a=ZD(c.url).getPath()===ZD(d.url).getPath();b=m(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?O4b()?(this.checks=[],!0):!1:!0};var O4b=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
bO.\u0275fac=function(a){return new (a||bO)};bO.\u0275prov=Pc({token:bO,factory:bO.\u0275fac,providedIn:"root"});var P4b=function(a,b,c,d,e,f,h,l,q,u,x,y){var G=this;this.rootIssueId=a;this.quickFilters=b;this.analytics=c;this.butterBar=d;this.issueFridge=e;this.issuePicker=f;this.issueRelationshipsFridge=h;this.paths=l;this.router=q;this.issueCreationService=u;this.clearcut=x;this.refreshMonitor=y;this.expansion=new v4b;this.draftRows=new SN;this.refetchingAll$=new T.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Qf(function(){G.refetchingAll$.next(!0);var J=ep(G.rows$),
M=[];if(!J)return Promise.resolve();M.push(pXb(G.issueRelationshipsFridge,G.rootIssueId));J=m(J);for(var V=J.next();!V.done;V=J.next())V=V.value,"data"===V.type&&M.push(G.issueFridge.poke(V.id)),1<V.level&&M.push(G.issueRelationshipsFridge.poke(V.id));return Promise.all(M).then(function(){G.refetchingAll$.next(!1)})}));this.rows$=(0,T.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,T.scheduled)((0,T.of)({}),T.asapScheduler)).pipe(Qf(function(){return YH(G.issueRelationshipsFridge,
G.rootIssueId,3)}),Qf(function(){var J=x4b(G.expansion);return G.getParentToChildrenMap(J)}),zf(this.quickFilters.value$),Qf(function(J){J=m(J);var M=J.next().value,V=J.next().value;return 0===V.size?(G.filteredRowCount$.next(0),(0,T.of)(M)):G.getAllIssues(M).pipe(B(function(U){return G.applyFilters(M,V,U)}))}),B(function(J){return G.calculateDisplayedRows(J)}),Nf({refCount:!0,bufferSize:1}));this.filteredRowCount$=new T.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(sf(Vj));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new QN([this.rootIssueId]),expandedCount:500,issue$:T.NEVER,hasChildren$:T.NEVER};this.supportsOneLineCreation=(0,T.firstValueFrom)(this.rootIssue$).then(function(J){return Cp(J.snapshot[0].componentId)}).then(function(J){return z4b(G.issueCreationService,J)});this.isOneLineCreationSupported=function(){return G.supportsOneLineCreation}};g=P4b.prototype;
g.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,f,h,l,q,u;Ze(function(x){switch(x.nextAddress){case 1:return d=a.nodeId,af(x,(0,T.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=x.yieldResult)?af(x,c.supportsOneLineCreation,3):x.return();case 3:f=x.yieldResult;if(!f){x.jumpTo(4);break}return af(x,B4b(c.issueCreationService,d),5);case 5:return h=x.yieldResult,x.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,u={},af(x,
Ht(c.router,c.paths.createIssue((u.component=l?String(l):void 0,u.parentIssueId=e.issueId,u.redirectUrl=In(c.rootIssueId),u.afterIssueId=null==(q=b)?void 0:q.afterIssueId,u))),6);case 6:return x.return()}})};
g.addExistingChild=function(a){var b=this,c,d,e,f;Ze(function(h){if(1==h.nextAddress)return af(h,(0,T.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();f=String(e.issueId);return af(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(l){return Ze(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(f,l);Lp(b.analytics,Mp.EDIT_ISSUE,"add","existing-child-issue");
return af(q,Up(),2)}a&&UN(b.expansion,a.ancestorChain,500);ef(q)})}),0)})};g.deleteDraftRow=function(a){this.draftRows.remove(a)};g.saveDraft=function(a){var b=this,c;return Ze(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return af(d,b.createIssueFromDraft(a),2)}return(c=d.yieldResult)?d.return(b.assignParentToIssue(a,c)):d.return()})};
g.createIssueFromDraft=function(a){var b=this,c,d,e,f;return Ze(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,$e(h,2),af(h,C4b(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;Au(h,3);break;case 2:return f=df(h),oG(b.butterBar,"Could not create issue. Error: "+JSON.stringify(f)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),UN(b.expansion,a.ancestorChain.parentChain,500),t4b(b.draftRows,a,d),h.return(d)}})};
g.assignParentToIssue=function(a,b){var c=this,d,e,f,h,l,q;return Ze(function(u){if(1==u.nextAddress)return d=a.ancestorChain.parentNodeId,f=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===f||"-1"===f?u.jumpTo(2):af(u,s4b(c.draftRows,f),2);if(4!=u.nextAddress)return af(u,c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=u.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&oG(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);ef(u)})};
g.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,T.combineLatest)([this.rootIssueId].concat(p(a.keys())).map(function(d){return c.refetchingAll$.pipe(sf(function(e){return!e}),Qf(function(){return oXb(c.issueRelationshipsFridge,d)}))})).pipe(B(function(d){return d.filter(Boolean)}),Qf(function(d){var e=new Map(d.map(function(f){return[f.issueId,f]}));if(1===b)return(0,T.of)(e);d=c.getIdsAtLevel(e,b);d=new Map(d.map(function(f){return[f,10]}));return c.getParentToChildrenMap(d,
b+1).pipe(B(function(f){return Rva(e,f)}))}))};
g.getIdsAtLevel=function(a,b){for(var c=[],d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;){e.$jscomp$loop$prop$current$2174=d.pop();e.$jscomp$loop$prop$current$2174.level===b&&c.push(e.$jscomp$loop$prop$current$2174.id);if(!(e.$jscomp$loop$prop$current$2174.level>b)){var f=void 0,h=void 0,l=null!=(h=null==(f=a.get(e.$jscomp$loop$prop$current$2174.id))?void 0:f.relatedChildren)?h:[];d.push.apply(d,p(l.map(function(q){return function(u){return{id:u.targetIssueId,level:q.$jscomp$loop$prop$current$2174.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2174:e.$jscomp$loop$prop$current$2174}}return c};
g.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2176=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2176.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2176.type)c.push(e.$jscomp$loop$prop$parentRow$2176);else{e.$jscomp$loop$prop$parentRow$2176.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2176);var f=void 0,h=void 0,l=null!=(h=null==(f=a.get(e.$jscomp$loop$prop$parentRow$2176.id))?void 0:
f.relatedChildren)?h:[];f=l.slice(0,e.$jscomp$loop$prop$parentRow$2176.expandedCount);e.$jscomp$loop$prop$childrenLevel$2177=e.$jscomp$loop$prop$parentRow$2176.level+1;e.$jscomp$loop$prop$parentRow$2176.expandedCount&&f.length<l.length&&(h=RN(e.$jscomp$loop$prop$parentRow$2176.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2177,parentIssue$:e.$jscomp$loop$prop$parentRow$2176.issue$,ancestorChain:h,truncatedSiblingCount:l.length-
f.length}));l=f.map(function(q){return function(u){var x=RN(q.$jscomp$loop$prop$parentRow$2176.ancestorChain,u.targetIssueId);return{type:"data",id:u.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2177,hasChildren$:b.issueRelationshipsFridge.watch(u.targetIssueId).pipe(B(Tua)),ancestorChain:x,expandedCount:b.getExpandedCount(x,q.$jscomp$loop$prop$childrenLevel$2177,a),issue$:b.issueFridge.watch(u.targetIssueId)}}}(e));d.push.apply(d,p(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2176.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2176:e.$jscomp$loop$prop$parentRow$2176,$jscomp$loop$prop$childrenLevel$2177:e.$jscomp$loop$prop$childrenLevel$2177}}return c};
g.interpolateDraftRows=function(a,b){var c=[].concat(p(a)),d=this.draftRows.get(b);b={};d=m(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2180:b.$jscomp$loop$prop$draft$2180},e=d.next())b.$jscomp$loop$prop$draft$2180=e.value,a.some(function(f){return function(h){return h.id===f.$jscomp$loop$prop$draft$2180.issueId}}(b))||(e=c.findIndex(function(f){return function(h){return h.id===f.$jscomp$loop$prop$draft$2180.afterDraftId||h.id===f.$jscomp$loop$prop$draft$2180.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2180));return c};g.getExpandedCount=function(a,b,c){var d=a.nodeId;a=TN(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,f;return Math.min(10,null!=(f=null==(e=c.get(d))?void 0:e.relatedChildren.length)?f:0)}return 0};
g.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return Ze(function(l){if(1==l.nextAddress)return 0===b.length?l.return():af(l,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return oG(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=f)?void 0:h.map(function(q){return Dn(q)}))),l.return();ef(l)})};
g.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);ZWb("createIssue",b,"from-tree");Lp(this.analytics,Mp.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);AH(this.clearcut,a,"createIssue-fromTree")}};
g.getAllIssues=function(a){for(var b=this,c=new Set,d=m(a.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);a=m(a.values());for(d=a.next();!d.done;d=a.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=m(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,T.combineLatest)([].concat(p(c)).map(function(f){return b.issueFridge.watch(f)})).pipe(B(function(f){return f.filter(Vj)}))};
g.applyFilters=function(a,b,c){function d(l){if(!l)return!1;var q=e.get(l),u=f.get(l);if(!q||0===q.relatedChildren.length)return u;var x=q.relatedChildren.filter(function(y){return d(y.targetIssueId)});h+=q.relatedChildren.length-x.length;e.set(l,Object.assign({},q,{relatedChildren:x}));return 0!==x.length||u}var e=new Map(a.entries()),f=new Map(c.map(function(l){return[l.issueId,dBa(l,b)]})),h=0;d(this.rootIssueId);this.filteredRowCount$.next(h);return e};
var dO=function(a,b,c,d,e,f,h,l,q,u){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=f;this.router=h;this.issueCreationService=l;this.clearcut=q;this.refreshMonitor=u};dO.prototype.create=function(a,b){b=void 0===b?new hK:b;return new P4b(a,b,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};
dO.\u0275fac=function(a){return new (a||dO)(n(LH),n(mG),n(QH),n(ON),n(XH),n(cH),n(WG),n(VN),n(zH),n(OH))};dO.\u0275prov=Pc({token:dO,factory:dO.\u0275fac,providedIn:"root"});var fO=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new T.Subject;this.onRowsMoved$=new T.Subject;this.placeholder=this.rootElement.querySelector(".placeholder");this.insertionBar=this.rootElement.querySelector(".insertion-bar");this.dragPreviewTemplate=this.rootElement.querySelector(".drag-preview");this.activeDrag=!1;this.onDragOver=vCb(function(f,h){if(e.activeDrag){var l=f||0,q=h.getBoundingClientRect();f=q.height;l-=q.top;
f=sBa(l<=.25*f?"top":l>=.75*f?"bottom":"middle",h);h=f.position;f=f.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=f.offsetLeft+"px";e.placeholder.style.top=f.offsetTop+"px";e.placeholder.style.height=f.offsetHeight+"px";break;case "before":case "after":var u=(l=null==(u=f.querySelector(".title-location"))?void 0:u.getBoundingClientRect().left)?l-f.getBoundingClientRect().left:0;u=f.offsetLeft+u;l="after"===h?f.offsetTop+
f.offsetHeight:f.offsetTop;q=f.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=u+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-u+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:f,position:h};Q4b(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,l=null==(h=f.target)?
void 0:h.closest("tr");if(l&&(e.onDragOver(f.clientY,l),l.classList.contains("dragging")||l.classList.contains("nodrop")))return!0;var q;if("none"===(null==(q=e.currentReorderingGuide)?void 0:q.position))return!0;f.preventDefault();return!1});a.addEventListener("dragend",function(){R4b(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,S4b(e.rowSelectionModel),"mouse",4);R4b(e)})})};
fO.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(tBa(c));T4b(this.rowSelectionModel);U4b(this);this.dragPreview=this.dragPreviewTemplate.cloneNode(!0);document.body.appendChild(this.dragPreview);this.dragPreview.style.display="block";this.dragPreview.style.top="-1000px";this.dragPreview.innerText=1===this.rowSelectionModel.selectedCount?"Moving 1 issue":"Moving "+this.rowSelectionModel.selectedCount+" issues";a.dataTransfer.setDragImage(this.dragPreview,
0,0);a.dataTransfer.dropEffect="move";a=this.rows.toArray().filter(function(d){return b.rowSelectionModel.isSelected(d.row.ancestorChain)});a=m(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var V4b=function(a,b){var c=b.row.ancestorChain.parentChain,d=a.rows.toArray().find(function(e){return c.equals(e.row.ancestorChain)});d&&a.reorder({position:"after",rowElement:d.element},[b.row.ancestorChain],"keyboard",3)},W4b=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(f){return f.row.ancestorChain.equals(b.row.ancestorChain)});if(-1!==d&&0!==d){c=c.slice(0,d).reverse();c=m(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if("load-more-children"===d.row.type){d=d.element.previousElementSibling;
if(!d)continue;var e={position:"before",rowElement:d};break}if(d.row.ancestorChain.parentChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"after",rowElement:d.element};break}if(d.row.ancestorChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"current",rowElement:d.element};break}}a.reorder(e,[b.row.ancestorChain],"keyboard",2)}};
fO.prototype.moveUp=function(a){var b=a.element.previousElementSibling;if(b){if("load-more-children"===b.dataset.type){b=b.previousElementSibling;if(!b)return;b={position:"before",rowElement:b}}else b={position:"before",rowElement:b};this.reorder(b,[a.row.ancestorChain],"keyboard",0)}};
fO.prototype.moveDown=function(a){var b=this.rows.toArray();if(b=b.slice(b.findIndex(function(d){return d.row.ancestorChain.equals(a.row.ancestorChain)})+1).find(function(d){return d.row.level<=a.row.level})){var c=b.element.nextElementSibling;"load-more-children"===b.row.type?V4b(this,a):(b=c&&b.row.level<rBa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
fO.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=tBa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":V4b(this,b);break;case "ArrowRight":W4b(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
fO.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=tBa(a.rowElement),h=void 0,l=f;switch(a.position){case "current":l=f;h={parentId:f.nodeId};break;case "before":case "after":l=f.parentChain,h={parentId:f.parentNodeId,position:{issueId:f.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:l,origin:c,actionMessage:qBa(d)})})}};
var R4b=function(a){for(var b=m(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=m(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;null==(d=a.updatingNoDropRows)||d.unsubscribe();var e,f;null==(e=a.dragPreview)||null==(f=e.parentElement)||f.removeChild(a.dragPreview);
a.activeDrag=!1},Q4b=function(a,b,c){if("current"!==c)a.longHoveredRow=void 0;else if(!b.classList.contains("dragging")&&!b.classList.contains("nodrop"))if(!a.longHoveredRow||a.longHoveredRow.row!==b)a.longHoveredRow={row:b,enterTime:Date.now()};else if(1E3<=Date.now()-a.longHoveredRow.enterTime&&!a.longHoveredRow.emitted){var d=a.rows.toArray().find(function(e){return tBa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},U4b=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(Pf(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=m(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(f){return d.has(f)})&&e.element.classList.add("nodrop")})};var gO=function(a){Z.call(this);var b=this;this.analytics=a;this.dragStarted$=new T.Subject;this.onRowsMoved$=new T.Subject;(0,T.merge)(this.dragStarted$,this.onRowsMoved$).pipe(nva(),Rf(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=cn(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";Lp(b.analytics,Mp.EDIT_ISSUE,"reorderChildren",c);ZWb("reorderChildren",d,c)})};X(gO,Z);gO.\u0275dir=Z.\u0275dir;
gO.\u0275fac=function(a){return new (a||gO)(n(LH))};gO.\u0275prov=Pc({token:gO,factory:gO.\u0275fac,providedIn:"root"});var hO=function(){this.changed$=new T.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};hO.prototype.init=function(a){this.visibleRows=a};hO.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var zDa=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe(Pf(a.selectedRowHashes),B(function(f){return f.has(b.hash())}),Df(),Nf({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
hO.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};hO.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var T4b=function(a){for(var b=a.visibleRows.toArray().map(function(l){return l.row.ancestorChain}),c=!1,d=m(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=Vp(e.value);for(var f=m(b),h=f.next();!h.done;h=f.next())h=h.value,r4b(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},S4b=function(a){var b=a.visibleRows.toArray().map(function(f){return f.row});b=new Map(b.filter(function(f){return"data"===f.type}).map(function(f){return[f.ancestorChain.hash(),
f]}));var c=new Set([].concat(p(a.selectedRowHashes.values())).map(function(f){return Vp(f)}).map(function(f){return f.nodeId})),d=[];a=m(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(f){return c.has(f)})||d.push(e.ancestorChain));return d};
Ei.Object.defineProperties(hO.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(p(this.selectedRowHashes)).map(function(a){return Vp(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var X4b=wu(["https://www.gstatic.com/buganizer/gfx/","/",""]),iO=wu(["https://www.gstatic.com/buganizer/img/v2/",""]),Y4b=Uh(X4b,"2023-02-13-68c4fab0","all-icons.svg"),Z4b=Uh(iO,"empty_blocker_light.png"),$4b=Uh(iO,"empty_blocker_dark.png"),a5b=Uh(iO,"empty_child_light.png"),b5b=Uh(iO,"empty_child_dark.png"),c5b=Uh(iO,"robot_sleeping.png"),d5b=Uh(iO,"tea_light.png"),e5b=Uh(iO,"tea_dark.png"),f5b=Uh(iO,"space_empty_state.png");var jO=function(a,b){this.activeSession=a;this.currentTracker=b;this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
jO.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=rN(this.currentTracker,"",this.tracker);this.name=this.getName();this.extendedName=this.isGlobalBuganizer?this.name:"the "+this.name+" Tracker";if(this.isGlobalBuganizer)a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";else{var b,c;if(null==(b=this.tracker)?0:null==(c=b.branding)?0:c.logoUrl){var d,e,f;a=null!=(f=null==(d=this.tracker)?void 0:null==(e=d.branding)?void 0:e.logoUrl)?f:""}else a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}this.logoLight=
a;if(this.isGlobalBuganizer)d="https://www.gstatic.com/buganizer/img/v3/logo_dark.svg";else{var h;d=null!=(h=this.logoLight)?h:""}this.logoDark=d}};jO.prototype.getName=function(){if(this.isGlobalBuganizer)return this.activeSession.getAppName();var a,b;return null!=(b=null==(a=this.tracker)?void 0:a.name)?b:""};jO.\u0275fac=function(a){return new (a||jO)(A(tu),A(qN))};
jO.\u0275cmp=r({type:jO,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[md],decls:1,vars:1,consts:[[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],[1,"flex-kids-y",
"padded-s-top","actions"],["mat-button","","target","_blank",1,"gmat-button","primary",3,"href"],["mat-button","","class","gmat-button primary","href","http://go/chrome-buganizer#trackers","target","_blank",4,"ngIf"],["mat-button","","href","http://go/chrome-buganizer#trackers","target","_blank",1,"gmat-button","primary"]],template:function(a,b){a&1&&O(0,wBa,17,12,"ng-container",0);a&2&&C("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[bx,XI,bJ,OA],styles:[".dark-mode   [_nghost-%COMP%]    , .light-mode   [_nghost-%COMP%]    , :root   [_nghost-%COMP%]    {--tracker-chip-bg:#d5e2fa}.dark-mode   [_nghost-%COMP%]    {--tracker-chip-bg:#283143}.chippy[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);margin-right:8px;background:var(--tracker-chip-bg);display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding-right:10px;vertical-align:middle;border:0;box-shadow:none}.chippy[_ngcontent-%COMP%]:focus{outline:1px solid var(--primary)}.chippy.xs[_ngcontent-%COMP%]{margin-right:4px}.chippy.xs[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:14px;height:14px}.logo[_ngcontent-%COMP%]{margin-right:4px;width:16px;height:16px}.onedev-hovercard-body[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.onedev-hovercard-body[_ngcontent-%COMP%]   .hovertext[_ngcontent-%COMP%]{margin-bottom:1em}.onedev-hovercard-body[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.onedev-hovercard-body[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"],
changeDetection:0});var kO=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new T.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(lf(function(d){return!c.currentTracker.enableTrackers||zn(d)?(0,T.of)(void 0):c.trackerFridge.watch(d)}));this.isCurrentTracker$=(0,T.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return zn(d)?zn(e):d===e}))};
kO.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};Ei.Object.defineProperties(kO.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return zn(this.trackerId)}}});kO.\u0275fac=function(a){return new (a||kO)(A(qN),A(jI))};
kO.\u0275cmp=r({type:kO,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[md],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(O(0,xBa,2,6,"b-tracker-chip",0),R(1,"async"));a&2&&C("ngIf",b.currentTracker.enableTrackers&&!1===S(1,1,b.isCurrentTracker$))},dependencies:[bx,jO,hx],
encapsulation:2,changeDetection:0});var lO=function(){};lO.\u0275fac=function(a){return new (a||lO)};lO.\u0275cmp=r({type:lO,selectors:[["b-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(wg(),O(0,yBa,1,0,"div",0),O(1,zBa,2,0,"ng-container",1));a&2&&(C("ngIf",!b.isReady),z(1),C("ngIf",b.isReady))},dependencies:[bx],encapsulation:2});var mO=function(){this.issue=null;this.title="";this.isDataLoaded=!1;this.link=""};mO.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||"";this.isDataLoaded=null!==this.issue;var c,d;this.link=this.getIssueUrl(null!=(d=null==(c=this.issue)?void 0:c.issueId)?d:"")};mO.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Hn(a)};mO.\u0275fac=function(a){return new (a||mO)};
mO.\u0275cmp=r({type:mO,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory"},features:[md],decls:4,vars:5,consts:[[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],[1,"hover-link","line-clamp-3",3,"routerLink","keydown","click"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),F(1,"b-tracker-chip-smart",1),D(2,"a",2),K("keydown",function(c){"Enter"===c.key&&c.stopPropagation()})("click",function(c){return c.stopPropagation()}),
P(3),E()());a&2&&(C("isReady",b.isDataLoaded),z(1),C("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0),z(1),C("routerLink","/"+b.link),z(1),Bg(b.title||"--"))},dependencies:[lO,XG,kO],styles:[".title[_ngcontent-%COMP%] {\n      margin-left: 4px\n      padding: 7px 0 6px 0;\n      display: flex;\n      flex-direction: row;\n      align-items: center;\n    }\n    a[_ngcontent-%COMP%] {\n      color: inherit;\n    }"],changeDetection:0});var g5b=function(a,b){return[a,b]},nO=function(){this.size=this.name=""};nO.prototype.ngOnInit=function(){};nO.\u0275fac=function(a){return new (a||nO)};
nO.\u0275cmp=r({type:nO,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&F(0,"mat-icon",0);a&2&&C("svgIcon",b.name)("ngClass",Hg(2,g5b,b.name,b.size))},dependencies:[$w,OB],styles:['[_nghost-%COMP%]{display:inline-block;line-height:0;vertical-align:middle}.hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]::before{background:none;border-radius:50%;bottom:-3px;box-sizing:border-box;content:"";display:block;left:-3px;opacity:0;position:absolute;right:-3px;top:-3px;z-index:-1}.hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]:hover::before, .hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]:focus::before{background-color:#dadce0;background-color:var(--c300);opacity:1}[_nghost-%COMP%]   .mat-icon[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   .small[_ngcontent-%COMP%]{height:18px;width:18px}[_nghost-%COMP%]   .large[_ngcontent-%COMP%]{height:24px;width:24px}'],changeDetection:0});var oO=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new vw;this.title=""};oO.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};oO.\u0275fac=function(a){return new (a||oO)};
oO.\u0275cmp=r({type:oO,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[md],decls:4,vars:5,consts:[[1,"flex-kids-x","align-items-center"],["mat-icon-button","","class","gmat-button medium expander",3,"collapsed","click",4,"ngIf"],["class","leaf",4,"ngIf"],[3,"issue"],["mat-icon-button","",1,"gmat-button","medium","expander",3,"click"],["name","arrow-dropdown","size",
"small"],[1,"leaf"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,ABa,2,3,"button",1),O(2,BBa,1,0,"div",2),F(3,"b-issue-title-cell",3),E());a&2&&(og("margin-left",24*b.level,"px"),z(1),C("ngIf",b.expandable),z(1),C("ngIf",!b.expandable),z(1),C("issue",b.issue))},dependencies:[bx,nO,NA,mO],styles:[".expander[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.expander.collapsed[_ngcontent-%COMP%]{transform:rotate(-90deg)}.leaf[_ngcontent-%COMP%]{width:32px;min-width:32px;display:inline-block}"],
changeDetection:0});var pO=function(){this.issue=null;this.isDataLoaded=!1};pO.prototype.ngOnChanges=function(){var a;this.assignee=Bp(Kj(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};pO.\u0275fac=function(a){return new (a||pO)};
pO.\u0275cmp=r({type:pO,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[md],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),O(1,CBa,2,2,"b-person-hovercard",1),O(2,DBa,1,0,"ng-template",null,2,$g),E());if(a&2){var c=N(3);C("isReady",b.isDataLoaded);z(1);C("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[lO,bx,pL],encapsulation:2,changeDetection:0});/*

 Copyright 2016 Craig Campbell

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

 Mousetrap is a simple keyboard shortcut library for Javascript with
 no external dependencies

 @version 1.6.0
 @url craig.is/killing/mice
*/
(function(a,b,c){function d(M,V,U){M.addEventListener?M.addEventListener(V,U,!1):M.attachEvent("on"+V,U)}function e(M){if("keypress"==M.type){var V=String.fromCharCode(M.which);M.shiftKey||(V=V.toLowerCase());return V}return u[M.which]?u[M.which]:x[M.which]?x[M.which]:String.fromCharCode(M.which).toLowerCase()}function f(M){return"shift"==M||"ctrl"==M||"alt"==M||"meta"==M}function h(M,V){var U,W=[];"+"===M?M=["+"]:(M=M.replace(/\+{2}/g,"+plus"),M=M.split("+"));for(U=0;U<M.length;++U){var ba=M[U];
G[ba]&&(ba=G[ba]);V&&"keypress"!=V&&y[ba]&&(ba=y[ba],W.push("shift"));f(ba)&&W.push(ba)}M=ba;U=V;if(!U){if(!J){J={};for(var pa in u)95<pa&&112>pa||u.hasOwnProperty(pa)&&(J[u[pa]]=pa)}U=J[M]?"keydown":"keypress"}"keypress"==U&&W.length&&(U="keydown");return{key:ba,modifiers:W,action:U}}function l(M,V){return null===M||M===b?!1:M===V?!0:l(M.parentNode,V)}function q(M){function V(qa){qa=qa||{};var Ba=!1,Ea;for(Ea in Fa)qa[Ea]?Ba=!0:Fa[Ea]=0;Ba||(Ya=!1)}function U(qa,Ba,Ea,Oa,La,fc){var Ua,bb,Sa=[],sb=
Ea.type;if(!xa._callbacks[qa])return[];"keyup"==sb&&f(qa)&&(Ba=[qa]);for(Ua=0;Ua<xa._callbacks[qa].length;++Ua)if(bb=xa._callbacks[qa][Ua],(Oa||!bb.seq||Fa[bb.seq]==bb.level)&&sb==bb.action){var Za;(Za="keypress"==sb&&!Ea.metaKey&&!Ea.ctrlKey)||(Za=bb.modifiers,Za=Ba.sort().join(",")===Za.sort().join(","));Za&&(Za=Oa&&bb.seq==Oa&&bb.level==fc,(!Oa&&bb.combo==La||Za)&&xa._callbacks[qa].splice(Ua,1),Sa.push(bb))}return Sa}function W(qa,Ba,Ea,Oa){xa.stopCallback(Ba,Ba.target||Ba.srcElement,Ea,Oa)||!1!==
qa(Ba,Ea)||(Ba.preventDefault?Ba.preventDefault():Ba.returnValue=!1,Ba.stopPropagation?Ba.stopPropagation():Ba.cancelBubble=!0)}function ba(qa){"number"!==typeof qa.which&&(qa.which=qa.keyCode);var Ba=e(qa);if(Ba)if("keyup"==qa.type&&Bb===Ba)Bb=!1;else{var Ea=xa,Oa=Ea.handleKey,La=[];qa.shiftKey&&La.push("shift");qa.altKey&&La.push("alt");qa.ctrlKey&&La.push("ctrl");qa.metaKey&&La.push("meta");Oa.call(Ea,Ba,La,qa)}}function pa(qa,Ba,Ea,Oa){function La(Sa){return function(){Ya=Sa;++Fa[qa];clearTimeout(Ha);
Ha=setTimeout(V,1E3)}}function fc(Sa){W(Ea,Sa,qa);"keyup"!==Oa&&(Bb=e(Sa));setTimeout(V,10)}for(var Ua=Fa[qa]=0;Ua<Ba.length;++Ua){var bb=Ua+1===Ba.length?fc:La(Oa||h(Ba[Ua+1]).action);na(Ba[Ua],bb,Oa,qa,Ua)}}function na(qa,Ba,Ea,Oa,La){xa._directMap[qa+":"+Ea]=Ba;qa=qa.replace(/\s+/g," ");var fc=qa.split(" ");1<fc.length?pa(qa,fc,Ba,Ea):(Ea=h(qa,Ea),xa._callbacks[Ea.key]=xa._callbacks[Ea.key]||[],U(Ea.key,Ea.modifiers,{type:Ea.action},Oa,qa,La),xa._callbacks[Ea.key][Oa?"unshift":"push"]({callback:Ba,
modifiers:Ea.modifiers,action:Ea.action,seq:Oa,level:La,combo:qa}))}var xa=this;M=M||b;if(!(xa instanceof q))return new q(M);xa.target=M;xa._callbacks={};xa._directMap={};var Fa={},Ha,Bb=!1,lb=!1,Ya=!1;xa._handleKey=function(qa,Ba,Ea){var Oa=U(qa,Ba,Ea),La;Ba={};var fc=0,Ua=!1;for(La=0;La<Oa.length;++La)Oa[La].seq&&(fc=Math.max(fc,Oa[La].level));for(La=0;La<Oa.length;++La)Oa[La].seq?Oa[La].level==fc&&(Ua=!0,Ba[Oa[La].seq]=1,W(Oa[La].callback,Ea,Oa[La].combo,Oa[La].seq)):Ua||W(Oa[La].callback,Ea,Oa[La].combo);
Oa="keypress"==Ea.type&&lb;Ea.type!=Ya||f(qa)||Oa||V(Ba);lb=Ua&&"keydown"==Ea.type};xa._bindMultiple=function(qa,Ba,Ea){for(var Oa=0;Oa<qa.length;++Oa)na(qa[Oa],Ba,Ea)};d(M,"keypress",ba);d(M,"keydown",ba);d(M,"keyup",ba)}if(a){var u={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},x={106:"*",107:"+",109:"-",110:".",
111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},y={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},G={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},J;for(c=1;20>c;++c)u[111+c]="f"+c;for(c=0;9>=c;++c)u[c+96]=c;q.prototype.bind=function(M,V,U){M=M instanceof Array?
M:[M];this._bindMultiple.call(this,M,V,U);return this};q.prototype.unbind=function(M,V){return this.bind.call(this,M,function(){},V)};q.prototype.trigger=function(M,V){if(this._directMap[M+":"+V])this._directMap[M+":"+V]({},M);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(M,V){return-1<(" "+V.className+" ").indexOf(" mousetrap ")||l(V,this.target)?!1:"INPUT"==V.tagName||"SELECT"==V.tagName||"TEXTAREA"==V.tagName||V.isContentEditable};
q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(M){for(var V in M)M.hasOwnProperty(V)&&(u[V]=M[V]);J=null};q.init=function(){var M=q(b),V;for(V in M)"_"!==V.charAt(0)&&(q[V]=function(U){return function(){return M[U].apply(M,arguments)}}(V))};q.init();a.Mousetrap=q;"undefined"!==typeof module&&module.exports&&(module.exports=q);"function"===typeof define&&define.amd&&define(function(){return q})}})("undefined"!==typeof window?window:null,"undefined"!==
typeof window?document:null);var Wp=function(a,b){this.char=a;this.modifiers=b};/*

 The MIT License (MIT)

 Copyright (c) 2016 Nick Richardson

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
*/
var h5b=function(a,b,c,d,e,f){this.combo=a;this.callback=b;this.allowIn=c;this.description=d;this.action=e;this.persistent=f;this.combo=Array.isArray(a)?a:[a];this.allowIn=c||[];this.description=d||""};
Ei.Object.defineProperties(h5b.prototype,{formatted:{configurable:!0,enumerable:!0,get:function(){if(!this._formatted){for(var a=this.combo[0].split(/[\s]/),b=0;b<a.length;b++){for(var c=b,d={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193","return":"\u23ce",backspace:"\u232b"},e=a[b].split("+"),f=0;f<e.length;f++)"mod"===e[f]&&(window.navigator&&0<=window.navigator.platform.indexOf("Mac")?e[f]="command":e[f]="ctrl"),e[f]=d[e[f]]||e[f];a[c]=e.join(" + ")}this._formatted=
a}return this._formatted}}});var i5b=new Ud("HotkeyOptions");var qO=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new T.Subject;this.preventIn=["INPUT","SELECT","TEXTAREA"];Mousetrap.prototype.stopCallback=function(b,c){return-1<(" "+c.className+" ").indexOf(" mousetrap ")?!1:c.contentEditable&&"true"===c.contentEditable};this.mousetrap=new Mousetrap;this.options.disableCheatSheet||this.add(new h5b(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new h5b("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=qO.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=m(a),f=e.next();!f.done;f=e.next())d.push(this.add(f.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,l){var q=!0;if(h){var u=h.target,x=u.nodeName.toUpperCase();-1<(" "+u.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(x)&&-1===a.allowIn.map(function(y){return y.toUpperCase()}).indexOf(x)&&(q=!1)}if(q)return a.callback.apply(c,[h,l])},b);return a};
g.remove=function(a){var b=[];if(!a){var c=m(this.hotkeys);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}if(Array.isArray(a)){c=m(a);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}b=this.hotkeys.indexOf(a);return-1<b?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
g.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(-1<this.hotkeys[b].combo.indexOf(a))return this.hotkeys[b];return null};g.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
g.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return-1<b?(this.add(a),this.pausedHotkeys.splice(b,1)):null};g.reset=function(){this.mousetrap.reset()};qO.\u0275fac=function(a){return new (a||qO)(n(i5b))};qO.\u0275prov=Pc({token:qO,factory:qO.\u0275fac});var rO=function(){};rO.\u0275fac=function(a){return new (a||rO)};rO.\u0275mod=fd({type:rO});rO.\u0275inj=Qc({imports:[px]});var j5b;cca("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var k5b="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),sO=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},tO=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(j5b||(c={},j5b=(c.atomic=!1,c.autocomplete="none",c.dropeffect="none",c.haspopup=!1,c.live="off",c.multiline=!1,c.multiselectable=!1,c.orientation="vertical",c.readonly=!1,c.relevant="additions text",c.required=!1,c.sort=
"none",c.busy=!1,c.disabled=!1,c.hidden=!1,c.invalid="false",c)),c=j5b,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},l5b=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},uO=function(a,b){var c="";b&&(c=b.id);tO(a,"activedescendant",c)};var vO=function(a,b,c,d){Z.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(f,h){if(!e.enabled||e.paused)h=!0;else if(-1<(" "+h.className+" ").indexOf(" mousetrap ")||h.classList.contains("has-hotkey"))h=!1;else{if(f=h.getAttribute)f=h.getAttribute("role")||null,f=Ia(k5b,f);h=f||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||m5b(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(Rf(this.destroyed$)).subscribe(function(f){f&&(e.enabled=!!f.enableAllHotkeys)});a.routeChangeStart.pipe(Rf(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){n5b(e)})};X(vO,Z);vO.\u0275dir=Z.\u0275dir;vO.prototype.isEnabled=function(){return this.enabled};vO.prototype.isPaused=function(){return this.paused};
var wO=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(p(b),p(d)));o5b(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,l=(null!=(h=a.hotkeyGroups.get(c))?h:[]).filter(function(q){return!f.has(q.onPress)});l.length?a.hotkeyGroups.set(c,l):a.hotkeyGroups.delete(c);o5b(a)}},n5b=function(a){var b=[].concat(p(a.rawHotkeysService.hotkeys));b=m(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},o5b=function(a){n5b(a);for(var b=m(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){var d=p5b(a,c.value);c={};d=m(d);for(var e=d.next();!e.done;c={$jscomp$loop$prop$binding$2185:c.$jscomp$loop$prop$binding$2185},e=d.next())c.$jscomp$loop$prop$binding$2185=e.value,e=new h5b(IBa(c.$jscomp$loop$prop$binding$2185.key),function(f){return function(h){a.ngZone.run(function(){f.$jscomp$loop$prop$binding$2185.command()});h.stopPropagation();return!1}}(c),c.$jscomp$loop$prop$binding$2185.allowIn),
a.rawHotkeysService.add(e)}},m5b=function(a){return[].concat(p(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===b.style.position}).some(function(b){return b.contains(a)})},p5b=function(a,b){var c=[],d={};b=m(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$hotkeySpec$2187:d.$jscomp$loop$prop$hotkeySpec$2187},e=b.next()){d.$jscomp$loop$prop$hotkeySpec$2187=e.value;e={};for(var f=m(d.$jscomp$loop$prop$hotkeySpec$2187.keys.entries()),h=f.next();!h.done;e={$jscomp$loop$prop$index$2189:e.$jscomp$loop$prop$index$2189},
h=f.next()){var l=m(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$index$2189=h;c.push(new q5b(l,function(q,u){return function(){a.ngZone.run(function(){q.$jscomp$loop$prop$hotkeySpec$2187.onPress(u.$jscomp$loop$prop$index$2189)})}}(d,e),d.$jscomp$loop$prop$hotkeySpec$2187.allowIn))}}qaa(c,function(q,u){return q.strokeLength>u.strokeLength?-1:q.strokeLength<u.strokeLength?1:0});return c};vO.prototype.pause=function(){this.paused=!0};vO.prototype.unpause=function(){this.paused=!1};
var r5b=function(a){return[].concat(p(a.hotkeyGroups.entries())).map(function(b){var c=m(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:bn(c,JBa)}})};vO.\u0275fac=function(a){return new (a||vO)(n(KH),n(CI),n(qO),n(Yf))};vO.\u0275prov=Pc({token:vO,factory:vO.\u0275fac,providedIn:"root"});var q5b=function(a,b,c){c=void 0===c?[]:c;this.key=a;this.command=b;this.allowIn=c;a instanceof Array&&(this.strokeLength=a.length);this.strokeLength=1};var xO=function(a,b){Z.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new vw;this.hasHotkey=!0};X(xO,Z);xO.prototype.ngOnChanges=function(a){if("matTooltip"in a&&this.tooltip&&this.hotkeyEnabled){var b;a=null!=(b=this.hotkey.displayAs)?b:this.hotkey.keys.join("+");this.tooltip.message=this.matTooltip+" (Shortcut: "+a+")"}};
xO.prototype.ngOnInit=function(){var a=this;this.hotkeyEnabled&&this.subscriptions.add(wO(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};xO.\u0275fac=function(a){return new (a||xO)(A(vO),A(qD,8))};
xO.\u0275dir=r({type:xO,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&pg("has-hotkey",b.hasHotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[$f,md]});var s5b={category:"Edit Issue Page",keys:[Xp("r")],displayAs:"Shift + r",description:"Refresh"},t5b={category:"Issue List",keys:["u",Xp("r")],displayAs:"u / Shift+r",description:"Refresh search results"},yO={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Xp("a")],displayAs:"Shift + a",description:"Assign issue to the default assignee for this component"},CHANGE_ASSIGNEE:{category:"Edit Issue Page",keys:["a"],displayAs:"a",description:"Change assignee"},CHANGE_ISSUE_PRIORITY:{category:"Edit Issue Page",
keys:[Yp("p","0"),Yp("p","1"),Yp("p","2"),Yp("p","3"),Yp("p","4")],displayAs:"p <n>",description:"Mark issue as priority [0-4]"},COPY_ISSUE_EMAIL_ADDRESS:{category:"Issue Id Picker",keys:["e"],displayAs:"i - e",description:"Copy issue email address",allowIn:["input"]},COPY_ISSUE_ID:{category:"Issue Id Picker",keys:["d"],displayAs:"i - d",description:"Copy issue ID",allowIn:["input"]},COPY_ISSUE_SHORTLINK:{category:"Issue Id Picker",keys:["l"],displayAs:"i - l",description:"Copy issue shortlink",allowIn:["input"]},
COPY_ISSUE_TITLE:{category:"Issue Id Picker",keys:["t"],displayAs:"i - t",description:"Copy issue url and title",allowIn:["input"]},COPY_ISSUE_TODO:{category:"Issue Id Picker",keys:["o"],displayAs:"i - o",description:"Copy issue TODO comment",allowIn:["input"]},COPY_ISSUE_URL:{category:"Issue Id Picker",keys:["u"],displayAs:"i - u",description:"Copy issue url",allowIn:["input"]},FOCUS_COMMENT_BOX:{category:"Edit Issue Page",keys:["r"],displayAs:"r",description:"Focus the comment box"},GO_TO_NEXT_ISSUE:{category:"Edit Issue Page",
keys:["j"],displayAs:"j",description:"Move to the next issue"},GO_TO_PREVIOUS_ISSUE:{category:"Edit Issue Page",keys:["k"],displayAs:"k",description:"Move to the previous issue"},GO_UP_TO_LIST:{category:"Edit Issue Page",keys:["u"],displayAs:"u",description:"Up to issue list"},HIGHLIGHT_ISSUE_ID:{category:"Edit Issue Page",keys:["i"],displayAs:"i",description:"Highlight issue ID"},OPEN_HOTLIST_PICKER:{category:"Edit Issue Page",keys:["h"],displayAs:"h",description:"Edit hotlists"},OPEN_ISSUE_ACCESS_LIMITS_DIALOG:{category:"Edit Issue Page",
keys:["m"],displayAs:"m",description:"Manage issue access limits"},REFRESH_ISSUE:s5b,REFRESH_ISSUE_LIST:t5b,TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};var zO=function(){};zO.\u0275fac=function(a){return new (a||zO)};zO.\u0275mod=fd({type:zO});zO.\u0275inj=Qc({});var AO=function(){this.relayOnly=!1;this.keydown$=new T.Subject};AO.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};Ei.Object.defineProperties(AO.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});AO.\u0275fac=function(a){return new (a||AO)};
AO.\u0275dir=r({type:AO,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&K("keydown",function(c){return b.onKeydown(c)});a&2&&dg("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var u5b=0,BO=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+u5b;this.closePanel$=new T.ReplaySubject(1);u5b++};BO.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};BO.\u0275fac=function(a){return new (a||BO)(A(AO,8))};
BO.\u0275cmp=r({type:BO,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&Sg(Og,7);if(a&2){var c;Rg(c=Ug())&&(b.templateRef=c.first)}},inputs:{className:"className"},exportAs:["onedevPopupPanel"],ngContentSelectors:["*"],decls:1,vars:0,consts:[[1,"onedev-popup-panel","gmat-elevation-z2",3,"keydown"]],template:function(a){a&1&&(wg(),O(0,KBa,2,3,"ng-template"))},styles:[".onedev-popup-panel{background-color:var(--surface-default,#fff);border-radius:4px;overflow:auto}.onedev-popup-panel:focus{outline:0}"],
encapsulation:2});var CO=function(a,b,c,d,e){this.overlay=a;this.element=b;this.viewContainerRef=c;this.focusTrapFactory=d;this.cdr=e;this.disabled=!1;this.closeOnBackdropClick=!0;this.opened=new vw;this.closed=new vw;this.isOpen=!1;this.destroyed$=new T.ReplaySubject(1);this.closingActionsSubscription=T.Subscription.EMPTY};CO.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
CO.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new qy(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=v5b(this).pipe(Rf(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
CO.prototype.close=function(){if(this.isOpen){this.isOpen=!1;var a;if(null==(a=this.overlayRef)?0:a.hasAttached())this.overlayRef.detach(),this.overlayRef.dispose();this.focusTrap&&this.focusTrap.destroy();this.closingActionsSubscription.unsubscribe();this.element.nativeElement.focus();this.closed.emit();this.cdr.markForCheck()}};
CO.prototype.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();return this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"onedev-popup-panel-backdrop"})};var v5b=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,T.merge)(b,c,d):(0,T.merge)(c,d)};
CO.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
CO.prototype.getPositionStrategy=function(){return Yz(Zz($z(bA(this.overlay.position(),this.element)),8),[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])};CO.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
Ei.Object.defineProperties(CO.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});CO.\u0275fac=function(a){return new (a||CO)(A(cA),A(Yd),A(Pg),A(sz),A(Vw))};
CO.\u0275dir=r({type:CO,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&dg("aria-disabled",b.disabled)("aria-expanded",b.isOpen||null)("aria-controls",b.isOpen?b.popupPanel.id:null)},inputs:{onedevPopupPanelTriggerFor:"onedevPopupPanelTriggerFor",disabled:["onedevPopupPanelTriggerDisabled","disabled"],closeOnBackdropClick:["onedevPopupPanelTriggerCloseOnBackdropClick","closeOnBackdropClick"]},outputs:{opened:"onedevPopupPanelTriggerOpened",
closed:"onedevPopupPanelTriggerClosed"},exportAs:["onedevPopupPanelTrigger"],standalone:!0});var DO=function(){};DO.\u0275fac=function(a){return new (a||DO)};DO.\u0275mod=fd({type:DO});DO.\u0275inj=Qc({imports:[px,fA,vy,BD,lE,nz,WI]});var EO=function(a,b,c,d){Z.call(this);this.activeSession=a;this.currentTracker=b;this.clipboard=c;this.butterBar=d;this.componentId=0;this.issueTitle=this.issueId="";this.disabled=this.isExternalIssue=!1;this.showCopyOptions=this.enableHotkeys=!0;this.isOpen=!1;this.HOTKEYS=yO};X(EO,Z);EO.\u0275dir=Z.\u0275dir;var Zp=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};EO.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};
EO.prototype.getAppBaseUrl=function(a){return rN(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};EO.\u0275fac=function(a){return new (a||EO)(A(tu),A(qN),A(MI),A(mG))};
EO.\u0275cmp=r({type:EO,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&Sg(CO,5);if(a&2){var c;Rg(c=Ug())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[$f],decls:4,vars:6,consts:[["matTooltip","Copy issue ID","matTooltipShowDelay","750","disableRipple","true",1,"unstyled","square-right","issue-id",3,"click"],
["svgIcon","copy","class","icon-xs invisible",4,"ngIf"],[4,"ngIf"],["svgIcon","copy",1,"icon-xs","invisible"],["matTooltip","Show links for this issue","onedevPopupPanelTrigger","","disableRipple","true",1,"unstyled","square-left",3,"onedevPopupPanelTriggerFor","hotkey","hotkeyEnabled","onHotkey","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed","click"],["trigger","onedevPopupPanelTrigger"],["svgIcon","arrow-dropdown",1,"icon-xs"],["role","region"],["contentPanel","onedevPopupPanel"],
["class","issue-id-picker-popup","cdkTrapFocus","",3,"cdkTrapFocusAutoCapture",4,"ngIf"],["cdkTrapFocus","",1,"issue-id-picker-popup",3,"cdkTrapFocusAutoCapture"],[1,"id-details-row"],[3,"htmlFor"],["cdkFocusInitial","","type","text","readonly","","id","id-details-issue-id-field",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueIdField",""],["class","muted shortcut",4,"ngIf"],["mat-icon-button","","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"gmat-button","copy",
3,"hotkey","hotkeyEnabled","onHotkey","click"],["svgIcon","copy",1,"icon-s"],["class","id-details-row",4,"ngIf"],["type","text","readonly","","id","id-details-issue-url-field",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueUrlField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy URL","matTooltip","Copy URL",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-url-and-title-field",1,"value",3,"hotkey","hotkeyEnabled",
"onHotkey","focus"],["urlAndTitleField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy text","matTooltip","Copy text",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],[1,"muted","shortcut"],["type","text","readonly","","id","id-details-issue-shortlink-field",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueShortlinkField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy shortlink","matTooltip","Copy shortlink",1,"gmat-button","copy",3,
"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-issue-email-field","matTooltip","Email this address to add comments to this issue",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueEmailField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy email","matTooltip","Copy email",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-todo-comment-field","matTooltip","TODO comment for code",
1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["todoCommentField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy comment","matTooltip","Copy comment",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){b.clipboard.copy(b.issueId);nG(b.butterBar,"Issue ID copied",2E3)}),P(1),O(2,LBa,1,0,"mat-icon",1),E(),O(3,XBa,7,5,"ng-container",2));a&2&&(pg("square-right",b.showCopyOptions),dg("aria-label",
"Copy issue number "+b.issueId),z(1),Q(" ",b.issueId," "),z(1),C("ngIf",!b.showCopyOptions),z(1),C("ngIf",b.showCopyOptions))},dependencies:[iy,bx,xO,NA,OB,qD,BO,CO],styles:["[_nghost-%COMP%]{border-radius:4px;font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;display:inline-block;user-select:none;white-space:nowrap;line-height:22px}button[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.issue-id[_ngcontent-%COMP%]{padding:0 3px}.shortcut[_ngcontent-%COMP%]{font-family:WorkAroundWebKitAndMozilla,monospace;padding-left:8px;white-space:nowrap}button.issue-id[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%], button.issue-id[_ngcontent-%COMP%]:focus   mat-icon[_ngcontent-%COMP%]{visibility:visible}button[_ngcontent-%COMP%]{cursor:pointer;border-radius:4px;user-select:text}button[_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}button.square-left[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}mat-icon[_ngcontent-%COMP%]{margin-top:-2px;color:#3c4043;color:var(--gfx)}  .onedev-popup-panel .issue-id-picker-popup{padding:10px}  .onedev-popup-panel .issue-id-picker-popup .id-details-row{display:flex;flex-direction:row;align-items:center}  .onedev-popup-panel .issue-id-picker-popup .id-details-row label{flex-basis:110px;font-family:Roboto,Arial,sans-serif;font-size:.8125rem;color:#5f6368;color:var(--text-muted)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row .value{flex-grow:1;font-family:Roboto,Arial,sans-serif;display:inline-block;width:345px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;outline:none;padding:5px;margin-left:5px}  .onedev-popup-panel .issue-id-picker-popup .id-details-row .value:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row button.copy{cursor:pointer;color:#1a73e8;color:var(--link)}"],
changeDetection:0});var FO=function(){};FO.prototype.ngOnInit=function(){};FO.prototype.onClick=function(a){a.stopPropagation()};FO.\u0275fac=function(a){return new (a||FO)};
FO.\u0275cmp=r({type:FO,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&K("click",function(c){return b.onClick(c)})},inputs:{id:"id"},decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions",4,"ngIf"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),O(1,YBa,1,2,"b-issue-id-picker",1),E());a&2&&(C("isReady",!!b.id),z(1),C("ngIf",b.id))},dependencies:[lO,bx,EO],encapsulation:2,changeDetection:0});var GO=function(){this.STATUS_FULL_TEXT=vF;this.STATUS_TERSE=rF;this.issue=null;this.isDataLoaded=!1};GO.prototype.ngOnChanges=function(){var a,b;this.status=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.status)||void 0;this.isDataLoaded=null!==this.issue};GO.prototype.convertIssueStatusStrToTag=function(a){return Wk[a]};GO.\u0275fac=function(a){return new (a||GO)};
GO.\u0275cmp=r({type:GO,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[md],decls:4,vars:3,consts:[[3,"isReady"],[3,"class","title",4,"ngIf","ngIfElse"],["noData",""],[3,"title"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),O(1,ZBa,2,5,"div",1),O(2,$Ba,1,0,"ng-template",null,2,$g),E());if(a&2){var c=N(3);C("isReady",b.isDataLoaded);z(1);C("ngIf",b.convertIssueStatusStrToTag(b.status))("ngIfElse",c)}},dependencies:[lO,bx],encapsulation:2,changeDetection:0});var w5b=0,HO=function(a,b){Z.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new vw;this.linkBlurred=new vw;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new T.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+w5b;this.fetchedTeam$=this.providedTeamId$.pipe(Df(),sf(function(d){return"0"!==d}),Qf(function(d){return c.teamsService.getTeam(d)}),B(function(d){return d.getTeamId()!==
c.teamId?(new NE).setTeamId(c.teamId).setName(c.teamId).setDescription(""):d}),yf(function(){return(0,T.of)((new NE).setTeamId(c.teamId).setName(c.teamId).setDescription(""))}));this.isTeamFetched$=this.fetchedTeam$.pipe(B(function(){return!0}),Pf(!1));this.fetchedTeam$.pipe(Rf(this.destroyed$)).subscribe(function(d){c.teamName=d.getName();c.teamDescription=d.getDescription();c.teamLogoUrl="https://moma-teams-photos.corp.google.com/logo/"+d.getTeamId()});w5b++};X(HO,Z);HO.\u0275dir=Z.\u0275dir;
g=HO.prototype;g.ngOnInit=function(){};g.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};g.trackClick=function(a){Wo(Mp.TEAM_CARD,"click",a,1)};g.manageComponentLink=function(){return lsa(this.componentId,"basic")};g.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};HO.\u0275fac=function(a){return new (a||HO)(A(tu),A(cI))};
HO.\u0275cmp=r({type:HO,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[$f,md],decls:21,vars:7,consts:[["role","dialog","aria-label","Team hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"flex-kids-x"],["alt","Team logo"],[1,"flex-kids-y","margin-s-left","margin-s-bottom"],
[1,"type-m"],["svgIcon","supervisor_account_24px",1,"icon-xxs"],[1,"type-s","id-text"],[1,"card-description"],[1,"flex-kids-y","padded-s-top","hovercard-action-container"],["aria-label","View team settings",3,"routerLink","click"],["mat-button","",1,"gmat-button","primary","hovercard-action"],["target","_blank","aria-label","View component settings",3,"href","click"],["svgIcon","pop-out",1,"icon-xxs"],["aria-label","View team association on component",3,"href","click",4,"ngIf"],["aria-label","View team association on component",
3,"href","click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2),F(3,"img",3),D(4,"div",4)(5,"div",5),F(6,"mat-icon",6),P(7),E(),D(8,"div",7),P(9),E()()(),D(10,"p",8),P(11),E(),D(12,"div",9)(13,"a",10),K("click",function(){return b.trackClick("viewTeamSettingsPage")}),D(14,"button",11),P(15,"View team settings"),E()(),D(16,"a",12),K("click",function(){return b.trackClick("viewTeamInMoma")}),D(17,"button",11),P(18,"View team in Moma "),F(19,"mat-icon",13),E()(),O(20,aCa,3,1,"a",14),
E()()());a&2&&(z(3),dg("src",b.teamLogoUrl,ue),z(4),Q(" Team: ",b.teamName," "),z(2),Q("Team ID: ",b.teamId,""),z(2),Bg(b.teamDescription),z(2),yg("routerLink","/teams/",b.teamId,"/edit"),z(3),yg("href","https://moma.corp.google.com/team/",b.teamId,"",ue),z(4),C("ngIf",b.componentId))},dependencies:[bx,OB,XG,NA],styles:[".card-description[_ngcontent-%COMP%]{line-height:1.3em;margin-bottom:.5em;margin-top:.25em;max-height:13em;overflow-x:hidden;overflow-y:scroll;text-overflow:ellipsis;white-space:pre-wrap;word-break:break-word}mat-icon[_ngcontent-%COMP%]{vertical-align:middle}img[_ngcontent-%COMP%]{flex-shrink:0;object-fit:contain;width:24px;height:24px;box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:5px;border-radius:4px}.id-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.hovercard-action-container[_ngcontent-%COMP%]{align-items:flex-start}.hovercard-action-container[_ngcontent-%COMP%]   .hovercard-action[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"]});var x5b=0,IO=function(a){Z.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new T.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+x5b;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Df(),sf(function(c){return"0"!==c}),Qf(function(c){return b.teamsService.getTeam(c)}),B(function(c){return c.getTeamId()!==b.teamId?(new NE).setTeamId(b.teamId).setName(b.teamId).setDescription(""):c}),
yf(function(){return(0,T.of)((new NE).setTeamId(b.teamId).setName(b.teamId).setDescription(""))}));this.isTeamFetched$=this.fetchedTeam$.pipe(B(function(){return!0}),Pf(!1));this.fetchedTeam$.pipe(Rf(this.destroyed$)).subscribe(function(c){b.teamName=c.getName()});x5b++};X(IO,Z);IO.\u0275dir=Z.\u0275dir;IO.prototype.ngOnInit=function(){};IO.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};IO.prototype.trackClick=function(a){Wo(Mp.TEAM_CARD,"click",a,1)};
IO.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};IO.\u0275fac=function(a){return new (a||IO)(A(cI))};
IO.\u0275cmp=r({type:IO,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[$f,md],decls:8,vars:6,consts:[[4,"ngIf","ngIfElse"],["card","onedevHovercard"],[3,"componentId","teamId"],["loading",""],["target","_blank","class","card-anchor keep-focus-ring",3,"href","onedevHovercardTrigger","click",4,"ngIf"],[3,"onedevHovercardTrigger",4,"ngIf"],["target",
"_blank",1,"card-anchor","keep-focus-ring",3,"href","onedevHovercardTrigger","click"],["svgIcon","pop-out",1,"icon-xs"],[3,"onedevHovercardTrigger"],["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(O(0,dCa,3,2,"ng-container",0),R(1,"async"),D(2,"onedev-hovercard",null,1),H(4),F(5,"b-team-card",2),I(),E(),O(6,gCa,2,2,"ng-template",null,3,$g));if(a&2){var c=N(7);C("ngIf","0"!=b.teamId&&S(1,4,b.isTeamFetched$))("ngIfElse",c);z(5);C("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[bx,OB,XI,bJ,HO,hx]});var JO=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};JO.prototype.ngOnChanges=function(){var a,b,c;this.teamId=(null==(a=this.issue)?void 0:null==(b=a.aggregatedData)?void 0:null==(c=b.teamId)?void 0:c.toString())||"";var d,e;this.componentId=String(null==(d=this.issue)?void 0:null==(e=d.snapshot[0])?void 0:e.componentId)||"";this.isDataLoaded=null!==this.issue};JO.\u0275fac=function(a){return new (a||JO)};
JO.\u0275cmp=r({type:JO,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[md],decls:4,vars:3,consts:[[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled",4,"ngIf","ngIfElse"],["noData",""],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),O(1,hCa,1,3,"b-team-display",1),O(2,iCa,1,0,"ng-template",null,2,$g),E());if(a&2){var c=N(3);C("isReady",b.isDataLoaded);
z(1);C("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[lO,bx,IO],encapsulation:2,changeDetection:0});var KO=function(){this.type=this.issue=null;this.isDataLoaded=!1};KO.prototype.ngOnChanges=function(){var a,b;this.type=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.type)||null;this.isDataLoaded=null!==this.issue};KO.\u0275fac=function(a){return new (a||KO)};
KO.\u0275cmp=r({type:KO,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[md],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),O(1,jCa,3,3,"ng-container",1),O(2,kCa,1,0,"ng-template",null,2,$g),E());if(a&2){var c=N(3);C("isReady",b.isDataLoaded);z(1);C("ngIf",b.type)("ngIfElse",c)}},dependencies:[lO,bx,WJ],encapsulation:2,changeDetection:0});var y5b=["theInput"],LO=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new vw;this.commit=new vw};LO.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};LO.\u0275fac=function(a){return new (a||LO)};
LO.\u0275cmp=r({type:LO,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&Sg(y5b,5);if(a&2){var c;Rg(c=Ug())&&(b.input=c.first)}},inputs:{value:"value",placeholder:"placeholder",readonly:"readonly",autoFocus:"autoFocus"},outputs:{valueChange:"valueChange",commit:"commit"},decls:2,vars:7,consts:[["type","text",3,"placeholder","disabled","ngModel","keydown.enter","ngModelChange"],["theInput",""]],template:function(a,b){a&1&&(D(0,"input",0,1),K("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),E());a&2&&(pg("readonly",b.readonly)("override",b.readonly),C("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[yh,Ex,Lx],styles:["input[_ngcontent-%COMP%] {\n      margin-left: 2px;\n      width: 100%;\n    }\n    input[disabled][_ngcontent-%COMP%] {\n      background-color: unset;\n      color: unset;\n      border-color: transparent;\n      padding-left: 8px;\n    }"],changeDetection:0});var z5b=function(a,b){Az.call(this,a);this.directives=a;this.isEqual=b};X(z5b,Az);var $p=function(a,b){var c;return Ze(function(d){if(1==d.nextAddress)return af(d,(0,T.firstValueFrom)(a.directives.changes.pipe(Pf(a.directives.toArray()),B(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),sf(Boolean),uf(3E3))),2);c=d.yieldResult;xz(a,c);ef(d)})};var MO=function(a,b){this.checker=a;this.document=b},A5b=function(a,b,c){if((void 0===c||c)&&a.checker.isFocusable(b))return b;b=b.children||b.childNodes;for(c=0;c<b.length;c++){var d=b[c].nodeType===a.document.ELEMENT_NODE?A5b(a,b[c]):null;if(d)return d}return null};MO.\u0275fac=function(a){return new (a||MO)(n(dy),n(Ci))};MO.\u0275prov=Pc({token:MO,factory:MO.\u0275fac,providedIn:"root"});var NO=function(a,b){this.elementRef=a;this.interactivityHelper=b};NO.prototype.ngOnInit=function(){};NO.prototype.focus=function(){var a=A5b(this.interactivityHelper,this.elementRef.nativeElement,!0);a&&a.focus()};Ei.Object.defineProperties(NO.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});NO.\u0275fac=function(a){return new (a||NO)(A(Yd),A(MO))};NO.\u0275dir=r({type:NO,selectors:[["tr","row",""]],inputs:{row:"row"}});var B5b=["actionsMenuIconButton"],OO=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};OO.prototype.trackByIndex=function(a){return a};OO.prototype.onAction=function(a,b){return Ze(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);ef(c)})};OO.prototype.ngOnInit=function(){};OO.\u0275fac=function(a){return new (a||OO)};
OO.\u0275cmp=r({type:OO,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&Sg(B5b,5);if(a&2){var c;Rg(c=Ug())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:6,vars:4,consts:[["mat-icon-button","","class","gmat-button medium","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[1,"b-actions-menu-panel"],["class","bv2-menu-header",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],
["mat-icon-button","","aria-haspopup","true",1,"gmat-button","medium",3,"matTooltip","matMenuTriggerFor"],["actionsMenuIconButton",""],[1,"icon-s",3,"svgIcon"],[1,"bv2-menu-header"],[4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["class","icon-s",3,"svgIcon",4,"ngIf"],["class","hint",4,"ngIf"],["submenu","matMenu"],[1,"hint"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","ngClass","click",
"mouseup",4,"ngIf"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","ngClass","click","mouseup"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(O(0,lCa,3,4,"button",0),D(1,"mat-menu",null,1)(3,"div",2),O(4,mCa,2,1,"div",3),O(5,ACa,3,2,"ng-container",4),E()());a&2&&(C("ngIf",0<b.menuItems.length),z(4),C("ngIf",b.header),z(1),C("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[iD,
gD,hD,$w,ax,bx,OB,NA,qD],styles:["[_nghost-%COMP%]{display:inline-block}.mat-menu-item[_ngcontent-%COMP%]{align-items:center;display:flex}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:8px}.mat-menu-item[_ngcontent-%COMP%]   .hint[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-left:auto;padding-left:16px}  .b-actions-menu-panel .mat-menu-item[disabled]{pointer-events:auto}\n/*# sourceMappingURL=actions_menu.css.map */"],changeDetection:0});var PO=new Ud("CDK_TABLE");new Ud("text-column-options");var QO=function(a){this.template=a};QO.\u0275fac=function(a){return new (a||QO)(A(Og))};QO.\u0275dir=r({type:QO,selectors:[["","cdkCellDef",""]]});var RO=function(a){this.template=a};RO.\u0275fac=function(a){return new (a||RO)(A(Og))};RO.\u0275dir=r({type:RO,selectors:[["","cdkHeaderCellDef",""]]});var SO=function(a){this.template=a};SO.\u0275fac=function(a){return new (a||SO)(A(Og))};SO.\u0275dir=r({type:SO,selectors:[["","cdkFooterCellDef",""]]});
var C5b=BCa(function(){}),TO=function(a){var b=C5b.call(this)||this;b._table=a;b._stickyEnd=!1;return b};X(TO,C5b);TO.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};TO.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
Ei.Object.defineProperties(TO.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}},stickyEnd:{configurable:!0,enumerable:!0,get:function(){return this._stickyEnd},set:function(a){var b=this._stickyEnd;this._stickyEnd=Kh(a);this._hasStickyChanged=b!==this._stickyEnd}}});TO.\u0275fac=function(a){return new (a||TO)(A(PO,8))};
TO.\u0275dir=r({type:TO,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(Tg(c,QO,5),Tg(c,RO,5),Tg(c,SO,5));if(a&2){var d;Rg(d=Ug())&&(b.cell=d.first);Rg(d=Ug())&&(b.headerCell=d.first);Rg(d=Ug())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Dg([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:TO}]),$f]});
var D5b=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,p(a._columnCssClassName))},UO=function(a,b){D5b.call(this,a,b)};X(UO,D5b);UO.\u0275fac=function(a){return new (a||UO)(A(TO),A(Yd))};UO.\u0275dir=r({type:UO,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[$f]});
var VO=function(a,b){D5b.call(this,a,b);var c;1===(null==(c=a._table)?void 0:c._elementRef.nativeElement.nodeType)&&(a=a._table._elementRef.nativeElement.getAttribute("role"),b.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell"))};X(VO,D5b);VO.\u0275fac=function(a){return new (a||VO)(A(TO),A(Yd))};VO.\u0275dir=r({type:VO,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[$f]});var E5b=function(){this.tasks=[];this.endTasks=[]},F5b=new Ud("_COALESCED_STYLE_SCHEDULER"),WO=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new T.Subject};WO.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};WO.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
WO.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new E5b,this._getScheduleObservable().pipe(Rf(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new E5b;for(var c=m(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=m(b.endTasks);for(d=b.next();!d.done;d=b.next())c=d.value,c()}a._currentSchedule=null}))};
WO.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,T.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ef())};WO.\u0275fac=function(a){return new (a||WO)(n(Yf))};WO.\u0275prov=Pc({token:WO,factory:WO.\u0275fac});var XO=function(a,b){this.template=a;this._differs=b};XO.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};XO.\u0275fac=function(a){return new (a||XO)(A(Og),A(Yw))};XO.\u0275dir=r({type:XO,features:[md]});var G5b=function(){XO.apply(this,arguments)};X(G5b,XO);G5b.\u0275dir=XO.\u0275dir;G5b.\u0275fac=XO.\u0275fac;
var H5b=BCa(G5b),YO=function(a,b,c){a=H5b.call(this,a,b)||this;a._table=c;return a};X(YO,H5b);YO.prototype.ngOnChanges=function(a){H5b.prototype.ngOnChanges.call(this,a)};YO.\u0275fac=function(a){return new (a||YO)(A(Og),A(Yw),A(PO,8))};YO.\u0275dir=r({type:YO,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[$f,md]});var I5b=function(){XO.apply(this,arguments)};X(I5b,XO);I5b.\u0275dir=XO.\u0275dir;
I5b.\u0275fac=XO.\u0275fac;var J5b=BCa(I5b),ZO=function(a,b,c){a=J5b.call(this,a,b)||this;a._table=c;return a};X(ZO,J5b);ZO.prototype.ngOnChanges=function(a){J5b.prototype.ngOnChanges.call(this,a)};ZO.\u0275fac=function(a){return new (a||ZO)(A(Og),A(Yw),A(PO,8))};ZO.\u0275dir=r({type:ZO,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[$f,md]});var $O=function(a,b,c){XO.call(this,a,b);this._table=c};X($O,XO);
$O.\u0275fac=function(a){return new (a||$O)(A(Og),A(Yw),A(PO,8))};$O.\u0275dir=r({type:$O,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[$f]});var bP=function(a){this._viewContainer=a;aP=this};bP.prototype.ngOnDestroy=function(){aP===this&&(aP=null)};var aP=null;bP.\u0275fac=function(a){return new (a||bP)(A(Pg))};bP.\u0275dir=r({type:bP,selectors:[["","cdkCellOutlet",""]]});var cP=function(){};
cP.\u0275fac=function(a){return new (a||cP)};cP.\u0275cmp=r({type:cP,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&tg(0,0)},dependencies:[bP],encapsulation:2});var dP=function(){};dP.\u0275fac=function(a){return new (a||dP)};
dP.\u0275cmp=r({type:dP,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&tg(0,0)},dependencies:[bP],encapsulation:2});var eP=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};eP.\u0275fac=function(a){return new (a||eP)(A(Og))};eP.\u0275dir=r({type:eP,selectors:[["ng-template","cdkNoDataRow",""]]});var K5b=new Ud("CDK_SPL");var L5b=["top","bottom","left","right"],M5b=function(a,b,c,d,e,f,h){e=void 0===e?!0:e;f=void 0===f?!0:f;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=f;this._positionListener=h;this._cachedCellWidths=[];this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},N5b=function(a,b,c){var d=[];b=m(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var f=0;f<e.children.length;f++)d.push(e.children[f])}a._coalescedStyleScheduler.schedule(function(){for(var h=m(d),l=h.next();!l.done;l=h.next())a._removeStickyStyle(l.value,c)})},O5b=function(a,b,c,d,e){e=void 0===e?!0:e;if(b.length&&a._isBrowser&&(c.some(function(G){return G})||d.some(function(G){return G}))){var f=b[0],h=f.children.length,l=a._getCellWidths(f,e),q=a._getStickyStartColumnPositions(l,c),u=a._getStickyEndColumnPositions(l,
d),x=c.lastIndexOf(!0),y=d.indexOf(!0);a._coalescedStyleScheduler.schedule(function(){var G="rtl"===a.direction,J=G?"right":"left";G=G?"left":"right";for(var M=m(b),V=M.next();!V.done;V=M.next()){V=V.value;for(var U=0;U<h;U++){var W=V.children[U];c[U]&&a._addStickyStyle(W,J,q[U],U===x);d[U]&&a._addStickyStyle(W,G,u[U],U===y)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===x?[]:l.slice(0,x+1).map(function(ba,pa){return c[pa]?ba:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
y?[]:l.slice(y).map(function(ba,pa){return d[pa+y]?ba:null}).reverse()}))})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},P5b=function(a,b,c,d){if(a._isBrowser){var e="bottom"===d?b.slice().reverse():b,f="bottom"===d?c.slice().reverse():c,h=[],l=[],q=[];for(c=b=0;b<e.length;b++)if(f[b]){h[b]=c;var u=e[b];q[b]=a._isNativeHtmlTable?Array.from(u.children):[u];u=u.getBoundingClientRect().height;c+=u;l[b]=u}var x=
f.lastIndexOf(!0);a._coalescedStyleScheduler.schedule(function(){for(var y=0;y<e.length;y++)if(f[y])for(var G=h[y],J=y===x,M=m(q[y]),V=M.next();!V.done;V=M.next())a._addStickyStyle(V.value,d,G,J);if("top"===d){var U;null==(U=a._positionListener)||U.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var W;null==(W=a._positionListener)||W.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}})}},Q5b=function(a,b,c){if(a._isNativeHtmlTable){var d=b.querySelector("tfoot");a._coalescedStyleScheduler.schedule(function(){c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1)})}};g=M5b.prototype;g._removeStickyStyle=function(a,b){for(var c=m(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);L5b.some(function(e){return-1===b.indexOf(e)&&a.style[e]})?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))};
g._addStickyStyle=function(a,b,c,d){a.classList.add(this._stickCellCss);d&&a.classList.add(this._borderCellCss[b]);a.style[b]=c+"px";a.style.zIndex=this._getCalculatedZIndex(a);this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")};g._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=m(L5b),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
g._getCellWidths=function(a,b){if(void 0!==b&&!b&&this._cachedCellWidths.length)return this._cachedCellWidths;b=[];a=a.children;for(var c=0;c<a.length;c++)b.push(a[c].getBoundingClientRect().width);return this._cachedCellWidths=b};g._getStickyStartColumnPositions=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++)b[e]&&(c[e]=d,d+=a[e]);return c};g._getStickyEndColumnPositions=function(a,b){for(var c=[],d=0,e=a.length;0<e;e--)b[e]&&(c[e]=d,d+=a[e]);return c};var R5b=[[["caption"]],[["colgroup"],["col"]]],fP=function(a,b){this.viewContainer=a;this.elementRef=b};fP.\u0275fac=function(a){return new (a||fP)(A(Pg),A(Yd))};fP.\u0275dir=r({type:fP,selectors:[["","rowOutlet",""]]});var gP=function(a,b){this.viewContainer=a;this.elementRef=b};gP.\u0275fac=function(a){return new (a||gP)(A(Pg),A(Yd))};gP.\u0275dir=r({type:gP,selectors:[["","headerRowOutlet",""]]});var hP=function(a,b){this.viewContainer=a;this.elementRef=b};
hP.\u0275fac=function(a){return new (a||hP)(A(Pg),A(Yd))};hP.\u0275dir=r({type:hP,selectors:[["","footerRowOutlet",""]]});var iP=function(a,b){this.viewContainer=a;this.elementRef=b};iP.\u0275fac=function(a){return new (a||iP)(A(Pg),A(Yd))};iP.\u0275dir=r({type:iP,selectors:[["","noDataRowOutlet",""]]});
var jP=function(a,b,c,d,e,f,h,l,q,u,x,y){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=l;this._coalescedStyleScheduler=q;this._viewportRuler=u;this._stickyPositioningListener=x;this._ngZone=y;this._onDestroy=new T.Subject;this._columnDefsByName=new Map;this._customColumnDefs=new Set;this._customRowDefs=new Set;this._customHeaderRowDefs=new Set;this._customFooterRowDefs=new Set;this._forceRecalculateCellWidths=this._stickyColumnStylesNeedReset=
this._footerRowDefChanged=this._headerRowDefChanged=!0;this._cachedRenderRowsMap=new Map;this.stickyCssClass="cdk-table-sticky";this.needsPositionStickyOnElement=!0;this._fixedLayout=this._multiTemplateDataRows=this._isShowingNoDataRow=!1;this.contentChanged=new vw;d||this._elementRef.nativeElement.setAttribute("role","table");this._document=f;this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName};
jP.prototype.ngOnInit=function(){var a=this;this._setupStickyStyler();this._isNativeHtmlTable&&this._applyNativeTableSections();this._dataDiffer=this._differs.find([]).create(function(b,c){return a.trackBy?a.trackBy(c.dataIndex,c.data):c});this._viewportRuler.change().pipe(Rf(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};
jP.prototype.ngAfterContentChecked=function(){this._cacheRowDefs();this._cacheColumnDefs();var a=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||a;this._forceRecalculateCellWidths=a;this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1);this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1);this.dataSource&&0<this._rowDefs.length&&
!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&kP(this);this._checkStickyStates()};
jP.prototype.ngOnDestroy=function(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(a){a.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();this._onDestroy.complete();yla(this.dataSource)&&this.dataSource.disconnect(this)};
jP.prototype.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;wIb(b,c,function(d,e,f){return a._getEmbeddedViewArgs(d.item,f)},function(d){1===d.operation&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();kFb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&IEb()?this._ngZone.onStable.pipe(Ef(),
Rf(this._onDestroy)).subscribe(function(){kP(a)}):kP(this)}else this._updateNoDataRow();this.contentChanged.next()};
var S5b=function(a){var b=a._getRenderedRows(a._headerRowOutlet),c=a._elementRef.nativeElement.querySelector("thead");c&&(c.style.display=b.length?"":"none");c=a._headerRowDefs.map(function(d){return d.sticky});N5b(a._stickyStyler,b,["top"]);P5b(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},T5b=function(a){var b=a._getRenderedRows(a._footerRowOutlet),c=a._elementRef.nativeElement.querySelector("tfoot");c&&(c.style.display=b.length?"":"none");c=a._footerRowDefs.map(function(d){return d.sticky});
N5b(a._stickyStyler,b,["bottom"]);P5b(a._stickyStyler,b,c,"bottom");Q5b(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},kP=function(a){var b=a._getRenderedRows(a._headerRowOutlet),c=a._getRenderedRows(a._rowOutlet),d=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable&&!a._fixedLayout||a._stickyColumnStylesNeedReset)N5b(a._stickyStyler,[].concat(p(b),p(c),p(d)),["left","right"]),a._stickyColumnStylesNeedReset=!1;b.forEach(function(e,
f){a._addStickyColumnStyles([e],a._headerRowDefs[f])});a._rowDefs.forEach(function(e){for(var f=[],h=0;h<c.length;h++)a._renderRows[h].rowDef===e&&f.push(c[h]);a._addStickyColumnStyles(f,e)});d.forEach(function(e,f){a._addStickyColumnStyles([e],a._footerRowDefs[f])});Array.from(a._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})};g=jP.prototype;
g._getAllRenderRows=function(){var a=[],b=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var c=0;c<this._data.length;c++){var d=this._data[c],e=this._getRenderRowsForData(d,c,b.get(d));this._cachedRenderRowsMap.has(d)||this._cachedRenderRowsMap.set(d,new WeakMap);for(d=0;d<e.length;d++){var f=e[d],h=this._cachedRenderRowsMap.get(f.data);h.has(f.rowDef)?h.get(f.rowDef).push(f):h.set(f.rowDef,[f]);a.push(f)}}return a};
g._getRenderRowsForData=function(a,b,c){return this._getRowDefs(a,b).map(function(d){var e=c&&c.has(d)?c.get(d):[];return e.length?(d=e.shift(),d.dataIndex=b,d):{data:a,rowDef:d,dataIndex:b}})};g._cacheColumnDefs=function(){var a=this;this._columnDefsByName.clear();CCa(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(b){a._columnDefsByName.has(b.name);a._columnDefsByName.set(b.name,b)})};
g._cacheRowDefs=function(){this._headerRowDefs=CCa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=CCa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=CCa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
g._renderUpdatedColumns=function(){var a=function(d,e){return d||!!e._columnsDiffer.diff(e.columns)},b=this._rowDefs.reduce(a,!1);b&&this._forceRenderDataRows();var c=this._headerRowDefs.reduce(a,!1);c&&this._forceRenderHeaderRows();(a=this._footerRowDefs.reduce(a,!1))&&this._forceRenderFooterRows();return b||c||a};
g._switchDataSource=function(a){this._data=[];yla(this.dataSource)&&this.dataSource.disconnect(this);this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null);a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear());this._dataSource=a};
g._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;yla(this.dataSource)?b=this.dataSource.connect(this):(0,T.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,T.of)(this.dataSource));this._renderChangeSubscription=b.pipe(Rf(this._onDestroy)).subscribe(function(c){a._data=c||[];a.renderRows()})}};
g._forceRenderHeaderRows=function(){var a=this;0<this._headerRowOutlet.viewContainer.length&&this._headerRowOutlet.viewContainer.clear();this._headerRowDefs.forEach(function(b,c){return a._renderRow(a._headerRowOutlet,b,c)});S5b(this)};g._forceRenderFooterRows=function(){var a=this;0<this._footerRowOutlet.viewContainer.length&&this._footerRowOutlet.viewContainer.clear();this._footerRowDefs.forEach(function(b,c){return a._renderRow(a._footerRowOutlet,b,c)});T5b(this)};
g._addStickyColumnStyles=function(a,b){var c=this,d=Array.from(b.columns||[]).map(function(e){return c._columnDefsByName.get(e)});b=d.map(function(e){return e.sticky});d=d.map(function(e){return e.stickyEnd});O5b(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};g._getRenderedRows=function(a){for(var b=[],c=0;c<a.viewContainer.length;c++){var d=a.viewContainer.get(c);b.push(d.rootNodes[0])}return b};
g._getRowDefs=function(a,b){if(1==this._rowDefs.length)return[this._rowDefs[0]];var c=[];if(this.multiTemplateDataRows)c=this._rowDefs.filter(function(e){return!e.when||e.when(b,a)});else{var d=this._rowDefs.find(function(e){return e.when&&e.when(b,a)})||this._defaultRowDef;d&&c.push(d)}return c};g._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
g._renderRow=function(a,b,c,d){d=void 0===d?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};g._renderCellTemplateForItem=function(a,b){a=m(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,aP&&aP._viewContainer.createEmbeddedView(c,b);this._changeDetectorRef.markForCheck()};
g._updateRowIndexContext=function(){for(var a=this._rowOutlet.viewContainer,b=0,c=a.length;b<c;b++){var d=a.get(b).context;d.count=c;d.first=0===b;d.last=b===c-1;d.even=0===b%2;d.odd=!d.even;this.multiTemplateDataRows?(d.dataIndex=this._renderRows[b].dataIndex,d.renderIndex=b):d.index=this._renderRows[b].dataIndex}};
g._getCellTemplates=function(a){var b=this;return a&&a.columns?Array.from(a.columns,function(c){c=b._columnDefsByName.get(c);return a instanceof YO?c.headerCell.template:a instanceof ZO?c.footerCell.template:c.cell.template}):[]};
g._applyNativeTableSections=function(){for(var a=this._document.createDocumentFragment(),b=m([{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}]),c=b.next();!c.done;c=b.next()){var d=c.value;c=this._document.createElement(d.tag);c.setAttribute("role","rowgroup");d=m(d.outlets);for(var e=d.next();!e.done;e=d.next())c.appendChild(e.value.elementRef.nativeElement);a.appendChild(c)}this._elementRef.nativeElement.appendChild(a)};
g._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();this.renderRows()};g._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&S5b(this);this._footerRowDefs.reduce(a,!1)&&T5b(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,kP(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new M5b(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener);(this._dir?this._dir.change:(0,T.of)()).pipe(Rf(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;kP(a)})};g._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
g._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=0===this._rowOutlet.viewContainer.length;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;b?(a=c.createEmbeddedView(a.templateRef),c=a.rootNodes[0],1===a.rootNodes.length&&(null==c?void 0:c.nodeType)===this._document.ELEMENT_NODE&&(c.setAttribute("role","row"),c.classList.add("cdk-no-data-row"))):c.clear();this._isShowingNoDataRow=b}}};
Ei.Object.defineProperties(jP.prototype,{trackBy:{configurable:!0,enumerable:!0,get:function(){return this._trackByFn},set:function(a){this._trackByFn=a}},dataSource:{configurable:!0,enumerable:!0,get:function(){return this._dataSource},set:function(a){this._dataSource!==a&&this._switchDataSource(a)}},multiTemplateDataRows:{configurable:!0,enumerable:!0,get:function(){return this._multiTemplateDataRows},set:function(a){this._multiTemplateDataRows=Kh(a);this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),kP(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=Kh(a);this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});jP.\u0275fac=function(a){return new (a||jP)(A(Yw),A(Vw),A(Yd),Id("role"),A(Bz,8),A(Ci),A(cy),A(xIb),A(F5b),A(Pz),A(K5b,12),A(Yf,8))};
jP.\u0275cmp=r({type:jP,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(Tg(c,eP,5),Tg(c,TO,5),Tg(c,$O,5),Tg(c,YO,5),Tg(c,ZO,5));if(a&2){var d;Rg(d=Ug())&&(b._noDataRow=d.first);Rg(d=Ug())&&(b._contentColumnDefs=d);Rg(d=Ug())&&(b._contentRowDefs=d);Rg(d=Ug())&&(b._contentHeaderRowDefs=d);Rg(d=Ug())&&(b._contentFooterRowDefs=d)}},viewQuery:function(a,b){a&1&&(Sg(fP,7),Sg(gP,7),Sg(hP,7),Sg(iP,7));if(a&2){var c;Rg(c=Ug())&&(b._rowOutlet=c.first);Rg(c=Ug())&&(b._headerRowOutlet=
c.first);Rg(c=Ug())&&(b._footerRowOutlet=c.first);Rg(c=Ug())&&(b._noDataRowOutlet=c.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&pg("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Dg([{provide:PO,useExisting:jP},{provide:xIb,useClass:vIb},{provide:F5b,useClass:WO},{provide:K5b,
useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(wg(R5b),xg(0),xg(1,1),tg(2,0)(3,1)(4,2)(5,3))},dependencies:[fP,gP,hP,iP],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var lP=function(){};lP.\u0275fac=function(a){return new (a||lP)};lP.\u0275mod=fd({type:lP});lP.\u0275inj=Qc({imports:[Tz]});var mP=function(){QO.apply(this,arguments)};X(mP,QO);mP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(mP)))(b||mP)}}();mP.\u0275dir=r({type:mP,selectors:[["","matCellDef",""]],features:[Dg([{provide:QO,useExisting:mP}]),$f]});var nP=function(){RO.apply(this,arguments)};X(nP,RO);nP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(nP)))(b||nP)}}();nP.\u0275dir=r({type:nP,selectors:[["","matHeaderCellDef",""]],features:[Dg([{provide:RO,useExisting:nP}]),$f]});
var oP=function(){return TO.apply(this,arguments)||this};X(oP,TO);oP.prototype._updateColumnCssClassName=function(){TO.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};Ei.Object.defineProperties(oP.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});oP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(oP)))(b||oP)}}();
oP.\u0275dir=r({type:oP,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Dg([{provide:TO,useExisting:oP},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:oP}]),$f]});var pP=function(){UO.apply(this,arguments)};X(pP,UO);pP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(pP)))(b||pP)}}();pP.\u0275dir=r({type:pP,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[$f]});
var qP=function(){VO.apply(this,arguments)};X(qP,VO);qP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(qP)))(b||qP)}}();qP.\u0275dir=r({type:qP,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[$f]});var rP=function(){return YO.apply(this,arguments)||this};X(rP,YO);rP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(rP)))(b||rP)}}();rP.\u0275dir=r({type:rP,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Dg([{provide:YO,useExisting:rP}]),$f]});var sP=function(){$O.apply(this,arguments)};X(sP,$O);sP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(sP)))(b||sP)}}();
sP.\u0275dir=r({type:sP,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Dg([{provide:$O,useExisting:sP}]),$f]});var tP=function(){};X(tP,cP);tP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(tP)))(b||tP)}}();
tP.\u0275cmp=r({type:tP,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Dg([{provide:cP,useExisting:tP}]),$f],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&tg(0,0)},dependencies:[bP],encapsulation:2});var uP=function(){};X(uP,dP);uP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(uP)))(b||uP)}}();
uP.\u0275cmp=r({type:uP,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Dg([{provide:dP,useExisting:uP}]),$f],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&tg(0,0)},dependencies:[bP],encapsulation:2});var U5b=[[["caption"]],[["colgroup"],["col"]]],vP=function(){jP.apply(this,arguments);this.stickyCssClass="mat-table-sticky";this.needsPositionStickyOnElement=!1};X(vP,jP);vP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(vP)))(b||vP)}}();
vP.\u0275cmp=r({type:vP,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(a,b){a&2&&pg("mat-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Dg([{provide:xIb,useClass:vIb},{provide:jP,useExisting:vP},{provide:PO,useExisting:vP},{provide:F5b,useClass:WO},{provide:K5b,useValue:null}]),$f],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",
""]],template:function(a){a&1&&(wg(U5b),xg(0),xg(1,1),tg(2,0)(3,1)(4,2)(5,3))},dependencies:[fP,gP,hP,iP],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],
encapsulation:2});var nDa=function(a){return{cl:a}},V5b=function(){return["focus-indicator","load-more-children"]},wP=Mp.EXPERIMENTAL_HOMEPAGE,W5b={type:"data",id:"",issue$:T.NEVER,hasChildren$:T.NEVER,ancestorChain:new QN([]),level:0,expandedCount:0},xP=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M){Z.call(this);var V=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=f;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=u;this.cdr=x;this.expandableIssuesTableModelFactory=
y;this.liveAnnouncer=G;this.clearcut=J;this.paths=M;this.quickFilters=new hK;this.tableColumns="focus-indicator drag-handle title type id assignee status cls menu".split(" ");this.options={};this.trackBy=function(U,W){return W.ancestorChain.hash()+W.type};this.isLoadMoreRow=function(U,W){return"load-more-children"===W.type};this.isDataRow=function(U,W){return"data"===W.type};this.isDraftRow=function(U,W){return"draft-issue"===W.type};this.selectionModel=new hO;this.hasLogged=!1;this.correctedDisplayedRows=
new Vg;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(U){var W;return(null!=(W=ep(V.rows$))?W:[]).findIndex(function(ba){return Sp(ba,U)})};this.showError=function(U){return function(W){oG(V.butterBar,U+". "+(Cn(W)?Dn(W):W))}};this.subscriptions.add(cO(l,function(){return V.tableModel.draftRows.isSaving()||V.issueRelationshipsFridge.isSaving()},!1))};X(xP,Z);xP.\u0275dir=Z.\u0275dir;
var eDa=function(a,b){if(null==b)return!1;var c,d;return!!(null==(c=a.projectData)?0:null==(d=c.bugToPendingFixCl)?0:d.has(b))};g=xP.prototype;g.isClosed=function(a){if(this.options.showPendingFixCls){var b=eDa(this,null==a?void 0:a.issueId);return nn(a)||b}return nn(a)};g.getAssigneeString=function(a){var b,c;return Bp(Kj(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};g.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};
g.ldapOnly=function(a){return null==a?void 0:a.split("@")[0]};
g.ngOnInit=function(){var a=this;this.tableModel=this.expandableIssuesTableModelFactory.create(this.rootIssueId,this.quickFilters,this.saveExpansionAtKey);this.destroyed$.subscribe(function(){a.tableModel.ngOnDestroy()});this.rows$=(0,T.scheduled)([this.tableModel.rows$,(0,T.of)([W5b])],T.asyncScheduler).pipe(mf(1),Nf({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Qf(function(c){return(0,T.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Af(0,T.asapScheduler));
this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));this.rowReorderingModel=new fO(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?a.displayAllSiblings(d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,TN(c,d)||UN(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return Ze(function(e){if(1==e.nextAddress)return tXb(a.issueRelationshipsFridge,c.insertAt,c.movedRows.map(function(f){return{issueId:f.nodeId,parentId:f.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),w4b(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),af(e,(0,T.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===
c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===c.insertAt.parentId})}),sf(Boolean),uf(6E4))),2);d=e.yieldResult;d.focus();ef(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
g.trackRelationsData=function(a){if(!this.hasLogged&&0!==a.length){this.hasLogged=!0;var b=a.length,c=0===document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length;BH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));Lp(this.analytics,wP,"view-relations","visible-count",b);c&&(a=a.filter(function(d){var e;return null!=(null==d?void 0:null==(e=d.snapshot[0])?
void 0:e.effort)}).length/b,BH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),Lp(this.analytics,wP,"view-relations","ratio-estimated",a))}};
g.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,T.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(Rf(this.destroyed$)).subscribe(function(b){b=m(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);Qg(a.correctedDisplayedRows)});this.focusManager=wz(new z5b(this.correctedDisplayedRows,
Sp))};g.toggleExpansion=function(a){UN(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};g.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(Lp(this.analytics,wP,"navigate","to-child-issue"),b=Hn(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?op(this.domSafe,b):Ht(this.router,b))};
g.displayAllSiblings=function(a){var b=this,c;return Ze(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),UN(b.tableModel.expansion,a.ancestorChain.parentChain,500),af(d,Up(),2);b.focusManager.setActiveItem(c);ef(d)})};g.getMenuItemsForDraft=function(a){var b=this;return[{type:"action",label:"Continue on the create issue page",action:function(c){return b.navigateToCreateIssuePage(c,a)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
g.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Go to issue",action:function(f){b.navigateToIssue(f,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!ep(a.hasChildren$),action:function(){var f=Kn({q:"parentid:"+a.id});b.domSafe.openInNewTab(f)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){return Ze(function(f){if(1==f.nextAddress)return af(f,Up(),2);b.createChildIssue(a);
ef(f)})},title:"Create child",icon:"add",hintText:"Shift+Enter"},{type:"action",label:"Add child",action:function(){b.addExistingChild(a)},title:"Add existing issue as child",icon:"add"},{type:"action",label:"Create sibling",action:function(){return Ze(function(f){if(1==f.nextAddress)return af(f,Up(),2);b.createSiblingIssue(a);ef(f)})},title:"Create sibling",icon:"add",hintText:"Enter"},{type:"submenu",label:"Reorder",icon:"reorder_24px",items:[{type:"action",label:"Move up",action:function(){b.rowReorderingModel.moveUp(b.rowDirectiveMap.get(a.ancestorChain.hash()))},
title:"Move up",icon:"arrow-up",hintText:"shift+ctrl+up"},{type:"action",label:"Move down",action:function(){b.rowReorderingModel.moveDown(b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Move down",icon:"arrow-down",hintText:"shift+ctrl+down"},{type:"action",label:"Indent",action:function(){W4b(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){V4b(b.rowReorderingModel,
b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Unindent",icon:"arrow-left",hintText:"shift+ctrl+left"}]},{type:"action",label:"Unlink from parent",action:function(){b.unlinkFromParent(a)},title:"Unlink from parent",icon:"link-off"},{type:"action",label:"Archive",action:function(){b.archiveRow(a)},title:"Archive issue",icon:"archive_24px"}],d,e;return null!=(e=null==(d=this.modifyMenuItems)?void 0:d.call(this,a,c))?e:c};
g.saveDraft=function(a){var b=this,c,d;return Ze(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return af(e,(0,T.firstValueFrom)(b.displayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),sf(Boolean),uf(6E4))),2)}c=e.yieldResult;Sp(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ef(e)})};
g.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;Sp(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};g.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};g.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
g.addExistingChild=function(a){this.tableModel.addExistingChild(a)};g.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};g.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
g.onRowKeydown=function(a,b){var c=this,d;return Ze(function(e){if(1==e.nextAddress){c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);switch(b.keyCode){case 39:case 37:if(b.ctrlKey)return e.return();"data"===a.type&&(c.toggleExpansion(a),b.preventDefault());"load-more-children"===a.type&&(c.displayAllSiblings(a),b.preventDefault());break;case 13:return e.jumpTo(2)}return e.jumpTo(0)}if(4!=e.nextAddress)return"BUTTON"!==b.target.tagName||b.shiftKey||b.metaKey?af(e,c.tableModel.isOneLineCreationSupported(),
4):e.return();d=e.yieldResult;if(!d)return e.return();"data"===a.type&&(b.shiftKey?c.createChildIssue(a):c.createSiblingIssue(a));"draft-issue"===a.type&&a.saving&&c.createSiblingIssue(a);b.preventDefault();return e.jumpTo(0)})};
g.navigateToCreateIssuePage=function(a,b){var c=this,d,e,f,h,l,q,u,x;return Ze(function(y){if(1==y.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?y.return():af(y,(0,T.firstValueFrom)(b.issue$),2);d=y.yieldResult;u={};x=c.paths.createIssue((u.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),u.parentIssueId=b.ancestorChain.parentChain.nodeId,u.redirectUrl=In(c.rootIssueId),u.afterIssueId=b.afterIssueId,u.title=b.title,u.priority=null!=
(l=null==(f=d)?void 0:f.snapshot[0].priority)?l:void 0,u.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,u));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(x),y.return();if(a&&a.shiftKey)return c.cancelDraft(b),op(c.domSafe,x),y.return();Ht(c.router,x);ef(y)})};
g.archiveRow=function(a){var b=this,c,d;Ze(function(e){if(1==e.nextAddress)return Lp(b.analytics,wP,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),af(e,(0,T.firstValueFrom)(b.rows$.pipe(B(function(f){return!f.find(function(h){return"data"===h.type&&h.id===a.id})}),sf(Boolean),uf(6E4))),2);Sp(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ef(e)})};
g.unlinkFromParent=function(a){var b=this,c,d;return Ze(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;Lp(b.analytics,wP,"update","unlink-child-issue");return af(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){nG(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
Ei.Object.defineProperties(xP.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.quickFilters.reset(a)},get:function(){return[].concat(p(this.quickFilters))}},model:{configurable:!0,enumerable:!0,get:function(){return this.tableModel}}});xP.\u0275fac=function(a){return new (a||xP)(A(XH),A(WG),A(mG),A(LH),A(aO),A(Yf),A(Yd),A(bO),A(JI),A(gO),A(HH),A(XN),A(mz),A(zH),A(cH))};
xP.\u0275cmp=r({type:xP,selectors:[["expandable-issues-table"]],viewQuery:function(a,b){a&1&&Sg(NO,5);if(a&2){var c;Rg(c=Ug())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters",saveExpansionAtKey:"saveExpansionAtKey",projectData:"projectData",modifyMenuItems:"modifyMenuItems",tableColumns:"tableColumns",options:"options"},features:[Dg([HH]),$f],decls:49,vars:10,consts:[["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","focus-indicator"],
["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef","cls"],["matColumnDef","save"],["mat-cell",
"","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],[4,"ngIf"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus","",3,"row","keydown",
"keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],[3,"ngSwitch"],[4,"ngSwitchCase"],
[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["normalStatusChip",""],["target","_blank",1,"chippy","status-4","pending-fix-msg",3,"href","matTooltip"],["buttonLabel","More options",3,"menuItems","click"],[3,"isReady",4,"ngIf"],[3,"isReady"],["target","_blank",1,"hover-link","nowrap",3,"href","matTooltip","click"],["mode","relativepast",3,"paddingLeftPx","timestamp"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf",
"ngIfElse"],["saving",""],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"value","readonly","valueChange","commit"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row","",4,"matHeaderRowDef"],
["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace","focusin"]],template:function(a,b){a&1&&(D(0,"table",0),H(1,1),O(2,DCa,1,0,"th",2),O(3,ECa,2,0,"td",3),I(),H(4,4),O(5,FCa,1,0,"th",2),O(6,GCa,3,0,"td",5),I(),H(7,6),O(8,HCa,2,0,"th",2),O(9,ICa,2,1,"td",7),I(),H(10,8),O(11,JCa,2,0,"th",2),
O(12,KCa,2,0,"td",7),I(),H(13,9),O(14,LCa,2,0,"th",2),O(15,MCa,4,8,"td",7),I(),H(16,10),O(17,NCa,2,0,"th",2),O(18,OCa,3,3,"td",7),I(),H(19,11),O(20,PCa,2,0,"th",2),O(21,$Ca,6,4,"td",7),I(),H(22,12),O(23,aDa,2,0,"th",2),O(24,fDa,4,2,"td",7),I(),H(25,13),O(26,gDa,2,0,"th",2),O(27,hDa,3,3,"td",7),I(),H(28,14),O(29,iDa,1,0,"th",2),O(30,jDa,2,1,"td",7),I(),H(31,15),O(32,lDa,2,0,"th",2),O(33,pDa,2,1,"td",7),I(),H(34,16),O(35,qDa,1,0,"th",2),O(36,tDa,4,2,"td",17),I(),H(37,18),O(38,uDa,6,7,"td",19),I(),H(39,
20),O(40,vDa,2,0,"th",2),O(41,wDa,7,6,"td",19),I(),O(42,yDa,2,1,"ng-container",21),O(43,ADa,3,12,"tr",22),O(44,BDa,1,4,"tr",23),O(45,CDa,1,2,"tr",24),E(),F(46,"div",25)(47,"div",26)(48,"div",27));a&2&&(C("dataSource",b.rows$)("trackBy",b.trackBy),z(42),C("ngIf",!b.options.hideHeader),z(1),C("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),C("matRowDefColumns",Fg(9,V5b))("matRowDefWhen",b.isLoadMoreRow),z(1),C("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},
dependencies:[iy,bx,cx,dx,ex,OB,vP,nP,rP,oP,mP,sP,pP,qP,tP,uP,qD,OO,lO,ZN,UL,NO,oO,pO,FO,GO,JO,KO,LO,zM,vN,pL,kN,hx,YN],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-header-cell.mat-column-title[_ngcontent-%COMP%]{padding-left:36px;min-width:250px}.insertion-bar[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);display:none;height:2px;pointer-events:none;position:absolute}.insertion-bar[_ngcontent-%COMP%]::before{content:"";border-bottom:5px solid rgba(0,0,0,0);border-left:8px solid;border-left-color:#1a73e8;border-left-color:var(--primary-btn-bg);border-top:5px solid rgba(0,0,0,0);display:block;height:0;position:relative;top:-4px;width:0}a.pending-fix-msg[_ngcontent-%COMP%], [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:hover, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:focus, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:active, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]{color:var(--b-status-fixed-text)}.placeholder[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);border-radius:4px;box-sizing:border-box;display:none;opacity:.7;pointer-events:none;position:absolute;top:0;width:100%}.drag-preview[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--inverse-text);border-radius:4px;display:none;padding:7px 13px;position:absolute}tr.dragging[_ngcontent-%COMP%], tr.nodrop[_ngcontent-%COMP%]{opacity:.5}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{display:block;position:relative;padding-bottom:5px;overflow-y:hidden;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}\n/*# sourceMappingURL=expandable_issues_table.css.map */'],
changeDetection:0});var yP=function(){};yP.\u0275fac=function(a){return new (a||yP)};yP.\u0275mod=fd({type:yP});yP.\u0275inj=Qc({imports:[BD,lE,px]});var zP=function(){this.isDataLoaded=!1};zP.prototype.ngOnChanges=function(){var a;if(null==(a=this.issue)?0:a.aggregatedData){var b;this.createdTime=(null==(b=this.issue)?NaN:b.aggregatedData.createdTimeMicros)/1E3}this.isDataLoaded=null!=this.issue};zP.\u0275fac=function(a){return new (a||zP)};
zP.\u0275cmp=r({type:zP,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue"},features:[md],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],["mode","datetime",3,"timestamp",4,"ngIf","ngIfElse"],["noData",""],["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),O(1,DDa,1,1,"b-formatted-date-time",1),E(),O(2,EDa,1,0,"ng-template",null,2,$g));if(a&2){var c=N(3);C("isReady",b.isDataLoaded);z(1);C("ngIf",b.createdTime)("ngIfElse",c)}},dependencies:[lO,
bx,UL],encapsulation:2,changeDetection:0});var AP=function(){this.issue=null;this.isDataLoaded=!1};AP.prototype.ngOnChanges=function(){var a;this.reporter=Bp(Kj(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};AP.\u0275fac=function(a){return new (a||AP)};
AP.\u0275cmp=r({type:AP,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[md],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),O(1,FDa,2,2,"b-person-hovercard",1),O(2,GDa,1,0,"ng-template",null,2,$g),E());if(a&2){var c=N(3);C("isReady",b.isDataLoaded);z(1);C("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[lO,bx,pL],encapsulation:2,changeDetection:0});var X5b=$h("indicator",[ci("active-asc, asc",bi({transform:"translateY(0px)"})),ci("active-desc, desc",bi({transform:"translateY(10px)"})),di("active-asc <=> active-desc",ai("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Y5b=$h("leftPointer",[ci("active-asc, asc",bi({transform:"rotate(-45deg)"})),ci("active-desc, desc",bi({transform:"rotate(45deg)"})),di("active-asc <=> active-desc",ai("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Z5b=$h("rightPointer",[ci("active-asc, asc",bi({transform:"rotate(45deg)"})),ci("active-desc, desc",
bi({transform:"rotate(-45deg)"})),di("active-asc <=> active-desc",ai("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),$5b=$h("arrowOpacity",[ci("desc-to-active, asc-to-active, active",bi({opacity:1})),ci("desc-to-hint, asc-to-hint, hint",bi({opacity:.54})),ci("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",bi({opacity:0})),di("* => asc, * => desc, * => active, * => hint, * => void",ai("0ms")),di("* <=> *",ai("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),a6b=$h("arrowPosition",[di("* => desc-to-hint, * => desc-to-active",
ai("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[bi({transform:"translateY(-25%)"}),bi({transform:"translateY(0)"})]})),di("* => hint-to-desc, * => active-to-desc",ai("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[bi({transform:"translateY(0)"}),bi({transform:"translateY(25%)"})]})),di("* => asc-to-hint, * => asc-to-active",ai("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[bi({transform:"translateY(25%)"}),bi({transform:"translateY(0)"})]})),di("* => hint-to-asc, * => active-to-asc",
ai("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[bi({transform:"translateY(0)"}),bi({transform:"translateY(-25%)"})]})),ci("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",bi({transform:"translateY(0)"})),ci("hint-to-desc, active-to-desc, desc",bi({transform:"translateY(-25%)"})),ci("hint-to-asc, active-to-asc, asc",bi({transform:"translateY(25%)"}))]),b6b=$h("allowChildren",[di("* <=> *",[fi("@*",ei())])]);var BP=function(){this.changes=new T.Subject};BP.\u0275fac=function(a){return new (a||BP)};BP.\u0275prov=Pc({token:BP,factory:BP.\u0275fac,providedIn:"root"});var c6b={provide:BP,deps:[[new Cv,new Dv,BP]],useFactory:function(a){return a||new BP}};var d6b=new Ud("MAT_SORT_DEFAULT_OPTIONS"),e6b=Dla(Hi(function(){})),CP=function(a){var b=e6b.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new T.Subject;b.start="asc";b._direction="";b.sortChange=new vw;return b};X(CP,e6b);g=CP.prototype;g.register=function(a){this.sortables.set(a.id,a)};g.deregister=function(a){this.sortables.delete(a.id)};
g.sort=function(a){if(this.active!=a.id)this.active=a.id,this.direction=a.start?a.start:this.start;else{if(a){var b,c,d,e=null!=(d=null!=(c=null==a?void 0:a.disableClear)?c:this.disableClear)?d:!(null==(b=this._defaultOptions)||!b.disableClear);b=["asc","desc"];"desc"==(a.start||this.start)&&b.reverse();e||b.push("");a=b.indexOf(this.direction)+1;a>=b.length&&(a=0);a=b[a]}else a="";this.direction=a}this.sortChange.emit({active:this.active,direction:this.direction})};g.ngOnInit=function(){this._markInitialized()};
g.ngOnChanges=function(){this._stateChanges.next()};g.ngOnDestroy=function(){this._stateChanges.complete()};Ei.Object.defineProperties(CP.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}},disableClear:{configurable:!0,enumerable:!0,get:function(){return this._disableClear},set:function(a){this._disableClear=Kh(a)}}});CP.\u0275fac=function(a){return new (a||CP)(A(d6b,8))};
CP.\u0275dir=r({type:CP,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[$f,md]});var f6b=Hi(function(){}),DP=function(a,b,c,d,e,f,h,l){var q=f6b.call(this)||this;q._intl=a;q._changeDetectorRef=b;q._sort=c;q._columnDef=d;q._focusMonitor=e;q._elementRef=f;q._ariaDescriber=h;q._showIndicatorHint=!1;q._viewState={};q._arrowDirection="";q._disableViewStateAnimation=!1;q.arrowPosition="after";q._sortActionDescription="Sort";if(null==l?0:l.arrowPosition)q.arrowPosition=null==l?void 0:l.arrowPosition;q._handleStateChanges();return q};X(DP,f6b);g=DP.prototype;
g.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._updateArrowDirection();this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection});this._sort.register(this);this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container");this._updateSortActionDescription(this._sortActionDescription)};
g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=!!b;b!==a._showIndicatorHint&&(a._setIndicatorHintVisible(b),a._changeDetectorRef.markForCheck())})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe()};
g._setIndicatorHintVisible=function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))};g._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
g._toggleOnInteraction=function(){this._sort.sort(this);if("hint"===this._viewState.toState||"active"===this._viewState.toState)this._disableViewStateAnimation=!0};g._handleClick=function(){this._isDisabled()||this._sort.sort(this)};g._handleKeydown=function(a){this._isDisabled()||32!==a.keyCode&&13!==a.keyCode||(a.preventDefault(),this._toggleOnInteraction())};g._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)};
g._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};g._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};g._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};g._isDisabled=function(){return this._sort.disabled||this.disabled};
g._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"};g._renderArrow=function(){return!this._isDisabled()||this._isSorted()};g._updateSortActionDescription=function(a){if(this._sortButton){var b;null==(b=this._ariaDescriber)||pz(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||gIb(c,this._sortButton,a)}this._sortActionDescription=a};
g._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,T.merge)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){if(a._isSorted()){a._updateArrowDirection();if("hint"===a._viewState.toState||"active"===a._viewState.toState)a._disableViewStateAnimation=!0;a._setAnimationTransitionState({fromState:a._arrowDirection,toState:"active"});a._showIndicatorHint=!1}!a._isSorted()&&a._viewState&&"active"===a._viewState.toState&&(a._disableViewStateAnimation=
!1,a._setAnimationTransitionState({fromState:"active",toState:a._arrowDirection}));a._changeDetectorRef.markForCheck()})};Ei.Object.defineProperties(DP.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}},disableClear:{configurable:!0,enumerable:!0,get:function(){return this._disableClear},set:function(a){this._disableClear=Kh(a)}}});
DP.\u0275fac=function(a){return new (a||DP)(A(BP),A(Vw),A(CP,8),A("MAT_SORT_HEADER_COLUMN_DEF",8),A(ly),A(Yd),A(oz,8),A(d6b,8))};
DP.\u0275cmp=r({type:DP,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&K("click",function(){return b._handleClick()})("keydown",function(c){return b._handleKeydown(c)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)});a&2&&(dg("aria-sort",b._getAriaSortAttribute()),pg("mat-sort-header-disabled",b._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header",
"id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[$f],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],
[1,"mat-sort-header-pointer-middle"]],template:function(a,b){a&1&&(wg(),D(0,"div",0)(1,"div",1),xg(2),E(),O(3,HDa,6,6,"div",2),E());a&2&&(pg("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),dg("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),z(3),C("ngIf",b._renderArrow()))},dependencies:[bx],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],
encapsulation:2,data:{animation:[X5b,Y5b,Z5b,$5b,a6b,b6b]},changeDetection:0});var g6b="focus-indicator title type team id assignee status menu".split(" "),EP=function(a,b,c){Z.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.issueIds$=new T.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.internalFilters=new hK;this.tableColumns=g6b.slice();this.activeSort$=new T.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(kp(),B(function(e){return e.map(function(f){return{id:f,issue$:d.issueFridge.watch(f)}})}),Nf({refCount:!0,bufferSize:1}));
this.allIssuesAreLoaded$=this.allRows$.pipe(Qf(function(e){return(0,T.combineLatest)(e.map(function(f){return f.issue$.pipe(Pf(null))}))}),B(function(e){return e.every(function(f){return null!==f})}));this.unarchivedRows$=this.allRows$.pipe(zf(this.allIssuesAreLoaded$),B(function(e){e=m(e);var f=e.next().value;return e.next().value?f.filter(function(h){var l;return!(null==(l=pn(h))?0:l.isArchived)}):f}));this.sortRows=(0,T.pipe)(zf(this.activeSort$,this.allIssuesAreLoaded$),B(function(e){e=m(e);var f=
e.next().value,h=e.next().value;return e.next().value?eEa(f,h):f}));this.filterRows=(0,T.pipe)(zf(this.internalFilters.value$),Qf(function(e){e=m(e);var f=e.next().value,h=e.next().value;return 0===h.size?(0,T.of)(f):(0,T.combineLatest)(f.map(function(l){return l.issue$})).pipe(B(function(l){return f.filter(function(q,u){return!l[u]||dBa(l[u],h)})}))}));this.rows$=this.unarchivedRows$.pipe(this.filterRows,this.sortRows);this.filteredRowCount$=(0,T.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(B(function(e){var f=
m(e);e=f.next().value;f=f.next().value;return e.length-f.length}),Df());this.trackBy=function(e,f){return f.id};this.correctedDisplayedRows=new Vg};X(EP,Z);EP.\u0275dir=Z.\u0275dir;g=EP.prototype;g.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(c){b.navigateToIssue(c,a)},title:"Go to issue",icon:"arrow-forward"}].concat(p(this.menuItemFactory(a)))};g.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
g.ngAfterViewInit=function(){var a=this;(0,T.combineLatest)([this.rows$,this.displayedRows.changes.pipe(Pf(void 0))]).pipe(Rf(this.destroyed$)).subscribe(function(b){b=m(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[d.row.id,d]}));b=b.map(function(d){return c.get(d.id)}).filter(Boolean);a.correctedDisplayedRows.reset(b);Qg(a.correctedDisplayedRows)});this.focusManager=wz(new z5b(this.correctedDisplayedRows,dEa))};
g.navigateToIssue=function(a,b){!b||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=this.getIssueUrl(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?op(this.domSafe,b):Ht(this.router,b))};g.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};g.onSortChange=function(a){this.activeSort$.next(a)};g.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Hn(a)};
Ei.Object.defineProperties(EP.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}},filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}}});EP.\u0275fac=function(a){return new (a||EP)(A(QH),A(WG),A(JI))};
EP.\u0275cmp=r({type:EP,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&Sg(NO,5);if(a&2){var c;Rg(c=Ug())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[$f],decls:35,vars:10,consts:[["mat-table","","matSort","",1,"full-width",3,"dataSource","trackBy","matSortActive","matSortDirection","matSortChange"],["matColumnDef","focus-indicator"],
["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","type"],["mat-header-cell","","mat-sort-header","type",4,"matHeaderCellDef"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell",
"","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","team"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],[3,"issue","issueUrlFactory"],
["mat-header-cell","","mat-sort-header","type"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],["mat-header-cell","","mat-sort-header","reporter"],["mat-header-cell","","mat-sort-header","status"],["mat-header-cell","","mat-sort-header","createdTime"],["buttonLabel","More options",3,"menuItems","click"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"]],template:function(a,b){a&1&&(D(0,"table",0),K("matSortChange",
function(e){return b.onSortChange(e)}),R(1,"async"),R(2,"async"),H(3,1),O(4,IDa,1,0,"th",2),O(5,JDa,1,0,"td",3),I(),H(6,4),O(7,KDa,2,0,"th",2),O(8,LDa,2,1,"td",5),I(),H(9,6),O(10,MDa,2,0,"th",2),O(11,NDa,3,4,"td",5),I(),H(12,7),O(13,ODa,2,0,"th",8),O(14,PDa,3,3,"td",5),I(),H(15,9),O(16,QDa,2,0,"th",10),O(17,RDa,3,3,"td",5),I(),H(18,11),O(19,SDa,2,0,"th",12),O(20,TDa,3,3,"td",5),I(),H(21,13),O(22,UDa,2,0,"th",14),O(23,VDa,3,3,"td",5),I(),H(24,15),O(25,WDa,2,0,"th",2),O(26,XDa,3,3,"td",5),I(),H(27,
16),O(28,YDa,2,0,"th",17),O(29,ZDa,3,3,"td",5),I(),H(30,18),O(31,$Da,1,0,"th",2),O(32,aEa,2,1,"td",5),I(),O(33,bEa,1,0,"tr",19),O(34,cEa,1,1,"tr",20),E());if(a&2){var c,d;C("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=S(1,6,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=S(2,8,b.activeSort$))?null:d.direction)&&void 0!==d?d:"");z(33);C("matHeaderRowDef",b.tableColumns);z(1);C("matRowDefColumns",b.tableColumns)}},dependencies:[CP,
DP,vP,nP,rP,oP,mP,sP,pP,qP,tP,uP,OO,zM,pO,AP,FO,GO,JO,mO,KO,zP,NO,hx],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}"],
changeDetection:0});var FP=function(){};FP.\u0275fac=function(a){return new (a||FP)};FP.\u0275mod=fd({type:FP});FP.\u0275inj=Qc({imports:[nz,px,zO,BD,rD,lE,DO]});var GP=function(){};GP.\u0275fac=function(a){return new (a||GP)};GP.\u0275mod=fd({type:GP});GP.\u0275inj=Qc({imports:[px,rD,aH,BD]});var HP=function(){};HP.\u0275fac=function(a){return new (a||HP)};HP.\u0275mod=fd({type:HP});HP.\u0275inj=Qc({imports:[px,rD,gM,GP]});var IP=function(){};IP.\u0275fac=function(a){return new (a||IP)};IP.\u0275mod=fd({type:IP});IP.\u0275inj=Qc({imports:[px,gM,BD]});var JP=function(){};JP.\u0275fac=function(a){return new (a||JP)};JP.\u0275mod=fd({type:JP});JP.\u0275inj=Qc({imports:[px]});var KP=function(){};KP.\u0275fac=function(a){return new (a||KP)};KP.\u0275mod=fd({type:KP});KP.\u0275inj=Qc({imports:[px,rD]});var LP=function(){};LP.\u0275fac=function(a){return new (a||LP)};LP.\u0275mod=fd({type:LP});LP.\u0275inj=Qc({imports:[JP,gK,px,hN,ay,KP,FP,BD,sM,HN,aH,HP,IP]});var MP=function(){};MP.\u0275fac=function(a){return new (a||MP)};MP.\u0275mod=fd({type:MP});MP.\u0275inj=Qc({imports:[jD,px,rD,BD,lE]});var NP=function(){QO.apply(this,arguments)};X(NP,QO);NP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(NP)))(b||NP)}}();NP.\u0275dir=r({type:NP,selectors:[["","matCellDef",""]],features:[Dg([{provide:QO,useExisting:NP}]),$f]});var OP=function(){RO.apply(this,arguments)};X(OP,RO);OP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(OP)))(b||OP)}}();OP.\u0275dir=r({type:OP,selectors:[["","matHeaderCellDef",""]],features:[Dg([{provide:RO,useExisting:OP}]),$f]});
var PP=function(){return TO.apply(this,arguments)||this};X(PP,TO);PP.prototype._updateColumnCssClassName=function(){TO.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};Ei.Object.defineProperties(PP.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});PP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(PP)))(b||PP)}}();
PP.\u0275dir=r({type:PP,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Dg([{provide:TO,useExisting:PP},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:PP}]),$f]});var QP=function(){UO.apply(this,arguments)};X(QP,UO);QP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(QP)))(b||QP)}}();
QP.\u0275dir=r({type:QP,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[$f]});var RP=function(){VO.apply(this,arguments)};X(RP,VO);RP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(RP)))(b||RP)}}();RP.\u0275dir=r({type:RP,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[$f]});var SP=function(){return YO.apply(this,arguments)||this};X(SP,YO);SP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(SP)))(b||SP)}}();SP.\u0275dir=r({type:SP,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Dg([{provide:YO,useExisting:SP}]),$f]});var TP=function(){$O.apply(this,arguments)};X(TP,$O);TP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(TP)))(b||TP)}}();
TP.\u0275dir=r({type:TP,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Dg([{provide:$O,useExisting:TP}]),$f]});var UP=function(){};X(UP,cP);UP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(UP)))(b||UP)}}();
UP.\u0275cmp=r({type:UP,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Dg([{provide:cP,useExisting:UP}]),$f],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&tg(0,0)},dependencies:[bP],encapsulation:2});var VP=function(){};X(VP,dP);VP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(VP)))(b||VP)}}();
VP.\u0275cmp=r({type:VP,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Dg([{provide:dP,useExisting:VP}]),$f],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&tg(0,0)},dependencies:[bP],encapsulation:2});var h6b=[[["caption"]],[["colgroup"],["col"]]],WP=function(){jP.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};X(WP,jP);WP.prototype.ngOnInit=function(){jP.prototype.ngOnInit.call(this);this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")};WP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(WP)))(b||WP)}}();
WP.\u0275cmp=r({type:WP,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&pg("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Dg([{provide:jP,useExisting:WP},{provide:PO,useExisting:WP},{provide:F5b,useClass:WO},{provide:xIb,useClass:vIb},{provide:K5b,useValue:null}]),$f],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",
""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(wg(h6b),xg(0),xg(1,1),tg(2,0)(3,1)(4,2)(5,3))},dependencies:[fP,gP,hP,iP],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],
encapsulation:2});var XP=function(){};XP.\u0275fac=function(a){return new (a||XP)};XP.\u0275mod=fd({type:XP});XP.\u0275inj=Qc({imports:[gA,lP,gA]});var YP=function(){};YP.\u0275fac=function(a){return new (a||YP)};YP.\u0275mod=fd({type:YP});YP.\u0275inj=Qc({imports:[lP,gA,gA]});var ZP=function(){};ZP.\u0275fac=function(a){return new (a||ZP)};ZP.\u0275mod=fd({type:ZP});ZP.\u0275inj=Qc({providers:[c6b],imports:[px,gA]});var $P=function(){};$P.\u0275fac=function(a){return new (a||$P)};$P.\u0275mod=fd({type:$P});$P.\u0275inj=Qc({imports:[nz,dz,Ny,px,ay,BD,rD,ZP,YP,aN,lE,by,aH,MP,JP,yP,AM,xN,LP]});var aQ=function(){},i6b=function(a){a=a.issuePriority;if(null==a)return"";switch(a){case "P0":return"priority-1";case "P1":return"priority-2";case "P2":return"priority-3";case "P3":return"priority-4";case "P4":return"priority-5";default:return""}};aQ.\u0275fac=function(a){return new (a||aQ)};
aQ.\u0275cmp=r({type:aQ,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(D(0,"span",0),P(1),E());a&2&&(C("ngClass",i6b(b)),z(1),a=b.issuePriority,Q(" ",null==a?"--":USb[a]," "))},dependencies:[$w],styles:["\n/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var bQ=function(){this.onlyTitle=this.disableDismiss=!1;this.onDismiss=new vw;this.STATUS_TERSE=rF;this.STATUS_FULL_TEXT=vF};bQ.prototype.convertIssueStatusStrToTag=function(a){return Wk[a]};bQ.\u0275fac=function(a){return new (a||bQ)};
bQ.\u0275cmp=r({type:bQ,selectors:[["issue-card-compact"]],hostAttrs:[1,"carded"],inputs:{issue:"issue",dismissIcon:"dismissIcon",dismissTooltip:"dismissTooltip",disableDismiss:"disableDismiss",moreInfoIcon:"moreInfoIcon",moreInfoIconSvg:"moreInfoIconSvg",moreInfoMessage:"moreInfoMessage",moreInfoAccentColor:"moreInfoAccentColor",onlyTitle:"onlyTitle"},outputs:{onDismiss:"onDismiss"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"title","line-clamp-3"],[1,"subtle-link",3,"href"],["class","dismiss",4,"ngIf"],
["class","assignee",4,"ngIf"],["class","meta",4,"ngIf"],[1,"dismiss"],["mat-icon-button","",1,"small",3,"matTooltip","disabled","click"],["inline","true",1,"google-material-icons"],[1,"assignee"],["class","margin-xs-right",3,"email",4,"ngIf"],[3,"email",4,"ngIf"],[1,"margin-xs-right",3,"email"],[3,"email"],[1,"meta"],[3,"issuePriority",4,"ngIf"],[3,"issuePriority"],["class","icon-s",3,"svgIcon",4,"ngIf"],["inline","true","class","google-material-icons icon-s",4,"ngIf"],[1,"line-clamp-2"],[1,"icon-s",
3,"svgIcon"],["inline","true",1,"google-material-icons","icon-s"]],template:function(a,b){a&1&&O(0,rEa,8,7,"ng-container",0);a&2&&C("ngIf",b.issue)},dependencies:[bx,OB,kN,bM,aQ,NA,qD,WJ],styles:['[_nghost-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:grid;gap:8px;width:220px;grid-template-rows:minmax(1fr,60px) 1fr 1fr 1fr 1fr;grid-template-areas:"title dismiss" "title dismiss" "assignee assignee" "meta meta" "more-info more-info"}.title[_ngcontent-%COMP%]{grid-area:title}.dismiss[_ngcontent-%COMP%]{grid-area:dismiss;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.assignee[_ngcontent-%COMP%]{grid-area:assignee}[_nghost-%COMP%]     .user-avatar img{max-height:24px}.meta[_ngcontent-%COMP%]{grid-area:meta;place-self:center start;width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.more-info[_ngcontent-%COMP%]{grid-area:more-info;color:#5f6368;color:var(--muted);box-shadow:inset 0 1px 0 0 #dadce0;box-shadow:inset 0 1px 0 0 var(--divider);font-style:italic;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.orange[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 1px 0 0 #bd4800;box-shadow:inset 0 1px 0 0 var(--orange-text)}.pink[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 1px 0 0 #d01884;box-shadow:inset 0 1px 0 0 var(--pink-text)}.cyan[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 1px 0 0 #34989d;box-shadow:inset 0 1px 0 0 var(--cyan-text)}.purple[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 1px 0 0 #9334e6;box-shadow:inset 0 1px 0 0 var(--purple-text)}\n/*# sourceMappingURL=issue_card_compact.css.map */']});var j6b=new Ud("CDK_DRAG_PARENT");var k6b=new Ud("CdkDragHandle"),cQ=function(a,b){this.element=a;this._stateChanges=new T.Subject;this._disabled=!1;this._parentDrag=b};cQ.prototype.ngOnDestroy=function(){this._stateChanges.complete()};Ei.Object.defineProperties(cQ.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Kh(a);this._stateChanges.next(this)}}});cQ.\u0275fac=function(a){return new (a||cQ)(A(Yd),A(j6b,12))};
cQ.\u0275dir=r({type:cQ,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[Dg([{provide:k6b,useExisting:cQ}])]});var l6b=new Ud("CdkDragPlaceholder");var m6b=new Ud("CdkDragPreview"),dQ=function(a){this.templateRef=a;this._matchSize=!1};Ei.Object.defineProperties(dQ.prototype,{matchSize:{configurable:!0,enumerable:!0,get:function(){return this._matchSize},set:function(a){this._matchSize=Kh(a)}}});dQ.\u0275fac=function(a){return new (a||dQ)(A(Og))};dQ.\u0275dir=r({type:dQ,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},standalone:!0,features:[Dg([{provide:m6b,useExisting:dQ}])]});var n6b=new Ud("CDK_DRAG_CONFIG");var o6b=new Ud("CdkDropListGroup"),eQ=function(){this._items=new Set;this._disabled=!1};eQ.prototype.ngOnDestroy=function(){this._items.clear()};Ei.Object.defineProperties(eQ.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Kh(a)}}});eQ.\u0275fac=function(a){return new (a||eQ)};
eQ.\u0275dir=r({type:eQ,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Dg([{provide:o6b,useExisting:eQ}])]});var p6b=Dh({passive:!1,capture:!0}),fQ=function(a,b){var c=this;this._ngZone=a;this._dropInstances=new Set;this._dragInstances=new Set;this._activeDragInstances=[];this._globalListeners=new Map;this._draggingPredicate=function(d){return d.isDragging()};this.pointerMove=new T.Subject;this.pointerUp=new T.Subject;this.scroll=new T.Subject;this._preventDefaultWhileDragging=function(d){0<c._activeDragInstances.length&&d.preventDefault()};this._persistentTouchmoveListener=function(d){0<c._activeDragInstances.length&&
(c._activeDragInstances.some(c._draggingPredicate)&&d.preventDefault(),c.pointerMove.next(d))};this._document=b},q6b=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},r6b=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,p6b)})},t6b=function(a,b){a._dragInstances.delete(b);s6b(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
p6b)};
fQ.prototype.startDragging=function(a,b){var c=this;-1<this._activeDragInstances.indexOf(a)||(this._activeDragInstances.push(a),1===this._activeDragInstances.length&&(a=b.type.startsWith("touch"),this._globalListeners.set(a?"touchend":"mouseup",{handler:function(d){return c.pointerUp.next(d)},options:!0}).set("scroll",{handler:function(d){return c.scroll.next(d)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:p6b}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:p6b}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var s6b=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};fQ.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
fQ.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new T.Observable(function(d){return b._ngZone.runOutsideAngular(function(){var e=function(f){b._activeDragInstances.length&&d.next(f)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return T.merge.apply(null,p(c))};
fQ.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return t6b(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};fQ.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};fQ.\u0275fac=function(a){return new (a||fQ)(n(Yf),n(Ci))};
fQ.\u0275prov=Pc({token:fQ,factory:fQ.\u0275fac,providedIn:"root"});var zEa=0;var gQ=function(a){this._document=a;this.positions=new Map};gQ.prototype.clear=function(){this.positions.clear()};gQ.prototype.cache=function(a){var b=this;this.clear();this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()});a.forEach(function(c){b.positions.set(c,{scrollPosition:{top:c.scrollTop,left:c.scrollLeft},clientRect:sEa(c)})})};
var u6b=function(a,b){var c=Ih(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var f=b.top-e,h=b.left-d;a.positions.forEach(function(l,q){l.clientRect&&c!==q&&c.contains(q)&&aq(l.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};gQ.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var v6b=Dh({passive:!0}),w6b=Dh({passive:!1}),BEa=new Set(["position"]),hQ=function(a,b,c,d,e,f){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=f;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=!1;this._moveEvents=new T.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=T.Subscription.EMPTY;this._boundaryElement=null;this._nativeInteractionsEnabled=
!0;this._handles=[];this._disabledHandles=new Set;this._direction="ltr";this.dragStartDelay=0;this._disabled=!1;this.beforeStarted=new T.Subject;this.started=new T.Subject;this.released=new T.Subject;this.ended=new T.Subject;this.entered=new T.Subject;this.exited=new T.Subject;this.dropped=new T.Subject;this.moved=this._moveEvents;this._pointerDown=function(l){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||h._initializeDragSequence(q,
l)}else h.disabled||h._initializeDragSequence(h._rootElement,l)};this._pointerMove=function(l){var q=h._getPointerPositionOnPage(l);if(h._hasStartedDragging){l.preventDefault();var u=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(u);if(h._dropContainer)h._updateActiveDropContainer(u,q);else{q=h.constrainPosition?h._initialClientRect:h._pickupPositionOnPage;var x=h._activeTransform;x.x=u.x-q.x+h._passiveTransform.x;x.y=u.y-q.y+h._passiveTransform.y;
h._applyRootElementTransform(x.x,x.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:u,event:l,distance:h._getDragDistance(u),delta:h._pointerDirectionDelta})})}else Math.abs(q.x-h._pickupPositionOnPage.x)+Math.abs(q.y-h._pickupPositionOnPage.y)>=h._config.dragStartThreshold&&((q=Date.now()>=h._dragStartTime+h._getDragStartDelay(l),x=h._dropContainer,q)?x&&(x.isDragging()||0<x._activeSiblings.size)||(l.preventDefault(),h._hasStartedDragging=!0,
h._ngZone.run(function(){return h._startDragSequence(l)})):h._endDragSequence(l))};this._pointerUp=function(l){h._endDragSequence(l)};this._nativeDragStart=function(l){if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||l.preventDefault()}else h.disabled||l.preventDefault()};x6b(y6b(this,a),b.parentDragRef||null);this._parentPositions=new gQ(c);r6b(f,this)};hQ.prototype.getPlaceholderElement=function(){return this._placeholder};
hQ.prototype.getRootElement=function(){return this._rootElement};
var z6b=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},A6b=function(a,b){a._handles=b.map(function(d){return Mh(d)});a._handles.forEach(function(d){return bq(d,a.disabled)});a._toggleNativeDragInteractions();var c=new Set;a._disabledHandles.forEach(function(d){-1<a._handles.indexOf(d)&&c.add(d)});a._disabledHandles=c},y6b=function(a,b){var c=Mh(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,w6b);c.addEventListener("touchstart",a._pointerDown,v6b);c.addEventListener("dragstart",a._nativeDragStart,w6b)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},B6b=function(a,b){a._boundaryElement=b?Mh(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},x6b=function(a,b){a._parentDragRef=b};g=hQ.prototype;
g.dispose=function(){this._removeRootElementListeners(this._rootElement);if(this.isDragging()){var a;null==(a=this._rootElement)||a.remove()}var b;null==(b=this._anchor)||b.remove();this._destroyPreview();this._destroyPlaceholder();t6b(this._dragDropRegistry,this);this._removeSubscriptions();this.beforeStarted.complete();this.started.complete();this.released.complete();this.ended.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this._moveEvents.complete();this._handles=
[];this._disabledHandles.clear();this._dropContainer=void 0;this._resizeSubscription.unsubscribe();this._parentPositions.clear();this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null};g.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)};
g.reset=function(){this._rootElement.style.transform=this._initialTransform||"";this._activeTransform={x:0,y:0};this._passiveTransform={x:0,y:0}};g.withDirection=function(a){this._direction=a;return this};g._withDropContainer=function(a){this._dropContainer=a};g.setFreeDragPosition=function(a){this._activeTransform={x:0,y:0};this._passiveTransform.x=a.x;this._passiveTransform.y=a.y;this._dropContainer||this._applyRootElementTransform(a.x,a.y)};
g._sortFromLastPointerPosition=function(){var a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)};g._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe()};g._destroyPreview=function(){var a;null==(a=this._preview)||a.remove();var b;null==(b=this._previewRef)||b.destroy();this._preview=this._previewRef=null};
g._destroyPlaceholder=function(){var a;null==(a=this._placeholder)||a.remove();var b;null==(b=this._placeholderRef)||b.destroy();this._placeholder=this._placeholderRef=null};
g._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),s6b(this._dragDropRegistry,this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:a}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){b._cleanupDragArtifacts(a);b._cleanupCachedDimensions();
s6b(b._dragDropRegistry,b)});else{this._passiveTransform.x=this._activeTransform.x;var c=this._getPointerPositionOnPage(a);this._passiveTransform.y=this._activeTransform.y;this._ngZone.run(function(){b.ended.next({source:b,distance:b._getDragDistance(c),dropPoint:c,event:a})});this._cleanupCachedDimensions();s6b(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){cq(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._dropContainer;if(b){var c=this._rootElement,d=c.parentNode,e=this._placeholder=this._createPlaceholderElement(),f=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();d.insertBefore(f,c);this._initialTransform=c.style.transform||"";this._preview=this._createPreviewElement();CEa(c,!1);this._document.body.appendChild(d.replaceChild(e,c));this._getPreviewInsertionPoint(d,
h).appendChild(this._preview);this.started.next({source:this,event:a});b.start();this._initialContainer=b;this._initialIndex=b.getItemIndex(this)}else this.started.next({source:this,event:a}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(b?b._scrollableElements:[])};
g._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=cq(b),f=!e&&0!==b.button,h=this._rootElement,l=Ih(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?Ph(b):Oh(b);l&&l.draggable&&"mousedown"===b.type&&b.preventDefault();d||f||q||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=
!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(u){return c._updateOnScroll(u)}),this._boundaryElement&&(this._boundaryRect=sEa(this._boundaryElement)),this._pickupPositionInElement=
(d=this._previewTemplate)&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,a,b),a=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(b),this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:a.x,y:a.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,b))};
g._cleanupDragArtifacts=function(a){var b=this;CEa(this._rootElement,!0);this._anchor.parentNode.replaceChild(this._rootElement,this._anchor);this._destroyPreview();this._destroyPlaceholder();this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0;this._ngZone.run(function(){var c=b._dropContainer,d=c.getItemIndex(b),e=b._getPointerPositionOnPage(a),f=b._getDragDistance(e),h=c._isOverContainer(e.x,e.y);b.ended.next({source:b,distance:f,dropPoint:e,event:a});b.dropped.next({item:b,
currentIndex:d,previousIndex:b._initialIndex,container:c,previousContainer:b._initialContainer,isPointerOverContainer:h,distance:f,dropPoint:e,event:a});c.drop(b,d,b._initialIndex,b._initialContainer,h,f,e,a);b._dropContainer=b._initialContainer})};
g._updateActiveDropContainer=function(a,b){var c=this,d=a.x,e=a.y;a=b.x;b=b.y;var f=this._initialContainer._getSiblingContainerFromPosition(this,d,e);!f&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,e)&&(f=this._initialContainer);f&&f!==this._dropContainer&&this._ngZone.run(function(){c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);c._dropContainer=f;c._dropContainer.enter(c,d,e,f===c._initialContainer&&f.sortingDisabled?c._initialIndex:
void 0);c.entered.next({item:c,container:f,currentIndex:f.getItemIndex(c)})});this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(a,b),this._dropContainer._sortItem(this,d,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(d,e):this._applyPreviewTransform(d-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))};
g._createPreviewElement=function(){var a=this._previewTemplate,b=this.previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialClientRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=IEa(c,this._document);this._previewRef=c;a.matchSize?JEa(e,d):e.style.transform=HEa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=yEa(this._rootElement),JEa(e,this._initialClientRect),this._initialTransform&&(e.style.transform=this._initialTransform);
AEa(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},BEa);bq(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(f){return e.classList.add(f)}):e.classList.add(b));return e};
g._animatePreviewToPlaceholder=function(){var a=this;if(!this._hasMoved)return Promise.resolve();var b=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating");this._applyPreviewTransform(b.left,b.top);var c=GEa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||Ih(h)===a._preview&&"transform"===h.propertyName){var l;null==(l=a._preview)||l.removeEventListener("transitionend",
e);d();clearTimeout(f)}},f=setTimeout(e,1.5*c);a._preview.addEventListener("transitionend",e)})})};g._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=IEa(this._placeholderRef,this._document)):a=yEa(this._rootElement);a.style.pointerEvents="none";a.classList.add("cdk-drag-placeholder");return a};
g._getPointerPositionInElement=function(a,b,c){b=(b=b===this._rootElement?null:b)?b.getBoundingClientRect():a;c=cq(c)?c.targetTouches[0]:c;var d=this._getViewportScrollPosition();return{x:b.left-a.left+(c.pageX-b.left-d.left),y:b.top-a.top+(c.pageY-b.top-d.top)}};
g._getPointerPositionOnPage=function(a){var b=this._getViewportScrollPosition(),c=cq(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a;a=c.pageX-b.left;b=c.pageY-b.top;if(this._ownerSVGElement&&(c=this._ownerSVGElement.getScreenCTM())){var d=this._ownerSVGElement.createSVGPoint();d.x=a;d.y=b;return d.matrixTransform(c.inverse())}return{x:a,y:b}};
g._getConstrainedPointerPosition=function(a){var b=this._dropContainer?this._dropContainer.lockAxis:null,c=this.constrainPosition?this.constrainPosition(a,this,this._initialClientRect,this._pickupPositionInElement):a;a=c.x;c=c.y;if("x"===this.lockAxis||"x"===b)c=this._pickupPositionOnPage.y;else if("y"===this.lockAxis||"y"===b)a=this._pickupPositionOnPage.x;if(this._boundaryRect){var d=this._pickupPositionInElement;b=d.x;var e=d.y;d=this._boundaryRect;var f=this._getPreviewRect(),h=d.top+e;e=d.bottom-
(f.height-e);a=Math.max(d.left+b,Math.min(d.right-(f.width-b),a));c=Math.max(h,Math.min(e,c))}return{x:a,y:c}};g._updatePointerDirectionDelta=function(a){var b=a.x;a=a.y;var c=this._pointerDirectionDelta,d=this._pointerPositionAtLastDirectionChange,e=Math.abs(a-d.y);Math.abs(b-d.x)>this._config.pointerDirectionChangeThreshold&&(c.x=b>d.x?1:-1,d.x=b);e>this._config.pointerDirectionChangeThreshold&&(c.y=a>d.y?1:-1,d.y=a);return c};
g._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var a=0<this._handles.length||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,bq(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,w6b);a.removeEventListener("touchstart",this._pointerDown,v6b);a.removeEventListener("dragstart",this._nativeDragStart,w6b)};
g._applyRootElementTransform=function(a,b){a=HEa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=DEa(a,this._initialTransform)};g._applyPreviewTransform=function(a,b){var c,d=(null==(c=this._previewTemplate)?0:c.template)?void 0:this._initialTransform;this._preview.style.transform=DEa(HEa(a,b),d)};g._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};
g._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
g._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(0===b&&0===a||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(0===d.width&&0===d.height||0===c.width&&0===c.height)){var e=d.left-c.left,f=c.right-d.right,h=d.top-c.top,l=c.bottom-d.bottom;d.width>c.width?(0<e&&(b+=e),0<f&&(b-=f)):b=0;d.height>c.height?(0<h&&(a+=h),0<l&&(a-=l)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};g._getDragStartDelay=function(a){var b=this.dragStartDelay;return"number"===typeof b?b:cq(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=u6b(this._parentPositions,a);b&&(a=Ih(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&aq(this._boundaryRect,b.top,b.left),this._pickupPositionOnPage.x+=b.left,this._pickupPositionOnPage.y+=b.top,this._dropContainer||(this._activeTransform.x-=b.left,this._activeTransform.y-=b.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y)))};
g._getViewportScrollPosition=function(){var a;return(null==(a=this._parentPositions.positions.get(this._document))?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};g._getShadowRoot=function(){void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Gh(this._rootElement));return this._cachedShadowRoot};
g._getPreviewInsertionPoint=function(a,b){var c=this._previewContainer||"global";return"parent"===c?a:"global"===c?(a=this._document,b||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body):Mh(c)};g._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect);return this._previewRect};
g._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};Ei.Object.defineProperties(hQ.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){var b=Kh(a);b!==this._disabled&&(this._disabled=b,this._toggleNativeDragInteractions(),this._handles.forEach(function(c){return bq(c,b)}))}}});var iQ=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};iQ.prototype.start=function(a){this.withItems(a)};
iQ.prototype.sort=function(a,b,c,d){var e=this._itemPositions,f=this._getItemIndexFromPointerPosition(a,b,c,d);if(-1===f&&0<e.length)return null;var h="horizontal"===this.orientation,l=e.findIndex(function(M){return M.drag===a}),q=e[f],u=q.clientRect,x=l>f?1:-1,y=this._getItemOffsetPx(e[l].clientRect,u,x),G=this._getSiblingOffsetPx(l,e,x),J=e.slice();dq(e,l,f);e.forEach(function(M,V){if(J[V]!==M){var U=M.drag===a;V=U?y:G;U=U?a.getPlaceholderElement():M.drag.getRootElement();M.offset+=V;h?(U.style.transform=
DEa("translate3d("+Math.round(M.offset)+"px, 0, 0)",M.initialTransform),aq(M.clientRect,0,V)):(U.style.transform=DEa("translate3d(0, "+Math.round(M.offset)+"px, 0)",M.initialTransform),aq(M.clientRect,V,0))}});this._previousSwap.overlaps=tEa(u,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:l,currentIndex:f}};
iQ.prototype.enter=function(a,b,c,d){d=null==d||0>d?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,f=e.indexOf(a),h=a.getPlaceholderElement(),l=e[d];l===a&&(l=e[d+1]);!l&&(null==d||-1===d||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(l=e[0]);-1<f&&e.splice(f,1);l&&!this._dragDropRegistry.isDragging(l)?(b=l.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(Mh(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
iQ.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var C6b=function(a,b){a._sortPredicate=b};
iQ.prototype.reset=function(){var a=this;this._activeDraggables.forEach(function(b){var c=b.getRootElement();if(c){var d,e=null==(d=a._itemPositions.find(function(f){return f.drag===b}))?void 0:d.initialTransform;c.style.transform=e||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};
iQ.prototype.getItemIndex=function(a){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(function(b){return b.drag===a})};var D6b=function(a,b,c){a._itemPositions.forEach(function(d){aq(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};g=iQ.prototype;
g._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=z6b(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:sEa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};g._getItemOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=d?b.left-a.left:b.top-a.top;-1===c&&(e+=d?b.width-a.width:b.height-a.height);return e};
g._getSiblingOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=b[a].clientRect;a=b[a+-1*c];b=e[d?"width":"height"]*c;if(a){var f=d?"left":"top";d=d?"right":"bottom";b=-1===c?b-(a.clientRect[f]-e[d]):b+(e[f]-a.clientRect[d])}return b};
g._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d="horizontal"===this.orientation;if(c[0].drag!==this._activeDraggables[0])return c=c[c.length-1].clientRect,d?a>=c.right:b>=c.bottom;c=c[0].clientRect;return d?a<=c.left:b<=c.top};
g._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,f="horizontal"===this.orientation,h=this._itemPositions.findIndex(function(l){var q=l.drag;l=l.clientRect;if(q===a)return!1;if(d){var u=f?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&u===e._previousSwap.delta)return!1}return f?b>=Math.floor(l.left)&&b<Math.floor(l.right):c>=Math.floor(l.top)&&c<Math.floor(l.bottom)});return-1!==h&&this._sortPredicate(h,a)?h:-1};var F6b=function(a,b,c,d,e){var f=this;this._dragDropRegistry=b;this._ngZone=d;this._viewportRuler=e;this.autoScrollDisabled=this.sortingDisabled=this.disabled=!1;this.autoScrollStep=2;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.beforeStarted=new T.Subject;this.entered=new T.Subject;this.exited=new T.Subject;this.dropped=new T.Subject;this.sorted=new T.Subject;this.receivingStarted=new T.Subject;this.receivingStopped=new T.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=T.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new T.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){f._stopScrolling();(0,T.interval)(0,T.animationFrameScheduler).pipe(Rf(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,l=f.autoScrollStep;1===f._verticalScrollDirection?h.scrollBy(0,-l):2===f._verticalScrollDirection&&
h.scrollBy(0,l);1===f._horizontalScrollDirection?h.scrollBy(-l,0):2===f._horizontalScrollDirection&&h.scrollBy(l,0)})};this.element=Mh(a);this._document=c;E6b(this,[this.element]);q6b(b,this);this._parentPositions=new gQ(c);this._sortStrategy=new iQ(this.element,b);C6b(this._sortStrategy,function(h,l){return f.sortPredicate(h,l,f)})};g=F6b.prototype;
g.dispose=function(){this._stopScrolling();this._stopScrollTimers.complete();this._viewportScrollSubscription.unsubscribe();this.beforeStarted.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this.sorted.complete();this.receivingStarted.complete();this.receivingStopped.complete();this._activeSiblings.clear();this._scrollNode=null;this._parentPositions.clear();this._dragDropRegistry._dropInstances.delete(this)};g.isDragging=function(){return this._isDragging};
g.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};g.enter=function(a,b,c,d){this._draggingStarted();null==d&&this.sortingDisabled&&(d=this._draggables.indexOf(a));this._sortStrategy.enter(a,b,c,d);this._cacheParentPositions();this._notifyReceivingSiblings();this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})};g.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
g.drop=function(a,b,c,d,e,f,h,l){l=void 0===l?{}:l;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:l})};g.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return-1===a.indexOf(d)})?this._reset():this._sortStrategy.withItems(this._draggables))};
g.withDirection=function(a){this._sortStrategy.direction=a;return this};g.connectedTo=function(a){this._siblings=a.slice();return this};var G6b=function(a,b){a._sortStrategy.orientation=b},E6b=function(a,b){var c=Mh(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(p(b)):b.slice()};g=F6b.prototype;g.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
g._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._clientRect&&uEa(this._clientRect,b,c)&&(b=this._sortStrategy.sort(a,b,c,d))&&this.sorted.next({previousIndex:b.previousIndex,currentIndex:b.currentIndex,container:this,item:a})};
g._startScrollingIfNecessary=function(a,b){var c=this;if(!this.autoScrollDisabled){var d=0,e=0;this._parentPositions.positions.forEach(function(q,u){if(u!==c._document&&q.clientRect&&!l&&uEa(q.clientRect,a,b)){var x=q.clientRect;q=KEa(x,b);x=LEa(x,a);var y=0,G=0;if(q){var J=u.scrollTop;1===q?0<J&&(y=1):u.scrollHeight-J>u.clientHeight&&(y=2)}x&&(q=u.scrollLeft,1===x?0<q&&(G=1):u.scrollWidth-q>u.clientWidth&&(G=2));q=m([y,G]);d=q.next().value;e=q.next().value;if(d||e)l=u}});if(!d&&!e){var f=this._viewportRuler.getViewportSize(),
h=f.width;f=f.height;h={width:h,height:f,top:0,right:h,bottom:f,left:0};d=KEa(h,b);e=LEa(h,a);var l=window}!l||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&l===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=l,(d||e)&&l?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};g._stopScrolling=function(){this._stopScrollTimers.next()};
g._draggingStarted=function(){var a=Mh(this.element).style;this.beforeStarted.next();this._isDragging=!0;this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"";a.scrollSnapType=a.msScrollSnapType="none";this._sortStrategy.start(this._draggables);this._cacheParentPositions();this._viewportScrollSubscription.unsubscribe();this._listenToScrollEvents()};g._cacheParentPositions=function(){var a=Mh(this.element);this._parentPositions.cache(this._scrollableElements);this._clientRect=this._parentPositions.positions.get(a).clientRect};
g._reset=function(){var a=this;this._isDragging=!1;var b=Mh(this.element).style;b.scrollSnapType=b.msScrollSnapType=this._initialScrollSnap;this._siblings.forEach(function(c){return c._stopReceiving(a)});this._sortStrategy.reset();this._stopScrolling();this._viewportScrollSubscription.unsubscribe();this._parentPositions.clear()};g._isOverContainer=function(a,b){return null!=this._clientRect&&tEa(this._clientRect,a,b)};
g._getSiblingContainerFromPosition=function(a,b,c){return this._siblings.find(function(d){return d._canReceive(a,b,c)})};g._canReceive=function(a,b,c){if(!this._clientRect||!tEa(this._clientRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=Mh(this.element);return a===b||b.contains(a)};
g._startReceiving=function(a,b){var c=this,d=this._activeSiblings;!d.has(a)&&b.every(function(e){return c.enterPredicate(e,c)||-1<c._draggables.indexOf(e)})&&(d.add(a),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:a,receiver:this,items:b}))};g._stopReceiving=function(a){this._activeSiblings.delete(a);this._viewportScrollSubscription.unsubscribe();this.receivingStopped.next({initiator:a,receiver:this})};
g._listenToScrollEvents=function(){var a=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(b){a.isDragging()?(b=u6b(a._parentPositions,b))&&D6b(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Gh(Mh(this.element))||this._document);return this._cachedShadowRoot};
g._notifyReceivingSiblings=function(){var a=this,b=this._sortStrategy._activeDraggables.filter(function(c){return c.isDragging()});this._siblings.forEach(function(c){return c._startReceiving(a,b)})};var H6b={dragStartThreshold:5,pointerDirectionChangeThreshold:5},jQ=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};jQ.prototype.createDrag=function(a,b){b=void 0===b?H6b:b;return new hQ(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};jQ.\u0275fac=function(a){return new (a||jQ)(n(Ci),n(Yf),n(Pz),n(fQ))};jQ.\u0275prov=Pc({token:jQ,factory:jQ.\u0275fac,providedIn:"root"});var I6b=0,J6b=new Ud("CdkDropList"),kQ=function(a,b,c,d,e,f,h){var l=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=f;this._destroyed=new T.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+I6b++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new vw;this.entered=new vw;this.exited=new vw;this.sorted=new vw;this._unsortedItems=new Set;this._dropListRef=new F6b(a,b._dragDropRegistry,b._document,b._ngZone,
b._viewportRuler);this._dropListRef.data=this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,u){return l.enterPredicate(q.data,u.data)};this._dropListRef.sortPredicate=function(q,u,x){return l.sortPredicate(q,u.data,x.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);K6b.push(this);f&&f._items.add(this)};kQ.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
kQ.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var L6b=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return z6b(b._dragRef).compareDocumentPosition(z6b(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=kQ.prototype;
g.ngOnDestroy=function(){var a=K6b.indexOf(this);-1<a&&K6b.splice(a,1);this._group&&this._group._items.delete(this);this._unsortedItems.clear();this._dropListRef.dispose();this._destroyed.next();this._destroyed.complete()};
g._setupInputSyncSubscription=function(a){var b=this;this._dir&&this._dir.change.pipe(Pf(this._dir.value),Rf(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=Jh(b.connectedTo).map(function(e){return"string"===typeof e?K6b.find(function(f){return f.id===e}):e});b._group&&b._group._items.forEach(function(e){-1===c.indexOf(e)&&c.push(e)});if(!b._scrollableParentsResolved){var d=uIb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
E6b(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=Kh(b.sortingDisabled);a.autoScrollDisabled=Kh(b.autoScrollDisabled);a.autoScrollStep=Nh(b.autoScrollStep,2);G6b(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
g._handleEvents=function(a){var b=this;a.beforeStarted.subscribe(function(){b._syncItemsWithRef();b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:b,item:c.item.data,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:b,item:c.item.data});b._changeDetectorRef.markForCheck()});a.sorted.subscribe(function(c){b.sorted.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,container:b,item:c.item.data})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,
currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,item:c.item.data,isPointerOverContainer:c.isPointerOverContainer,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});(0,T.merge)(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.draggingDisabled,d=a.sortingDisabled,e=a.listAutoScrollDisabled;a=a.listOrientation;this.disabled=null==c?!1:c;this.sortingDisabled=null==d?!1:d;this.autoScrollDisabled=null==e?!1:e;this.orientation=a||"vertical";b&&(this.lockAxis=b)};g._syncItemsWithRef=function(){this._dropListRef.withItems(L6b(this).map(function(a){return a._dragRef}))};
Ei.Object.defineProperties(kQ.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=Kh(a)}}});var K6b=[];kQ.\u0275fac=function(a){return new (a||kQ)(A(Yd),A(jQ),A(Vw),A(Lz),A(Bz,8),A(o6b,12),A(n6b,8))};
kQ.\u0275dir=r({type:kQ,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(dg("id",b.id),pg("cdk-drop-list-disabled",b.disabled)("cdk-drop-list-dragging",b._dropListRef.isDragging())("cdk-drop-list-receiving",0<b._dropListRef._activeSiblings.size))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis",
"lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},
exportAs:["cdkDropList"],standalone:!0,features:[Dg([{provide:o6b,useValue:void 0},{provide:J6b,useExisting:kQ}])]});var lQ=function(a,b,c,d,e,f,h,l,q,u,x){var y=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=u;this._parentDrag=x;this._destroyed=new T.Subject;this.started=new vw;this.released=new vw;this.ended=new vw;this.entered=new vw;this.exited=new vw;this.dropped=new vw;this.moved=new T.Observable(function(G){var J=y._dragRef.moved.pipe(B(function(M){return{source:y,pointerPosition:M.pointerPosition,event:M.event,delta:M.delta,
distance:M.distance}})).subscribe(G);return function(){J.unsubscribe()}});this._dragRef=l.createDrag(a,{dragStartThreshold:f&&null!=f.dragStartThreshold?f.dragStartThreshold:5,pointerDirectionChangeThreshold:f&&null!=f.pointerDirectionChangeThreshold?f.pointerDirectionChangeThreshold:5,zIndex:null==f?void 0:f.zIndex});this._dragRef.data=this;M6b.push(this);f&&this._assignDefaults(f);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this));this._syncInputs(this._dragRef);this._handleEvents(this._dragRef)};
g=lQ.prototype;g.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()};g.getRootElement=function(){return this._dragRef.getRootElement()};g.reset=function(){this._dragRef.reset()};g.setFreeDragPosition=function(a){this._dragRef.setFreeDragPosition(a)};g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Ef(),Rf(a._destroyed)).subscribe(function(){a._updateRootElement();a._setupHandlesListener();a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)})})};
g.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=M6b.indexOf(this);-1<b&&M6b.splice(b,1);this._ngZone.runOutsideAngular(function(){a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};
g._updateRootElement=function(){var a=this.element.nativeElement,b=a;if(this.rootElementSelector){var c;b=void 0!==a.closest?a.closest(this.rootElementSelector):null==(c=a.parentElement)?void 0:c.closest(this.rootElementSelector)}y6b(this._dragRef,b||a)};g._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):Mh(a):null};
g._syncInputs=function(a){var b=this;a.beforeStarted.subscribe(function(){if(!a.isDragging()){var c=b._dir,d=b.dragStartDelay,e=b._placeholderTemplate?{template:b._placeholderTemplate.templateRef,context:b._placeholderTemplate.data,viewContainer:b._viewContainerRef}:null,f=b._previewTemplate?{template:b._previewTemplate.templateRef,context:b._previewTemplate.data,matchSize:b._previewTemplate.matchSize,viewContainer:b._viewContainerRef}:null;a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.dragStartDelay=
"object"===typeof d&&d?d:Nh(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=B6b(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Ef()).subscribe(function(){if(b._parentDrag)a._parentDragRef=b._parentDrag._dragRef;else for(var c=b.element.nativeElement.parentElement;c;){if(c.classList.contains("cdk-drag")){var d=void 0;x6b(a,(null==(d=M6b.find(function(e){return e.element.nativeElement===
c}))?void 0:d._dragRef)||null);break}c=c.parentElement}})};
g._handleEvents=function(a){var b=this;a.started.subscribe(function(c){b.started.emit({source:b,event:c.event});b._changeDetectorRef.markForCheck()});a.released.subscribe(function(c){b.released.emit({source:b,event:c.event})});a.ended.subscribe(function(c){b.ended.emit({source:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:c.container.data,item:b,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:c.container.data,
item:b})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,f=a.boundaryElement,h=a.draggingDisabled,l=a.rootElementSelector;a=a.previewContainer;this.disabled=null==h?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);f&&(this.boundaryElement=f);l&&(this.rootElementSelector=l);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.changes.pipe(Pf(this._handles),Sf(function(b){b=b.filter(function(c){return c._parentDrag===a}).map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);A6b(a._dragRef,b)}),Qf(function(b){return T.merge.apply(null,p(b.map(function(c){return c._stateChanges.pipe(Pf(c))})))}),Rf(this._destroyed)).subscribe(function(b){var c=a._dragRef,d=b.element.nativeElement;b.disabled?!c._disabledHandles.has(d)&&-1<c._handles.indexOf(d)&&
(c._disabledHandles.add(d),bq(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),bq(d,c.disabled))})};Ei.Object.defineProperties(lQ.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=Kh(a);this._dragRef.disabled=this._disabled}}});var M6b=[];lQ.\u0275fac=function(a){return new (a||lQ)(A(Yd),A(J6b,12),A(Ci),A(Yf),A(Pg),A(n6b,8),A(Bz,8),A(jQ),A(Vw),A(k6b,10),A(j6b,12))};
lQ.\u0275dir=r({type:lQ,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(Tg(c,m6b,5),Tg(c,l6b,5),Tg(c,k6b,5));if(a&2){var d;Rg(d=Ug())&&(b._previewTemplate=d.first);Rg(d=Ug())&&(b._placeholderTemplate=d.first);Rg(d=Ug())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&pg("cdk-drag-disabled",b.disabled)("cdk-drag-dragging",b._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement",
"rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",
entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Dg([{provide:j6b,useExisting:lQ}]),md]});var mQ=function(){};mQ.\u0275fac=function(a){return new (a||mQ)};mQ.\u0275mod=fd({type:mQ});mQ.\u0275inj=Qc({providers:[jQ],imports:[Sz]});var rFa=function(a){return{row:a}},yFa=function(){return["pinnedIssues"]},N6b=new Map([["title","Title"],["id","ID"],["priority","Priority"],["type","Type"],["status","Status"],["team","Team"],["assignee","Assignee"],["reporter","Reporter"],["createdTime","Created Time"],["menu","More Options"],["alert","Alert"],["action",""],["pin",""]]),nQ=function(a,b,c,d){this.issueFridge=a;this.domSafe=b;this.router=c;this.hackyPrefs=d;this.viewCellTemplates={};this.COLUMN_TITLES=N6b;this.issueIds$=new T.BehaviorSubject([]);
this.defaultColumns=["title","priority","type","id","status"];this.displayedColumns=[];this.customColumns=[];this.displayedIssues$=this.issueIds$.pipe(Qf(this.issueFridge.watchSet))};g=nQ.prototype;g.ngOnChanges=function(a){!a.displayedColumns||0!==this.displayedColumns.length&&this.displayedColumns.every(function(b){return N6b.has(b)})||(this.displayedColumns=this.defaultColumns)};
g.navigateToIssue=function(a,b){"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=Hn(b.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?op(this.domSafe,b):Ht(this.router,b))};
g.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Pin issue",action:function(){fq(b.hackyPrefs,a.issueId)},title:"Pin issue",icon:"add"}],d,e;((null==(d=this.hackyPrefs.prefs.sectionA)?0:d.includes("working-on-this-week"))||(null==(e=this.hackyPrefs.prefs.sectionW)?0:e.includes("working-on-this-week")))&&c.push({type:"action",label:"Add to this week",action:function(){var f=b.hackyPrefs,h=a.issueId,l=f.prefs;l.issuesThisWeek&&!l.issuesThisWeek.issues.includes(h)&&(l.issuesThisWeek.issues.unshift(h),
f.save(l))},title:"Add to this week",icon:"add"});return c};g.getViewCellTemplate=function(a){if(null!=a)return this.viewCellTemplates[a]||void 0};g.getAssigneeString=function(a){var b,c;return Bp(Kj(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};g.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};g.ldapOnly=function(a){return null==a?void 0:a.split("@")[0]};g.trackByIssueLastModified=function(a,b){return b.issueId+"-"+b.majorModifiedTimeMicros};
Ei.Object.defineProperties(nQ.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}}});nQ.\u0275fac=function(a){return new (a||nQ)(A(QH),A(JI),A(WG),A(sI))};
nQ.\u0275cmp=r({type:nQ,selectors:[["flat-issues-table"]],inputs:{issueIds:"issueIds",displayedColumns:"displayedColumns",customColumns:"customColumns",assigneeMode:"assigneeMode"},features:[md],decls:2,vars:3,consts:[[4,"ngIf"],["mat-table","","cdkDropList","","cdkDropListSortingDisabled","",1,"full-width",3,"dataSource","trackBy","cdkDropListConnectedTo","cdkDropListData"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","priority"],
["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","menu"],[4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row",
"","class","clickable","cdkDrag","",3,"click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"issuePriority"],[1,"break-word",3,"issue"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],["mat-header-cell","","mat-sort-header","reporter"],["mat-header-cell","","mat-sort-header","createdTime"],["buttonLabel","More options",3,"menuItems","click"],[3,
"matColumnDef",4,"ngIf"],[3,"matColumnDef"],["mat-header-cell","","class","first-letter-capitalized",4,"matHeaderCellDef"],["mat-header-cell","",1,"first-letter-capitalized"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-header-row",""],["mat-row","","cdkDrag","",1,"clickable",3,"click","mouseup"],[3,"issue",4,"cdkDragPreview"]],template:function(a,b){a&1&&(O(0,zFa,35,8,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.displayedIssues$))},dependencies:[ax,bx,gx,cx,dx,ex,vP,nP,rP,oP,mP,
sP,pP,qP,tP,uP,pO,AP,GO,JO,mO,KO,zP,aQ,OO,kQ,lQ,dQ,bQ,kN,pL,hx],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}"],
changeDetection:0});var oQ=function(a,b){this.templateRef=a;this.flatIssuesTable=b};oQ.prototype.ngOnInit=function(){this.forViewCell&&(this.flatIssuesTable.viewCellTemplates[this.forViewCell]=this.templateRef)};oQ.\u0275fac=function(a){return new (a||oQ)(A(Og),A(nQ))};oQ.\u0275dir=r({type:oQ,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var pQ=function(a,b){this.dialogRef=b;this.supportedColumns=N6b;this.currentColumns=[];this.updatedColumns=this.currentColumns=a.currentColumns};pQ.\u0275fac=function(a){return new (a||pQ)(A(aB),A(ZA))};
pQ.\u0275cmp=r({type:pQ,selectors:[["customize-columns-dialog"]],decls:9,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["class","padded-s-y",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"click"],[1,"padded-s-y"],[1,"margin-right",3,"checked","change"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Show or Hide Columns"),E(),D(2,"div",1)(3,"div"),O(4,AFa,3,2,"div",2),R(5,"keyvalue"),E()(),
D(6,"div",3)(7,"button",4),K("click",function(){b.dialogRef.close(b.updatedColumns)}),P(8," Save "),E()());a&2&&(z(4),C("ngForOf",S(5,1,b.supportedColumns)))},dependencies:[ax,NA,dB,eB,fB,QI,mx],encapsulation:2});var O6b=function(a){Y.call(this,a)};X(O6b,Y);g=O6b.prototype;g.getMetric=function(){return bk(this,1,0)};g.getMatcher=function(){return lk(this,2)};g.setMatcher=function(a){k(this,2,a)};g.getDayType=function(){return bk(this,4,0)};g.setDayType=function(a){k(this,4,a)};g.getObjective=function(){return wk(this,il,3)};g.setObjective=function(a){Ok(this,il,3,a)};g.getBusinessDays=function(){return gj(this,5)};g.setBusinessDays=function(a){k(this,5,a)};var P6b=[1,2,3],T2a=new Map([[1,"Assignment"],[2,"Response"],[3,"Closure"]]),Q6b=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),X2a=new Map([[0,"Calendar"],[1,"Calendar"],[2,"Business"]]);var Jk=function(a){Y.call(this,a)};X(Jk,Y);Jk.prototype.getComponentId=function(){return Tk(this,1)};Jk.prototype.setComponentId=function(a){return Lb(this,1,a)};Jk.prototype.getEffectiveSloEditPolicy=function(){return bk(this,2,0)};var R6b=function(a){Y.call(this,a)};X(R6b,Y);R6b.messageId="b.GetComponentSloEditPolicyResponse";var S6b=function(a){Y.call(this,a)};X(S6b,Y);S6b.prototype.getTeamSloEditPolicy=function(){return wk(this,FE,1)};S6b.messageId="b.GetTeamSloEditPolicyResponse";var qQ=function(a){Y.call(this,a,-1,T6b)};X(qQ,Y);g=qQ.prototype;g.getSloId=function(){return kk(this,1)};g.setSloId=function(a){return k(this,1,a)};g.getVersion=function(){return gj(this,2)};g.setVersion=function(a){return k(this,2,a)};g.getVersionOrUndefined=function(){return Ru(this,2)};g.getName=function(){return lk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return gm(this,3)};g.getNameOrUndefined=function(){return Uu(this,3)};
g.getDescription=function(){return lk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return gm(this,4)};g.getParentId=function(){return kk(this,5)};g.setParentId=function(a){k(this,5,a)};var Et=function(a){return fj(a,O6b,6)};qQ.prototype.getIsArchived=function(){return xl(this,8)};qQ.prototype.setIsArchived=function(a){k(this,8,a)};var T6b=[6,7];qQ.messageId="b.SloState";var V6b=function(a){Y.call(this,a,-1,U6b)};X(V6b,Y);var U6b=[1];V6b.messageId="b.SloSearchResponse";var W6b=function(a){Y.call(this,a)};X(W6b,Y);W6b.prototype.getTeamSloEditPolicy=function(){return wk(this,FE,1)};W6b.messageId="b.UpdateTeamSloEditPolicyResponse";var rQ=function(a,b){this.activeSession=a;this.executor=b};g=rQ.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:qQ})};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){return this.executor.get({url:"action/slos",options:{params:{query:a}},responseConstructor:V6b}).pipe(B(function(b){return fj(b,qQ,1)}))};
g.create=function(a){return this.executor.post({url:"action/slos",body:a,responseConstructor:qQ})};g.update=function(a){var b=a.getSloId();return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:qQ})};rQ.\u0275fac=function(a){return new (a||rQ)(n(tu),n(nE))};rQ.\u0275prov=Pc({token:rQ,factory:rQ.\u0275fac,providedIn:"root"});var sQ=function(a,b){this.observableSlosService=b;var c;this.slosCache=null!=(c=a.get("slos-second-level-cache"))?c:a.create("slos-second-level-cache",{capacity:25})};
g=sQ.prototype;g.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,T.firstValueFrom)(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return(0,T.firstValueFrom)(this.observableSlosService.getOwnedSlos())};g.search=function(a){return(0,T.firstValueFrom)(this.observableSlosService.search(a))};g.create=function(a){return(0,T.firstValueFrom)(this.observableSlosService.create(a))};g.update=function(a){return(0,T.firstValueFrom)(this.observableSlosService.update(a))};
sQ.\u0275fac=function(a){return new (a||sQ)(n(lH),n(rQ))};sQ.\u0275prov=Pc({token:sQ,factory:sQ.\u0275fac,providedIn:"root"});var tQ=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.objectiveDisplayText=null;this.iconName="slo-status-no-data"};tQ.prototype.getIconName=function(a){return X6b.has(a)?X6b.get(a):"slo-status-no-data"};
var Y6b=function(a,b,c){a.iconName=a.getIconName(b);c=null!==c?g2b(1E3*c).match(/^(\d+\s\D+)(?:\s|$)/)[1]:"";switch(b){case "COMPLETED":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?"Issue assigned":"RESPONSE"===a.sloMetricDescription?"Response recorded":"CLOSURE"===a.sloMetricDescription?"Issue closed":"SLO fulfilled";break;case "SNOOZED_NEAR":case "SNOOZED_HEALTHY":case "HEALTHY":case "NEAR":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?c+" to assign":"RESPONSE"===a.sloMetricDescription?
c+" to respond":"CLOSURE"===a.sloMetricDescription?c+" to close":c+" left";break;case "OUT_OF_SLO":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?c+" overdue for assignment":"RESPONSE"===a.sloMetricDescription?c+" overdue for response":"CLOSURE"===a.sloMetricDescription?c+" overdue for closure":c+" overdue";break;case "NO_DATA":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?"No assignment SLO":"RESPONSE"===a.sloMetricDescription?"No response SLO":"CLOSURE"===a.sloMetricDescription?
"No closure SLO":"--";break;default:$i("unknown status type: "+b)}};
tQ.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&NJ(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=g2b(1E3*c):this.objectiveDisplayText=null;c=this.sloBounds;NJ(c)&&c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?Y6b(this,"COMPLETED",a-this.sloBounds.endTime.seconds):b<a?Y6b(this,"OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloSnoozed(this.sloSnoozeUntil),a=b-a,Y6b(this,
259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else Y6b(this,"NO_DATA",null),this.objectiveDisplayText=null};tQ.\u0275fac=function(a){return new (a||tQ)(A(MJ),A(TL))};
tQ.\u0275cmp=r({type:tQ,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloSnoozeUntil:"sloSnoozeUntil",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[md],decls:4,vars:6,consts:[[3,"ngClass","svgIcon"],["matTooltipShowDelay","250",1,"slo-time-indicator-text",3,"matTooltip","matTooltipDisabled"],[1,"slo-status-text"]],template:function(a,b){a&1&&(F(0,"mat-icon",0),D(1,"span",1)(2,"span",2),P(3),
E()());a&2&&(C("ngClass",b.iconName)("svgIcon",b.iconName),dg("aria-label","--"===b.timeDisplayText?"No SLO data":""),z(1),yg("matTooltip","",b.objectiveDisplayText," total"),C("matTooltipDisabled",!b.includeObjective||!b.objectiveDisplayText),z(2),Bg(b.timeDisplayText))},dependencies:[$w,OB,qD],styles:[".slo-time-indicator-text[_ngcontent-%COMP%]   span.slo-status-text[_ngcontent-%COMP%]{display:inline-block}mat-icon[_ngcontent-%COMP%]{margin-right:5px;width:18px;height:18px;flex-shrink:0}mat-icon.slo-status-snoozed-near-slo[_ngcontent-%COMP%], mat-icon.slo-status-near[_ngcontent-%COMP%]{color:#fa7b17;color:var(--slo-near)}mat-icon.slo-status-snoozed-healthy[_ngcontent-%COMP%], mat-icon.slo-status-healthy[_ngcontent-%COMP%], mat-icon.slo-status-no-data[_ngcontent-%COMP%], mat-icon.slo-status-completed[_ngcontent-%COMP%]{color:#80868b;color:var(--slo-healthy)}mat-icon.slo-status-out-of-slo[_ngcontent-%COMP%]{color:#ea4335;color:var(--slo-overdue)}[_nghost-%COMP%]{display:inline-flex}"],
changeDetection:0});var X6b=new Map([["SNOOZED_HEALTHY","slo-status-snoozed-healthy"],["SNOOZED_NEAR","slo-status-snoozed-near-slo"],["OUT_OF_SLO","slo-status-out-of-slo"],["HEALTHY","slo-status-healthy"],["NEAR","slo-status-near"],["COMPLETED","slo-status-completed"],["NO_DATA","slo-status-no-data"]]);var uQ=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};uQ.prototype.ngOnInit=function(){Z6b(this);this.hasSlo=!!this.sloStatus&&OJ(this.sloStatus)};uQ.prototype.ngOnChanges=function(){Z6b(this)};var Z6b=function(a){a.sloStatus&&(a.assignmentSlo=$6b(Sj(a.sloStatus.assignmentBounds)),a.responseSlo=$6b(Sj(a.sloStatus.responseBounds)),a.closureSlo=$6b(Sj(a.sloStatus.closureBounds)))};uQ.prototype.isSloSnoozed=function(){return this.sloStatusHelpersService.isSloSnoozed(this.sloSnoozeUntil)};
var $6b=function(a){if(NJ(a))return a};uQ.\u0275fac=function(a){return new (a||uQ)(A(MJ))};
uQ.\u0275cmp=r({type:uQ,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[md],decls:3,vars:3,consts:[[4,"ngIf"],["sloMetricDescription","ASSIGNMENT",3,"sloSnoozeUntil","sloBounds","includeObjective"],["sloMetricDescription","RESPONSE",3,"sloSnoozeUntil","sloBounds","includeObjective"],["sloMetricDescription","CLOSURE",3,"sloSnoozeUntil","sloBounds","includeObjective"]],template:function(a,
b){a&1&&(O(0,BFa,2,3,"div",0),O(1,CFa,2,3,"div",0),O(2,DFa,2,3,"div",0));a&2&&(C("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),z(1),C("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),z(1),C("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[bx,tQ],encapsulation:2,changeDetection:0});var vQ=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};vQ.prototype.ngOnInit=function(){var a;if(a=!!this.sloStatus)a:switch(a=this.sloStatus,this.onlyShowMetric){case "ASSIGNMENT":a=NJ(a.assignmentBounds);break a;case "RESPONSE":a=NJ(a.responseBounds);break a;case "CLOSURE":a=NJ(a.closureBounds);break a;default:a=OJ(a)}this.hasSlo=a;"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),a7b(this)):this.editSloLink=null};
vQ.prototype.trackOpenSlo=function(){Lp(this.analytics,Mp.EDIT_SLO,"open","fromSloStatusCard")};var a7b=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.getName()}).catch(function(){a.sloName=null})};vQ.\u0275fac=function(a){return new (a||vQ)(A(MJ),A(cH),A(LH),A(sQ))};
vQ.\u0275cmp=r({type:vQ,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:4,consts:[[3,"onedevHovercardTrigger"],["card",""],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],["class","slo-indicators",4,"ngIf"],["class","no-slo-message",4,"ngIf"],[4,"ngIf"],[1,"slo-indicators"],[3,"sloStatus",
"sloSnoozeUntil","onlyShowMetric"],[1,"no-slo-message"],["class","slo-link",3,"href","click",4,"ngIf"],[1,"slo-link",3,"href","click"]],template:function(a,b){a&1&&(wg(),D(0,"span",0),xg(1),E(),D(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),O(7,EFa,2,3,"div",5),O(8,HFa,3,2,"div",6),O(9,KFa,4,2,"span",7),E()()()());if(a&2){var c=N(3);C("onedevHovercardTrigger",c);z(7);C("ngIf",b.hasSlo);z(1);C("ngIf",!b.hasSlo);z(1);C("ngIf",b.editSloLink)}},dependencies:[bx,XI,bJ,uQ],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}hovercard-content[_ngcontent-%COMP%]   slo-time-indicator[_ngcontent-%COMP%]{display:inline-block;margin:2px 0}hovercard-content[_ngcontent-%COMP%]   .slo-indicators[_ngcontent-%COMP%]{margin-bottom:5px}hovercard-content[_ngcontent-%COMP%]   .no-slo-message[_ngcontent-%COMP%]{margin:2px 0 5px 2px}hovercard-content[_ngcontent-%COMP%]   .slo-link[_ngcontent-%COMP%]{margin-left:2px}\n/*# sourceMappingURL=slo_status_card.css.map */"]});var wQ=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};wQ.prototype.ngOnInit=function(){b7b(this)};wQ.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&b7b(this)};var b7b=function(a){var b=o_b(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
wQ.\u0275fac=function(a){return new (a||wQ)(A(MJ))};
wQ.\u0275cmp=r({type:wQ,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[md],decls:1,vars:4,consts:[[3,"sloBounds","sloMetricDescription","sloSnoozeUntil","includeObjective"]],template:function(a,b){a&1&&F(0,"b-slo-time-indicator",0);a&2&&C("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloSnoozeUntil",b.sloSnoozeUntil)("includeObjective",
b.includeObjective)},dependencies:[tQ],encapsulation:2,changeDetection:0});var xQ=function(){};xQ.\u0275fac=function(a){return new (a||xQ)};xQ.\u0275mod=fd({type:xQ});xQ.\u0275inj=Qc({imports:[px,rD,lE]});var yQ=function(){};yQ.\u0275fac=function(a){return new (a||yQ)};yQ.\u0275mod=fd({type:yQ});yQ.\u0275inj=Qc({imports:[px,xQ]});var zQ=function(){};zQ.\u0275fac=function(a){return new (a||zQ)};zQ.\u0275mod=fd({type:zQ});zQ.\u0275inj=Qc({imports:[px,gM,yQ]});var AQ=function(){};AQ.\u0275fac=function(a){return new (a||AQ)};AQ.\u0275mod=fd({type:AQ});AQ.\u0275inj=Qc({imports:[px,xQ]});var BQ=function(){};BQ.\u0275fac=function(a){return new (a||BQ)};BQ.\u0275mod=fd({type:BQ});BQ.\u0275inj=Qc({imports:[px]});var CQ=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};CQ.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};CQ.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};CQ.\u0275fac=function(a){return new (a||CQ)(A(Yd))};CQ.\u0275dir=r({type:CQ,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[md]});var DQ=function(){};DQ.\u0275fac=function(a){return new (a||DQ)};DQ.\u0275mod=fd({type:DQ});DQ.\u0275inj=Qc({});var EQ=function(a){Z.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new T.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(Qf(function(c){return b.changelistApi.getChangelistDetails(c)}),Nf({refCount:!0,bufferSize:1}));this.init=new T.ReplaySubject(1)};X(EQ,Z);EQ.\u0275dir=Z.\u0275dir;EQ.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Ef(),Rf(this.destroyed$)).subscribe(function(){a.init.next()})};
EQ.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};EQ.\u0275fac=function(a){return new (a||EQ)(A(qE))};
EQ.\u0275cmp=r({type:EQ,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[$f,md],decls:4,vars:3,consts:[["role","dialog","aria-label","Changelist hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[1,"card"],[3,"href"],["class","author",4,"ngIf"],[1,"description"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[1,"author"],[3,"email","hovercardEnabled"],["mode","datetime",1,"float-right",3,"timestamp"]],template:function(a,b){a&
1&&(D(0,"div",0)(1,"div",1),O(2,OFa,16,6,"ng-container",2),R(3,"async"),E()());a&2&&(z(2),C("ngIf",S(3,1,b.changelist$)))},dependencies:[ax,bx,bM,UL,hx],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.card[_ngcontent-%COMP%]{max-width:700px}.description[_ngcontent-%COMP%]{margin:12px 0 0;max-height:200px;overflow-x:hidden;overflow-y:scroll;text-overflow:ellipsis}"]});var FQ=function(){this.config=Object.assign({},new $I,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};FQ.prototype.ngOnInit=function(){};FQ.\u0275fac=function(a){return new (a||FQ)};
FQ.\u0275cmp=r({type:FQ,selectors:[["b-changelist-link"]],inputs:{changelistId:"changelistId"},decls:5,vars:5,consts:[["target","_blank",1,"bv2-metadata-link",3,"href","onedevHovercardTrigger","onedevHovercardConfig"],["card","onedevHovercard"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"],["cardBody",""]],template:function(a,b){a&1&&(D(0,"a",0),P(1),E(),D(2,"onedev-hovercard",null,1),O(4,PFa,2,2,"b-changelist-card",2),E());if(a&
2){var c=N(3);C("href","http://critique.corp.google.com/"+b.changelistId,ue)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);dg("aria-label","Changelist"+b.changelistId);z(1);Q(" ",b.changelistId,"\n")}},dependencies:[XI,YI,bJ,ZI,EQ],encapsulation:2});var rGa=function(){return[]},GQ=function(a,b,c,d,e){this.issueFridge=a;this.eventsForIssueFridge=b;this.currentUser=c;this.dateFormatter=d;this.changelistApi=e;this.IssueStatus=LQb;this.STATUS_TERSE=rF;this.toIssuePriority=Xm;this.emailToUser=Oj;this.ReactionType=FQb;this.currentUserLdap=this.currentUser.email.split("@")[0];this.selectedFilter="cls";this.artifacts=(0,T.of)([]);this.changelistIds=["512750517","511321359","509949090","508683324"];this.changelists=(0,T.of)([]);this.loadingCards=!0;this.showCommentBox=
new Map;c7b(this)};GQ.prototype.getDayOfYear=function(a){a=void 0===a?new Date:a;var b=new Date(a.getFullYear(),0,0);return Math.floor((a.getTime()-b.getTime()+6E4*(b.getTimezoneOffset()-a.getTimezoneOffset()))/864E5)};
var e7b=function(a){a.selectedFilter="me";a.loadingCards=!0;a.artifacts=a.issueFridge.watchMany({filter:"(assignee:"+a.currentUserLdap+" OR reporter:"+a.currentUserLdap+") AND modified:7d",pageSize:25,sort:"modified_time:desc"}).pipe(B(function(b){var c;return null!=(c=b.results)?c:[]}),B(a.constructIssueArtifacts.bind(a)),Sf(function(){d7b(a)}))},c7b=function(a){a.selectedFilter="team";a.loadingCards=!0;a.artifacts=a.issueFridge.watchMany({filter:"componentid:83132+ modified:7d",pageSize:25,sort:"modified_time:desc"}).pipe(B(function(b){var c;
return null!=(c=b.results)?c:[]}),B(a.constructIssueArtifacts.bind(a)),Sf(function(){d7b(a)}))},d7b=function(a){setTimeout(function(){a.loadingCards=!1},500)},f7b=function(a){a.selectedFilter="hotlist";a.loadingCards=!0;a.artifacts=a.issueFridge.watchMany({filter:"hotlistid:4822563 modified:7d",pageSize:25,sort:"modified_time:desc"}).pipe(B(function(b){var c;return null!=(c=b.results)?c:[]}),B(a.constructIssueArtifacts.bind(a)),Sf(function(){d7b(a)}))},g7b=function(a){a.selectedFilter="savedSearch";
a.loadingCards=!0;a.artifacts=a.issueFridge.watchMany({filter:"savedsearchid:6352618 modified:7d",pageSize:25,sort:"modified_time:desc"}).pipe(B(function(b){var c;return null!=(c=b.results)?c:[]}),B(a.constructIssueArtifacts.bind(a)),Sf(function(){d7b(a)}))};
GQ.prototype.constructIssueArtifacts=function(a){var b=this,c=[];a.sort(function(e,f){return f.majorModifiedTimeMicros-e.majorModifiedTimeMicros});a=m(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c.push({issue:d,eventsToDisplay:this.eventsForIssueFridge.watchOne(d.issueId).pipe(B(function(e){if(e){var f,h=null!=(f=e.events)?f:[];e=e.id;f=[];h=m(h);for(var l=h.next();!l.done;l=h.next())if(l=l.value){var q=b.getInterestingEventType(l);q&&f.push({issueId:e,event:l,eventType:q})}e=f}else e=[];return e}))});
return c};var h7b=function(a){a.selectedFilter="cls";a.changelists=(0,T.combineLatest)(a.changelistIds.map(function(b){return a.changelistApi.getChangelistDetails(b)}))};g=GQ.prototype;g.convertIssueStatusStrToTag=function(a){return Wk[a]};
g.getInterestingEventType=function(a){if(!a||a.modifiedDate<Date.now()-12096E5)return null;if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(p(a.preDiffs),p(a.postDiffs));b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.oldValue&&("priority"===c.name||"status"===c.name))return"newIssue";if("priority"===c.name)return"priority";if("status"===c.name)return rn(a)?"changelistFixed":"status";if("assignee"===c.name)return"assignee";if("statusUpdate"===c.name)return"statusUpdate"}}return rn(a)?
"changelist":gn(a)&&a.isHumanAuthor?"comment":null};g.getClNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};g.getUserEmailIfAvailable=function(a){return Kj(a.userPerformingActionUser)};g.clAuthorToUser=function(a){return{emailAddress:hp(a)+"@google.com"}};g.clAuthorToEmailAddress=function(a){return hp(a)+"@google.com"};
g.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};g.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(p(a.preDiffs),p(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};g.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(p(a.preDiffs),p(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};GQ.\u0275fac=function(a){return new (a||GQ)(A(QH),A(JF),A(kI),A(TL),A(qE))};
GQ.\u0275cmp=r({type:GQ,selectors:[["b-feed"]],decls:18,vars:12,consts:[[1,"container","padded-x"],[1,"filters","padded-y"],[1,"heading-xs"],["role","button","tabindex","0",1,"chippy","rounded",3,"click"],["mat-icon-button","","aria-label","Refresh the feed",1,"small",3,"click"],["svgIcon","refresh"],["class","card-scroll padded-x",4,"ngIf"],[1,"card-scroll","padded-x"],[4,"ngFor","ngForOf"],[1,"carded","bg-main","margin-bottom"],[1,"header","critique"],[1,"logo"],["alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",
1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"text","line-clamp-3"],[1,"first-row","heading-xs",3,"title"],["taret","_blank",1,"subtle-link","line-clamp-2",3,"href"],[1,"second-row","type-xs"],["target","_blank",1,"subtle-link",3,"href"],[3,"model"],[1,"menu"],["mat-icon-button","","aria-label","Show menu for this artifact",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["artifactMenu","matMenu"],["mat-menu-item",""],[1,"updates"],[1,"type-m","margin-bottom"],
["class","update padded-s-bottom margin-s-x",4,"ngFor","ngForOf"],[1,"actions","margin-s-top"],[1,"initiate","bordered","rounded"],["svgIcon","pop-out",1,"icon-s","margin-left"],["mat-button","","target","_blank",3,"href"],[1,"update","padded-s-bottom","margin-s-x"],[1,"text"],["scrollContainer",""],["class","padded centered-inside",4,"ngIf"],["class","carded bg-main margin-bottom the-end",4,"ngIf"],[1,"padded","centered-inside"],[4,"ngIf"],["loading",""],[1,"heading-m","margin-bottom"],[1,"header",
"buganizer"],["alt","","src","https://www.gstatic.com/buganizer/img/v3/logo_light.svg",1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"first-row","heading-xs"],[1,"subtle-link",3,"href"],[3,"issuePriority"],[3,"ngSwitch",4,"ngIf"],[4,"ngIf","ngIfElse"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"type-m"],["class","update padded-y margin-s-x",4,"ngFor","ngForOf"],[1,"actions"],["class","initiate bordered rounded",4,"ngIf"],["class","comment bordered rounded padded-s",
4,"ngIf"],[1,"update","padded-y","margin-s-x"],[1,"avatar"],[1,"bv2-profile-avatar",3,"email"],[1,"type-s","line-clamp-2",3,"title"],[1,"metadata","type-xs","margin-s-top"],["mode","relativepast",3,"timestamp"],["role","button",1,"subtle-link",3,"click"],[1,"type-s","line-clamp-2"],[3,"changelistId"],["svgIcon","add_circle_outline_24px",1,"icon-s","margin-left"],["mat-button","",1,"text","line-clamp-3",3,"click"],[1,"comment","bordered","rounded","padded-s"],["matInput","","aria-label","Add a comment",
"placeholder","Add a comment...",1,"margin-s-left",3,"bFocus"],["mat-icon-button","","matTooltip","Post comment",1,"gmat-button"],["svgIcon","check_circle_filled_24px",1,"icon"],["mat-icon-button","","matTooltip","Discard comment",1,"gmat-button",3,"click"],["svgIcon","close",1,"icon"],["mat-icon-button","","matTooltip","Edit comment in issue details page",1,"gmat-button"],["svgIcon","pop-out",1,"icon"],[1,"carded","bg-main","margin-bottom","the-end"],[1,"heading-s"],["mat-stroked-button","","color",
"primary",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"span",2),P(3,"Filter activity by"),E(),D(4,"span",3),K("click",function(){return e7b(b)}),P(5,"Just me"),E(),D(6,"span",3),K("click",function(){return c7b(b)}),P(7,"My team"),E(),D(8,"span",3),K("click",function(){return f7b(b)}),P(9,"Hotlist"),E(),D(10,"span",3),K("click",function(){return g7b(b)}),P(11,"Saved search"),E(),D(12,"span",3),K("click",function(){return h7b(b)}),P(13,"Changelists"),E(),D(14,"button",4),K("click",
function(){switch(b.selectedFilter){case "me":e7b(b);break;case "team":c7b(b);break;case "hotlist":f7b(b);break;case "savedSearch":g7b(b);break;case "cls":h7b(b)}}),F(15,"mat-icon",5),E()(),O(16,SFa,3,3,"div",6),O(17,uGa,6,5,"div",6),E());a&2&&(z(4),pg("selected","me"===b.selectedFilter),z(2),pg("selected","team"===b.selectedFilter),z(2),pg("selected","hotlist"===b.selectedFilter),z(2),pg("selected","savedSearch"===b.selectedFilter),z(2),pg("selected","cls"===b.selectedFilter),z(4),C("ngIf","cls"===
b.selectedFilter),z(1),C("ngIf","cls"!==b.selectedFilter))},dependencies:[ax,bx,cx,dx,ex,NA,OA,qB,OB,tB,iD,gD,hD,qD,vN,aQ,kN,cM,FQ,UL,CQ,hx],styles:[".card-scroll[_ngcontent-%COMP%]{height:calc(100vh - 100px);overflow-y:scroll}.filters[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px}.filters[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(:first-child){cursor:pointer}.filters[_ngcontent-%COMP%]   .selected[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary);color:#fff;color:var(--text-inverse)}.header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:16px;border-bottom:2px solid gray;padding-bottom:8px;margin-bottom:8px}.header.buganizer[_ngcontent-%COMP%]{border-bottom:2px solid #678390}.header.critique[_ngcontent-%COMP%]{border-bottom:2px solid #1e8e3e}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%], .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;width:40px}.header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar img.user-avatar{height:32px;width:32px}.update[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:16px;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{height:32px;width:32px}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:90%;overflow-wrap:anywhere}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{font-style:italic}.update[_ngcontent-%COMP%]   .metadata[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;margin-left:8px}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:45px}.subtle-link[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%]     .comment .bv2-profile-avatar img.user-avatar{height:24px;width:24px}.the-end[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}\n/*# sourceMappingURL=feed.css.map */"]});var DGa=function(a){return{count:a}},HQ=function(a,b,c,d,e,f){var h=this;this.activeSession=a;this.hackyPrefs=b;this.issuePermissionService=c;this.issueRelationshipsFridge=d;this.projectSuggestService=e;this.issueFridge=f;this.SECTION_SLUG="my-projects-tree-table";this.isNonPublicSession=this.activeSession.isNonPublicSession();this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(B(function(l){var q;return null!=
(q=null==l?void 0:l.relatedChildren.map(function(u){return u.targetIssueId}))?q:[]}));this.unarchivedProjectsCount$=this.projectIds$.pipe(B(function(l){return l.length}));this.rowCreated$=new T.Subject;this.showSuggestedProjects=!1;this.suggestLimit=4;this.suggestedProjects$=(0,T.combineLatest)([OXb(this.projectSuggestService),YH(this.issueRelationshipsFridge,this.hackyPrefs.prefs.id,2)]).pipe(B(function(l){l=m(l);var q=l.next().value,u=l.next().value.results.map(function(x){return x.issueId});return q.filter(function(x){return!u.includes(x)})}),
Qf(this.issueFridge.watchSet));this.modifyMenuItems=function(l,q){if(l.ancestorChain.parentNodeId===h.hackyPrefs.prefs.id){if(l=q.find(function(u){return"Unlink from parent"===u.label}))l.label="Remove project";if(l=q.find(function(u){return"Archive"===u.label}))l.label="Archive project";if(l=q.find(function(u){return"Create sibling"===u.label}))l.label="Create project"}return q}};HQ.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.addExistingChild()};
HQ.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.createChildIssue()};var yGa=function(a,b){a.hackyPrefs.prefs.projectFilters=b;a.hackyPrefs.save(a.hackyPrefs.prefs)};HQ.prototype.addProject=function(a){this.hackyPrefs.prefs.id&&this.issueRelationshipsFridge.assignParentToOneIssue(this.hackyPrefs.prefs.id,a)};HQ.\u0275fac=function(a){return new (a||HQ)(A(tu),A(sI),A(TJ),A(XH),A(lI),A(QH))};
HQ.\u0275cmp=r({type:HQ,selectors:[["my-projects"]],viewQuery:function(a,b){a&1&&Sg(xP,5);if(a&2){var c;Rg(c=Ug())&&(b.table=c.first)}},decls:10,vars:5,consts:[[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],[1,"margin-s-y","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Display different projects and each project can be further broken down into smaller tasks.",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","account_tree_24px",
1,"icon-xxs"],[4,"ngTemplateOutlet"],[3,"collapsed",4,"ngIf"],["class","highlighted-left padded-s-left",4,"ngIf"],["addProjects",""],["saveExpansionAtKey","my-projects",3,"rootIssueId","modifyMenuItems","filters"],["table",""],[4,"ngIf"],[1,"muted"],["href","#","class","keep-focus-ring",3,"click",4,"ngIf"],["class","muted",4,"ngIf"],["href","#",1,"keep-focus-ring",3,"click"],[1,"highlighted-left","padded-s-left"],[1,"margin-s-y"],[4,"ngIf","ngIfElse"],["loading",""],[1,"suggested"],[4,"ngFor","ngForOf"],
["title","Show more projects",3,"onAction",4,"ngIf"],["dismissIcon","add","dismissTooltip","Add project",3,"issue","onlyTitle","onDismiss",4,"ngIf"],["dismissIcon","add","dismissTooltip","Add project",3,"issue","onlyTitle","onDismiss"],["href","http://go/wtdm-home#parent-child-relationship","target","_blank"],["svgIcon","pop-out",1,"icon-xs"],["title","Show more projects",3,"onAction"],["class","add","size","small","title","Create an issue as a project.",3,"disabled","onAction",4,"ngIf"],["size",
"small","title","Add an existing issue as a project.",1,"add",3,"disabled","onAction"],["size","small","title","Show project suggestions",1,"add",3,"disabled","onAction"],["size","small","title","Create an issue as a project.",1,"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"h2",1)(2,"div",2),F(3,"mat-icon",3),E(),P(4," My projects "),E(),O(5,vGa,1,0,"ng-container",4),E(),O(6,FGa,8,15,"section",5),O(7,MGa,7,4,"div",6),O(8,OGa,7,8,"ng-template",null,7,$g));if(a&2){var c=
N(9);pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(5);C("ngTemplateOutlet",c);z(1);C("ngIf",b.hackyPrefs.prefs.id);z(1);C("ngIf",b.showSuggestedProjects)}},dependencies:[ax,bx,gx,ZN,OB,qD,xP,bQ,vN,hx],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     h4 button{margin:-8px 0}[_nghost-%COMP%]     h4 button.gmat-button.mat-stroked-button.small{line-height:21px}.table-header[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}.status[_ngcontent-%COMP%]   b-spinner[_ngcontent-%COMP%]{margin-top:4px}.status[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-1px}b-button.add[_ngcontent-%COMP%]{margin-left:16px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-header.collapsed[_ngcontent-%COMP%]{text-decoration:underline}.table-header.collapsed[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.table-header.collapsed[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%], .table-header.collapsed[_ngcontent-%COMP%]   .b-chip[_ngcontent-%COMP%]{display:none}.table-header.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid rgba(0,0,0,0);border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}.suggested[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}\n/*# sourceMappingURL=my_projects.css.map */']});var IQ=function(){this.toIssuePriority=Xm;this.clAuthorToUser=ava;this.getClNumber=bva;this.clEventToClDescription=cva;this.getPreviousDiffValue=dva;this.getNewDiffValue=eva;this.getIssueDetailsUrl=fva;this.numEventsDisplayed=3;this.activityEvents=null;this.title="Recent Activity"},YGa=function(a){return a.activityEvents&&0!==a.activityEvents.length?3<=a.activityEvents.length-a.numEventsDisplayed?3:a.activityEvents.length-a.numEventsDisplayed:0};
IQ.prototype.trackByEventModifiedTime=function(a,b){return b.issueId+"-"+b.event.modifiedDate};IQ.\u0275fac=function(a){return new (a||IQ)};
IQ.\u0275cmp=r({type:IQ,selectors:[["activity-stream"]],inputs:{activityEvents:"activityEvents",title:"title"},decls:3,vars:6,consts:[[4,"ngIf"],[1,"heading-xs","margin-s-y"],[1,"events"],["class","flex-kids-x",3,"margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"flex-kids-x"],[1,"bv2-profile-avatar",3,"email"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"type-m","event-heading"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2",
"type-s","muted","break-word"],[1,"type-s","muted"],[3,"issuePriority"],["mat-button","","color","primary",1,"gmat-button","margin-s-top","small",3,"click"]],template:function(a,b){a&1&&(O(0,XGa,5,3,"ng-container",0),R(1,"slice"),O(2,ZGa,3,1,"ng-container",0));a&2&&(C("ngIf",Kg(1,2,b.activityEvents,0,b.numEventsDisplayed)),z(2),C("ngIf",0<YGa(b)))},dependencies:[ax,bx,cx,dx,ex,NA,kN,cM,aQ,FQ,dJ,UL,ox],styles:["[_nghost-%COMP%]     b-user-display-name{font-weight:500;color:#202124;color:var(--text)}[_nghost-%COMP%]     .bv2-profile-avatar{margin-top:-8px;margin-bottom:-26px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;margin-right:6px;height:28px;width:28px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:28px;width:28px}.events[_ngcontent-%COMP%]   b-user-image[_ngcontent-%COMP%]{margin-right:0}.event-heading[_ngcontent-%COMP%]{font-size:.875rem}\n/*# sourceMappingURL=activity_stream.css.map */"]});var eHa=function(){return[]},JQ=function(a,b,c,d,e,f){Z.call(this);var h=this;this.hotlistFridge=a;this.hackyPrefs=b;this.data=c;this.projectActivity=d;this.hotlistApi=e;this.issueFridge=f;this.makeCritiqueUrl=gp;this.makePie=Zua;this.hotlistId$=new T.ReplaySubject(1);this.hotlist$=this.hotlistId$.pipe(Qf(this.hotlistFridge.watchOne));this.orderedByHotlistPositionIssueIds$=this.hotlistId$.pipe(Qf(function(l){return h.hotlistApi.getPagedHotlistContent(l,1,50,[])}),B(function(l){return l.issues}),B(function(l){return l.map(function(q){return q.issueId})}));
this.openIssueIds$=this.hotlistId$.pipe(Qf(function(l){return h.issueFridge.watchMany({filter:"hotlistid:"+l+" status:open",pageSize:25,sort:"modified_time:desc"})}),B(function(l){return l.results}),B(function(l){return l.map(function(q){return q.issueId})}));this.hotlistIssueIds$=(0,T.combineLatest)([this.openIssueIds$,this.orderedByHotlistPositionIssueIds$]).pipe(B(function(l){l=m(l);var q=l.next().value,u=l.next().value;l=[];q=new Set(q);u=m(u);for(var x=u.next();!x.done&&(x=x.value,q.has(x)&&
l.push(x),25!==l.length);x=u.next());return l}),Rf(this.destroyed$));this.projectData$=this.orderedByHotlistPositionIssueIds$.pipe(Qf(function(l){return ATb(h.data,[].concat(p(l)))}),Nf({refCount:!0,bufferSize:1}));this.hotlistActivityEvents$=this.hotlistId$.pipe(Qf(function(l){return zYb(h.projectActivity,l)}));this.columnsToDisplay=["title","assignee","status","id","menu"]};X(JQ,Z);JQ.\u0275dir=Z.\u0275dir;
JQ.prototype.isCollapsed=function(a){a=a.hotlistId;return this.addMode||this.prefs.collapsed["hotlist-"+a]};Ei.Object.defineProperties(JQ.prototype,{hotlistId:{configurable:!0,enumerable:!0,set:function(a){this.hotlistId$.next(String(a))}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});JQ.\u0275fac=function(a){return new (a||JQ)(A(xH),A(sI),A(KF),A(vI),A(qH),A(QH))};
JQ.\u0275cmp=r({type:JQ,selectors:[["hotlist-as-project-card"]],inputs:{addMode:"addMode",hotlistId:"hotlistId"},features:[$f],decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","add-mode",4,"ngIf"],[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-flat-button","","color","warn","title","Remove this item from your list (does not delete the item)",1,"gmat-button","remove",3,"click"],["mat-button","","title","Save this to your homepage",
1,"gmat-button","add",3,"click"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],[1,"symbol","arrow",3,"click"],[1,"muted","item-id"],[4,"ngIf"],["class","main-content",4,"ngIf"],["class","margin-left-auto flex-kids-x align-items-center",4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center"],
["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["target","_blank",
"class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,b){a&1&&(O(0,oHa,19,11,"div",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.hotlist$))},dependencies:[ax,bx,NA,kN,nQ,vN,IQ,hx,ox,nx],styles:['[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.header-left[_ngcontent-%COMP%]{margin-top:-3px}.symbol[_ngcontent-%COMP%]{display:inline-block;font-style:normal;vertical-align:middle}.symbol.arrow[_ngcontent-%COMP%]{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid transparent;border-top-color:#80868b;border-top-color:var(--gfx-muted);cursor:pointer}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.add-mode[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%]{display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}\n/*# sourceMappingURL=hotlist_as_project_card.css.map */']});var BHa="QA"===Wm().config.environmentType?82860:1298542,KQ=function(a,b,c,d){var e=this;this.hackyPrefs=a;this.issueFridge=b;this.issueFrFridge=c;this.data=d;this.makePie=Zua;this.getEndDate=AHa;this.Number=Number;this.makeCritiqueUrl=gp;this.makeScreenshotViewUrl=CHa;this.log=console.log.bind(console);this.issueId$=new T.ReplaySubject(1);this.issue$=this.issueId$.pipe(Qf(this.issueFridge.watchOne));this.issueFr$=this.issueId$.pipe(Qf(this.issueFrFridge.watchOne));this.projectData$=this.issueId$.pipe(Qf(function(f){return vTb(e.data,
[f])}),Nf({refCount:!0,bufferSize:1}))};Ei.Object.defineProperties(KQ.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});KQ.\u0275fac=function(a){return new (a||KQ)(A(sI),A(QH),A(TH),A(KF))};
KQ.\u0275cmp=r({type:KQ,selectors:[["issue-as-immersed-card"]],inputs:{issueId:"issueId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","click",4,"ngIf"],[1,"carded","bg-main",3,"click"],[1,"flex-kids-x"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],[1,"symbol","arrow",3,"click"],[1,"muted","item-id"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex","0",3,"click",4,"ngIf"],["class","flex-kids-x align-items-center gap stats margin-s-top",3,"click",4,
"ngIf"],[1,"margin-s-top"],[4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],[3,"email",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[3,"email"],[1,"flex-kids-x",
"align-items-center","gap","stats","margin-s-top",3,"click"],[3,"issuePriority"],["href","#"],[1,"muted",3,"click"]],template:function(a,b){a&1&&(O(0,yHa,17,14,"div",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.issue$))},dependencies:[ax,bx,kN,aQ,hx,ox],styles:['[_nghost-%COMP%]{display:block}h4[_ngcontent-%COMP%]   [mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.collapsed[_ngcontent-%COMP%]   .item-id[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.symbol[_ngcontent-%COMP%]{display:inline-block;font-style:normal;vertical-align:middle}.symbol.arrow[_ngcontent-%COMP%]{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid transparent;border-top-color:#80868b;border-top-color:var(--gfx-muted)}\n/*# sourceMappingURL=issue_as_immersed_card.css.map */']});
var zHa=function(a){return function(b){var c,d;return(null!=(d=null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}}(1070134);var i7b=function(a){Y.call(this,a)};X(i7b,Y);i7b.prototype.getEmail=function(){return lk(this,1)};i7b.prototype.setEmail=function(a){return Mb(this,1,a)};var hq=function(a){Y.call(this,a,-1,j7b)};X(hq,Y);g=hq.prototype;g.getWorkspaceId=function(){return Tk(this,1)};g.getName=function(){return lk(this,2)};g.setName=function(a){return Mb(this,2,a)};g.getTimeZone=function(){return wk(this,Pk,8)};g.setTimeZone=function(a){return Ok(this,Pk,8,a)};g.hasTimeZone=function(){return sl(this,Pk,8)};g.getMembersList=function(){return fj(this,i7b,9)};g.getUpdateTime=function(){return wk(this,cj,12)};g.setUpdateTime=function(a){Ok(this,cj,12,a)};
g.getBookmarkGroupId=function(){return Tk(this,14)};g.setBookmarkGroupId=function(a){Lb(this,14,a)};g.getTeamId=function(){return lk(this,20)};g.setTeamId=function(a){return Mb(this,20,a)};var k7b=dc(hq),j7b=[5,9,13,15,17,18];var l7b=function(a){Y.call(this,a)};X(l7b,Y);l7b.prototype.getWorkspaceId=function(){return Tk(this,1)};var m7b=new DD("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",l7b,hq,function(a){return a.serialize()},k7b);var n7b=function(a){Y.call(this,a)};X(n7b,Y);var LQ=function(a){Y.call(this,a,-1,o7b)};X(LQ,Y);LQ.prototype.setWorkItemId=function(a){return Zj(this,1,p7b,a)};var q7b=function(){var a=new LQ,b=new n7b;return am(a,2,p7b,b)},o7b=[3],p7b=[1,2];var s7b=function(a){Y.call(this,a,-1,r7b)};X(s7b,Y);var r7b=[1];var t7b=new DD("/google.corp.devtools.worktracker.v1.WorkspaceService/List",LQ,s7b,function(a){return a.serialize()},dc(s7b));var u7b=function(a,b){b=b||{};b.format="jspb";this.client_=new eE(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};u7b.prototype.get=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},m7b)};u7b.prototype.list=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},t7b)};var v7b={},w7b;v7b.Authorization=null!=(w7b=sq([]))?w7b:"";v7b["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";v7b["X-Goog-AuthUser"]="0";
var MQ=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();a:switch(this.environmentType){case "NIGHTLY":a="https://staging-worktracker-googleapis.corp.google.com";break a;case "PROD":a="https://worktracker-googleapis.corp.google.com";break a;default:a="https://autopush-worktracker-googleapis.corp.google.com"}this.client=this.clientFactory.create(a)},x7b=function(a,b){return a.activeSession.isExternalSession()?(0,T.of)([]):(0,T.from)(a.client.list((new LQ).setWorkItemId("b/"+
b),v7b)).pipe(B(DHa(b)),yf(function(){return(0,T.of)([])}))};MQ.\u0275fac=function(a){return new (a||MQ)(n(tu),n(NQ))};MQ.\u0275prov=Pc({token:MQ,factory:MQ.\u0275fac,providedIn:"root"});var NQ=function(){};NQ.prototype.create=function(a){return new u7b(a,{withCredentials:!0,suppressCorsPreflight:!0})};NQ.\u0275fac=function(a){return new (a||NQ)};NQ.\u0275prov=Pc({token:NQ,factory:NQ.\u0275fac,providedIn:"root"});var KHa=function(){return[]},PHa=function(){return{hideHeader:!0,assigneeMode:"avatar-in-progress",showPendingFixCls:!0}},eIa="QA"===Wm().config.environmentType?82860:1298542,OQ=function(a,b,c,d,e,f){Z.call(this);var h=this;this.hackyPrefs=a;this.issueFridge=b;this.data=c;this.workspaceService=d;this.activeSession=e;this.projectActivity=f;this.makePie=Zua;this.getEndDate=dIa;this.Number=Number;this.makeCritiqueUrl=gp;this.makeScreenshotViewUrl=fIa;this.log=console.log.bind(console);this.TABLE_COLUMNS=
"focus-indicator drag-handle title assignee status id menu".split(" ");this.maybeIssueId$=new T.BehaviorSubject(void 0);this.issueId$=this.maybeIssueId$.pipe(sf(Boolean));this.issue$=this.issueId$.pipe(Qf(this.issueFridge.watchOne));this.projectData$=this.issueId$.pipe(Qf(function(l){return vTb(h.data,[l])}),Nf({refCount:!0,bufferSize:1}));this.taskFlowLink$=this.issueId$.pipe(Qf(function(l){return h.getTaskFlowLink(l)}));this.projectActivityStream$=this.issueId$.pipe(Qf(function(l){return yYb(h.projectActivity,
l)}));this.environmentType=this.activeSession.getEnvironmentType()};X(OQ,Z);OQ.\u0275dir=Z.\u0275dir;OQ.prototype.isCollapsed=function(a){return null==a?!0:this.addMode||this.prefs.collapsed["project-"+a]};
OQ.prototype.getTaskFlowLink=function(a){var b=this;return x7b(this.workspaceService,a).pipe(Qf(function(c){if(0<c.length){c=c[0];switch(b.environmentType){case "NIGHTLY":case "PROD":var d="https://taskflow.corp.google.com/workspaces";break;default:d="https://taskflow-autopush.corp.google.com/workspaces"}c=(0,T.of)(d+"/"+c.workspaceId+"/work_item/b/"+c.issueId)}else c=(0,T.of)(void 0);return c}))};
Ei.Object.defineProperties(OQ.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.maybeIssueId$.next(a)},get:function(){return this.maybeIssueId$.value}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});OQ.\u0275fac=function(a){return new (a||OQ)(A(sI),A(QH),A(KF),A(MQ),A(tu),A(vI))};
OQ.\u0275cmp=r({type:OQ,selectors:[["issue-as-project-card"]],inputs:{addMode:"addMode",issueId:"issueId"},features:[$f],decls:5,vars:8,consts:[[1,"carded","bg-main"],[4,"ngIf","ngIfElse"],["noIssue",""],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-flat-button","","color","warn","title","Remove this project from your list (does not delete the project)",1,"gmat-button","remove",3,"click"],["mat-button","","title","Save this project to your homepage",1,"gmat-button",
"add",3,"click"],[1,"main","grow-1"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],[1,"symbol","arrow",3,"click"],[1,"muted","issue-id"],[4,"ngIf"],["class","main-content",4,"ngIf"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex","0",3,"click",4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",
3,"email",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",3,"click",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats",3,"click"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],
[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["svgIcon","release-notes-default",1,"icon-s"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options","projectData"],[3,"href"],["target","_blank",1,"subtle-link","muted","margin-right",3,"href"],["href","https://launch.corp.google.com","target","_blank",1,"subtle-link","muted","margin-right"],
["loading",""],["target","_blank",1,"margin-right",3,"href"],[3,"activityEvents","title"],["loadFailed",""],[1,"muted"],["href","javascript:void(0);",1,"color-bad-text",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,ZHa,21,7,"ng-container",1),R(2,"async"),O(3,bIa,3,2,"ng-template",null,2,$g),E());if(a&2){var c=N(4);pg("collapsed",b.isCollapsed(b.issueId))("add-mode",b.addMode);z(1);C("ngIf",S(2,6,b.issue$))("ngIfElse",c)}},dependencies:[ax,bx,xP,NA,OB,kN,vN,IQ,hx,ox,nx],styles:['[_nghost-%COMP%]{display:block}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}h4[_ngcontent-%COMP%]   [mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.symbol[_ngcontent-%COMP%]{display:inline-block;font-style:normal;vertical-align:middle}.symbol.arrow[_ngcontent-%COMP%]{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid transparent;border-top-color:#80868b;border-top-color:var(--gfx-muted);cursor:pointer}.add-mode[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%]{display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}\n/*# sourceMappingURL=issue_as_project_card.css.map */']});
var cIa=function(a){return function(b){var c,d;return(null!=(d=null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}}(1070134);var PQ=function(a){Y.call(this,a)};X(PQ,Y);PQ.prototype.getSearch=function(){return wk(this,No,1)};PQ.prototype.setSearch=function(a){Ok(this,No,1,a)};PQ.messageId="b.SearchResponse";var QQ=function(a){this.jspbExecutor=a};QQ.prototype.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:PQ}).pipe(B(gIa))};QQ.prototype.create=function(a,b){var c=new No;c.setName(a);c.setQuery(b);return this.jspbExecutor.post({url:"action/saved_searches",body:c,responseConstructor:PQ}).pipe(B(gIa))};
QQ.prototype.update=function(a,b){var c=new No;k(c,1,String(b.searchId));c.setName(b.name);c.setDescription(b.description);c.setQuery(b.query);var d;c.setSortOrderList((null!=(d=b.sortOrder)?d:[]).map(aua));var e;c.setDisplayColumnList((null!=(e=b.displayColumn)?e:[]).map(Zta));var f;c.setAdminUsersList((null!=(f=b.adminUsers)?f:[]).map(Nj));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:PQ}).pipe(B(gIa))};
QQ.prototype.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};QQ.\u0275fac=function(a){return new (a||QQ)(n(nE))};QQ.\u0275prov=Pc({token:QQ,factory:QQ.\u0275fac,providedIn:"root"});var RQ=function(a){this.observableResources=a};RQ.prototype.get=function(a){return(0,T.firstValueFrom)(this.observableResources.get(a))};RQ.prototype.create=function(a,b){return(0,T.firstValueFrom)(this.observableResources.create(a,b))};
RQ.prototype.update=function(a,b){return(0,T.firstValueFrom)(this.observableResources.update(a,b))};RQ.prototype.delete=function(a){return(0,T.firstValueFrom)(this.observableResources.delete(a))};RQ.\u0275fac=function(a){return new (a||RQ)(n(QQ))};RQ.\u0275prov=Pc({token:RQ,factory:RQ.\u0275fac,providedIn:"root"});var lIa=function(){return[]},SQ=function(a,b,c,d,e){var f=this;this.issueFridge=a;this.savedSearchesApi=b;this.data=c;this.hackyPrefs=d;this.projectActivity=e;this.makeCritiqueUrl=gp;this.savedSearchId$=new T.ReplaySubject(1);this.savedSearchIssueIds$=this.savedSearchId$.pipe(Qf(function(h){return f.issueFridge.watchMany({filter:"savedsearchid:"+h+" status:open",pageSize:100,sort:"modified_time:desc"})}),B(function(h){return h.results}),B(function(h){return h.map(function(l){return l.issueId})}));
this.savedSearchMetadata$=this.savedSearchId$.pipe(Qf(function(h){return f.savedSearchesApi.get(h)}));this.savedSearchActivityEvents$=this.savedSearchId$.pipe(Qf(function(h){return AYb(f.projectActivity,h)}));this.savedSearchAggregatedData$=this.savedSearchIssueIds$.pipe(Qf(function(h){return ATb(f.data,[].concat(p(h)))}),Nf({refCount:!0,bufferSize:1}));this.columnsToDisplay="title assignee priority status id menu".split(" ")};
SQ.prototype.isCollapsed=function(a){a=a.searchId;return this.addMode||this.prefs.collapsed["savedsearch-"+a]};Ei.Object.defineProperties(SQ.prototype,{savedSearchId:{configurable:!0,enumerable:!0,set:function(a){this.savedSearchId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});SQ.\u0275fac=function(a){return new (a||SQ)(A(QH),A(QQ),A(KF),A(sI),A(vI))};
SQ.\u0275cmp=r({type:SQ,selectors:[["saved-search-as-project-card"]],inputs:{addMode:"addMode",savedSearchId:"savedSearchId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed",4,"ngIf"],[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-flat-button","","color","warn","title","Remove this item from your list (does not delete the item)",1,"gmat-button","remove",3,"click"],["mat-button","","title","Save this to your homepage",1,"gmat-button",
"add",3,"click"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],[1,"symbol","arrow",3,"click"],[1,"muted","item-id"],[4,"ngIf"],["class","main-content",4,"ngIf"],["class","margin-left-auto flex-kids-x align-items-center",4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center"],
["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],[3,"href"],[3,"issueIds",
"displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,b){a&1&&(O(0,vIa,19,9,"div",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.savedSearchMetadata$))},dependencies:[ax,bx,NA,kN,nQ,vN,IQ,hx,ox],styles:['[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.header-left[_ngcontent-%COMP%]{margin-top:-3px}.symbol[_ngcontent-%COMP%]{display:inline-block;font-style:normal;vertical-align:middle}.symbol.arrow[_ngcontent-%COMP%]{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid transparent;border-top-color:#80868b;border-top-color:var(--gfx-muted);cursor:pointer}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.add-mode[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%]{display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}\n/*# sourceMappingURL=saved_search_as_project_card.css.map */']});var TQ=function(a,b){this.activeSession=a;this.cdr=b;this.disabled=this.starred=!1;this.acceptInput=!0;this.starMessage="Star the issue";this.unStarMessage="Un-star the issue";this.starClicked=new vw;this.isAnonymous=this.activeSession.isAnonymous()};g=TQ.prototype;g.onClick=function(a){a.stopPropagation();this.acceptInput&&(this.starClicked.emit(!!this.starred),this.cdr.detectChanges())};g.onEnter=function(a){this.onClick(a)};g.isDisabled=function(){return this.isAnonymous||this.disabled};
g.getLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starred?this.unStarMessage:this.starMessage};g.getAriaLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starMessage};TQ.\u0275fac=function(a){return new (a||TQ)(A(tu),A(HH))};
TQ.\u0275cmp=r({type:TQ,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},features:[Dg([HH])],decls:4,vars:7,consts:[[1,"inline-block",3,"matTooltip"],["tooltip","matTooltip"],["mat-icon-button","","role","checkbox",1,"small",3,"disabled","keydown.enter","click","focus","blur"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){if(a&1){var c=t();D(0,"div",
0,1)(2,"button",2);K("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){v(c);var d=N(1);return w(d.show())})("blur",function(){v(c);var d=N(1);return w(d.hide())});F(3,"mat-icon",3);E()()}a&2&&(C("matTooltip",b.getLabel()),z(2),pg("starred",b.starred),C("disabled",b.isDisabled()),dg("aria-label",b.getAriaLabel())("aria-checked",b.starred),z(1),C("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[NA,OB,qD],styles:["[_nghost-%COMP%]{opacity:.9;text-align:center}[_nghost-%COMP%]:hover{opacity:1}[_nghost-%COMP%]   button.mat-icon-button[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}[_nghost-%COMP%]   button.mat-icon-button.starred[_ngcontent-%COMP%]{color:#e37400;color:var(--favorite-star)}[_nghost-%COMP%]   button.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;margin-right:initial}"],
changeDetection:0});var UQ=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new vw;this.currentUserEmail=this.activeSession.getUserEmail()};UQ.prototype.ngOnInit=function(){};UQ.prototype.isDirectAdmin=function(a){return a?Hj(a.adminUsers).includes(this.currentUserEmail):!1};UQ.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};UQ.\u0275fac=function(a){return new (a||UQ)(A(cH),A(tu))};
UQ.\u0275cmp=r({type:UQ,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},decls:1,vars:1,consts:[["class","hotlist-matlist-option",4,"ngIf"],[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],["class","valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked",
4,"ngIf"],["matTooltip","Open hotlist in a new tab","target","_blank",1,"keep-focus-ring",3,"routerLink","click","keydown.enter"],["svgIcon","pop-out",1,"icon-s"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&O(0,yIa,9,4,"div",0);a&2&&C("ngIf",b.hotlist)},dependencies:[bx,OB,XG,TQ,qD,hx],encapsulation:2,changeDetection:0});var y7b=function(){this.tokens=new Map};y7b.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};y7b.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new z7b(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var z7b=function(a){this.sortedEntries=a};
z7b.prototype.match=function(a){for(var b=0,c=this.sortedEntries.length-1;b<=c;){var d=b+Math.floor((c-b)/2),e=this.sortedEntries[d].token;if(a===e){b=d;break}else a>e?b=d+1:c=d-1}for(c=[];b<this.sortedEntries.length;b++)if(this.sortedEntries[b].token.startsWith(a))c.push(this.sortedEntries[b]);else break;return c};z7b.prototype.search=function(a){var b=new Set;a=m(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=m(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var A7b=function(a,b){if(0===b.length)return new Set;for(var c=a.search(b[0]),d=1;d<b.length&&0<c.size;d++){var e=[].concat(p(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var B7b=function(a){this.hotlists=a;var b=new y7b,c=new y7b;a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=(null==(e=d.name)?0:e.trim())?Zwa(d.name.toLowerCase()):[];f=m(f);for(e=f.next();!e.done;e=f.next())b.add(e.value,d);e=void 0;f=(null==(e=d.description)?0:e.trim())?Zwa(d.description.toLowerCase()):[];f=m(f);for(e=f.next();!e.done;e=f.next())c.add(e.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
l){return[h,l]}))};
B7b.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=m(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=d.name)?void 0:e.toLowerCase(),h=void 0;e=null==(h=d.description)?void 0:h.toLowerCase();h=d.hotlistId;var l=void 0,q=void 0;(Ana(a)&&String(h).includes(a)||(null==(l=f)?0:l.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}c=Zwa(a);d=m(A7b(this.nameTokenMatcher,c));for(a=d.next();!a.done;a=d.next())b.add(a.value);c=m(A7b(this.descriptionTokenMatcher,c));
for(a=c.next();!a.done;a=c.next())b.add(a.value);return C7b(this,b)};var C7b=function(a,b){return[].concat(p(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var VQ=function(){this.innerHeight$=(0,T.concat)((0,T.defer)(function(){return(0,T.of)(window.innerHeight)}),(0,T.fromEvent)(window,"resize").pipe(B(function(){return window.innerHeight})))};VQ.\u0275fac=function(a){return new (a||VQ)};VQ.\u0275prov=Pc({token:VQ,factory:VQ.\u0275fac,providedIn:"root"});new Ud("ListOption");new Ud("MAT_LIST_CONFIG");var WQ=function(){this._inset=this._vertical=!1};Ei.Object.defineProperties(WQ.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Kh(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=Kh(a)}}});WQ.\u0275fac=function(a){return new (a||WQ)};
WQ.\u0275cmp=r({type:WQ,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(dg("aria-orientation",b.vertical?"vertical":"horizontal"),pg("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],
encapsulation:2,changeDetection:0});var XQ=function(){};XQ.\u0275fac=function(a){return new (a||XQ)};XQ.\u0275mod=fd({type:XQ});XQ.\u0275inj=Qc({imports:[gA,gA]});new Ud("SelectionList");new Ud("MatList");new Ud("MatNavList");Hi(Gi(function(){}));Gi(function(){});var YQ=function(){};YQ.\u0275fac=function(a){return new (a||YQ)};YQ.\u0275dir=r({type:YQ,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]});var ZQ=function(){};ZQ.\u0275fac=function(a){return new (a||ZQ)};ZQ.\u0275dir=r({type:ZQ,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]});var D7b=["text"],E7b=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],F7b=Gi(function(){}),G7b=Gi(function(){}),H7b={provide:rx,useExisting:Nc(function(){return $Q}),multi:!0},I7b=function(a,b){this.source=a;this.options=b},aR=function(a,b,c){var d=G7b.call(this)||this;d._element=a;d._changeDetector=b;d.selectionList=c;d._selected=!1;d._disabled=!1;d._hasFocus=!1;d.selectedChange=new vw;d.checkboxPosition="after";d._inputsInitialized=!1;return d};
X(aR,G7b);g=aR.prototype;g.ngOnInit=function(){var a=this,b=this.selectionList;b._value&&b._value.some(function(d){return b.compareWith(a._value,d)})&&this._setSelected(!0);var c=this._selected;Promise.resolve().then(function(){if(a._selected||c)a.selected=!0,a._changeDetector.markForCheck()});this._inputsInitialized=!0};g.ngAfterContentInit=function(){Fla(this._lines,this._element)};
g.ngOnDestroy=function(){var a=this;this.selected&&Promise.resolve().then(function(){a.selected=!1});var b=this._hasFocus,c=this.selectionList._removeOptionFromList(this);b&&c&&c.focus()};g.toggle=function(){this.selected=!this.selected};g.focus=function(){this._element.nativeElement.focus()};g.getLabel=function(){return this._text?this._text.nativeElement.textContent||"":""};g._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple};
g._handleClick=function(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent([this]))};g._handleFocus=function(){this.selectionList._setFocusedOption(this);this._hasFocus=!0};g._handleBlur=function(){this.selectionList._onTouched();this._hasFocus=!1};g._getHostElement=function(){return this._element.nativeElement};
g._setSelected=function(a){if(a===this._selected)return!1;(this._selected=a)?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this);this.selectedChange.emit(a);this._changeDetector.markForCheck();return!0};g._markForCheck=function(){this._changeDetector.markForCheck()};
Ei.Object.defineProperties(aR.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.selectionList.color},set:function(a){this._color=a}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this.selected&&!this.selectionList.compareWith(a,this.value)&&this._inputsInitialized&&(this.selected=!1);this._value=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},
set:function(a){a=Kh(a);a!==this._disabled&&(this._disabled=a,this._changeDetector.markForCheck())}},selected:{configurable:!0,enumerable:!0,get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(a){a=Kh(a);a!==this._selected&&(this._setSelected(a),(a||this.selectionList.multiple)&&this.selectionList._reportValueChange())}}});aR.\u0275fac=function(a){return new (a||aR)(A(Yd),A(Vw),A(Nc(function(){return $Q})))};
aR.\u0275cmp=r({type:aR,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(Tg(c,YQ,5),Tg(c,ZQ,5),Tg(c,oA,5));if(a&2){var d;Rg(d=Ug())&&(b._avatar=d.first);Rg(d=Ug())&&(b._icon=d.first);Rg(d=Ug())&&(b._lines=d)}},viewQuery:function(a,b){a&1&&Sg(D7b,5);if(a&2){var c;Rg(c=Ug())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&K("focus",function(){return b._handleFocus()})("blur",function(){return b._handleBlur()})("click",
function(){return b._handleClick()});a&2&&(dg("aria-selected",b.selected)("aria-disabled",b.disabled)("tabindex",-1),pg("mat-list-item-disabled",b.disabled)("mat-list-item-with-avatar",b._avatar||b._icon)("mat-primary","primary"===b.color)("mat-accent","primary"!==b.color&&"warn"!==b.color)("mat-warn","warn"===b.color)("mat-list-single-selected-option",b.selected&&!b.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",disabled:"disabled",
selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[$f],ngContentSelectors:["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(a,b){a&1&&(wg(E7b),D(0,"div",0),F(1,"div",1),O(2,zIa,1,2,"mat-pseudo-checkbox",
2),D(3,"div",3,4),xg(5),E(),xg(6,1),E());a&2&&(pg("mat-list-item-content-reverse","after"==b.checkboxPosition),z(1),C("matRippleTrigger",b._getHostElement())("matRippleDisabled",b._isRippleDisabled()),z(1),C("ngIf",b.selectionList.multiple))},dependencies:[qA,rA,bx],encapsulation:2,changeDetection:0});
var $Q=function(a,b,c){var d=F7b.call(this)||this;d._element=a;d._changeDetector=b;d._focusMonitor=c;d._multiple=!0;d._contentInitialized=!1;d.selectionChange=new vw;d.color="accent";d.compareWith=function(e,f){return e===f};d._disabled=!1;d.selectedOptions=new Nz(d._multiple);d._tabIndex=-1;d._onChange=function(){};d._destroyed=new T.Subject;d._onTouched=function(){};return d};X($Q,F7b);g=$Q.prototype;
g.ngAfterContentInit=function(){var a=this;this._contentInitialized=!0;this._keyManager=lIb(jIb(wz(mIb(uz(new Az(this.options)))),function(){return!1}));this._value&&this._setOptionsFromValues(this._value);this._keyManager.tabOut.subscribe(function(){return a._allowFocusEscape()});this.options.changes.pipe(Pf(null),Rf(this._destroyed)).subscribe(function(){a._updateTabIndex()});this.selectedOptions.changed.pipe(Rf(this._destroyed)).subscribe(function(b){if(b.added)for(var c=m(b.added),d=c.next();!d.done;d=
c.next())d.value.selected=!0;if(b.removed)for(b=m(b.removed),d=b.next();!d.done;d=b.next())d.value.selected=!1});this._focusMonitor.monitor(this._element).pipe(Rf(this._destroyed)).subscribe(function(b){if("keyboard"===b||"program"===b){for(var c=b=0;c<a.options.length;c++){var d=void 0;if(null==(d=a.options.get(c))?0:d.selected){b=c;break}}a._keyManager.setActiveItem(b)}})};g.ngOnChanges=function(a){var b=a.disableRipple;a=a.color;(b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._focusMonitor.stopMonitoring(this._element);this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0};g.focus=function(a){this._element.nativeElement.focus(a)};g.selectAll=function(){this._setAllOptionsSelected(!0)};g.deselectAll=function(){return this._setAllOptionsSelected(!1)};g._setFocusedOption=function(a){xz(this._keyManager,a)};
g._removeOptionFromList=function(a){a=this._getOptionIndex(a);-1<a&&this._keyManager.activeItemIndex===a&&(0<a?xz(this._keyManager,a-1):0===a&&1<this.options.length&&xz(this._keyManager,Math.min(a+1,this.options.length-1)));return this._keyManager.activeItem};
g._keydown=function(a){var b=a.keyCode,c=this._keyManager,d=c.activeItemIndex,e=Qh(a);switch(b){case 32:case 13:e||0<c._pressedLetters.length||(this._toggleFocusedOption(),a.preventDefault());break;default:if(65!==b||!this.multiple||!Qh(a,"ctrlKey")||0<c._pressedLetters.length)c.onKeydown(a);else e=this.options.some(function(f){return!f.disabled&&!f.selected}),this._setAllOptionsSelected(e,!0,!0),a.preventDefault()}this.multiple&&(38===b||40===b)&&a.shiftKey&&c.activeItemIndex!==d&&this._toggleFocusedOption()};
g._reportValueChange=function(){if(this.options&&!this._isDestroyed){var a=this._getSelectedOptionValues();this._onChange(a);this._value=a}};g._emitChangeEvent=function(a){this.selectionChange.emit(new I7b(this,a))};g.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};g.setDisabledState=function(a){this.disabled=a};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g._setOptionsFromValues=function(a){var b=this;this.options.forEach(function(c){return c._setSelected(!1)});a.forEach(function(c){var d=b.options.find(function(e){return e.selected?!1:b.compareWith(e.value,c)});d&&d._setSelected(!0)})};g._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};
g._toggleFocusedOption=function(){var a=this._keyManager.activeItemIndex;null!=a&&this._isValidIndex(a)&&(!(a=this.options.toArray()[a])||a.disabled||!this._multiple&&a.selected||(a.toggle(),this._emitChangeEvent([a])))};g._setAllOptionsSelected=function(a,b,c){var d=[];this.options.forEach(function(e){b&&e.disabled||!e._setSelected(a)||d.push(e)});d.length&&(this._reportValueChange(),c&&this._emitChangeEvent(d));return d};g._isValidIndex=function(a){return 0<=a&&a<this.options.length};
g._getOptionIndex=function(a){return this.options.toArray().indexOf(a)};g._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};g._allowFocusEscape=function(){var a=this;this._tabIndex=-1;setTimeout(function(){a._tabIndex=0;a._changeDetector.markForCheck()})};g._updateTabIndex=function(){this._tabIndex=0===this.options.length?-1:0};
Ei.Object.defineProperties($Q.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Kh(a);this._markOptionsForCheck()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=Kh(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new Nz(this._multiple,this.selectedOptions.selected))}}});$Q.\u0275fac=function(a){return new (a||$Q)(A(Yd),A(Vw),A(ly))};
$Q.\u0275cmp=r({type:$Q,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&Tg(c,aR,5);if(a&2){var d;Rg(d=Ug())&&(b.options=d)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(a,b){a&1&&K("keydown",function(c){return b._keydown(c)});a&2&&dg("aria-multiselectable",b.multiple)("aria-disabled",b.disabled.toString())("tabindex",b._tabIndex)},inputs:{disableRipple:"disableRipple",color:"color",compareWith:"compareWith",disabled:"disabled",
multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Dg([H7b]),$f,md],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(wg(),xg(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],
encapsulation:2,changeDetection:0});var bR=function(a,b,c,d,e,f,h,l,q,u,x,y){Z.call(this);var G=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.hotlistApi=e;this.snackBar=f;this.appEvents=h;this.errorHandler=l;this.activeSession=q;this.userApi=u;this.windowHeight=x;this.permissionsFridge=y;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new T.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(Af(100),Pf(""));this.hotlists=
[];this.allHotlistIds=new Set(this.data.selectedHotlistIds);this.selectedHotlistIds=new Set(this.data.selectedHotlistIds);this.originalIds=new Set(this.data.selectedHotlistIds);this.pristine=!0;this.saveBtnLabel="Save";this.saveBtnTooltip="Save your hotlist choices";this.hotlistUnderEdit=new Ix({name:new Kx("",Ax),description:new Kx("")});this.currentUserEmail=this.activeSession.getUserEmail();this.starredHotlists=new hK;this.isSavingStar=new hK;this.userHotlists$=vWb(this.hotlistFridge);this.issueHotlists$=
this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));this.combineHotlistsWithPermissions=B(function(J){var M=G.permissionsFridge.watchSet(J.map(function(V){return"hotlists/"+V.hotlistId}));return J.map(function(V,U){return Object.assign({},V,{permissions$:M.pipe(B(function(W){return W[U]}))})})});this.hotlists$=(0,T.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(B(function(J){var M=m(J);J=M.next().value;M=M.next().value;return[].concat(p(J),p(M))}),B(ira(function(J){return J.hotlistId})),
B(function(J){return J.filter(Vj)}),B(function(J){return J.sort(RIa)}),B(function(J){return J.sort(function(M,V){var U=G.selectedHotlistIds;M=U.has(M.hotlistId);V=U.has(V.hotlistId);return M&&V?0:M?-1:V?1:0})}),this.combineHotlistsWithPermissions,Nf({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(B(function(J){return new B7b(J)}),Nf({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new T.Subject;this.matchedHotlists$=(0,T.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,
this.hotlists$]).pipe(B(function(J){var M=m(J);J=M.next().value;var V=M.next().value;M=M.next().value;return""!==J.trim()?V.search(J):M}),Nf({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,T.combineLatest)([this.matchedHotlists$,(0,T.merge)(this.matchedHotlists$.pipe(B(function(){return!1})),this.forceShowOverflow$)]).pipe(B(function(J){var M=m(J);J=M.next().value;M=M.next().value;return 200<J.length&&!M?J.slice(0,200):J}),Nf({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,T.combineLatest)([this.matchedHotlists$,
this.visibleHotlists$]).pipe(B(function(J){var M=m(J);J=M.next().value;M=M.next().value;return J.length!==M.length}));this.showLoadById$=this.query$.pipe(B(function(J){J=J.trim();return!G.allHotlistIds.has(Number(J))&&Ana(J)}));this.showCreateNew$=(0,T.combineLatest)([this.query$,this.matchedHotlists$]).pipe(B(function(J){var M=m(J);J=M.next().value;M=M.next().value;return SIa(J,M)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(B(function(J){return Math.max(1,Math.floor(.5*
J/24))}),Df());this.compactNumberOfHotlistsToShow$.pipe(B(function(J){return 24*J}));this.subscriptions.add(this.hotlists$.subscribe(function(J){G.hotlists=J;J=m(J);for(var M=J.next();!M.done;M=J.next())G.allHotlistIds.add(M.value.hotlistId)}))};X(bR,Z);bR.\u0275dir=Z.\u0275dir;bR.prototype.ngOnInit=function(){var a=this;J7b(this);this.query$.pipe(Rf(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
var NIa=function(a,b){b.options.forEach(function(d){d.selected?a.selectedHotlistIds.add(d.value):a.selectedHotlistIds.delete(d.value)});b=pna(a.originalIds,a.selectedHotlistIds);a.pristine=!b;var c=m(TIa(b));b=c.next().value;c=c.next().value;a.saveBtnLabel=b;a.saveBtnTooltip=c},jq=function(a){a.dialogRef.close(a.selectedHotlistIds)},FIa=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},K7b=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?
void 0:b.value)?a:""},EIa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=FIa(a),c=K7b(a);a.hotlistApi.createHotlist(b,c).then(function(d){a.snackBar.open('Hotlist "'+d.name+"'\" saved.","dismiss",{duration:3E3});d=d.hotlistId;a.appEvents.hotlistChanged.next({hotlistId:d});a.selectedHotlistIds.add(d);a.dialogRef.close(a.selectedHotlistIds)}).catch(function(d){a.errorHandler.errorHandler(null,d)})},J7b=function(a){a.userApi.getUserSidebar().then(function(b){a.starredHotlists.clear();
for(var c=m(b.hotlists||[]),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=m(b.bookmarkGroups||[]);for(c=b.next();!c.done;c=b.next())for(c=m(c.value.sublinks||[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
bR.prototype.toggleStar=function(a){var b=this,c,d,e;return Ze(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a,userLogin:b.currentUserEmail};$e(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),af(f,b.userApi.deleteFavorite(d),3);b.starredHotlists.add(a);return af(f,b.userApi.saveFavorite(d),3);case 3:bf(f);b.isSavingStar.delete(a);cf(f,4);break;case 2:e=df(f);sG(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),
b.appEvents.favoritesModified.next(),J7b(b),ef(f)}})};var IIa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);jq(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};bR.prototype.trackByHotlistId=function(a,b){return b.hotlistId};bR.\u0275fac=function(a){return new (a||bR)(A(ZA),A(aB),A(cH),A(xH),A(oH),A(jG),A(uG),A(qG),A(tu),A(tH),A(VQ),A(ZH))};
bR.\u0275cmp=r({type:bR,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&K("keydown.meta.enter",function(){return jq(b)})("keydown.shift.enter",function(){return jq(b)})("keydown.control.enter",function(){return jq(b)})},features:[$f],decls:13,vars:4,consts:[[4,"ngIf","ngIfElse"],["mat-button","","mat-dialog-close","","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],["createNewHotlistBtn",""],["applyHotlistSelectionBtn",""],["updateHotlistSelectionPane",
""],["createNewHotlistPane",""],[4,"ngTemplateOutlet"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",1,"gmat-button",3,"disabled","click"],["mat-flat-button","","color","primary",1,"gmat-button",3,"mat-dialog-close","matTooltip","disabled","click"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists","placeholder","Type to filter your starred hotlists",
1,"search-box",3,"input"],["searchBox",""],["mat-dialog-content","",1,"search-results"],["content",""],["class","load-from-id-btn",3,"click",4,"ngIf"],["class","create-new-hotlist-btn",3,"click",4,"ngIf"],[4,"ngIf"],[1,"load-from-id-btn",3,"click"],[1,"muted"],[1,"create-new-hotlist-btn",3,"click"],[3,"selectionChange"],["hotlistMatList",""],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"matTooltip"],["tooltip","matTooltip"],["checkboxPosition","before",3,"selected","disabled","value","focus","blur"],[3,
"hotlist","isCompact","starredHotlists","isSavingStar","starClicked"],[1,"margin-top","kids-x"],[1,"force-show-overflow-btn",3,"click"],["mat-dialog-content",""],[1,"create-hotlist-pane"],[3,"formGroup"],["for","hotlist-name"],"type text autofocus autofocus id hotlist-name required  aria-required true formControlName name".split(" "),["for","hotlist-description",1,"margin-s-top"],["id","hotlist-description","formControlName","description"]],template:function(a,b){a&1&&(O(0,BIa,2,1,"ng-container",
0),D(1,"mat-dialog-actions")(2,"button",1),K("click",function(){b.dialogRef.close()}),P(3," Cancel "),E(),O(4,DIa,2,1,"ng-container",0),E(),O(5,GIa,2,1,"ng-template",null,2,$g),O(7,HIa,2,5,"ng-template",null,3,$g),O(9,PIa,15,9,"ng-template",null,4,$g),O(11,QIa,14,1,"ng-template",null,5,$g));if(a&2){var c=N(8),d=N(10);C("ngIf",b.showCreateNewPane)("ngIfElse",d);z(4);C("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[ax,bx,gx,OB,cB,dB,eB,fB,NA,$Q,aR,Mx,yh,Ex,Fx,Wx,Sx,Tx,qD,UQ,hx],styles:["[_nghost-%COMP%]     .mat-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .search-results mat-list-option .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-option a, [_nghost-%COMP%]     .search-results mat-list-option mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-option p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star{visibility:hidden}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a{margin-right:2px}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a mat-icon{margin-top:-2px}[_nghost-%COMP%]     mat-list-option:focus-within .hotlist-link-and-star, [_nghost-%COMP%]     mat-list-option:hover .hotlist-link-and-star{visibility:unset}[_nghost-%COMP%]     .create-new-hotlist-btn, [_nghost-%COMP%]     .load-from-id-btn, [_nghost-%COMP%]     .force-show-overflow-btn{background:none;border:none;text-align:left;min-height:34px;padding-left:38px}[_nghost-%COMP%]     .create-new-hotlist-btn:hover, [_nghost-%COMP%]     .load-from-id-btn:hover, [_nghost-%COMP%]     .force-show-overflow-btn:hover{cursor:pointer;background-color:rgba(0,0,0,.04);background-color:var(--hover)}[_nghost-%COMP%]     .create-hotlist-pane label{display:block;color:#5f6368;color:var(--muted);font-weight:500}[_nghost-%COMP%]     .create-hotlist-pane input, [_nghost-%COMP%]     .create-hotlist-pane textarea{width:100%;box-sizing:border-box}[_nghost-%COMP%]     mat-list-option label{font-size:.8125rem}[_nghost-%COMP%]     .mat-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content{padding:5px 0;padding-right:20px;padding-left:24px;align-items:flex-start}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content .mat-pseudo-checkbox{margin-top:3px}[_nghost-%COMP%]     .mat-list-base .compact .mat-list-option .mat-list-item-content{padding-top:0}[_nghost-%COMP%]     .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-left:12px}\n/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var cR=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},L7b=function(a,b){var c,d,e,f,h,l,q,u;return Ze(function(x){switch(x.nextAddress){case 1:return af(x,(0,T.firstValueFrom)(b),2);case 2:return c=x.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?af(x,a.openModal(e),3):x.return();case 3:f=x.yieldResult;if(null==f)return x.return();h=f.added.map(String);l=f.removed.map(String);q=String(c.issueId);$e(x,4,5);return af(x,hXb(a.issueFridge,
q,h,l),5);case 5:bf(x);a.eventsForIssueFridge.poke(q);cf(x,0);break;case 4:u=df(x),sG(a.errorHandler,u),x.jumpTo(5)}})};cR.prototype.openModal=function(a){var b=this,c,d,e,f;return Ze(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:a},ariaLabel:"Search for Hotlists"},d=b.dialog.open(bR,c),af(h,(0,T.firstValueFrom)(XA(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());f=pna(new Set(a),new Set(e));return h.return(Promise.resolve(f))})};
cR.\u0275fac=function(a){return new (a||cR)(n(bB),n(QH),n(JF),n(qG))};cR.\u0275prov=Pc({token:cR,factory:cR.\u0275fac,providedIn:"root"});var M7b=function(){return[]},N7b=Mp.EXPERIMENTAL_HOMEPAGE,dR=function(a,b,c,d,e,f,h,l){Z.call(this);var q=this;this.hackyPrefs=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.projectSuggestService=d;this.projectPicker=e;this.analytics=f;this.hotlists=h;this.hotlistPicker=l;this.SECTION_SLUG="my-projects-as-cards";this.IMMERSED=XXb[1];this.SPACE_EMPTY_STATE=f5b;this.log=console.log.bind(console);this.extractHotlistId=gva;this.inferEntityType=iva;this.extractSavedSearchId=hva;this.projectIds$=
this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(B(function(u){var x;return null!=(x=null==u?void 0:u.relatedChildren.map(function(y){return y.targetIssueId}))?x:[]}));this.projectSuggestLimit=3;this.suggestedProjects$=(0,T.combineLatest)([OXb(this.projectSuggestService),YH(this.issueRelationshipsFridge,this.hackyPrefs.prefs.id,2)]).pipe(B(function(u){u=m(u);var x=u.next().value,y=u.next().value.results.map(function(G){return G.issueId});return x.filter(function(G){return!y.includes(G)})}),
Qf(this.issueFridge.watchSet));this.hotlistSuggestLimit=3;this.suggestedHotlists$=this.hotlists.suggestedHotlists$;this.suggestedHotlistIds$=this.suggestedHotlists$.pipe(B(function(u){return[].concat(p(u.keys())).filter(function(x){return!lq(q.hackyPrefs).includes(jp(x))})}));this.skipFirstSuggestion=!1;this.addProject=function(u){null!=u&&fq(q.hackyPrefs,u)};a=lq(this.hackyPrefs).length;Lp(this.analytics,N7b,"display","selected-projects-"+a,a);this.suggestedHotlists$.pipe(Rf(this.destroyed$)).subscribe(function(u){var x=
Array.from(u)[0][0];u=Array.from(u)[0][1];0===lq(q.hackyPrefs).length&&!q.hackyPrefs.prefs.hasUserEdits&&(5<u.confidence||3<u.count)&&(fq(q.hackyPrefs,jp(x)),q.skipFirstSuggestion=!0,q.hotlistSuggestLimit++)})};X(dR,Z);dR.\u0275dir=Z.\u0275dir;dR.prototype.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};
var fJa=function(a){var b,c,d,e,f,h,l;return Ze(function(q){if(1==q.nextAddress)return af(q,a.hotlistPicker.openModal([]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];f=m(e.map(jp));for(h=f.next();!h.done;h=f.next())l=h.value,fq(a.hackyPrefs,l);ef(q)})};Ei.Object.defineProperties(dR.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});dR.\u0275fac=function(a){return new (a||dR)(A(sI),A(XH),A(QH),A(lI),A(zI),A(LH),A(nI),A(cR))};
dR.\u0275cmp=r({type:dR,selectors:[["my-projects-as-cards"]],features:[$f],decls:9,vars:7,consts:[["mat-icon-button","","title","Add a project","aria-label","Add a project","data-project-add","true",1,"gmat-button","margin-left",3,"click"],["svgIcon","add","color","primary"],[1,"gap","flex-kids-y"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId"],[3,"issueId",4,"ngSwitchCase"],[3,"issueId",4,"ngSwitchDefault"],[3,"issueId"],
[3,"savedSearchId",4,"ngIf"],[3,"savedSearchId"],[1,"muted"],["href","javascript:void(0);",1,"color-bad-text",3,"click"],["href","http://go/b-learn-project-add"],["class","flex-kids-x gap",4,"ngIf"],[1,"flex-kids-x","gap"],["mat-button","","title","Add a parent/container/tracking issue",1,"mega-add","gmat-button","carded",3,"click"],["svgIcon","add"],["mat-button","",1,"mega-add","gmat-button","carded",3,"click"],[1,"empty-state"],["aria-hidden","true","alt","",3,"src"],["mat-button","","title","Add a project",
1,"gmat-button","margin-left",3,"click"],["mat-icon-button","","href","http://go/b-learn-project-view","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngIf","ngIfElse"],["loadingProjects",""],["loadingHotlists",""],[1,"flex-kids-y","gap"],["mat-icon-button","","href","http://go/b-learn-project-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["class","muted",4,"ngIf"],["mat-button","","class","gmat-button",
"title","Show more projects",3,"click",4,"ngIf"],[3,"issueId","addMode"],["mat-button","","title","Show more projects",1,"gmat-button",3,"click"],["mat-icon-button","","href","http://go/b-learn-hotlist-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],[3,"hotlistId","addMode"]],template:function(a,b){a&1&&(D(0,"h2"),P(1," My projects "),D(2,"button",0),K("click",function(){return b.onClickAdd()}),F(3,"mat-icon",1),E()(),D(4,"section",2),O(5,eJa,7,5,"ng-container",
3),O(6,hJa,2,1,"ng-container",4),O(7,iJa,11,1,"ng-container",4),O(8,tJa,13,8,"ng-container",4),E());a&2&&(z(5),C("ngForOf",b.prefs.pinned||Fg(4,M7b)),z(1),C("ngIf",b.prefs.pinned),z(1),C("ngIf",0===(b.prefs.pinned||Fg(5,M7b)).length),z(1),C("ngIf",1>=(b.prefs.pinned||Fg(6,M7b)).length))},dependencies:[ax,bx,cx,dx,ex,NA,OA,OB,OQ,KQ,JQ,SQ,vN,hx,ox],styles:["[_nghost-%COMP%]{display:block}img[_ngcontent-%COMP%]{max-width:100%}.empty-state[_ngcontent-%COMP%]{text-align:center}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:16px;max-width:150px;opacity:.8;-webkit-filter:saturate(.8);filter:saturate(.8)}button.mega-add[_ngcontent-%COMP%], button.mega-add.gmat-button.mat-button[_ngcontent-%COMP%]:not([disabled]){background-color:#fff;background-color:var(--base-bg);min-height:40px;padding:0 16px;-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}\n/*# sourceMappingURL=my_projects_as_cards.css.map */"]});var P7b=function(a){Y.call(this,a,-1,O7b)};X(P7b,Y);g=P7b.prototype;g.getSignalsList=function(){return ej(this,6,!1)};g.setSignalsList=function(a){Lm(this,6,a)};g.getCount=function(){return gj(this,1)};g.setCount=function(a){return k(this,1,a)};g.setS=function(a){k(this,2,a)};g.setP=function(a){return k(this,3,a)};g.getNextPageToken=function(){return lk(this,4)};g.setTrackerIdsList=function(a){Xk(this,5,a)};var O7b=[6,5];var eR=function(a){Y.call(this,a)};X(eR,Y);eR.prototype.getTimestamp=function(){return wk(this,cj,2)};eR.prototype.setTimestamp=function(a){return Ok(this,cj,2,a)};eR.prototype.hasTimestamp=function(){return sl(this,cj,2)};var kq=function(a){Y.call(this,a,-1,Q7b)};X(kq,Y);kq.prototype.getIssue=function(){return wk(this,el,1)};kq.prototype.setIssue=function(a){Ok(this,el,1,a)};kq.prototype.getSignalsList=function(){return fj(this,eR,2)};kq.prototype.setSignalsList=function(a){Sb(this,2,a)};var Q7b=[2];var fR=function(a){Y.call(this,a,-1,R7b)};X(fR,Y);fR.prototype.getNumTotalResults=function(){return gj(this,2)};fR.prototype.getComponentsMap=function(){return Bl(this,3,zl)};fR.prototype.getNextPageToken=function(){return lk(this,4)};var R7b=[1];fR.messageId="b.NeedsAttentionSearchResponse";var gR=function(a){Y.call(this,a,-1,S7b)};X(gR,Y);gR.prototype.getIssueIdsList=function(){return Hb(this,1,vb)};gR.prototype.setIssueIdsList=function(a){return Ib(this,1,a,ub)};gR.prototype.addIssueIds=function(a){Kb(this,1,a)};var S7b=[1];var T7b=function(a){Y.call(this,a)};X(T7b,Y);T7b.messageId="b.UpdateIssueDismissTimestampResponse";var hR=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};hR.prototype.listIssues=function(a,b,c){var d=this,e=(new P7b).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(yJa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:fR}).then(vJa).then(function(f){d.appEvents.needsAttentionIssueCount.next(f.numTotalResults||0);return f})};
var iR=function(a,b,c){b=(new gR).setIssueIdsList(b.map(zj));c=k(b,2,c);return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:T7b}).then(xJa)};hR.\u0275fac=function(a){return new (a||hR)(n(oE),n(uG))};hR.\u0275prov=Pc({token:hR,factory:hR.\u0275fac,providedIn:"root"});var jR=function(a,b,c,d,e){Z.call(this);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.cdr=e;this.SECTION_SLUG="needs-attention";this.needsAttentionIssues=[];this.issueToSignalsMap=new Map;this.dismissInProgress={};a={};this.SIGNAL_MAPPING=(a.NEAR_SLO={color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"},a.MENTIONED={color:"pink",text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"},a.UNBLOCKED={color:"cyan",text:"Blockers closed",
icon:"slo-status-no-data",className:"unblocked"},a.NEEDS_REPORTER_INPUT={color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"},a.ASSIGNED={color:"",className:"",text:"",icon:""},a.REPLIED_TO_MENTION={color:"",className:"",text:"",icon:""},a.BLOCKED={color:"",className:"",text:"",icon:""},a.SIGNAL_TYPE_UNKNOWN={color:"",text:"",icon:"",className:""},a);this.ALL_SIGNAL_TYPES=Object.values(KQb).filter(function(f){return"SIGNAL_TYPE_UNKNOWN"!==f&&"ASSIGNED"!==
f&&"REPLIED_TO_MENTION"!==f&&"BLOCKED"!==f});this.selectedSignals=[].concat(p(this.ALL_SIGNAL_TYPES));a={};this.signalCounts=(a.NEAR_SLO=0,a.MENTIONED=0,a.UNBLOCKED=0,a.NEEDS_REPORTER_INPUT=0,a.ASSIGNED=0,a.REPLIED_TO_MENTION=0,a.BLOCKED=0,a.SIGNAL_TYPE_UNKNOWN=0,a)};X(jR,Z);jR.\u0275dir=Z.\u0275dir;jR.prototype.ngOnInit=function(){var a=this;U7b(this);this.destroyed$.pipe(Ef()).subscribe(function(){var b;null==(b=a.snackbarRef)||b.dismiss()})};
var U7b=function(a){var b={};a.signalCounts=(b.NEAR_SLO=0,b.MENTIONED=0,b.UNBLOCKED=0,b.NEEDS_REPORTER_INPUT=0,b.ASSIGNED=0,b.REPLIED_TO_MENTION=0,b.BLOCKED=0,b.SIGNAL_TYPE_UNKNOWN=0,b);a.needsAttentionApi.listIssues().then(function(c){c=m(c.issuesWithSignals);for(var d=c.next();!d.done;d=c.next())d=d.value,a.needsAttentionIssues.push(d.issue),a.issueToSignalsMap.set(d.issue.issueId,d.signals),d.signals.forEach(function(e){a.signalCounts[e.signalType]++});a.cdr.detectChanges()})},V7b=function(a){return a.needsAttentionIssues.filter(function(b){var c,
d=(null!=(c=a.issueToSignalsMap.get(b.issueId))?c:[]).some(function(f){return a.selectedSignals.includes(f.signalType)}),e;return(null==(e=a.lastDismissedIssue)?void 0:e.issueId)!==b.issueId&&d})};
jR.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a]=!0;iR(this.needsAttentionApi,[a],!0).then(function(){for(var c=0;c<b.needsAttentionIssues.length;c++)if(b.needsAttentionIssues[c].issueId===a){b.lastDismissedIssue=b.needsAttentionIssues[c];b.lastDismissedIssueIndex=c;b.needsAttentionIssues.splice(c,1);break}b.cdr.detectChanges();b.dismissInProgress[a]=!1;b.snackbarRef=b.snackbar.open({message:"Issue dismissed",actionLabel:"Undo"});b.snackbarRef._afterDismissed.pipe(Ef()).subscribe(function(d){d.dismissedByAction&&
W7b(b,a)})})};var W7b=function(a,b){iR(a.needsAttentionApi,[b],!1).then(function(){a.needsAttentionIssues.splice(a.lastDismissedIssueIndex,0,a.lastDismissedIssue);a.cdr.detectChanges();a.snackbar.open({message:"Issue un-dismissed"})})};jR.prototype.selectAllSignals=function(){this.selectedSignals=[].concat(p(this.ALL_SIGNAL_TYPES))};jR.prototype.toggleSignal=function(a){var b=this.selectedSignals.indexOf(a);-1===b?this.selectedSignals.push(a):this.selectedSignals.splice(b,1)};
var DJa=function(a,b){return(a.issueToSignalsMap.get(b)||[]).find(function(c){return a.selectedSignals.includes(c.signalType)})||null};
jR.prototype.getSignalTypeTooltip=function(a){a=DJa(this,a);if(!a)return"";var b,c=(null==(b=a.timestamp)?0:b.seconds)?this.dateFormatter.format("MMM dd",void 0,new Date(1E3*a.timestamp.seconds)):null;switch(a.signalType){case "NEAR_SLO":return c?"SLO violation occurs on "+c:"This issue is near or past an SLO deadline";case "MENTIONED":return c?"You were mentioned on "+c:"You were mentioned on this issue recently";case "UNBLOCKED":return c?"The last blocking issue was closed on "+c:"The last blocking issue was closed recently";
case "NEEDS_REPORTER_INPUT":return c?"Issue was assigned back to reporter (you) on "+c:"Issue was assigned back to reporter (you) recently";default:return"This issue requires your attention"}};
var zJa=function(a){switch(a){case "NEAR_SLO":return"Issues which have less than 20% of SLO time remaining";case "MENTIONED":return"Someone mentioned you in a comment";case "NEEDS_REPORTER_INPUT":return"Issue is assigned back to reporter (you) for more context";case "UNBLOCKED":return"All blocking issues are closed";default:return""}};jR.\u0275fac=function(a){return new (a||jR)(A(hR),A(kG),A(sI),A(TL),A(HH,2))};
jR.\u0275cmp=r({type:jR,selectors:[["needs-attention-widget"]],features:[Dg([HH]),$f],decls:10,vars:11,consts:[[1,"muted"],[1,"padded-left","signal-chips","hidden"],[1,"chippy","rounded","margin-s-right","select-all-signals",3,"click"],[4,"ngFor","ngForOf"],[1,"issues","padded-s-bottom"],["matTooltipShowDelay","750",3,"matTooltip","selected","class","click",4,"ngIf"],["matTooltipShowDelay","750",3,"matTooltip","click"],[3,"svgIcon"],[4,"ngIf"],["dismissIcon","close","dismissTooltip","Dismiss issue",
3,"issue","moreInfoIconSvg","moreInfoMessage","moreInfoAccentColor","disableDismiss","onDismiss"]],template:function(a,b){a&1&&(D(0,"h2"),P(1," Needs attention "),D(2,"span",0),P(3),E()(),D(4,"section",1)(5,"span",2),K("click",function(){return b.selectAllSignals()}),P(6," All "),E(),O(7,BJa,2,1,"ng-container",3),E(),D(8,"section",4),O(9,EJa,2,1,"ng-container",3),E());a&2&&(pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(3),Q("(",b.needsAttentionIssues.length,")"),z(1),pg("collapsed",
b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),pg("selected",b.selectedSignals.length===b.ALL_SIGNAL_TYPES.length),z(2),C("ngForOf",b.ALL_SIGNAL_TYPES),z(1),pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),C("ngForOf",V7b(b)))},dependencies:[bQ,ax,bx,OB,qD],styles:['[_nghost-%COMP%]{display:block}.signal-chips[_ngcontent-%COMP%]   .chippy[_ngcontent-%COMP%]{cursor:pointer;padding:0 12px 0 4px}.signal-chips[_ngcontent-%COMP%]   .chippy.needs-reporter-input[_ngcontent-%COMP%]{padding-left:8px}.signal-chips[_ngcontent-%COMP%]   .chippy.select-all-signals[_ngcontent-%COMP%]{padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.chippy.selected[_ngcontent-%COMP%]{font-weight:500}.chippy.selected.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.selected.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.selected.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.selected.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;max-height:450px;overflow-y:scroll}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=needs_attention.css.map */'],
changeDetection:0});var kR=function(a){this.dateFormatter=a;this.SIGNAL_MAPPING=new Map([["NEAR_SLO",{color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"}],["MENTIONED",{color:"pink",text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"}],["UNBLOCKED",{color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"}],["NEEDS_REPORTER_INPUT",{color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"}],["ASSIGNED",{color:"",
text:"",icon:"",className:""}],["REPLIED_TO_MENTION",{color:"",text:"",icon:"",className:""}],["BLOCKED",{color:"",text:"",icon:"",className:""}],["SIGNAL_TYPE_UNKNOWN",{color:"",text:"",icon:"",className:""}]])};
kR.prototype.getSignalTypeTooltip=function(){var a,b=(null==(a=this.signal.timestamp)?0:a.seconds)?this.dateFormatter.format("MMM dd",void 0,new Date(1E3*this.signal.timestamp.seconds)):null;switch(this.signal.signalType){case "NEAR_SLO":return b?"SLO violation occurs on "+b:"This issue is near or past an SLO deadline";case "MENTIONED":return b?"You were mentioned on "+b:"You were mentioned on this issue recently";case "UNBLOCKED":return b?"The last blocking issue was closed on "+b:"The last blocking issue was closed recently";
case "NEEDS_REPORTER_INPUT":return b?"Issue was assigned back to reporter (you) on "+b:"Issue was assigned back to reporter (you) recently";default:return"This issue requires your attention"}};kR.\u0275fac=function(a){return new (a||kR)(A(TL))};
kR.\u0275cmp=r({type:kR,selectors:[["b-signal-chip"]],inputs:{signal:"signal"},decls:1,vars:1,consts:[[3,"matTooltip","class",4,"ngIf"],[3,"matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&O(0,FJa,2,5,"span",0);a&2&&C("ngIf",b.SIGNAL_MAPPING.get(b.signal.signalType))},dependencies:[bx,OB,qD],styles:[".chippy.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}\n/*# sourceMappingURL=signal_chip.css.map */"]});var lR=function(a,b,c,d,e,f,h){jR.call(this,a,b,c,d,h);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.domSafe=e;this.router=f;this.cdr=h;this.SECTION_SLUG="needs-attention-table";this.columnsToDisplay=["alert","title","priority","action"];this.customColumns=["alert","action"]};X(lR,jR);lR.\u0275dir=jR.\u0275dir;lR.prototype.getIssueIdsToDisplay=function(){return V7b(this).map(function(a){return a.issueId})};
lR.prototype.navigateToIssue=function(a,b,c){"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=Hn(c.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?op(this.domSafe,b):Ht(this.router,b))};lR.\u0275fac=function(a){return new (a||lR)(A(hR),A(kG),A(sI),A(TL),A(JI),A(WG),A(HH,2))};
lR.\u0275cmp=r({type:lR,selectors:[["needs-attention-table"]],features:[Dg([HH]),$f],decls:9,vars:10,consts:[[1,"flex-kids-x","justify-space-between"],[1,"muted","type-s"],[1,"carded","bg-main"],[3,"issueIds","displayedColumns","customColumns"],[4,"forViewCell"],[4,"ngIf"],[3,"signal"],["mat-button","","color","primary",1,"small",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"h2"),P(2," Needs attention "),D(3,"span",1),P(4),E()()(),D(5,"div",2)(6,"flat-issues-table",3),O(7,HJa,2,1,"span",
4),O(8,JJa,2,1,"span",4),E()());a&2&&(z(1),pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(3),Q("(",b.needsAttentionIssues.length,")"),z(2),pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),C("issueIds",b.getIssueIdsToDisplay())("displayedColumns",b.columnsToDisplay)("customColumns",b.customColumns),z(1),C("forViewCell","alert"),z(1),C("forViewCell","action"))},dependencies:[bx,NA,nQ,oQ,kR],encapsulation:2,changeDetection:0});var X7b=function(){return[]},mR=function(a,b,c){this.hackyPrefs=a;this.issueFridge=b;this.refreshMonitor=c;this.SECTION_SLUG="pinned-issues";this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(B(function(d){var e;return null!=(e=null==d?void 0:d.pinned)?e:[]}),Qf(this.issueFridge.watchSet))};mR.\u0275fac=function(a){return new (a||mR)(A(sI),A(QH),A(OH))};
mR.\u0275cmp=r({type:mR,selectors:[["pinned-issues"]],decls:10,vars:14,consts:[[1,"muted"],[1,"issues"],[4,"ngFor","ngForOf"],[4,"ngIf"],["dismissIcon","keep_off","dismissTooltip","Un-pin issue",3,"issue","onDismiss"]],template:function(a,b){a&1&&(D(0,"h4"),P(1," Pinned "),D(2,"span",0),P(3),R(4,"async"),E()(),D(5,"section",1),O(6,KJa,2,1,"ng-container",2),R(7,"async"),O(8,LJa,2,0,"ng-container",3),R(9,"async"),E());if(a&2){var c,d;pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);
Q(" (",(null!==(c=S(4,7,b.pinnedIssues$))&&void 0!==c?c:Fg(13,X7b)).length,")");z(2);pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);C("ngForOf",S(7,9,b.pinnedIssues$));z(2);C("ngIf",0===(null==(d=S(9,11,b.pinnedIssues$))?null:d.length))}},dependencies:[bQ,ax,bx,hx],styles:['[_nghost-%COMP%]{display:block}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:225px;gap:8px}h4[_ngcontent-%COMP%]{margin-top:0}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     .cdk-drag-placeholder{display:none}\n/*# sourceMappingURL=pinned_issues.css.map */']});var OJa=function(){return[]},nR=function(a,b,c,d,e,f,h){Z.call(this);this.activeSession=a;this.issueFridge=b;this.issueLru=c;this.hackyPrefs=d;this.matDialogService=e;this.refreshMonitor=f;this.currentUser=h;this.SECTION_SLUG="recently-viewed-i-own";this.recentIds=[];this.columnsToDisplay="pin id title priority type status menu".split(" ");this.customColumns=["pin"];this.isRecentIssues=!0;this.currentUserLdap=this.currentUser.email.split("@")[0];this.currentUserEmailAddress=this.activeSession.getUserEmail();
this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(B(function(l){var q;return null!=(q=null==l?void 0:l.pinned)?q:[]}),Qf(this.issueFridge.watchSet))};X(nR,Z);nR.\u0275dir=Z.\u0275dir;
nR.prototype.getIssueIdsToDisplay=function(){var a=this,b=0,c=lq(this.hackyPrefs).length;b=0===c?20:3>c?10:5;this.recentIds=h4b(this.issueLru);c=fp();5>this.recentIds.length||c&&c!==this.currentUserLdap?(c||(c=this.currentUserLdap),this.isRecentIssues=!1,this.issueIdsToDisplay$=this.issueFridge.watchMany({filter:"(assignee:"+c+" OR reporter:"+c+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d",pageSize:20,sort:"modified_time:desc"}).pipe(Rf(this.destroyed$),
B(function(d){return d.results}),B(function(d){return d.filter(function(e){return Y7b(a,e)}).map(function(e){return e.issueId})}))):this.issueIdsToDisplay$=this.issueFridge.watchSet(this.recentIds).pipe(Ef(),Rf(this.destroyed$),B(function(d){return d.filter(function(e){return Y7b(a,e)}).map(function(e){return e.issueId}).reverse().slice(0,b)}))};nR.prototype.ngOnInit=function(){var a=this;this.getIssueIdsToDisplay();this.refreshMonitor.getObservable().pipe(Rf(this.destroyed$)).subscribe(function(){a.getIssueIdsToDisplay()})};
var Y7b=function(a,b){var c=b.snapshot[0],d,e=null!=(d=a.hackyPrefs.prefs.id)?d:"";if(lq(a.hackyPrefs).includes(b.issueId))return!1;if(Yua(b.ancestors).includes(e))return!0;if(!mn(b))return!1;var f,h;return a.isRecentIssues&&(null==(f=c.assigneeUser)?void 0:f.emailAddress)!==a.currentUserEmailAddress&&(null==(h=c.reporterUser)?void 0:h.emailAddress)!==a.currentUserEmailAddress?!1:!0},Z7b=function(a){XA(a.matDialogService.open(pQ,{data:{currentColumns:a.columnsToDisplay},width:"500px"})).subscribe(function(b){a.columnsToDisplay=
[].concat(p(b))})};Ei.Object.defineProperties(nR.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});nR.\u0275fac=function(a){return new (a||nR)(A(tu),A(QH),A(FN),A(sI),A(bB),A(OH),A(kI))};
nR.\u0275cmp=r({type:nR,selectors:[["recently-viewed-i-own"]],features:[$f],decls:11,vars:11,consts:[[1,"carded","bg-main"],[4,"ngIf"],[1,"flex-kids-x","justify-space-between","align-items-center"],[1,"table-heading"],["mat-icon-button","","matTooltip","Customize columns","aria-label","Customize columns","aria-haspopup","true",1,"gmat-button","medium",3,"click"],[1,"google-material-icons"],[3,"issueIds","displayedColumns","customColumns"],[4,"forViewCell"],["class","margin-bottom",4,"ngIf"],[1,"issues",
"margin-bottom"],[4,"ngFor","ngForOf"],[1,"margin-bottom"],["dismissIcon","keep_off","dismissTooltip","Un-pin issue",3,"issue","onDismiss"],["mat-icon-button","","matTooltip","Unpin issue","aria-label","Unpin issue",1,"gmat-button","medium","pin-button",3,"click"],["inline","true",1,"google-material-icons"],["mat-icon-button","","matTooltip","Pin issue","aria-label","Pin issue",1,"gmat-button","medium","pin-button",3,"click"]],template:function(a,b){a&1&&(D(0,"section",0),O(1,PJa,6,7,"ng-container",
1),D(2,"div",2)(3,"h4",3),P(4," Recent issues "),E(),D(5,"button",4),K("click",function(){return Z7b(b)}),D(6,"mat-icon",5),P(7,"view_column"),E()()(),D(8,"flat-issues-table",6),R(9,"async"),O(10,SJa,3,2,"span",7),E()());a&2&&(z(1),C("ngIf",!(null==b.prefs.sectionW?0:b.prefs.sectionW.includes("pinned-issues"))&&!(null==b.prefs.sectionA?0:b.prefs.sectionA.includes("pinned-issues"))),z(2),pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(5),pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
C("issueIds",S(9,9,b.issueIdsToDisplay$))("displayedColumns",b.columnsToDisplay)("customColumns",b.customColumns),z(2),C("forViewCell","pin"))},dependencies:[ax,bx,nQ,oQ,OB,NA,bQ,hx],styles:['[_nghost-%COMP%]{display:block}.table-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.table-heading[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-heading.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:0}.table-heading.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}flat-issues-table[_ngcontent-%COMP%]{display:block;overflow-x:auto}flat-issues-table.collapsed[_ngcontent-%COMP%]{display:none}.pin-button[_ngcontent-%COMP%]{margin-left:4px}.pin-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-bottom:3px;color:#80868b;color:var(--gfx-muted);opacity:.5}.pin-button[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);opacity:1}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:350px;gap:8px}[_nghost-%COMP%]     .issues{max-height:none}\n/*# sourceMappingURL=recently_viewed_owned.css.map */']});var oR=function(a,b){this.issueSuggestService=a;this.hackyPrefs=b;this.SECTION_SLUG="suggested-issues";this.columnsToDisplay="id title priority type status menu".split(" ");this.issueIdsToDisplay$=this.issueSuggestService.suggestedIssues$};oR.prototype.ngOnInit=function(){};oR.\u0275fac=function(a){return new (a||oR)(A(uI),A(sI))};
oR.\u0275cmp=r({type:oR,selectors:[["suggested-issues"]],decls:8,vars:6,consts:[[1,"flex-kids-x","justify-space-between","align-items-center"],[1,"table-heading",3,"click"],[2,"overflow","auto"],[4,"ngIf","ngIfElse"],["loading",""],[3,"issueIds","displayedColumns"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"h2",1),K("click",function(){return gq(b.hackyPrefs,b.SECTION_SLUG)}),P(2," Suggested Issues "),E()(),D(3,"div",2),O(4,TJa,2,4,"ng-container",3),R(5,"async"),E(),O(6,UJa,1,0,"ng-template",null,
4,$g));if(a&2){var c=N(7);z(1);pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);C("ngIf",S(5,4,b.issueIdsToDisplay$))("ngIfElse",c)}},dependencies:[bx,nQ,vN,hx],styles:['.table-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.table-heading[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-heading.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:0}.table-heading.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}flat-issues-table.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=suggested_issues.css.map */']});var pR=function(a){this.teamsService=a;this.onTeamLoaded=new T.ReplaySubject(1);this.teamName$=new T.BehaviorSubject("");this.isTeamLoaded=!1};pR.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):this.teamsService.getTeam(String(this.teamId)).pipe(Ef(),B(function(c){return c.getName()})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
pR.\u0275fac=function(a){return new (a||pR)(A(cI))};
pR.\u0275cmp=r({type:pR,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[md],decls:7,vars:6,consts:[[3,"isReady"],["class","b-chip squared s",3,"onedevHovercardTrigger",4,"ngIf"],["card","onedevHovercard"],[3,"componentId","teamId"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),O(1,VJa,4,4,"div",1),R(2,
"async"),E(),D(3,"onedev-hovercard",null,2),H(5),F(6,"b-team-card",3),I(),E());if(a&2){var c;C("isReady",b.isTeamLoaded);z(1);C("ngIf",S(2,4,b.teamName$));z(5);C("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[bx,OB,lO,XI,bJ,HO,hx],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var qR=function(a,b){Z.call(this);this.teamActivity=a;this.hackyPrefs=b;this.toIssuePriority=Xm;this.teamInfoHidden=!0};X(qR,Z);qR.\u0275dir=Z.\u0275dir;g=qR.prototype;g.ngOnInit=function(){var a=this;this.teamActivity.interestingEventsForTeamActivity$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.teamActivityEvents=b.slice(0,10)})};g.getClNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};
g.getUserEmailIfAvailable=function(a){return Kj(a.userPerformingActionUser)};g.clAuthorToUser=function(a){return{emailAddress:hp(a)+"@google.com"}};g.clAuthorToEmailAddress=function(a){return hp(a)+"@google.com"};g.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};g.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(p(a.preDiffs),p(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
g.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(p(a.preDiffs),p(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};g.getIssueDetailsUrl=function(a){return"http://b/issues/"+a};Ei.Object.defineProperties(qR.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});qR.\u0275fac=function(a){return new (a||qR)(A(tI),A(sI))};
qR.\u0275cmp=r({type:qR,selectors:[["team-activity-stream"]],features:[$f],decls:17,vars:5,consts:[["mat-icon-button","","title","Show info about your calculated team membership","aria-label","Show info about your calculated team membership",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"muted"],["href","https://g3doc.corp.google.com/google/corp/teams/graph/api/g3doc/gen_teamsgraph_docs.md#suggestteamsrequestcs","target","_blank"],[3,"teamId",4,"ngFor","ngForOf"],["target","_blank",1,"type-m",
3,"href"],["class","events carded bg-main",4,"ngIf"],[3,"teamId"],[1,"events","carded","bg-main"],["class","type-m",3,"margin-bottom",4,"ngFor","ngForOf"],[1,"type-m"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"bv2-profile-avatar",3,"email"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2","type-s"],[1,"type-s"],[3,"issuePriority"]],template:function(a,b){a&1&&(D(0,"h2"),P(1," Team activity "),D(2,"button",0),K("click",function(){return b.teamInfoHidden=
!b.teamInfoHidden}),F(3,"mat-icon",1),E(),D(4,"aside")(5,"p",2),P(6,"Our use of the Teams API returns a "),D(7,"a",3),P(8,"large set"),E(),P(9," of suggested teams via "),D(10,"code"),P(11,"collapsed_parent_chain"),E(),P(12,"."),E(),O(13,WJa,1,1,"b-team-chip",4),D(14,"a",5),P(15,"edit"),E()()(),O(16,cKa,2,1,"div",6));a&2&&(pg("teamInfoHidden",b.teamInfoHidden),z(13),C("ngForOf",b.prefs.teamIds),z(1),yg("href","/issues/",b.prefs.id,"",ue),z(2),C("ngIf",b.teamActivityEvents))},dependencies:[ax,bx,cx,
dx,ex,kN,cM,FQ,dJ,UL,aQ,NA,OB,pR],styles:["[_nghost-%COMP%]{display:block}.teamInfoHidden[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     b-user-display-name{font-weight:500;color:#202124;color:var(--text)}[_nghost-%COMP%]     .bv2-profile-avatar{margin-top:-8px;margin-bottom:-26px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;margin-right:4px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:24px;width:24px}.events[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding-left:29px}"]});var gKa=function(a){return{$implicit:a}},rR=function(a,b){this.issueFridge=a;this.hackyPrefs=b;this.STATUS_TERSE=rF;this.encodeURIComponent=encodeURIComponent;this.teamInfoHidden=!0;this.highPriorityFilter="("+sKa(this.prefs.teamIds)+") priority:(p0 | p1) type:(bug | customer_issue) status:open";this.highPriority$=this.issueFridge.watchMany({filter:this.highPriorityFilter,sort:"priority:desc modified_time:desc",pageSize:15});this.feedbackFilter="("+sKa(this.prefs.teamIds)+") -priority:(p0 | p1) modified:7d status:open";
this.feedback$=this.issueFridge.watchMany({filter:this.feedbackFilter,sort:"created_time:desc",pageSize:10})};g=rR.prototype;g.getPriorityTag=function(a){a=a.snapshot[0].priority;if(null!=a)return Soa[a]};g.getStatusTag=function(a){a=a.snapshot[0].status;if(null!=a)return Wk[a]};g.shouldShowVotes=function(a){var b,c;return 0<(null!=(c=null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0)};g.shouldShowDupes=function(a){var b;return 0<(null!=(b=null==a?void 0:a.snapshot[0].duplicateIssueId)?b:[]).length};
g.shouldShowStatus=function(a){return"NEW"===a.snapshot[0].status||"ASSIGNED"===a.snapshot[0].status?!1:!0};Ei.Object.defineProperties(rR.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});rR.\u0275fac=function(a){return new (a||rR)(A(QH),A(sI))};
rR.\u0275cmp=r({type:rR,selectors:[["team-inbox"]],decls:39,vars:26,consts:[["mat-icon-button","","title","Show info about your calculated team membership","aria-label","Show info about your calculated team membership",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"muted"],["href","https://g3doc.corp.google.com/google/corp/teams/graph/api/g3doc/gen_teamsgraph_docs.md#suggestteamsrequestcs","target","_blank"],[3,"teamId",4,"ngFor","ngForOf"],["target","_blank",1,"type-m",3,"href"],[1,"carded",
"bg-main"],["tabindex","0",1,"margin-s-bottom",3,"click"],["target","_blank",1,"subtle-link",3,"href"],[4,"ngIf"],["tabindex","0",1,"margin-top",3,"click"],["issueRow",""],[3,"teamId"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[1,"padded-s-bottom","display-block","flex-kids-x","align-items-start"],[1,"nowrap"],[1,"margin-right","issue-id"],[1,"type-m","issue-title",
"margin-s-right","break-word","subtle-link",3,"href","onedevHovercardTrigger"],["class","type-s margin-right muted",4,"ngIf"],[1,"margin-left-auto"],[3,"class",4,"ngIf"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""],[1,"type-s","margin-right","muted"]],template:function(a,b){a&1&&(D(0,"h2"),P(1," My team "),D(2,"button",0),K("click",function(){return b.teamInfoHidden=!b.teamInfoHidden}),F(3,"mat-icon",1),E(),D(4,"aside")(5,"p",2),P(6,"Our use of the Teams API returns a "),D(7,"a",3),P(8,
"large set"),E(),P(9," of suggested teams via "),D(10,"code"),P(11,"collapsed_parent_chain"),E(),P(12,"."),E(),O(13,dKa,1,1,"b-team-chip",4),D(14,"a",5),P(15,"edit"),E()()(),D(16,"section",6)(17,"div")(18,"header")(19,"h4",7),K("click",function(){gq(b.hackyPrefs,"team-high-priority")}),P(20," High Priority "),E(),D(21,"a",8),P(22),R(23,"number"),R(24,"async"),E()(),O(25,iKa,3,1,"div",9),R(26,"async"),E(),D(27,"div")(28,"header")(29,"h4",10),K("click",function(){gq(b.hackyPrefs,"team-recent")}),P(30,
" Recent Feedback "),E(),D(31,"a",8),P(32),R(33,"number"),R(34,"async"),E()(),O(35,mKa,3,1,"div",9),R(36,"async"),E()(),O(37,rKa,16,11,"ng-template",null,11,$g));if(a&2){var c,d;pg("teamInfoHidden",b.teamInfoHidden);z(13);C("ngForOf",b.prefs.teamIds);z(1);yg("href","/issues/",b.prefs.id,"",ue);z(3);pg("collapsed",b.prefs.collapsed["team-high-priority"]);z(4);yg("href","/issues?q=",b.encodeURIComponent(b.highPriorityFilter),"",ue);z(1);Q("(",S(23,14,null==(c=S(24,16,b.highPriority$))?null:c.totalSize),
")");z(3);C("ngIf",S(26,18,b.highPriority$));z(2);pg("collapsed",b.prefs.collapsed["team-recent"]);z(4);yg("href","/issues?q=",b.encodeURIComponent(b.feedbackFilter),"",ue);z(1);Q("(",S(33,20,null==(d=S(34,22,b.feedback$))?null:d.totalSize),")");z(3);C("ngIf",S(36,24,b.feedback$))}},dependencies:[ax,bx,gx,XI,YI,bJ,ZI,eM,NA,OB,pR,hx,nx],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    h4[_ngcontent-%COMP%] {\n      display: inline-block;\n      margin-bottom: 4px;\n      margin-right: 4px;\n    }\n    ol[_ngcontent-%COMP%] {\n      list-style: none;\n      margin: 0;\n      padding: 0;\n    }\n    .collapsed[_ngcontent-%COMP%]    > div[_ngcontent-%COMP%] {\n      display: none;\n    }\n    .teamInfoHidden[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%] {\n      display: none;\n    }"]});var $7b=function(){return[]},sR=function(a,b){Z.call(this);this.hackyPrefs=a;this.issueFridge=b;this.SECTION_SLUG="working-on-this-week";this.weekIssues$=(0,T.of)([]);uYb(a);this.weekIssues$=this.hackyPrefs.prefs$.pipe(Rf(this.destroyed$),B(function(c){var d,e;return null!=(e=null==c?void 0:null==(d=c.issuesThisWeek)?void 0:d.issues)?e:[]}),Qf(this.issueFridge.watchSet))};X(sR,Z);sR.\u0275dir=Z.\u0275dir;sR.\u0275fac=function(a){return new (a||sR)(A(sI),A(QH))};
sR.\u0275cmp=r({type:sR,selectors:[["working-on-this-week"]],features:[$f],decls:9,vars:11,consts:[[1,"margined"],[3,"click"],[1,"muted"],[1,"issues"],[4,"ngFor","ngForOf"],["dismissIcon","close","dismissTooltip","Remove issue",3,"issue","onlyTitle","onDismiss"]],template:function(a,b){a&1&&(D(0,"h4",0)(1,"span",1),K("click",function(){return gq(b.hackyPrefs,b.SECTION_SLUG)}),P(2,"Working on this week "),D(3,"span",2),P(4),R(5,"async"),E()()(),D(6,"section",3),O(7,tKa,2,2,"ng-container",4),R(8,"async"),
E());if(a&2){var c;pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(4);Q(" (",(null!==(c=S(5,6,b.weekIssues$))&&void 0!==c?c:Fg(10,$7b)).length,")");z(2);pg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);C("ngForOf",S(8,8,b.weekIssues$))}},dependencies:[bQ,ax,hx],styles:['.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:225px;gap:8px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=working_on_this_week.css.map */']});var tR=function(a,b,c){Z.call(this);var d=this;this.$window=a;this.activeSession=b;this.currentTracker=c;var e,f;this.trackerName=null!=(f=null==(e=this.activeSession.getTracker())?void 0:e.name)?f:"";this.subscriptions.add(this.currentTracker.tracker$.pipe(Rf(this.destroyed$)).subscribe(function(h){var l;d.trackerName=null!=(l=null==h?void 0:h.name)?l:""}))};X(tR,Z);tR.\u0275dir=Z.\u0275dir;
tR.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};tR.\u0275fac=function(a){return new (a||tR)(n(SE),n(tu),n(qN))};tR.\u0275prov=Pc({token:tR,factory:tR.\u0275fac,providedIn:"root"});var uR=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new T.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");a8b(b,b.localDarkmode);b.clientStreamzService&&b.clientStreamzService.logUsageMetric("loadDarkmode",b.clientDarkmodeSubject.getValue())};this.setLocalDarkmode=function(c){b.localDarkmode=c;b.localDarkmode?window.localStorage.setItem("onedev-darkmode",
b.localDarkmode.toString()):window.localStorage.removeItem("onedev-darkmode")}};uR.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(SC)};var a8b=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};uR.\u0275fac=function(a){return new (a||uR)(n(Fv))};uR.\u0275prov=Pc({token:uR,factory:uR.\u0275fac});var b8b=wu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),c8b=wu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),vR=function(a,b){this.dialogRef=a;this.darkmodeService=b;this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(B(function(c){return c?Uh(b8b):Uh(c8b)}))};vR.\u0275fac=function(a){return new (a||vR)(A(ZA),A(uR))};
vR.\u0275cmp=r({type:vR,selectors:[["b-feedback-dialog"]],decls:9,vars:4,consts:[["mat-dialog-content",""],[4,"ngIf"],["diameter","60",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"click"],["frameborder","0","allowtransparency","true",3,"src","load"],["diameter","60"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,uKa,2,3,"ng-container",1),R(2,"async"),O(3,vKa,1,0,
"mat-spinner",2),E(),D(4,"div",3)(5,"button",4),K("click",function(){return b.dialogRef.close(!1)}),P(6," Cancel "),E(),D(7,"button",5),K("click",function(){return b.dialogRef.close(!0)}),P(8," File a new issue "),E()());a&2&&(z(1),C("ngIf",S(2,2,b.docUrl$)),z(2),C("ngIf",!b.contentLoaded))},dependencies:[bx,eB,fB,NA,uN,hx],styles:["iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:0}.loading[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:space-between}.mat-dialog-content[_ngcontent-%COMP%]{display:flex;flex-grow:1;position:relative;justify-content:center;align-items:center}"],
changeDetection:0});var nq=function(a){Y.call(this,a)};X(nq,Y);g=nq.prototype;g.getEnableSsEngine=function(){return xl(this,2)};g.getEnableAwr=function(){return xl(this,3)};g.getEnableHelpSuggestions=function(){return xl(this,4)};g.getAlohaAutoGaRollout=function(){return xl(this,5)};g.getEnableConfigurator=function(){return xl(this,6)};g.getEnableMweb=function(){return xl(this,7)};g.getEnableCtlConsentCheckbox=function(){return xl(this,8)};g.getEnableIframe=function(){return xl(this,9)};
g.getEnableScreenshotNudge=function(){return xl(this,10)};g.getEnableWebStartupConfigEndpoint=function(){return xl(this,11)};g.getEnableJunkNudge=function(){return xl(this,12)};g.getEnableConfiguratorLocale=function(){return xl(this,13)};g.getEnableTinyNoPointer=function(){return xl(this,14)};g.getEnableSupportSessionLogging=function(){return xl(this,15)};var HKa=function(a){Y.call(this,a)};X(HKa,Y);var wKa=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var zKa="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" ");var AKa=wu(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var CKa;var d8b=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||da,e=d.document,f=a.nonce||TCb(d);f&&!a.nonce&&(a.nonce=f);if("help"==a.flow){var h=Oq("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(h=1200>=l.length)&&(a.psdJson=l)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],null==b||Ta(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Tq(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);f=Th(d);Xi(a,f);e.body.appendChild(a)}},e8b=function(a,b,c,d){var e,f;Ze(function(h){e=c||da;var l="DEV"===a.serverEnvironment,q=c||da;q=a.nonce||TCb(q);l={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,
disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink},initializationData:{isLocalServer:l,nonce:q,useNightlyRelease:l,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,
colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),l.extraData.productSpecificData=q);f=l;return af(h,FKa(f,d,e),0)})},f8b=function(a,b,c){try{"submit"===a.flow||"help"===a.flow?d8b(a,b,c):IKa(a.productId,a.feedbackServerUri).then(function(d){d=
wk(d,nq,1);var e=!DAb||(null==d?void 0:d.getEnableMweb()),f=!a.tinyNoPointer||(null==d?void 0:d.getEnableTinyNoPointer());!d||d.getAlohaAutoGaRollout()&&e&&f?e8b(a,b,c,d):d8b(a,b,c)},function(d){d&&"DuplicateFormError"!==d.name&&d8b(a,b,c)})}catch(d){e8b(a,b,c,null)}};jAb("userfeedback.api.startFeedback",f8b);var wR=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};wR.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?XA(this.matDialog.open(vR,{width:"500px",maxHeight:"80vh",height:"640px",autoFocus:!1})).subscribe(function(b){b&&JMa(a)}):JMa(this)};
var JMa=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20230306.06_p0"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=p([]),f=[],h=m(a.activeSession.session.config.enabledFlags),l=h.next();!l.done;l=h.next()){var q=m(l.value);l=q.next().value;(q=q.next().value)&&f.push(l)}c=d.call(c,e,p(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&
(c.trackerId=a.currentTracker.getTrackerId());f8b(b,c)};wR.\u0275fac=function(a){return new (a||wR)(n(tu),n(bB),n(qN))};wR.\u0275prov=Pc({token:wR,factory:wR.\u0275fac,providedIn:"root"});var g8b=new Ud("Analytics");var xR=function(a){this.clientStreamzService=a;this.analytics=Zc(g8b,{optional:!0})};xR.prototype.logTaskOpenedMetric=function(a){h8b(this,"task_opened",a);var b;null==(b=this.analytics)||b.logTaskOpened()};xR.prototype.logUsageMetric=function(a,b){this.clientStreamzService.logUsageMetric("task_prioritization."+a,b)};
var h8b=function(a,b,c){var d=lk(c.resource,1).toLowerCase();a.logUsageMetric(b,!0);a.logUsageMetric(b+"_"+d,!0);c=m(c.signals);for(var e=c.next();!e.done;e=c.next()){e=e.value.type;var f={};e=(f["Future Availability"]="future_availability",f["Current Availability"]="current_availability",f["Submission Deadline"]="submission_deadline",f.Blocking="blocking",f["Current Iteration"]="current_iteration",f["Slow CL"]="slow_cl",f["Near SLO"]="near_slo",f["Out of SLO"]="out_of_slo",f.Accepted="accepted",
f.P0="p0",f.Rollback="rollback",f.LGTM="lgtm",f.Unresolved="unresolved",f["Docwrap Outgoing"]="docwrap_outgoing",f["Docwrap Incoming"]="docwrap_incoming",f)[e];a.logUsageMetric(b+"_"+d+"_"+e,!0)}};xR.\u0275fac=function(a){return new (a||xR)(n(SC))};xR.\u0275prov=Pc({token:xR,factory:xR.\u0275fac,providedIn:"root"});var yR=function(){var a=window.localStorage.getItem("task_prioritization.hidden_task_ids");this.initiallyHiddenTaskIds=a?JSON.parse(a):[];this.hideEvent$=new T.Subject;this.hiddenTaskIdList$=this.hideEvent$.pipe(LKa(this.initiallyHiddenTaskIds),Sf(KKa),Nf({bufferSize:1,refCount:!1}));this.showHiddenMyWorkTasks$=new T.BehaviorSubject(!1);this.showHiddenNeedsMyInputTasks$=new T.BehaviorSubject(!1)};yR.prototype.hideTask=function(a){this.hideEvent$.next({id:a.id,type:"hidden"})};
yR.prototype.unhideTask=function(a){this.hideEvent$.next({id:a.id,type:"unhidden"})};var j8b=function(a){return(0,T.pipe)(Qf(function(b){return(0,T.combineLatest)(b.map(function(c){return i8b(a,c)}))}),B(function(b){return b.filter(pq)}))};yR.prototype.isHidden=function(a){return this.hiddenTaskIdList$.pipe(B(function(b){return b.includes(a)}))};
var i8b=function(a,b){return(0,T.combineLatest)([b.isHidden$,b.isMyWork?a.showHiddenMyWorkTasks$:a.showHiddenNeedsMyInputTasks$]).pipe(B(function(c){c=m(c);var d=c.next().value;return c.next().value||!d?b:void 0}))};yR.\u0275fac=function(a){return new (a||yR)};yR.\u0275prov=Pc({token:yR,factory:yR.\u0275fac,providedIn:"root"});var zR=function(a){this.api=a},k8b=function(a,b){return y0b(a.api,QKa(b)).pipe(B(function(c){c=c.results.map(function(d){var e=d.userId.email,f=d.userAvailabilities.availabilities;d=f.slice(1);f=f[0];var h;if(h=f)h=f.status.hasOutOfOffice?"OOO - "+MKa(f.status.outOfOffice.comeBackTime):f.status.hasOutsideWorkingHours?"Outside working hours - "+MKa(f.status.outsideWorkingHours.comeBackTime):void 0;f=(f=h)?{type:"Current Availability",text:f}:void 0;d=null!=f?f:PKa(d);return[e,d]});return new Map(c)}))};
zR.\u0275fac=function(a){return new (a||zR)(n(YK))};zR.\u0275prov=Pc({token:zR,factory:zR.\u0275fac,providedIn:"root"});var l8b=new Ud("Worktracker API Key");var m8b=new Ud("Environment");var AR=function(a){Y.call(this,a,-1,n8b)};X(AR,Y);g=AR.prototype;g.getIterationId=function(){return Tk(this,1)};g.setIterationId=function(a){return Lb(this,1,a)};g.getWorkspaceId=function(){return Tk(this,2)};g.getType=function(){return bk(this,3,0)};g.setType=function(a){return Dk(this,3,a)};g.getName=function(){return lk(this,4)};g.setName=function(a){return Mb(this,4,a)};g.getHotlistId=function(){return Tk(this,7)};g.setHotlistId=function(a){Lb(this,7,a)};
g.getStatus=function(){return bk(this,8,0)};g.setStatus=function(a){return Dk(this,8,a)};g.getTagsList=function(){return ej(this,9,!1)};g.setVelocity=function(a){return Jb(this,11,tb(a),0)};g.getStartTime=function(){return wk(this,cj,12)};g.setStartTime=function(a){Ok(this,cj,12,a)};g.getEndTime=function(){return wk(this,cj,13)};g.setEndTime=function(a){Ok(this,cj,13,a)};var o8b=dc(AR),n8b=[9];var BR=function(a){Y.call(this,a)};X(BR,Y);BR.prototype.getIterationId=function(){return uBb(this,1)};BR.prototype.setIterationId=function(a){return Jb(this,1,a,0)};var p8b=new DD("/google.corp.devtools.worktracker.v1.IterationService/GetIteration",BR,AR,function(a){return a.serialize()},o8b);var q8b=function(a){Y.call(this,a)};X(q8b,Y);q8b.prototype.getIssue=function(){return wk(this,pRb,1)};q8b.prototype.setIssue=function(a){Ok(this,pRb,1,a)};var r8b=function(a){Y.call(this,a)};X(r8b,Y);r8b.prototype.getIssue=function(){return wl(this,q8b,1,s8b)};r8b.prototype.setIssue=function(a){am(this,1,s8b,a)};var s8b=[1];var CR=function(a){Y.call(this,a,-1,t8b)};X(CR,Y);CR.prototype.getId=function(){return lk(this,1)};CR.prototype.setId=function(a){return Mb(this,1,a)};CR.prototype.getPayload=function(){return wk(this,r8b,9)};var u8b=dc(CR),t8b=[11,6,12,7,10];var x8b=function(){var a=Zc(v8b),b=w8b;b=b||{};b.format="jspb";this.client_=new eE(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};x8b.prototype.getIteration=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.IterationService/GetIteration",a,b||{},p8b)};var z8b=function(a){Y.call(this,a,-1,y8b)};X(z8b,Y);var A8b=function(a,b){return sk(a,1,b)},y8b=[1];var C8b=function(a){Y.call(this,a,-1,B8b)};X(C8b,Y);var B8b=[1];var D8b=new DD("/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",z8b,C8b,function(a){return a.serialize()},dc(C8b));var E8b=function(a){Y.call(this,a)};X(E8b,Y);E8b.prototype.setWorkItemId=function(a){return Mb(this,1,a)};var F8b=new DD("/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",E8b,CR,function(a){return a.serialize()},u8b);var G8b=function(){var a=Zc(v8b),b=w8b;b=b||{};b.format="jspb";this.client_=new eE(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},H8b=function(a,b,c){return fE(a.client_,a.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",b,c||{},D8b)};G8b.prototype.getWorkItem=function(a){return fE(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",a,{},F8b)};var v8b=new Ud("Worktracker API Endpoint",{factory:function(){switch(Zc(m8b)){case "Prod":return"https://worktracker-googleapis.corp.google.com";case "Staging":return"https://staging-worktracker-googleapis.corp.google.com";default:return"https://autopush-worktracker-googleapis.corp.google.com"}}}),w8b={withCredentials:!0,suppressCorsPreflight:!0},I8b=new Ud("Workspaces Promise Client",{factory:function(){return new u7b(Zc(v8b),w8b)}}),J8b=new Ud("Iterations Promise Client",{factory:function(){return new x8b}}),
K8b=new Ud("Work Items Promise Client",{factory:function(){return new G8b}});var DR=function(){this.iterationsApi=Zc(J8b);this.idToIterationMap=new Map;this.headers=tq(Zc(l8b))};DR.prototype.getIteration=function(a){if(this.idToIterationMap.has(a))return this.idToIterationMap.get(a);var b=(new BR).setIterationId(a);b=this.iterationsApi.getIteration(b,this.headers);this.idToIterationMap.set(a,b);return b};DR.\u0275fac=function(a){return new (a||DR)};DR.\u0275prov=Pc({token:DR,factory:DR.\u0275fac,providedIn:"root"});var ER=function(){var a=this;this.workItemsApi=Zc(K8b);this.headers=tq(Zc(l8b));this.task$=new T.ReplaySubject;this.taskToWorkItem$=SKa(this.task$).pipe(Qf(function(b){var c;return Ze(function(d){if(1==d.nextAddress)return af(d,L8b(a,b),2);c=d.yieldResult;for(var e=d.return,f=Map,h=Math.max(b.length,c.length),l=[],q=0;q<h;q++)l.push([b[q],c[q]]);return e.call(d,new f(l))})}),Nf())};
ER.prototype.getWorkItem=function(a){var b;if(null==(b=a.getResource())||!Aq(b))return(0,T.of)(void 0);this.task$.next(a);return this.taskToWorkItem$.pipe(B(function(c){return c.get(a)}))};var L8b=function(a,b){var c,d;return Ze(function(e){if(1==e.nextAddress)return c=A8b(new z8b,b.map(function(f){return lk(f,1)})),af(e,H8b(a.workItemsApi,c,a.headers),2);d=e.yieldResult;return e.return(fj(d,CR,1))})};ER.\u0275fac=function(a){return new (a||ER)};ER.\u0275prov=Pc({token:ER,factory:ER.\u0275fac,providedIn:"root"});var FR=function(){var a=this;this.workspacesApi=Zc(I8b);this.workspaceIds$=(0,T.defer)(function(){return M8b(a)}).pipe(Nf());this.headers=tq(Zc(l8b));this.workItemFetcher=Zc(ER);this.iterationFetcher=Zc(DR)},O8b=function(a,b){return(0,T.defer)(function(){return N8b(a,b)})},N8b=function(a,b){var c,d,e,f,h,l,q,u;return Ze(function(x){if(1==x.nextAddress)return af(x,Promise.all([(0,T.firstValueFrom)(a.workItemFetcher.getWorkItem(b)),(0,T.firstValueFrom)(a.workspaceIds$)]),2);if(3!=x.nextAddress){c=x.yieldResult;
d=m(c);e=d.next().value;f=d.next().value;h=e;l=f;if(!h)return x.return(void 0);q=fj(h,AR,12).filter(function(y){return l.includes(y.getWorkspaceId())});return af(x,Promise.all(q.map(function(y){return a.iterationFetcher.getIteration(y.getIterationId())})),3)}u=x.yieldResult;return x.return(u.some(TKa)?"Current iteration":void 0)})},M8b=function(a){var b,c;return Ze(function(d){if(1==d.nextAddress)return b=q7b(),af(d,a.workspacesApi.list(b,a.headers),2);c=d.yieldResult;return d.return(fj(c,hq,1).map(function(e){return e.getWorkspaceId()}))})};
FR.\u0275fac=function(a){return new (a||FR)};FR.\u0275prov=Pc({token:FR,factory:FR.\u0275fac,providedIn:"root"});var GR={},HR={},IR={},JR={},KR={},LR={},XKa=(LR[1]=(GR[1]=4419,GR[2]=19482,GR[3]=65108,GR[4]=78715,GR[5]=80067,GR[6]=15012,GR),LR[2]=(HR[1]=9078,HR[2]=63700,HR[3]=86383,HR[4]=148526,HR[5]=161988,HR[6]=80049,HR),LR[3]=(IR[1]=37536,IR[2]=89931,IR[3]=179965,IR[4]=274704,IR[5]=351444,IR[6]=237983,IR),LR[4]=(JR[1]=72484,JR[2]=191314,JR[3]=342430,JR[4]=444537,JR[5]=528272,JR[6]=417086,JR),LR[5]=(KR[1]=56493,KR[2]=167140,KR[3]=327933,KR[4]=425290,KR[5]=490491,KR[6]=436116,KR),LR);var P8b=function(a){Y.call(this,a)};X(P8b,Y);var MR=function(a){Y.call(this,a)};X(MR,Y);MR.prototype.getStartTime=function(){return wk(this,cj,1)};MR.prototype.setStartTime=function(a){Ok(this,cj,1,a)};MR.prototype.getEndTime=function(){return wk(this,cj,2)};MR.prototype.setEndTime=function(a){Ok(this,cj,2,a)};var NR=function(a){Y.call(this,a)};X(NR,Y);NR.prototype.getConfidence=function(){return Uk(this,2)};NR.prototype.getStatus=function(){return wk(this,FD,3)};NR.prototype.setStatus=function(a){return Ok(this,FD,3,a)};NR.prototype.hasStatus=function(){return sl(this,FD,3)};var R8b=function(a){Y.call(this,a,-1,Q8b)};X(R8b,Y);var Q8b=[2];var S8b=new DD("/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",P8b,R8b,function(a){return a.serialize()},dc(R8b));var U8b=function(){var a=Zc(T8b).endpoint;this.client_=new eE({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};U8b.prototype.getChangelistReleaseSchedulePrediction=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",a,b||{},S8b)};var T8b=new Ud("Deployments config",{factory:function(){switch(Zc(m8b)){case "Prod":return{endpoint:"https://developergraph-googleapis.corp.google.com",apiKey:"AIzaSyCcQkm25Zzy--16hP6gEq5iF57VSicmFPo"};case "Autopush":case "Staging":return{endpoint:"https://staging-developergraph-googleapis.corp.google.com",apiKey:"AIzaSyDSUcRr-tRwNntdpgqJSKetPwgDfFhdXh0"};default:return{endpoint:"https://autopush-developergraph-googleapis.corp.google.com",apiKey:"AIzaSyAgSldgoc7j91zBJEF4H-5KfMW3kdb0Knc"}}}}),V8b=
new Ud("Context Service Promise Client",{factory:function(){return new U8b}}),OR=function(){this.headers=tq(Zc(T8b).apiKey);this.client=Zc(V8b)},X8b=function(a,b){var c;return Ze(function(d){if(1==d.nextAddress)return af(d,W8b(a,b),2);c=d.yieldResult;return d.return(c?NKa("Scheduled release in",c,12):void 0)})},W8b=function(a,b){var c,d,e,f,h;return Ze(function(l){if(1==l.nextAddress){var q=new P8b;c=Lb(q,1,b);return af(l,a.client.getChangelistReleaseSchedulePrediction(c,a.headers),2)}d=l.yieldResult;
return l.return(null==(e=wk(d,NR,1))?void 0:null==(f=wk(e,MR,1))?void 0:null==(h=f.getStartTime())?void 0:h.toDate())})};OR.\u0275fac=function(a){return new (a||OR)};OR.\u0275prov=Pc({token:OR,factory:OR.\u0275fac,providedIn:"root"});var nLa=new Map;var Y8b=new Ud("G3C API Keys");var $8b=function(a){Y.call(this,a,-1,Z8b)};X($8b,Y);var Z8b=[1];var b9b=function(a){Y.call(this,a,-1,a9b)};X(b9b,Y);var a9b=[1];var c9b=new DD("/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",$8b,b9b,function(a){return a.serialize()},dc(b9b));var e9b=function(){var a=Zc(d9b).endpoint;this.client_=new eE({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var d9b=new Ud("Deployments config",{factory:function(){switch(Zc(m8b)){case "Prod":return{endpoint:"https://devopsconsole-pa-googleapis.corp.google.com",apiKey:Zc(Y8b).prodApiKey};case "Staging":return{endpoint:"https://stagingcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:Zc(Y8b).stagingApiKey};default:return{endpoint:"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:Zc(Y8b).autopushApiKey}}}}),f9b=new Ud("Task Prioritization Promise Client",{factory:function(){return new e9b}}),
PR=function(){this.client=Zc(f9b);this.headers=tq(Zc(d9b).apiKey)};PR.\u0275fac=function(a){return new (a||PR)};PR.\u0275prov=Pc({token:PR,factory:PR.\u0275fac,providedIn:"root"});var QR=function(a,b,c,d,e){var f=this;this.availability=a;this.submissionDeadline=b;this.iterations=c;this.hiddenTasks=d;this.taskFetcher=e;this.showAllMyWorkTasks$=new T.BehaviorSubject(!1);this.showAllNeedsMyInputTasks$=new T.BehaviorSubject(!1);this.tasks$=(0,T.defer)(function(){var h=f.taskFetcher,l=h.client;var q=new $8b;q=Lm(q,1,[3,2,1,4]);h=l.client_.serverStreaming(l.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",q,h.headers||{},c9b);return RKa(h)}).pipe(lf(function(h){return g9b(f,
h)}),Nf());this.allTasks$=this.tasks$.pipe(CLa());this.filteredTasks$=this.tasks$.pipe(h9b(this),CLa());this.readdedTasks$=(0,T.zip)(this.allTasks$,this.filteredTasks$).pipe(i9b(this))},j9b=function(a){return a.areAllTasksLoaded().pipe(Tf(a.readdedTasks$.pipe(j8b(a.hiddenTasks))),B(function(b){b=m(b);b.next();return b.next().value.filter(function(c){return!c.isMyWork}).length}))};QR.prototype.areAllTasksLoaded=function(){return this.tasks$.pipe(jha(void 0,[]),If(!0))};
var g9b=function(a,b){b=fj(b,yD,1).filter(function(e){return e.getResource()});var c=b.map(ELa),d=k8b(a.availability,c).pipe(Nf());return(0,T.forkJoin)(b.map(function(e,f){var h=e.getResource(),l=lk(h,1),q=lk(e,1);return(0,T.forkJoin)([d.pipe(B(function(u){return u.get(c[f])})),(0,T.defer)(function(){return k9b(a,q,l)}),BLa(e),l9b(a,e),(0,T.of)(YKa(e))]).pipe(B(function(u){return u.filter(pq)})).pipe(B(function(u){var x=h.getTitle(),y=lk(h,16),G=[],J=G.concat;u=p(u);var M=(M=Aq(e.getResource()))?
[3===M.getStatus()&&{type:"Accepted",text:"Accepted"},1===M.getPriority()&&{type:"P0",text:"P0"},VKa(M)&&{type:"Out of SLO",text:"Out of SLO"},WKa(M)&&{type:"Near SLO",text:"Near SLO"}].filter(pq):[];M=p(M);var V=(V=uq(e.getResource()))?[3===V.getStatus()&&{type:"Unresolved",text:"Unresolved"},1===V.getStatus()&&{type:"LGTM",text:"LGTM"},V.getDescription().includes("ROLLBACK_OF=")&&{type:"Rollback",text:"Rollback"}].filter(pq):[];V=p(V);var U=(U=Bq(e.getResource()))?[xl(U,25)&&{type:"Docwrap Incoming",
text:"Incoming review"},xl(U,26)&&{type:"Docwrap Outgoing",text:"Outgoing review"}].filter(pq):[];return{id:q,title:x,resourceUrl:y,signals:J.call(G,u,M,V,p(U)),source:l,isHidden$:a.hiddenTasks.isHidden(q),isMyWork:DLa(e),resource:h}}))}))},l9b=function(a,b){return O8b(a.iterations,b).pipe(B(function(c){return c?{type:"Current Iteration",text:c}:void 0}))},k9b=function(a,b,c){var d,e;return Ze(function(f){if(1==f.nextAddress){if("Critique"!==c)return f.return(void 0);d=Number(b.slice(3));return af(f,
X8b(a.submissionDeadline,d),2)}e=f.yieldResult;return f.return(e?{type:"Submission Deadline",text:e,tooltipText:"Time this CL must be submitted by to make it into the next release"}:void 0)})},i9b=function(a){return(0,T.pipe)(Qf(function(b){b=m(b);var c=b.next().value,d=b.next().value;return(0,T.combineLatest)([a.showAllMyWorkTasks$,a.showAllNeedsMyInputTasks$]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;var h=c.filter(function(q){return!d.includes(q)}),l=m(JKa(h,function(q){return q.isMyWork}));
h=l.next().value;l=l.next().value;e=e?h:[];f=f?l:[];return[].concat(p(d),p(e),p(f))}))}))},h9b=function(a){return(0,T.pipe)(B(function(b){var c=m(JKa(b,function(d){return a.hiddenTasks.initiallyHiddenTaskIds.includes(d.id)}));b=c.next().value;c=c.next().value;return[].concat(p(ALa(c)),p(b))}))};QR.\u0275fac=function(a){return new (a||QR)(n(zR),n(OR),n(FR),n(yR),n(PR))};QR.\u0275prov=Pc({token:QR,factory:QR.\u0275fac,providedIn:"root"});var m9b=new Ud("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var RR=function(a,b){this.elementRef=a;this.options=b};RR.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};RR.\u0275fac=function(a){return new (a||RR)(A(Yd),A(m9b))};
RR.\u0275dir=r({type:RR,selectors:[["button","mat-button",""],["a","mat-button",""],["button","mat-raised-button",""],["a","mat-raised-button",""],["button","mat-flat-button",""],["a","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-stroked-button",""],["button","mat-icon-button",""],["a","mat-icon-button",""],[""]],hostVars:2,hostBindings:function(a,b){a&2&&pg("gmat-mdc-button",!b.options.disableGmatStyle)}});var SR=function(){};SR.\u0275fac=function(a){return new (a||SR)};SR.\u0275mod=fd({type:SR});SR.\u0275inj=Qc({providers:[{provide:dQb,useValue:{color:"primary"}}],imports:[jE]});var n9b=new Ud("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var TR=function(a){this.options=a};TR.\u0275fac=function(a){return new (a||TR)(A(n9b))};TR.\u0275dir=r({type:TR,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&pg("gmat-mdc-table",!b.options.disableGmatStyle)}});var UR=function(){};UR.\u0275fac=function(a){return new (a||UR)};UR.\u0275mod=fd({type:UR});UR.\u0275inj=Qc({imports:[XP]});var o9b=new Ud("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var VR=function(){cA.apply(this,arguments);this.gmatPanelClasses=[]};X(VR,cA);VR.prototype.create=function(a){var b=(null==a?0:a.panelClass)?Jh(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return cA.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};VR.\u0275fac=function(){var a;return function(b){return(a||(a=Od(VR)))(b||VR)}}();VR.\u0275prov=Pc({token:VR,factory:VR.\u0275fac});var WR=function(a,b){a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-tooltip")};WR.\u0275fac=function(a){return new (a||WR)(A(o9b),A(cA))};WR.\u0275dir=r({type:WR,selectors:[["","matTooltip",""]],features:[Dg([{provide:cA,useClass:VR}])]});var YR=function(){};YR.\u0275fac=function(a){return new (a||YR)};YR.\u0275mod=fd({type:YR});YR.\u0275inj=Qc({imports:[oD]});var KLa=function(){return[]},LLa=function(){return["zero-state"]},ZR=function(a,b){this.hiddenTasks=a;this.metrics=b;this.tasks=[];this.areTasksHidden=this.showZeroState=!1;this.showHiddenTasks=new vw;this.displayedColumns=["title","signals","actions"]};ZR.prototype.hideTask=function(a){this.hiddenTasks.hideTask(a);this.metrics.logUsageMetric("task_hidden",!0)};ZR.prototype.unhideTask=function(a){this.hiddenTasks.unhideTask(a);this.metrics.logUsageMetric("task_hidden",!1)};
ZR.prototype.logTaskOpenedMetric=function(a){this.metrics.logTaskOpenedMetric(a)};ZR.\u0275fac=function(a){return new (a||ZR)(A(yR),A(xR))};
ZR.\u0275cmp=r({type:ZR,selectors:[["tp-task-table"]],inputs:{tasks:"tasks",showZeroState:"showZeroState",areTasksHidden:"areTasksHidden"},outputs:{showHiddenTasks:"showHiddenTasks"},decls:3,vars:2,consts:[[3,"dataSource",4,"ngIf","ngIfElse"],["taskTable",""],[3,"dataSource"],["matColumnDef","zero-state"],["class","zero-state-cell",4,"matHeaderCellDef"],[4,"matCellDef"],["class","zero-state-row",4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"zero-state-cell"],["src","https://www.gstatic.com/devnotify/tp-empty.svg",
"alt",""],[4,"ngIf"],[3,"click"],[1,"zero-state-row"],["matColumnDef","title"],[4,"matHeaderCellDef"],["matColumnDef","signals"],["matColumnDef","actions"],[4,"matHeaderRowDef"],[3,"hidden-task",4,"matRowDef","matRowDefColumns"],[1,"tp-title-cell"],[3,"svgIcon"],[1,"tp-task-name"],["target","_blank",1,"task-link",3,"href","click"],["class","tp-signal","matTooltipClass","tp-tooltip",3,"matTooltip","matTooltipDisabled",4,"ngFor","ngForOf"],["matTooltipClass","tp-tooltip",1,"tp-signal",3,"matTooltip",
"matTooltipDisabled"],["mat-icon-button","","class","hide-button","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",3,"click",4,"ngIf","ngIfElse"],["hide",""],["mat-icon-button","","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",1,"hide-button",3,"click"],["mat-icon-button","","matTooltip","Hide this task","matTooltipClass","tp-tooltip","aria-label","hide task",1,"hide-button",3,"click"]],template:function(a,b){a&1&&
(O(0,MLa,6,6,"mat-table",0),O(1,YLa,12,3,"ng-template",null,1,$g));if(a&2){var c=N(2);C("ngIf",b.showZeroState)("ngIfElse",c)}},dependencies:function(){return[ax,bx,RR,zA,TR,WP,OP,SP,PP,NP,TP,QP,RP,UP,VP,WR,mD,OB,hx,$R]},styles:['.mdc-data-table[_ngcontent-%COMP%]{background-color:var(--mdc-theme-surface,#fff);border-color:rgba(0,0,0,.12)}.mdc-data-table__row[_ngcontent-%COMP%]{background-color:inherit}.mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:var(--mdc-theme-surface,#fff)}.mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:rgba(33,150,243,.04)}.mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__leading[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__notch[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:rgba(0,0,0,.12)}.mdc-data-table__cell[_ngcontent-%COMP%], .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(0,0,0,.12)}.mdc-data-table__pagination[_ngcontent-%COMP%]{border-top-color:rgba(0,0,0,.12)}.mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:rgba(0,0,0,.04)}.mdc-data-table__header-cell[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mdc-data-table__cell[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-mdc-table[_ngcontent-%COMP%]{background:#fff}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]{height:52px}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination[_ngcontent-%COMP%]{min-height:52px}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-row[_ngcontent-%COMP%]{height:56px}.mdc-data-table__content[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-body2-font-size,14px);line-height:var(--mdc-typography-body2-line-height,20px);font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:var(--mdc-typography-body2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:var(--mdc-typography-body2-text-transform,none)}.mdc-data-table__cell[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-body2-font-size,14px);line-height:var(--mdc-typography-body2-line-height,20px);font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:var(--mdc-typography-body2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:var(--mdc-typography-body2-text-transform,none)}.mdc-data-table__header-cell[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-subtitle2-font-size,14px);line-height:var(--mdc-typography-subtitle2-line-height,24px);font-weight:var(--mdc-typography-subtitle2-font-weight,500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-transform:var(--mdc-typography-subtitle2-text-transform,none)}.gmat-mdc-table[_ngcontent-%COMP%]{background-color:#fff;border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:#fff}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:#3c4043}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:#e3f2fd}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__leading[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__notch[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination[_ngcontent-%COMP%]{border-top-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:rgba(32,33,36,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#5f6368}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#5f6368)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#202124)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:inherit}.gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(60,64,67,.04);--odw-mdc-row-selected:var(--blue-50);--odw-mdc-row-selected-hover:rgba(232,240,254,.5)}.dark-mode[_ngcontent-%COMP%]   .gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(232,234,237,.04);--odw-mdc-row-selected:rgba(138,180,248,.24);--odw-mdc-row-selected-hover:rgba(138,180,248,.12)}.gmat-mdc-table[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:var(--hairline)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:hover, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:var(--odw-mdc-row-hover)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:var(--odw-mdc-row-selected)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]:hover{background-color:var(--odw-mdc-row-selected-hover)}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color:#616161;--mdc-plain-tooltip-supporting-text-color:#fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-plain-tooltip-supporting-text-size:12px;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:normal}.gmat-mdc-tooltip[_ngcontent-%COMP%]   .mdc-tooltip__surface[_ngcontent-%COMP%]:not(boost-specificity){background-color:var(--tooltip-bg);color:var(--tooltip-text,var(--text-inverse))}  .tp-tooltip :not(.boost-specificity){--mdc-plain-tooltip-container-color:var(--tooltip-bg);--mdc-plain-tooltip-supporting-text-color:var(--text-inverse)}  .dark-mode .tp-tooltip :not(.boost-specificity){--mdc-plain-tooltip-container-color:hsla(0,0%,100%,.9);--mdc-plain-tooltip-supporting-text-color:var(--text-inverse)}[_nghost-%COMP%]   mat-table.gmat-mdc-table[_ngcontent-%COMP%]{background:var(--surface-default);border-radius:.25rem;margin:0 0 .75rem;overflow:hidden;box-shadow:0 1px 2px 0 rgba(0,0,0,.16),0 2px 6px 2px rgba(0,0,0,.08);border:none}[_nghost-%COMP%]   mat-header-row.mat-mdc-header-row.mat-mdc-header-row[_ngcontent-%COMP%]:not(.zero-state-row), [_nghost-%COMP%]   mat-row.mat-mdc-row.mat-mdc-row[_ngcontent-%COMP%]:not(.zero-state-row){height:unset;min-height:2rem}[_nghost-%COMP%]   mat-header-row.mat-mdc-header-row.mat-mdc-header-row.zero-state-row[_ngcontent-%COMP%], [_nghost-%COMP%]   mat-row.mat-mdc-row.mat-mdc-row.zero-state-row[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]{width:45%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{width:1.125rem;min-width:1.125rem;margin-right:.5rem;-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]   .tp-task-name[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}[_nghost-%COMP%]   .mat-column-signal[_ngcontent-%COMP%]{width:45%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;-ms-flex:0 0 100px;flex:0 0 100px;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:end}[_nghost-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]   .hide-button[_ngcontent-%COMP%]{height:2rem;padding:.25rem}.tp-signal[_ngcontent-%COMP%]{border-radius:.25rem;padding:.125rem .5rem;margin:0 .25rem;background:var(--tonal-fill-grey);border:1px solid var(--tonal-grey);font-size:.8125rem;white-space:nowrap;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.tp-signal[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0}.task-link[_ngcontent-%COMP%]{color:unset;text-decoration:none}.zero-state-cell[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;font-weight:400;gap:8px;padding:8px}.zero-state-cell[_ngcontent-%COMP%]:not(.boost-specificy){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.zero-state-cell[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:70px;text-align:center}.zero-state-cell[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:contents}.hidden-task[_ngcontent-%COMP%]{-webkit-filter:grayscale(80%);filter:grayscale(80%);background:var(--tonal-fill-grey)}']});
var $R=function(){};$R.prototype.transform=function(a){var b={};return(b.Ariane="launch",b.Buganizer="buganizer",b.Critique="critique",b.Drive="docs",b)[a.source]};$R.\u0275fac=function(a){return new (a||$R)};$R.\u0275pipe=hd({name:"taskIcon",type:$R,pure:!0});var aS=function(){};aS.\u0275fac=function(a){return new (a||aS)};aS.\u0275mod=fd({type:aS});aS.\u0275inj=Qc({imports:[px,SR,UR,YR,rD]});var p9b=new Ud("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var q9b=new PL(3);var bS=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new T.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");ZLa(b._elementRef.nativeElement).pipe(Rf(this.destroyed)).subscribe(function(d){r9b(c,d[0],d[1])})};
bS.prototype.ngOnInit=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");r9b(this,null!=a?a:"","indeterminate"===this.progressSpinner.mode?"indeterminate":this.progressSpinner.value.toString())};bS.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};
var r9b=function(a,b,c){b="indeterminate"===c?b:b+" "+q9b.format(Number(c)/100);a.labelElement.textContent=b};bS.\u0275fac=function(a){return new (a||bS)(A(p9b),A(sN,10))};bS.\u0275dir=r({type:bS,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(dg("tabindex",null),pg("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var cS=function(){};cS.\u0275fac=function(a){return new (a||cS)};cS.\u0275mod=fd({type:cS});cS.\u0275inj=Qc({imports:[tN]});var s9b=wu(["https://fonts.gstatic.com/s/i/productlogos/buganizer/v1/192px.svg"]),t9b=wu(["https://fonts.gstatic.com/s/i/productlogos/critique/v1/192px.svg"]),u9b=wu(["https://fonts.gstatic.com/s/i/productlogos/docs_2020q4/v12/192px.svg"]),v9b=wu(["https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg"]),w9b=wu(["https://fonts.gstatic.com/s/i/productlogos/taskflow/v1/192px.svg"]),x9b=wu(["//googledata/icons/vf/material_next/svg/block/googlesymbols:default_48px.svg"]),y9b=wu(["//googledata/icons/vf/material_next/svg/alternate_email/googlesymbols:default_48px.svg"]),
z9b=wu(["//googledata/icons/vf/material_next/svg/schedule/googlesymbols:default_48px.svg"]),A9b=wu(["//googledata/icons/vf/material_next/svg/unblock_flipped/googlesymbols:default_48px.svg"]),B9b=wu(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility/v16/24px.svg"]),C9b=wu(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility_off/v12/24px.svg"]),kMa=function(a,b){return{showHidden:a,viewAll:b}},D9b=function(a,b){return{areAllTasksLoaded:a,tasks:b}},dS=function(a,b,c,d){this.tasksService=
b;this.hiddenTasks=c;this.metrics=d;b=this.tasksService;this.tasks$=b.readdedTasks$.pipe(j8b(b.hiddenTasks)).pipe(E9b(this));this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.areTasksFiltered$=F9b(this);this.areTasksHidden$=this.areTasksHidden();this.destroyed$=new T.Subject;a.setDefaultFontSetClass("google-material-icons","mat-ligature-font");NB(a,"buganizer",Uh(s9b));NB(a,"critique",Uh(t9b));NB(a,"docs",Uh(u9b));NB(a,"launch",Uh(v9b));NB(a,"taskflow",Uh(w9b));NB(a,"blocking",Uh(x9b));
NB(a,"mention",Uh(y9b));NB(a,"time",Uh(z9b));NB(a,"unblocked",Uh(A9b));NB(a,"hide_task",Uh(B9b));NB(a,"show_task",Uh(C9b))};dS.prototype.ngOnInit=function(){this.viewAll$=this.isMyWork?this.tasksService.showAllMyWorkTasks$:this.tasksService.showAllNeedsMyInputTasks$;this.showHidden$=this.isMyWork?this.hiddenTasks.showHiddenMyWorkTasks$:this.hiddenTasks.showHiddenNeedsMyInputTasks$;this.metrics.logUsageMetric(this.isMyWork?"my_work_loaded":"needs_my_attention_loaded",!0);G9b(this)};
dS.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};var hMa=function(a,b){a.showHidden$.next(b);a.metrics.logUsageMetric("toggle_show_hidden",b)},G9b=function(a){a.areAllTasksLoaded$.pipe(Tf(a.tasks$),Rf(a.destroyed$)).subscribe(function(b){b=m(b);b.next();var c=b.next().value;a.metrics.logUsageMetric(a.isMyWork?"my_work_all_tasks_loaded":"needs_my_attention_all_tasks_loaded",!0);b=a.metrics;c=m(c);for(var d=c.next();!d.done;d=c.next())h8b(b,"task_shown",d.value)})};
dS.prototype.areTasksHidden=function(){var a=this.tasksService.readdedTasks$.pipe(E9b(this)),b=this.tasks$.pipe(Qf(function(c){return(0,T.combineLatest)(c.map(function(d){return d.isHidden$}))}),B(function(c){return c.filter(function(d){return!d})}),Pf([]));return(0,T.combineLatest)([a,b]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))};
var F9b=function(a){var b=a.tasksService.allTasks$.pipe(E9b(a));a=a.tasksService.filteredTasks$.pipe(E9b(a));return(0,T.zip)(b,a).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))},E9b=function(a){return(0,T.pipe)(B(function(b){return b.filter(function(c){return a.isMyWork===c.isMyWork})}))};Ei.Object.defineProperties(dS.prototype,{reccTasks:{configurable:!0,enumerable:!0,get:function(){return this.isMyWork}},needsInput:{configurable:!0,enumerable:!0,get:function(){return!this.isMyWork}}});
dS.\u0275fac=function(a){return new (a||dS)(A(MB),A(QR),A(yR),A(xR))};
dS.\u0275cmp=r({type:dS,selectors:[["tp-task-section"]],hostVars:2,hostBindings:function(a,b){a&2&&dg("data-recc-tasks",b.reccTasks)("data-needs-input",b.needsInput)},inputs:{isMyWork:"isMyWork"},standalone:!0,features:[Dg([MB]),xia],ngContentSelectors:["*"],decls:11,vars:14,consts:[[1,"tp-table-title"],[1,"gmat-subhead-1"],[4,"ngIf"],["mode","indeterminate",3,"diameter",4,"ngIf","ngIfElse"],["controls",""],["mode","indeterminate",3,"diameter"],["mat-button","","color","primary",3,"click",4,"ngIf"],
["mat-button","","color","primary","class","show-hidden",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary",1,"show-hidden",3,"click"],[3,"tasks","showZeroState","areTasksHidden","showHiddenTasks"]],template:function(a,b){a&1&&(wg(),D(0,"div",0)(1,"h2",1),O(2,$La,2,0,"ng-container",2),O(3,aMa,2,0,"ng-container",2),E(),O(4,bMa,1,1,"mat-progress-spinner",3),R(5,"async"),O(6,lMa,4,8,"ng-template",null,4,$g),E(),O(8,nMa,2,1,"ng-container",2),R(9,"async"),
R(10,"async"));if(a&2){var c=N(7);z(2);C("ngIf",b.isMyWork);z(1);C("ngIf",!b.isMyWork);z(1);C("ngIf",!S(5,5,b.areAllTasksLoaded$))("ngIfElse",c);z(4);C("ngIf",Hg(11,D9b,S(9,7,b.areAllTasksLoaded$),S(10,9,b.tasks$)))}},dependencies:[px,bx,hx,SR,RR,xA,cS,bS,sN,rD,aS,ZR],styles:['.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#2196f3}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#ff9800}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#f44336}.gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#2196f3}.gmat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#ff9800}.gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#f44336}.gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]   .mdc-circular-progress__determinate-circle[_ngcontent-%COMP%], .gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]   .mdc-circular-progress__indeterminate-circle-graphic[_ngcontent-%COMP%]{stroke:var(--primary-default)}.gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]   .mdc-circular-progress__determinate-circle[_ngcontent-%COMP%], .gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]   .mdc-circular-progress__indeterminate-circle-graphic[_ngcontent-%COMP%]{stroke:var(--warn-default)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#2196f3}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#ff9800}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-text-button-label-text-color:rgba(0,0,0,.38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#2196f3;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#ff9800;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color:rgba(0,0,0,.12);--mdc-filled-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-filled-button-container-color:rgba(0,0,0,.12);--mdc-filled-button-label-text-color:rgba(0,0,0,.38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#2196f3;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#ff9800;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color:rgba(0,0,0,.12);--mdc-protected-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-color:rgba(0,0,0,.12);--mdc-protected-button-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-elevation:0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color:rgba(0,0,0,.12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#2196f3}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#ff9800}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-outline-color:rgba(0,0,0,.12);--mdc-outlined-button-disabled-outline-color:rgba(0,0,0,.12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#2196f3}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#ff9800}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#f44336}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(0,0,0,.38);--mdc-icon-button-disabled-icon-color:rgba(0,0,0,.38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{width:40px;height:40px;padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-icon-button__focus-ring[_ngcontent-%COMP%]{max-height:40px;max-width:40px}.mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]{width:40px;height:40px;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0}.mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size[_ngcontent-%COMP%]   .mdc-icon-button__focus-ring[_ngcontent-%COMP%]{max-height:40px;max-width:40px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-icon-button__touch[_ngcontent-%COMP%]{position:absolute;top:50%;height:40px;left:50%;width:40px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color:#2196f3;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color:#ff9800;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color:rgba(0,0,0,.12);--mdc-fab-icon-color:rgba(0,0,0,.38);--mat-mdc-fab-color:rgba(0,0,0,.38)}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;text-transform:none}.gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__ripple[_ngcontent-%COMP%]{height:100%;position:absolute;overflow:hidden;width:100%;z-index:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.16}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.24}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.2}.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-text-button-hover-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-text-button-focus-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-text-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-text-button-label-text-color:#1e88e5;--mdc-text-button-focus-label-text-color:#0d47a1;--mdc-text-button-hover-label-text-color:#0d47a1}.gmat-mdc-button.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-text-button-label-text-color:#fb8c00;--mdc-text-button-focus-label-text-color:#e65100;--mdc-text-button-hover-label-text-color:#e65100}.gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-text-button-label-text-color:#e53935;--mdc-text-button-focus-label-text-color:#b71c1c;--mdc-text-button-hover-label-text-color:#b71c1c}.gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-text-button-label-text-color:rgba(60,64,67,.38)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#1e88e5;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#fb8c00;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#e53935;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-disabled-container-color:rgba(60,64,67,.12);--mdc-filled-button-container-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#1e88e5;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#fb8c00;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#e53935;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-disabled-container-color:rgba(60,64,67,.12);--mdc-protected-button-container-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-outlined-button-outline-color:#dadce0;--mdc-outlined-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-outlined-button-hover-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-outlined-button-focus-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:var(--mdc-outlined-button-focus-outline-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 23px 0 23px;border-width:1px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-trailing{padding:0 11px 0 23px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-leading{padding:0 23px 0 11px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__ripple[_ngcontent-%COMP%]{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__touch[_ngcontent-%COMP%]{left:-1px;width:calc(100% + 2px)}.gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-outlined-button-label-text-color:#1e88e5;--mdc-outlined-button-focus-label-text-color:#0d47a1;--mdc-outlined-button-hover-label-text-color:#0d47a1;--mdc-outlined-button-focus-outline-color:#0d47a1}.gmat-mdc-button.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-outlined-button-label-text-color:#fb8c00;--mdc-outlined-button-focus-label-text-color:#e65100;--mdc-outlined-button-hover-label-text-color:#e65100;--mdc-outlined-button-focus-outline-color:#e65100}.gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-outlined-button-label-text-color:#e53935;--mdc-outlined-button-focus-label-text-color:#b71c1c;--mdc-outlined-button-hover-label-text-color:#b71c1c;--mdc-outlined-button-focus-outline-color:#b71c1c}.gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-outline-color:rgba(60,64,67,.12);--mdc-outlined-button-disabled-outline-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#3c4043;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1)}.gmat-mdc-button.mat-mdc-icon-button[disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(60,64,67,.38);--mdc-icon-button-disabled-icon-color:rgba(60,64,67,.38)}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 2px 3px 0 rgba(60,64,67,.3),0 6px 10px 4px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active{box-shadow:0 4px 4px 0 rgba(60,64,67,.3),0 8px 12px 6px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill{--mdc-fab-container-color:#1e88e5;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mat-mdc-fab-color:#1e88e5}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill{--mdc-fab-container-color:#fb8c00;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mat-mdc-fab-color:#fb8c00}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill{--mdc-fab-container-color:#e53935;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mat-mdc-fab-color:#e53935}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#424242;--mat-mdc-button-persistent-ripple-color:#1a73e8;--mat-mdc-button-ripple-color:rgba(26,115,232,.1);--mat-mdc-fab-color:#424242;padding-top:2px;padding-right:24px;padding-bottom:2px;padding-left:24px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-style:solid;border-width:2px;padding-top:2px;padding-right:22px;padding-bottom:2px;padding-left:22px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:#4285f4}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover{--mat-mdc-fab-color:#174ea6}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--text-default);--mdc-text-button-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-text-button-label-text-color:var(--primary-default);--mdc-text-button-focus-label-text-color:var(--primary-default);--mdc-text-button-hover-label-text-color:var(--primary-default)}.gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-text-button-label-text-color:var(--warn-default);--mdc-text-button-focus-label-text-color:var(--warn-default);--mdc-text-button-hover-label-text-color:var(--warn-default)}.gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-text-button-label-text-color:var(--button-disabled-text)}.gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--text-default);--mdc-outlined-button-focus-label-text-color:var(--text-default);--mdc-outlined-button-hover-label-text-color:var(--text-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--text-default)}.gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-outlined-button-label-text-color:var(--primary-default);--mdc-outlined-button-focus-label-text-color:var(--primary-default);--mdc-outlined-button-hover-label-text-color:var(--primary-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--primary-default)}.gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-outlined-button-label-text-color:var(--warn-default);--mdc-outlined-button-focus-label-text-color:var(--warn-default);--mdc-outlined-button-hover-label-text-color:var(--warn-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--warn-default)}.gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--button-disabled-text);--mdc-outlined-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-outlined-button-outline-color:var(--button-disabled-text);--mdc-outlined-button-disabled-outline-color:var(\n    --button-disabled-text\n  )}.gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--button-raised-bg);--mdc-filled-button-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--primary-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--warn-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-filled-button-label-text-color:var(--button-disabled-text);--mdc-filled-button-disabled-container-color:var(--button-disabled-bg);--mdc-filled-button-container-color:var(--button-disabled-bg)}.gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--button-raised-bg);--mdc-protected-button-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--primary-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--warn-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-protected-button-label-text-color:var(--button-disabled-text);--mdc-protected-button-disabled-container-color:var(\n    --button-disabled-bg\n  );--mdc-protected-button-container-color:var(--button-disabled-bg)}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--primary-default)}.gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--warn-default)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]:disabled   .mat-icon[_ngcontent-%COMP%]{color:var(--button-disabled-text)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{color:var(--primary-default);background-color:var(--button-raised-bg);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:hover, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab{color:var(--text-inverse);background-color:var(--primary-default);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:hover, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:var(--primary-high-contrast);--mdc-text-button-hover-label-text-color:var(--primary-high-contrast);--mat-mdc-button-ripple-color:var(--primary-high-contrast);--mat-mdc-button-persistent-ripple-color:var(--primary-high-contrast)}.mat-mdc-button-persistent-ripple.mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.5}.tp-table-title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:12px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin:.83rem 0;height:2.5rem}.tp-table-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .tp-table-title[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0}.show-hidden[_ngcontent-%COMP%]{margin-left:auto}']});var H9b=[[["","needsInputBadge",""]]],eS=function(a){this.route=a};eS.prototype.ngOnInit=function(){};eS.\u0275fac=function(a){return new (a||eS)(A(ko))};
eS.\u0275cmp=r({type:eS,selectors:[["tp-needs-attention"]],ngContentSelectors:["[needsInputBadge]"],decls:6,vars:2,consts:[[1,"tp-needs-attention"],[1,"tp-scrolling-pane"],[1,"tp-content"],[3,"isMyWork"]],template:function(a){a&1&&(wg(H9b),D(0,"div",0)(1,"div",1)(2,"div",2),F(3,"tp-task-section",3),D(4,"tp-task-section",3),xg(5),E()()()());a&2&&(z(3),C("isMyWork",!0),z(1),C("isMyWork",!1))},dependencies:[dS],styles:[".tp-toolbar[_ngcontent-%COMP%]{padding:.5rem .75rem;border-bottom:1px solid var(--hairline);height:1.8125rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.tp-content[_ngcontent-%COMP%]{padding:0 .75rem .75rem}.tp-scrolling-pane[_ngcontent-%COMP%]{background:var(--surface-secondary)}"]});var I9b=["button"],J9b=new Ud("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),K9b=new Ud("MatButtonToggleGroup"),L9b={provide:rx,useExisting:Nc(function(){return fS}),multi:!0},M9b=0,N9b=function(a,b){this.source=a;this.value=b},fS=function(a,b){this._changeDetector=a;this._disabled=this._multiple=this._vertical=!1;this._controlValueAccessorChangeFn=function(){};this._onTouched=function(){};this._name="mat-button-toggle-group-"+M9b++;this.valueChange=new vw;this.change=new vw;this.appearance=b&&b.appearance?
b.appearance:"legacy"};g=fS.prototype;g.ngOnInit=function(){this._selectionModel=new Nz(this.multiple,void 0,!1)};g.ngAfterContentInit=function(){this._selectionModel.select.apply(this._selectionModel,p(this._buttonToggles.filter(function(a){return a.checked})))};g.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this._onTouched=a};
g.setDisabledState=function(a){this.disabled=a};g._emitChangeEvent=function(a){a=new N9b(a,this.value);this._controlValueAccessorChangeFn(a.value);this.change.emit(a)};
g._syncButtonToggle=function(a,b,c,d){var e=this;c=void 0===c?!1:c;d=void 0===d?!1:d;this.multiple||!this.selected||a.checked||(this.selected.checked=!1);this._selectionModel?b?this._selectionModel.select(a):this._selectionModel.deselect(a):d=!0;d?Promise.resolve().then(function(){return e._updateModelValue(a,c)}):this._updateModelValue(a,c)};g._isSelected=function(a){return this._selectionModel&&this._selectionModel.isSelected(a)};
g._isPrechecked=function(a){return"undefined"===typeof this._rawValue?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(function(b){return null!=a.value&&b===a.value}):a.value===this._rawValue};g._setSelectionByValue=function(a){var b=this;this._rawValue=a;this._buttonToggles&&(this.multiple&&a?(Array.isArray(a),this._clearSelection(),a.forEach(function(c){return b._selectValue(c)})):(this._clearSelection(),this._selectValue(a)))};
g._clearSelection=function(){this._selectionModel.clear();this._buttonToggles.forEach(function(a){return a.checked=!1})};g._selectValue=function(a){var b=this._buttonToggles.find(function(c){return null!=c.value&&c.value===a});b&&(b.checked=!0,this._selectionModel.select(b))};g._updateModelValue=function(a,b){b&&this._emitChangeEvent(a);this.valueChange.emit(this.value)};g._markButtonsForCheck=function(){var a;null==(a=this._buttonToggles)||a.forEach(function(b){return b._markForCheck()})};
Ei.Object.defineProperties(fS.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._markButtonsForCheck()}},vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Kh(a)}},value:{configurable:!0,enumerable:!0,get:function(){var a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a.map(function(b){return b.value}):a[0]?a[0].value:void 0},set:function(a){this._setSelectionByValue(a);
this.valueChange.emit(this.value)}},selected:{configurable:!0,enumerable:!0,get:function(){var a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a:a[0]||null}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Kh(a);this._markButtonsForCheck()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Kh(a);this._markButtonsForCheck()}}});
fS.\u0275fac=function(a){return new (a||fS)(A(Vw),A(J9b,8))};
fS.\u0275dir=r({type:fS,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,b,c){a&1&&Tg(c,gS,5);if(a&2){var d;Rg(d=Ug())&&(b._buttonToggles=d)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(a,b){a&2&&(dg("aria-disabled",b.disabled),pg("mat-button-toggle-vertical",b.vertical)("mat-button-toggle-group-appearance-standard","standard"===b.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",
disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Dg([L9b,{provide:K9b,useExisting:fS}])]});var O9b=Gi(function(){}),gS=function(a,b,c,d,e,f){var h=O9b.call(this)||this;h._changeDetectorRef=b;h._elementRef=c;h._focusMonitor=d;h._checked=!1;h.ariaLabelledby=null;h._disabled=!1;h.change=new vw;e=Number(e);h.tabIndex=e||0===e?e:null;h.buttonToggleGroup=a;h.appearance=f&&f.appearance?f.appearance:"legacy";return h};X(gS,O9b);g=gS.prototype;
g.ngOnInit=function(){var a=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+M9b++;a&&(a._isPrechecked(this)?this.checked=!0:a._isSelected(this)!==this._checked&&a._syncButtonToggle(this,this._checked))};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){var a=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef);a&&a._isSelected(this)&&a._syncButtonToggle(this,!1,!1,!0)};g.focus=function(a){this._buttonElement.nativeElement.focus(a)};
g._onButtonClick=function(){var a=this._isSingleSelector()?!0:!this._checked;a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched()));this.change.emit(new N9b(this,this.value))};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};g._getButtonName=function(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null};
g._isSingleSelector=function(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple};
Ei.Object.defineProperties(gS.prototype,{buttonId:{configurable:!0,enumerable:!0,get:function(){return this.id+"-button"}},appearance:{configurable:!0,enumerable:!0,get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(a){this._appearance=a}},checked:{configurable:!0,enumerable:!0,get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(a){a=Kh(a);a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&
this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(a){this._disabled=Kh(a)}}});gS.\u0275fac=function(a){return new (a||gS)(A(K9b,8),A(Vw),A(Yd),A(ly),Id("tabindex"),A(J9b,8))};
gS.\u0275cmp=r({type:gS,selectors:[["mat-button-toggle"]],viewQuery:function(a,b){a&1&&Sg(I9b,5);if(a&2){var c;Rg(c=Ug())&&(b._buttonElement=c.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(a,b){a&1&&K("focus",function(){return b.focus()});a&2&&(dg("aria-label",null)("aria-labelledby",null)("id",b.id)("name",null),pg("mat-button-toggle-standalone",!b.buttonToggleGroup)("mat-button-toggle-checked",b.checked)("mat-button-toggle-disabled",b.disabled)("mat-button-toggle-appearance-standard",
"standard"===b.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[$f],ngContentSelectors:["*"],decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,
"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(wg(),D(0,"button",0,1),K("click",function(){return b._onButtonClick()}),D(2,"span",2),xg(3),E()(),F(4,"span",3)(5,"span",4));if(a&2){var c=N(1);C("id",b.buttonId)("disabled",b.disabled||null);dg("tabindex",b.disabled?-1:b.tabIndex)("aria-pressed",b.checked)("name",b._getButtonName())("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby);z(5);C("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)}},dependencies:[qA],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],
encapsulation:2,changeDetection:0});var LMa=function(){return{standalone:!0}},P9b=AWb("bhome-layout"),Q9b=Mp.EXPERIMENTAL_HOMEPAGE,hS=function(a,b,c,d,e,f,h){var l=this;this.hackyPrefs=a;this.refreshMonitor=b;this.pageTitle=c;this.analytics=d;this.hostElement=e;this.userFeedback=f;this.tasks=h;this.isCurrentUserHomepage=!0;P9b();this.VALID_WIDGETS_A=UXb;this.VALID_WIDGETS_W=VXb;this.VALID_WIDGETS_T=WXb;this.log=console.log.bind(console);this.showSettings=!1;this.ldapOverride=NMa();this.taskPrioritizationTasksCount$=(0,T.defer)(function(){return j9b(l.tasks)});
this.onAnyClick=function(q){q=q.target;for(var u=[];q.parentNode;){var x=void 0,y=q,G=[];for(x in y.dataset)"true"===y.dataset[x]&&G.push(x);x=G;u.unshift(q.tagName+(0<x.length?"["+x.join(",")+"]":""));q=q.parentNode}q=u.join(" > ");u=m(Object.entries(R9b));for(x=u.next();!x.done;x=u.next())if(y=m(x.value),x=y.next().value,y=y.next().value,q.includes(x)){Lp(l.analytics,Q9b,"click",y);break}}};
hS.prototype.ngOnInit=function(){this.pageTitle.setTitle("Home");this.hackyPrefs.init(this.ldapOverride);this.isCurrentUserHomepage=null==this.ldapOverride?!0:this.hackyPrefs.isCurrentUser(this.ldapOverride);this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0)};hS.prototype.ngOnDestroy=function(){this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var KMa=function(a){return Ze(function(b){if(1==b.nextAddress)return af(b,pYb(a.hackyPrefs),2);window.location.reload();ef(b)})};Ei.Object.defineProperties(hS.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});hS.\u0275fac=function(a){return new (a||hS)(A(sI),A(OH),A(tR),A(LH),A(Yd),A(wR),A(QR))};
hS.\u0275cmp=r({type:hS,selectors:[["homepage-wrapper"]],decls:3,vars:3,consts:[["href","https://fonts.googleapis.com/css2?family=Google+Material+Icons:wght@400;500;700","rel","stylesheet"],["class","flex-kids-y pos-fill bg-off-main overflow overflow-on-print-media",3,"settings-open","show-hidden-settings",4,"ngIf"],[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"grid-header","padded-left","padded-s-right","flex-kids-x","align-items-center"],[1,"flex-kids-x","justify-flex-end",
"align-items-center","margin-left-auto"],[1,"hidden-settings",3,"submit"],["type","text","placeholder","Show Dashboard for user",2,"width","180px",3,"ngModel","ngModelOptions","ngModelChange"],["type","submit",1,"display-none"],["mat-stroked-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","medium","margin-s-sides",2,"margin-top","1px",3,"click"],["mat-icon-button","","matTooltip","Configure home page","aria-label","Configure home page",1,"gmat-button",
"large",3,"click"],["svgIcon","settings","size","large"],[1,"settings","bg-muted","border-bottom"],[1,"padded"],[1,"hidden-settings"],[1,"mat-elevation-z0",3,"change"],["aria-label","Layout A","value","layout-a",3,"checked"],[1,"google-material-icons","rotate-icon"],["aria-label","Layout B","value","layout-b",3,"checked"],["mat-icon-button","","color","primary","title","Refresh","aria-label","Refresh",1,"gmat-button","large",3,"click"],["svgIcon","refresh","size","large"],[1,"mat-elevation-z0","bordered",
3,"change"],["aria-label","true",1,"padded-s-x",3,"value","checked"],["aria-label","false",1,"padded-s-x",3,"value","checked"],[3,"submit"],[1,"row"],["type","text",3,"ngModel","ngModelOptions","ngModelChange"],[1,"muted","type-xs"],["type","button","mat-button","","color","primary","class","xs margin-s-right",3,"click",4,"ngFor","ngForOf"],["type","submit","mat-flat-button","",1,"gmat-button"],[1,"subtle-link","muted","margin-x",3,"href"],["type","button","mat-button","","color","warn","title","This will reset all your dashboard settings to the default",
1,"gmat-button","margin-left",3,"click"],["cdkDropListGroup",""],["class","a",4,"ngIf"],[1,"w"],["class","carded bg-main margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","carded bg-main","style","margin-bottom: 24px;","cdkDropList","",3,"cdkDropListDropped",4,"ngIf"],["class","t",4,"ngIf"],["type","button","mat-button","","color","primary",1,"xs","margin-s-right",3,"click"],[1,"a"],[1,"carded","bg-main","margin-s-bottom"],["cdkDropList","",1,"carded","bg-main",2,"margin-bottom","24px",3,"cdkDropListDropped"],
["pinnedIssues","cdkDropList"],[1,"t"],["class","margin-bottom",4,"ngIf"],[1,"margin-bottom"],["class","needs-input-badge","needsInputBadge","",4,"ngIf"],["needsInputBadge","",1,"needs-input-badge"]],template:function(a,b){a&1&&(F(0,"link",0),O(1,MMa,71,42,"article",1),R(2,"async"));a&2&&(z(1),C("ngIf",S(2,1,b.hackyPrefs.prefs$)))},dependencies:[ax,bx,HQ,NA,OB,rR,qD,Mx,yh,Ex,Fx,Lx,Jx,nR,jR,lR,dR,mR,qR,sR,fS,gS,oR,eS,kQ,eQ,GQ,hx],styles:['[_nghost-%COMP%]{display:block}.grid[_ngcontent-%COMP%]{display:grid;-webkit-column-gap:24px;-moz-column-gap:24px;column-gap:24px;grid-template:-webkit-min-content 1fr/1fr 1fr;grid-template:min-content 1fr/1fr 1fr;grid-template-areas:"a a" "w t"}.grid[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{min-width:0}button.mat-icon-button.active[_ngcontent-%COMP%], button.mat-icon-button.active[_ngcontent-%COMP%]:not(.mat-primary):not([disabled]){color:#1a73e8;color:var(--primary)}.grid-header[_ngcontent-%COMP%]{position:absolute;right:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:1}.settings[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:8px}.settings[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline-block;min-width:16rem}.settings[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .settings[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px;width:300px}.a[_ngcontent-%COMP%]{grid-area:a}.w[_ngcontent-%COMP%]{grid-area:w}.t[_ngcontent-%COMP%]{grid-area:t}.layout-a[_ngcontent-%COMP%]{grid-template-areas:"a a" "w t"}.layout-b[_ngcontent-%COMP%]{grid-template-areas:"w a" "w t"}@media (max-width:1400px){.grid[_ngcontent-%COMP%], .layout-a[_ngcontent-%COMP%], .layout-b[_ngcontent-%COMP%]{grid-template-areas:"a a" "w w" "t t"}}mat-button-toggle-group[_ngcontent-%COMP%]{box-shadow:none}mat-button-toggle-group[_ngcontent-%COMP%]   .mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg)}[_nghost-%COMP%]     .mat-button-toggle-label-content{padding:0}.rotate-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);transform:rotate(90deg)}[mat-button].xs[_ngcontent-%COMP%]{height:16px;line-height:16px;padding:0 2px;font-weight:400;font-size:.6875rem;font-family:Roboto,Arial,sans-serif}[_nghost-%COMP%]     .carded{box-shadow:0 1px 2px 0 hsla(0,0%,50%,.3),0 2px 6px 2px hsla(0,0%,50%,.15);border:none}.dark-mode   [_nghost-%COMP%]     .carded{box-shadow:0 2px 3px 0 rgba(0,0,0,.3),0 6px 10px 4px rgba(0,0,0,.15)}[_nghost-%COMP%]     .carded .carded{border:1px solid;border-color:#dadce0;border-color:var(--divider);box-shadow:none}.hidden-settings[_ngcontent-%COMP%]{display:none}.show-hidden-settings[_ngcontent-%COMP%]   .hidden-settings[_ngcontent-%COMP%]{display:initial}[_nghost-%COMP%]     h2{font-weight:500}[_nghost-%COMP%]     .tp-needs-attention .bv2-view{position:relative;top:auto}[_nghost-%COMP%]     .tp-needs-attention .tp-content{padding:0}[_nghost-%COMP%]     .tp-needs-attention .tp-toolbar{display:none}[_nghost-%COMP%]     .tp-needs-attention .tp-table-title{padding-left:0}[_nghost-%COMP%]     .tp-needs-attention .tp-scrolling-pane{background:transparent}.needs-input-badge[_ngcontent-%COMP%]{background:#d93025;border-radius:50%;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:600;height:20px;line-height:20px;margin-left:-4px;overflow:hidden;text-align:center;width:20px}[_nghost-%COMP%]     .cdk-drop-list-dragging:not(table[cdkdroplistsortingdisabled]), [_nghost-%COMP%]     .cdk-drop-list-receiving:not(table[cdkdroplistsortingdisabled]){box-shadow:0 1px 3px 0 rgba(0,0,0,.3),0 4px 8px 3px rgba(0,0,0,.15);border:2px dashed;border-color:#1a73e8;border-color:var(--primary)}.settings[_ngcontent-%COMP%]{overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;max-height:100%;-webkit-transition:max-height .4s ease-in-out;transition:max-height .4s ease-in-out}.settings.collapsed[_ngcontent-%COMP%]{max-height:0;border-bottom-color:transparent}article.bg-off-main[_ngcontent-%COMP%]{-webkit-transition:background-color .2s ease-out;transition:background-color .2s ease-out}article.settings-open.bg-off-main[_ngcontent-%COMP%]{background-color:#e8eaed;background-color:var(--c200)}[_nghost-%COMP%]     my-projects-as-cards .edit-controls{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out;-webkit-transition-delay:.2s;transition-delay:.2s}[_nghost-%COMP%]     .settings-open my-projects-as-cards button.remove{display:inline-block}[_nghost-%COMP%]     .settings-open my-projects-as-cards .edit-controls{max-width:100%}\n/*# sourceMappingURL=homepage_wrapper.css.map */']});
var R9b={"BUTTON[projectAdd]":"project-add-btn","HOTLIST-AS-PROJECT-CARD":"project-hotlist","ISSUE-AS-PROJECT-CARD":"project-issue","SAVED-SEARCH-AS-PROJECT-CARD":"project-savedsearch","TP-TASK-SECTION[reccTasks]":"tasks-recommended","TP-TASK-SECTION[needsInput]":"tasks-needs-input"};var iS=function(){};iS.\u0275fac=function(a){return new (a||iS)};iS.\u0275mod=fd({type:iS});iS.\u0275inj=Qc({imports:[px,nN,gM,hN]});var jS=function(){};jS.\u0275fac=function(a){return new (a||jS)};jS.\u0275mod=fd({type:jS});jS.\u0275inj=Qc({imports:[px,rD,JP,gM,GP]});var kS=function(){this.roundCorners=this.showDividers=!1};kS.\u0275fac=function(a){return new (a||kS)};
kS.\u0275cmp=r({type:kS,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&pg("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(wg(),xg(0))},styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap}.show-dividers[_nghost-%COMP%]     button.gmat-button:not(:last-of-type), .show-dividers[_nghost-%COMP%]     :not(:last-child) button.gmat-button{border-right:1px solid #dadce0}.show-dividers[_nghost-%COMP%]     button.gmat-button:not(:first-of-type), .show-dividers[_nghost-%COMP%]     :not(:first-child) button.gmat-button{border-left:1px solid #dadce0}[_nghost-%COMP%]    >:not(:last-child){margin-right:0}[_nghost-%COMP%]    >:not(:first-child){margin-left:0}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:last-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:last-child) button.gmat-button{margin-right:-1px;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:first-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:first-child) button.gmat-button{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:hover{z-index:2}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:focus{z-index:3}\n/*# sourceMappingURL=button-group.css.map */"],changeDetection:0});var lS=function(a,b){this.constants=a;this.activeSession=b;this.STATUS_FULL_TEXT=vF;this.ISSUE_TYPES_PROTO=GZb;this.STATUSES_PROTO=FZb;this.SEVERITIES_VALUES=KZb;this.PRIORITES_VALUES=IZb;this.onBulkEdit=new vw;this.onQuickBulkEdit=new vw;this.onBulkEditIssueRelation=new vw;this.onBulkMarkIssueRead=new vw;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=Qp(this.activeSession,"enableBulkEditUi")};lS.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
lS.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};lS.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};lS.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};lS.\u0275fac=function(a){return new (a||lS)(A(sJ),A(tu))};
lS.\u0275cmp=r({type:lS,selectors:[["b-app-bar-bulk-edit-menus"]],inputs:{readStatePrompt:"readStatePrompt"},outputs:{onBulkEdit:"onBulkEdit",onQuickBulkEdit:"onQuickBulkEdit",onBulkEditIssueRelation:"onBulkEditIssueRelation",onBulkMarkIssueRead:"onBulkMarkIssueRead"},decls:89,vars:15,consts:[["mat-button","","class","gmat-button medium",3,"disabled","matMenuTriggerFor",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled","click"],["editMenu","matMenu"],["mat-menu-item","",3,"click"],
["mat-menu-item","",3,"matMenuTriggerFor"],["prioritySubmenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],["mat-menu-item","",3,"matTooltip","click",4,"ngFor","ngForOf"],["ArchiveSubmenu","matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["mat-button","",1,"gmat-button","medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item",
"",3,"matTooltip","click"]],template:function(a,b){a&1&&(D(0,"b-button-group"),O(1,OMa,4,2,"button",0),D(2,"button",1),K("click",function(){return b.bulkMarkIssueRead()}),P(3),E(),O(4,PMa,4,2,"button",0),O(5,QMa,4,2,"button",0),E(),D(6,"mat-menu",null,2)(8,"button",3),K("click",function(){return b.bulkEdit("ASSIGNEE")}),P(9,"Assignee"),E(),D(10,"button",3),K("click",function(){return b.bulkEdit("COMPONENT")}),P(11,"Component"),E(),D(12,"button",4),P(13,"Priority"),E(),D(14,"button",4),P(15,"Severity"),
E(),D(16,"button",4),P(17,"Status"),E(),D(18,"button",4),P(19,"Type"),E(),D(20,"button",3),K("click",function(){return b.bulkEdit("VERIFIER")}),P(21,"Verifier"),E(),D(22,"button",3),K("click",function(){return b.bulkEdit("REPORTER")}),P(23,"Reporter"),E(),D(24,"button",3),K("click",function(){return b.bulkEdit("CHANGELIST")}),P(25,"Changelist"),E(),D(26,"button",3),K("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),P(27,"Custom Fields"),E(),D(28,"button",4),P(29," Archival state "),E(),D(30,
"button",3),K("click",function(){return b.bulkEdit("FOUND_IN")}),P(31,"Found In"),E(),D(32,"button",3),K("click",function(){return b.bulkEdit("VERIFIED_IN")}),P(33,"Verified In"),E(),D(34,"button",3),K("click",function(){return b.bulkEdit("TARGETED_TO")}),P(35,"Targeted To"),E(),D(36,"button",4),P(37,"In Prod"),E(),F(38,"mat-divider"),D(39,"button",3),K("click",function(){return b.bulkEdit("COMMENT")}),P(40,"Add Comment"),E()(),D(41,"mat-menu",null,5),O(43,RMa,2,1,"button",6),E(),D(44,"mat-menu",
null,7),O(46,SMa,2,1,"button",6),E(),D(47,"mat-menu",null,8),O(49,TMa,2,1,"button",6),E(),D(50,"mat-menu",null,9),O(52,UMa,2,2,"button",10),E(),D(53,"mat-menu",null,11)(55,"button",3),K("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),P(56,"Archive"),E(),D(57,"button",3),K("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!1)}),P(58,"Unarchive"),E()(),D(59,"mat-menu",null,12)(61,"button",3),K("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),P(62,"In Prod"),E(),D(63,"button",
3),K("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),P(64,"Not in Prod"),E()(),D(65,"mat-menu",null,13)(67,"button",3),K("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),P(68,"Mark as Blocked By"),E(),D(69,"button",3),K("click",function(){return b.bulkEditIssueRelation("BLOCKING",!0)}),P(70,"Mark as Blocking"),E(),D(71,"button",3),K("click",function(){return b.bulkEditIssueRelation("PARENT",!0)}),P(72,"Add Parent"),E(),D(73,"button",3),K("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),
P(74,"Duplicate"),E(),D(75,"button",3),K("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),P(76,"Unmark as Blocked By"),E(),D(77,"button",3),K("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),P(78,"Unmark as Blocking"),E(),D(79,"button",3),K("click",function(){return b.bulkEditIssueRelation("PARENT",!1)}),P(80,"Remove Parent"),E()(),D(81,"mat-menu",null,14)(83,"button",3),K("click",function(){return b.quickBulkEdit("CC",!0)}),P(84,"CC me"),E(),D(85,"button",3),
K("click",function(){return b.quickBulkEdit("CC",!1)}),P(86,"Un-CC me"),E(),D(87,"button",3),K("click",function(){return b.bulkEdit("CC")}),P(88,"Edit CC"),E()());if(a&2){var c=N(42),d=N(45),e=N(48),f=N(51),h=N(54),l=N(60);z(1);C("ngIf",b.enableBulkEditUi);z(1);C("disabled",b.isAnonymous);z(1);Q(" ",b.readStatePrompt," ");z(1);C("ngIf",b.enableBulkEditUi);z(1);C("ngIf",b.enableBulkEditUi);z(7);C("matMenuTriggerFor",c);z(2);C("matMenuTriggerFor",d);z(2);C("matMenuTriggerFor",e);z(2);C("matMenuTriggerFor",
f);z(10);C("matMenuTriggerFor",h);z(8);C("matMenuTriggerFor",l);z(7);C("ngForOf",b.PRIORITES_VALUES);z(3);C("ngForOf",b.SEVERITIES_VALUES);z(3);C("ngForOf",b.STATUSES_PROTO);z(3);C("ngForOf",b.ISSUE_TYPES_PROTO)}},dependencies:[iD,gD,hD,ax,bx,nO,kS,NA,WQ,qD],encapsulation:2,changeDetection:0});var mS=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new vw;this.flagAsSpamClicked=new vw;this.isAnonymous=this.activeSession.isAnonymous()};mS.\u0275fac=function(a){return new (a||mS)(A(tu))};
mS.\u0275cmp=r({type:mS,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[[4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["moreMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&
O(0,XMa,9,4,"ng-container",0);a&2&&C("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[iD,gD,hD,bx,nO,NA],encapsulation:2,changeDetection:0});var nS=function(){};nS.\u0275fac=function(a){return new (a||nS)};nS.\u0275mod=fd({type:nS});nS.\u0275inj=Qc({imports:[px]});var oS=function(){};oS.\u0275fac=function(a){return new (a||oS)};oS.\u0275mod=fd({type:oS});oS.\u0275inj=Qc({imports:[jD,px,KP,nS,BD,XQ,lE]});var pS=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new T.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var f=d.watchForRestoredConnection$.subscribe(e),h=new T.ReplaySubject(1);d.watchForRestoredConnection$.pipe(Rf(h)).subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){h.next();f.unsubscribe()}});this.watchForRestoredConnection$=(0,T.fromEvent)(window,
"focus").pipe(Qf(function(){return d.connectionChecker.ok$}),sf(function(e){return e}),Ef(),B(function(){}),Mf())};pS.prototype.intercept=function(a,b){return Qp(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?S9b(this,b,a):b.handle(a)};
var S9b=function(a,b,c){return new T.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){T9b(a,b,c,h).pipe(Rf(f)).subscribe(d)}}),f=new T.ReplaySubject(1);return function(){f.next();e.unsubscribe()}})},T9b=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,T.throwError)(d):a.connectionChecker.ok$.pipe(Qf(function(e){return e?(0,T.throwError)(d):a.notifyUserAndWaitForGoodConnection$.pipe(Qf(function(){return b.handle(c)}))}))};
pS.\u0275fac=function(a){return new (a||pS)(n(tu),n(qS),n(rS))};pS.\u0275prov=Pc({token:pS,factory:pS.\u0275fac,providedIn:"root"});var rS=function(){this.showRefreshSso$=new T.BehaviorSubject(!1)};rS.\u0275fac=function(a){return new (a||rS)};rS.\u0275prov=Pc({token:rS,factory:rS.\u0275fac,providedIn:"root"});
var qS=function(a){var b=this;this.ngZone=a;this.ok$=new T.Observable(function(c){var d=Pi("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};qS.\u0275fac=function(a){return new (a||qS)(n(Yf))};qS.\u0275prov=Pc({token:qS,factory:qS.\u0275fac,providedIn:"root"});var U9b={provide:HB,useClass:pS,multi:!0};var V9b=function(a,b){return[a,b]},W9b=[[["b-callout-body"]],[["b-callout-actions"]]],sS=function(){this.messageType="info";this.format="default"};sS.prototype.getIconName=function(){if(null!=this.iconOverride)return this.iconOverride;switch(this.messageType){case "caution":return"warning";case "success":return"success";case "error":return"alert";default:return"info"}};sS.\u0275fac=function(a){return new (a||sS)};
sS.\u0275cmp=r({type:sS,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&qg(Hg(2,V9b,b.messageType,b.format).join(" "))},inputs:{messageType:"messageType",format:"format",iconOverride:"iconOverride"},ngContentSelectors:["b-callout-body","b-callout-actions"],decls:6,vars:1,consts:[[1,"callout"],[3,"svgIcon"],["role","alert",1,"content"],[1,"actions"]],template:function(a,b){a&1&&(wg(W9b),D(0,"div",0),F(1,"mat-icon",1),D(2,"div",2),xg(3),E(),D(4,"div",3),xg(5,1),E()());a&2&&(z(1),
C("svgIcon",b.getIconName()))},dependencies:[OB],styles:["[_nghost-%COMP%]{display:block;border-radius:8px;color:#3c4043;color:var(--c800);padding:4px}[_nghost-%COMP%]     .mat-button{min-height:28px;line-height:28px;padding:0px 8px}.app[_nghost-%COMP%]{border-radius:0;padding-left:24px}.app[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:10px}.content[_ngcontent-%COMP%]{flex-grow:1}mat-icon[_ngcontent-%COMP%]{margin-left:8px;margin-right:4px}.callout[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:36px}.info[_nghost-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50)}.info[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.info[_nghost-%COMP%]    .mat-button, .info[_nghost-%COMP%]    .mat-stroked-button, .info[_nghost-%COMP%]    .mat-icon-button{color:#1a73e8;color:var(--link)}.info[_nghost-%COMP%]    .mat-flat-button, .info[_nghost-%COMP%]    .mat-raised-button{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.archived[_nghost-%COMP%], .caution[_nghost-%COMP%]{background-color:#feefc3;background-color:var(--warn-c50);border-color:#fbbc04;border-color:var(--warn-gfx-muted)}.archived[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%], .caution[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx)}.archived[_nghost-%COMP%]    .mat-button, .archived[_nghost-%COMP%]    .mat-stroked-button, .archived[_nghost-%COMP%]    .mat-icon-button, .caution[_nghost-%COMP%]    .mat-button, .caution[_nghost-%COMP%]    .mat-stroked-button, .caution[_nghost-%COMP%]    .mat-icon-button{color:rgba(0,0,0,.7);color:var(--text-warn)}.archived[_nghost-%COMP%]    .mat-flat-button, .archived[_nghost-%COMP%]    .mat-raised-button, .caution[_nghost-%COMP%]    .mat-flat-button, .caution[_nghost-%COMP%]    .mat-raised-button{background-color:#e37400;background-color:var(--warn-gfx);color:#fff;color:var(--text-inverse)}.error[_nghost-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);border-color:#f6aea9;border-color:var(--bad-gfx-muted)}.error[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-gfx)}.error[_nghost-%COMP%]    .mat-button, .error[_nghost-%COMP%]    .mat-stroked-button, .error[_nghost-%COMP%]    .mat-icon-button{color:#c5221f;color:var(--bad-link)}.error[_nghost-%COMP%]    .mat-flat-button, .error[_nghost-%COMP%]    .mat-raised-button{background-color:#a50e0e;background-color:var(--bad-bg-inverse);color:#fff;color:var(--text-inverse)}.success[_nghost-%COMP%]{background-color:#eafaef;background-color:var(--good-bg-pale);border-color:#1e8e3e;border-color:var(--good-gfx)}.success[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1e8e3e;color:var(--good-gfx)}.success[_nghost-%COMP%]    .mat-button, .success[_nghost-%COMP%]    .mat-stroked-button, .success[_nghost-%COMP%]    .mat-icon-button{color:#1e8e3e;color:var(--good-link)}.success[_nghost-%COMP%]    .mat-flat-button, .success[_nghost-%COMP%]    .mat-raised-button{background-color:#34a853;background-color:var(--good);color:#fff;color:var(--text-inverse)}\n/*# sourceMappingURL=callout.css.map */"]});
var tS=function(){};tS.\u0275fac=function(a){return new (a||tS)};tS.\u0275dir=r({type:tS,selectors:[["b-callout-body"],["b-callout-actions"]]});var uS=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};uS.\u0275fac=function(a){return new (a||uS)(A(tu),A(rS))};
uS.\u0275cmp=r({type:uS,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["format","app",3,"messageType",4,"ngIf"],["format","app",3,"messageType"],[4,"ngIf","ngIfElse"],["signedInMessage",""],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(O(0,cNa,7,4,"b-callout",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.showRefreshSsoMessage$))},dependencies:[bx,sS,tS,NA,hx],encapsulation:2,changeDetection:0});var vS=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;Qp(this.session,"weAreHiring")&&CJ(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};vS.\u0275fac=function(a){return new (a||vS)(A(tu),A(BJ),A(HH,2))};
vS.\u0275cmp=r({type:vS,selectors:[["b-hiring-banner"]],features:[Dg([HH])],decls:1,vars:1,consts:[["class","hiring-banner","title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",4,"ngIf"],["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&O(0,dNa,2,0,"a",0);a&2&&C("ngIf",b.showHiringBanner)},dependencies:[bx],styles:[".hiring-banner[_ngcontent-%COMP%]{background:#a02160;color:#fff!important;display:block;font-size:.6875rem;left:50px;overflow:hidden;padding-bottom:3px;position:absolute;text-align:center;top:-76px;-webkit-transform:rotate(-45deg) translate(-100%);transform:rotate(-45deg) translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;width:10em;z-index:1000}"],
changeDetection:0});var wS=function(){};wS.\u0275fac=function(a){return new (a||wS)};wS.\u0275mod=fd({type:wS});wS.\u0275inj=Qc({imports:[px]});var xS=function(a){this.hotkeys=a};xS.prototype.ngOnInit=function(){this.hotkeys.pause()};xS.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};xS.\u0275fac=function(a){return new (a||xS)(A(vO))};
xS.\u0275cmp=r({type:xS,selectors:[["b-hotkeys-dialog"]],decls:8,vars:1,consts:[["mat-dialog-title",""],[4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",1,"gmat-button","medium","primary"],["colspan","2"],[1,"bv2-hotkeys-header"],[1,"bv2-hotkeys-key"],[1,"bv2-hotkeys-value"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Keyboard shortcuts"),E(),D(2,"mat-dialog-content")(3,"table"),O(4,fNa,6,2,"thead",1),E()(),D(5,"mat-dialog-actions")(6,"button",2),P(7,"Close"),E()());
a&2&&(z(4),C("ngForOf",r5b(b.hotkeys)))},dependencies:[ax,NA,cB,dB,eB,fB],encapsulation:2});var yS=function(){};yS.\u0275fac=function(a){return new (a||yS)};yS.\u0275mod=fd({type:yS});yS.\u0275inj=Qc({imports:[px,BD,gB]});var hNa=function(){this.assignee=this.reporter=this.team=null;this.assigneeEmail=void 0;this.verifier=null;this.verifierEmail=void 0;this.duplicateOfIssueId=this.inProd=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=this.lastViewedTime=this.verifiedTime=this.resolvedTime=this.blockedByIssueId=this.blockingIssueId=this.hotlistId=this.postmortem=this.changelist=this.collaborator=this.cc=null;this.customFieldMap={};this.customFieldNameToIdMap={};this.customFieldValueMap={};this.hotlists=
[];this.lastModifier=this.ccCount=this.collaboratorCount=this.duplicateCount=this.voteCount=null;this.isClosed=this.isRead=this.selected=!1;this.sloSnoozeUntil=this.sloStatus=this.position=this.effort=null;this.signals=[]};var zS=function(a,b,c){this.internalIssues=a;this.params=b;this.numTotalResults=c;this.numPages=Math.ceil(c/b.resultsPerPage);this.startIndex=(b.page-1)*b.resultsPerPage+1;this.endIndex=Math.min(this.startIndex+b.resultsPerPage-1,c);a=b.sortColumns;var d;!(d=0===a.length)&&(d=1===a.length)&&(a=a[0],d="ISSUE_ID"===a.fieldId.type&&"DESCENDING"===a.direction?!0:"CREATED_TIME"===a.fieldId.type?!0:"MODIFIED_TIME"===a.fieldId.type?!0:"POSITION"===a.fieldId.type?!0:!1);this.isPreSort=d;this.totalText=this.getTotalText(c,
b.page,b.resultsPerPage,this.isPreSort);this.numResults=c;this.changed$=new T.BehaviorSubject(this)},X9b=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=jNa(e,b.componentMap[Ca(e.snapshot).componentId||0]);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new zS(d,a,b.numTotalResults)},Y9b=function(a,b){var c=b.issuesWithSignals.map(function(d){var e,f=jNa(d.issue,null!=(e=b.components[Ca(d.issue.snapshot).componentId||0])?e:null);f.signals=d.signals;return f});return new zS(c,
a,b.numTotalResults)};zS.prototype.hasPreviousPage=function(){return 1<this.params.page};zS.prototype.hasNextPage=function(){return this.params.page<this.numPages};var AS=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};zS.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var Z9b=function(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=AS(a,c.issueId);-1!==e&&(e-=a.startIndex,iNa(a.issues[e],c,d),a.issues[e].selected=!1)}a.changed$.next(a)},$9b=function(a,b,c,d){b=AS(a,b);-1!==b&&(b-=a.startIndex,void 0!==d&&(a.issues[b].lastViewedTime=null!=d?d:null),void 0!==c&&(a.issues[b].isRead=c),void 0===c&&void 0===d&&(a.issues[b].isRead=!!a.issues[b].lastViewedTime&&a.issues[b].lastViewedTime>=a.issues[b].majorModifiedTime));
a.changed$.next(a)};zS.prototype.clone=function(){var a=new zS(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};zS.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};Ei.Object.defineProperties(zS.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var a$b=function(a,b,c,d,e,f){var h=this;this.issueApi=a;this.hotlistApi=b;this.needsAttentionApi=c;this.paths=d;this.params=e;this.analytics=f;this.resultPromise=this.searchResultsPage=null;this.trackSort=cp(function(l,q){var u,x;return Ze(function(y){if(1==y.nextAddress)return af(y,l,2);u=y.yieldResult;x=q.map(function(G){return G.fieldId.toApiUrlParam()}).sort(fn).join(";");250<u.numResults?Lp(h.analytics,"large-global-search","sort-columns",x):Lp(h.analytics,"small-global-search","sort-columns",
x);ef(y)})})};
a$b.prototype.fetchIssues=function(){var a=this;if(1>this.params.page)return Promise.reject("Invalid page requested.");if(!this.resultPromise)if(this.params.fromNeedsAttention)this.resultPromise=this.needsAttentionApi.listIssues(this.params.sortColumns[0],this.params.trackerIds,this.params.selectedSignals);else if(this.params.hotlistId)this.resultPromise=this.hotlistApi.getPagedHotlistContent(this.params.hotlistId,this.params.page,this.params.resultsPerPage,this.params.sortColumns,this.params.trackerIds);else{var b=
{p:this.params.page,count:this.params.resultsPerPage,trackerIds:this.params.trackerIds},c=this.paths.toApiSortParamValue(this.params.sortColumns);c&&(b.s=c);var d;this.resultPromise=this.issueApi.listIssues(null!=(d=this.params.query)?d:"",b)}b=this.resultPromise.then(function(e){a.searchResultsPage||(a.searchResultsPage=a.params.fromNeedsAttention?Y9b(a.params,e):X9b(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)});this.trackSort(b,this.params.sortColumns);return b};
var b$b=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var BS=function(a,b,c,d,e,f){this.$window=a;this.issueApi=b;this.hotlistApi=c;this.needsAttentionApi=d;this.paths=e;this.analytics=f;this.previousResultsFetcher_=this.nextResultsFetcher_=this.currentResultsFetcher_=null;this.focusedIssueIndex_=-1},CS=function(a,b){var c=An();c$b(b.page)?(d$b(a,b),a.currentResultsFetcher_.fetchIssues().then(function(d){d.getIssueIdFromIndex&&(d.numPages&&b.page>d.numPages?c.reject(d.numPages):c.resolve(d))},function(d){c.reject(d)})):c.reject(1);return c.promise},
f$b=function(a){var b=An(),c=null;a.currentResultsFetcher_?c=a.currentResultsFetcher_.params:c=e$b(a);c?(d$b(a,c),a.currentResultsFetcher_.fetchIssues().then(function(d){d.getIssueIdFromIndex?b.resolve(d):b.reject(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},DS=function(a){a.currentResultsFetcher_=null;a.nextResultsFetcher_=null;a.previousResultsFetcher_=null;a.focusedIssueIndex_=-1},g$b=function(a,b){var c=An();a.focusedIssueIndex_=-1;if(!a.currentResultsFetcher_)return c.reject("No search results available."),
c.promise;var d=Math.floor((b-1)/a.currentResultsFetcher_.params.resultsPerPage)+1;if(1<Math.abs(d-a.currentResultsFetcher_.params.page))return c.reject("Requested index is out of range."),c.promise;var e=nj(a.currentResultsFetcher_.params);e.page=d;d$b(a,e);a.currentResultsFetcher_.fetchIssues().then(function(f){f.getIssueIdFromIndex&&((f=f.getIssueIdFromIndex(b))?(a.focusedIssueIndex_=b,c.resolve(f)):c.reject("No issue available at index "+b))},function(f){c.reject(f)});return c.promise},h$b=function(a){a.currentResultsFetcher_?
a.currentResultsFetcher_.fetchIssues().then(function(b){b.getIssueIdFromIndex&&(a.focusedIssueIndex_=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){$i("unexpected error fetching:",b)}):a.focusedIssueIndex_=-1},e$b=function(a){if(a=a.$window.sessionStorage.getItem("buganizer.searchParams")){a=JSON.parse(a);if(!a.query||!a.page||!a.resultsPerPage)return null;a.sortColumns&&(a.sortColumns=a.sortColumns.map(function(b){return new om(new km(b.fieldId),b.direction)}));return a}return null},
i$b=function(a,b,c){b=nj(b);b.page=c;return new a$b(a.issueApi,a.hotlistApi,a.needsAttentionApi,a.paths,b,a.analytics)},j$b=function(a,b){a.currentResultsFetcher_||(a.currentResultsFetcher_=i$b(a,b,b.page),a.currentResultsFetcher_.fetchIssues().catch(function(c){$i("unexpected error fetching:",c)}));!a.previousResultsFetcher_&&1<b.page&&(a.previousResultsFetcher_=i$b(a,b,b.page-1),a.previousResultsFetcher_.fetchIssues().catch(function(c){$i("unexpected error fetching:",c)}));!a.nextResultsFetcher_&&
b$b(a.currentResultsFetcher_)&&(a.nextResultsFetcher_=i$b(a,b,b.page+1),a.nextResultsFetcher_.fetchIssues().catch(function(c){$i("unexpected error fetching:",c)}))},d$b=function(a,b){b.page=sj(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("od");a.previousResultsFetcher_&&b.page==a.previousResultsFetcher_.params.page?(a.nextResultsFetcher_=a.currentResultsFetcher_,a.currentResultsFetcher_=a.previousResultsFetcher_,a.previousResultsFetcher_=null):a.nextResultsFetcher_&&b.page==a.nextResultsFetcher_.params.page&&
(a.previousResultsFetcher_=a.currentResultsFetcher_,a.currentResultsFetcher_=a.nextResultsFetcher_,a.nextResultsFetcher_=null);if(a.currentResultsFetcher_){var c=a.currentResultsFetcher_.params;b.page===c.page&&b.query===c.query&&mj(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&mj(b.trackerIds,c.trackerIds)?a.currentResultsFetcher_.params.returnUrl=b.returnUrl:DS(a)}j$b(a,b);b=JSON.stringify(a.currentResultsFetcher_.params);a.$window.sessionStorage.setItem("buganizer.searchParams",
b)},c$b=function(a){var b=sj(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};BS.\u0275fac=function(a){return new (a||BS)(n(SE),n(dF),n(oH),n(hR),n(cH),n(LH))};BS.\u0275prov=Pc({token:BS,factory:BS.\u0275fac,providedIn:"root"});var ES=function(a,b,c,d){Z.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.issuePermissionService=d;this.handlers$=this.paramsService.routeParams$.pipe(Df(mj),Qf(function(f){return e.onRouteParamsChanged(f)}));this.init=function(){e.subscriptions.add(e.handlers$.subscribe(function(){}))};this.initOnce=cp(this.init)};X(ES,Z);ES.\u0275dir=Z.\u0275dir;ES.prototype.onRouteParamsChanged=function(a){return a.issueId?k$b(this,a.issueId):(0,T.of)()};
var k$b=function(a,b){return(0,T.combineLatest)([UH(a.issueFetchResponseFridge,b),a.issuePermissionService.accessLevel$]).pipe(Pf([]),B(function(c){c=m(c);var d=c.next().value;c=c.next().value;var e;if(d=null==(e=null==d?void 0:d.issue)?void 0:e.snapshot[0].title){e=d+" ["+b+"]";if(c){a:switch(c){case "EXTERNAL_PARTNER":c="Visible to Partners";break a;case "EXTERNAL_PUBLIC":c="Visible to Public";break a;default:c=""}c&&(e=e+" - "+c)}a.pageTitle.setTitle(e)}else a.pageTitle.setTitle("View issue")}))};
ES.\u0275fac=function(a){return new (a||ES)(n(wI),n(TH),n(tR),n(TJ))};ES.\u0275prov=Pc({token:ES,factory:ES.\u0275fac,providedIn:"root"});var FS=function(a){var b=this;this.parentElement=a;this.lastTimestamp=this.state=this.y=this.x=0;this.animate=function(c){3!==b.state&&requestAnimationFrame(b.animate);if(!(30>c-b.lastTimestamp)){b.lastTimestamp=c;if(2===b.state){if(l$b(b),-50>b.x||b.x>document.documentElement.clientWidth+50||-50>b.y||b.y>document.documentElement.clientHeight+50)b.element.remove(),b.state=3}else{b.moveFlipCounter--;0>=b.moveFlipCounter&&(0===b.state?b.state=1:1===b.state&&(b.state=0),b.moveFlipCounter=50+100*Math.random(),
m$b(b));if(1===b.state)return;b.turnCounter--;0>=b.turnCounter&&(b.direction=360*Math.random(),b.turnCounter=40*Math.random());0>b.x&&90<b.direction&&270>b.direction&&(b.direction=(180-b.direction)%360);b.x>document.documentElement.clientWidth&&(90>b.direction||270<b.direction)&&(b.direction=(180-b.direction)%360);0>b.y&&180<b.direction&&(b.direction=360-b.direction);b.y>document.documentElement.clientHeight&&180>b.direction&&(b.direction=360-b.direction);l$b(b)}b.transform()}};this.speed=2+3*Math.random();
this.size=14+16*Math.random();this.turnCounter=40*Math.random();this.moveFlipCounter=50+100*Math.random();this.direction=360*Math.random();this.flip=1;this.element=this.createElement();m$b(this);n$b(this)};FS.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
FS.prototype.stop=function(){this.state=2;m$b(this);this.direction=180*Math.atan2(this.y-document.documentElement.clientHeight/2,this.x-document.documentElement.clientWidth/2)/Math.PI+90*(Math.random()-.5);this.speed=15+10*Math.random()};
var n$b=function(a){var b=Math.floor(4*Math.random());switch(b){case 0:a.x=document.documentElement.clientWidth*Math.random();a.y=-50;break;case 1:a.x=document.documentElement.clientWidth*Math.random();a.y=document.documentElement.clientHeight+50;break;case 2:a.x=document.documentElement.clientWidth+50;a.y=document.documentElement.clientHeight*Math.random();break;case 3:a.x=-50;a.y=document.documentElement.clientHeight*Math.random();break;default:console.warn("Illegal mode: "+b)}};
FS.prototype.createElement=function(){var a=document.createElement("img");a.style.height=this.size+"px";a.style.width=this.size+"px";a.style.backgroundColor="transparent";a.style.zIndex="9999";a.style.position="fixed";a.style.top="0px";a.style.left="0px";return a};
var m$b=function(a){a.element.src=1===a.state?"https://www.gstatic.com/buganizer/img/v0/logo.svg":"https://www.gstatic.com/buganizer/img/v0/bug-move.svg"},l$b=function(a){a.flip*=-1;var b=a.direction*Math.PI/180;a.x+=Math.cos(b)*a.speed;a.y+=Math.sin(b)*a.speed};FS.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var o$b=function(a){this.element=a;this.bugs=[]};o$b.prototype.start=function(){for(var a=this,b=0;3>b;b++)p$b(this);this.intervalSubscription=(0,T.interval)(1E4).subscribe(function(){p$b(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};o$b.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=m(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var p$b=function(a){var b=new FS(a.element);b.start();a.bugs.push(b)};var GS=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new T.ReplaySubject(1);this.active$=new T.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new o$b(d.nativeElement);this.active$.pipe(Rf(this.destroyed$),Df()).subscribe(function(f){f?q$b(e):r$b(e)})};GS.prototype.ngOnInit=function(){"visible"===document.visibilityState&&s$b(this)};GS.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var s$b=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};GS.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),s$b(this))};GS.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var r$b=function(a){a.snackBar.open("Bug screensaver started because of inactivity.","Disable",{duration:5E3}).onAction().subscribe(function(){var b=Object.assign({},a.userPreferencesManager.bugScreensaverSubject$.value,{enableBugScreensaver:!1});a.userPreferencesManager.save({bugScreensaverPreferences:b}).subscribe()});a.ngZone.runOutsideAngular(function(){a.bugAnimation.start()})},q$b=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
GS.\u0275fac=function(a){return new (a||GS)(A(Yf),A(CI),A(jG),A(Yd))};
GS.\u0275cmp=r({type:GS,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&K("click",function(){return b.onUserEvent()},!1,ae)("keydown",function(){return b.onUserEvent()},!1,ae)("mousemove",function(){return b.onUserEvent()},!1,ae)("wheel",function(){return b.onUserEvent()},!1,ae)("touchstart",function(){return b.onUserEvent()},!1,ae)("focus",function(){return b.onUserEvent()},!1,ae)("visibilitychange",function(){return b.onVisibilityChange()},!1,oea)},decls:0,vars:0,template:function(){},
encapsulation:2});var HS=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(B(function(d){return(d.enableBugScreensaver||!1)&&c}))};HS.\u0275fac=function(a){return new (a||HS)(A(CI),A(tu))};HS.\u0275cmp=r({type:HS,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(O(0,kNa,1,0,"bug-screensaver",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.isEnabled$))},dependencies:[bx,GS,hx],encapsulation:2});var IS=function(){};IS.\u0275fac=function(a){return new (a||IS)};IS.\u0275mod=fd({type:IS});IS.\u0275inj=Qc({imports:[px,rD]});var JS=function(){};JS.\u0275fac=function(a){return new (a||JS)};JS.\u0275mod=fd({type:JS});JS.\u0275inj=Qc({imports:[px,iG,yP,IS]});var KS=function(a){this.currentTracker=a;this.trackerName$=this.currentTracker.tracker$.pipe(B(function(b){var c;return null!=(c=null==b?void 0:b.name)?c:""}));this.trackerLogo$=this.currentTracker.tracker$.pipe(B(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.logoUrl)?d:""}))};KS.\u0275fac=function(a){return new (a||KS)(A(qN))};
KS.\u0275cmp=r({type:KS,selectors:[["b-footer"]],decls:2,vars:3,consts:[[4,"ngIf"],["alt","",1,"logo",3,"src"],[1,"title"],[1,"padded-s-sides"],["href","https://policies.google.com/privacy","target","_blank"],["href","https://policies.google.com/terms","target","_blank"]],template:function(a,b){a&1&&(O(0,lNa,15,6,"footer",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.currentTracker.inTracker$))},dependencies:[bx,hx],styles:["footer[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px 16px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.logo[_ngcontent-%COMP%]{width:24px;height:24px;padding:3px;margin-right:12px}a[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}a[_ngcontent-%COMP%]:hover{text-decoration:underline}.title[_ngcontent-%COMP%]{margin-right:56px}"]});var LS=function(){};LS.\u0275fac=function(a){return new (a||LS)};LS.\u0275mod=fd({type:LS});LS.\u0275inj=Qc({imports:[px]});var MS=function(){};MS.\u0275fac=function(a){return new (a||MS)};MS.\u0275cmp=r({type:MS,selectors:[["b-ng2-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&F(0,"router-outlet")},dependencies:[MG],encapsulation:2});var NS=function(){};NS.\u0275fac=function(a){return new (a||NS)};NS.\u0275cmp=r({type:NS,selectors:[["b-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&F(0,"b-ng2-router-outlet")},dependencies:[MS],encapsulation:2});var OS=function(){};OS.\u0275fac=function(a){return new (a||OS)};OS.\u0275mod=fd({type:OS});OS.\u0275inj=Qc({imports:[px,aH]});var PS=function(a,b,c){Z.call(this);var d=this;this.paramsService=b;this.issueFetchResponseFridge=c;this.componentIdOverride$=new T.BehaviorSubject(null);this.hotlistIdOverride$=new T.BehaviorSubject(null);this.routeIssueId$=xI(this.paramsService,"issueId").pipe(Df());this.routeComponentId$=xI(this.paramsService,"componentId").pipe(Df());this.routeHotlistId$=xI(this.paramsService,"hotlistId").pipe(Df());this.issueId$=this.routeIssueId$.pipe(B(nNa),Nf({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=
this.issueId$.pipe(Qf(function(e){return e?UH(d.issueFetchResponseFridge,e):(0,T.of)(void 0)}),B(function(e){var f;return null==e?void 0:null==(f=e.issue)?void 0:f.snapshot[0].componentId}));this.componentId$=(0,T.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(B(function(e){var f=m(e);e=f.next().value;var h=f.next().value;f=f.next().value;return e||h||f}),B(mNa),Df(),Nf({refCount:!0,bufferSize:1}));this.hotlistId$=(0,T.combineLatest)([this.hotlistIdOverride$,
this.routeHotlistId$]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;return e||f}),B(mNa),Df(),Nf({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){d.componentIdOverride$.next(null);d.hotlistIdOverride$.next(null)}))};X(PS,Z);PS.\u0275dir=Z.\u0275dir;PS.prototype.getComponentId=function(){return this.componentId$};PS.prototype.getIssueId=function(){return this.issueId$};PS.prototype.getHotlistId=function(){return this.hotlistId$};
PS.\u0275fac=function(a){return new (a||PS)(n(KH),n(wI),n(TH))};PS.\u0275prov=Pc({token:PS,factory:PS.\u0275fac,providedIn:"root"});var QS=function(a,b,c,d){var e=this;this.paths=a;this.context=b;this.currentTracker=c;this.componentFridge=d;this.createIssuePath=this.paths.createIssue();this.component$=this.context.getComponentId().pipe(Qf(function(f){return f?e.componentFridge.watch(f):(0,T.of)(void 0)}),B(function(f){return f&&!f.archived?f:void 0}));this.visibleOptions$=(0,T.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Cf(0),B(function(f){var h=m(f);
f=h.next().value;var l=h.next().value,q=h.next().value;h=h.next().value;return t$b(e,null!=f?f:void 0,l,q,h)}));this.buttonLabel$=this.visibleOptions$.pipe(B(function(f){return f.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(B(function(f){var h;return"OPEN_SOURCE"===(null==f?void 0:null==(h=f.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"}))};QS.prototype.ngOnInit=function(){};QS.prototype.trackClick=function(a){Wo("create","click",a)};
var t$b=function(a,b,c,d,e){var f=new Map;b=b&&c&&!zn(b.trackerId)&&b.trackerId!==c.trackerId;c=(null==c?0:c.componentId)?String(c.componentId):void 0;if(null!==e){var h={};f.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||void 0===c||(e={},f.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||null===d||(e={},f.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},f.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},f.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},f.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},f.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(p(f.entries())).map(function(l){var q=m(l);l=q.next().value;q=q.next().value;return{name:Qwa(l),path:q}})};QS.\u0275fac=function(a){return new (a||QS)(A(cH),A(PS),A(qN),A(OF))};
QS.\u0275cmp=r({type:QS,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"label","icon","href","segments","clickMain","clickSegment"]],template:function(a,b){a&1&&(O(0,qNa,3,3,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.visibleOptions$))},dependencies:[bx,uM,hx],encapsulation:2,changeDetection:0});var Fq=function(a){Y.call(this,a)};X(Fq,Y);g=Fq.prototype;g.getHotlistId=function(){return tNa(this,1)};g.setHotlistId=function(a){Zj(this,1,Eq,a)};g.getName=function(){return lk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return gm(this,2)};g.getNameOrUndefined=function(){return Uu(this,2)};g.getDescription=function(){return lk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return gm(this,3)};var Eq=[1,4];var RS=function(a){Y.call(this,a,-1,u$b)};X(RS,Y);g=RS.prototype;g.getBookmarkGroupId=function(){return kk(this,1)};g.setBookmarkGroupId=function(a){k(this,1,a)};g.getName=function(){return lk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return gm(this,2)};g.getNameOrUndefined=function(){return Uu(this,2)};g.getDescription=function(){return lk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return gm(this,3)};
g.getArchived=function(){return xl(this,5)};g.setArchived=function(a){k(this,5,a)};g.getItemList=function(){return fj(this,Fq,6)};g.setItemList=function(a){Sb(this,6,a)};g.addItem=function(a,b){return Jp(this,6,Fq,a,b)};g.getAdminUsersList=function(){return fj(this,Mj,9)};g.setAdminUsersList=function(a){Sb(this,9,a)};var u$b=[6,9];RS.messageId="b.BookmarkGroup";var w$b=function(a){Y.call(this,a,-1,v$b)};X(w$b,Y);w$b.prototype.getBookmarkGroupsList=function(){return fj(this,RS,1)};var v$b=[1];w$b.messageId="b.BookmarkGroupListResponse";var SS=function(a){this.executor=a};SS.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:RS}).then(vNa).then(rNa)};SS.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:w$b}).then(xNa).then(sNa)};SS.prototype.create=function(a){var b=new RS;b.setName(a.name);a.description&&b.setDescription(a.description);return this.executor.post({url:"action/bookmark_groups",body:b,responseConstructor:RS}).then(vNa).then(rNa)};
SS.prototype.update=function(a){var b=new RS;b.setBookmarkGroupId(String(a.bookmarkGroupId));b.setName(a.name);a.description&&b.setDescription(a.description);b.setArchived(a.archived);var c;b.setItemList((null!=(c=a.item)?c:[]).map(wNa));var d;b.setAdminUsersList((null!=(d=a.adminUsers)?d:[]).map(Nj));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:RS}).then(vNa).then(rNa)};SS.\u0275fac=function(a){return new (a||SS)(n(oE))};
SS.\u0275prov=Pc({token:SS,factory:SS.\u0275fac,providedIn:"root"});var x$b=function(){};var TS=function(a,b){this.router=a;this.location=b};X(TS,x$b);TS.prototype.reload=function(){var a=this,b=this.location.url();Ht(this.router,"/",{skipLocationChange:!0}).then(function(){return Ht(a.router,b,{skipLocationChange:!0})})};TS.\u0275fac=function(a){return new (a||TS)(n(WG),n(bH))};TS.\u0275prov=Pc({token:TS,factory:TS.\u0275fac,providedIn:"root"});var y$b=new Ud("Route",{factory:function(){return Zc(TS)}});var US=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.$route=a;this.activeSession=b;this.userApi=c;this.errorHandler=d;this.bLocation=e;this.paths=f;this.issuePagination=h;this.sidebarItemFactory=l;this.appEvents=q;this.analytics=u;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];z$b(this);A$b(this);this.fetchUserHotlists();a=function(){z$b(x)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));
this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){A$b(x)}));a=function(){x.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};X(US,Z);US.\u0275dir=Z.\u0275dir;
var z$b=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=B$b(a,b.hotlists);a.sidebarData.bookmarkGroups=C$b(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=B$b(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=C$b(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},A$b=function(a){a.userApi.getUserSavedSearches().then(function(b){b=D$b(a,b);a.sidebarData.userSearches=b;Ja(a.userSavedSearches);
Ra(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};US.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){E$b(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var B$b=function(a,b){return(b||[]).map(function(c){return F$b(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},C$b=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new G$b(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},D$b=function(a,b){return b.map(function(c){return{id:c.searchId,name:c.name,adminUsers:c.adminUsers,
description:c.description,starred:!1,resourceType:"SAVED_SEARCH"}}).map(function(c){return H$b(a.sidebarItemFactory,c)})},E$b=function(a,b){b=b.map(function(c){c={id:c.hotlistId,name:c.name,description:c.description,adminUsers:c.adminUsers,starred:c.adminUsers.every(function(d){return d.emailAddress!==a.activeSession.getUserEmail()}),resourceType:"HOTLIST"};return F$b(a.sidebarItemFactory,c)});Ja(a.userHotlists);Ra(a.userHotlists,b)};
US.prototype.onAnchorClick=function(a,b){var c,d=null==(c=b.target)?void 0:c.innerText;d=(void 0===d?"":d).replace(/\b(\d+)\b/g,"");Lp(this.analytics,"nav","click",d.trim());b.metaKey||b.ctrlKey||b.shiftKey||0!==b.button||(DS(this.issuePagination),UVb(this.paths,a)&&this.$route.reload(),this.bLocation.url(a),b.preventDefault(),b.stopPropagation())};US.\u0275fac=function(a){return new (a||US)(n(y$b),n(tu),n(tH),n(qG),n(bH),n(cH),n(BS),n(VS),n(uG),n(LH))};
US.\u0275prov=Pc({token:US,factory:US.\u0275fac,providedIn:"root"});var WS=function(a,b,c,d,e,f,h,l){this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=l;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};WS.prototype.isEditable=function(){return I$b(this)};WS.prototype.isSelected=function(){return TVb(this.paths,this.href)};
WS.prototype.isUnstarable=function(){return!I$b(this)&&this.starred};
var I$b=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},J$b=function(a,b){var c=DI(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},K$b=function(a,b){nG(a.butterBar,"Updating homepage...",0);FYb(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Ef()).subscribe(function(){nG(a.butterBar,"Homepage updated")})},L$b=function(a,b,c,d,e,f,h,l,q,u,x,y){WS.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
f;this.errorHandler=u;this.confirmationDialogService=x;this.appEvents=y;this.href=l.viewHotlist(a.id);this.type="HOTLIST"};X(L$b,WS);g=L$b.prototype;g.isPreferredHomepage=function(){return J$b(this,"HOTLIST")};g.setAsPreferredHomepage=function(){K$b(this,"HOTLIST")};
g.archive=function(){var a=this;nG(this.butterBar,'Archiving hotlist "'+this.name+'"...');this.hotlistApi.get(this.id).then(function(b){b.archived=!0;return a.hotlistApi.archiveHotlist(a.id,b)}).then(function(){a.appEvents.hotlistChanged.next({hotlistId:a.id});nG(a.butterBar,'Archived hotlist "'+a.name+'".');Lp(a.analytics,"sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;nG(this.butterBar,'Unarchiving hotlist "'+this.name+'"...');this.hotlistApi.get(this.id).then(function(b){b.archived=!1;return a.hotlistApi.archiveHotlist(a.id,b)}).then(function(){a.appEvents.hotlistChanged.next({hotlistId:a.id});nG(a.butterBar,'Unarchived hotlist "'+a.name+'".');Lp(a.analytics,"sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar hotlist: "+this.name,content:xp("Unstarring a hotlist will remove it from your sidebar. You can restore the hotlist at any time from the hotlist's page."),onConfirm:function(){a.doUnstar()}})};
g.doUnstar=function(){var a=this;nG(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){nG(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var XS=function(a,b,c,d,e,f,h,l){WS.call(this,a,b,c,d,e,f,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};X(XS,WS);XS.prototype.isUnstarable=function(){return!1};
XS.prototype.unstar=function(){};XS.prototype.isPreferredHomepage=function(){return J$b(this,"SAVED_SEARCH")};XS.prototype.setAsPreferredHomepage=function(){K$b(this,"SAVED_SEARCH")};
var G$b=function(a,b,c,d,e,f,h,l,q,u,x,y){WS.call(this,a,b,c,d,e,f,h,l);this.errorHandler=q;this.sidebarItemFactory=u;this.confirmationDialogService=x;this.appEvents=y;this.items=[];a=m(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(F$b(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(H$b(this.sidebarItemFactory,b))}this.items.sort(function(G,J){return G.name.localeCompare(J.name)})};X(G$b,WS);g=G$b.prototype;
g.isPreferredHomepage=function(){return J$b(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){K$b(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;nG(this.butterBar,'Archiving bookmark group "'+this.name+'"...');this.bookmarkGroupsApi.get(this.id).then(function(b){b.archived=!0;return a.bookmarkGroupsApi.update(b)}).then(function(){a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.id});nG(a.butterBar,'Archived bookmark group "'+a.name+'".');Lp(a.analytics,"sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;nG(this.butterBar,'Unarchiving bookmark group "'+this.name+'"...');this.bookmarkGroupsApi.get(this.id).then(function(b){b.archived=!1;return a.bookmarkGroupsApi.update(b)}).then(function(){a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.id});nG(a.butterBar,'Unarchived bookmark group "'+a.name+'".');Lp(a.analytics,"sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar bookmark group: "+this.name,content:xp("Unstarring a bookmark group will remove it from your sidebar. You can restore it at any time from the bookmark group's page."),onConfirm:function(){a.doUnstar()}})};
g.doUnstar=function(){var a=this;nG(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){nG(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var VS=function(a,b,c,d,e,f,h,l,q,u,x){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=f;this.analytics=h;this.butterBar=l;this.userPreferencesManager=q;this.confirmationDialogService=u;this.appEvents=x},F$b=function(a,b){return new L$b(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},H$b=function(a,b){return new XS(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};VS.\u0275fac=function(a){return new (a||VS)(n(tu),n(tH),n(SS),n(oH),n(qG),n(cH),n(LH),n(mG),n(CI),n(jJ),n(uG))};VS.\u0275prov=Pc({token:VS,factory:VS.\u0275fac,providedIn:"root"});var YS=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};YS.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!HYb(this.prefs,this.prefKey))};YS.prototype.onClick=function(){var a=this,b,c;return Ze(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return af(d,(0,T.firstValueFrom)(GYb(a.prefs,(c[a.prefKey]=!b,c))),0)})};YS.\u0275fac=function(a){return new (a||YS)(A(CI))};
YS.\u0275cmp=r({type:YS,selectors:[["sidebar-zippy"]],inputs:{expanded:"expanded",header:"header",content:"content",prefKey:"prefKey"},decls:3,vars:7,consts:[["tabindex","0","role","tab",1,"bv2-nav-expandable-header",3,"click","keydown.enter","keydown.space"],[4,"ngTemplateOutlet"],[4,"ngIf"]],template:function(a,b){a&1&&(D(0,"div",0),K("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
O(1,yNa,1,0,"ng-container",1),E(),O(2,ANa,2,1,"ng-container",2));a&2&&(pg("opened",b.expanded)("closed",!b.expanded),dg("aria-expanded",b.expanded),z(1),C("ngTemplateOutlet",b.header),z(1),C("ngIf",b.expanded))},dependencies:[bx,gx],encapsulation:2});var ZS=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};g=ZS.prototype;g.handleBookmarkGroupOpen=function(a){Lp(this.analytics,"sidebarArchived","open");this.location.url(this.paths.viewBookmarkGroup(a))};g.handleBookmarkGroupDashboard=function(a){Lp(this.analytics,"sidebarArchived","dashboard");this.location.url(this.paths.dashboard(a))};g.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};
g.openEditBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};ZS.\u0275fac=function(a){return new (a||ZS)(A(bH),A(LH),A(cH),A(US))};
ZS.\u0275cmp=r({type:ZS,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[[4,"ngIf"],["prefKey","nav-archived",3,"header","content"],["zippyHeader",""],["zippyContent",""],[1,"archived-list"],[3,"title",4,"ngFor","ngForOf"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content"],["bgZippyHeader",""],["bgZippyContent",""],[1,"bv2-nav-item","bv2-nav-bookmark-group"],
[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["groupMenu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor","click"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item",
"","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"href","click"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"href","click"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",
"class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor",4,"ngIf"],["hotlistMenu",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"]],template:function(a,b){a&1&&O(0,QNa,7,2,"div",0);a&2&&C("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[ax,bx,OB,NA,iD,gD,hD,fD,YS],encapsulation:2,changeDetection:0});var $S=function(){this.admins=[]};$S.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=Hj(this.bookmarkGroup.adminUsers)};$S.\u0275fac=function(a){return new (a||$S)};
$S.\u0275cmp=r({type:$S,selectors:[["b-bookmark-group-card"]],inputs:{bookmarkGroup:"bookmarkGroup"},decls:14,vars:6,consts:[["role","dialog","aria-label","Bookmark group hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bookmark-group-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),P(5),E()(),D(6,"ul")(7,"li"),P(8),E(),D(9,"li"),P(10),E()(),D(11,"div")(12,"p"),P(13),E()()()()());a&2&&(z(4),C("href",b.url,
ue),z(1),Bg(b.bookmarkGroup.name),z(3),Q("ID: ",b.bookmarkGroup.bookmarkGroupId,""),z(2),Cg("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Bg(b.bookmarkGroup.description))},styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.bookmark-group-card[_ngcontent-%COMP%]{max-width:450px}.bookmark-group-card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:5px 0}.bookmark-group-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:5px 0}"]});var aT=function(){this.admins=[]};aT.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Hj(this.hotlist.adminUsers)};aT.\u0275fac=function(a){return new (a||aT)};
aT.\u0275cmp=r({type:aT,selectors:[["b-hotlist-card"]],inputs:{hotlist:"hotlist"},decls:14,vars:6,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hotlist-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),P(5),E()(),D(6,"ul")(7,"li"),P(8),E(),D(9,"li"),P(10),E()(),D(11,"div")(12,"p"),P(13),E()()()()());a&2&&(z(4),C("href",b.url,ue),z(1),Bg(b.hotlist.name),z(3),Q("ID: ",b.hotlist.hotlistId,""),z(2),Cg("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Bg(b.hotlist.description))},styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.hotlist-card[_ngcontent-%COMP%]{max-width:450px}.hotlist-card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:5px 0}.hotlist-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:5px 0}"]});var M$b=["searchBox"],bT=function(a,b,c,d,e,f,h,l,q){this.cdr=a;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=f;this.analytics=h;this.errorHandler=l;this.appEvents=q;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new vw;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
bT.prototype.ngOnInit=function(){this.allowStarring&&N$b(this)};
var N$b=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();a.userApi.getUserSidebar().then(function(b){if(a.showGroups){var c,d=m(null!=(c=b.bookmarkGroups)?c:[]);for(c=d.next();!c.done;c=d.next()){c=c.value;c.starred&&a.favoriteBookmarkGroups.add(c.id);var e=void 0;c=m(null!=(e=c.sublinks)?e:[]);for(e=c.next();!e.done;e=c.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}}if(a.showHotlists){var f;b=m(null!=(f=b.hotlists)?f:[]);for(e=b.next();!e.done;e=b.next())f=e.value,
f.starred&&a.favoriteHotlists.add(f.id)}a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g=bT.prototype;g.reset=function(){this.query="";this.matches=[]};g.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};g.onQueryChange=function(){this.matches=[];this.query&&"string"!==typeof this.query&&(this.query="");this.search()};
g.search=function(){var a=this,b=this.nextRequestIndex++;if(this.query){var c=this.showGroups?this.bookmarkGroupsApi.query(this.query):Promise.resolve([]);var d=this.showHotlists?this.hotlistApi.queryHotlists(this.query):Promise.resolve([]);Promise.all([c,d]).then(function(e){var f=m(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=m(e),l=h.next();!l.done;l=h.next()){l=l.value;var q=l.bookmarkGroupId;l.href=a.paths.viewBookmarkGroup(q);l.isGroup=!0;l.isStarred=a.favoriteBookmarkGroups.has(q)}h=
m(f);for(l=h.next();!l.done;l=h.next())l=l.value,q=l.hotlistId,l.href=a.paths.viewHotlist(q),l.isGroup=!1,l.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(p(e),p(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!Hj(a.adminUsers).includes(this.currentUserEmail)};
g.toggleStar=function(a){var b=this;if(a.isGroup){var c=a.bookmarkGroupId;var d="BOOKMARK_GROUP"}else c=a.hotlistId,d="HOTLIST";a.isStarred=!a.isStarred;var e=function(){b.appEvents.hotlistChanged.next();b.appEvents.favoritesModified.next();N$b(b);b.cdr.detectChanges()};c={resourceId:c,resourceType:d};a.isStarred?(Lp(this.analytics,"hotlistSearch","starItem"),this.userApi.saveFavorite(c).then(e)):(Lp(this.analytics,"hotlistSearch","unstarItem"),this.userApi.deleteFavorite(c).then(e))};
bT.\u0275fac=function(a){return new (a||bT)(A(HH,2),A(tu),A(tH),A(SS),A(oH),A(cH),A(LH),A(qG),A(uG))};
bT.\u0275cmp=r({type:bT,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(Sg(M$b,5),Sg(AN,5));if(a&2){var c;Rg(c=Ug())&&(b.searchBoxEl=c.first);Rg(c=Ug())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Dg([HH])],decls:13,vars:6,consts:[[1,"bv2-hotlist-search"],["id","hotlist-search-input-box","type","text","placeholder",
"Enter query","role","combobox",3,"ngModel","matAutocomplete","ngModelChange","keydown.space"],["searchBox",""],[4,"ngIf"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],["auto","matAutocomplete"],["class","bv2-hotlist-search-dropdown-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-hotlist-search-subtext"],[1,"bv2-hotlist-search-dropdown-item",3,"value"],[1,"flex-kids-x","align-items-center","gap-xxs"],[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],["itemHovercard","onedevHovercard"],
[3,"hotlist",4,"ngIf"],[3,"bookmarkGroup",4,"ngIf"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],[3,"starMessage","unStarMessage","starred","starClicked"],[3,"hotlist"],[3,"bookmarkGroup"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"input",1,2),K("ngModelChange",function(d){return b.query=d})("ngModelChange",function(){return b.onQueryChange()})("keydown.space",function(d){var e;if(null==(e=b.autocomplete)?0:e.activeOption)b.toggleStar(b.autocomplete.activeOption.value),d.preventDefault(),
d.stopPropagation()}),E(),O(3,RNa,1,0,"b-spinner",3),D(4,"mat-autocomplete",4,5),K("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),O(6,VNa,9,8,"mat-option",6),E(),D(7,"div",7),P(8,' e.g., "foo bar admin:user@google.com" '),F(9,"br"),P(10,' or "foo bar admin:group@google.com" '),F(11,"br"),P(12," Only identities directly listed as Admins can be searched. "),E()());if(a&2){var c=N(5);z(1);C("ngModel",b.query)("matAutocomplete",c);dg("autofocus",b.focusOnInit)("aria-label","Add query for searching "+
(b.showGroups?"bookmark groups":"hotlists"));z(2);C("ngIf",b.isLoading());z(3);C("ngForOf",b.matches)}},dependencies:[ax,bx,$S,aT,XI,bJ,vN,TQ,yh,Ex,Lx,BN,AN,PA],encapsulation:2});var O$b=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],cT=function(){};cT.\u0275fac=function(a){return new (a||cT)};cT.\u0275dir=r({type:cT,selectors:[["xap-dialog-layout-subtitle"]]});var dT=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new T.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
dT.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){P$b(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});Q$b(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};dT.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var P$b=function(a){if(!window.ResizeObserver)return(0,T.of)(R$b(a.el.nativeElement));var b;return(0,T.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(R$b(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Df(),Rf(a.destroyed))},Q$b=function(a){return(0,T.fromEvent)(a.el.nativeElement,"scroll").pipe(WNa(),B(function(){return a.getScrollPosition(a.el.nativeElement)}),Df(),Rf(a.destroyed))},R$b=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
dT.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};Ei.Object.defineProperties(dT.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});dT.\u0275fac=function(a){return new (a||dT)(A(Yd),A(Vw),A(Yf))};
dT.\u0275dir=r({type:dT,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&pg("xap-dialog-layout-content-scrollable",b.scrollable)("xap-dialog-layout-bottom-scroll-stroke","bottom"!==b.scrollPosition)("xap-dialog-layout-top-scroll-stroke","top"!==b.scrollPosition)}});var eT=function(){};eT.\u0275fac=function(a){return new (a||eT)};
eT.\u0275cmp=r({type:eT,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&Tg(c,cT,4);if(a&2){var d;Rg(d=Ug())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&pg("xap-dialog-layout-bordered-header",b.subtitle)},ngContentSelectors:["xap-dialog-layout-title","xap-dialog-layout-subtitle","xap-dialog-layout-content","xap-dialog-layout-actions"],decls:5,vars:0,consts:[[1,"xap-dialog-header-container"]],template:function(a){a&1&&(wg(O$b),
D(0,"header",0),xg(1),xg(2,1),E(),xg(3,2),xg(4,3))},styles:[".xap-dialog-layout{display:block;padding:24px 24px 8px;overflow-x:hidden}xap-dialog-layout-title{display:block;padding:0}xap-dialog-layout-subtitle{display:block;padding:0 0 16px}xap-dialog-layout-content{display:block;padding:0 0 16px}xap-dialog-layout-actions .mat-button-base,xap-dialog-layout-actions .mat-mdc-button-base{margin:8px 16px 0 -8px;padding:0 8px}"],encapsulation:2});var S$b=bi({opacity:0}),T$b=bi({opacity:1}),U$b=$h("dialogContainer",[ci("void, hidden",S$b),ci("visible",T$b),di("void => *, * => visible",ai("200ms cubic-bezier(0.0,0.0,0.2,1)",T$b)),di("* => void, * => hidden",ai("200ms cubic-bezier(0.4,0.0,0.2,1)",S$b))]);var V$b=new Ud("XAP_IDCO"),fT=function(a){this._isDisposed=!1;this.options=a;this.animationState="hidden"};X(fT,ry);fT.prototype.ngAfterViewInit=function(){};fT.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};fT.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};fT.\u0275fac=function(a){return new (a||fT)(A(V$b))};
fT.\u0275cmp=r({type:fT,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&Sg(uy,7);if(a&2){var c;Rg(c=Ug())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(dg("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),vg("@dialogContainer",b.animationState))},features:[$f],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(D(0,"div"),O(1,XNa,1,0,"ng-template",0),E())},dependencies:[uy],styles:[".xap-inline-dialog-container{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);border-radius:8px;overflow:auto}"],encapsulation:2,data:{animation:[U$b]},changeDetection:0});var W$b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:8},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-8},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",offsetY:-8},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:8}],X$b={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},gT=function(a,b,c,d,e,f,h,l){var q=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
f;this.ariaDescriber=h;this.injector=l;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=X$b;this.triggerDescription="Press space for more information.";this.disableAutoFocusInternal=!1;this.beforeOpened=new vw;this.opened=new vw;this.closed=new vw;this.destroyed=new T.ReplaySubject;this.openStatusChange=new T.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(sf(function(u){return u&&!q.disabled}));this.elementFocusedBeforeDialogWasOpened=void 0;
Y$b(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);Z$b(this,c.nativeElement)};gT.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||gIb(this.ariaDescriber,a,this.triggerDescription)};gT.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var Y$b=function(a,b){a.ngZone.runOutsideAngular(function(){(0,T.fromEvent)(b,"keydown").pipe(Rf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();break;case 32:c.preventDefault()}});(0,T.fromEvent)(b,"keyup").pipe(Rf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},Z$b=function(a,b){a.ngZone.runOutsideAngular(function(){(0,T.fromEvent)(b,"focus").pipe(sf(function(){return 0<a.beforeOpened.observers.length}),Rf(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=gT.prototype;
g.openDialog=function(){var a=this;if(!this.disabled){var b;if(null==(b=this.overlayRef)||!b.hasAttached()){var c=this.portal;null!=c&&this.ngZone.run(function(){a.dialogContainerRef=$$b(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);a.dialogContainerRef.instance.animationState="visible";a.opened.observers.length&&setTimeout(function(){a.opened.emit()},200)})}}};
g.closeDialog=function(){var a=this,b;null!=(b=this.overlayRef)&&b.hasAttached()&&(this.dialogContainerRef.instance.animationState="hidden",setTimeout(function(){a.ngZone.run(function(){a.overlayRef&&a.overlayRef.detach();a.focusTrap&&(a.focusTrap.destroy(),a.focusTrap=void 0);a.restoreFocus();a.dialogContainerRef&&(a.dialogContainerRef.destroy(),a.dialogContainerRef=void 0);a.closed.emit()})},200))};
g.trapFocus=function(a){var b=this.document.activeElement,c=this.elementRef.nativeElement;b&&b===c&&(this.document&&(this.elementFocusedBeforeDialogWasOpened=this.document.activeElement),this.focusTrap=this.focusTrapFactory.create(a),fy(this.focusTrap),this.disableAutoFocus||this.focusInitialElement())};g.focusInitialElement=function(){this.focusTrap&&oGb(this.focusTrap)};
g.restoreFocus=function(){var a=this.elementFocusedBeforeDialogWasOpened;if(a&&"function"===typeof a.focus){var b,c=null==(b=this.dialogContainerRef)?void 0:b.location.nativeElement;(b=this.document.activeElement)&&null!=c&&c.contains(b)&&(a.focus(),this.elementFocusedBeforeDialogWasOpened=void 0)}};g.createPositionStrategy=function(a){var b,c;return Yz(bA(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var $$b=function(a){var b=Wf({parent:a.injector,providers:[{provide:V$b,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new py(fT,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(W$b)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);a.overlayPositions&&0<a.overlayPositions.length&&CIb(a.overlayRef,a.createPositionStrategy(a.overlayPositions));return a.overlayRef.attach(b)};
Ei.Object.defineProperties(gT.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof Og?new qy(a,this.viewContainerRef):new py(a,this.viewContainerRef))}},disabled:{configurable:!0,enumerable:!0,set:function(a){(this.disabledInternal=a)&&this.closeDialog()},get:function(){return this.disabledInternal}},disableAutoFocus:{configurable:!0,enumerable:!0,set:function(a){this.disableAutoFocusInternal=Kh(a)},get:function(){return this.disableAutoFocusInternal}},panelClass:{configurable:!0,
enumerable:!0,set:function(a){if(this.panelClassInternal!==a){if(this.panelClassInternal){var b;null==(b=this.overlayRef)||b.removePanelClass(this.panelClassInternal)}if(a){var c;null==(c=this.overlayRef)||c.addPanelClass(a)}this.panelClassInternal=a}}}});gT.\u0275fac=function(a){return new (a||gT)(A(Yf),A(cA),A(Yd),A(Pg),A(Document),A(sz),A(oz),A(Fv))};
gT.\u0275dir=r({type:gT,hostVars:1,hostBindings:function(a,b){a&2&&dg("data-disabled",b.disabled)},inputs:{attachedTo:"attachedTo",dialogLabel:"dialogLabel",dialogTabIndex:"dialogTabIndex",overlaySize:"overlaySize",overlayPositions:"overlayPositions",overlayDimensions:"overlayDimensions",triggerDescription:"triggerDescription",disableAutoFocus:"disableAutoFocus",panelClass:"panelClass"},outputs:{beforeOpened:"beforeOpened",opened:"opened",closed:"closed"}});var hT=function(a,b,c,d,e,f,h,l){gT.call(this,a,b,c,d,e,f,h,l);this.attachMouseEventListeners(c.nativeElement)};X(hT,gT);g=hT.prototype;g.ngOnInit=function(){gT.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(Rf(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(sf(function(b){return b&&0<a.beforeOpened.observers.length}),Bha(function(){return a.openStatusChange.pipe(sf(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,T.fromEvent)(a,"mouseenter").pipe(Rf(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,T.fromEvent)(a,"click").pipe(Rf(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")&&b.openStatusChange.value?b.closingDialog():(b.openingDialog(),d.stopPropagation())});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(Rf(b.destroyed)).subscribe(function(){b.openStatusChange.value&&
b.closingDialog()})})};g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,T.fromEvent)(a,"keyup").pipe(Rf(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 27:b.closeDialog();break;case 13:case 32:d.closest("[xapInlineDialogClose]")&&b.closeDialog()}})})};g.openingDialog=function(){this.disabled||this.openStatusChange.next(!0)};g.closingDialog=function(){this.openStatusChange.next(!1)};
g.createOverlayConfig=function(a){return new Vz(Object.assign({},this.overlayDimensions,{positionStrategy:gT.prototype.createPositionStrategy.call(this,a),scrollStrategy:this.overlay.scrollStrategies.close(),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};hT.\u0275fac=function(a){return new (a||hT)(A(Yf),A(cA),A(Yd),A(Pg),A(Ci),A(sz),A(oz),A(Fv))};
hT.\u0275dir=r({type:hT,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:["xapInlineDialogClick","dialog"],disabled:["xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[$f]});var aac=["*"],bac=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration:underline dashed #80868b;-moz-text-decoration:underline dashed #80868b;text-decoration:underline dashed #80868b;text-underline-position:under;text-underline-offset:1px;text-underline-thickness:1px}"},iT=function(){this.disabled=!1};iT.\u0275fac=function(a){return new (a||iT)};
iT.\u0275cmp=r({type:iT,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(dg("tabindex",b.disabled?-1:0),pg("xap-text-trigger",!b.disabled))},inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:aac,decls:1,vars:0,template:function(a){a&1&&(wg(),xg(0))},styles:[bac()],encapsulation:2});var jT=function(){this.disabled=!1};jT.\u0275fac=function(a){return new (a||jT)};
jT.\u0275cmp=r({type:jT,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:aac,decls:1,vars:0,template:function(a){a&1&&(wg(),xg(0))},styles:[bac()],encapsulation:2});var kT=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new vw};kT.\u0275fac=function(a){return new (a||kT)};
kT.\u0275cmp=r({type:kT,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&Sg(hT,5);if(a&2){var c;Rg(c=Ug())&&(b.dialog=c.first)}},inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",ariaLabel:["aria-label","ariaLabel"]},outputs:{itemSelect:"itemSelect"},decls:4,vars:2,consts:[["matTooltip","Search",3,"xapInlineDialogClick"],["svgIcon","search"],["popup",""],[3,"showGroups","showHotlists","allowStarring","focusOnInit","itemSelect"]],template:function(a,
b){a&1&&(D(0,"xap-icon-trigger",0),F(1,"mat-icon",1),E(),O(2,YNa,3,4,"ng-template",null,2,$g));if(a&2){var c=N(3);C("xapInlineDialogClick",c);dg("aria-label",b.ariaLabel)}},dependencies:[eT,dT,qD,OB,hT,jT,bT],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var lT=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};lT.prototype.handleBookmarkGroupOpen=function(a){Lp(this.analytics,"sidebarBookmarkGroups","open");this.location.url(this.paths.viewBookmarkGroup(a))};lT.prototype.handleBookmarkGroupDashboard=function(a){Lp(this.analytics,"sidebarBookmarkGroups","dashboard");this.location.url(this.paths.dashboard(a))};lT.prototype.editBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};
lT.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};lT.\u0275fac=function(a){return new (a||lT)(A(bH),A(LH),A(cH),A(US))};
lT.\u0275cmp=r({type:lT,selectors:[["sidebar-bookmark-groups"]],inputs:{bookmarkGroups:"bookmarkGroups"},decls:7,vars:2,consts:[[1,"bv2-nav-section"],["prefKey","nav-bkg",3,"header","content"],["zippyHeader",""],["zippyContent",""],["aria-label","Search for bookmark groups",3,"showHotlists","itemSelect"],["class","bookmark-group-list",4,"ngIf"],[1,"bookmark-group-list"],[3,"title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content","expanded"],["bgZippyHeader",""],["bgZippyContent",""],[1,"bv2-nav-item",
"bv2-nav-bookmark-group"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["topMenu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor","click"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",
3,"click"],["mat-menu-item","","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"href","click"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",
4,"ngIf"],["innerMenu",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&1&&(D(0,"div",0),F(1,"hr"),D(2,"sidebar-zippy",1),O(3,ZNa,3,1,"ng-template",null,2,$g),O(5,nOa,1,1,"ng-template",null,3,$g),E()());if(a&2){var b=N(4),c=N(6);z(2);C("header",b)("content",c)}},dependencies:[ax,bx,kT,OB,NA,iD,gD,hD,fD,YS],encapsulation:2,changeDetection:0});var mT=function(a,b,c,d,e){this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.userEmail=b.getUserEmail()};mT.prototype.getUserEmail=function(){return this.userEmail};mT.prototype.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};mT.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};mT.\u0275fac=function(a){return new (a||mT)(A(bH),A(tu),A(LH),A(US),A(cH))};
mT.\u0275cmp=r({type:mT,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},decls:7,vars:2,consts:[[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["zippyHeader",""],["zippyContent",""],["aria-label","Search for hotlists",3,"showGroups","itemSelect"],["class","hotlist-list",4,"ngIf"],[1,"hotlist-list"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],
[3,"href","click"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["menu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item","",
"class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"]],template:function(a){a&1&&(D(0,"div",0),F(1,"hr"),D(2,"sidebar-zippy",1),O(3,oOa,3,1,"ng-template",null,2,$g),O(5,vOa,1,1,"ng-template",null,3,$g),E()());if(a&2){var b=N(4),c=N(6);z(2);C("header",b)("content",c)}},dependencies:[ax,bx,kT,OB,NA,iD,gD,hD,fD,YS],encapsulation:2,changeDetection:0});var nT=function(a,b,c,d,e,f,h,l,q,u){this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=f;this.sidebar=h;this.errorHandler=l;this.confirmationDialogService=q;this.appEvents=u;this.searches=[]};nT.prototype.isSelected=function(a){return TVb(this.paths,a.href)};nT.prototype.openEditSavedSearch=function(a){this.location.url(this.paths.editSavedSearch(a))};
var yOa=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:xp("Are you sure you want to delete this search?"),onConfirm:function(){cac(a,b)}})},cac=function(a,b){var c=b.id;nG(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});nG(a.butterBar,'Deleted saved search "'+b.name+'".');Lp(a.analytics,"sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};nT.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};nT.\u0275fac=function(a){return new (a||nT)(A(HH,2),A(bH),A(RQ),A(cH),A(mG),A(LH),A(US),A(qG),A(jJ),A(uG))};
nT.\u0275cmp=r({type:nT,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Dg([HH])],decls:7,vars:2,consts:[[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],["zippyHeader",""],["zippyContent",""],["class","saved-search-list",4,"ngIf"],[1,"saved-search-list"],["class","bv2-nav-item",3,"selected","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"href","click"],[1,"bv2-nav-item-text"],["mat-icon-button",
"","disableRipple","true","aria-label","Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["menu",""],["matMenuContent",""],["mat-menu-item","",1,"bv2-user-saved-searches-edit-menuitem",3,"click"],["mat-menu-item","","class","bv2-user-saved-searches-edit-menuitem",3,"click",4,"ngIf"]],template:function(a){a&1&&(D(0,"div",0),F(1,"hr"),D(2,"sidebar-zippy",1),O(3,wOa,2,0,"ng-template",null,2,$g),O(5,COa,1,1,"ng-template",null,3,$g),E()());if(a&
2){var b=N(4),c=N(6);z(2);C("header",b)("content",c)}},dependencies:[ax,bx,OB,NA,iD,gD,hD,fD,YS],encapsulation:2,changeDetection:0});var dac=/^\s*hotlistid:(\d+)\s*$/i,eac=/(?:\s|^)componentid:(\d+)\s*/i,fac=/^\s*savedsearchid:(\d+)\s*$/i,oT=function(a,b,c,d){Z.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new T.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(B(function(f){return f?[f]:[]}));this.selectedTrackerIds$=new T.Subject;
this.trackerScope$=(0,T.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new T.Subject;this.subscriptions.add(this.queryState$.pipe(Rf(this.destroyed$)).subscribe(function(f){e.currentQuery=f.query;(f=e.currentQuery.match(eac))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(f[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(f=e.currentQuery.match(dac))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(f[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(Rf(this.destroyed$)).subscribe(function(f){e.currentTrackerScope=f}))};X(oT,Z);oT.\u0275dir=Z.\u0275dir;oT.prototype.clear=function(){pT(this,"")};var pT=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},gac=function(a){return"assignee:"+a+" status:open"};oT.prototype.getStarred=function(){return"star:true"};
oT.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};oT.prototype.getVoted=function(){return"vote:true"};var SOa=function(a){return a.currentQuery===a.getVoted()},hac=function(a){return"verifier:"+a+" status:open | status:fixed"},iac=function(a){return(a=a.currentQuery.match(dac))?Number(a[1]):0},jac=function(a){return(a=a.currentQuery.match(fac))?Number(a[1]):0};oT.prototype.track=function(a,b,c){Lp(this.analytics,"global-search",a,b,c)};
var kac=function(a,b){a.searchHandlerStack.push(b);return function(){Ma(a.searchHandlerStack,b)}};oT.\u0275fac=function(a){return new (a||oT)(n(pG),n(qN),n(PS),n(LH))};oT.\u0275prov=Pc({token:oT,factory:oT.\u0275fac,providedIn:"root"});var lac=0,mac=Hi(function(){}),qT=function(a,b,c,d,e){var f=mac.call(this)||this;f._ngZone=a;f._elementRef=b;f._ariaDescriber=c;f._renderer=d;f._animationMode=e;f._color="primary";f._overlap=!0;f.position="above after";f.size="medium";f._id=lac++;f._isInitialized=!1;return f};X(qT,mac);g=qT.prototype;g.ngOnInit=function(){this._clearExistingBadges();this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content));this._isInitialized=!0};
g.ngOnDestroy=function(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement);pz(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
g._createBadgeElement=function(){var a=this._renderer.createElement("span");a.setAttribute("id","mat-badge-content-"+this._id);a.setAttribute("aria-hidden","true");a.classList.add("mat-badge-content");"NoopAnimations"===this._animationMode&&a.classList.add("_mat-animation-noopable");this._elementRef.nativeElement.appendChild(a);"function"===typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a.classList.add("mat-badge-active")})}):
a.classList.add("mat-badge-active");return a};g._updateRenderedContent=function(a){a=(""+(null!=a?a:"")).trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement());this._badgeElement&&(this._badgeElement.textContent=a);this._content=a};g._updateHostAriaDescription=function(a){pz(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&gIb(this._ariaDescriber,this._elementRef.nativeElement,a);this._description=a};
g._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};g._clearExistingBadges=function(){for(var a=m(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
Ei.Object.defineProperties(qT.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(a){this._setColor(a);this._color=a}},overlap:{configurable:!0,enumerable:!0,get:function(){return this._overlap},set:function(a){this._overlap=Kh(a)}},content:{configurable:!0,enumerable:!0,get:function(){return this._content},set:function(a){this._updateRenderedContent(a)}},description:{configurable:!0,enumerable:!0,get:function(){return this._description},set:function(a){this._updateHostAriaDescription(a)}},
hidden:{configurable:!0,enumerable:!0,get:function(){return this._hidden},set:function(a){this._hidden=Kh(a)}}});qT.\u0275fac=function(a){return new (a||qT)(A(Yf),A(Yd),A(oz),A(Jv),A(Ov,8))};
qT.\u0275dir=r({type:qT,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&pg("mat-badge-overlap",b.overlap)("mat-badge-above",-1===b.position.indexOf("below"))("mat-badge-below",-1!==b.position.indexOf("below"))("mat-badge-before",-1!==b.position.indexOf("before"))("mat-badge-after",-1===b.position.indexOf("before"))("mat-badge-small","small"===b.size)("mat-badge-medium","medium"===b.size)("mat-badge-large","large"===b.size)("mat-badge-hidden",b.hidden||
!b.content)("mat-badge-disabled",b.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[$f]});var HOa=function(a){return[a]},rT=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J){var M=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=f;this.sidebar=h;this.location=l;this.issueLru=q;this.appEvents=u;this.needsAttentionApi=x;this.currentTracker=y;this.featureTooltipService=G;this.tasks=J;this.needsAttentionIssueCount$=new T.Subject;this.taskPrioritizationTasksCount$=(0,T.defer)(function(){return j9b(M.tasks)});this.experimentalHomepagePath=
Jn("dash",{params:void 0});this.enableHomepageVariantA=Qp(this.activeSession,"enableHomepageVariantA");this.enabledVotedNav=Qp(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=nac(this)?"recent":void 0;this.showNeedsAttentionUI=Qp(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&!this.currentTracker.inTracker;this.destroyed$=new vw;this.TOOLTIP_ID_NEEDS_ATTENTION_SIDEBAR=
"tooltipIdNeedsAttentionSidebar";this.TOOLTIP_POSITIONS=TB;this.showFeatureTooltip$=VC(this.featureTooltipService,"HIDDEN",["tooltipIdNeedsAttentionSidebar"]).pipe(sf(function(V){return 0===V.length}),Qf(function(){return qOb(M.featureTooltipService)}),sf(Boolean),Cf(1E3),B(function(){}));this.hasPreferredHomepage$=this.userPreferencesManager.preferences$.pipe(B(function(V){V=(V||QE).homepagePreferences;return!(!V||!V.resourceType)}),Df());this.appName=b.getAppName();this.userEmail=b.getUserEmail();
this.environmentType=b.getEnvironmentType();this.needsAttentionPath="attention";this.assignedPath=e.listIssues({q:gac(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+this.userEmail});this.verifiedPath=e.listIssues({q:hac(this.userEmail)});this.reportedPath=e.listIssues({q:"reporter:"+this.userEmail});this.componentsPath=e.listComponents();this.createHotlistPath=e.createHotlist();this.createBookmarkGroupPath=e.createBookmarkGroup();this.sidebarData=
this.sidebar.sidebarData;this.needsAttentionIssueCount$=this.appEvents.needsAttentionIssueCount;Qp(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){M.userPreferencesManager.needsAttentionPreferences$.pipe(Rf(M.destroyed$)).subscribe(function(V){var U=G3b(M.currentTracker),W;M.needsAttentionApi.listIssues(null,U,null!=(W=V.selectedSignals)?W:[])})},1E3)};rT.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(Rf(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};
rT.prototype.ngOnDestroy=function(){this.destroyed$.next()};var QOa=function(a){nG(a.butterBar,"Updating homepage...",0);a.userPreferencesManager.clearHomepagePreferences().pipe(Rf(a.destroyed$)).subscribe(function(){nG(a.butterBar,"Homepage updated")})};rT.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};var nac=function(a){var b=Qp(a.activeSession,"enableRecentlyViewedInNav");a=0<h4b(a.issueLru).length;return b&&a};
rT.\u0275fac=function(a){return new (a||rT)(A(HH,2),A(tu),A(mG),A(oT),A(cH),A(CI),A(US),A(xx),A(FN),A(uG),A(hR),A(qN),A(TC),A(QR))};
rT.\u0275cmp=r({type:rT,selectors:[["b-sidebar"]],features:[Dg([HH])],decls:49,vars:31,consts:[[1,"bv2-nav-header"],[3,"showTooltip$",4,"ngIf"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],[4,"ngIf"],["id","needs-attention-sidebar-link",3,"selected",4,"ngIf"],["id","canned-searches-assign",1,"bv2-nav-item"],[3,"href","click"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["menu",""],["matMenuContent",""],["svgIcon","star-filled",
1,"canned-search-icon"],["svgIcon","person-add-18px",1,"canned-search-icon"],["svgIcon","user-attributes",1,"canned-search-icon"],[3,"selected",4,"ngIf"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],[3,"showTooltip$"],[3,"customPositions","tooltipId"],["onedevTooltipTitle",""],["class","canned-search-icon","svgIcon","home","matBadgeColor","warn","matBadgeSize","small",
3,"matBadge","matBadgeHidden","matBadgeDescription",4,"ngIf","ngIfElse"],["noBadge",""],["title","Experimental feature. See go/task-mission-control for more.",1,"float-right","margin-right"],["svgIcon","home","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","home",1,"canned-search-icon"],["id","needs-attention-sidebar-link"],[3,"href","onedevFeatureTooltip","hideTooltipWhenAnchorNotVisible","click"],["class","canned-search-icon",
"svgIcon","crisis_alert_24px","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden","matBadgeDescription",4,"ngIf","ngIfElse"],["svgIcon","crisis_alert_24px","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","crisis_alert_24px",1,"canned-search-icon"],["mat-icon-button","","disableRipple","true","aria-label","Assigned issues actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon",
"more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["svgIcon","exposure_plus_1_24px",1,"canned-search-icon"],["svgIcon","time-24px",1,"canned-search-icon"]],template:function(a,b){a&1&&(D(0,"div",0),F(1,"b-create-issue-button"),E(),O(2,IOa,5,5,"onedev-feature-tooltip-controller",1),D(3,"div",2)(4,"div",3)(5,"ul",4),O(6,LOa,10,7,"ng-container",5),O(7,OOa,7,9,"li",6),D(8,"li",7)(9,"a",8),K("click",function(c){return b.onAnchorClick(b.assignedPath,c)}),F(10,
"mat-icon",9),P(11," Assigned to me "),E(),O(12,POa,3,1,"ng-container",5),R(13,"async"),D(14,"mat-menu",null,10),O(16,ROa,2,0,"ng-template",11),E()(),D(17,"li")(18,"a",8),K("click",function(c){return b.onAnchorClick(b.starredPath,c)}),F(19,"mat-icon",12),P(20," Starred by me "),E()(),D(21,"li")(22,"a",8),K("click",function(c){return b.onAnchorClick(b.ccdPath,c)}),F(23,"mat-icon",13),P(24," CC'd to me "),E()(),D(25,"li")(26,"a",8),K("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),F(27,
"mat-icon",14),P(28," Reported by me "),E()(),O(29,TOa,4,3,"li",15),D(30,"li")(31,"a",8),K("click",function(c){return b.onAnchorClick(b.verifiedPath,c)}),F(32,"mat-icon",16),P(33," To be verified "),E()(),O(34,UOa,4,3,"li",15),E(),F(35,"sidebar-bookmark-groups",17)(36,"sidebar-saved-searches",18)(37,"sidebar-hotlists",19)(38,"sidebar-archived",20)(39,"hr"),D(40,"div",21)(41,"a",22),P(42," Create hotlist "),E()(),D(43,"div",21)(44,"a",22),P(45," Create bookmark group "),E()(),D(46,"div",21)(47,"a",
22),P(48," Browse components "),E()()()());a&2&&(z(2),C("ngIf",b.showNeedsAttentionUI),z(4),C("ngIf",b.enableHomepageVariantA),z(1),C("ngIf",b.showNeedsAttentionUI&&!b.enableHomepageVariantA),z(1),pg("selected",b.appSearchState.currentQuery===gac(b.userEmail)),z(1),C("href",b.assignedPath,ue),z(3),C("ngIf",S(13,29,b.hasPreferredHomepage$)),z(5),pg("selected",b.appSearchState.isStarred()),z(1),C("href",b.starredPath,ue),z(3),pg("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),z(1),C("href",
b.ccdPath,ue),z(3),pg("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),z(1),C("href",b.reportedPath,ue),z(3),C("ngIf",b.enabledVotedNav),z(1),pg("selected",b.appSearchState.currentQuery===hac(b.userEmail)),z(1),C("href",b.verifiedPath,ue),z(3),C("ngIf",b.recentlyViewedPath),z(1),C("bookmarkGroups",b.sidebarData.bookmarkGroups),z(1),C("searches",b.sidebarData.userSearches),z(1),C("hotlists",b.sidebarData.hotlists),z(1),C("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",
b.sidebarData.archivedBookmarkGroups),z(3),C("href",b.createHotlistPath,ue),z(3),C("href",b.createBookmarkGroupPath,ue),z(3),C("href",b.componentsPath,ue))},dependencies:[QS,bx,OB,NA,iD,gD,hD,fD,qT,XB,WC,ZC,$C,ZS,lT,mT,nT,hx],encapsulation:2});var sT=function(){};sT.\u0275fac=function(a){return new (a||sT)};sT.\u0275mod=fd({type:sT});sT.\u0275inj=Qc({imports:[px]});var tT=function(){};tT.\u0275fac=function(a){return new (a||tT)};tT.\u0275mod=fd({type:tT});tT.\u0275inj=Qc({imports:[px]});var uT=function(){};uT.\u0275fac=function(a){return new (a||uT)};uT.\u0275mod=fd({type:uT});uT.\u0275inj=Qc({imports:[px,KP,BD,rD,lE]});var vT=function(){};vT.\u0275fac=function(a){return new (a||vT)};vT.\u0275mod=fd({type:vT});vT.\u0275inj=Qc({imports:[px]});var wT=function(a,b,c,d,e,f,h,l){gT.call(this,a,b,c,d,e,f,h,l);this.hoverDelayMs=500;this.activity=new T.Subject;this.attachMouseEventListeners(c.nativeElement)};X(wT,gT);g=wT.prototype;g.ngOnInit=function(){gT.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Nga(function(){return b.activity.pipe(Af(a))}));c.pipe(Rf(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(sf(function(d){return d&&0<b.beforeOpened.observers.length}),Bha(function(){return c.pipe(sf(function(d){return!d}))}),Rf(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,T.fromEvent)(a,"mouseenter").pipe(Rf(b.destroyed)).subscribe(function(){b.openingDialog()});(0,T.fromEvent)(a,"click").pipe(Rf(b.destroyed)).subscribe(function(){b.openingDialog();b.openDialog()});(0,T.fromEvent)(a,"mouseleave").pipe(Rf(b.destroyed)).subscribe(function(){b.closingDialog()});(0,T.fromEvent)(a,"mousemove").pipe(Rf(b.destroyed)).subscribe(function(){b.activity.next()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,T.fromEvent)(a,"keydown").pipe(Rf(b.destroyed)).subscribe(function(c){switch(c.keyCode){case 27:var d;(null==(d=b.overlayRef)?0:d.hasAttached())&&c.stopPropagation();b.closeDialog()}})})};g.openingDialog=function(){this.disabled||(this.openStatusChange.next(!0),this.activity.next())};g.closingDialog=function(){this.openStatusChange.next(!1);this.activity.next()};
g.createOverlayConfig=function(a){return new Vz(Object.assign({},this.overlayDimensions,{positionStrategy:gT.prototype.createPositionStrategy.call(this,a),scrollStrategy:this.overlay.scrollStrategies.close(),panelClass:this.panelClassInternal}))};wT.\u0275fac=function(a){return new (a||wT)(A(Yf),A(cA),A(Yd),A(Pg),A(Ci),A(sz),A(oz),A(Fv))};
wT.\u0275dir=r({type:wT,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:["xapInlineDialog","dialog"],disabled:["xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[$f]});[].concat(p([wT,hT,jT,iT]),[fT]);var xT=function(){};xT.\u0275fac=function(a){return new (a||xT)};xT.\u0275mod=fd({type:xT});xT.\u0275inj=Qc({imports:[nz,px,fA,vy]});var yT=function(){};yT.\u0275fac=function(a){return new (a||yT)};yT.\u0275mod=fd({type:yT});yT.\u0275inj=Qc({imports:[px,sT,tT,gM,xN,uT,vT,lE,rD,ay,xT,CN]});var zT=function(){};zT.\u0275fac=function(a){return new (a||zT)};zT.\u0275mod=fd({type:zT});zT.\u0275inj=Qc({imports:[px,vM]});var AT=function(){};AT.\u0275fac=function(a){return new (a||AT)};AT.\u0275mod=fd({type:AT});AT.\u0275inj=Qc({imports:[nz,gA,gA]});var BT=function(){};BT.\u0275fac=function(a){return new (a||BT)};BT.\u0275mod=fd({type:BT});BT.\u0275inj=Qc({imports:[zT,px,yT,rD,BD,jD,AT,CD]});var CT=function(){};CT.\u0275fac=function(a){return new (a||CT)};CT.\u0275prov=Pc({token:CT,factory:CT.\u0275fac,providedIn:"root"});var DT=function(a){this.executor=a};X(DT,CT);DT.\u0275fac=function(a){return new (a||DT)(n(nE))};DT.\u0275prov=Pc({token:DT,factory:DT.\u0275fac,providedIn:"root"});var ET=function(a,b){Z.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};X(ET,Z);ET.\u0275dir=Z.\u0275dir;ET.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(Rf(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};ET.\u0275fac=function(a){return new (a||ET)(A(ZA),A(CT))};
ET.\u0275cmp=r({type:ET,selectors:[["b-terms-of-service-dialog"]],features:[$f],decls:16,vars:2,consts:[["mat-dialog-title",""],[1,"b-tos-content"],["gmat-checkbox","",3,"ngModel","ngModelChange"],["href","https://www.google.com/policies/terms/","target","_blank"],["href","/terms","target","_blank"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Google IssueTracker Terms of Service"),E(),D(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),K("ngModelChange",function(c){return b.ackChecked=c}),E(),D(5,"span"),P(6," I acknowledge and agree to the "),D(7,"a",3),P(8,"Google Terms of Service"),E(),P(9," and the "),D(10,"a",4),P(11,"Google IssueTracker Conduct Policy"),E(),P(12,". "),E()()(),D(13,"mat-dialog-actions")(14,"button",5),K("click",function(){return b.accept()}),P(15," OK "),E()());a&2&&(z(4),C("ngModel",b.ackChecked),z(10),C("disabled",!b.ackChecked))},dependencies:[Ex,Lx,NA,QI,dB,eB,fB],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var FT=function(a,b){Z.call(this);this.activeSession=a;this.matDialogService=b};X(FT,Z);FT.\u0275dir=Z.\u0275dir;FT.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&XA(this.matDialogService.open(ET,{width:"400px",disableClose:!0})).pipe(Rf(this.destroyed$))};FT.\u0275fac=function(a){return new (a||FT)(A(tu),A(bB))};FT.\u0275cmp=r({type:FT,selectors:[["b-terms-of-service"]],features:[$f],decls:0,vars:0,template:function(){},encapsulation:2});var GT=function(){};GT.\u0275fac=function(a){return new (a||GT)};GT.\u0275mod=fd({type:GT});GT.\u0275inj=Qc({imports:[ay,px,BD,BM,gB]});var HT=function(){};HT.\u0275fac=function(a){return new (a||HT)};HT.\u0275mod=fd({type:HT});HT.\u0275inj=Qc({imports:[px,GT]});var XOa=0;var oac=To("blinkers-activated"),pac=So("blinkers-activated"),qac=YOa("debug-dom-mutation","var(--c400)"),rac=YOa("debug-ng-zone","var(--red-400)"),sac=YOa("debug-xhr","var(--green-500)",1200),tac=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;XOa++;var d=156;d+=12*(XOa-1);return function(e,f){f=void 0===f?b:f;var h,l=null!=(h=document.getElementById(a))?h:VOa(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=f;l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),
IT=function(a,b){this.activityMonitor=a;this.userActivity=b;this.destroyed$=new T.Subject;this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.isEnabled()&&uac(this)};IT.prototype.ngOnDestroy=function(){this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};IT.prototype.isEnabled=function(){return pac()};IT.prototype.enable=function(){this.isEnabled()||(oac(!0),uac(this))};
IT.prototype.disable=function(){oac(!1);this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};var uac=function(a){a.activityMonitor.dom$.pipe(Rf(a.destroyed$)).subscribe(function(){return void qac()});SWb(a.activityMonitor);a.activityMonitor.cdr$.pipe(Rf(a.destroyed$)).subscribe(function(){return void rac()});a.activityMonitor.xhr$.pipe(Rf(a.destroyed$)).subscribe(function(){return void sac()});a.userActivity.active$.pipe(Rf(a.destroyed$)).subscribe(function(b){return void tac(b)})};
IT.\u0275fac=function(a){return new (a||IT)(n(GH),n(IH))};IT.\u0275prov=Pc({token:IT,factory:IT.\u0275fac,providedIn:"root"});var JT=function(a,b,c,d,e,f,h,l,q){var u=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=f;this.routeParamsService=h;this.issueFridge=l;this.eventsForIssueFridge=q;this.getCurrentIssueId=function(){var x;return null==(x=u.routeParamsService.routeParams$.value)?void 0:x.issueId};this.getCurrentIssue=function(){var x=u.getCurrentIssueId();if(null!=x)return u.issueFridge.memory.getData(x)};this.getCurrentIssueEvents=function(){var x=u.getCurrentIssueId();
if(null!=x)return u.eventsForIssueFridge.memory.getData(x)}};
JT.prototype.install=function(){this.activeSession.isInternalSession()&&(this.window.bedbug={ngZone:this.ngZone,flags:Wm().config.enabledFlags,appEvents:this.appEvents,requestKeeper:QWb,activeSession:this.activeSession,getInitialSession:Wm,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:DWb("debug-logging"),toggleOptOutExperiments:DWb("opt-out-experiments"),currentUser:this.currentUser,getCurrentIssue:this.getCurrentIssue,getCurrentIssueEvents:this.getCurrentIssueEvents,fridges:{issueFridge:this.issueFridge,
eventsForIssueFridge:this.eventsForIssueFridge}})};JT.\u0275fac=function(a){return new (a||JT)(n(tu),n(uG),n(Yf),n(SE),n(IT),n(kI),n(wI),n(QH),n(JF))};JT.\u0275prov=Pc({token:JT,factory:JT.\u0275fac,providedIn:"root"});var KT=function(a){this.delegate_=a};KT.prototype.getDelegate=function(){return this.delegate_};var vac=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};X(vac,KT);vac.prototype.getTarget=function(){if(this.target_)return this.target_;for(var a=[],b=this.getDelegate().xb;b instanceof gbar.I&&b!=this.currentTarget_.getDelegate();)a.push(b.ic()),b=b.zb();for(b=this.currentTarget_;0<a.length;)b=wac(b,a.pop());return this.target_=b};vac.prototype.getType=function(){return this.getDelegate().xa};var xac=function(a){this.delegate_=a};X(xac,KT);g=xac.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||da,new vac(f,e))},c)};g.listenOnce=function(){throw Error("pd");};g.unlisten=function(){throw Error("pd");};g.unlistenByKey=function(){throw Error("pd");};g.dispatchEvent=function(){throw Error("pd");};g.removeAllListeners=function(){throw Error("pd");};g.getParentEventTarget=function(){throw Error("pd");};
g.fireListeners=function(){throw Error("pd");};g.getListener=function(){throw Error("pd");};g.hasListener=function(){throw Error("pd");};xac.prototype[xLb]=!0;var LT=function(a){this.delegate_=a};X(LT,xac);LT.prototype.getHeight=function(){return this.getDelegate().pa()};LT.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};LT.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};LT.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var yac=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};X(yac,KT);yac.prototype.then=function(a,b,c){var d;a&&(d=zac(this,a));this.getDelegate().aa(d,b,c)};var zac=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var MT=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};X(MT,KT);MT.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new yac(this.getDelegate().bh()));return this.gapiPromise_};MT.getInstance=function(){if(MT.instance_&&MT.hasOwnProperty("instance_"))var a=MT.instance_;else a=new MT,MT.instance_=a;return a};var NT=function(a,b){Z.call(this);this.router=a;this.window=b};X(NT,Z);NT.\u0275dir=Z.\u0275dir;NT.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=MT.getInstance();d.barPromise_||(d.barPromise_=new yac(d.getDelegate().bf(),LT));d.barPromise_.then(b,c)})).then(function(b){Aac(a,b)})};var Aac=function(a,b){a.router.events.pipe(sf($o),Rf(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};NT.\u0275fac=function(a){return new (a||NT)(n(WG),n(SE))};
NT.\u0275prov=Pc({token:NT,factory:NT.\u0275fac,providedIn:"root"});var OT=function(a,b,c){Z.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(Df(mj),Qf(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=cp(this.init)};X(OT,Z);OT.\u0275dir=Z.\u0275dir;
OT.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return Ze(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return af(e,Promise.all([VH(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};OT.\u0275fac=function(a){return new (a||OT)(n(wI),n(TH),n(JF))};OT.\u0275prov=Pc({token:OT,factory:OT.\u0275fac,providedIn:"root"});var PT=function(a){Z.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(Rf(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};X(PT,Z);PT.\u0275dir=Z.\u0275dir;PT.prototype.start=function(){var a=this;document.addEventListener("scroll",function(b){b&&b.target&&(b=b.target.className,a.scrollTimingMap.has(b)?a.scrollTimingMap.get(b).push(Date.now()):a.scrollTimingMap.set(b,[Date.now()]))},!0)};PT.\u0275fac=function(a){return new (a||PT)(n(KH))};
PT.\u0275prov=Pc({token:PT,factory:PT.\u0275fac,providedIn:"root"});var RT=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa){Z.call(this);var Ha=this;this.bLocation=a;this.$route=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=f;this.userPrefs=h;this.issuePagination=l;this.userFeedback=y;this.ngZone=G;this.matDialogService=J;this.renderer=U;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;xa.install();Fa.install();PWb(x);
this.subscriptions.add(u.onClickAppMenuIcon.subscribe(function(){Ha.matSidebarWidth=185>Ha.matSidebarWidth?"open":0}));h.homepagePreferences$.pipe(Rf(this.destroyed$)).subscribe(function(La){M.homepagePreferences=La});this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(Rf(this.destroyed$)).subscribe(function(La){La=ePa(La.density);La!==Ha.densityClass&&(Ha.renderer.addClass(document.body,La),Ha.renderer.removeClass(document.body,
Ha.densityClass),Ha.densityClass=La)});this.subscriptions.add(kac(q,function(La){Ha.doSearch(La)}));var Bb=f.createIssue(),lb=f.listIssues({q:gac(d.getUserEmail())}),Ya=f.listIssues({q:"cc:"+d.getUserEmail()}),qa=f.listIssues({q:hac(d.getUserEmail())}),Ba=f.listIssues({q:"reporter:"+d.getUserEmail()}),Ea=f.listIssues({q:q.getStarred()}),Oa=f.listIssues({q:q.getVoted()});this.subscriptions.add(wO(this.hotkeys,{title:"General",hotkeys:[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var La=
document.querySelector(".search-box-container .search-box");null==La||La.focus();null==La||La.select()}},{keys:[Xp("2"),GBa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Ha.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.url(Bb)}},{keys:[Yp("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.url("attention")}},{keys:[Yp("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',
onPress:function(){a.url(lb)}},{keys:[Yp("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.url(Ya)}},{keys:[Yp("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.url(Ba)}},{keys:[Yp("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.url(Ea)}},{keys:[Yp("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.url(Oa)}},{keys:[Yp("g","v")],displayAs:"g then v",
description:'Go to "To be verified"',onPress:function(){a.url(qa)}},{keys:[],displayAs:"Ctrl+Enter",description:"Submit entered text (while focused)",onPress:function(){}},{keys:[],displayAs:"Alt+Right",description:"Opens hovercard (if available)",onPress:function(){}},{keys:["<",">"],displayAs:"< / >",description:"Collapse/expand sidebar",onPress:function(La){if(0===La&&20<Ha.sidebarDragPosition||1===La&&!(20<Ha.sidebarDragPosition))20<Ha.sidebarDragPosition?QT(Ha,20,1):QT(Ha,Ha.lastOpenPosition,
1);Ha.matSidebarWidth=0===La?0:"open"}},{keys:["?",FBa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Ha.matDialogService.open(xS,{minWidth:512})}}]}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(Ef(),Rf(this.destroyed$)).subscribe(function(La){Ha.dismissedMessageId=La.bannerMessageId||"";La=(La.layoutPreferences||{}).leftSidebarWidth;Ha.matSidebarWidth=
La||220;if(void 0===La)Ha.sidebarDragPosition=220;else if(90>La)Ha.sidebarDragPosition=20;else{if(220<La){var fc=Bac();La>fc&&(La=fc)}185>La&&(La=185);Ha.sidebarDragPosition=La}});(0,T.fromEvent)(document,"mouseup",{capture:!0}).pipe(Rf(this.destroyed$)).subscribe(function(){Ha.sidebarDragOffset&&(Ha.sidebarDragOffset=null,QT(Ha,Ha.sidebarDragPosition,1))});(0,T.fromEvent)(M,"resize").pipe(Rf(this.destroyed$)).subscribe(function(){if(220<Ha.sidebarDragPosition){var La=Bac();Ha.sidebarDragPosition>
La&&QT(Ha,La,3E3)}});this.ngZone.runOutsideAngular(function(){(0,T.fromEvent)(document,"mousemove").pipe(Rf(Ha.destroyed$)).subscribe(function(La){if(Ha.sidebarDragOffset){La=La.pageX-Ha.sidebarDragOffset;if(90>La)La=20;else if(185>La)La=185;else{var fc=Bac();La>fc&&(La=fc)}QT(Ha,La,0)}})});W.start();Uo()&&(null!=IWb&&IWb.disconnect(),IWb=new Yo.PerformanceObserver(zua),IWb.observe({entryTypes:["measure"]}));setTimeout(ZOa,6E4);ba.start();pa.initOnce();na.initOnce();M.emergencyBugjugglerWorkaround=
{session:d,issueComments:V}};X(RT,Z);RT.\u0275dir=Z.\u0275dir;RT.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};RT.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var Bac=function(){var a=window.innerWidth;return 1075<=a?a-855:220},cPa=function(a,b){a.userPrefs.layoutPreferences$.pipe(Qf(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Ef(),Rf(a.destroyed$)).subscribe()},QT=function(a,b,c){if(b!==a.sidebarDragPosition||c)185<=b&&(a.lastOpenPosition=b),a.sidebarDragPosition=b,c&&(a.sidebarDragSaver&&a.timeout.cancel(a.sidebarDragSaver),a.sidebarDragSaver=a.timeout.schedule(function(){cPa(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};RT.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=UVb(this.paths,a);DS(this.issuePagination);b&&this.$route.reload();this.bLocation.url(a)};var $Oa=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Ef(),Rf(a.destroyed$)).subscribe())};RT.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
RT.\u0275fac=function(a){return new (a||RT)(A(bH),A(y$b),A(XF),A(tu),A(vO),A(cH),A(CI),A(BS),A(oT),A(uG),A(FH),A(wR),A(Yf),A(bB),A(SE),A(pI),A(Jv),A(NT),A(PT),A(ES),A(OT),A(JT),A(IH))};
RT.\u0275cmp=r({type:RT,selectors:[["app-root"]],features:[$f],decls:10,vars:2,consts:[["class","bv2-announce-bar",4,"ngIf"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged",4,"ngIf"],[1,"flex","pos-rel"],[1,"bv2-announce-bar"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["class","announce-dismiss","role","button","tabindex","0",3,"keydown.enter","keydown.space","click",4,"ngIf"],["role","button","tabindex",
"0",1,"announce-dismiss",3,"keydown.enter","keydown.space","click"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged"]],template:function(a,b){a&1&&(F(0,"b-hiring-banner")(1,"b-terms-of-service"),O(2,bPa,4,2,"div",0),F(3,"b-sso-expired-callout-outlet"),D(4,"div",1),O(5,dPa,2,2,"b-resizable-sidebar",2),D(6,"div",3),F(7,"b-router-outlet"),E()(),F(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){z(2);var c;a=b.announcement;a=void 0===a?b.announcement:a;if(null!=(c=a)&&c.message){var d;
c=0<(null==(d=a.tags)?void 0:d.length)?!1:a.dismissible?null==b.dismissedMessageId?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;C("ngIf",c);z(3);C("ngIf",!b.isAnonymous)}},dependencies:function(){return[bx,NS,xM,rT,FT,vS,HS,KS,uS]},encapsulation:2});var ST=function(){};ST.\u0275fac=function(a){return new (a||ST)};ST.\u0275mod=fd({type:ST});ST.\u0275inj=Qc({imports:[px,OS,AM,BT,HT,wS,JS,LS,IS,BD,rD,yS]});var TT=function(a){Y.call(this,a)};X(TT,Y);TT.prototype.getUrl=function(){return lk(this,1)};TT.prototype.setUrl=function(a){return k(this,1,a)};TT.prototype.hasUrl=function(){return gm(this,1)};TT.messageId="b.AttachmentUrlResponse";var UT=function(a){this.executor=a};UT.prototype.get=function(a,b,c,d){if(!a||!b)return Promise.reject("Invalid resource ID.");var e={};d&&(e["X-Restricted-Content-Limit"]=String(Zna(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:TT}).then(function(f){return f.getUrl()})};UT.\u0275fac=function(a){return new (a||UT)(n(oE))};UT.\u0275prov=Pc({token:UT,factory:UT.\u0275fac,providedIn:"root"});var VT=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};VT.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};VT.\u0275fac=function(a){return new (a||VT)(A(tu),A(Og),A(Pg))};VT.\u0275dir=r({type:VT,selectors:[["","internalOnly",""]]});var WT=function(a,b,c,d,e,f,h,l){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=f;this.documentationLinks=h;this.changeDetectorRef=l;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};WT.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
WT.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;gPa(this)?(this.hasViewAccess=!1,aG(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b}).finally(function(){a.isLoading=!1})):(this.hasViewAccess=!0,this.isLoading=!1)};WT.prototype.getPiiSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var gPa=function(a){return(a=a.getPiiSeverity())?"NONE_DETECTED"!==a:!1},Cac=function(a){var b=a.download&&Cna(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getPiiSeverity()).then(function(c){b?KI(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){oG(a.butterBar,"Failed to load attachment. Please refresh and try again.");a.close()})};WT.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
WT.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};WT.\u0275fac=function(a){return new (a||WT)(A(aB),A(ZA),A($F),A(UT),A(mG),A(JI),A(hJ),A(HH,2))};
WT.\u0275cmp=r({type:WT,selectors:[["b-attachment-download-dialog"]],features:[Dg([HH])],decls:20,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"gmat-body-2"],[1,"gmat-body-1"],[1,"download-attachment-icon"],["svgIcon","file-present","size","icon-l"],[1,"download-attachment-filename"],[4,"internalOnly"],["class","gmat-body-2",4,"ngIf"],["class","centered-spinner","diameter","60",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button",
"",1,"gmat-button","dialog-primary-action",3,"disabled","click"],["target","_blank","aria-label","Learn more about restricted access in Buganizer.",3,"href"],[1,"no-access-warning"],["diameter","60",1,"centered-spinner"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Access Attachment"),E(),D(2,"div",1)(3,"div",2),P(4," Are you sure you would like to access the following attachment? "),E(),F(5,"br"),D(6,"div",3)(7,"div",4),F(8,"mat-icon",5),E(),D(9,"div",6),P(10),E()(),F(11,"br"),O(12,hPa,2,1,"ng-container",
7),O(13,iPa,3,0,"div",8),E(),O(14,jPa,1,0,"mat-spinner",9),D(15,"div",10)(16,"button",11),K("click",function(){return b.close()}),P(17," Cancel "),E(),D(18,"button",12),K("click",function(){return Cac(b)}),P(19," Continue "),E()());a&2&&(z(10),Q(" ",b.attachment.filename," "),z(3),C("ngIf",!b.isLoading&&!b.hasViewAccess),z(1),C("ngIf",b.isLoading),z(4),C("disabled",!b.hasViewAccess))},dependencies:[bx,dB,eB,fB,NA,OB,uN,VT],styles:[".centered-spinner[_ngcontent-%COMP%]{margin:0 auto}.download-attachment-icon[_ngcontent-%COMP%]{float:left;margin-right:5px}.download-attachment-filename[_ngcontent-%COMP%]{font-weight:bold}.no-access-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad)}"]});var XT=function(){};XT.\u0275fac=function(a){return new (a||XT)};XT.\u0275mod=fd({type:XT});XT.\u0275inj=Qc({imports:[px]});var Dac=Object.assign({},new OJb,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),YT=function(){};YT.\u0275fac=function(a){return new (a||YT)};YT.\u0275mod=fd({type:YT});YT.\u0275inj=Qc({providers:[{provide:PJb,useValue:Dac}],imports:[gB,gB]});var ZT=function(){};ZT.\u0275fac=function(a){return new (a||ZT)};ZT.\u0275mod=fd({type:ZT});ZT.\u0275inj=Qc({imports:[px,YT,BD,gB,rD,wN,yP,nS,XT]});var Eac=function(a,b,c,d){gy.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new T.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};fy(this)};X(Eac,gy);var $T=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};$T.prototype.create=function(a){return new Eac(a,this.checker,this.ngZone,this.document)};$T.\u0275fac=function(a){return new (a||$T)(n(dy),n(Yf),n(Ci))};
$T.\u0275prov=Pc({token:$T,factory:$T.\u0275fac,providedIn:"root"});var Fac=["content"],aU=function(a){Z.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new vw;this.cancelClicked=new vw;this.saveClicked=new vw;this.dateSelectionChange=new vw;this.focusEscaped=new vw};X(aU,Z);aU.\u0275dir=Z.\u0275dir;
aU.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){kPa(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(Rf(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||nGb(c)}else{var d;null==(d=a.focusEscapeNotifier)||ey(d)}else a.focusEscaped.emit(b)})};
var kPa=function(a,b){if(b=b instanceof sp?b:Cva(b))a.calendar.activeDate=b};aU.\u0275fac=function(a){return new (a||aU)(A($T))};
aU.\u0275cmp=r({type:aU,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(Sg(MA,7),Sg(Fac,7));if(a&2){var c;Rg(c=Ug())&&(b.calendar=c.first);Rg(c=Ug())&&(b.content=c.first)}},inputs:{required:"required",date:"date",trapFocus:"trapFocus",todayButtonEnabled:"todayButtonEnabled",noneButtonEnabled:"noneButtonEnabled",renderPanel:"renderPanel"},outputs:{dateChange:"dateChange",cancelClicked:"cancelClicked",saveClicked:"saveClicked",dateSelectionChange:"dateSelectionChange",focusEscaped:"focusEscaped"},
features:[$f],ngContentSelectors:["*"],decls:14,vars:9,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selected","startAt","selectedChange"],[1,"actions"],["class","b-optional-calendar-button-row",4,"ngIf"],[1,"b-calendar-button-row"],["mat-button","",1,"cancel",3,"click"],["mat-button","",1,"save",3,"click"],["class","today","mat-button","",3,"click",4,"ngIf"],["class","none","mat-button","",3,"click",4,"ngIf"],["mat-button","",1,"today",3,"click"],["mat-button","",1,"none",3,"click"]],
template:function(a,b){a&1&&(wg(),D(0,"div",null,0)(2,"div",1),xg(3),E(),D(4,"mat-calendar",2),K("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),R(5,"toDateTime"),R(6,"toDateTime"),E(),D(7,"div",3),O(8,nPa,4,2,"div",4),D(9,"div",5)(10,"button",6),K("click",function(){return b.cancelClicked.emit()}),P(11,"Cancel"),E(),D(12,"button",7),K("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),P(13,"Save"),E()()()());a&2&&(pg("container",b.renderPanel),z(4),C("selected",
S(5,5,b.date))("startAt",S(6,7,b.date)),z(4),C("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[bx,NA,MA,WQ,bU]},styles:[".b-optional-calendar-button-row[_ngcontent-%COMP%]{margin:0 1rem}.actions[_ngcontent-%COMP%]{text-align:end}.actions[_ngcontent-%COMP%]   div.b-optional-calendar-button-row[_ngcontent-%COMP%]{width:fit-content;margin:auto;align-content:center}.container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-calendar[_ngcontent-%COMP%]{width:288px;height:342px}\n/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var bU=function(){};bU.prototype.transform=function(a){var b;return null!=(b=Cva(a))?b:void 0};bU.\u0275fac=function(a){return new (a||bU)};bU.\u0275pipe=hd({name:"toDateTime",type:bU,pure:!0});var Gac=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],cU=function(a,b,c,d){Z.call(this);var e=this;this.overlay=a;this.element=b;this.ngZone=c;this.hostEl=d;this.openOnEnter=this.openOnClick=!0;this.required=this.focusTrapHost=!1;this.selectedChange=new vw;this.dateSelectionChange=new vw;
this.onClose=new vw;this.opened=!1;this.destroyed$.subscribe(function(){var f;null==(f=e.overlayRef)||f.dispose()})};X(cU,Z);g=cU.prototype;g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(a){a=void 0===a?!1:a;if(this.opened){var b;null==(b=this.overlayRef)||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-date-time-picker-backdrop",panelClass:"b-date-time-picker-popup"});a.overlayElement.setAttribute("role","dialog");return a};g.attach=function(){var a=this,b=new py(aU),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){Hac(a)})};
g.getPositionStrategy=function(){return Yz(Zz($z(bA(this.overlay.position(),this.element)),8),Gac)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var Hac=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,T.merge)(a.overlayRef._detachments,a.destroyed$);a.pickerContent.date=a.selected;a.pickerContent.required=a.required;a.pickerContent.trapFocus=!a.focusTrapHost;a.focusTrapHost&&a.pickerContent.focusEscaped.pipe(Rf(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(Rf(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(Rf(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,T.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(sf(function(c){return"Escape"===c.code}))).pipe(Rf(b)).subscribe(function(){a.close()})}};cU.\u0275fac=function(a){return new (a||cU)(A(cA),A(Yd),A(Yf),A(Yd))};
cU.\u0275dir=r({type:cU,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&K("click",function(c){b.openOnClick&&b.open();c.preventDefault();c.stopPropagation()})("keydown.enter",function(c){b.openOnEnter&&b.open();c.preventDefault();c.stopPropagation()})("keydown.tab",function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(ey(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(nGb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&dg("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:["bDateTimePickerToggleFocusTrapHost","focusTrapHost"],required:["bDateTimePickerToggleRequired","required"],selected:["bDateTimePickerToggleSelected","selected"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],features:[$f]});var Iac=["pickerToggle"],dU=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new vw};dU.\u0275fac=function(a){return new (a||dU)};
dU.\u0275cmp=r({type:dU,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&Sg(Iac,7);if(a&2){var c;Rg(c=Ug())&&(b.pickerToggle=c.first)}},inputs:{customFormId:"customFormId",customAriaLabelledBy:"customAriaLabelledBy",value:"value",required:"required"},outputs:{valueChange:"valueChange"},exportAs:["bDateTimeInput"],decls:4,vars:7,consts:[["mat-stroked-button","","type","button","bDateTimePickerToggle","",1,"gmat-button",3,"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected",
"bDateTimePickerToggleFocusTrapHost","bDateTimePickerToggleSelectedChange"],["pickerToggle","bDateTimePickerToggle"],["mode","date",3,"date",4,"ngIf"],[4,"ngIf"],["mode","date",3,"date"]],template:function(a,b){a&1&&(D(0,"button",0,1),K("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),O(2,oPa,1,1,"b-formatted-date-time",2),O(3,pPa,2,0,"ng-container",3),E());a&2&&(C("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),dg("aria-labelledby",b.customAriaLabelledBy),z(2),C("ngIf",b.value),z(1),C("ngIf",!b.value))},dependencies:[cU,UL,NA,bx],styles:["\n/*# sourceMappingURL=date_time_input.css.map */"]});var eU=function(){};eU.\u0275fac=function(a){return new (a||eU)};eU.\u0275mod=fd({type:eU});eU.\u0275inj=Qc({imports:[pA,tA,gA,uA,px,pA,gA,uA,XQ]});var Jac=["filterInput"],fU=function(a){Z.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new vw;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};X(fU,Z);fU.\u0275dir=Z.\u0275dir;g=fU.prototype;g.ngOnInit=function(){this.initValues()};g.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};g.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(Qf(function(){return(0,T.timer)(0)}),Rf(this.destroyed$)).subscribe(function(){a.focusFilterBox()})};
g.showMenu=function(){this.trigger.openMenu()};g.closeMenu=function(){this.trigger.closeMenu()};g.focusFilterBox=function(){var a;null==(a=this.filterElement)||a.nativeElement.focus()};var Kac=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
fU.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),Lac(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};fU.prototype.valueChanged=function(){var a=this;return Array.from(this.valueMap.keys()).some(function(b){var c=a.valueMap.get(b);b=a.originalValueMap.get(b);return c||void 0!==b?c!==b:!1})};
fU.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=m(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);Lac(this)};
var Lac=function(a){a.sortedValues=Array.from(a.valueMap.keys()).sort(function(b,c){b=a.valueMap.get(b);c=a.valueMap.get(c);return(c?1:!1===c?-1:0)-(b?1:!1===b?-1:0)})},rPa=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};fU.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(tj(a)):a};fU.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
fU.\u0275fac=function(a){return new (a||fU)(A(tJ))};
fU.\u0275cmp=r({type:fU,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(Sg(hD,5),Sg(Jac,5));if(a&2){var c;Rg(c=Ug())&&(b.trigger=c.first);Rg(c=Ug())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[$f,md],decls:13,vars:7,consts:[["mat-button","","type","button",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["customFieldMenu",
"matMenu"],["class","multi-edit-menuitem","role","option",3,"title",4,"ngFor","ngForOf"],[1,"filter"],["mat-input","","step","any",3,"type","ngModel","placeholder","keydown","click","ngModelChange",4,"ngIf"],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["role","option",1,"multi-edit-menuitem",3,"title"],[3,"checked","indeterminate","change","click"],["mat-input","","step","any",3,"type","ngModel","placeholder","keydown","click","ngModelChange"],["filterInput",""],["mat-menu-item","",3,"click"],
[3,"value","valueChange"],["mat-menu-item","","aria-label","Add a date value","tabindex","0","aria-haspopup","true",3,"click"]],template:function(a,b){a&1&&(D(0,"button",0)(1,"span"),P(2),E(),F(3,"b-icon",1),E(),D(4,"mat-menu",null,2),O(6,qPa,3,4,"div",3),F(7,"mat-divider"),D(8,"div",4),O(9,sPa,2,3,"input",5),E(),O(10,tPa,1,0,"mat-divider",6),O(11,uPa,2,0,"div",7),O(12,vPa,4,1,"div",6),E());if(a&2){var c=N(5);C("matMenuTriggerFor",c);z(2);Bg(b.getLabel());z(4);C("ngForOf",Kac(b));z(3);C("ngIf","REPEATED_DATE"!==
b.type);z(1);C("ngIf",rPa(b));z(1);C("ngIf",rPa(b));z(1);C("ngIf","REPEATED_DATE"===b.type)}},dependencies:[ax,bx,iD,gD,hD,WQ,nO,NA,QI,yh,Ex,Lx,dU],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}\n/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var Mac=0,gU=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+Mac;Mac+=1};gU.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};gU.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};gU.\u0275fac=function(a){return new (a||gU)(A(Vw))};
gU.\u0275dir=r({type:gU,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(ug("id",b.id),pg("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var hU=function(){};hU.\u0275fac=function(a){return new (a||hU)};hU.\u0275mod=fd({type:hU});hU.\u0275inj=Qc({});var xPa=function(){return{$implicit:void 0}},APa=function(a){return{$implicit:a}},iU=function(a){this.includeEmptyOption=this.disabled=!1;this.valueChange=new vw;this.selected=new vw;this.destroyed$=new T.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};g=iU.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=kIb(new zz(this.viewOptions))};g.ngOnChanges=function(a){a.value&&Nac(this)};
g.isSelected=function(a){return this.value===a};g.select=function(a){this.disabled||(this.isSelected(a)||this.valueChange.emit(a),this.selected.emit())};var Nac=function(a){if(a.keyManager)if(a.includeEmptyOption&&a.isSelected(void 0))a.keyManager.setActiveItem(0);else{var b=a.options.findIndex(function(c){return a.isSelected(c)});-1!==b&&a.keyManager.setActiveItem(a.includeEmptyOption?b+1:b)}};iU.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
iU.prototype.handleKeydown=function(a){var b=this;a.pipe(Rf(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?yz(b.keyManager):oIb(b.keyManager)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};iU.\u0275fac=function(a){return new (a||iU)(A(AO,8))};
iU.\u0275cmp=r({type:iU,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&Sg(gU,5);if(a&2){var c;Rg(c=Ug())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&K("focus",function(){return Nac(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,dg("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label"},outputs:{valueChange:"valueChange",selected:"selected"},features:[md],decls:4,vars:2,consts:[["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["optionDisplay",""],["role","option","onedevListOption","",3,"option","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["customOptionDisplay",""],["emptyOption",""],["aria-label",
"empty"]],template:function(a,b){a&1&&(O(0,yPa,2,5,"div",0),O(1,CPa,2,1,"ng-container",1),O(2,IPa,3,2,"ng-template",null,2,$g));a&2&&(C("ngIf",b.includeEmptyOption),z(1),C("ngForOf",b.options))},dependencies:[ax,bx,gx,gU],styles:["[role=option][_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;font-size:13px;padding:6px 8px;font-weight:400;letter-spacing:.185714px;line-height:normal;color:var(--text-default)}[role=option][_ngcontent-%COMP%]:hover{cursor:pointer}[role=option].active[_ngcontent-%COMP%], [role=option][_ngcontent-%COMP%]:active{background-color:var(--option-active-bg,#e8f0fe)}[role=option][aria-selected=true][_ngcontent-%COMP%]{background-color:var(--option-selected-bg,#d2e3fc)}"],
changeDetection:0});var jU=function(){};var Oac=["trigger"],KPa=function(a){return{$implicit:a}},Pac=0,kU=function(a){this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new vw;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+Pac;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;Pac++};X(kU,jU);g=kU.prototype;g.ngOnInit=function(){};
g.ngAfterViewInit=function(){this.openPopupOnInit&&(this.popupTrigger.open(),this.focused=!0)};g.writeValue=function(a){this.val=a};g.onSelectionChange=function(a){a!==this.val&&(this.onChange(a),this.value=a,this.valueChange.emit(a))};g.isActive=function(){return this.popupTrigger.isOpen||this.focused};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.registerOnChange=function(a){this.onChange=a};
g.registerOnTouched=function(a){this.onTouched=a};var Qac=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};kU.prototype.setDisabledState=function(a){this.disabled=a};Ei.Object.defineProperties(kU.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});kU.\u0275fac=function(a){return new (a||kU)(Id("required"))};
kU.\u0275cmp=r({type:kU,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&Sg(Oac,7);if(a&2){var c;Rg(c=Ug())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",openPopupOnInit:"openPopupOnInit"},outputs:{valueChange:"valueChange"},features:[Dg([{provide:rx,useExisting:Nc(function(){return kU}),
multi:!0},{provide:jU,useExisting:Nc(function(){return kU}),multi:!0}]),$f],decls:13,vars:17,consts:[["onedevPopupPanelTrigger","",3,"onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor","focus","blur","click","closed"],["trigger","onedevPopupPanelTrigger"],[1,"cdk-visually-hidden"],[4,"ngIf","ngIfElse"],["optionTemplateOrTextLabel",""],["textLabel",""],["class","arrow-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],
["panel","onedevPopupPanel"],["tabindex","0",1,"single-select-panel",3,"value","includeEmptyOption","options","optionTemplate","label","valueChange","selected"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["emptyValue",""],["aria-label","empty"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"arrow-icon"],["d","M7 10l5 5 5-5H7z"]],template:function(a,b){if(a&1){var c=t();D(0,"button",0,1);K("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",
function(){v(c);var f=N(1);return w(f.open())})("closed",function(){b.onTouched()});D(2,"span",2);P(3);E();O(4,LPa,2,4,"ng-container",3);O(5,OPa,1,2,"ng-template",null,4,$g);O(7,RPa,3,2,"ng-template",null,5,$g);O(9,SPa,2,0,"svg",6);E();D(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);K("valueChange",function(f){return b.onSelectionChange(f)})("selected",function(){v(c);var f=N(1);return w(f.close())});E()()}if(a&2){var d=N(6),e=N(11);pg("active",b.isActive());C("onedevPopupPanelTriggerDisabled",
b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);dg("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(3);Bg(Qac(b));z(1);C("ngIf",b.valueTemplate)("ngIfElse",d);z(5);C("ngIf",b.displayArrowIcon);z(1);C("relayOnly",!0);z(2);C("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)}},dependencies:[bx,gx,AO,iU,BO,CO],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}button[_ngcontent-%COMP%]{background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px;font-size:13px;padding:4px 4px 4px 6px;text-align:start}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.arrow-icon[_ngcontent-%COMP%]{margin-left:auto;width:18px;height:18px;color:var(--icon,#5f6368);fill:currentColor}.single-select-panel[_ngcontent-%COMP%]{display:block;min-width:85px;max-height:300px}.single-select-panel[_ngcontent-%COMP%]:focus{outline:0}"]});var ZPa=function(){return[]},lU=function(a,b){this.data=a;this.dialogRef=b;this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=[];this.bulkEditOps=[];this.issues=a};g=lU.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=m(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var f=m(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(sj(h),e[h]||void 0)}f=m(b);for(h=f.next();!h.done;h=f.next()){var l=m(h.value);h=l.next().value;l=l.next().value;var q=d[h],u=e[h],x=void 0,y=null==(x=q)?void 0:x.type;if(q)if("REPEATED_DATE"===y||"REPEATED_ENUM"===y||"REPEATED_NUMERIC"===y||"REPEATED_TEXT"===
y){l=this.repeatedCustomFieldsMap.get(h)||new Map;q=0===l.size;u=Rac(u);x=Array.from(l.keys()).concat(u);x=m(x);for(y=x.next();!y.done;y=x.next())y=y.value,u.includes(y)?l.has(y)||l.set(y,q||null):l.set(y,null);this.repeatedCustomFieldsMap.set(h,l)}else(!u&&void 0!==l||u&&!mj(u,l))&&b.set(h,null);else b.delete(h)}d=m(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=m(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),nj(f))}this.customFields=Array.from(b.keys()).map(function(G){return a.get(G)}).filter(function(G){return G});
this.customFields=this.customFields.map(function(G){var J=b.get(G.customFieldId);G.hasMultipleValues=null===J;J?G=Object.assign(J,G):G.hasMultipleValues||"ENUM"!==G.type||(G.enumValue="");return G});c=m(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,nj(d))};
g.clearCustomFieldValue=function(a){a.hasMultipleValues=!1;switch(a.type){case "TEXT":a.textValue="";break;case "DATE":a.dateValue=null;break;case "ENUM":a.enumValue="";break;case "NUMERIC":a.numericValue=null}};g.getCustomFieldName=function(a){return a.name};g.isCustomFieldRequired=function(a){return a.required};g.getCustomFieldAllowedValues=function(a){return a.allowedValue};g.getCustomFieldType=function(a){return a.type};
var Gq=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},Rac=function(a){if(!a)return[];var b=a.repeatedTextValue||a.repeatedDateValue||a.repeatedEnumValue||a.repeatedNumericValue;return b?b.values.map(function(c){return a.repeatedDateValue?c.month+"/"+c.day+"/"+c.year:c.toString()}):[]},XPa=function(a){return a?kj(a):null},aQa=function(a,b,c){for(var d=m(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(x){return x.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(x){return x.actions.length});if(c.valueChanged){d={};e=m(a.issues);for(var f=e.next();!f.done;d={$jscomp$loop$prop$issueValues$2191:d.$jscomp$loop$prop$issueValues$2191,$jscomp$loop$prop$action$2192:d.$jscomp$loop$prop$action$2192},f=e.next()){f=f.value;var h=$ba(f.customFieldValueMap,function(x){return x.customFieldId===b});d.$jscomp$loop$prop$issueValues$2191=Rac(h);c.valueMap.forEach(function(x){return function(y,G){y&&!x.$jscomp$loop$prop$issueValues$2191.includes(G)?
x.$jscomp$loop$prop$issueValues$2191.push(G):!1===y&&(x.$jscomp$loop$prop$issueValues$2191=x.$jscomp$loop$prop$issueValues$2191.filter(function(J){return J!==G}))}}(d));h=a.originalCustomFields.get(b).type;var l=[],q=[];"REPEATED_DATE"==h?l=d.$jscomp$loop$prop$issueValues$2191.map(function(x){return lj(tj(x))}):"REPEATED_NUMERIC"==h&&(q=d.$jscomp$loop$prop$issueValues$2191.map(function(x){return Number(x)}));var u=new Bj({customFieldId:b});switch(h){case "REPEATED_TEXT":u.repeatedTextValue={values:d.$jscomp$loop$prop$issueValues$2191};
break;case "REPEATED_DATE":u.repeatedDateValue={values:l};break;case "REPEATED_ENUM":u.repeatedEnumValue={values:d.$jscomp$loop$prop$issueValues$2191};break;case "REPEATED_NUMERIC":u.repeatedNumericValue={values:q}}d.$jscomp$loop$prop$action$2192={fieldName:"customField",customFieldValue:u,actionType:u.isEmpty()?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(x){return function(y){return y.actions.some(function(G){return mj(x.$jscomp$loop$prop$action$2192,G)})}}(d));-1!==h?a.bulkEditOps[h].issueIds.push(f.issueId):
a.bulkEditOps.push({actions:[d.$jscomp$loop$prop$action$2192],issueIds:[f.issueId]})}}},Sac=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!mj(l,a.originalCustomFields.get(l.customFieldId))}),c=[];b=m(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=new Bj({customFieldId:e.customFieldId});switch(e.type){case "TEXT":d.textValue=e.textValue;break;case "DATE":d.dateValue=e.dateValue||void 0;break;case "ENUM":d.enumValue=e.enumValue;break;case "NUMERIC":var f=
void 0;d.numericValue=null!=(f=e.numericValue)?f:void 0}if(e=d.isEmpty())d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(l){return l.issueId});b=a.bulkEditOps.findIndex(function(l){a:if(l=l.issueIds,Qa(h)&&Qa(l)&&h.length==l.length){for(var q=h.length,u=0;u<q;u++)if(h[u]!==l[u]){l=!1;break a}l=!0}else l=!1;return l});-1!==b?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,
issueIds:h})}};lU.\u0275fac=function(a){return new (a||lU)(A(aB),A(ZA))};
lU.\u0275cmp=r({type:lU,selectors:[["b-bulk-custom-field-dialog"]],decls:10,vars:2,consts:[["mat-dialog-title",""],[4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",3,"class"],["mat-flat-button","","type","button","color","primary",1,"gmat-button","medium","dialog-primary-action","save",3,"click"],[1,"bv2-create-adv-field"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],[3,"ngIf","ngIfElse"],["multipleValues",
""],[3,"ngSwitch"],["name","customInput","placeholder","no value","type","text",3,"ngModel","ngModelChange",4,"ngSwitchCase"],["step","any","name","customInput","type","number",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"value","options","valueChange",4,"ngSwitchCase"],[3,"type","originalValueMap","enumChoices","onSave",4,"ngSwitchDefault"],["name","customInput","placeholder","no value","type","text",3,"ngModel","ngModelChange"],["step","any","name","customInput","type","number",
3,"ngModel","ngModelChange"],[3,"value","required","customAriaLabelledBy","customFormId","valueChange"],[3,"value","options","valueChange"],[3,"type","originalValueMap","enumChoices","onSave"],["title","Clear values",3,"click"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1,"Update custom fields"),E(),D(2,"mat-dialog-content"),O(3,TPa,2,0,"div",1),O(4,eQa,8,6,"div",2),E(),D(5,"mat-dialog-actions")(6,"button",3),K("class",function(){return b.dialogRef.close()}),P(7,"Cancel"),E(),D(8,"button",4),K("click",
function(){Sac(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),P(9," Save "),E()());a&2&&(z(3),C("ngIf",0===b.customFields.length),z(1),C("ngForOf",b.customFields))},dependencies:[ax,bx,cx,dx,ex,cB,dB,eB,fB,kU,fU,yh,Nx,Ex,Lx,dU,NA,qD],encapsulation:2});var Tac=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,Uac=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,Vac=function(a){this.patternParts_=[];this.dateTimeSymbols_=vB;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
Vac.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(Tac.test(e))for(0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),c=""),this.patternParts_.push({text:" ",count:0,abutStart:!1,numeric:!1});d<a.length-1&&" "==a.charAt(d+1);)d++;else if(b)"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!1:c+=e;else if(0<="GyMdkHmsSEDabBhKzZvQL".indexOf(e)){0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),
c="");for(var f=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==f;)h++;f=h-d;0>=f?h=!1:(h="MydhHmsSDkK".indexOf(e),h=0<h||0==h&&3>f);this.patternParts_.push({text:e,count:f,abutStart:!1,numeric:h});d+=f-1}else"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!0:c+=e}0<c.length&&this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1});a=!1;for(b=0;b<this.patternParts_.length;b++)this.patternParts_[b].numeric?!a&&b+1<this.patternParts_.length&&this.patternParts_[b+1].numeric&&(a=!0,this.patternParts_[b].abutStart=
!0):a=!1};Vac.prototype.applyStandardPattern_=function(a){11<a&&(a=10);if(4>a)var b=this.dateTimeSymbols_.DATEFORMATS[a];else 8>a?b=this.dateTimeSymbols_.TIMEFORMATS[a-4]:(b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]));this.applyPattern_(b)};
Vac.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.predictive||!1,e=c.validate||!1);if(d)for(c=0;c<this.patternParts_.length;c++){var f=this.patternParts_[c];if(0<f.count&&(0>"abBhHkKm".indexOf(f.text.charAt(0))||2<f.count||f.abutStart))throw Error("qd`"+f.text.charAt(0));}f=new Wac;c=[0];f.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(0==this.patternParts_[h].count){a:{var l=a;var q=this.patternParts_[h],u=d;if(null!=q.text.match(Tac)){if(q=c[0],Xac(l,
c),c[0]>q){l=!0;break a}}else{if(l.indexOf(q.text,c[0])==c[0]){c[0]+=q.text.length;l=!0;break a}if(u&&0==q.text.indexOf(l.substring(c[0]))){c[0]+=l.length-c[0];l=!0;break a}}l=!1}if(l)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;u=h;var x=c[0],y=0;for(l=u;l<this.patternParts_.length;l++){var G=this.patternParts_[l],J=G.count;if(0===J)break;if(l==u&&(J-=y,y++,0==J)){l=0;break a}var M=l>u&&G.numeric,V=c[0];if(!Yac(this,q,c,G,J,f,!1)||M&&c[0]-V<J)l=u-1,c[0]=x}l-=u}if(0>=l)return 0;h+=
l-1}else if(!Yac(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(null==b)throw Error("rd");void 0!=f.era&&void 0!=f.year&&0==f.era&&0<f.year&&(f.year=-(f.year-1));void 0!=f.year&&b.setFullYear(f.year);d=b.getDate();b.setDate(1);void 0!=f.month&&b.setMonth(f.month);void 0!=f.day?b.setDate(f.day):(e=oKb(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));"function"===typeof b.setHours&&(void 0==f.hours&&(f.hours=b.getHours()),12>f.hours&&(void 0!=f.ampm&&0<f.ampm?f.hours+=12:void 0!==f.dayPeriodName&&
("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.dayPeriodName)||["night1","night2"].includes(f.dayPeriodName)&&6<=f.hours)&&(f.hours+=12)),b.setHours(f.hours));"function"===typeof b.setMinutes&&void 0!=f.minutes&&b.setMinutes(f.minutes);"function"===typeof b.setSeconds&&void 0!=f.seconds&&b.setSeconds(f.seconds);"function"===typeof b.setMilliseconds&&void 0!=f.milliseconds&&b.setMilliseconds(f.milliseconds);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=b.getMonth()||
f.day&&f.day!=b.getDate()||f.hours&&24<=f.hours||f.minutes&&60<=f.minutes||f.seconds&&60<=f.seconds||f.milliseconds&&1E3<=f.milliseconds))b=!1;else{void 0!=f.tzOffset&&b.setTime(b.getTime()+6E4*(f.tzOffset-b.getTimezoneOffset()));f.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(void 0!=f.dayOfWeek)if(void 0==f.day)f=(7+f.dayOfWeek-b.getDay())%7,3<f&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=a&&b.setDate(b.getDate()+
(0<f?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var Yac=function(a,b,c,d,e,f,h){Xac(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return mU(b,c,[a.dateTimeSymbols_.ERAS],function(l){return f.era=l}),!0;case "M":case "L":return Zac(a,b,c,e,d,f);case "E":return mU(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(l){return f.dayOfWeek=l});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=mU(b,c,a,function(l){return f.dayPeriodIndex=
l},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=mU(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return f.ampm=l},h),h?b:!0;case "y":return $ac(a,b,c,d,e,f);case "Q":return mU(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){f.month=3*l;f.day=1});case "d":return nU(a,b,c,d,e,function(l){f.day=l}),!0;case "S":return abc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=nU(a,b,c,d,e,function(l){f.hours="h"===d.text.charAt(0)&&12===l?0:l},h),h?b:!0;
case "m":return b=nU(a,b,c,d,e,function(l){f.minutes=l},h),h?b:!0;case "s":return nU(a,b,c,d,e,function(l){f.seconds=l}),!0;case "z":case "Z":case "v":return bbc(a,b,c,f);default:return!1}},$ac=function(a,b,c,d,e,f){var h=c[0];e=oU(a,b,c,e);null===e&&(e=oU(a,b,c,0,!0));if(null===e)return!1;0<=e&&2==c[0]-h&&2==d.count?(a=e,b=(new Date).getFullYear()-80,c=b%100,f.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),f.year=a):f.year=e;return!0},Zac=function(a,b,c,d,e,f){return e.numeric&&nU(a,b,c,
e,d,function(h){f.month=h-1})?!0:mU(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},abc=function(a,b,c,d,e){var f=c[0];a=oU(a,b,c,d);if(null===a)return!1;c=c[0]-f;e.milliseconds=3>c?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},bbc=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.tzOffset=0,!0;var e=c[0],f=oU(a,b,c,0,!0);if(null===f)return!1;
if(c[0]<b.length&&":"==b.charAt(c[0])){var h=60*f;c[0]++;f=oU(a,b,c,0);if(null===f)return!1;h+=f}else h=f,h=24>h&&3>=c[0]-e?60*h:h%100+h/100*60;d.tzOffset=-h;return!0},nU=function(a,b,c,d,e,f,h){h=h||!1;var l=c[0];a=oU(a,b,c,e);if(null===a)return!1;if(h&&c[0]-l<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-l))}f(a);return!0},mU=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var l=c[h],q=e,u=0,x=null,y=a.substring(f[0]).toLowerCase(),G=0;G<l.length;G++){var J=l[G].toLowerCase();
if(q&&0==J.indexOf(y)){u=y.length;x=G;break}l[G].length>u&&0==y.indexOf(J)&&(u=l[G].length,x=G)}null!==x&&(f[0]+=u);f=x;if(null!==f)return d(f),!0}return!1},Xac=function(a,b){(a=a.substring(b[0]).match(Uac))&&(b[0]+=a[0].length)},oU=function(a,b,c,d,e){b=0<d?b.substring(0,c[0]+d):b;e=e||!1;if(a.dateTimeSymbols_.ZERODIGIT){d=[];for(var f=c[0];f<b.length;f++){var h=b.charCodeAt(f)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&9>=h?String.fromCharCode(h+48):b.charAt(f))}b=d.join("")}else b=b.substring(c[0]);
a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},Wac=function(){};Wac.prototype.ambiguousYear=!1;var xJb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),pU=function(){var a=hA.apply(this,arguments)||this;a.locale=vB;return a};X(pU,hA);pU.prototype.setLocale=function(){throw Error("sd");};pU.prototype.getYear=function(a){return a.getYear()};pU.prototype.getMonth=function(a){return a.getMonth()};pU.prototype.getDate=function(a){return a.getDate()};var wJb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
pU.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};pU.prototype.clone=function(a){return a.clone()};var IA=function(a,b,c){return new sp(a,b,c)};pU.prototype.parse=function(a,b){if(""===a)return null;b=new Vac(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new sp(new Date(a));b.parse(a,c);return c};pU.prototype.format=function(a,b){if(!this.isValid(a))throw Error("td");return(new xB(b)).format(a)};
var GA=function(a,b){a=a.clone();a.add(new wB(b));return a},HA=function(a,b){a=a.clone();a.add(new wB(0,b));return a},FA=function(a,b){a=a.clone();a.add(new wB(0,0,b));return a},iA=function(a){return a instanceof sp};pU.prototype.isValid=function(a){return!isNaN(a.getTime())};pU.prototype.invalid=function(){return new sp(NaN)};pU.prototype.sameDate=function(a,b){return a&&b?(new jj(a)).equals(b):!1};pU.\u0275fac=function(){var a;return function(b){return(a||(a=Od(pU)))(b||pU)}}();
pU.\u0275prov=Pc({token:pU,factory:pU.\u0275fac});var cbc={YEAR_FULL:"y",YEAR_FULL_WITH_ERA:"y G",YEAR_MONTH_ABBR:"MMM y",YEAR_MONTH_FULL:"MMMM y",YEAR_MONTH_SHORT:"MM/y",MONTH_DAY_ABBR:"MMM d",MONTH_DAY_FULL:"MMMM dd",MONTH_DAY_SHORT:"M/d",MONTH_DAY_MEDIUM:"MMMM d",MONTH_DAY_YEAR_MEDIUM:"MMM d, y",WEEKDAY_MONTH_DAY_MEDIUM:"EEE, MMM d",WEEKDAY_MONTH_DAY_YEAR_MEDIUM:"EEE, MMM d, y",DAY_ABBR:"d",MONTH_DAY_TIME_ZONE_SHORT:"MMM d, h:mm\u202fa zzzz"},qU=cbc;qU=cbc;var rU=vB.DATEFORMATS[3];rU=rU.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===rU&&(rU="MM/dd/yyyy");var dbc={parse:{dateInput:rU},display:{dateInput:rU,monthYearLabel:qU.YEAR_MONTH_ABBR,dateA11yLabel:qU.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:qU.YEAR_MONTH_FULL}};var sU=function(){};sU.\u0275fac=function(a){return new (a||sU)};sU.\u0275mod=fd({type:sU});sU.\u0275inj=Qc({providers:[{provide:hA,useClass:pU},{provide:mA,useValue:dbc}],imports:[px,rD,BD,kE,XQ,nz]});var tU=function(){};tU.\u0275fac=function(a){return new (a||tU)};tU.\u0275mod=fd({type:tU});tU.\u0275inj=Qc({imports:[sU,hN,rD,BD,px]});var uU=function(){};uU.\u0275fac=function(a){return new (a||uU)};uU.\u0275mod=fd({type:uU});uU.\u0275inj=Qc({imports:[px,jD,XQ,eU,KP,BD,uB,BM,ay,tU]});var vU=function(){};vU.\u0275fac=function(a){return new (a||vU)};vU.\u0275mod=fd({type:vU});vU.\u0275inj=Qc({imports:[px]});var wU=function(){};wU.\u0275fac=function(a){return new (a||wU)};wU.\u0275mod=fd({type:wU});wU.\u0275inj=Qc({imports:[px,BD,hU]});var xU=function(){};xU.\u0275fac=function(a){return new (a||xU)};xU.\u0275mod=fd({type:xU});xU.\u0275inj=Qc({imports:[px,rD,BD,ay,vU,wU,DO]});var yU=function(){};yU.\u0275fac=function(a){return new (a||yU)};yU.\u0275mod=fd({type:yU});yU.\u0275inj=Qc({imports:[px,gB,xU,uU,ay,tU,BD,lE]});var zU=function(a,b,c,d,e,f,h){var l=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=f;this.userFeedback=h;this.commentVersion=-1;this.history=[];this.diffView=this.isLoading=!0;this.issueId=c.issueId;this.commentNumber=c.commentNumber;this.commentVersion=c.commentVersion;c.commentHistory.then(function(q){l.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){l.isLoading=!1;l.cdr.detectChanges()})};zU.prototype.trackByIndex=function(a){return a};
zU.prototype.startFeedback=function(){this.userFeedback.startFeedback()};zU.\u0275fac=function(a){return new (a||zU)(A(HH,2),A(FI),A(aB),A(qG),A(xx),A(cH),A(wR))};
zU.\u0275cmp=r({type:zU,selectors:[["comment-history-dialog"]],features:[Dg([HH])],decls:14,vars:4,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"checked","change"],[1,"dialog-feedback",3,"click"],[1,"float-clear"],["class","bv2-view-loading",4,"ngIf"],["class","comment-history-list",4,"ngIf"],["mat-button","","mat-dialog-close",""],[1,"bv2-view-loading"],[1,"comment-history-list"],["class","comment-version",3,"comment-version-open",4,"ngFor","ngForOf","ngForTrackBy"],[1,"comment-version"],
[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"comment-version-header",3,"click"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],["class","muted float-right float-clear",4,"ngIf"],[4,"ngIf"],[1,"muted","float-right","float-clear"],["class","type-xs",3,"innerHtml",4,"ngIf"],["class","type-xs",4,"ngIf"],[1,"type-xs",3,"innerHtml"],[1,"type-xs"],[1,"comment-version-email"],[3,"email"],[3,"id","click"],["class","comment-version-preview",4,"ngIf"],["class",
"comment-version-preview deleted",4,"ngIf"],["class","comment-version-restricted",4,"ngIf"],[1,"comment-version-preview"],[1,"comment-version-preview","deleted"],[1,"comment-version-restricted"],["class","comment-version-content deleted",4,"ngIf"],["class","comment-version-content",3,"codefont","innerHtml",4,"ngIf"],[1,"comment-version-content","deleted"],[1,"comment-version-content",3,"innerHtml"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1),E(),D(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),K("change",function(c){return b.diffView=c.checked}),P(5," Show Diff "),E()(),D(6,"a",3),K("click",function(){return b.startFeedback()}),P(7,"Feedback"),E(),F(8,"br",4),O(9,fQa,2,0,"div",5),O(10,uQa,2,2,"ul",6),E(),D(11,"mat-dialog-actions")(12,"button",7),P(13,"Close"),E()());a&2&&(z(1),Q("History for Comment #",b.commentNumber,""),z(3),C("checked",b.diffView),z(5),C("ngIf",b.isLoading),z(1),C("ngIf",!b.isLoading))},dependencies:[ax,bx,UL,QI,NA,cB,dB,eB,fB,pL,vN,kN,cM,hx,kK,jN],styles:[".comment-history-list[_ngcontent-%COMP%]{overflow:auto;padding:0}.comment-version[_ngcontent-%COMP%]{position:relative;background-color:#f1f3f4;background-color:var(--c100);border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:8px 5px}.comment-version-open[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);color:#202124;color:var(--text)}.comment-version[_ngcontent-%COMP%] > .bv2-event-user-image-cell[_ngcontent-%COMP%]{padding-top:8px;padding-left:5px}.comment-version-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.comment-version-preview[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.comment-version-restricted[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.comment-version-header[_ngcontent-%COMP%]{cursor:pointer;margin-left:40px}.comment-version-content[_ngcontent-%COMP%]{cursor:auto;margin:20px 0 10px 40px;white-space:pre-wrap}.comment-version[_ngcontent-%COMP%]   .deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.comment-version[_ngcontent-%COMP%] + .comment-version[_ngcontent-%COMP%]{border-top:0}.comment-version[_ngcontent-%COMP%]   .bv2-event-user-image-cell[_ngcontent-%COMP%]{margin:0}.dialog-feedback[_ngcontent-%COMP%]{float:right}.diff-checkbox[_ngcontent-%COMP%]{float:right;margin-right:10px;margin-left:10px}b-formatted-date-time[_ngcontent-%COMP%]{float:right}[_nghost-%COMP%]     .diff-added{background-color:#ceead6;background-color:var(--good-bg)}[_nghost-%COMP%]     .diff-removed{background-color:#fce8e6;background-color:var(--bad-bg);text-decoration:line-through}\n/*# sourceMappingURL=comment_history_dialog.css.map */"],
changeDetection:0});var AU=function(){};AU.\u0275fac=function(a){return new (a||AU)};AU.\u0275mod=fd({type:AU});AU.\u0275inj=Qc({imports:[px,hN,BM,BD,gB,sM,eN,xN,nN]});var vQa=function(){},Hq=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("ud");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var f=ebc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=fbc(b,c);var l=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=gbc(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);hbc(a,b);return b},gbc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var f=
b.length>c.length?b:c,h=b.length>c.length?c:b,l=f.indexOf(h);if(-1!=l)return a=[[1,f.substring(0,l)],[0,h],[1,f.substring(l+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(1==h.length)return[[-1,b],[1,c]];if(f=ibc(b,c))return c=f[1],h=f[3],b=f[4],f=Hq(a,f[0],f[2],d,e),a=Hq(a,c,h,d,e),f.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=jbc(b,c);c=b.lineArray;b=Hq(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(l=0;l<f.length;l++)h[l]=c[f.charCodeAt(l)];b[d][1]=h.join("")}wQa(a,
b);b.push([0,""]);f=d=c=0;for(l=h="";c<b.length;){switch(b[c][0]){case 1:f++;l+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(1<=d&&1<=f){b.splice(c-d-f,d+f);c=c-d-f;d=Hq(a,h,l,!1,e);for(f=d.length-1;0<=f;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;l=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);l=2*h;for(var q=Array(l),u=Array(l),x=0;x<l;x++)q[x]=-1,u[x]=-1;q[h+1]=0;u[h+1]=0;x=d-f;for(var y=0!=x%2,G=0,J=0,M=0,V=0,U=0;U<h&&!((new Date).getTime()>e);U++){for(var W=-U+
G;W<=U-J;W+=2){var ba=h+W;var pa=W==-U||W!=U&&q[ba-1]<q[ba+1]?q[ba+1]:q[ba-1]+1;for(var na=pa-W;pa<d&&na<f&&b.charAt(pa)==c.charAt(na);)pa++,na++;q[ba]=pa;if(pa>d)J+=2;else if(na>f)G+=2;else if(y&&(ba=h+x-W,0<=ba&&ba<l&&-1!=u[ba])){var xa=d-u[ba];if(pa>=xa){a=kbc(a,b,c,pa,na,e);break a}}}for(W=-U+M;W<=U-V;W+=2){ba=h+W;xa=W==-U||W!=U&&u[ba-1]<u[ba+1]?u[ba+1]:u[ba-1]+1;for(pa=xa-W;xa<d&&pa<f&&b.charAt(d-xa-1)==c.charAt(f-pa-1);)xa++,pa++;u[ba]=xa;if(xa>d)V+=2;else if(pa>f)M+=2;else if(!y&&(ba=h+x-W,
0<=ba&&ba<l&&-1!=q[ba]&&(pa=q[ba],na=h+pa-ba,xa=d-xa,pa>=xa))){a=kbc(a,b,c,pa,na,e);break a}}}a=[[-1,b],[1,c]]}return a},kbc=function(a,b,c,d,e,f){var h=b.substring(d),l=c.substring(e);b=Hq(a,b.substring(0,d),c.substring(0,e),!1,f);a=Hq(a,h,l,!1,f);return b.concat(a)},jbc=function(a,b){function c(h){for(var l="",q=0,u=-1,x=d.length;u<h.length-1;){u=h.indexOf("\n",q);-1==u&&(u=h.length-1);var y=h.substring(q,u+1);(e.hasOwnProperty?e.hasOwnProperty(y):void 0!==e[y])?l+=String.fromCharCode(e[y]):(x==
f&&(y=h.substring(q),u=h.length),l+=String.fromCharCode(x),e[y]=x,d[x++]=y);q=u+1}return l}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},ebc=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c<e;)a.substring(f,e)==b.substring(f,e)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e},fbc=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),
e=d,f=0;c<e;)a.substring(a.length-e,a.length-f)==b.substring(b.length-e,b.length-f)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e},lbc=function(a,b){var c=a.length,d=b.length;if(0==c||0==d)return 0;c>d?a=a.substring(c-d):c<d&&(b=b.substring(0,c));c=Math.min(c,d);if(a==b)return c;d=0;for(var e=1;;){var f=b.indexOf(a.substring(c-e));if(-1==f)return d;e+=f;if(0==f||a.substring(c-e)==b.substring(0,e))d=e,e++}},ibc=function(a,b){function c(l,q,u){for(var x=l.substring(u,u+Math.floor(l.length/4)),y=-1,G="",
J,M,V,U;-1!=(y=q.indexOf(x,y+1));){var W=ebc(l.substring(u),q.substring(y)),ba=fbc(l.substring(0,u),q.substring(0,y));G.length<ba+W&&(G=q.substring(y-ba,y)+q.substring(y,y+W),J=l.substring(0,u-ba),M=l.substring(u+W),V=q.substring(0,y-ba),U=q.substring(y+W))}return 2*G.length>=l.length?[J,M,V,U,G]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length<d.length)return null;var f=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(f||d)d?h=f?f[4].length>d[4].length?
f:d:d:h=f;else return null;a.length>b.length?(a=h[0],b=h[1],f=h[2],d=h[3]):(f=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,f,d,h[4]]},wQa=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,l=0,q=0,u=0,x=0;h<b.length;)0==b[h][0]?(d[e++]=h,l=u,q=x,x=u=0,f=b[h][1]):(1==b[h][0]?u+=b[h][1].length:x+=b[h][1].length,f&&f.length<=Math.max(l,q)&&f.length<=Math.max(u,x)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,x=u=q=l=0,f=null,c=!0)),h++;c&&hbc(a,b);mbc(b);for(h=1;h<b.length;){if(-1==b[h-1][0]&&
1==b[h][0]){a=b[h-1][1];c=b[h][1];d=lbc(a,c);e=lbc(c,a);if(d>=e){if(d>=a.length/2||d>=c.length/2)b.splice(h,0,[0,c.substring(0,d)]),b[h-1][1]=a.substring(0,a.length-d),b[h+1][1]=c.substring(d),h++}else if(e>=a.length/2||e>=c.length/2)b.splice(h,0,[0,a.substring(0,e)]),b[h-1][0]=1,b[h-1][1]=c.substring(0,c.length-e),b[h+1][0]=-1,b[h+1][1]=a.substring(e),h++;h++}h++}},mbc=function(a){function b(y,G){if(!y||!G)return 6;var J=y.charAt(y.length-1),M=G.charAt(0),V=J.match(nbc),U=M.match(nbc),W=V&&J.match(obc),
ba=U&&M.match(obc);J=W&&J.match(pbc);M=ba&&M.match(pbc);y=J&&y.match(qbc);G=M&&G.match(rbc);return y||G?5:J||M?4:V&&!W&&ba?3:W||ba?2:V||U?1:0}for(var c=1;c<a.length-1;){if(0==a[c-1][0]&&0==a[c+1][0]){var d=a[c-1][1],e=a[c][1],f=a[c+1][1],h=fbc(d,e);if(h){var l=e.substring(e.length-h);d=d.substring(0,d.length-h);e=l+e.substring(0,e.length-h);f=l+f}h=d;l=e;for(var q=f,u=b(d,e)+b(e,f);e.charAt(0)===f.charAt(0);){d+=e.charAt(0);e=e.substring(1)+f.charAt(0);f=f.substring(1);var x=b(d,e)+b(e,f);x>=u&&(u=
x,h=d,l=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=l,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},nbc=/[^a-zA-Z0-9]/,obc=/\s/,pbc=/[\r\n]/,qbc=/\n\r?\n$/,rbc=/^\r?\n\r?\n/,hbc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",l;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;f+=b[c][1];c++;break;case 0:1<d+e?(0!==d&&0!==e&&(l=ebc(h,f),0!==l&&(0<c-d-e&&0==b[c-d-e-1][0]?b[c-d-e-1][1]+=h.substring(0,l):(b.splice(0,0,[0,h.substring(0,l)]),c++),h=h.substring(l),
f=f.substring(l)),l=fbc(h,f),0!==l&&(b[c][1]=h.substring(h.length-l)+b[c][1],h=h.substring(0,h.length-l),f=f.substring(0,f.length-l))),0===d?b.splice(c-e,d+e,[1,h]):0===e?b.splice(c-d,d+e,[-1,f]):b.splice(c-d-e,d+e,[-1,f],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):0!==c&&0==b[c-1][0]?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=f=""}""===b[b.length-1][1]&&b.pop();d=!1;for(c=1;c<b.length-1;)0==b[c-1][0]&&0==b[c+1][0]&&(b[c][1].substring(b[c][1].length-b[c-1][1].length)==b[c-1][1]?(b[c][1]=b[c-1][1]+b[c][1].substring(0,
b[c][1].length-b[c-1][1].length),b[c+1][1]=b[c-1][1]+b[c+1][1],b.splice(c-1,1),d=!0):b[c][1].substring(0,b[c+1][1].length)==b[c+1][1]&&(b[c-1][1]+=b[c+1][1],b[c][1]=b[c][1].substring(b[c+1][1].length)+b[c+1][1],b.splice(c+1,1),d=!0)),c++;d&&hbc(a,b)};var BU=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};BU.prototype.show=function(a,b,c){var d=this,e;return Ze(function(f){if(d.dialog&&2!==d.dialog.getState())return f.return();Lp(d.analytics,"commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:sbc(d,a,b,c)};d.dialog=d.dialogManager.open(zU,{data:e,width:"50vw"});return f.return((0,T.firstValueFrom)(XA(d.dialog)))})};
var sbc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var f=0<e.length?e[0].unlinkifiedComment:"",h=0<e.length?e[0].formattingMode:"",l=!1,q=[];e=m(e);for(var u=e.next();!u.done;u=e.next()){u=u.value;var x=yQa(u);x||l?(f=CU(u.unlinkifiedComment),h=CU(u.formattingMode)):(f=xQa(f,u.unlinkifiedComment),l=u.formattingMode,h=h===l?CU(l):Ap(CU(h,"diff-removed"),CU(l,"diff-added")));l=void 0===u.unlinkifiedComment?"":u.unlinkifiedComment;var y=u.version,G=u.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:u.lastEditorUser,version:y,formattingMode:u.formattingMode,formattingModeDiff:h,lastModified:Number(u.lastModified)/1E3,open:25>y,preview:48>=l.length?l:l.substring(0,45)+"...",diff:f,restricted:G&&G.piiVerdict&&"NONE_DETECTED"!==G.piiVerdict.severity||!1,deleted:yQa(u)});f=u.unlinkifiedComment;h=u.formattingMode;l=x}-1<d?q[d].open=!0:q[0].open=!0;return q})},CU=function(a,b){return zp("SPAN",b?{"class":b}:null,a)};
BU.\u0275fac=function(a){return new (a||BU)(n(LH),n(pI),n(bB))};BU.\u0275prov=Pc({token:BU,factory:BU.\u0275fac,providedIn:"root"});var tbc=new Map([["name","Name"],["description","Description"],["parentComponentId","Parent component ID"],["slo","SLO"],["team","Team"],["commentEditState","Editable comments"],["isArchived","Archived"],["defaultTemplateId","Default template ID"],["retentionSettings","Retention Settings"]]),ubc=new Map([[0,"Unknown"],[1,"Enabled"],[2,"Disabled"]]),BQa=new Map([[1,"Default (10 years)"],[2,"Custom Period"],[3,"Indefinite"]]),CQa=new Map([[1,"Default (60 days)"],[2,"Custom Period"],[3,"Match Issue Retention"]]);var DU=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};DU.\u0275fac=function(a){return new (a||DU)(n(pG),n(tu))};DU.\u0275prov=Pc({token:DU,factory:DU.\u0275fac,providedIn:"root"});var EQa=new Map([[0,"--"],[1,"User"],[2,"Bugscope"]]);var EU=function(a,b){Z.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new T.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(Qf(this.componentFridge.watch),Nf({refCount:!0,bufferSize:1}));this.init=new T.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};X(EU,Z);EU.\u0275dir=Z.\u0275dir;
EU.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=Kn({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=Jn("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=lsa(this.componentId,"basic");this.component$.pipe(Ef(),Rf(this.destroyed$)).subscribe(function(){a.init.next()})};EU.\u0275fac=function(a){return new (a||EU)(A(OF),A(tu))};
EU.\u0275cmp=r({type:EU,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[$f],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),O(2,IQa,16,8,"ng-container",2),R(3,"async"),E()());a&2&&(z(2),C("ngIf",S(3,1,b.component$)))},dependencies:[bx,
ML,hx],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var FU=function(){this.changes=new T.Subject;this.itemsPerPageLabel="Items per page:";this.nextPageLabel="Next page";this.previousPageLabel="Previous page";this.firstPageLabel="First page";this.lastPageLabel="Last page";this.getRangeLabel=function(a,b,c){if(0==c||0==b)return"0 of "+c;c=Math.max(c,0);a*=b;return a+1+" \u2013 "+(a<c?Math.min(a+b,c):a+b)+" of "+c}};FU.\u0275fac=function(a){return new (a||FU)};FU.\u0275prov=Pc({token:FU,factory:FU.\u0275fac,providedIn:"root"});
var vbc={provide:FU,deps:[[new Cv,new Dv,FU]],useFactory:function(a){return a||new FU}};new Ud("MAT_PAGINATOR_DEFAULT_OPTIONS");
var wbc=Hi(Dla(function(){})),GU=function(a,b,c){var d=wbc.call(this)||this;d._intl=a;d._changeDetectorRef=b;d._pageIndex=0;d._length=0;d._pageSizeOptions=[];d._hidePageSize=!1;d._showFirstLastButtons=!1;d.selectConfig={};d.page=new vw;d._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});if(c){var e=c.pageSize,f=c.pageSizeOptions,h=c.hidePageSize;c=c.showFirstLastButtons;null!=e&&(d._pageSize=e);null!=f&&(d._pageSizeOptions=f);null!=h&&(d._hidePageSize=h);null!=
c&&(d._showFirstLastButtons=c)}return d};X(GU,wbc);g=GU.prototype;g.ngOnInit=function(){this._initialized=!0;this._updateDisplayedPageSizeOptions();this._markInitialized()};g.ngOnDestroy=function(){this._intlChanges.unsubscribe()};g.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};g.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize};
g.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&0!=this.pageSize};g._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};g._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};g._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
g._updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,b){return a-b}),this._changeDetectorRef.markForCheck())};
g._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
Ei.Object.defineProperties(GU.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(Nh(a),0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=Nh(a);this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(Nh(a),0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return Nh(b)});this._updateDisplayedPageSizeOptions()}},hidePageSize:{configurable:!0,enumerable:!0,get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=Kh(a)}},showFirstLastButtons:{configurable:!0,enumerable:!0,get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=Kh(a)}}});
GU.\u0275fac=function(){be()};GU.\u0275dir=r({type:GU,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[$f]});var xbc=new Ud("/* Legacy */ MAT_PAGINATOR_DEFAULT_OPTIONS"),HU=function(a,b,c){a=GU.call(this,a,b,c)||this;c&&null!=c.formFieldAppearance&&(a._formFieldAppearance=c.formFieldAppearance);return a};X(HU,GU);HU.\u0275dir=GU.\u0275dir;HU.\u0275fac=function(a){return new (a||HU)(A(FU),A(Vw),A(xbc,8))};
HU.\u0275cmp=r({type:HU,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[$f],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition",
"disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],
["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],
[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],
template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),O(2,MQa,5,3,"div",2),D(3,"div",3)(4,"div",4),P(5),E(),O(6,NQa,3,5,"button",5),D(7,"button",6),K("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),yd(),D(8,"svg",7),F(9,"path",8),E()(),zd(),D(10,"button",9),K("click",function(){return b.nextPage()}),yd(),D(11,"svg",7),F(12,"path",10),E()(),O(13,OQa,3,5,"button",11),E()()());a&2&&(z(2),C("ngIf",!b.hidePageSize),z(3),Q(" ",b._intl.getRangeLabel(b.pageIndex,
b.pageSize,b.length)," "),z(1),C("ngIf",b.showFirstLastButtons),z(1),C("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),dg("aria-label",b._intl.previousPageLabel),z(3),C("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),dg("aria-label",b._intl.nextPageLabel),z(3),C("ngIf",b.showFirstLastButtons))},
dependencies:[ax,bx,NA,qB,EM,PA,qD],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],
encapsulation:2,changeDetection:0});var IU=function(a){this.paths=a;this.children=[];this.onVisit=new vw;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};IU.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};IU.\u0275fac=function(a){return new (a||IU)(A(cH))};
IU.\u0275cmp=r({type:IU,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:3,vars:2,consts:[[3,"length","pageSize","pageSizeOptions","page",4,"ngIf"],[1,"component-children"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageSizeOptions","page"],[1,"keep-underline","keep-focus-ring",3,"onedevHovercardTrigger","href","click"],["card","onedevHovercard"],[3,"componentId"]],template:function(a,b){a&1&&(O(0,PQa,1,3,"mat-paginator",0),D(1,"ul",1),O(2,
QQa,6,4,"li",2),E());a&2&&(C("ngIf",b.children.length>b.pageSize),z(2),C("ngForOf",b.childrenOnPage))},dependencies:[ax,bx,XI,bJ,EU,HU],encapsulation:2});var JU=function(){};JU.\u0275fac=function(a){return new (a||JU)};JU.\u0275mod=fd({type:JU});JU.\u0275inj=Qc({imports:[px,gN]});var KU=function(){};KU.\u0275fac=function(a){return new (a||KU)};KU.\u0275mod=fd({type:KU});KU.\u0275inj=Qc({providers:[vbc],imports:[px,BD,FM,lE,gA]});var LU=function(){};LU.\u0275fac=function(a){return new (a||LU)};LU.\u0275mod=fd({type:LU});LU.\u0275inj=Qc({imports:[px,gM,JU,KU]});var MU=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new vw;this.onClickCopyIssueShortLinks=new vw;this.onClickCopyAsIssueSearch=new vw};MU.\u0275fac=function(a){return new (a||MU)};
MU.\u0275cmp=r({type:MU,selectors:[["b-copy-issue-id-button"]],inputs:{shouldShowCopyIssueShortLinks:"shouldShowCopyIssueShortLinks",shortLinkPrefix:"shortLinkPrefix"},outputs:{onClickCopyIssueIds:"onClickCopyIssueIds",onClickCopyIssueShortLinks:"onClickCopyIssueShortLinks",onClickCopyAsIssueSearch:"onClickCopyAsIssueSearch"},decls:10,vars:2,consts:[["mat-button","","aria-label","Copy selected issue IDs",1,"gmat-button","medium","icon-only",3,"click"],["name","copy","size","small"],["mat-button",
"","aria-label","More copy issue ID options",1,"gmat-button","medium","compact",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["splitMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&(D(0,"b-button-group")(1,"button",0),K("click",function(){return b.onClickCopyIssueIds.emit()}),F(2,"b-icon",1),E(),D(3,"button",2),F(4,"b-icon",3),E(),D(5,"mat-menu",null,4),O(7,RQa,2,1,"button",5),D(8,"button",6),K("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
P(9," Copy as issue search "),E()()());if(a&2){var c=N(6);z(3);C("matMenuTriggerFor",c);z(4);C("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[bx,iD,gD,hD,NA,kS,nO],encapsulation:2,changeDetection:0});new Ud("xap-clipboard-snackbar-options");var NU=function(){};NU.\u0275fac=function(a){return new (a||NU)};NU.\u0275mod=fd({type:NU});NU.\u0275inj=Qc({imports:[px,BD,rD,iG]});var OU=function(){};OU.\u0275fac=function(a){return new (a||OU)};OU.\u0275mod=fd({type:OU});OU.\u0275inj=Qc({imports:[px,jD,BD,nS,KP,NU]});var PU=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=SBa(b)?"b/":"b-qa/"},uXa=function(a,b){a.clipboard.copy(b.join(", "));nG(a.butterBar,"Issue IDs copied.",2E3);Lp(a.analytics,Mp.LIST_ISSUES,"copyIssueId","IDs")},vXa=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));nG(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);Lp(a.analytics,Mp.LIST_ISSUES,"copyIssueId","b/ links")},wXa=function(a,
b){b=Kn({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);nG(a.butterBar,"Issue search link copied.",2E3);Lp(a.analytics,Mp.LIST_ISSUES,"copyIssueId","Issue search link")};PU.\u0275fac=function(a){return new (a||PU)(n(MI),n(tu),n(LH),n(mG),n(SE))};PU.\u0275prov=Pc({token:PU,factory:PU.\u0275fac,providedIn:"root"});var QU=function(a){this.el=a;this.minWidth=100;this.maxWidth=500;this.shadowInput=document.createElement("span");this.shadowInput.style.position="absolute";this.shadowInput.style.top="0px";this.shadowInput.style.left="0px";this.shadowInput.style.visibility="hidden";this.shadowInput.style.width="10px";this.shadowInput.style.whiteSpace="pre";this.shadowInput.style.overflow="hidden";this.shadowInput.style.padding="0";document.body.appendChild(this.shadowInput)};QU.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
QU.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};QU.prototype.resize=function(a){for(;this.shadowInput.firstChild;)this.shadowInput.removeChild(this.shadowInput.firstChild);this.shadowInput.appendChild(document.createTextNode(a));this.el.nativeElement.style.width=Math.min(Math.max(this.shadowInput.scrollWidth,this.minWidth),this.maxWidth)+"px"};QU.\u0275fac=function(a){return new (a||QU)(A(Yd))};
QU.\u0275dir=r({type:QU,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&K("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var RU=function(){};RU.\u0275fac=function(a){return new (a||RU)};RU.\u0275mod=fd({type:RU});RU.\u0275inj=Qc({});var SU=function(){this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};Ei.Object.defineProperties(SU.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){this.componentPath="settings"===this.componentPathsLinkTo?Kq(a,Nn):Kq(a)}}});SU.\u0275fac=function(a){return new (a||SU)};
SU.\u0275cmp=r({type:SU,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},decls:6,vars:3,consts:[["role","navigation","aria-labelledby","breadcrumb-label",1,"breadcrumb"],["id","breadcrumb-label"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],["class","breadcrumb-archived-indicator",4,"ngIf"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"onedevHovercardTrigger",
"routerLinkObj"],["card","onedevHovercard"],[3,"componentId"],[1,"breadcrumb-archived-indicator"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"p",1),P(2),E(),D(3,"span",2),O(4,SQa,6,4,"span",3),O(5,TQa,2,0,"span",4),E()());a&2&&(z(2),Q("",b.label,":"),z(2),C("ngForOf",b.componentPath),z(1),C("ngIf",b.isArchived))},dependencies:[ax,bx,XI,bJ,EU,GN],encapsulation:2});var TU=function(){};TU.\u0275fac=function(a){return new (a||TU)};TU.\u0275mod=fd({type:TU});TU.\u0275inj=Qc({imports:[px,gM,JU,HN]});var UU=function(){this.warningChunks=[]};UU.prototype.ngOnInit=function(){var a=this.warningText,b=YQa(a,"EXTERNAL_PUBLIC")||YQa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};UU.prototype.isText=function(a){return void 0!==a.text};UU.\u0275fac=function(a){return new (a||UU)};
UU.\u0275cmp=r({type:UU,selectors:[["b-component-move-warning-content"]],inputs:{warningText:"warningText"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"accessLevel"]],template:function(a,b){a&1&&(D(0,"div"),O(1,WQa,3,2,"span",0),E());a&2&&(z(1),C("ngForOf",b.warningChunks))},dependencies:[ax,bx,ML],encapsulation:2});var XQa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var VU=function(a,b,c){this.data=a;this.documentationLinks=b;this.dialogRef=c;this.acknowledged=!0;this.warning=this.header="";this.isAllowed=this.isExternalMove=!1;this.callbacks={allow:function(){},cancel:function(){}};this.learnMore=xZb(b);this.header=a.response.warningHeader;this.warning=a.response.warning;if(this.isExternalMove=a.response.isExternalMove)this.acknowledged=!1;this.isAllowed=a.response.isAllowed;this.callbacks=a.callbacks};
VU.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};VU.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};VU.\u0275fac=function(a){return new (a||VU)(A(aB),A(hJ),A(ZA))};
VU.\u0275cmp=r({type:VU,selectors:[["b-component-move-warning"]],decls:13,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"component-move-warning-text"],[3,"warningText"],["target","_blank"],[4,"ngIf"],["mat-button","","mat-dialog-close","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","cdkFocusInitial","","class","gmat-button",3,"disabled","click",4,"ngIf"],["gmat-checkbox","",3,"ngModel","ngModelChange"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button",
3,"disabled","click"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,"div",1)(3,"div",2),F(4,"b-component-move-warning-content",3),E(),F(5,"br"),D(6,"a",4),P(7,"Learn more"),E(),O(8,ZQa,5,1,"div",5),E(),D(9,"mat-dialog-actions")(10,"button",6),K("click",function(){return b.cancel()}),P(11," Cancel "),E(),O(12,$Qa,2,1,"button",7),E());a&2&&(z(1),Bg(b.header),z(3),C("warningText",b.warning),z(2),dg("href",b.learnMore,ue),z(2),C("ngIf",b.isExternalMove&&b.isAllowed),z(4),C("ngIf",b.isAllowed))},
dependencies:[bx,Ex,Lx,NA,QI,cB,dB,eB,fB,UU],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var WU=function(){};WU.\u0275fac=function(a){return new (a||WU)};WU.\u0275mod=fd({type:WU});WU.\u0275inj=Qc({imports:[px,ay,BD,BM,gB,gN]});var XU=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};XU.prototype.showChildren=function(a){var b=this;a.showChildren=!0;a.children?this.cdr.detectChanges():this.componentActions.getChildren(a.componentId,this.includeArchived).then(function(c){a.children=c;0===c.length&&(a.noChildren=!0);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var YU=function(a,b){a.selectedId&&ybc(a,a.selectedId);a.selectedId=b;if(a=zbc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},ZU=function(a){if(!a.selectedId||1>a.selectedId)return null;var b;return null!=(b=a.components.find(function(c){return c.componentId==a.selectedId}))?b:null},Abc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},ybc=function(a,b){b&&(a=zbc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},zbc=function(a){return a?document.getElementById("component-"+a):null},Bbc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var Cbc={QA:124156,NIGHTLY:190923,PROD:190923};var $U=function(a,b,c,d,e,f){Z.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=f;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(l){h.components.removeAll();d.invalidate(l)}));this.componentGetter=c.adapt(function(l){var q=Pa(l);Wa(q);return h.componentApi.query({id:q}).then(function(u){var x={};u=m(u);for(var y=u.next();!y.done;y=
u.next())(y=y.value)&&(x[y.componentId]=y);return l.map(function(G){return x[G]||null})})})};X($U,Z);$U.\u0275dir=Z.\u0275dir;g=$U.prototype;g.get=function(a){var b=this.components.get(String(a));if(null!=b)return b;b=this.componentGetter.get(a).then(function(c){return null!=c?c:Promise.reject({data:{message:"Could not load details for component "+a}})});return this.components.put(String(a),b)};
g.create=function(a){var b=this;return this.componentApi.create(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.update=function(a){var b=this;return this.componentApi.update(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.move=function(a,b){var c=this;return this.componentApi.move(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};
g.updateSlo=function(a,b){var c=this;return this.componentApi.updateSlo(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.updateTeam=function(a,b){var c=this;return this.componentApi.updateTeam(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.getChildren=function(a,b,c){return this.componentApi.getChildren(a,void 0===b?!1:b,c)};
g.getUncached=function(a,b){b=void 0===b?!1:b;this.components.remove(String(a));var c={};b&&(c.checkEditAccess=!0);return this.componentApi.fetchComponent(a,c)};g.search=function(a,b){var c={query:a};if(void 0===b?0:b)c.includearchived=!0;return Dbc(this,a,this.componentApi.query(c))};
var Dbc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=Cbc[a.activeSession.getEnvironmentType()];if(d)return Tp({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=m(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&f.push(h);return f})}return c};
$U.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(f){return!b.components.get(String(f))});Wa(c);if(c.length){a=this.componentApi.query({id:c}).then(function(f){var h={};f=m(f);for(var l=f.next();!l.done;l=f.next())(l=l.value)&&(h[l.componentId]=l);return h});var d={};c=m(c);for(var e=c.next();!e.done;d={$jscomp$loop$prop$id$2194:d.$jscomp$loop$prop$id$2194},e=c.next())d.$jscomp$loop$prop$id$2194=e.value,this.components.put(String(d.$jscomp$loop$prop$id$2194),a.then(function(f){return function(h){return h[f.$jscomp$loop$prop$id$2194]?
h[f.$jscomp$loop$prop$id$2194]:Promise.reject({data:{message:"Could not load details for component "+f.$jscomp$loop$prop$id$2194}})}}(d)))}};$U.\u0275fac=function(a){return new (a||$U)(n(lH),n(HTb),n(YF),n(OF),n(uG),n(tu))};$U.\u0275prov=Pc({token:$U,factory:$U.\u0275fac,providedIn:"root"});var cRa=function(a){return{q:a}},aV=function(a,b,c,d){XU.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new vw;this.selectedId=null};X(aV,XU);aV.prototype.ngOnInit=function(){};aV.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};aV.prototype.ngOnChanges=function(a){a.components&&Ebc(this)};aV.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;YU(this,a);this.rootController.selectionChanged(this,a)};
var Ebc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){return a.selectNext()})};g=aV.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=Abc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(ybc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(YU(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else YU(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=Abc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(YU(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=ZU(this);a.showChildren?a.showChildren=!1:(this.selectedId=null,this.parentComponent.showChildren=!1,this.childClosed.emit(this.parentComponent.componentId));this.cdr.detectChanges()}};
g.showChildrenForSelectedId=function(){var a=ZU(this);a&&this.showChildren(a)};g.setSelected=function(a,b){Bbc(b)||(YU(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=ZU(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};aV.\u0275fac=function(a){return new (a||aV)(A($U),A(cH),A(qG),A(HH,2))};
aV.\u0275cmp=r({type:aV,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Dg([HH]),$f,md],decls:2,vars:1,consts:[[1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click"],[1,"component-row"],[1,"selected-indicator"],
[1,"component-tree-toggle"],["matTooltip","Show child components",3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["class","gmat-button","mat-raised-button","",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],
["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","",1,"gmat-button",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"components",
"parentComponent","rootController","includeArchived","childClosed"]],template:function(a,b){a&1&&(D(0,"ol",0),O(1,kRa,19,12,"li",1),E());a&2&&(z(1),C("ngForOf",b.components))},dependencies:[ax,bx,qD,OA,OB,vN,ML,kO,aV],encapsulation:2});var nRa=function(a){return{q:a}},bV=function(a,b,c,d,e,f){XU.call(this,a,d,f);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new vw;this.subscriptions=new T.Subscription;this.destroyed$=new T.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};X(bV,XU);g=bV.prototype;
g.ngOnInit=function(){var a=this;this.rootController=this;(0,T.timer)(0).pipe(Rf(this.destroyed$)).subscribe(function(){Fbc(a)&&!a.selectedId&&YU(a,a.components[0].componentId)});this.init.emit(this)};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};g.ngOnChanges=function(a){a.components&&Gbc(this)};g.onSubtreeChildClosed=function(a){var b=this;YU(this,a);this.focusedController=void 0;(0,T.timer)(0).pipe(Rf(this.destroyed$)).subscribe(function(){cV(b)})};
g.fireSelectionEvent=function(a){var b=zbc(a);b&&b.click();cV(this,a)};var Gbc=function(a){(0,T.timer)(0).pipe(Rf(a.destroyed$)).subscribe(function(){Fbc(a)&&!a.selectedId&&YU(a,a.components[0].componentId)})};g=bV.prototype;g.selectionChanged=function(a,b){b&&cV(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&ybc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
g.setSelected=function(a,b){Bbc(b)||(YU(this,a),this.selectionChanged(null),cV(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(a){var b=this;this.subscriptions.add(wO(a,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){b.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){b.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){b.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",description:"Close the components children",
onPress:function(){b.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){b.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=ZU(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=ZU(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(ZU(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=Abc(this);Fbc(this)&&1<=a&&(YU(this,this.components[a-1].componentId),cV(this))}};
g.selectNext=function(){if(Fbc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=Abc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(ybc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(YU(this,this.components[a+1].componentId),cV(this))}else YU(this,this.components[0].componentId),cV(this)};
var cV=function(a,b){var c=Hbc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=zbc(b||a.selectedId)){b=Hbc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},Hbc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},Fbc=function(a){return!!(a.components&&0<a.components.length)};bV.\u0275fac=function(a){return new (a||bV)(A($U),A(cH),A(vO),A(qG),A(Yd),A(HH,2))};
bV.\u0275cmp=r({type:bV,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Dg([HH]),$f,md],decls:2,vars:1,consts:[["role","tree",1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],["matTooltip","Show child components",
3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["class","gmat-button","mat-raised-button","",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip",
"Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","",1,"gmat-button",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"components","parentComponent","rootController","includeArchived","childClosed"]],template:function(a,
b){a&1&&(D(0,"ol",0),O(1,vRa,19,12,"li",1),E());a&2&&(z(1),C("ngForOf",b.components))},dependencies:[ax,bx,qD,OA,OB,vN,ML,kO,aV],encapsulation:2});var dV=function(){};dV.\u0275fac=function(a){return new (a||dV)};dV.\u0275mod=fd({type:dV});dV.\u0275inj=Qc({imports:[px,lE,BD,rD,xN,gN,IP]});var Ibc=new Ud("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});new Ud("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});var Jbc=0,Kbc=Ii(Fi(Gi(Hi(function(a){this._elementRef=a})))),eV=function(a,b,c,d,e,f,h){a=Kbc.call(this,a)||this;a._focusMonitor=b;a._changeDetectorRef=c;a.defaults=e;a._onChange=function(){};a._onTouched=function(){};a._required=!1;a._checked=!1;a.name=null;a.labelPosition="after";a.ariaLabel=null;a.ariaLabelledby=null;a.change=new vw;a.toggleChange=new vw;a.tabIndex=parseInt(d)||0;a.color=a.defaultColor=e.color||"accent";a._noopAnimations="NoopAnimations"===f;a.id=a._uniqueId=h+ ++Jbc;return a};
X(eV,Kbc);g=eV.prototype;g.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){"keyboard"===b||"program"===b?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._onChange=a};
g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};g.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};g._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};
Ei.Object.defineProperties(eV.prototype,{required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Kh(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=Kh(a);this._changeDetectorRef.markForCheck()}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});eV.\u0275fac=function(){be()};
eV.\u0275dir=r({type:eV,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[$f]});var fV=function(){};fV.\u0275fac=function(a){return new (a||fV)};fV.\u0275mod=fd({type:fV});fV.\u0275inj=Qc({});var Lbc=["input"],Mbc=function(a){return{enterDuration:a}},Nbc={provide:rx,useExisting:Nc(function(){return gV}),multi:!0},Obc=function(a,b){this.source=a;this.checked=b},gV=function(a,b,c,d,e,f){return eV.call(this,a,b,c,d,e,f,"mat-slide-toggle-")||this};X(gV,eV);gV.\u0275dir=eV.\u0275dir;g=gV.prototype;g._createChangeEvent=function(a){return new Obc(this,a)};
g._onChangeEvent=function(a){a.stopPropagation();this.toggleChange.emit();this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())};g._onInputClick=function(a){a.stopPropagation()};g.focus=function(a,b){b?my(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};
gV.\u0275fac=function(a){return new (a||gV)(A(Yd),A(ly),A(Vw),Id("tabindex"),A(Ibc),A(Ov,8))};
gV.\u0275cmp=r({type:gV,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&Sg(Lbc,5);if(a&2){var c;Rg(c=Ug())&&(b._inputElement=c.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(ug("id",b.id),dg("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),pg("mat-checked",b.checked)("mat-disabled",b.disabled)("mat-slide-toggle-label-before","before"==b.labelPosition)("_mat-animation-noopable",b._noopAnimations))},inputs:{disabled:"disabled",
disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[Dg([Nbc]),$f],ngContentSelectors:["*"],decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple",
"mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(a,b){a&1&&(wg(),D(0,"label",0,1)(2,"span",2)(3,"input",3,4),K("change",function(e){return b._onChangeEvent(e)})("click",function(e){return b._onInputClick(e)}),E(),D(5,"span",5),F(6,"span",6),D(7,"span",
7),F(8,"span",8),E()()(),D(9,"span",9,10),K("cdkObserveContent",function(){return b._onLabelTextChange()}),D(11,"span",11),P(12,"\u00a0"),E(),xg(13),E()());if(a&2){var c=N(1),d=N(10);dg("for",b.inputId);z(2);pg("mat-slide-toggle-bar-no-side-margin",!d.textContent||!d.textContent.trim());z(1);C("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex)("checked",b.checked)("disabled",b.disabled);dg("name",b.name)("aria-checked",b.checked)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",
b.ariaDescribedby);z(4);C("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Gg(18,Mbc,b._noopAnimations?0:150))}},dependencies:[qA,kz],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}\n'],
encapsulation:2,changeDetection:0});var hV=function(){};hV.\u0275fac=function(a){return new (a||hV)};hV.\u0275mod=fd({type:hV});hV.\u0275inj=Qc({imports:[fV,tA,gA,lz,fV,gA]});var Pbc=0,iV=function(){this.id="b-slide-toggle-"+ ++Pbc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new vw};iV.\u0275fac=function(a){return new (a||iV)};
iV.\u0275cmp=r({type:iV,selectors:[["b-slide-toggle"]],hostAttrs:[1,"vertical-centered"],inputs:{id:"id",label:"label",ariaLabel:["aria-label","ariaLabel"],labelPosition:"labelPosition",model:"model",tooltip:"tooltip",disabled:"disabled"},outputs:{modelChange:"modelChange"},decls:2,vars:7,consts:[[3,"id","disabled","checked","aria-label","matTooltip","labelPosition","change"]],template:function(a,b){a&1&&(D(0,"mat-slide-toggle",0),K("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
P(1),E());if(a&2){var c;C("id",b.id)("disabled",b.disabled)("checked",b.model)("aria-label",b.ariaLabel||b.label)("matTooltip",null!==(c=b.tooltip)&&void 0!==c?c:"")("labelPosition",b.label?b.labelPosition:"after");z(1);Bg(b.label)}},dependencies:[gV,qD],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var jV=function(){};jV.\u0275fac=function(a){return new (a||jV)};jV.\u0275mod=fd({type:jV});jV.\u0275inj=Qc({imports:[hV,lE]});var kV=function(a){this.$log=a;this.accessPolicyPrincipalToString=dk;this.stringToAccessPolicyPrincipal=fk},lV=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},mV=function(a){return{admins:Lq(a.admins),editors:Lq(a.editors),appenders:Lq(a.appenders),readers:Lq(a.readers),restrictedReaders:Lq(a.restrictedReaders),restrictedPlusReaders:Lq(a.restrictedPlusReaders),inheritedAdmins:Lq(a.inheritedAdmins),
implicitAccess:a.implicitAccess||null}},nV=function(a){return{admins:Mq(a.admins),editors:Mq(a.editors),appenders:Mq(a.appenders),readers:Mq(a.readers),restrictedReaders:Mq(a.restrictedReaders),restrictedPlusReaders:Mq(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}};kV.\u0275fac=function(a){return new (a||kV)(n(pG))};kV.\u0275prov=Pc({token:kV,factory:kV.\u0275fac,providedIn:"root"});
var Qbc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var oV=function(a){Y.call(this,a)};X(oV,Y);oV.prototype.getSocialApplication=function(){return Db(this,3)};oV.prototype.getSocialApplicationOrUndefined=function(){return rt(this,3)};oV.prototype.getAffinityType=function(){return lk(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};oV.prototype.setAffinityType=function(a){return k(this,12,a)};var pV=function(a){Y.call(this,a,-1,Rbc)};X(pV,Y);pV.prototype.getExperimentIdsList=function(){return ej(this,4)};pV.prototype.setExperimentIdsList=function(a){return Lm(this,4,a)};var Rbc=[4];var Sbc=function(a){Y.call(this,a)};X(Sbc,Y);g=Sbc.prototype;g.getClientInfo=function(){return wk(this,oV,1)};g.getMutableClientInfo=function(){return sBb(this,oV,1)};g.setClientInfo=function(a){Ok(this,oV,1,a)};g.getExperiments=function(){return wk(this,pV,2)};g.setExperiments=function(a){Ok(this,pV,2,a)};g.hasExperiments=function(){return sl(this,pV,2)};var Tbc=cc(Sbc);var Ubc;var Vbc=function(a){Y.call(this,a)};X(Vbc,Y);g=Vbc.prototype;g.getDelegatorId=function(){return Db(this,2)};g.getEnvType=function(){return Db(this,5)};g.getEnvType_legacyNullable=function(){return Db(this,5)};g.setEnvType=function(a){k(this,5,a)};g.getCacheSize=function(){return Db(this,7)};g.setCacheSize=function(a){k(this,7,a)};g.hasCacheSize=function(){return qm(this,7)};var yRa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,wRa=/([#].*?&|[#])authuser=([^&#]*)\b/,xRa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var qV=function(){this.config_=Ab(Ubc||(Ubc=Tbc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new Vbc;this.onAuthError_=this.gapiClientThenable_=null};qV.prototype.getClientInfo=function(){return this.config_.getClientInfo()};qV.prototype.getExperiments=function(){return this.config_.getExperiments()};qV.prototype.getUserInfo=function(){return this.userInfo_};
var Wbc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=DRa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};qV.prototype.getAuthErrorHandler=function(){return this.onAuthError_};var Xbc=function(){};var rV=[];rV.push=function(){throw Error("xd");};var sV={cancel:function(){},isPending:function(){return!1}};var tV=function(a){this.response_=a||function(){};this.timer_=Nt(this.onTimer_,0,this);this.addressBookId_=""};g=tV.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){Ot(this.timer_);this.timer_=null};g.isPending=function(){return!!this.timer_};g.onTimer_=function(){this.timer_=null;this.response_()};g.setQuery=function(a){this.query_=a};g.getQuery=function(){return this.query_};var Ybc=new Map([["personal",2],["domain",4],["pcab",3]]);var Pq=function(a){Y.call(this,a)};X(Pq,Y);g=Pq.prototype;g.getEventType=function(){return bk(this,1,0)};g.setEventType=function(a){return k(this,1,a)};g.getApiType=function(){return bk(this,2,0)};g.setApiType=function(a){return k(this,2,a)};g.getCacheStatus=function(){return bk(this,3,0)};g.setCacheStatus=function(a){return k(this,3,a)};g.getAddressBook=function(){return bk(this,4,0)};g.setAddressBook=function(a){return k(this,4,a)};g.getRpcType=function(){return bk(this,5,0)};
g.setRpcType=function(a){return k(this,5,a)};g.getLookupType=function(){return bk(this,6,0)};g.setLookupType=function(a){return k(this,6,a)};g.getToken=function(){return lk(this,7,"")};g.setToken=function(a){return k(this,7,a)};var uV=function(a){Y.call(this,a)};X(uV,Y);uV.prototype.setDevice=function(a){return k(this,1,a)};uV.prototype.getApplication=function(){return Db(this,2)};uV.prototype.setApplication=function(a){return k(this,2,a)};uV.prototype.getApplicationOrUndefined=function(){return rt(this,2)};var vV=function(a){Y.call(this,a,-1,Zbc)};X(vV,Y);g=vV.prototype;g.setEventSource=function(a){k(this,2,a)};g.getEventSourceOrUndefined=function(){return rt(this,2)};g.getSocialClient=function(){return wk(this,uV,3)};g.setSocialClient=function(a){return Ok(this,uV,3,a)};g.setVersionName=function(a){return k(this,5,a)};g.getBaselineCl=function(){return Db(this,7)};g.setBaselineCl=function(a){return k(this,7,a)};g.hasBaselineCl=function(){return zm(this,7)};
g.getBaselineClOrUndefined=function(){return Su(this,7)};g.setClientAgent=function(a){return k(this,9,a)};g.getClientAgentOrUndefined=function(){return rt(this,9)};g.getPeoplekitEntryPoint=function(){return Db(this,11)};g.setPeoplekitEntryPoint=function(a){return k(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return rt(this,11)};g.setEnvironment=function(a){return k(this,13,a)};g.getEnvironmentOrUndefined=function(){return rt(this,13)};var Zbc=[6];var $bc=function(a){Y.call(this,a)};X($bc,Y);g=$bc.prototype;g.getApiType=function(){return Db(this,1)};g.setApiType=function(a){return k(this,1,a)};g.getItemCount=function(){return Db(this,2)};g.setItemCount=function(a){return k(this,2,a)};g.hasItemCount=function(){return qm(this,2)};var acc=function(a){Y.call(this,a)};X(acc,Y);g=acc.prototype;g.getApiType=function(){return Db(this,1)};g.setApiType=function(a){return k(this,1,a)};g.getItemCount=function(){return Db(this,2)};g.setItemCount=function(a){return k(this,2,a)};g.hasItemCount=function(){return qm(this,2)};g.getStatus=function(){return bk(this,4,2)};g.setStatus=function(a){return k(this,4,a)};g.hasStatus=function(){return Sk(this,4)};g.setTotalUsec=function(a){return k(this,5,a)};
g.setBlockedUsec=function(a){return k(this,6,a)};g.setNetworkUsec=function(a){k(this,7,a)};g.getCacheStatus=function(){return Db(this,8)};g.setCacheStatus=function(a){return k(this,8,a)};g.getAddressBook=function(){return Db(this,9)};g.setAddressBook=function(a){return k(this,9,a)};var wV=function(a){Y.call(this,a)};X(wV,Y);wV.prototype.getStatus=function(){return bk(this,1,2)};wV.prototype.setStatus=function(a){return k(this,1,a)};wV.prototype.hasStatus=function(){return Sk(this,1)};wV.prototype.setTotalUsec=function(a){return k(this,2,a)};var xV=function(a){Y.call(this,a)};X(xV,Y);xV.prototype.getRpcType=function(){return Db(this,1)};xV.prototype.setRpcType=function(a){return k(this,1,a)};xV.prototype.getLookupType=function(){return Db(this,2)};xV.prototype.setLookupType=function(a){return k(this,2,a)};var bcc=function(a){Y.call(this,a)};X(bcc,Y);g=bcc.prototype;g.getRpcType=function(){return Db(this,1)};g.setRpcType=function(a){return k(this,1,a)};g.getLookupType=function(){return Db(this,2)};g.setLookupType=function(a){return k(this,2,a)};g.getStatus=function(){return bk(this,3,2)};g.setStatus=function(a){return k(this,3,a)};g.hasStatus=function(){return Sk(this,3)};g.setTotalUsec=function(a){return k(this,4,a)};g.setBlockedUsec=function(a){return k(this,5,a)};
g.setNetworkUsec=function(a){k(this,6,a)};var yV=function(a){Y.call(this,a)};X(yV,Y);g=yV.prototype;g.getEnvType=function(){return Db(this,1)};g.getEnvType_legacyNullable=function(){return Db(this,1)};g.setEnvType=function(a){k(this,1,a)};g.getCacheSize=function(){return Db(this,2)};g.setCacheSize=function(a){k(this,2,a)};g.hasCacheSize=function(){return qm(this,2)};var zV=function(a){Y.call(this,a)};X(zV,Y);g=zV.prototype;g.getClientInterface=function(){return wk(this,vV,1)};g.setClientInterface=function(a){return Ok(this,vV,1,a)};g.getSource=function(){return Db(this,2)};g.setSource=function(a){return k(this,2,a)};g.hasSource=function(){return Sk(this,2)};g.getSourceOrUndefined=function(){return rt(this,2)};g.getEventType=function(){return Db(this,3)};g.getEventType_legacyNullable=function(){return Db(this,3)};g.setEventType=function(a){return k(this,3,a)};
g.setRpcRequest=function(a){return am(this,5,AV,a)};g.setRpcResponse=function(a){return am(this,6,AV,a)};g.setApiCall=function(a){return am(this,7,AV,a)};g.setApiResult=function(a){return am(this,8,AV,a)};g.getUserInfo=function(){return wk(this,yV,9)};g.setUserInfo=function(a){return Ok(this,yV,9,a)};g.hasUserInfo=function(){return sl(this,yV,9)};var AV=[4,5,6,7,8];var ccc=new Map([[200,0],[400,3],[401,16],[403,7],[404,5],[409,10],[416,11],[429,8],[499,1],[-1,1],[504,4],[501,12],[503,14]]),dcc=new Map([[0,0],[1,11],[2,1],[3,3],[4,10],[5,8],[6,7],[7,2],[16,2],[8,6],[9,7],[10,11],[11,9],[12,5],[13,9],[14,4],[15,6]]),ecc=new Map([[0,0],[11,1],[1,2],[3,3],[10,4],[8,5],[2,16],[6,8],[7,9],[5,12],[9,13],[4,14]]),fcc=function(a){return dcc.has(a)?dcc.get(a):1},gcc=function(a){return ecc.has(a)?ecc.get(a):2};var hcc=function(a){this.request_=a;this.errorCode_=0},icc=function(a,b){b=new hcc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=hcc.prototype;g.hasChanges=function(){return this.mutateResponse_&&this.mutateResponse_.getOperation()?this.mutateResponse_.getOperation().hasChanges():!1};g.getError=function(){return this.errorCode_};g.getErrorCode=function(){return this.errorCode_};g.getQuery=function(){return this.request_.getQuery()};g.getConfiguration=function(){return this.queryResponse_.getConfiguration()};
g.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var BV=function(a){this.map_=new hH;this.size=0;a&&this.addAll(a)},jcc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Va(a):b.charAt(0)+a};g=BV.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(jcc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=ND(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};g.removeAll=function(a){a=ND(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};
g.delete=function(a){a=this.map_.remove(jcc(a));this.setSizeInternal_(this.map_.size);return a};g.remove=function(a){return this.delete(a)};g.clear=function(){this.map_.clear();this.setSizeInternal_(0)};g.isEmpty=function(){return 0===this.map_.size};g.has=function(a){return this.map_.containsKey(jcc(a))};g.contains=function(a){return this.map_.containsKey(jcc(a))};g.intersection=function(a){var b=new BV;a=ND(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};
g.getValues=function(){return this.map_.getValues()};g.values=function(){return this.map_.values()};g.clone=function(){return new BV(this)};g.equals=function(a){return this.getCount()==vPb(a)&&kcc(this,a)};
var kcc=function(a,b){var c=vPb(b);if(a.getCount()>c)return!1;!(b instanceof BV)&&5<c&&(b=new BV(b));return yPb(a,function(d){var e=b;if(e.contains&&"function"==typeof e.contains)d=e.contains(d);else if(e.containsValue&&"function"==typeof e.containsValue)d=e.containsValue(d);else if(Qa(e)||"string"===typeof e)d=Ia(e,d);else a:{for(var f in e)if(e[f]==d){d=!0;break a}d=!1}return d})};BV.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};BV.prototype[Symbol.iterator]=function(){return this.values()};
BV.prototype.setSizeInternal_=function(a){this.size=a};var CV=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new BV(c);this.extraFields_=[]};CV.prototype.toString=function(){var a=this.name_?"g"+this.name_:this.fields_.join(",");this.name_&&this.extraFields_.length&&(a+=","+this.extraFields_.join(","));return a};var lcc=function(a){a.fieldSet_||(a.fieldSet_=new BV(a.fields_));return a.fieldSet_};
CV.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new BV);if(this.doesntContain_.has(a))return!1;var b=lcc(this),c=lcc(a);if(yPb(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var mcc=new CV(["6","12"],"1"),ncc=new CV("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[mcc]);new CV("6 12 16 17 18 1a".split(" "),"3",[mcc]);
new CV("2 4 2a 5 6 9 b 1c d e f 11 12 29 13 14 15 1d 22 16 17 19 28 1e 1b".split(" "),"2",[mcc,ncc]);new CV([]);var occ={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var pcc=function(a,b,c){cC.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};X(pcc,cC);g=pcc.prototype;g.getGroup=function(){return this.group};g.setGroup=function(a){this.group=a};g.isSuccess=function(){return this.getState().isSuccess()};g.setSuccess=function(a){this.getState().setSuccess(a)};g.getMaxNumRetries=function(){this.getState().getMaxNumRetries()};g.setMaxNumRetries=function(a){this.getState().setMaxNumRetries(a)};g.reset=function(){this.getState().reset()};
g.getNumTriesLeft=function(){return this.getState().getNumTriesLeft()};g.setRunState=function(a){this.getState().setRunState(a)};g.setRunTime=function(a){this.getState().setRunTime(a)};g.setRunTimerId=function(a){this.getState().setRunTimerId(a)};g.incNumSuccesses=function(){this.getState().incNumSuccesses()};g.incNumFailures=function(){this.getState().incNumFailures()};g.incNumExecutions=function(){this.getState().incNumExecutions()};g.decNumTriesLeft=function(){this.getState().decNumTriesLeft()};
g.isPending=function(){return this.getState().isPending()};g.cancel=function(){this.scheduler.cancel(this.getState())};g.getState=function(){return this.scheduler.getState(this.group)};g.run=function(){this.incNumExecutions();this.runFunction_(this)};g.isDone=function(a){return this.scheduler.isDone(this,a)};var qcc=function(a){cC.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};X(qcc,cC);g=qcc.prototype;g.reset=function(){this.numTriesLeft=this.maxNumRetries_;this.success=!1;this.runState=1;this.runTimerId=this.runTime=-1};g.isSuccess=function(){return this.success};g.setSuccess=function(a){this.success=a};g.getMaxNumRetries=function(){return this.maxNumRetries_};g.setRunState=function(a){this.runState=a};g.setRunTime=function(a){this.runTime=a};
g.setRunTimerId=function(a){this.runTimerId=a};g.setMaxNumRetries=function(a){this.maxNumRetries_=a};g.getNumTriesLeft=function(){return this.numTriesLeft};g.decNumTriesLeft=function(){--this.numTriesLeft};g.incNumSuccesses=function(){};g.incNumFailures=function(){};g.incNumExecutions=function(){};g.isPending=function(){return!(4==this.runState||5==this.runState)};g.disposeInternal=function(){cC.prototype.disposeInternal.call(this);this.scheduler=null};var rcc=function(){cC.call(this);this.states={};this.currentGroup=1};X(rcc,cC);rcc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new qcc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();scc(a,b,e);break;case 6:scc(a,b,e);break;case 4:d&&(f.reset(),scc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),scc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var scc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(Nt(a.run,b,a)))};g=rcc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){cC.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);Oi(b)}this.states={}};g.cancel=function(a){2==a.runState&&Ot(a.runTimerId)};
g.isDone=function(a,b){b?a.incNumSuccesses():a.incNumFailures();a.setSuccess(b);a.decNumTriesLeft();if(!b&&0<a.getNumTriesLeft())return a.setRunState(6),this.schedule(a,Math.max(100,Math.round(45E3*Math.random()))),!1;a.setRunState(b?4:5);return!0};var tcc={SOMETHING_CHANGED:"a",ERROR:"b"},DV=function(a,b){eC.call(this,a&&a[0].getError()?"b":"a");this.responses_=a;this.source_=b||"d"};X(DV,eC);DV.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];Da(this.responses_,function(b){b=b.getOperation().getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};DV.prototype.getSource=function(){return this.source_};var ucc=function(a,b){this.fn_=a;this.handler_=b};ucc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};ucc.prototype.abort=function(){this.handler_=this.fn_=null};uLb(function(a){ucc.prototype.execute=a(ucc.prototype.execute)});var vcc=[];var EV=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];this.addDependencies(c,!1)};EV.prototype.toString=function(){return this.serviceId_};EV.prototype.getModuleId=function(){return this.moduleId_};
EV.prototype.addDependencies=function(a,b){var c=this;b=void 0===b?!1:b;this.dependencies_=this.dependencies_.concat(a);if(b){if(!this.moduleId_)throw Error("yd`"+this.serviceId_);a.map(function(d){return d.getModuleId()}).forEach(function(d){vcc.push(function(e){e.addExtraEdge(c.moduleId_,d)})})}};new EV("ZtVrH");new EV("rJmJrc","rJmJrc");new EV("fJuxOc");new EV("NGntwf");new EV("ofuapc");new EV("BWETze");new EV("ZmXAm");new EV("n73qwf","n73qwf");new EV("Bgf0ib");new EV("MpJwZc","MpJwZc");new EV("UUJqVe","UUJqVe");new EV("GHAeAc","GHAeAc");new EV("Wt6vjf","Wt6vjf");new EV("byfTOb","byfTOb");new EV("LEikZe","LEikZe");new EV("lsjVmc","lsjVmc");new EV("pVbxBc");new EV("klpyYe");new EV("OPbIxb");new EV("pg9hFd");new EV("IaqD3e");new EV("Xpw1of");new EV("v5BQle");new EV("tdUkaf");new EV("WSziFf");new EV("UBSgGf");new EV("zZa4xc");new EV("o1bZcd");new EV("WwG67d");new EV("z72MOc");new EV("JccZRe");new EV("amY3Td");new EV("ABma3e");new EV("gSshPb");new EV("yu4DA");new EV("vk3Wc");new EV("IykvEf");new EV("J5K1Ad");new EV("IW8Usd");new EV("jbDgG");new EV("b8xKu");new EV("d0RAGb");new EV("AzG0ke");new EV("J4QWB");new EV("TuDsZ");new EV("hdXIif");new EV("mITR5c");new EV("DFElXb");new EV("FENZqe");new EV("tLnxq");var FV=function(){cC.call(this);this.eventTarget_=new Qq;this.updateCacheEventTarget_=new Qq;this.mutationIdMap_=new kH};X(FV,cC);FV.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};FV.prototype.getEventTarget=function(){return this.eventTarget_};
FV.prototype.disposeInternal=function(){cC.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var ot=function(a){Y.call(this,a,-1,wcc)};X(ot,Y);var nt=function(a,b){return k(a,1,b)};g=ot.prototype;g.setLogSource=function(a){return k(this,2,a)};g.getApplication=function(){return Db(this,3)};g.setApplication=function(a){return k(this,3,a)};g.getApplicationOrUndefined=function(){return rt(this,3)};g.getVersion=function(){return Db(this,4)};g.getVersion_legacyNullable=function(){return Db(this,4)};g.setVersion=function(a){return k(this,4,a)};g.getVersionOrUndefined=function(){return Uu(this,4)};
g.getBaselineCl=function(){return Db(this,5)};g.setBaselineCl=function(a){return k(this,5,a)};g.hasBaselineCl=function(){return qm(this,5)};g.getBaselineClOrUndefined=function(){return Ru(this,5)};g.getEnableClearcut=function(){return at(this,6)};g.setEnableClearcut=function(a){return k(this,6,a)};var j8a=function(a,b){return Lm(a,7,b)};g=ot.prototype;g.setClientAgent=function(a){return k(this,8,a)};g.getClientAgentOrUndefined=function(){return rt(this,8)};g.setEventSource=function(a){k(this,9,a)};
g.getEventSourceOrUndefined=function(){return rt(this,9)};g.getClearcutUrl=function(){return Db(this,10)};g.setClearcutUrl=function(a){k(this,10,a)};g.setEnvironment=function(a){return k(this,11,a)};g.getEnvironmentOrUndefined=function(){return rt(this,11)};g.getPeoplekitEntryPoint=function(){return Db(this,12)};g.setPeoplekitEntryPoint=function(a){return k(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return rt(this,12)};var wcc=[7];var xcc=window&&window.performance&&window.performance.now&&window.performance.timing&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return Date.now()};var ycc=function(a){this.start_=a;this.end_=NaN};ycc.prototype.duration=function(){return this.end_-this.start_};ycc.prototype.stop=function(a){this.end_=a;return this.duration()};var GV=function(a){var b=void 0===b?xcc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};GV.prototype.source=function(){return this.source_};var zcc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
GV.prototype.duration=function(a){a=zcc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var HV=function(a,b){return HRa(a.duration(void 0===b?"":b))};GV.prototype.toString=function(a,b){b=void 0===b?1:b;return this.duration(void 0===a?"":a).toFixed(b)};GV.prototype.start=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=zcc(this,a);this.durations_.set(a,new ycc(b));return this};
GV.prototype.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=zcc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};GV.prototype.clear=function(){this.durations_.clear();return this};var Acc=function(a){Y.call(this,a)};X(Acc,Y);var Bcc=function(a){Y.call(this,a)};X(Bcc,Y);g=Bcc.prototype;g.getQueryId=function(){return Db(this,1)};g.getInstanceId=function(){return Db(this,4)};g.setInstanceId=function(a){return k(this,4,a)};g.clearInstanceId=function(){Qu(this,4)};g.hasInstanceId=function(){return gm(this,4)};g.getInstanceIdOrUndefined=function(){return Uu(this,4)};g.getAffinityVersion=function(){return Db(this,5)};g.setAffinityVersion=function(a){k(this,5,a)};g.getAffinityVersionOrUndefined=function(){return Ru(this,5)};var Ccc=function(a){Y.call(this,a)};X(Ccc,Y);g=Ccc.prototype;g.getQueryLength=function(){return Db(this,1)};g.setQueryLength=function(a){return k(this,1,a)};g.hasQueryLength=function(){return qm(this,1)};g.getQuery=function(){return Db(this,2)};g.setQuery=function(a){return k(this,2,a)};g.clearQuery=function(){Qu(this,2)};g.hasQuery=function(){return gm(this,2)};var Dcc=function(a){Y.call(this,a)};X(Dcc,Y);Dcc.prototype.setLatencyUsec=function(a){k(this,1,a)};var IV=function(a){Y.call(this,a)};X(IV,Y);g=IV.prototype;g.getColumn=function(){return Db(this,2)};g.setColumn=function(a){return k(this,2,a)};g.getType=function(){return Db(this,3)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return Sk(this,3)};var JV=function(a){Y.call(this,a)};X(JV,Y);JV.prototype.getExistingSelectionsCount=function(){return Db(this,1)};JV.prototype.setExistingSelectionsCount=function(a){k(this,1,a)};JV.prototype.getPosition=function(){return wk(this,IV,2)};JV.prototype.setPosition=function(a){return Ok(this,IV,2,a)};var KV=function(a){Y.call(this,a)};X(KV,Y);g=KV.prototype;g.getType=function(){return Db(this,5)};g.setType=function(a){return k(this,5,a)};g.hasType=function(){return Sk(this,5)};g.getEmail=function(){return Db(this,1)};g.getEmail_legacyNullable=function(){return Db(this,1)};g.setEmail=function(a){return k(this,1,a)};g.hasEmail=function(){return gm(this,1)};g.getPhone=function(){return Db(this,2)};g.getPhone_legacyNullable=function(){return Db(this,2)};g.setPhone=function(a){return k(this,2,a)};
g.hasPhone=function(){return gm(this,2)};g.getObfuscatedGaiaId=function(){return Db(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return Db(this,3)};g.setObfuscatedGaiaId=function(a){k(this,3,a)};g.getContactId=function(){return Db(this,4)};g.setContactId=function(a){k(this,4,a)};g.hasContactId=function(){return zm(this,4)};g.getGroupId=function(){return Db(this,6)};g.setGroupId=function(a){k(this,6,a)};g.hasGroupId=function(){return gm(this,6)};var LV=function(a){Y.call(this,a)};X(LV,Y);LV.prototype.getName=function(){return Db(this,1)};LV.prototype.setName=function(a){return k(this,1,a)};LV.prototype.hasName=function(){return gm(this,1)};LV.prototype.getNameOrUndefined=function(){return Uu(this,1)};var MV=function(a){Y.call(this,a,-1,Ecc)};X(MV,Y);g=MV.prototype;g.getPosition=function(){return wk(this,IV,1)};g.setPosition=function(a){return Ok(this,IV,1,a)};g.getIsPlaceholder=function(){return at(this,7)};g.setIsPlaceholder=function(a){k(this,7,a)};g.getIsSelf=function(){return at(this,11)};var Ecc=[4,3];var NV=function(a){Y.call(this,a)};X(NV,Y);NV.prototype.getLoggingId=function(){return Db(this,1)};NV.prototype.setLoggingId=function(a){k(this,1,a)};NV.prototype.getMetadata=function(){return wk(this,MV,3)};NV.prototype.setMetadata=function(a){Ok(this,MV,3,a)};var OV=function(a){Y.call(this,a)};X(OV,Y);OV.prototype.getAffinityVersion=function(){return Db(this,2)};OV.prototype.setAffinityVersion=function(a){k(this,2,a)};OV.prototype.getAffinityVersionOrUndefined=function(){return Ru(this,2)};var Gcc=function(a){Y.call(this,a,-1,Fcc)};X(Gcc,Y);g=Gcc.prototype;g.getEventType=function(){return Db(this,1)};g.getEventType_legacyNullable=function(){return Db(this,1)};g.setEventType=function(a){return k(this,1,a)};g.getMetadata=function(){return wk(this,OV,4)};g.setMetadata=function(a){Ok(this,OV,4,a)};g.getClientInterface=function(){return wk(this,vV,5)};g.setClientInterface=function(a){return Ok(this,vV,5,a)};var Fcc=[2];var Hcc=new Map([[1,4],[2,2],[3,1],[4,7]]),Icc=function(a,b){b=void 0===b?0:b;this.clientConfig_=a;this.transportType_=b;switch(b){case 1:b="ppl.store.peopleapi";var c=xl(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=xl(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=Hcc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=Kb(j8a(nt(new ot,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,20090307)};g=Icc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=Jcc(this);switch(b.getEventType()){case 2:case 3:return(new zV).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new xV).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new zV).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new $bc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=Jcc(this);switch(d.getEventType()){case 1:d=(new zV).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new wV).setStatus(c);if(0==c||4==c)c=e.setTotalUsec(HV(b,"total")),b=HV(b,"blocked"),b=k(c,3,b),k(b,5,a);return am(d,4,AV,e);case 2:case 3:return a=(new zV).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new bcc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
0!=c&&4!=c||d.setTotalUsec(HV(b,"total")).setBlockedUsec(HV(b,"blocked")).setNetworkUsec(HV(b,"network")),e.call(a,d);case 4:case 5:a=(new zV).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new acc;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);0!==c&&4!==c||f.setTotalUsec(HV(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var Jcc=function(a){a=a.clientConfig_.getUserInfo();var b=new yV;var c=!!a.getDelegatorId();b=k(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(Db(a,6)||0);return b};var s6a=function(a){Y.call(this,a,-1,Kcc)};X(s6a,Y);var Kcc=[1,2,3,4];var Lcc=function(){return ha&&ia?!ia.mobile&&(la("iPad")||la("Android")||la("Silk")):la("iPad")||la("Android")&&!la("Mobile")||la("Silk")};var Mcc=function(a,b,c,d,e,f,h){QC.call(this,a,sq,b,Oma,c,d,e,void 0,f,h)};X(Mcc,QC);var Ncc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=wa()||la("iPod")?4:la("iPad")?5:gaa()?Lcc()?3:2:(ha&&ia?ia.mobile:!Lcc()&&(la("iPod")||la("iPhone")||la("Android")||la("IEMobile")))||Lcc()?0:1},Occ=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()&&(c=new Mcc(Db(b,2),zRa(),b.getClearcutUrl()||void 0),(b=ej(b,7))&&b.length)){var d=new s6a;Lm(d,3,b);c.setClearExperimentIds(d)}return new Ncc(c,a)},PV=function(a){var b=a.logContextFactory_.getLogContext(),
c=new uV;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new vV;a.setSocialClient(c);a.setVersionName(b.getVersionOrUndefined());a.setClientAgent(b.getClientAgentOrUndefined());a.setEventSource(b.getEventSourceOrUndefined());a.setEnvironment(b.getEnvironmentOrUndefined());a.setPeoplekitEntryPoint(b.getPeoplekitEntryPointOrUndefined());b.hasBaselineCl()&&(b=Math.round(b.getBaselineCl()),isFinite(b)&&a.setBaselineCl(b));return a},QV=function(a,b){var c=new LC;WNb(c,b.serialize());
a.clearcut_&&a.clearcut_.log(c)};var Pcc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Pcc.prototype.logError=function(a){var b=PV(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&QV(this.clearcut_,a)};var Qcc=new Map([[200,0],[400,3],[401,16],[403,7],[404,5],[409,10],[416,11],[429,8],[499,1],[-1,1],[504,4],[501,12],[503,14]]);var Rcc=function(){this.logContext_=nt(new ot,"ppl.store")};g=Rcc.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){return null};g.createStatusMetric=function(){return null};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};var Scc=function(a){this.clearcut_=a},Ls=function(a){a=new Pcc(Occ(a),a);return new Scc(a)};g=Scc.prototype;g.start=function(a,b){a.start(b);return this};g.stop=function(a,b){a.stop(b);return this};
g.count=function(a,b){var c=this.clearcut_;b=void 0===b?1:b;var d=PV(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&QV(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=PV(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&QV(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=PV(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&QV(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var RV=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new rcc;this.eventHandler_=new Tr(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new FV;(a=b)||(a=Ls(new Rcc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};Gu(RV,cC);g=RV.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Xba(tcc),Eu(this.forwardEvent_,this))};g.forwardEvent_=function(a){this.contactNotificationService_.dispatchEvent(a)};g.getEventTarget=function(){return this.contactNotificationService_.getEventTarget()};g.invalidate=function(){this.contactNotificationService_.dispatchEvent(new DV(null,"c"))};
g.loadContactRows=function(a,b){var c=this,d=(new Pq).setEventType(4).setApiType(2),e=new GV(d);this.metrics.count(e);this.metrics.start(e,"total");return Tcc(this,a,function(f){return f.loadContactRows},function(f,h,l,q,u){Ucc(function(x,y,G,J){var M=y===sV||y instanceof tV?2:1;e.source().setCacheStatus(M);e.source().setAddressBook(G?Ybc.get(G)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,gcc(u||0));b&&b(x,y,G,J,u)},f,h,l,q)})};
var Tcc=function(a,b,c,d){var e=new Vcc(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?f=Wcc(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var l=0;l<a.addressBooks.length;l++)h=a.addressBooks[l],0<b.delayMillis||1<b.maxTries?f=Wcc(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
RV.prototype.execute=function(a){var b=this,c=(new Pq).setEventType(4).setApiType(1),d=new GV(c);this.metrics.count(d);this.metrics.start(d,"total");Xcc(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?gcc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?Ybc.get(e)||1:1:0);b.metrics.stop(d,"total");b.metrics.status(d,f)});return this.cache_&&(c=a.executeFromCache(this.cache_,function(e){return Ycc(b,e,d)}))?
c:Ycc(this,a,d)};
var Xcc=function(a,b){Da(a.queryFilters_,function(){});b.isMutate()&&(b=b.getOperation())&&(b=b.getQueryAfterMutate())&&Xcc(a,b)},Ycc=function(a,b,c){if(b.isMutate()){var d=b.getOperation();d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new Vcc(void 0,a.metrics,c);c.setQuery(b);for(var e=0;e<a.addressBooks.length;e++)d=a.addressBooks[e],d.execute&&c.add(d.execute(b));return c},Wcc=function(a,
b,c,d,e){b=Eu(a.runScheduledQuery_,a,b,c,d,e);b=new pcc(a.scheduler_,b,d.name);a.scheduler_.schedule(b,d.delayMillis,d.maxTries,d.force);return new Zcc(b)};RV.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,l,q,u){e.isDone(!u)&&d&&d(f,h,l,q,u)})};
var Ucc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),$cc(b)),a(b||[],c,d,e))},$cc=function(a){if(0<a.length)for(var b=a[0].getPriority(),c=1;c<a.length;c++){var d=a[c],e=d.getPriority();e<b&&(d.flags|=1,b=e)}};
RV.prototype.disposeInternal=function(){RV.superClass_.disposeInternal.call(this);Oi(this.scheduler_);this.scheduler_=null;Da(this.ownedAddressBooks_,Oi);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;Oi(this.eventHandler_);this.eventHandler_=null;Da(this.queryFilters_,function(a){a!=this.contactNotificationService_&&Oi(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(Oi(this.contactNotificationService_),this.contactNotificationService_=null)};
var adc=function(a){var b=new Icc(a,0);nt(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(xl(a.getExperiments(),3,!0));return Ls(b)},Vcc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=Vcc.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.add=function(a){this.requests_.push(a)};g.isEmpty=function(){return 0==this.requests_.length};
g.cancel=function(){this.isPending()&&this.metrics_&&this.state_&&this.metrics_.status(this.state_,1);for(var a=0;a<this.requests_.length;a++)this.requests_[a].cancel()};g.isPending=function(){for(var a=0;a<this.requests_.length;a++)if(this.requests_[a].isPending())return!0;return!1};g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};var Zcc=function(a){this.op=a;this.request=null};Zcc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
Zcc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var bdc=function(a,b){this.text=a;this.specialRowHandler=b};Gu(bdc,Xbc);g=bdc.prototype;g.getName=function(){return null};g.getEmail=function(){return null};g.getPhoneNumber=function(){return null};g.getType=function(){return"sr"};g.getPriority=function(){return 0};g.getLoggingId=function(){return"sr"};var cdc=function(a,b){RV.call(this,a,b)};X(cdc,RV);cdc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new ddc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));RV.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};cdc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):RV.prototype.loadContactRows.call(this,a,b)};
var ddc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};ddc.prototype.addAddressBook=function(a){this.addrBooks_.push(new edc(this,this.addrBooks_.length,a))};ddc.prototype.loadContactRows=function(a,b){a=new fdc(a,this.metrics_,b);gdc(this,a);return a};
var gdc=function(a,b,c,d){a.rowSets_=[];for(var e=0;e<a.addrBooks_.length&&!(e==c?a.rowSets_[e]=d:a.addrBooks_[e].loadContactRows(b),0==e&&a.rowSets_[e]&&a.rowSets_[e].length>=b.query.maxMatches);e++);c=b.query;d=a.rowSets_;var f=[];e=!1;for(var h,l=0;l<d.length&&f.length<c.maxMatches;l++)if(d[l]){h=f.length;e=!0;var q=d[l],u=c.maxMatches,x=f.length;if(0==x)f=q.length>u?q.slice(0,u):q;else for(var y=0;y<q.length;y++){for(var G=null,J=0;J<x&&!(G=hdc(f[J],q[y]));J++);if(G)G===q[y]&&(f[J]=G);else if(f.length==
x?f=f.concat(q[y]):f.push(q[y]),f.length==u)break}0<h&&f.length>h&&(f[h].flags|=1)}e?($cc(f),c=f):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},hdc=function(a,b){if(a.specialRowHandler||b.specialRowHandler)return null;if(a.text==b.text)return a;if(a.getEmail()==b.getEmail()&&a.getType()==b.getType()){if(!b.getName())return a;if(!a.getName())return b}return null},idc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:gdc(a,b,c,d)};
ddc.prototype.handleSpecialRow=function(){};var edc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
edc.prototype.loadContactRows=function(a){var b=this,c=a.storedResults_[this.id_];if(!c){this.isSynchronous_=!0;this.madeCallback_=!1;var d=Date.now(),e=this.addrBook_.loadContactRows(a.query,function(f,h,l,q,u){b.matchListener_(a,d,f,u)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[jdc(this)])}c&&idc(this.combiner_,a,this.id_,c)};
var jdc=function(a){var b=a.addrBook_.title_;return new bdc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
edc.prototype.matchListener_=function(a,b,c,d){d=void 0===d?0:d;this.madeCallback_=!0;this.isSynchronous_||(this.lastAsyncLatency_=Date.now()-b);a.query.filter&&c&&(c=a.query.filter(c,a.query.token));b=this.id_;var e=this.addrBook_.getId();a.storedResults_[b]=c;a.storedErrorCodes_[b]=d;a.addressBooksToReport_[b]=e;idc(this.combiner_,a,this.id_,c)};edc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var fdc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new GV((new Pq).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,l,q){d.addressBooksToReport_.forEach(function(u,x){var y=d.activeRequests_[x];y=y===sV||y instanceof tV?2:1;e.source().setCacheStatus(y);e.source().setAddressBook(u?Ybc.get(u)||1:1);b.stop(e,"total");b.status(e,gcc(d.storedErrorCodes_[x]))});
d.addressBooksToReport_=[];c&&c(f,h,l,q)}};fdc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};fdc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};fdc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var kdc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},Qs=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);if(192>e||382<e)e=null;else{var f=kdc[e];f?e=f:(f="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e="^"==f?null:f)}e&&(c!=d&&b.push(a.substr(c,d-c)),c=d+1,b.push(e))}return 0<b.length?(b.push(a.substr(c)),b.join("")):
a};var SV=function(a,b,c,d,e,f){Qq.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||ldc;this.cache_=new kH(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};Gu(SV,Qq);SV.prototype.disposeInternal=function(){SV.superClass_.disposeInternal.call(this);this.cache_=null};SV.prototype.clear=function(){this.cache_.clear()};
var ldc=function(a){var b=yp(Qs(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=Qs(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},mdc=function(a,b){var c="^"+a.token.toLowerCase();b&&(a.includeContacts||(c="nc"+c),a.includeGroups||(c="ng"+c),a.includePhoneContacts||(c="np"+c),a.isContactAutoComplete||(c="na"+c));a.includeProfileAddresses&&(c="pa"+c);return c},ndc=function(a,b,c){a.cache_.set(mdc(b,a.cacheByType_),c);
if(a.cacheSize_&&(b=a.cache_.getCount(),b>a.cacheSize_)){c=Date.now()-a.cacheMinExpiryAge_;do{if(a.cache_.head_.prev.value.created>=c)break;a.cache_.pop()}while(--b>a.cacheSize_)}},odc=function(a,b,c){c=c?a.cache_.get(b):cWb(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},pdc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=odc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},qdc=function(a,b){if(b.isContactAutoComplete)return null;var c=mdc(b,a.cacheByType_),
d=pdc(a,c,b.token);return d?d:a.cacheByType_&&!uj(c,"^")?(c=mdc(b,!1),pdc(a,c,b.token)):null};SV.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};SV.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:cWb(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var TV=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};TV.prototype.getMatches=function(a){a&&this.count++;return this.matches_};TV.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};Gu(Sq,Qq);g=Sq.prototype;g.configure=function(a,b){this.title_=b;this.initialized_||(this.initialized_=!0)};g.getId=function(){return this.id_};
g.loadContactRows=function(a,b){if(this.initialized_){var c=this.cache_;if(nm(a.token)&&!c.allowEmptyQueries_)var d=rV;else{d=a.maxMatches;var e=odc(c,mdc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=qdc(c,a))&&0==d.getMatches().length?(ndc(c,a,new TV(a.token,rV)),d=rV):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=yAb(d,c.rowMatchingFunction_(a),c),ndc(c,a,new TV(a.token,d))):d=null}d&&0<=a.maxMatches&&d.length>a.maxMatches&&(d=d.slice(0,a.maxMatches));
return(c=d)?(b&&b(c,sV,this.getId(),a),sV):this.transport_.loadContactRows(a,this.getId(),Eu(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(rV,sV,this.getId(),a,4);return sV};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||ndc(this.cache_,e,new TV(e.token,b,-1!=e.maxMatches&&b.length>=e.maxMatches));a&&(b&&0<=e.maxMatches&&b.length>e.maxMatches&&(b=b.slice(0,e.maxMatches)),a(b,c,d,e,f))};g.onContactsChange_=function(){this.cache_.clear()};
g.disposeInternal=function(){Sq.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;rdc(this.transport_,this.id_);this.transport_=null};var tdc=function(a,b,c){SV.call(this,100,18E5,432E5,!0,0,c||sdc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};X(tdc,SV);var sdc=function(a){return function(b){var c=b.getType(),d;if(d=udc(a,c)){d=new RegExp("(^|\\W+)"+yp(Qs(a.token)),"i");var e=Qs(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+yp(Qs(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},udc=function(a,b){switch(b){case "ct":return a.includeContacts;case "cl":case "li":return a.includeGroups;case "pt":return a.includePhoneContacts}return!1};var UV=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new tdc(!0,!1,vdc);Sq.call(this,a,b,"domain")};Gu(UV,Sq);UV.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=kc(a),a.includeGroups=!1);return UV.superClass_.loadContactRows.call(this,a,b)};
var vdc=function(a){for(var b=XCb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=yp(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(l){if(udc(a,l.getType())){for(var q=0;q<c.length;q++)if(!l.getName().match(c[q])&&!l.getEmail().match(d[q]))return!1;return!0}return!1}};UV.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var wdc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},ydc=function(a){if(!a)return xdc;var b=JRa(Oq("metadata.identityInfo.sourceIds",a)),c=Oq("metadata.contactId",a);c&&c[0]?b.CONTACT=c[0]:b.CONTACT&&(c=parseInt(b.CONTACT,16),isFinite(c)&&(b.CONTACT=String(c)));return new wdc(a.personId||"",b)},xdc=new wdc("",{});var zdc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};zdc.prototype.toString=function(){return""};var VV=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};VV.prototype.toString=function(){return""};var Bdc=function(a){return Adc(a).some(function(b){return!b.isLocal_})};VV.prototype.getSource=function(a){return Adc(this)[a]};VV.prototype.hasSource=function(){return void 0<Adc(this).length};var Adc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};VV.prototype.getCause=function(a){return Cdc(this)[a]};
var Cdc=function(a){return a.edgeCollection_?Ddc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};VV.prototype.getContainerType=function(){return this.metadata_.containerType};var Edc=new VV({},null);var Fdc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=Fdc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new VV(this.email_.metadata,this.edgeCollection_):Edc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.email_};g.getValue=function(){return this.email_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.email_.metadata;return!(!a||!a.primary)};g.getDisplayName=function(){return""};var Gdc=new Fdc({},null);var Hdc=function(a,b){this.emails_=[];a=m(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new Fdc(c.value,b))};g=Hdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||Gdc};g.getFieldLength=function(){return this.emails_.length};var Idc=new Hdc([],null);var Jdc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=Jdc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new VV(this.name_.metadata,this.edgeCollection_));return this.metadata_};g.hasMetaData=function(){return!!this.getMetaData()};g.getValue=function(){return this.name_.displayName||this.name_.formattedName||this.name_.formattedValue||this.name_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getFamilyName=function(){return this.name_.familyName||""};g.hasFamilyName=function(){return!!this.getFamilyName()};g.getGivenName=function(){return this.name_.givenName||""};g.hasGivenName=function(){return!!this.getGivenName()};var Kdc=new Jdc({},null);var Ldc=function(a){this.field_=a};g=Ldc.prototype;g.toString=function(){return""};g.getField=function(){return this.field_};g.getMetaData=function(){return this.field_.getMetaData()};g.hasMetaData=function(){return this.field_.hasMetaData()};g.getValue=function(){return this.field_.getValue()};g.hasValue=function(){return this.field_.hasValue()};g.getFamilyName=function(){return this.field_.getFamilyName()};g.hasFamilyName=function(){return this.field_.hasFamilyName()};g.getGivenName=function(){return this.field_.getGivenName()};
g.hasGivenName=function(){return this.field_.hasGivenName()};var Mdc=new Ldc(Kdc);var Ndc=["CONTACT","PROFILE","DOMAIN_PROFILE"],Odc=function(a,b){this.names_=[];a=m(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new Jdc(c.value,b))};g=Odc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||Kdc};g.getFieldLength=function(){return this.names_.length};var Pdc=new Odc([],null);var Qdc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=Qdc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new VV(this.phone_.metadata,this.edgeCollection_):Edc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.phone_};g.getValue=function(){return this.phone_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.phone_.metadata;return!(!a||!a.primary)};var Rdc=new Qdc({},null);var Sdc=function(a,b){this.phones_=[];a=m(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new Qdc(c.value,b))};g=Sdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||Rdc};g.getFieldLength=function(){return this.phones_.length};var Tdc=new Sdc([],null);var Udc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=Udc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new VV(this.photo_.metadata,this.edgeCollection_):Edc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.photo_};g.getUrl=function(){return this.photo_.url||""};g.hasUrl=function(){return!!this.getUrl()};var Vdc=new Udc({},null);var Wdc=function(a,b){this.photos_=[];a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new Udc(c,b))};g=Wdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||Vdc};g.getFieldLength=function(){return this.photos_.length};var Xdc=new Wdc([],null);var WV=function(a,b,c,d,e){this.person_=a;this.googleGroup_=b;this.contactLabel_=c;this.edgeCollection_=d;this.email_=this.name_=this.nameRepeated_=this.text_=null;this.emailIndex_=void 0===e?0:e;this.photo_=this.phone_=null};
WV.prototype.toString=function(){if(null==this.text_){if(this.contactLabel_){var a=this.contactLabel_.extendedData&&this.contactLabel_.extendedData.contactPreferences?this.contactLabel_.extendedData.contactPreferences.length:0;a=1==a?"(1 contact)":"("+a+" contacts)";a=this.getName().getValue()+" "+a}else a=this.person_||this.googleGroup_?KRa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};WV.prototype.hasName=function(){return!!this.getName()};
WV.prototype.getName=function(){if(!this.name_){a:{var a=PRa(this);if(a.names_.length){for(var b=m(Ndc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=m(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new Ldc(e);break a}}a=new Ldc(a.names_[0])}else a=Mdc}this.name_=a}return this.name_};
var PRa=function(a){if(!a.nameRepeated_){var b;a.person_?b=a.person_.name:a.googleGroup_?b=a.googleGroup_.names:a.contactLabel_&&(b=[a.contactLabel_.name]);a.nameRepeated_=b?new Odc(b,a.edgeCollection_):Pdc}return a.nameRepeated_};g=WV.prototype;g.hasEmail=function(){return!!this.getEmail().getField(0).getValue()};
g.getEmail=function(){if(!this.email_){var a=null;this.person_?a=this.person_.email:this.googleGroup_?a=this.googleGroup_.emails:this.contactLabel_&&(a=[{value:LRa(this.contactLabel_)}]);this.email_=a?new Hdc(a,this.edgeCollection_):Idc}return this.email_};g.hasPhone=function(){return!!this.getPhone().getField(0).getValue()};g.getPhone=function(){if(!this.phone_){var a;this.person_?a=this.person_.phone:this.googleGroup_&&(a=this.googleGroup_.phones);this.phone_=a?new Sdc(a,this.edgeCollection_):Tdc}return this.phone_};
g.hasPhoto=function(){return!!this.getPhoto().getField(0).getUrl()};g.getPhoto=function(){if(!this.photo_){var a;this.person_&&(a=this.person_.photo);this.photo_=a?new Wdc(a,this.edgeCollection_):Xdc}return this.photo_};g.getAddress=function(){return null};g.getStatus=function(){return null};g.hasStatus=function(){return!!this.getStatus()};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};g.getDisplayName=function(){return null};g.getRelation=function(){return null};
g.getEvent=function(){return null};var KRa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},Ydc=new WV(null,null,null,null);var XV=function(){this.keyToIndex_=new Map},Zdc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};XV.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(this.getKey_(a,b)):null};XV.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(this.getKey_(a,b),c)};
XV.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(this.getKey_(a,b))};XV.prototype.getKey_=function(a,b){return a+"="+b};var NRa=function(a){this.evergreenProfile_=a?new WV(a,null,null,null):Ydc};NRa.prototype.toString=function(){return""};var $dc=new NRa(null);var aec=new zdc(!0,null),YV=function(a){this.edgeIndexResolver_=new XV;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=ORa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};YV.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||$dc};var Ddc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};YV.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
YV.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[aec];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,Zdc(this.edgeIndexResolver_,a,[b]).map(function(d){return new zdc(!1,d)}));return this.sourcesCache_.get(c)};var bec=new YV(null);var ZV=function(a,b,c){a=void 0===a?null:a;b=void 0===b?0:b;c=void 0===c?!1:c;this.person_=a&&a.person||null;this.googleGroup_=a&&a.googleGroup||null;this.contactLabel_=a&&a.contactGroup||null;this.edgeCollection_=new YV(this.person_);this.emailIndex_=b;this.profile_=new WV(this.person_,this.googleGroup_,this.contactLabel_,this.edgeCollection_,this.emailIndex_);this.photoUrl_=this.phone_=this.name_=this.allIds_=null;this.text=c?this.getName()||"":this.profile_.toString()};X(ZV,Xbc);g=ZV.prototype;
g.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=ydc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=JRa(a.sourceIds);a=new wdc(a.personId||"",b)}else a=xdc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=Oq("id.id",a)||"",a=new wdc("",b)):a=xdc:a=xdc;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){null===this.name_&&(this.name_=QRa(this.profile_,function(a){return!!a&&!Bdc(a)}),null===this.name_&&(this.name_=cec(this,QRa)));return this.name_};g.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};g.getPhoneNumber=function(){null===this.phone_&&(this.phone_=RRa(this.profile_,function(a){return!!a&&!Bdc(a)}),null===this.phone_&&(this.phone_=cec(this,RRa)));return this.phone_};
g.getType=function(){var a=this.profile_;return a.contactLabel_?"cl":a.googleGroup_?"li":!a.hasEmail()&&a.hasPhone()?"pt":"ct"};g.getPriority=function(){return 0};g.getPhotoUrl=function(){null===this.photoUrl_&&(this.photoUrl_=SRa(this.profile_,function(a){return!!a&&!Bdc(a)}),null===this.photoUrl_&&(this.photoUrl_=cec(this,SRa)));return this.photoUrl_};g.getLoggingId=function(){return this.getAllIds_().loggingId};
var cec=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<Cdc(c).length;d++){var e=c.getCause(d);e=a.edgeCollection_.get(e).evergreenProfile_;e=b(e);if(null!==e)return e}for(d=0;d<Adc(c).length;d++)if(e=c.getSource(d),null!==e.edgeIndex_&&(e=a.edgeCollection_.get(e.edgeIndex_||0).evergreenProfile_,e=b(e),null!==e))return e;return""},dec=function(a,b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new ZV(q,void 0,!0)});b=new Set;var d=
[];a=m(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=Oq("person.email",e)||Oq("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var l=(Oq("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new ZV(e,h))}else d.push(new ZV(e))}return d};var eec=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V){M=void 0===M?new pV:M;V=void 0===V?!1:V;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=f||"contact_store_336195648";this.affinityType=h;this.delegatorId=l;this.timeoutMs=q;this.onAuthError=u?u:function(){};this.autocompletePageSize=x;this.rankedTargetsPageSize=y;this.peopleContainerMask=G.split(/[\s,]+/).filter(function(U){return!!U});this.peopleFieldMask=J;this.experiments=M;this.includeOnlyNames=
V};eec.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var $V=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};X($V,Error);var aW=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new GV(b);this.handler_=c;this.promise_=this.query_=null;this.state_=0;this.addressBookId_="";this.metrics_.start(this.metric_,"total");this.metrics_.start(this.metric_,"blocked")};g=aW.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.isPending=function(){return 1==this.state_};g.getQuery=function(){return this.query_};
g.setQuery=function(a){this.query_=a};g.cancel=function(){switch(this.state_){case 1:this.promise_.cancel();break;case 0:this.state_=2,this.promise_=rMb(new CC),fec(this,null,11)}};
g.send=function(a){var b=this;if(0!==this.state_)return this.promise_;this.metrics_.count(this.metric_);this.metrics_.stop(this.metric_,"blocked");this.metrics_.start(this.metric_,"network");this.state_=1;var c=this.buildRequest();if(c&&c.path){var d=this.config.gapiApiKey||"";d&&!ARa()&&(c.params=c.params||{},c.params.key=d);c.headers=BRa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=BMb(uMb([a,KMb(this.timeoutMs_,"TIMEOUT")]),
function(){b.state_=2;b.metrics_.stop(b.metric_,"network")}).then(function(e){return b.onResponse_(e)},function(e){return b.onError_(e)})};g.onResponse_=function(a){if("TIMEOUT"===a)this.onError_(a);else{var b=a&&a.result;if(!b||"error"in b)this.onError_(a);else{try{var c=this.processResponse(b)}catch(d){this.onError_(d);return}try{fec(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
g.onError_=function(a){var b=!1,c=2,d=1;try{if("TIMEOUT"===a)c=4,d=10;else if(a instanceof CC)c=1,d=11;else if(a instanceof $V)c=a.code,d=fcc(c);else if(a&&"object"===typeof a){var e=Oq("result.error.code",a)||a.status,f=e;f=Number(f);c=ccc.has(f)?ccc.get(f):200<=f&&300>f?0:400<=f&&500>f?9:500<=f&&600>f?13:2;d=fcc(c);b=401==e||403==e;2===c&&this.metrics_.logError("Bad status code (HTTP="+e+")",a)}else c=2,d=1}finally{this.metrics_.status(this.metric_,c),fec(this,null,d,b)}};
var fec=function(a,b,c,d){if(void 0===d?0:d)try{a.onAuthError_()}catch(e){throw a.metrics_.logError("AuthError handler: "+e,e),e;}try{a.handler_(b||[],c)}catch(e){throw a.metrics_.logError("Client handler: "+e,e),e;}};var gec=function(a,b,c){var d=(new Pq).setEventType(2).setRpcType(1).setToken(b);aW.call(this,a,d,c);this.clientId_=a.clientId;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.token_=b;this.pageSize_=a.autocompletePageSize};X(gec,aW);
gec.prototype.buildRequest=function(){var a={query:this.token_,client:this.clientId_,"clientVersion.clientAgent":"CONTACT_STORE","clientVersion.clientType":this.clientName_,"clientVersion.clientVersion":this.clientVersion_,pageSize:this.pageSize_};this.delegatorId_&&(a["authDelegationContext.delegationType"]="GMAIL",a["authDelegationContext.obfuscatedOwnerId"]=this.delegatorId_);return{method:"GET",path:"v2/people/autocomplete",params:a}};
gec.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new $V(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new $V(8,"RequestThrottled");if(b.containsPartialResults)throw new $V(8,"ContainsPartialResults");}return dec(a.results||[],this.config.includeOnlyNames)};var hec=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new WV(this.person_,null,null,this.edgeCollection_):Ydc};g=hec.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=ydc(this.person_));return this.allIds_};g.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};
g.getAffinity=function(){return null};g.hasAffinity=function(){return!!this.getAffinity()};g.getDeleted=function(){return!1};var iec=new hec(null,bec);var jec=function(a){a=void 0===a?null:a;this.edgeCollection_=new YV(a);this.contact_=a?new hec(a,this.edgeCollection_):iec};g=jec.prototype;g.toString=function(){return""};g.getId=function(){return this.contact_.getId()};g.getAttribute=function(a){return this.contact_.getAttribute(a)};g.hasAttribute=function(a){return this.contact_.hasAttribute(a)};g.getAffinity=function(){return this.contact_.getAffinity()};g.hasAffinity=function(){return this.contact_.hasAffinity()};g.getDeleted=function(){return this.contact_.getDeleted()};var kec=function(a,b,c){aW.call(this,a,(new Pq).setEventType(2).setRpcType(3).setLookupType(4),c);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.personIds_=b.filter(function(d){return!!d});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};X(kec,aW);
kec.prototype.buildRequest=function(){if(!this.personIds_.length)return{};var a={personId:this.personIds_,context:{clientVersion:{clientAgent:"CONTACT_STORE",clientType:this.clientName_,clientVersion:this.clientVersion_}},mergedPersonSourceOptions:{includedProfileStates:"CORE_ID",personModelParams:{personModel:"CONTACT_CENTRIC"}},requestMask:{imageUrlType:"FIFE_URL",includeContainer:this.peopleContainerMask_,includeField:this.peopleFieldMask_}};this.delegatorId_&&(a.context.authDelegationContext=
{delegationType:"GMAIL",obfuscatedOwnerId:this.delegatorId_});return{method:"POST",path:"v2/people:batchGet",body:a}};kec.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new jec(b.person)})};var bW=function(a,b,c,d){aW.call(this,a,GRa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=lec(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};X(bW,aW);
bW.prototype.buildRequest=function(){if(!this.knownIds_.length||!this.lookupType_)return{};var a={"context.clientVersion.clientAgent":"CONTACT_STORE","context.clientVersion.clientType":this.clientName_,"context.clientVersion.clientVersion":this.clientVersion_,id:this.knownIds_,"mergedPersonSourceOptions.includedProfileStates":"CORE_ID","mergedPersonSourceOptions.personModelParams.personModel":"CONTACT_CENTRIC","profileLookupOptions.emailLookupOption":"INCLUDE_EMAIL_LOOKUP_KEY","requestMask.includeContainer":this.peopleContainerMask_,
"requestMask.includeField":this.peopleFieldMask_,"requestMask.imageUrlType":"FIFE_URL",type:this.lookupType_};this.delegatorId_&&(a["context.authDelegationContext.delegationType"]="GMAIL",a["context.authDelegationContext.obfuscatedOwnerId"]=this.delegatorId_);return{method:"GET",path:"v2/people/lookup",params:a}};
bW.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=m(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new jec(f))});return d};var lec=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var mec=function(a,b){aW.call(this,a,(new Pq).setEventType(2).setRpcType(9),b);this.affinityType_=a.affinityType;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.pageSize_=a.rankedTargetsPageSize;this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask;this.peopleExtensionNames_=[];xl(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};X(mec,aW);
mec.prototype.buildRequest=function(){var a={"affinity.type":this.affinityType_,"context.clientVersion.clientAgent":"CONTACT_STORE","context.clientVersion.clientType":this.clientName_,"context.clientVersion.clientVersion":this.clientVersion_,"pagingOptions.pageSize":this.pageSize_,"requestMask.includeContainer":this.peopleContainerMask_,"requestMask.includeField":this.peopleFieldMask_,"mergedPersonSourceOptions.includedProfileStates":"CORE_ID","mergedPersonSourceOptions.personModelParams.personModel":"CONTACT_CENTRIC"};
this.peopleExtensionNames_.length&&(a["extensionSet.extensionNames"]=this.peopleExtensionNames_);return{method:"GET",path:"v2/people/rankedTargets",params:a}};mec.prototype.processResponse=function(a){return dec(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=TRa.prototype;g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};g.getError=function(){return this.error_};g.setError=function(a){this.error_=a};g.getConfiguration=function(){return this.config_};g.setConfiguration=function(a){this.config_=a};g.getUserData=function(){return this.userData_};g.setUserData=function(a){this.userData_=a};var nec=new Map([[1,4],[2,2],[3,1],[4,7]]),cW=function(a,b){cC.call(this);var c=this;this.config_=a;this.queuedRequests_=new Map;this.gapiClient_=null;this.gapiFailed_=!1;this.metrics_=a.metrics;this.gapiMetric_=new GV((new Pq).setEventType(1));this.metrics_.start(this.gapiMetric_,"total");this.metrics_.start(this.gapiMetric_,"blocked");b.then(function(d){c.metrics_.stop(c.gapiMetric_,"blocked");d?oec(c,d):pec(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);pec(c,5)})};
X(cW,cC);var oec=function(a,b){b&&b.request?(FRa(),a.metrics_.stop(a.gapiMetric_,"total"),a.metrics_.status(a.gapiMetric_,0),a.gapiClient_=b,a.queuedRequests_.forEach(function(c,d){return c.forEach(function(e){return qec(a,d,e)})})):pec(a,9)};cW.prototype.disposeInternal=function(){for(var a=m(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())rdc(this,b.value)};
var pec=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},rdc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(rec(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},sec=function(a,b,c){a.gapiFailed_?c.cancel():(IRa(a,b).push(c),qec(a,b,c))},qec=function(a,b,c){a.gapiClient_&&BMb(c.send(a.gapiClient_),function(){var d=b;d=d||"";if(a.queuedRequests_.has(d)){d=a.queuedRequests_.get(d);var e=d.indexOf(c);0<=e&&d.splice(e,1)}})},IRa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},rec=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};cW.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,l){return c(h,f,b,a,l)},f=d?new gec(this.config_,d,e):new mec(this.config_,e);sec(this,b,f);return f};
cW.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new GV((new Pq).setEventType(2).setRpcType(4)),12),tec(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(x,y){y?(x=icc(y,h),a.response_=x):(y=new TRa(b),y.contacts_=x,x=new hcc(h),x.queryResponse_=y,x.errorCode_=y.getError(),a.response_=x)},e=this.config_.setTimeout(uec(a));try{var f=b.emailAddresses||[];if(f.length)var h=new bW(this.config_,1,f,d);else{var l=b.contactIds||[];if(l.length)h=
new bW(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new kec(this.config_,q,d);else{var u=b.syntheticIds||[];if(u.length)h=new bW(this.config_,5,u,d);else return this.metrics_.status(new GV((new Pq).setEventType(2)),12),tec(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);sec(this,c,h);return h};var tec=function(a){var b=new tV(function(){var c=icc(5,b);a.response_=c});b.setQuery(a);return b};var dW=function(a,b,c,d){Sq.call(this,a,b,c,d)};X(dW,Sq);dW.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(Eu(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};dW.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new DV([b.mutateResponse_],"c"),this.dispatchEvent(a)}};var vec=function(a,b,c){b=b||new tdc(!0,!0);Sq.call(this,a,b,"personal",c)};X(vec,dW);vec.prototype.configure=function(a,b){dW.prototype.configure.call(this,a,b)};var wec=function(){throw Error("zd");};var eW={},xec={},yec={},zec={},Aec={},fW=function(){throw Error("Bd");};fW.prototype.contentDir=null;fW.prototype.getContent=function(){return this.content};fW.prototype.toString=function(){return this.content};fW.prototype.toSafeHtml=function(){if(this.contentKind!==eW)throw Error("Cd");return Rh(this.toString())};var Bec=function(){fW.call(this)};Gu(Bec,fW);Bec.prototype.contentKind=eW;var Cec=function(){fW.call(this)};Gu(Cec,fW);Cec.prototype.contentKind=xec;Cec.prototype.contentDir=1;var gW=function(a,b){return null!=a&&a.contentKind===b};var Dec=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},ns=function(a){return gW(a,eW)?a:a instanceof Vq?ls(Ml(a).toString()):a instanceof Vq?ls(Ml(a).toString()):ls(String(String(a)).replace(Eec,Fec),Dec(a))},ls=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));void 0!==d&&(c.contentDir=d);return c}}(Bec),hW=function(a){if(null==a)throw Error("Dd");return a},iW=function(a){function b(c){this.content=
c}b.prototype=a.prototype;return function(c,d){c=String(c);if(!c)return"";c=new b(c);void 0!==d&&(c.contentDir=d);return c}}(Bec),Gec=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(Cec),I4a=function(a){return gW(a,eW)?a:ls(Hec(a,Iec),Dec(a))},Jec=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),Hec=function(a,b){if(!b)return String(a).replace(Kec,"").replace(Lec,"&lt;");a=String(a).replace(/\[/g,
"&#91;");var c=[],d=[];a=a.replace(Kec,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",u="";if("/"!=f.charAt(1)){q="<";for(var x;x=Mec.exec(f);)if(x[1]&&"dir"==x[1].toLowerCase()){if(f=x[2]){if("'"==f.charAt(0)||'"'==f.charAt(0))f=f.substr(1,f.length-2);f=f.toLowerCase();if("ltr"==f||"rtl"==f||"auto"==f)u=' dir="'+f+'"'}break}Mec.lastIndex=0}c[l]=q+h+">";d[l]=u;return"["+l+"]"}return""});a=String(a).replace(Nec,Fec);var e=Oec(c);a=a.replace(/\[(\d+)\]/g,function(f,
h){return d[h]&&c[h]?c[h].substr(0,c[h].length-1)+d[h]+">":c[h]});return a+e},jW=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},Oec=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c];"/"==e.charAt(1)?(e=b.lastIndexOf(e),0>e?a[c]="":(a[c]=b.slice(e).reverse().join(""),b.length=e)):"<li>"==e&&0>b.lastIndexOf("</ol>")&&0>b.lastIndexOf("</ul>")?a[c]="":Jec.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},ms=function(a){return gW(a,eW)?String(Hec(a.getContent())).replace(Nec,
Fec):String(a).replace(Eec,Fec)},Sec=function(a){gW(a,xec)||gW(a,yec)?a=kW(a):a instanceof mc?a=kW(nc(a)):a instanceof mc?a=kW(nc(a)):a instanceof wv?a=kW(Wi(a).toString()):a instanceof wv?a=kW(Wi(a).toString()):(a=String(a),a=Pec.test(a)?a.replace(Qec,Rec):"about:invalid#zSoyz");return a},Uec=function(a){gW(a,xec)||gW(a,yec)?a=kW(a):a instanceof mc?a=kW(nc(a)):a instanceof mc?a=kW(nc(a)):a instanceof wv?a=kW(Wi(a).toString()):a instanceof wv?a=kW(Wi(a).toString()):(a=String(a),a=Tec.test(a)?a.replace(Qec,
Rec):"about:invalid#zSoyz");return a},lW=function(a){gW(a,Aec)?a=jW(a.getContent()):null==a?a="":a instanceof xv?a=jW(ICb(a)):a instanceof xv?a=jW(ICb(a)):a instanceof yv?a=jW(LCb(a)):a instanceof yv?a=jW(LCb(a)):(a=String(a),a=Vec.test(a)?a:"zSoyz");return a},Wec={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\v":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;",
"\u2029":"&#8233;"},Fec=function(a){return Wec[a]},Xec={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F",
" ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F",
"\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Rec=function(a){return Xec[a]},Eec=/[\x00\x22\x26\x27\x3c\x3e]/g,Nec=/[\x00\x22\x27\x3c\x3e]/g,Qec=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,Vec=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|rgba|hsl|hsla|calc|max|min|cubic-bezier)\([-\u0020\t,+.!#%_0-9a-zA-Z]+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i,
Pec=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,Tec=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Yec=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,kW=function(a){return String(a).replace(Qec,Rec)},Kec=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Lec=/</g,Iec={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},
Mec=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var URa={};var mW=function(a,b,c){Qq.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;Rq(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.token_=null;this.rows_=[];this.hiliteId_=-1;this.firstRowId_=0;this.dismissTimer_=this.target_=null;this.inputToAnchorMap_={}};Gu(mW,Qq);g=mW.prototype;g.maxMatches_=10;g.getMatcher=function(){return this.matcher_};g.setMatcher=function(a){this.matcher_=a};g.getToken=function(){return this.token_};
g.handleEvent=function(a){var b=this.matcher_;if(a.target==this.renderer_)switch(a.type){case "hilite":this.hiliteId(a.row);break;case "select":var c=!1;if("number"===typeof a.row){a=a.row;var d=this.rows_[nW(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":Zec(this);break;case "dismiss":$ec(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,Eu(this.matchListener_,this)),Zec(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var afc=function(a){for(var b=a.firstRowId_+a.rows_.length-1,c=a.hiliteId_,d=0;d<a.rows_.length;d++){if(c>=a.firstRowId_&&c<b)c++;else if(-1==c)c=a.firstRowId_;else break;if(a.hiliteId(c))break}};
mW.prototype.hiliteId=function(a){var b=nW(this,a),c=this.rows_[b];return c&&this.matcher_.isRowDisabled&&this.matcher_.isRowDisabled(c)?!1:(this.hiliteId_=a,this.renderer_.hiliteId(a),-1!=b)};
mW.prototype.selectHilited=function(){var a=nW(this,this.hiliteId_);if(-1!=a){var b=this.rows_[a],c=this.selectionHandler_;if(c.activeElement_){var d=b.toString();if(c.multi_){var e=bfc(c,c.getValue(),c.getCursorPosition()),f=cfc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||nm(f[e-1])||(d=" "+d);e==f.length-1&&(d+=" ");if(d!=f[e]){f[e]=d;d=c.activeElement_;(Ku||Iu)&&d.blur();d.value=f.join("");for(var h=0,l=0;l<=e;l++)h+=f[l].length;
d.focus();e=h;f=c.activeElement_;dfc(f)&&(f.selectionStart=e);f=c.activeElement_;dfc(f)&&(f.selectionEnd=e)}}else c.setValue(d);c.rowJustSelected_=!0}this.dismiss();this.dispatchEvent({type:"update",row:b,index:a});return!0}this.dismiss();this.dispatchEvent({type:"update",row:null,index:null});return!1};
mW.prototype.dismiss=function(){this.hiliteId_=-1;this.token_=null;this.firstRowId_+=this.rows_.length;this.rows_=[];window.clearTimeout(this.dismissTimer_);this.dismissTimer_=null;this.renderer_.dismiss();this.dispatchEvent("suggestionsupdate");this.dispatchEvent("dismiss")};var $ec=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(Eu(a.dismiss,a),100))};
mW.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var Zec=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(Eu(a.immediatelyCancelDelayedDismiss_,a),10)};mW.prototype.disposeInternal=function(){mW.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
mW.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
mW.prototype.renderRows=function(a,b){var c="object"==bc(b)&&b;b=(c?c.getPreserveHilited():b)?nW(this,this.hiliteId_):-1;this.firstRowId_+=this.rows_.length;this.rows_=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.firstRowId_+e,data:a[e]});a=null;this.target_&&(a=this.inputToAnchorMap_[Va(this.target_)]||this.target_);this.renderer_.anchorElement_=a;this.renderer_.renderRows(d,this.token_,this.target_);a=!0;c&&void 0!==c.getAutoHilite()&&(a=c.getAutoHilite());this.hiliteId_=-1;(a||0<=b)&&0!=d.length&&
this.token_&&(0<=b?this.hiliteId(this.firstRowId_+b):afc(this));this.dispatchEvent("suggestionsupdate")};var nW=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};mW.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};mW.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){ic(this.inputToAnchorMap_,Va(c))},this)};mW.prototype.update=function(a){this.selectionHandler_.update(a)};var efc=function(a,b){var c=0,d=0;dfc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},dfc=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var hfc=function(a,b,c,d,e,f){if(Zr&&e)return ffc(a);if(e&&!d)return!1;if(!Ku){"number"===typeof b&&(b=gfc(b));var h=17==b||18==b||Zr&&91==b;if((!c||Zr)&&h||Zr&&16==b&&(d||f))return!1}if((Lu||Ju)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(Iu&&d&&b==a)return!1;switch(a){case 13:return Ku?f||e?!1:!(c&&d):!0;case 27:return!(Lu||Ju||Ku)}return Ku&&(d||e||f)?!1:ffc(a)},ffc=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(Lu||Ju)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:return Ku;default:return!1}},gfc=function(a){if(Ku)a=ifc(a);else if(Zr&&Lu)switch(a){case 93:a=91}return a},ifc=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};var jfc=function(a,b,c,d){fC.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};Gu(jfc,fC);var oW=function(a,b){Qq.call(this);a&&this.attach(a,b)};Gu(oW,Qq);g=oW.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var kfc={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},lfc={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},mfc=Zr&&Ku;g=oW.prototype;
g.handleKeyDown_=function(a){(Lu||Ju)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||Zr&&91==this.lastKey_&&!a.metaKey)&&this.resetState();-1==this.lastKey_&&(a.ctrlKey&&17!=a.keyCode?this.lastKey_=17:a.altKey&&18!=a.keyCode?this.lastKey_=18:a.metaKey&&91!=a.keyCode&&(this.lastKey_=91));hfc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=gfc(a.keyCode),mfc&&(this.altKey_=a.altKey)):this.handleEvent(a)};
g.resetState=function(){this.keyCode_=this.lastKey_=-1};g.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
g.handleEvent=function(a){var b=a.event_,c=b.altKey;if(Iu&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(Lu||Ju)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&ffc(d)?b.charCode:0):("keypress"==a.type?(mfc&&(c=this.altKey_),b.keyCode==b.charCode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.keyCode_,e=b.charCode):(d=b.keyCode||this.keyCode_,e=b.charCode||0)):(d=b.keyCode||this.keyCode_,e=b.charCode||0),Zr&&63==e&&224==d&&(d=191));var f=d=gfc(d);d?63232<=
d&&d in kfc?f=kfc[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in lfc&&(f=lfc[b.keyIdentifier]);if(!Ku||"keypress"!=a.type||hfc(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new jfc(f,e,a,b),b.altKey=c,this.dispatchEvent(b)};g.getElement=function(){return this.element_};
g.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=Rq(this.element_,"keypress",this,b);this.keyDownKey_=Rq(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=Rq(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(lC(this.keyPressKey_),lC(this.keyDownKey_),lC(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){oW.superClass_.disposeInternal.call(this);this.detach()};var pW=function(a,b,c,d){cC.call(this);d=d||150;this.multi_=null!=c?c:!0;this.separators_=a||",;";this.defaultSeparator_=this.separators_.charAt(0);a=this.multi_?"[\\s"+this.separators_+"]+":"[\\s]+";this.trimmer_=new RegExp("^"+a+"|"+a+"$","g");this.separatorCheck_=new RegExp("\\s*["+this.separators_+"]$");this.literals_=b||"";this.preventDefaultOnTab_=this.multi_;this.timer_=0<d?new DC(d):null;this.eh_=new Tr(this);this.activateHandler_=new Tr(this);this.keyHandler_=new oW;this.lastKeyCode_=-1};
Gu(pW,cC);g=pW.prototype;g.activeElement_=null;g.lastValue_="";g.waitingForIme_=!1;g.rowJustSelected_=!1;g.getValue=function(){return this.activeElement_.value};g.setValue=function(a){this.activeElement_.value=a};g.getCursorPosition=function(){return efc(this.activeElement_,!0)[0]};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];wC(c)&&(sO(c,"combobox"),tO(c,"autocomplete","list"));this.eh_.listen(c,"focus",this.handleFocus);this.eh_.listen(c,"blur",this.handleBlur);if(!this.activeElement_&&(this.activateHandler_.listen(c,"keydown",this.onKeyDownOnInactiveElement_),wC(c))){var d=oC(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&nfc(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];wC(c)&&(c.removeAttribute("role"),c.removeAttribute("aria-autocomplete"));c==this.activeElement_&&this.handleBlur();this.eh_.unlisten(c,"focus",this.handleFocus);this.eh_.unlisten(c,"blur",this.handleBlur);this.activeElement_||this.activateHandler_.unlisten(c,"keydown",this.onKeyDownOnInactiveElement_)}};
g.disposeInternal=function(){pW.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();Oi(this.timer_)};
var pfc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){afc(a.ac_);b.preventDefault();return}if(!a.multi_){a.update(!0);b.preventDefault();return}break;case 38:if(a.ac_.isOpen()){a:{a=a.ac_;for(var c=a.hiliteId_,d=0;d<a.rows_.length;d++){if(c>a.firstRowId_)c--;else break;if(a.hiliteId(c))break a}}b.preventDefault();return}break;case 9:if(!a.ac_.isOpen()||b.shiftKey)a.ac_.dismiss();else if(a.update(),a.ac_.selectHilited()&&a.preventDefaultOnTab_){b.preventDefault();return}break;case 13:if(a.ac_.isOpen()){if(a.update(),
a.ac_.selectHilited()){b.preventDefault();b.stopPropagation();return}}else a.ac_.dismiss();break;case 27:if(a.ac_.isOpen()){a.ac_.dismiss();b.preventDefault();b.stopPropagation();return}break;case 229:if(!a.waitingForIme_){a.waitingForIme_||(a.eh_.listen(a.activeElement_,"keyup",a.onKeyUp_),a.eh_.listen(a.activeElement_,"keypress",a.onKeyPress_),a.waitingForIme_=!0);return}}ofc(a,b)},ofc=function(a,b){var c=a.multi_&&b.charCode&&-1!=a.separators_.indexOf(String.fromCharCode(b.charCode));c&&a.update();
c&&a.ac_.selectHilited()&&b.preventDefault()};pW.prototype.handleKeyUp=function(){return!1};pW.prototype.handleFocus=function(a){nfc(this,a.target||null)};
var nfc=function(a,b){a.activateHandler_.removeAll();a.ac_&&Zec(a.ac_);b!=a.activeElement_&&(a.activeElement_=b,a.timer_&&(a.timer_.start(),a.eh_.listen(a.timer_,"tick",a.onTick_)),a.lastValue_=a.getValue(),a.keyHandler_.attach(a.activeElement_),a.eh_.listen(a.keyHandler_,"key",a.onKey_),a.eh_.listen(a.activeElement_,"mousedown",a.onMouseDown_),Iu&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};g=pW.prototype;
g.handleBlur=function(){this.activeElement_&&(this.eh_.unlisten(this.keyHandler_,"key",this.onKey_),this.keyHandler_.detach(),this.eh_.unlisten(this.activeElement_,"keyup",this.handleKeyUp),this.eh_.unlisten(this.activeElement_,"mousedown",this.onMouseDown_),Iu&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&qfc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&$ec(this.ac_))};
g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&pfc(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&qfc(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&qfc(this)};g.onMouseDown_=function(){};
var qfc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};pW.prototype.onIeKeyPress_=function(a){ofc(this,a)};
pW.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=cfc(this,b)[bfc(this,b,a)];a=this.trimmer_?String(a).replace(this.trimmer_,""):a;this.ac_&&(this.ac_.setTarget(this.activeElement_),this.ac_.setToken(a,this.getValue()))}this.lastValue_=this.getValue()}this.rowJustSelected_=!1};
var bfc=function(a,b,c){a=cfc(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;d<a.length&&e<=c;d++)e+=a[d].length,b=d;return b},cfc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,f=!1;e<b.length;e++)a.literals_&&-1!=a.literals_.indexOf(b[e])?(f||(c.push(d.join("")),d.length=0),d.push(b[e]),f=!f):f||-1==a.separators_.indexOf(b[e])?d.push(b[e]):(d.push(b[e]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};var rfc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},sfc=function(a){return a.classList?a.classList:rfc(a).match(/\S+/g)||[]},tfc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},ufc=function(a,b){return a.classList?a.classList.contains(b):Ia(sfc(a),b)},vfc=function(a,b){if(a.classList)a.classList.add(b);else if(!ufc(a,b)){var c=rfc(a);tfc(a,c+(0<c.length?" "+b:b))}},qW=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){vfc(a,e)});else{var c={};Array.prototype.forEach.call(sfc(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=0<b.length?" "+d:d;tfc(a,b)}},wfc=function(a,b){a.classList?a.classList.remove(b):ufc(a,b)&&tfc(a,Array.prototype.filter.call(sfc(a),function(c){return c!=b}).join(" "))},xfc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){wfc(a,c)}):tfc(a,Array.prototype.filter.call(sfc(a),function(c){return!Ia(b,c)}).join(" "))};var yfc=function(a,b,c){cC.call(this);this.listener_=a;this.interval_=b||0;this.handler_=c;this.callback_=Eu(this.doAction_,this)};Gu(yfc,cC);g=yfc.prototype;g.id_=0;g.disposeInternal=function(){yfc.superClass_.disposeInternal.call(this);this.stop();delete this.listener_;delete this.handler_};g.start=function(a){this.stop();this.id_=Nt(this.callback_,void 0!==a?a:this.interval_)};g.stop=function(){this.isActive()&&Ot(this.id_);this.id_=0};g.fire=function(){this.stop();this.doAction_()};
g.isActive=function(){return 0!=this.id_};g.doAction_=function(){this.id_=0;this.listener_&&this.listener_.call(this.handler_)};var zfc=function(a,b){if(b&&a in b)return a;var c=Lu?"Webkit":Ku?"Moz":Iu?"ms":null;return c?(c=c.toLowerCase(),a=c+Ej(a),void 0===b||a in b?a:null):null};var rW=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=rW.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new rW(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof rW?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.expand=function(a,b,c,d){Ta(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.translate=function(a,b){a instanceof ds?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var sW=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};sW.prototype.clone=function(){return new sW(this.left,this.top,this.width,this.height)};var i4a=function(a){return new sW(a.left,a.top,a.right-a.left,a.bottom-a.top)};
sW.prototype.intersection=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};var Afc=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new sW(c,e,d-c,a-e)}return null};
g=sW.prototype;g.contains=function(a){return a instanceof ds?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};g.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};g.getSize=function(){return new mC(this.width,this.height)};
g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.translate=function(a,b){a instanceof ds?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var tW=function(a,b){var c=oC(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},qr=function(a,b){return tW(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},gs=function(a,b,c){if(b instanceof ds){var d=b.x;b=b.y}else d=b,b=c;a.style.left=uW(d,!1);a.style.top=uW(b,!1)},Bfc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Cfc=function(a){if(Iu&&!(8<=
Number(Mu)))return a.offsetParent;var b=oC(a),c=qr(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=qr(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null},cs=function(a){for(var b=new rW(0,Infinity,Infinity,0),c=Tq(a),d=c.document_.body,e=c.document_.documentElement,f=sC(c.document_);a=
Cfc(a);)if(!(Iu&&0==a.clientWidth||Lu&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=qr(a,"overflow")){var h=vW(a),l=new ds(a.clientLeft,a.clientTop);h.x+=l.x;h.y+=l.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=
b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},Ffc=function(a,b){b=b||sC(document);var c=b||sC(document);var d=vW(a),e=vW(c);if(!Iu||9<=Number(Mu)){h=tW(c,"borderLeftWidth");var f=tW(c,"borderRightWidth");l=tW(c,"borderTopWidth");q=tW(c,"borderBottomWidth");f=new rW(parseFloat(l),parseFloat(f),parseFloat(q),parseFloat(h))}else{var h=Dfc(c,"borderLeft");f=Dfc(c,"borderRight");var l=Dfc(c,"borderTop"),q=Dfc(c,"borderBottom");f=new rW(l,f,q,h)}c==sC(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!Iu||10<=Number(Mu)||(h+=f.left,d+=f.top)):(h=d.x-e.x-f.left,d=d.y-e.y-f.top);a=Efc(a);e=c.clientHeight-a.height;f=c.scrollLeft;l=c.scrollTop;f+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));l+=Math.min(d,Math.max(d-e,0));c=new ds(f,l);b.scrollLeft=c.x;b.scrollTop=c.y},vW=function(a){var b=oC(a),c=new ds(0,0);var d=b?oC(b):document;d=!Iu||9<=Number(Mu)||RLb(Tq(d).document_)?d.documentElement:d.body;if(a==d)return c;a=Bfc(a);b=tC(Tq(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},j4a=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new ds(0,0),f=uC(oC(d));if(BAb(f,"parent")){var h=d;do{if(f==c)var l=vW(h);else l=Bfc(h),l=new ds(l.left,l.top);e.x+=l.x;e.y+=l.y}while(f&&f!=c&&f!=f.parent&&(h=f.frameElement)&&(f=f.parent))}d=es(e,vW(d));!Iu||9<=Number(Mu)||RLb(b.document_)||(d=es(d,tC(b.document_)));a.left+=d.x;a.top+=d.y}},Gfc=function(a,b,c){if(b instanceof mC)c=b.height,b=b.width;else if(void 0==c)throw Error("Gd");a.style.width=uW(b,!0);a.style.height=
uW(c,!0)},uW=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},fs=function(a){var b=Efc;if("none"!=qr(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},Efc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Lu&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Bfc(a),new mC(a.right-a.left,a.bottom-a.top)):new mC(b,c)},bs=
function(a){var b=vW(a);a=fs(a);return new sW(b.x,b.y,a.width,a.height)},Hfc=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},wW=function(a,b){a.style.display=b?"":"none"},xW=function(a){return"rtl"==qr(a,"direction")},Ifc=Ku?"MozUserSelect":Lu||Ju?"WebkitUserSelect":null,Jfc=function(a){var b=a.getElementsByTagName("*");if(Ifc){var c="none";a.style&&(a.style[Ifc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[Ifc]=c)}}else if(Iu&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},o4a=function(a,b){a=a.style;Ku?a.MozBoxSizing="border-box":Lu?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},Kfc=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=
c;a.runtimeStyle.left=d;return+b},Lfc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?Kfc(a,b):0},Mfc=function(a){if(Iu){var b=Lfc(a,"marginLeft"),c=Lfc(a,"marginRight"),d=Lfc(a,"marginTop");a=Lfc(a,"marginBottom");return new rW(d,c,a,b)}b=tW(a,"marginLeft");c=tW(a,"marginRight");d=tW(a,"marginTop");a=tW(a,"marginBottom");return new rW(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},Nfc={thin:2,medium:4,thick:6},Dfc=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+
"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in Nfc?Nfc[b]:Kfc(a,b)};var Ofc=function(){if(EAb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(fa()))?a[1]:"0"}return Zr?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(fa()))?a[0].replace(/_/g,"."):"10"):HAb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(fa()))?a[1]:""):IAb||JAb||KAb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(fa()))?a[1].replace(/_/g,"."):""):""}();var yW=function(a){return(a=a.exec(fa()))?a[1]:""},Pfc=function(){if(UAb)return yW(/Firefox\/([0-9.]+)/);if(Iu||Ju||CAb)return RAb;if(YAb){if(ya()||haa()){var a=yW(/CriOS\/([0-9.]+)/);if(a)return a}return yW(/Chrome\/([0-9.]+)/)}if(ZAb&&!ya())return yW(/Version\/([0-9.]+)/);if(VAb||WAb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(fa()))return a[1]+"."+a[2]}else if(XAb)return(a=yW(/Android\s+([0-9.]+)/))?a:yW(/Version\/([0-9.]+)/);return""}();var h4a=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=qr(a,"position")){var c=vW(a);if(!b){b=xW(a);var d;if(d=b){d=ZAb&&0<=Aa(Pfc,10);var e;if(e=LAb)e=0<=Aa(Ofc,10);var f=YAb&&0<=Aa(Pfc,85);d=Ku||d||e||f}b=d?-a.scrollLeft:b&&!Cq&&"visible"!=qr(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=es(c,new ds(b,a.scrollTop))}}}return c||new ds},l4a=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var h=0;if(d||0!=c)c&4?a.x-=b.width+(d?d.right:
0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){h=a;c=b;d=0;65==(f&65)&&(h.x<e.left||h.x>=e.right)&&(f&=-2);132==(f&132)&&(h.y<e.top||h.y>=e.bottom)&&(f&=-5);h.x<e.left&&f&1&&(h.x=e.left,d|=1);if(f&16){var l=h.x;h.x<e.left&&(h.x=e.left,d|=4);h.x+c.width>e.right&&(c.width=Math.min(e.right-h.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&f&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(h.x<e.left?16:0)|(h.x+c.width>
e.right?32:0));h.y<e.top&&f&4&&(h.y=e.top,d|=2);f&32&&(l=h.y,h.y<e.top&&(h.y=e.top,d|=8),h.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-h.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&f&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(h.y<e.top?64:0)|(h.y+c.height>e.bottom?128:0));e=d}else e=256;h=e}e=new sW(0,0,0,0);e.left=a.x;e.top=a.y;e.width=b.width;e.height=b.height;return{rect:e,status:h}},k4a=function(a,b){return(b&8&&xW(a)?b^4:b)&-9};var $r=function(){};$r.instance_=void 0;$r.getInstance=function(){return $r.instance_?$r.instance_:$r.instance_=new $r};$r.prototype.nextId_=0;$r.prototype.idPrefix_="";$r.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Rr=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var zW=function(a,b,c,d){Qq.call(this);this.parent_=a||document.body;this.dom_=Tq(this.parent_);this.reposition_=!a;this.element_=null;this.token_="";this.rows_=[];this.rowDivs_=[];this.startRenderingRows_=this.hilitedRow_=-1;this.visible_=!1;this.className="ac-renderer";this.highlightedClassName="ac-highlighted";this.customRenderer_=b||null;this.useStandardHighlighting_=null!=d?d:!0;this.highlightAllTokens_=!1;this.rightAlign_=!!c};Gu(zW,Qq);zW.prototype.getElement=function(){return this.element_};
zW.prototype.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];Qfc(this)};zW.prototype.dismiss=function(){this.visible_&&(this.visible_=!1,Rfc(this,!1),wW(this.element_,!1))};zW.prototype.show=function(){this.visible_||(this.visible_=!0,Rfc(this,!0),wW(this.element_,!0))};
var Rfc=function(a,b){a.target_&&(tO(a.target_,"haspopup",b),tO(a.element_,"expanded",b),tO(a.target_,"expanded",b),b?tO(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),uO(a.target_,null)))};zW.prototype.isVisible=function(){return this.visible_};
var Sfc=function(a,b){var c=0<=b&&b<a.rows_.length?a.rows_[b]:void 0,d=0<=b&&b<a.rowDivs_.length?a.rowDivs_[b]:void 0;a.dispatchEvent({type:"rowhilite",rowNode:d,row:c?c.data:null})&&(0<=a.hilitedRow_&&xfc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(qW(d,["ac-active","active"]),a.target_&&uO(a.target_,d),Ffc(d,a.element_)))};zW.prototype.hiliteId=function(a){if(-1==a)Sfc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){Sfc(this,b);break}};
var Tfc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;qW(b,xj(a.className).split(" "));sO(b,"listbox");b.id=Rr($r.getInstance());a.dom_.appendChild(a.parent_,b);Rq(b,"click",a.handleClick_,!1,a);Rq(b,"mousedown",a.handleMouseDown_,!1,a);Rq(b,"mouseover",a.handleMouseOver_,!1,a)}},Qfc=function(a){Tfc(a);a.widthProvider_&&(a.element_.style.minWidth=a.widthProvider_.clientWidth-0+"px");a.maxWidthProvider_&&(a.element_.style.maxWidth=a.maxWidthProvider_.clientWidth-
0+"px");a.rowDivs_.length=0;a.dom_.removeChildren(a.element_);a.customRenderer_&&a.customRenderer_.render?a.customRenderer_.render(a,a.element_,a.rows_,a.token_):a.rows_.forEach(function(b){var c=this.token_,d=this.dom_.createDom("DIV",{className:"ac-row",id:Rr($r.getInstance())});sO(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):xC(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,Ufc(this,d,c));vfc(d,
"ac-row");this.rowDivs_.push(d);b=d;this.dom_.appendChild(this.element_,b)},a);0==a.rows_.length?a.dismiss():(a.show(),a.reposition(),Jfc(a.element_))};
zW.prototype.reposition=function(){if(this.target_&&this.reposition_){var a=this.anchorElement_||this.target_;var b=this.rightAlign_?5:1;var c=this.element_,d=b^1,e=h4a(c),f=bs(a),h=cs(a);h&&f.intersection(i4a(h));j4a(f,Tq(a),Tq(c));a=k4a(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new ds(b,f.top+(a&1?f.height:0));a=es(a,e);if(f=cs(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=k4a(c,d);d=fs(c);b=d.clone();e=l4a(e,b,a,null,f,65);e.status&496||(f=e.rect,gs(c,new ds(f.left,
f.top)),b=e.rect.getSize(),n4a(d,b)||o4a(c,b))}};zW.prototype.getTarget=function(){return this.target_||null};zW.prototype.disposeInternal=function(){this.element_&&(kC(this.element_,"click",this.handleClick_,!1,this),kC(this.element_,"mousedown",this.handleMouseDown_,!1,this),kC(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);Oi(this.animation_);this.parent_=null;zW.superClass_.disposeInternal.call(this)};
var Ufc=function(a,b,c){if(a.highlightAllTokens_||!a.wasHighlightedAtLeastOnce_)if(3==b.nodeType){var d=null;Array.isArray(c)&&1<c.length&&!a.highlightAllTokens_&&(d=c.slice(1));c=Vfc(a,c);if(0!=c.length){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,l=f.exec(e),q=0;l;)q++,c.push(e.substring(h,l.index)),c.push(e.substring(l.index,f.lastIndex)),h=f.lastIndex,l=f.exec(e);c.push(e.substring(h));if(1<c.length){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)f=2*e,b.nodeValue=c[f],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[f+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;b.nodeValue=c.slice(2*d).join("");a.wasHighlightedAtLeastOnce_=!0}else d&&Ufc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Ufc(a,b,c),b=d},Vfc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!nm(mm(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(yp).join("|"):(c=XCb(b),c=yp(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?yp(b[0]):"":/^\W/.test(b)||(c=yp(b));return c},Wfc=function(a,b){for(;b&&b!=a.element_&&!ufc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};zW.prototype.handleClick_=function(a){var b=Wfc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};zW.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
zW.prototype.handleMouseOver_=function(a){a=Wfc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var AW=function(a,b,c,d,e,f,h,l,q,u){f=f||new pW(",;",'"');h=new zW(h||null,q||this,u);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;mW.call(this,this,h,f);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!l};Gu(AW,mW);
var Yfc=function(a,b,c,d,e,f,h){b=new AW(null,b,void 0,f,c,d,e,void 0,void 0,h);ZD(a);Eu(Xfc,null,b,!0);throw Error("Ad");},Zfc=function(a,b,c,d,e,f,h){b=new AW(null,b,void 0,f,c,d,e,void 0,void 0,h);c=Xfc;e=a.getClientInfo();d=(f=at(e,10)||xl(a.getExperiments(),5,!0))?new cdc(void 0,adc(a)):new RV(void 0,adc(a));h=Ls(new Icc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=nec.get(l)||4;q=CRa("people-pa",void 0===q?0:q);l=4===l?Tu(a.getClientInfo(),2)||"":Tu(a.getClientInfo(),1)||"";var u=Tu(a.getClientInfo(),
4),x=Tu(a.getClientInfo(),5),y=Tu(a.getClientInfo(),6)||"",G=a.getClientInfo().getAffinityType()||"",J=Tu(a.getUserInfo(),2),M=a.getAuthErrorHandler(),V=gj(a.getClientInfo(),8,3E4),U=xl(a.getClientInfo(),17,!1);h=new eec(h,q,l,u,x,y,G,J,V,M,gj(a.getClientInfo(),13,15),gj(a.getClientInfo(),14,500),lk(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),lk(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
U);a=new cW(h,Wbc(a));h=new vec(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new UV(a,null,!!at(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},Xfc=function(a,b,c){b&&c.loadContactRows(occ,function(){});$fc(a,c)};AW.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&Oi(this.contactStore_);AW.superClass_.disposeInternal.call(this)};
var $fc=function(a,b){a.contactStore_=b;a.ownsContactStore_=!0;a.savedQuery_&&a.savedHandler_&&(a.currentRequest_=a.contactStore_.loadContactRows(a.savedQuery_,a.savedHandler_),a.savedQuery_=null,a.savedHandler_=null)};g=AW.prototype;g.savedQuery_=null;g.savedHandler_=null;g.inputHandler_=null;g.includeGroups_=!0;g.isRowDisabled=function(a){return!!a.rowDisabled};
g.requestMatchingRows=function(a,b,c){a={token:a,maxMatches:b,includeContacts:!0,includeGroups:this.includeGroups_,matchType:1,matchFieldList:mcc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};c=Eu(this.handleAutoCompleteContacts_,this,c);if(a.token&&""!=a.token)this.contactStore_?(this.currentRequest_&&(this.currentRequest_.cancel(),this.currentRequest_=null),this.currentRequest_=this.contactStore_.loadContactRows(a,
c)):(this.savedQuery_=a,this.savedHandler_=c);else{b=new tV;var d=[];this.filter_&&(d=this.filter_(d,a.token));b.response_=Fu(c,d,b,null,a)}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){AW.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){AW.superClass_.dismiss.call(this)};
g.renderRow=function(a,b,c){b=b={displayName:a.data.text,newSection:!!(a.data.flags&1)};a=b.displayName;b=b.newSection;(a=ls('<div class="'+ms("goog-contacts-ui-autocomplete-name-nochat")+(b?" "+ms("goog-contacts-ui-autocomplete-new-section"):"")+'">'+ns(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=VRa(a),WRa(c,a))};g.selectHilited=function(){var a=nW(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):AW.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new agc(a))};var agc=function(a){eC.call(this,"g");this.row=a};Gu(agc,eC);jAb("createAutoComplete",function(a,b,c,d,e,f,h,l,q,u){d&&(b=b+d+"/");b=wec(ZD(b));f&&b.loadContactRows(occ,function(){});c=new AW(b,c,void 0,q,e,l,u,!0);c.attachInputs(pC(document,a));return c});var BW=function(){this.eventHandler_=new Tr(this);BW.prototype.addInput=BW.prototype.addInput;BW.prototype.removeInput=BW.prototype.removeInput;BW.prototype.setTarget=BW.prototype.setTarget},bgc=function(a,b){var c=new BW;c.create(a,b);return c};g=BW.prototype;
g.create=function(a,b){a=pC(document,a);this.acWidget_=b.contactStoreConfig?Zfc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):Yfc(b.serverBase,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign);"groups"in b&&(this.acWidget_.includeGroups_=b.groups);var c=b.onComplete;"function"===typeof c&&this.eventHandler_.listen(this.acWidget_,"update",function(d){d.row&&c.call(da,d.target.getTarget())});
this.addInput(a)};g.dispose=function(){Mma(this.acWidget_,this.eventHandler_)};g.setTarget=function(a){this.acWidget_.setTarget(a)};g.addInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.attachInputs(a[b]);else this.acWidget_.inputHandler_.attachInputs(a)};g.removeInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.detachInputs(a[b]);else this.acWidget_.inputHandler_.detachInputs(a)};g.acWidget_=null;
da._EmailAc_create=bgc;var cgc=function(a,b){return new Xq("/",a,void 0,void 0,void 0,void 0,b)};Xq.prototype.setLocale=function(){};var dgc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};dgc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Xq.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Id");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)egc(this,this.acWrappers_[b]);this.focusedElement_&&(a=Va(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(p(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)kC(a[b],"focus",this.onTargetFocus_,!1,this)};
var egc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=Eu(a.onCompleteCallback_,a);c.ua=a.useApiary_;c.acd=a.apiaryClientDeferred_;c.onAuthError=a.onAuthError_;c.tg=a.testGaia_;c.contactStoreConfig=a.contactStoreConfig_;for(var d in a.commonAcParams_)c[d]=a.commonAcParams_[d];a=[].concat(p(b.pendingInputs.values()));b.emailac=bgc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=Xq.prototype;
g.attachAutocomplete=function(a,b,c){a=pC(document,a);var d=b||{};b=Va(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new dgc(d),this.acWrappers_[c]=e);d=e;c=a;d.emailac?d.emailac.addInput(c):d.pendingInputs.add(c);this.inputToAcWrapper_[b]=e;e.emailac||(this.emailAcInitialized_?egc(this,e):Rq(a,"focus",this.onTargetFocus_,!1,this))};g.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
g.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[Va(a)];b&&b(a)};g.detachAutocomplete=function(a){a=pC(document,a);kC(a,"focus",this.onTargetFocus_,!1,this);var b=Va(a);delete this.onAcCompleteListeners_[b];var c=this.inputToAcWrapper_[b];c&&(c.emailac?c.emailac.removeInput(a):c.pendingInputs.delete(a),delete this.inputToAcWrapper_[b])};g.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};jAb("goog.NewContactTools",Xq);
jAb("goog.NewContactTools.create",cgc);Xq.prototype.setLocale=Xq.prototype.setLocale;Xq.prototype.attachAutocompleteTo=Xq.prototype.attachAutocompleteTo;Xq.prototype.initAutocomplete=Xq.prototype.initAutocomplete;Xq.prototype.attachAutocomplete=Xq.prototype.attachAutocomplete;Xq.prototype.detachAutocomplete=Xq.prototype.detachAutocomplete;var $Ra=function(a){this.rows_=a||[]};$Ra.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var f=new RegExp("(^|\\W+)"+yp(a),"i"),h=0;h<d.length&&e.length<b;h++){var l=d[h];String(l).match(f)&&e.push(l)}0==e.length&&(e=fgc(a,b,d));c(a,e)};
var ZRa=function(a,b,c){return fgc(b,c,a.rows_)},fgc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),l=String(f).toLowerCase(),q=0;if(-1!=l.indexOf(h))q=parseInt((l.indexOf(h)/4).toString(),10);else for(var u=h.split(""),x=-1,y=10,G=0,J;J=u[G];G++)J=l.indexOf(J),J>x?(x=J-x-1,x>y-5&&(x=y-5),q+=x,x=J):(q+=y,y+=5);q<6*h.length&&d.push({str:f,score:q,index:e})}d.sort(function(M,V){var U=M.score-V.score;return 0!=U?U:M.index-V.index});a=[];for(G=0;G<b&&G<d.length;G++)a.push(d[G].str);
return a};var CW=function(a,b,c,d){var e=this;this.activeSession=c;this.contactTools=null;this.subscription=new T.Subscription;this.acReadyDeferred=An();if(a.gapi){var f=a.gapi;f.load("client",function(){f.config.update("googleapis.config/auth/useFirstPartyAuth",!0);f.config.update("googleapis.config/auth/useFirstPartyAuthV2",!0);var h="QA"===e.activeSession.getEnvironmentType();h&&f.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");var l="0",q=/\/u\/(\d+)\//.exec(b.absUrl());
q&&(l=q[1]);f.config.update("googleapis.config/sessionIndex",l);e.acReadyDeferred.resolve(void 0);e.contactTools=d.create(h);e.contactTools.initAutocomplete()})}};CW.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
CW.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return aSa(h,l,c)},f=new T.Subscription;this.acReadyDeferred.promise.then(function(){d.contactTools&&(d.contactTools.attachAutocomplete(a,{ac2:!0,groups:!0,extendedInterface:!1,filter:e,cacheBusting:[c]},b),f.add(function(){var h;null==(h=d.contactTools)||h.detachAutocomplete(a)}))});return f};CW.\u0275fac=function(a){return new (a||CW)(n(SE),n(bH),n(tu),n(DW))};CW.\u0275prov=Pc({token:CW,factory:CW.\u0275fac,providedIn:"root"});
var DW=function(){};DW.prototype.create=function(a){var b=new qV,c=b.getUserInfo();k(c,6,a?5:1);a=b.getExperiments();a=k(a,5,!0);a=k(a,1,!0);a=k(a,3,!0);k(a,2,!0);return cgc("xapi",b)};DW.\u0275fac=function(a){return new (a||DW)};DW.\u0275prov=Pc({token:DW,factory:DW.\u0275fac,providedIn:"root"});var EW=function(a,b,c,d){Z.call(this);this.element=a;this.accessPolicyConverter=b;this.focusContacts=c;this.activeSession=d;this.autocompleteActive=new vw;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};X(EW,Z);
EW.prototype.ngOnInit=function(){var a=this;this.$element.setAttribute("autocomplete","contact-autocomplete-username");this.$element.setAttribute("spellcheck","off");this.$element.setAttribute("aria-autocomplete","list");this.$element.setAttribute("role","combobox");this.$element.setAttribute("name","ac-workaround-"+Bv());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=ggc(hgc(a.$element.value));a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));
a.$element.dispatchEvent(new Event("input"))};else if("MULTI"===this.fieldType)b=function(){for(var d="",e=[],f=a.$element,h=m(f.value.split(",")),l=h.next();!l.done;l=h.next())d+=l.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(ggc(d)),d=""):Qbc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=ggc(hgc(d)),e.push(d),d="");f.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("Jd`"+
this.fieldType);var c=this.additionalContactsCallback();c=igc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var jgc=function(a){(0,T.timer)(150).pipe(Rf(a.destroyed$)).subscribe(function(){var b=document.querySelector(".ac-renderer"),c;b=!!b&&"none"!==(null==(c=window.getComputedStyle(b))?void 0:c.display);a.autocompleteActive.emit(b)})},igc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},hgc=function(a){return a.substr(Math.max(0,a.lastIndexOf("<"))).trim().replace(/[<>]/g,"")},ggc=function(a){a=a.trim();
","===Ca(a)&&(a=a.slice(0,-1));a=Dp(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};EW.\u0275fac=function(a){return new (a||EW)(A(Yd),A(kV),A(CW),A(tu))};
EW.\u0275dir=r({type:EW,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&K("keydown",function(){return jgc(b)},!1,ae)("mousedown",function(){return jgc(b)})},inputs:{fieldType:["bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[$f]});var FW=function(){};FW.\u0275fac=function(a){return new (a||FW)};FW.\u0275mod=fd({type:FW});FW.\u0275inj=Qc({imports:[px]});var kgc=["spanElement"],GW=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};GW.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};GW.prototype.ngDoCheck=function(){this.spanElement&&!this.disabled&&this.spanElement.nativeElement.offsetWidth>this.maxWidth&&(this.displayString=this.displayString.substring(0,this.maxWidth/this.spanElement.nativeElement.offsetWidth*this.displayString.length-3)+"...")};
GW.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};GW.\u0275fac=function(a){return new (a||GW)};
GW.\u0275cmp=r({type:GW,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&Sg(kgc,5);if(a&2){var c;Rg(c=Ug())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[md],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&F(0,"span",0,1);a&2&&C("matTooltip",b.getTooltip())("innerHtml",b.displayString,te)},dependencies:[qD],encapsulation:2});var HW=function(){};HW.\u0275fac=function(a){return new (a||HW)};HW.\u0275mod=fd({type:HW});HW.\u0275inj=Qc({imports:[lE]});var lgc=["popupField"],mgc=["fieldContent"],ngc=["popupOverlay"],ogc=["overlayContent"],xSa=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},pgc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],IW=function(a,b,c,d,e,f,h,l){Z.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=f;this.constants=h;this.appEvents=l;this.STATUS_FULL_TEXT=vF;this.googDateValue=null;this.autocompleteActive=!1;this.readonlyTooltip=
this.displayValue=null;this.textBuffer="";this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.isUser=!1;this.teamId="";this.clearable=!1;this.choices=[];this.showEnumTitle=!1;this.valueChange=new vw;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.truncate=!1;this.enableTeamAnnotations=f.isInternalSession()};X(IW,Z);IW.\u0275dir=Z.\u0275dir;g=IW.prototype;
g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=Qp(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,qgc(a),a.cdr.detectChanges())}));this.subscriptions.add(UZb(this.dateFormatter,function(){rgc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){qgc(a)})};
g.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};g.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&rgc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return Yz(Zz($z(bA(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),pgc)};g.convertIssueStatusStrToTag=function(a){return Wk[a]};
var qgc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},JSa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();PSa(a);break;case 27:b.stopPropagation(),Yq(a,b,!1,!0)}},HSa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),PSa(a);break;case 27:b.stopPropagation(),Yq(a,b,!1,!0)}},tSa=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();Yq(a,
b,!0,!1);break;case 27:b.stopPropagation(),Yq(a,b,!1,!0)}},Yq=function(a,b,c,d){if((null==b?0:b.target)&&"nodeName"in b.target&&"A"===b.target.nodeName||"ENUM"===a.type&&0===a.choices.length)null==b||b.stopPropagation();else{if(!c||a.disabled||a.readonly){if(a.isActive=!1,qgc(a),d){var e;null==(e=a.popupField)||e.nativeElement.focus()}}else if(a.appEvents.openEditField.next(a),a.isActive=!0,a.textBuffer=null!=a.value?String(a.value):"","DATE"==a.type&&(c=a.value,a.googDateValue=c?kj(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){sgc(a);var f=a.element.nativeElement;(0,T.fromEvent)(document,"click").pipe(sf(function(h){return!f.contains(h.target)}),Ef(),Rf(a.overlayRef._detachments),Rf(a.destroyed$)).subscribe(function(){Yq(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};IW.prototype.schedule=function(a){var b=T.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
IW.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var rgc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&SZb.has(b)){a.displayValue=Ym(b);break}var c=a.choices.find(function(d){return d.value==b});c?(a.displayValue=c.displayText,a.readonlyTooltip=c.altText||""):(a.displayValue=null,a.readonlyTooltip=null);break;case "BOOL":a.displayValue=b?"Yes":"No";a.readonlyTooltip=null;break;case "DATE":b?a.displayValue=a.dateFormatter.formatUserCalendar(kj(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};IW.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=lj(a)),"NUMERIC"===this.type&&""===a&&(a=null),mj(this.value,a)?"ENUM"===this.type&&Yq(this,null,!1,!0):(Yq(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var PSa=function(a){if(void 0===a.type)throw Error("Kd");a.isUser&&(a.textBuffer=a.textBuffer.replace(/^[\s,]+|[\s,]+$/g,""));"NUMERIC"===a.type&&(a.textBuffer=a.textBuffer.trim());switch(a.type){case "TEXT":a.setFieldValue(a.textBuffer);break;case "NUMERIC":a.textBuffer=a.textBuffer.trim();""===a.textBuffer?a.setFieldValue(null):a.setFieldValue(Number(a.textBuffer));break;case "ENUM":case "BOOL":case "DATE":throw Error("Ld");default:Qi(a.type,"FieldType")}};
IW.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);Yq(this,null,!1,!0)};var sgc=function(a){qgc(a);var b=a.overlayRef.attach(new qy(a.popupOverlay,a.viewContainerRef)).rootNodes[0];a.schedule(function(){if("TEXT"===a.type||"NUMERIC"===a.type){var c=b.querySelector("textarea, input");c.focus();c.select()}else"DATE"===a.type&&b.querySelector(".goog-date-picker").focus()})};
IW.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};IW.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};IW.\u0275fac=function(a){return new (a||IW)(A(HH,2),A(Yd),A(cA),A(Pg),A(tJ),A(tu),A(sJ),A(uG))};
IW.\u0275cmp=r({type:IW,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(Sg(hD,5),Sg(lgc,5),Sg(mgc,5),Sg(ngc,5),Sg(ogc,5));if(a&2){var c;Rg(c=Ug())&&(b.enumMenuTrigger=c.first);Rg(c=Ug())&&(b.popupField=c.first);Rg(c=Ug())&&(b.fieldContent=c.first);Rg(c=Ug())&&(b.popupOverlay=c.first);Rg(c=Ug())&&(b.overlayContent=c.first)}},inputs:{multiline:"multiline",name:"name",title:"title",type:"type",value:"value",user:"user",displayValueOverride:"displayValueOverride",isUser:"isUser",teamId:"teamId",
clearable:"clearable",choices:"choices",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},features:[Dg([HH]),$f,md],decls:11,vars:5,consts:[[1,"bv2-issue-metadata-field"],["class","keep-focus-ring","role","button","tabindex","0","aria-haspopup","true",3,"class","bv2-disabled","bv2-readonly","matTooltip","click","keydown",4,"ngIf"],[3,"class","ngClass","matTooltip",4,"ngIf"],
[4,"ngIf"],[1,"bv2-issue-metadata-footer"],["enumMenu","matMenu"],["matMenuContent",""],["popupOverlay",""],["role","button","tabindex","0","aria-haspopup","true",1,"keep-focus-ring",3,"matTooltip","click","keydown"],["popupField",""],[3,"class",4,"ngIf"],["class","bv2-editable-value",3,"matMenuTriggerFor","menuClosed",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["field",""],[1,"bv2-editable-value",3,"matMenuTriggerFor","menuClosed"],[4,"ngTemplateOutlet"],[1,"bv2-editable-value"],[1,"bv2-editable-value",
3,"keydown","click"],["fieldContent",""],["class","issue-metadata-field-edit-icon",4,"ngIf"],["class","issue-metadata-field-dropdown-icon",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],["class","bv2-editfield-avatar",3,"email",4,"ngIf"],["class","bv2-metadata-field-value",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],[1,"bv2-metadata-field-value"],[3,"email"],["class","bv2-metadata-field-value",
3,"maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-edit-button",4,"ngIf"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],[1,
"issue-metadata-field-dropdown-icon"],["svgIcon","arrow-dropdown"],[3,"ngClass","matTooltip"],[3,"class","click",4,"ngIf"],[1,"keep-focus-ring",3,"disabled","aria-label","model","modelChange"],[3,"click"],[3,"user",4,"ngIf"],[3,"user"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled","click",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","matTooltip","click",4,"ngFor","ngForOf"],["mat-menu-item","","role",
"menuitemcheckbox","aria-label","Clear",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","matTooltip","click"],["role","dialog",3,"ngSwitch"],["overlayContent",""],[4,"ngSwitchCase"],[3,"click",4,"ngSwitchCase"],["class","bv2-text-field-edit",3,"click",4,"ngSwitchDefault"],[3,"required","date","dateSelectionChange","saveClicked","cancelClicked"],[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],
["mat-flat-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"disabled","matTooltip","click"],["svgIcon","done"],["mat-stroked-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"matTooltip","click"],["svgIcon","close"],["spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["spellcheck","false",3,"ngModel","ngModelChange","keydown"],["step","any",
"spellcheck","false",3,"ngModel","ngModelChange","keydown"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown",
"autocompleteActive"]],template:function(a,b){a&1&&(D(0,"div")(1,"div",0),O(2,vSa,7,14,"div",1),O(3,ySa,3,13,"div",2),O(4,ASa,2,1,"ng-container",3),F(5,"div",4),E(),D(6,"mat-menu",null,5),O(8,DSa,2,2,"ng-template",6),E(),O(9,RSa,6,7,"ng-template",null,7,$g),E());a&2&&(z(1),pg("active",b.isActive&&!b.readonly&&!b.disabled),z(1),C("ngIf","BOOL"!==b.type),z(1),C("ngIf","BOOL"===b.type),z(1),C("ngIf",b.isUser))},dependencies:[aM,$w,ax,bx,gx,cx,dx,ex,EW,aU,yh,Ex,Lx,NA,OB,iD,gD,hD,fD,qD,iV,pL,GW,kN,mN,
ix],styles:[".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var tgc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},JW=function(){};JW.\u0275fac=function(a){return new (a||JW)};JW.\u0275mod=fd({type:JW});JW.\u0275inj=Qc({imports:[iN,yP,px,FW,sU,ay,BD,rD,jD,lE,jV,sM,gK,HW,nN]});var ugc=0,KW=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+ugc;this.id="b-collapsible-panel-"+ugc;ugc++};KW.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
Ei.Object.defineProperties(KW.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titleWhenCollapsed=this.titleWhenExpanded=a},get:function(){return this.isExpanded?this.titleWhenExpanded:this.titleWhenCollapsed}},expandedState:{configurable:!0,enumerable:!0,get:function(){return this.isExpanded?"expanded":"collapsed"}}});KW.\u0275fac=function(a){return new (a||KW)(A(Yd))};
KW.\u0275cmp=r({type:KW,selectors:[["collapsible-panel"],["b-collapsible-panel"]],inputs:{titleWhenCollapsed:"titleWhenCollapsed",titleWhenExpanded:"titleWhenExpanded",isExpanded:"isExpanded",iconName:"iconName",hasCompactTitleBar:"hasCompactTitleBar",title:"title"},ngContentSelectors:["*"],decls:8,vars:12,consts:[[1,"collapsible-panel"],["aria-label","collapsible panel",1,"title-bar","unstyled-button",3,"click","mouseup"],["size","small","class","icon",3,"name",4,"ngIf"],["class","title",4,"ngIf"],
["class","horizontal-line",4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["role","region",1,"content"],["size","small",1,"icon",3,"name"],[1,"title"],[1,"horizontal-line"]],template:function(a,b){a&1&&(wg(),D(0,"div",0)(1,"button",1),K("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),O(2,TSa,1,1,"b-icon",2),O(3,USa,2,1,"span",3),O(4,VSa,2,0,"div",4),F(5,"mat-icon",5),E(),D(6,"div",6),xg(7),E()());a&2&&(z(1),pg("compact",
b.hasCompactTitleBar),dg("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),z(1),C("ngIf",b.iconName),z(1),C("ngIf",!b.hasCompactTitleBar||!b.isExpanded),z(1),C("ngIf",b.hasCompactTitleBar),z(1),C("@expandCollapseIcon",b.expandedState),z(1),C("@expandCollapseContent",b.expandedState),dg("id",b.id)("aria-labelledby",b.headerId))},dependencies:[bx,OB,nO],styles:['.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:#1a73e8;color:var(--text-primary);cursor:pointer;display:flex;flex-direction:row;padding:4px 4px 4px 7px;margin:6px 0px 6px 12px;width:calc(100% - 18px);border-radius:4px;transition:200ms background-color}.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]:focus{background-color:#e8f0fe;background-color:var(--primary-c50)}.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex-grow:1}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);padding:0;margin:0;font-size:.75rem;letter-spacing:.025em;width:100%}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex-grow:0;margin-left:3px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   b-icon[_ngcontent-%COMP%]{min-width:20px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .horizontal-line[_ngcontent-%COMP%]{border-bottom:1px solid var(--text-disabled);flex-grow:1;height:.8vh;margin-left:8px;margin-right:10px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{margin-right:-3px}.collapsible-panel[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{overflow:hidden}'],
data:{animation:[$h("expandCollapseContent",[ci("expanded",bi({height:"*",visibility:"visible"})),ci("collapsed",bi({height:"0",visibility:"hidden"})),di("expanded <=> collapsed",[ai("200ms")])]),$h("expandCollapseIcon",[ci("expanded",bi({transform:"rotate(-180deg)"})),ci("collapsed",bi({transform:"*"})),di("expanded <=> collapsed",[ai("200ms")])])]}});var LW=function(){};LW.\u0275fac=function(a){return new (a||LW)};LW.\u0275mod=fd({type:LW});LW.\u0275inj=Qc({imports:[px,rD,KP]});var vgc=["addLink"],wgc=["showFewer"],xgc=["showMore"],ygc=["removeButton"],XSa=function(a,b){return{item:a,$index:b}},zgc=[[["",8,"title-action"]],[["",8,"value-action"]]],Agc=[Object.assign({},$q("start","bottom"),ar("start","top"),{offsetY:8}),Object.assign({},$q("center","bottom"),ar("center","top"),{offsetY:8}),Object.assign({},$q("end","bottom"),ar("end","top"),{offsetY:8}),Object.assign({},$q("start","top"),ar("start","bottom"),{offsetY:-8}),Object.assign({},$q("end","top"),ar("end","bottom"),
{offsetY:-8})],MW=function(a,b,c,d){Z.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=Agc;this.defaultLineCount=Number.POSITIVE_INFINITY;this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=!1;this.values=null;this.userMap=new Map;this.enumChoices=null;this.sortedEnumChoices=[];this.enumPendingValues=new Set;this.isUser=this.isActive=!1;this.valuesChange=new vw;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.truncate=!1;
this.additionAllowed=!0;this.isExpanded=this.isCollapsible=!1;this.collapsiblePanelTitle=this.iconName="";this.inputValidator=null;this.teamId=this.invalidMessage="";this.isString=pj;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType()};X(MW,Z);MW.\u0275dir=Z.\u0275dir;MW.prototype.ngOnChanges=function(a){var b;if(null==(b=a.users)?0:b.currentValue)for(a=m(a.users.currentValue),b=a.next();!b.done;b=a.next()){b=b.value;var c=Kj(b);c&&this.userMap.set(c,nj(b))}};
MW.prototype.ngOnInit=function(){dTa(this)};var dTa=function(a){a.sortedEnumChoices=[].concat(p(a.enumChoices||[])).sort(function(b){b=b.value;var c,d=(null==(c=a.values)?0:c.includes(b))?1:0,e;return((null==(e=a.values)?0:e.includes(b))?1:0)-d})},eTa=function(a){var b=a.values||[],c=[].concat(p(a.enumPendingValues)),d=c.filter(function(f){return!b.includes(f)}),e=b.filter(function(f){return!c.includes(f)});if(d.length||e.length)a.values=c,a.valuesChange.emit({values:a.values,added:d,removed:e})};
MW.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
MW.prototype.removeItem=function(a){var b=this;if(!this.listFieldDisabled){var c=this.values.splice(a,1);this.valuesChange.emit({values:this.values,removed:c})}this.schedule(function(){var d;if(null==(d=b.values)?0:d.length){d=Math.min(a,b.values.length-1);var e,f,h;null==(e=b.removeButtons)||null==(f=e.get(d))||null==(h=f.nativeElement)||h.focus()}else{var l,q;null==(l=b.addLinkEl)||null==(q=l.nativeElement)||q.focus()}})};
MW.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=lj(a);this.preventDuplicates&&this.values.find(function(f){return mj(f,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&zna(this.values)&&zna(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(qj(this.values)&&qj(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=m(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;"CHANGELISTS"===this.type&&(e=Bgc(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||HTa(this,!0);0!==b.length&&(this.values=[].concat(p(this.values),p(b)),this.valuesChange.emit({values:this.values,added:b}))};
var Bgc=function(a){if(a.match(/^(https:\/\/|http:\/\/)?(cl)\/[\d]+/)||a.match(/^(https:\/\/|http:\/\/)?(cr)\/[\d]+/)||a.match(/^(https:\/\/|http:\/\/)?(critique\.corp\.google\.com)/)||a.match(/^(https:\/\/|http:\/\/)?(critique-ng\.corp\.google\.com)/))a=a.replace(/^.*\//,"");return isNaN(Number(a))?null:a};MW.prototype.onDrop=function(a){dq(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var HTa=function(a,b){var c,d=m(null!=(c=a.menuTriggers)?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=m(null!=(e=a.popupTriggers)?e:[]);for(c=d.next();!c.done;c=d.next())e=c.value,e.disabled||(e.disabled=!0,e.disabled=!1);b&&a.addLinkEl&&a.addLinkEl.nativeElement.focus()},Zq=function(a,b,c){null==c||c.stopPropagation();null==c||c.preventDefault();a.showingAll=b;a.cdr.detectChanges();a.schedule(function(){var d,e,f;null==(d=null!=(f=a.showFewer)?f:a.showMore)||null==(e=d.nativeElement)||
e.focus()})},ZSa=function(a){return a.values&&"REPEATED_DATE"===a.type?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(kj(b))}):a.values&&"TEAM"===a.type?a.values:a.values&&"WORKSPACES"===a.type?a.values:a.displayValuesOverride||(a.values||[]).map(function(b){return pj(b)?b:oj(b)?""+b:a.dateFormatter.formatUserCalendar(kj(b))})},GTa=function(a,b,c){var d,e,f,h;return Ze(function(l){if(1==l.nextAddress){if(!a.inputValidator)return l.jumpTo(2);d=a;return af(l,a.inputValidator(b.value.input),
3)}2!=l.nextAddress&&(d.invalidMessage=l.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return l.return();e=b.value.input;null==(f=b)||f.reset();null==(h=c.querySelector("input"))||h.focus();a.addItems(e);ef(l)})};g=MW.prototype;g.trackClick=function(a){Lp(this.analytics,Mp.LINK_FIELD,"click",a)};g.getUser=function(a){return this.userMap.get(a)};g.schedule=function(a){this.subscriptions.add(T.asyncScheduler.schedule(a))};g.trackByIndex=function(a){return a};
g.getTaskFlowLink=function(a){switch(this.environmentType){case "NIGHTLY":case "PROD":var b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}return b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId};g.asNumber=function(a){return Number(a)};
g.getAriaLabel=function(){if(!this.values||0===this.values.length)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "USERCHIP":a+="user";break;case "REPEATED_DATE":a+="date";break;default:a+="item"}1<this.values.length&&(a+="s");return a};MW.\u0275fac=function(a){return new (a||MW)(A(HH,2),A(tJ),A(LH),A(tu))};
MW.\u0275cmp=r({type:MW,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(Sg(vgc,5),Sg(wgc,5),Sg(xgc,5),Sg(ygc,5),Sg(hD,5),Sg(hT,5));if(a&2){var c;Rg(c=Ug())&&(b.addLinkEl=c.first);Rg(c=Ug())&&(b.showFewer=c.first);Rg(c=Ug())&&(b.showMore=c.first);Rg(c=Ug())&&(b.removeButtons=c);Rg(c=Ug())&&(b.menuTriggers=c);Rg(c=Ug())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",isDefaultOrAllowedValues:"isDefaultOrAllowedValues",
values:"values",users:"users",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",additionAllowed:"additionAllowed",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",inputValidator:"inputValidator",teamId:"teamId"},outputs:{valuesChange:"valuesChange"},features:[Dg([HH]),
$f,md],ngContentSelectors:[".title-action",".value-action"],decls:23,vars:18,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition"],[1,"bv2-editable-title"],[4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDisabled","cdkDropListDropped"],[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],["addLink",""],[3,"ngSwitch",4,"ngIf"],["itemRenderer",
""],["metadataTools",""],["enumPopup","matMenu"],["matMenuContent",""],["textPopup",""],["datePopup",""],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],["mat-button","","aria-haspopup","true","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor","menuOpened",
"menuClosed",4,"ngSwitchCase"],["mat-button","","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button","","aria-haspopup","true","matTooltip",
"Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor","menuOpened","menuClosed"],["mat-button","","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions",
"matTooltip","beforeOpened"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[4,"ngIf","ngIfElse"],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["default",""],["class","bv2-remove-icon bv2-remove-item keep-focus-ring",3,"disabled","matTooltip","click",4,"ngIf"],[1,"float-clear"],[3,"changelistId"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId",
"componentId"],["target","_blank",1,"bv2-metadata-link",3,"href","click"],["class","list-field-user-container",4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],[3,"email",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[3,"email"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"disabled","matTooltip","click"],["removeButton",""],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role",
"button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showFewer",""],[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showMore",""],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked","click",4,"ngFor","ngForOf","ngForTrackBy"],
["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["textPopupForm","ngForm","formEl",""],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button",
"","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"gmat-button","medium","field-popup-button",3,"click"],["svgIcon","close"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"required","renderPanel","dateChange","cancelClicked"]],template:function(a,
b){a&1&&(wg(zgc),D(0,"div",0)(1,"div",1)(2,"div",2),O(3,WSa,2,1,"label",3),xg(4),E(),D(5,"div",4),K("cdkDropListDropped",function(c){return b.onDrop(c)}),O(6,$Sa,3,7,"collapsible-panel",5),O(7,cTa,4,4,"ng-container",3),D(8,"div",6,7),O(10,iTa,4,3,"ng-container",8),xg(11,1),E()()(),O(12,xTa,1,1,"ng-template",null,9,$g),O(14,ATa,2,2,"ng-template",null,10,$g),D(16,"mat-menu",null,11),O(18,CTa,1,2,"ng-template",12),E(),O(19,ITa,13,6,"ng-template",null,13,$g),O(21,JTa,1,2,"ng-template",null,14,$g),E());
a&2&&(pg("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&!b.readonly),z(1),pg("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),C("matTooltip",b.tooltip)("matTooltipPosition","left"),dg("aria-label",b.getAriaLabel()),z(2),C("ngIf",b.title),z(2),pg("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),C("cdkDropListDisabled",!b.isDefaultOrAllowedValues),z(1),C("ngIf",b.isCollapsible),z(1),C("ngIf",!b.isCollapsible),
z(3),C("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[ax,bx,gx,cx,dx,ex,nB,FQ,aU,Mx,yh,Ex,Fx,Wx,Lx,Jx,NA,qD,pL,GW,mN,kQ,lQ,eT,dT,hT,iD,gD,hD,fD,OB,EW,KW,IO],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }",".list-field-content.draggable[_ngcontent-%COMP%] { cursor: grab; }",".list-field-content.draggable[_ngcontent-%COMP%]:active { cursor: grabbing; }",".bv2-editable-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{word-break: normal; overflow-wrap: anywhere;}"]});
var Cgc={USERCHIP:"USERCHIP",CHANGELISTS:"CHANGELISTS",POSTMORTEMS:"POSTMORTEMS",REPEATED_TEXT:"REPEATED_TEXT",REPEATED_DATE:"REPEATED_DATE",REPEATED_ENUM:"REPEATED_ENUM",REPEATED_NUMERIC:"REPEATED_NUMERIC",TEAM:"TEAM",WORKSPACES:"WORKSPACES"},NW=function(){};NW.\u0275fac=function(a){return new (a||NW)};NW.\u0275mod=fd({type:NW});NW.\u0275inj=Qc({imports:[px,uB,iS,sU,ay,BD,lE,sM,GP,HW,nN,mQ,vT,xT,jD,rD,FW,LW,xT,HP]});var MTa=function(){return[]},OW=function(){this.disabled=this.readonly=!1;this.save=new vw},Dgc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};OW.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=Dgc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};OW.prototype.getTooltip=function(){var a;return(null!=(a=this.field.description)?a:"")+" [ID: "+this.field.customFieldId+"]"};
var LTa=function(a){return(a=Dgc(a).getValue())&&void 0===a.values?a:null},OTa=function(a){return(a=Dgc(a).getValue())&&void 0!==a.values?a.values:null};OW.\u0275fac=function(a){return new (a||OW)};
OW.\u0275cmp=r({type:OW,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&Sg(IW,5);if(a&2){var c;Rg(c=Ug())&&(b.editField=c.first)}},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","valueChange",4,"ngIf"],[3,"readonly","defaultLineCount","title","type","tooltip","values","displayValuesOverride",
"enumChoices","listFieldDisabled","valuesChange",4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange"]],template:function(a,b){a&1&&O(0,QTa,3,2,"ng-container",0);a&2&&C("ngIf",Dgc(b))},dependencies:[bx,MW,IW],encapsulation:2});var PW=function(){};
PW.\u0275fac=function(a){return new (a||PW)};PW.\u0275mod=fd({type:PW});PW.\u0275inj=Qc({imports:[px,NW,JW]});var QW=function(){this.mode="default";this.query="";this.selectComponentId=new vw;this.expandComponent=new vw;this.goBack=new vw};QW.prototype.ngOnInit=function(){};QW.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};QW.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};QW.\u0275fac=function(a){return new (a||QW)};
QW.\u0275cmp=r({type:QW,selectors:[["component-row"]],inputs:{componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},decls:13,vars:10,consts:[[1,"container"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"content"],[1,"margin-s-right"],[4,"ngIf","ngIfElse"],["leafOnly",""],["class","archived-indicator",4,"ngIf"],[3,"accessLevel","labelOnlyMode"],[3,"trackerId","showHovercard"],["svgIcon",
"history"],["mat-icon-button","","aria-label","Return to search results","matTooltip","Return to search results",3,"mousedown"],["svgIcon","back"],["mat-icon-button","",1,"expand-button",3,"matTooltip","mousedown"],["svgIcon","folder"],[4,"ngFor","ngForOf"],["noAccessComponent",""],[4,"ngIf"],[1,"subtle-link",3,"innerHtml","mousedown"],[1,"subtle-link",3,"mousedown"],[1,"archived-indicator"]],template:function(a,b){a&1&&(D(0,"div",0),H(1,1),O(2,RTa,2,0,"ng-container",2),O(3,STa,3,0,"ng-container",
2),O(4,TTa,3,2,"ng-container",3),I(),D(5,"div",4)(6,"span",5),O(7,YTa,2,1,"ng-container",6),O(8,$Ta,1,1,"ng-template",null,7,$g),O(10,aUa,2,0,"span",8),E(),F(11,"b-access-level-indicator",9)(12,"b-tracker-chip-smart",10),E()());if(a&2){var c=N(9);z(1);C("ngSwitch",b.mode);z(1);C("ngSwitchCase","recent");z(1);C("ngSwitchCase","tree");z(4);C("ngIf","leaf"!==b.mode)("ngIfElse",c);z(3);C("ngIf",b.componentOption.archived);z(1);C("accessLevel",null==b.componentOption.accessLimit?null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",
!0);z(1);C("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[ax,bx,cx,dx,ex,NA,OB,qD,kO,ML,YJ,dK],styles:[".container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:4px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.content[_ngcontent-%COMP%]{display:inline-block;margin-left:8px;margin-top:1px;line-height:20px}.mat-icon-button[_ngcontent-%COMP%]{width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;line-height:18px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:18px;width:18px;line-height:18px}.archived-indicator[_ngcontent-%COMP%]{margin-left:4px;color:#ea4335;color:var(--bad)}\n/*# sourceMappingURL=component_row.css.map */"]});var RW=function(a,b,c,d,e,f,h){var l=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=f;this.currentTracker=h;this.includeArchived=!1;this.searchQuery$=new T.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(Af(250));this.state$=new T.BehaviorSubject("default");this.listUpdated$=new T.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new T.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new T.BehaviorSubject([]);this.showAllTeams$=new T.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Df());this.teamOptions$=new T.BehaviorSubject([]);this.filteredTeamOptions$=(0,T.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(B(function(q){q=m(q);var u=q.next().value;return q.next().value?u:u.slice(0,5)}));this.hasHiddenTeams$=(0,T.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(B(function(q){var u=
m(q);q=u.next().value;u=u.next().value;return 5<q.length&&!u}));this.newChildTeams$=new T.BehaviorSubject([]);this.teamsDisplayed$=(0,T.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(B(function(q){return q?[q]:[]}))).pipe(B(function(q){return q.map(function(u){return u.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(B(function(q){return q.filter(function(u){return!l.childTeamsMap.has(u)})}),sf(function(q){return 0<q.length}),Qf(function(q){return l.teamsService.getChildTeams(q)}),
B(dUa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(B(function(q){return q.filter(function(u){return!l.componentCountMap.has(u)})}),sf(function(q){return 0<q.length}),Qf(function(q){return IXb(l.teamsService,q)}));this.componentIdSelected$=new T.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
RW.prototype.init=function(a){var b=this;a=void 0===a?!1:a;Egc(this);(0,T.combineLatest)([this.debouncedSearchQuery$.pipe(Of(a?1:0)),this.state$]).pipe(Rf(this.destroyed$)).subscribe(function(c){var d=m(c);c=d.next().value;d=d.next().value;b.showAllTeams$.next(!1);"default"===d?c?b.state$.next("global"):(b.componentOptions=[],b.teamOptions$.next([]),b.listUpdated$.next()):"global"===d?c?(b.includeTeamData()&&Fgc(b,c),Ggc(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
Ggc(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&Hgc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(Tf(this.state$),Rf(this.destroyed$)).subscribe(function(c){c=m(c);var d=c.next().value;"component_scope"===c.next().value&&b.state$.next(d?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(Rf(this.destroyed$)).subscribe(function(c){c=m(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(Rf(this.destroyed$)).subscribe(function(c){c=m(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};RW.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};RW.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var Egc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)}).map(br);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,dI(a.teamsService,"").pipe(Rf(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.getTeamSuggestionsList().map(bUa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
RW.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};RW.prototype.selectOption=function(a){"component"===a.type?qVa(this,a.id):"team"===a.type?xUa(this,a):console.warn("invalid option selected")};
var qVa=function(a,b){var c=Igc(a);Lp(a.analytics,Mp.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},Igc=function(a){if("default"===a.state$.value)return"recent-component";if("global"===a.state$.value)return"global-search";if("component_scope"===a.state$.value)return"component-scope";if("team_scope"===a.state$.value){var b,c=null==(b=a.teamScope$.value)?void 0:b.id;return a.myTeams$.value.some(function(d){return d.id===c})?"my-team":"team-scope"}return""};
RW.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var dVa=function(a,b){a.componentActions.get(b).then(function(c){a.componentScope=br(c);a.state$.next("component_scope")})},cVa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},xUa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||dr(a,b.id)},dr=function(a,b){a.teamsLoading=!0;dI(a.teamsService,b).pipe(Rf(a.destroyed$)).subscribe(function(c){c=c.getTeamSuggestionsList().map(bUa);
if(1===c.length){c=c[0];var d,e=c.id!==(null==(d=a.teamScope$.value)?void 0:d.id);a.teamScope$.next(c);a.teamsLoading=!1;e&&a.state$.next("team_scope")}},function(){a.teamsLoading=!1})},Jgc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;dr(a,b[b.length-2])}};RW.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
RW.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var TUa=function(a,b){b.expanded=!1;a.listUpdated$.next()},UUa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},XUa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},Fgc=function(a,b){1<b.length&&(a.teamsLoading=!0,dI(a.teamsService,b).pipe(Rf(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.getTeamSuggestionsList().map(bUa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},Ggc=
function(a,b){if(1<b.length){a.componentsLoading=!0;var c=a.requestIndex++;a.componentActions.search(b,a.includeArchived).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.componentOptions=d.map(br));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},Hgc=function(a,b){var c=a.requestIndex++;a.componentsLoading=!0;a.componentActions.getChildren(b).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.componentOptions=d.map(br),a.listUpdated$.next())}).finally(function(){a.componentsLoading=
!1})};var Kgc=0,SW=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+Kgc;Kgc+=1};SW.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};SW.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};SW.\u0275fac=function(a){return new (a||SW)(A(Vw),A(Yd))};
SW.\u0275dir=r({type:SW,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(ug("id",b.id),pg("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var TW=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new vw};TW.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};TW.prototype.ngOnInit=function(){};TW.\u0275fac=function(a){return new (a||TW)};
TW.\u0275cmp=r({type:TW,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},decls:5,vars:7,consts:[[1,"container"],["alt","Team logo",4,"ngIf"],[1,"content"],["class","name-row",4,"ngIf"],["class","path",4,"ngIf"],["alt","Team logo"],[1,"name-row"],[1,"team-name",3,"innerHtml"],["class","no-component-label",4,"ngIf"],[1,"no-component-label"],[1,
"path"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["lastSeg",""],["plainText",""],[1,"subtle-link",3,"mousedown"],["normal",""],[1,"team-name"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,eUa,1,1,"img",1),D(2,"div",2),O(3,gUa,4,5,"div",3),O(4,oUa,2,1,"div",4),E()());a&2&&(pg("no-component",b.hasNoComponent)("compact",b.compact),z(1),C("ngIf",!b.compact),z(2),C("ngIf",!b.compact),z(1),C("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[ax,bx,YJ],styles:[".container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:4px}.no-component[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{-webkit-filter:grayscale(1);filter:grayscale(1)}.no-component[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-left:8px;width:100%}.container[_ngcontent-%COMP%]:not(.compact)   .path[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]:not(.compact)   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.container.compact[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-left:2px}.name-row[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.no-component-label[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-size:.6875rem;line-height:1.2307692308;margin-left:auto}img[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;object-fit:contain;width:20px;height:20px}\n/*# sourceMappingURL=team_row.css.map */"]});var Lgc=new Ud("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),Mgc=new Ud("mat-progress-bar-location",{providedIn:"root",factory:pUa});Fi(function(a){this._elementRef=a},"primary");var Ngc=["primaryValueBar"],Ogc=Fi(function(a){this._elementRef=a},"primary"),Pgc=0,UW=function(a,b,c,d,e,f){a=Ogc.call(this,a)||this;a._ngZone=b;a._animationMode=c;a._changeDetectorRef=f;a._isNoopAnimation=!1;a._value=0;a._bufferValue=0;a.animationEnd=new vw;a._animationEndSubscription=T.Subscription.EMPTY;a.mode="determinate";a.progressbarId="mat-progress-bar-"+Pgc++;a._rectangleFillValue="url('"+(d?d.getPathname().split("#")[0]:"")+"#"+a.progressbarId+"')";a._isNoopAnimation="NoopAnimations"===
c;e&&(e.color&&(a.color=a.defaultColor=e.color),a.mode=e.mode||a.mode);return a};X(UW,Ogc);UW.prototype._primaryTransform=function(){return{transform:"scale3d("+this.value/100+", 1, 1)"}};UW.prototype._bufferTransform=function(){return"buffer"===this.mode?{transform:"scale3d("+this.bufferValue/100+", 1, 1)"}:null};
UW.prototype.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,T.fromEvent)(b,"transitionend").pipe(sf(function(c){return c.target===b})).subscribe(function(){0!==a.animationEnd.observers.length&&("determinate"!==a.mode&&"buffer"!==a.mode||a._ngZone.run(function(){return a.animationEnd.next({value:a.value})}))})})};UW.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()};
Ei.Object.defineProperties(UW.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,Nh(a)||0));var b;null==(b=this._changeDetectorRef)||b.markForCheck()}},bufferValue:{configurable:!0,enumerable:!0,get:function(){return this._bufferValue},set:function(a){this._bufferValue=Math.max(0,Math.min(100,a||0));var b;null==(b=this._changeDetectorRef)||b.markForCheck()}}});
UW.\u0275fac=function(a){return new (a||UW)(A(Yd),A(Yf),A(Ov,8),A(Mgc,8),A(Lgc,8),A(Vw))};
UW.\u0275cmp=r({type:UW,selectors:[["mat-progress-bar"]],viewQuery:function(a,b){a&1&&Sg(Ngc,5);if(a&2){var c;Rg(c=Ug())&&(b._primaryValueBar=c.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(a,b){a&2&&(dg("aria-valuenow","indeterminate"===b.mode||"query"===b.mode?null:b.value)("mode",b.mode),pg("_mat-animation-noopable",b._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",
mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[$f],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],"cx 2 cy 2 r 2".split(" "),["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill",
"mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(a,b){a&1&&(D(0,"div",0),yd(),D(1,"svg",1)(2,"defs")(3,"pattern",2),F(4,"circle",3),E()(),F(5,"rect",4),E(),zd(),F(6,"div",5)(7,"div",6,7)(9,"div",8),E());a&2&&(z(3),C("id",b.progressbarId),z(2),dg("fill",b._rectangleFillValue),z(1),C("ngStyle",b._bufferTransform()),z(1),C("ngStyle",b._primaryTransform()))},dependencies:[fx],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],
encapsulation:2,changeDetection:0});var Qgc=["container"],Rgc=["inputBox"],Sgc=["dropdownTemplate"],Tgc=["dropdown"],CUa=function(a){return{mode:"recent",$implicit:a}},HUa=function(a){return[a]},GUa=function(a,b){return{team:a,level:0,order:b}},NUa=function(a){return{mode:"default",$implicit:a}},QUa=function(a){return[0,a]},YUa=function(){return[0]},aVa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},gVa=function(a){return{mode:"leaf",$implicit:a}},lVa=function(a,b,c){return{team:a,level:b,order:c}},Ugc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],VW=function(a,b,c,d,e,f,h,l,q,u,x){Z.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=f;this.paths=h;this.analytics=l;this.activeSession=q;this.currentTracker=u;this.cdr=x;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new vw;this.shouldFocus=!1;this.touched=
new vw;this.selectedComponentChange=new vw;this.dropdownClosed=new vw;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new RW(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};X(VW,Z);VW.\u0275dir=Z.\u0275dir;
VW.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;Vgc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,T.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(Rf(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
VW.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var Vgc=function(a){if(a.selectedComponent){var b=br(a.selectedComponent);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},Wgc=function(a){if(a.dropdown&&a.keyManager&&a.keyManager.activeItem){var b=a.keyManager.activeItem.elementRef.nativeElement,c=b.offsetTop;b=b.offsetHeight;var d=a.dropdown.nativeElement.scrollTop,e=a.dropdown.nativeElement.offsetHeight;a.dropdown.nativeElement.scrollTop=c<d?
c:c+b>d+e?Math.max(0,c-e+b):d}};g=VW.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(Vgc(this),this.checkAdminAccess&&this.selectedComponent&&Xgc(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=uz(kIb(new zz(this.listOptions)));this.searchState.listUpdated$.pipe(Rf(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(Rf(this.destroyed$)).subscribe(function(b){var c=b.toArray();b=c.filter(function(e){return null==e.listOrder});c=c.filter(function(e){return null!=e.listOrder}).sort(AVa);b=[].concat(p(c),p(b));a.listOptions.reset(b);var d;if(null==(d=a.keyManager)?0:d.activeItem)d=b.indexOf(a.keyManager.activeItem),
-1<d&&d!==a.keyManager.activeItemIndex&&a.keyManager.setActiveItem(d)});this.shouldFocus&&setTimeout(function(){a.inputBox.nativeElement.focus()})};g.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
g.close=function(a){a=void 0===a?!1:a;this.isDropdownOpen&&this.dropdownOverlayRef&&(this.searchState.searchQuery$.value||(this.selectedComponent=void 0,this.selectedComponentChange.emit(void 0)),"team_scope"===this.searchState.state$.value&&XUa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),Lp(this.analytics,Mp.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
g.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var Ygc=function(a){var b,c,d;return null!=(d=null==(b=a.keyManager)?void 0:null==(c=b.activeItem)?void 0:c.id)?d:void 0};
VW.prototype.handleKeydown=function(a){var b=this;if(this.keyManager)switch(a.key){case "Escape":this.close();break;case "ArrowUp":a.preventDefault();this.isDropdownOpen?(this.keyManager.onKeydown(a),Wgc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||oIb(d);Wgc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),Wgc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||yz(d);Wgc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?XUa(this.searchState):this.searchState.selectOption(this.keyManager.activeItem.data),a.preventDefault());break;case "ArrowRight":if(this.keyManager.activeItem){var c=this.keyManager.activeItem.data;"team"===c.type?(a.preventDefault(),UUa(this.searchState,c)):"component"===c.type&&(a.preventDefault(),this.searchState.expandComponent(c))}break;case "ArrowLeft":this.keyManager.activeItem&&"team"===this.keyManager.activeItem.data.type&&
(a.preventDefault(),this.searchState.teamScope$.value!==this.keyManager.activeItem.data||this.searchState.teamScope$.value.expanded?TUa(this.searchState,this.keyManager.activeItem.data):Jgc(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),cVa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(XUa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var cr=function(a){a.preventDefault();a.stopPropagation()},Xgc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;aG(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=VW.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Vz({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:null==(c=this.container.nativeElement)?void 0:c.offsetWidth}))};g.attach=function(){var a=new qy(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
g.getPositionStrategy=function(){return Yz(HIb($z(bA(this.overlay.position(),this.container),!1),!1),Ugc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};g.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&(this.keyManager.setActiveItem(-1),this.dropdown&&(this.dropdown.nativeElement.scrollTop=0))};Ei.Object.defineProperties(VW.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
VW.\u0275fac=function(a){return new (a||VW)(A(cA),A(Pg),A(tH),A($U),A(cI),A($F),A(cH),A(LH),A(tu),A(qN),A(Vw))};
VW.\u0275cmp=r({type:VW,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(Sg(Qgc,7),Sg(Rgc,7),Sg(Sgc,7),Sg(Tgc,5),Sg(SW,5));if(a&2){var c;Rg(c=Ug())&&(b.container=c.first);Rg(c=Ug())&&(b.inputBox=c.first);Rg(c=Ug())&&(b.dropdownTemplateRef=c.first);Rg(c=Ug())&&(b.dropdown=c.first);Rg(c=Ug())&&(b.listOptions=c)}},inputs:{placeholder:"placeholder",isRequired:"isRequired",ariaLabel:"ariaLabel",selectedComponent:"selectedComponent",checkAdminAccess:"checkAdminAccess",shouldFocus:"shouldFocus",
includeArchived:"includeArchived"},outputs:{accessCheckComplete:"accessCheckComplete",touched:"touched",selectedComponentChange:"selectedComponentChange",dropdownClosed:"dropdownClosed"},features:[$f,md],decls:13,vars:10,consts:[[1,"container","pseudo-input"],["container",""],["type","text","role","combobox","autocomplete","off","spellcheck","false","aria-autocomplete","list",1,"override",3,"ngModel","placeholder","required","ngModelChange","keydown","click","focus","blur"],["inputBox",""],["mat-icon-button",
"","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown",4,"ngIf"],[4,"ngIf"],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],["class","bv2-picker-checking",4,"ngIf","ngIfElse"],["maybeShowNotAdmin",""],[1,"bv2-picker-checking"],["class","bv2-picker-error",4,"ngIf"],[1,"bv2-picker-error"],["target","_blank",3,
"href"],[1,"dropdown",3,"mousedown"],["dropdown",""],[1,"progress-bar-container"],["mode","indeterminate",4,"ngIf"],[1,"dropdown-content"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mode","indeterminate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tree",4,"ngIf"],["role","tree"],[1,"section-header"],[4,"ngFor","ngForOf"],["role","treeitem","listOption","",1,"list-option",3,"data","mousedown"],[3,"teamOption","query","hasNoComponent","selectTeamId"],["tabindex","-1","class","unstyled expand-team-line-button",
3,"mousedown",4,"ngIf"],["tabindex","-1",1,"unstyled","expand-team-line-button",3,"mousedown"],["svgIcon","arrow-down"],["class","team-scope-container",4,"ngIf"],[1,"team-scope-container"],["listOption","",1,"team-scope",3,"data","listOrder"],[3,"teamOption","query","compact","allowSegmentSelection","selectTeamId"],["tabindex","-1","mat-icon-button","","matTooltip","Clear team filter",1,"gmat-button","small","clear-filter",3,"mousedown"],["svgIcon","close"],["class","team-scope-child-teams",4,"ngIf"],
[1,"team-scope-child-teams"],["class","component-scope-container",4,"ngIf"],[1,"component-scope-container"],[1,"title"],["mode","tree",3,"componentOption","goBack","selectComponentId"],["role","treeitem","listOption","",1,"list-option",3,"listOrder","data","mousedown"],[1,"team-row-container"],["class","arrow-button","mat-icon-button","","aria-label","Show child teams",3,"mousedown",4,"ngIf"],["mat-icon-button","","aria-label","Show child teams",1,"arrow-button",3,"mousedown"],["svgIcon","arrow-dropdown"],
["role","listbox",4,"ngIf","ngIfElse"],["emptyList",""],["role","listbox"],["role","option","listOption","","class","list-option",3,"data","mousedown",4,"ngFor","ngForOf"],["role","option","listOption","",1,"list-option",3,"data","mousedown"],[3,"componentOption","query","mode","selectComponentId","expandComponent"],["class","empty-list muted",4,"ngIf"],[1,"empty-list","muted"],[4,"ngSwitchDefault"],["svgIcon","close",1,"icon-xs","valign-middle"],["href","http://go/buganizer:component-mapping#associate",
"target","_blank"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){a&1&&(D(0,"div",0,1)(2,"input",2,3),K("ngModelChange",function(d){return b.searchState.searchQuery$.next(d)})("keydown",function(d){return b.handleKeydown(d)})("click",function(){b.open();return b.touched.emit()})("focus",function(){return b.open()})("blur",function(){return b.close()}),R(4,"async"),E(),O(5,qUa,2,0,"button",4),E(),O(6,uUa,4,2,"div",5),O(7,iVa,11,8,"ng-template",null,6,$g),O(9,oVa,5,11,"ng-template",null,
7,$g),O(11,zVa,3,2,"ng-template",null,8,$g));if(a&2){var c=N(3);z(2);C("ngModel",S(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);dg("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",Ygc(b));z(3);C("ngIf",c.value);z(1);C("ngIf",b.checkAdminAccess)}},dependencies:[ax,bx,gx,cx,dx,ex,yh,Ex,Wx,Lx,NA,OB,WQ,qD,UW,TW,QW,SW,hx],styles:[".container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;min-width:380px;height:28px}.container[_ngcontent-%COMP%]:focus-within{border:2px solid;border-color:#1a73e8;border-color:var(--primary)}input[_ngcontent-%COMP%]{width:100%;border:0;outline:none;background-color:#fff;background-color:var(--input-field-bg);color:#202124;color:var(--text-high-contrast)}input[_ngcontent-%COMP%]:focus{border:0;outline:none}.dropdown[_ngcontent-%COMP%]{width:100%;max-height:500px;overflow:auto}.dropdown-content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:5px 0 10px}.progress-bar-container[_ngcontent-%COMP%]{height:8px;border-radius:4px;overflow:hidden}mat-divider[_ngcontent-%COMP%]{width:100%;margin-top:16px;margin-bottom:16px}  .b-team-component-picker-dropdown{border-radius:4px;background-color:#fff;background-color:var(--surface-default)}.section-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:2px 14px}.section-header[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{margin-left:auto}.list-option[_ngcontent-%COMP%]{cursor:pointer;padding:0 10px}.list-option[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.list-option.active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.team-row-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.team-row-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:4px}team-row[_ngcontent-%COMP%]{width:100%}.team-scope[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:2px 10px}.team-scope[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:auto}.team-scope.active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.team-scope.active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border-color:#1a73e8;border-color:var(--primary-c600)}.team-scope.active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]     .mat-button-focus-overlay{background-color:#1a73e8;background-color:var(--primary-c600);opacity:.12}.team-scope-container[_ngcontent-%COMP%]{margin-bottom:10px}.expand-team-line-button[_ngcontent-%COMP%]{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-top:4px;margin-left:12px;color:#1a73e8;color:var(--link)}.expand-team-line-button[_ngcontent-%COMP%]   mat-icon.expanded[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.expand-team-line-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:6px}.mat-icon-button[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;line-height:16px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:16px;width:16px;line-height:16px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]:not(.expanded){-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.indent[_ngcontent-%COMP%]{margin-left:24px}.arrow-button[_ngcontent-%COMP%]{margin-right:4px}.team-scope-child-teams[_ngcontent-%COMP%]   .list-option[_ngcontent-%COMP%]{padding-left:14px}.component-scope-container[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{font-weight:700;padding:4px 16px;background-color:#f1f3f4;background-color:var(--c100)}.component-scope-container[_ngcontent-%COMP%] > component-row[_ngcontent-%COMP%]{display:block;margin-left:10px}.empty-list[_ngcontent-%COMP%]{padding:4px 18px}button.clear-filter[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}\n/*# sourceMappingURL=team_component_picker.css.map */"],
changeDetection:0});var WW=function(){};WW.\u0275fac=function(a){return new (a||WW)};WW.\u0275mod=fd({type:WW});WW.\u0275inj=Qc({imports:[px,gA,gA]});var XW=function(){};XW.\u0275fac=function(a){return new (a||XW)};XW.\u0275mod=fd({type:XW});XW.\u0275inj=Qc({imports:[px,ay,BD,rD,XQ,lE,WW,fA,vy,IP,nz,gK,gN]});var YW=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new vw;this.filter=function(){return!0}};YW.prototype.onComponentSelect=function(a){var b=this;if(this.selectedComponent=a){var c;this.customFields=((null==(c=a.componentPathInfo)?void 0:c.allCustomField)||[]).filter(function(d){return b.filter(d)}).sort(function(d,e){return d.name.localeCompare(e.name)})}else this.customFields=null};YW.\u0275fac=function(a){return new (a||YW)};
YW.\u0275cmp=r({type:YW,selectors:[["b-custom-field-picker"]],inputs:{filter:"filter"},outputs:{fieldSelected:"fieldSelected"},decls:5,vars:4,consts:[[1,"bv2-custom-field-picker"],[1,"bv2-custom-field-picker-message"],[3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["class","bv2-custom-field-picker-select-box",4,"ngIf"],[1,"bv2-custom-field-picker-select-box"],[4,"ngIf"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,
"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),P(2," First, select a component that contains the custom field. "),E(),D(3,"b-team-component-picker",2),K("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),E(),O(4,FVa,4,3,"div",3),E());a&2&&(z(3),C("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),z(1),C("ngIf",b.selectedComponent))},dependencies:[ax,bx,qB,oB,EM,PA,
VW],encapsulation:2});var ZW=function(){};ZW.\u0275fac=function(a){return new (a||ZW)};ZW.\u0275mod=fd({type:ZW});ZW.\u0275inj=Qc({imports:[px,FM,XW]});var Zgc=function(a){return{value:a}},$W=function(){this.isNonemptyJsonDateValue=mna};$W.prototype.toDate=function(a){return kj(a)};$W.\u0275fac=function(a){return new (a||$W)};
$W.\u0275cmp=r({type:$W,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},decls:6,vars:4,consts:[[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["null",""],["nonNull",""],[4,"ngIf"],["mode","date",3,"date"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(D(0,"span",0),O(1,GVa,1,0,"ng-container",1),E(),O(2,HVa,0,0,"ng-template",null,2,$g),O(4,UVa,8,8,"ng-template",null,3,$g));if(a&2){var c=N(5);z(1);C("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",Gg(2,Zgc,b.customFieldValue))}},dependencies:[ax,bx,gx,UL],encapsulation:2});var aX=function(){};aX.\u0275fac=function(a){return new (a||aX)};aX.\u0275mod=fd({type:aX});aX.\u0275inj=Qc({imports:[px,hN]});var bhc=function(a,b){this.origCommonDuplicateOf=this.origCommonVerifier=this.origCommonAssignee=this.lastCommonAssignee="";this.overwriteVerifier=this.overwriteAssignee=!1;this.commonDuplicateOf=this.commonVerifier=this.commonAssignee="";this.issueState=void 0;this.recaptchaResponse="";this.userEmail=a;this.origIssues=b;this.comment=new IJ;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";$gc(this,b);ahc(this,b)},$gc=function(a,b){var c=b[0],d=ln[c.status],
e=c.duplicateOfIssueId;if(d)for(b.every(function(f){return"DUPLICATE"===f.status&&e===f.duplicateOfIssueId})&&e&&(a.commonDuplicateOf=e,a.origCommonDuplicateOf=e),c=1;c<b.length;c++)if(b[0].status!==b[c].status){d=void 0;break}a.issueState=d;a.origCommonIssueState=d},chc=function(a){if(1===a.length)return"IDENTICAL_EMAILS";var b=!a.every(function(c){return c===a[0]});return a.every(function(c){return void 0===c||wp(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},ahc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=chc(c);a.selectedVerifiersStatus=chc(b);"IDENTICAL_EMAILS"===a.selectedAssigneesStatus&&(a.commonAssignee=c[0],a.origCommonAssignee=c[0]);"IDENTICAL_EMAILS"===a.selectedVerifiersStatus&&(a.commonVerifier=b[0],a.origCommonVerifier=b[0])};
bhc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;QWa(this)};bhc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var tr=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},MWa=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?dhc(a.selectedAssigneesStatus)?a.clearAssignee():a.commonAssignee&&(a.lastCommonAssignee=a.commonAssignee,a.commonAssignee=""):"DUPLICATE"===b.status?(a.commonAssignee=a.origCommonAssignee,a.commonVerifier=a.origCommonVerifier):("REQUIRED"!==b.assigneeRequirement||a.commonAssignee||dhc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),dhc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},dhc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},QWa=function(a){var b=ln.NEW,c=ln.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!bTb.has(a.issueState)||(a.issueState=b)},ehc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},aXa=function(a){var b=new Map;b.set("assignee",a.overwriteAssignee||a.commonAssignee!==a.origCommonAssignee?a.commonAssignee:void 0);(a.overwriteVerifier||a.commonVerifier!==a.origCommonVerifier)&&b.set("verifier",a.commonVerifier);a.commonDuplicateOf!==a.origCommonDuplicateOf&&b.set("duplicateOfIssueId",a.commonDuplicateOf);ehc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var fhc=function(a){this.uploadUrl_=a};fhc.prototype.getUploadUrl=function(){return this.uploadUrl_};var ghc=function(){Qq.call(this)};Gu(ghc,Qq);var bX=function(a){eC.call(this,a)};Gu(bX,eC);var cX=function(a){eC.call(this,a)};Gu(cX,eC);var hhc=function(a,b){this.name_=a;this.inputElement_=b};hhc.prototype.getName=function(){return this.name_};var ihc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!1};var dX=function(){Qq.call(this);this.name_="closure_frame"+jhc++;this.iframesForDisposal_=[];khc[this.name_]=this},eX;Gu(dX,Qq);var khc={},jhc=0,lhc=function(a,b){var c=Tq(a);xPb(b,function(d,e){Array.isArray(d)||(d=[d]);Da(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=dX.prototype;g.form_=null;g.iframe_=null;g.iframeName_=null;g.nextIframeId_=0;g.active_=!1;g.complete_=!1;g.success_=!1;g.lastUri_=null;g.lastContent_=null;g.lastErrorCode_=0;
g.iframeDisposalTimer_=null;g.send=function(a,b,c,d){if(this.active_)throw Error("Md");this.lastUri_=a=new Wq(a);b=b?b.toUpperCase():"GET";c&&YD(a);eX||(eX=TLb("FORM"),eX.acceptCharset="utf-8",c=eX.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(eX));this.form_=eX;"GET"==b&&lhc(this.form_,a.queryData_);d&&lhc(this.form_,d);SCb(this.form_,Wh(a.toString()));this.form_.method=b;mhc(this);nhc(this)};
g.abort=function(a){if(this.active_){var b=fX(this);if(b)if(gC(b))b.removeAllListeners();else if(b=jC(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)lC(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");ohc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();dX.superClass_.disposeInternal.call(this);this.iframe_&&phc(this);nhc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete khc[this.name_]};g.isComplete=function(){return this.complete_};g.isSuccess=function(){return this.success_};g.isActive=function(){return this.active_};g.getResponseText=function(){return this.lastContent_};g.getResponseJson=function(){return nNb(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return uNb(this.lastErrorCode_)};
var mhc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Tq(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});Iu&&7>Number(RAb)&&SCb(a.iframe_,Wh(pc(Op('javascript:""'))));var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";Lu?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Tq(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";
var c=XLb(a.iframe_);if(document.baseURI){var d=Dq(b);d=Rh('<head><base href="'+Dq(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Dq(b),d=Rh('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(Ml(d));Rq(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=qC("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,l=[];aMb(d[e],l,!1);l.join("")!=h&&(xC(d[e],h),d[e].value=h)}d=c.importNode(a.form_,!0);d.target=b;d.action=a.form_.action;c.body.appendChild(d);
e=qC("SELECT",a.form_);f=qC("SELECT",d);h=0;for(l=e.length;h<l;h++)for(var q=qC("OPTION",e[h]),u=qC("OPTION",f[h]),x=0,y=q.length;x<y;x++)u[x].selected=q[x].selected;e=qC("INPUT",a.form_);f=qC("INPUT",d);h=0;for(l=e.length;h<l;h++)if("file"==e[h].type&&e[h].value!=f[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),Ku&&Nt(a.testForFirefoxSilentError_,250,a)}catch(G){kC(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
dX.prototype.onIframeLoaded_=function(){kC(fX(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?XLb(fX(this)):null;this.complete_=!0;this.active_=!1;try{var b=a.body;this.lastContent_=b.textContent||b.innerText}catch(e){var c=1}var d;c||"function"!=typeof this.errorChecker_||(d=this.errorChecker_(a))&&(c=4);c?this.handleError_(c):(this.success_=!0,this.lastErrorCode_=0,this.dispatchEvent("complete"),this.dispatchEvent("success"),ohc(this))}catch(e){this.handleError_(1)}};
dX.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),ohc(this),this.errorHandled_=!0)};
var ohc=function(a){phc(a);nhc(a);a.form_=null;a.dispatchEvent("ready")},phc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(Ot(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);Ku?a.iframeDisposalTimer_=Nt(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
dX.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(Ot(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();vC(a)}};var nhc=function(a){a.form_&&a.form_==eX&&WLb(a.form_)},fX=function(a){return a.iframe_?XLb(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
dX.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?XLb(fX(this)):null;a&&!BAb(a,"documentUri")?(kC(fX(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):Nt(this.testForFirefoxSilentError_,250,this)}};var qhc=function(a,b,c,d,e){Qq.call(this);c=document.createElement("form");c.setAttribute("method",b);c.setAttribute("enctype","multipart/form-data");c.setAttribute("encoding","multipart/form-data");b=document.createElement("input");b.setAttribute("type","hidden");b.setAttribute("name","metadata");b.setAttribute("value",e);c.appendChild(b);c.appendChild(d);this.form_=c;a=new Wq(a);WD(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new dX;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new Tr(this);dC(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};X(qhc,ghc);g=qhc.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("Md");var c=new Wq(this.url_||b.action);a.lastUri_=c;a.form_=b;SCb(a.form_,c.toString());mhc(a)};g.getBytesTransferred=function(){return null};
g.getResponseCode=function(){return null};g.getResponseHeaders=function(){return null};g.getResponseText=function(){return this.request_&&this.request_.getResponseText()||null};g.getErrorDescription=function(){return this.errorDescription_};g.cancel=function(){this.request_&&this.request_.abort();this.state_="Cancelled";this.dispatchEvent(new bX("m"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new bX("j"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new bX("l"))};var thc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=rhc[a.name]):(this.code=a=a.code,this.name=shc(a));aa.call(this,WCb("%s %s",this.name,b))};Gu(thc,aa);
var shc=function(a){var b=Zba(rhc,function(c){return a==c});if(void 0===b)throw Error("Nd`"+a);return b},gX={},rhc=(gX.AbortError=3,gX.EncodingError=5,gX.InvalidModificationError=9,gX.InvalidStateError=7,gX.NotFoundError=1,gX.NotReadableError=4,gX.NoModificationAllowedError=6,gX.PathExistsError=12,gX.QuotaExceededError=10,gX.SecurityError=2,gX.SyntaxError=8,gX.TypeMismatchError=11,gX);var uhc=function(a,b){eC.call(this,a.type,b);this.event_=a};Gu(uhc,eC);var vhc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};var WVa=new WeakMap,VVa=function(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\v")};er(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});var whc=er(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===vhc(b,0,1)?!1:!0});var xhc=function(){Qq.call(this);this.reader_=new FileReader;this.reader_.onloadstart=Eu(this.dispatchProgressEvent_,this);this.reader_.onprogress=Eu(this.dispatchProgressEvent_,this);this.reader_.onload=Eu(this.dispatchProgressEvent_,this);this.reader_.onabort=Eu(this.dispatchProgressEvent_,this);this.reader_.onerror=Eu(this.dispatchProgressEvent_,this);this.reader_.onloadend=Eu(this.dispatchProgressEvent_,this)};Gu(xhc,Qq);g=xhc.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new thc(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new thc(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new uhc(a,this))};g.disposeInternal=function(){xhc.superClass_.disposeInternal.call(this);delete this.reader_};g.readAsBinaryString=function(a){this.reader_.readAsBinaryString(a)};g.readAsArrayBuffer=function(a){this.reader_.readAsArrayBuffer(a)};
g.readAsText=function(a,b){this.reader_.readAsText(a,b)};var yhc=function(a){var b=new lM;a.listen("loadend",Fu(function(c,d){var e=d.reader_.result,f=d.getError();null==e||f?(nM(c),oM(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var hX=function(){HC.call(this)};X(hX,HC);hX.prototype.createXhr=function(){var a=HC.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=Eu(this.onProgress_,this));return a};hX.prototype.onProgress_=function(a){this.dispatchEvent(a)};var zhc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},Bhc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=Nt(function(){a.delayCallId_=null;b()},Ahc(a),a);a.attempt_=c;return!0};zhc.prototype.reset=function(){this.delayCallId_&&Ot(this.delayCallId_);this.attempt_=-1};var Ahc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var YVa=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var iX=function(a){Qq.call(this);a=a||new ihc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new zhc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorDescription_=null;this.eventHandler_=new Tr(this);dC(this,this.eventHandler_);this.url_=this.blob_=null;this.method_=void 0;this.metadata_=this.headers_=null;this.maxChunkSize_=a.maxChunkSize_;this.chunkSize_=null;this.retryOnHttpClientErrorEnabled_=
a.retryOnHttpClientErrorEnabled_;this.requireUploadRequestModification_=!1;this.originalBlobSize_=0;this.detectCorruptedBlobEnabled_=!1;this.lastCommandResponseCode_=this.responseText_=this.responseHeaders_=this.responseCode_=null;this.pauseRequested_=!1;this.stateAfterUnpausing_=null};Gu(iX,ghc);g=iX.prototype;g.run=function(){jX(this)};g.getBytesTransferred=function(){return this.bytesTransferred_};g.getResponseCode=function(){return this.responseCode_};g.getResponseHeaders=function(){return this.responseHeaders_};
g.getResponseText=function(){return this.responseText_};g.getErrorDescription=function(){return this.errorDescription_};
g.cancel=function(){if("Response received"!=this.state_&&"Error"!=this.state_){this.eventHandler_.removeAll();this.request_&&this.request_.abort();this.retryIterator_.reset();var a="Paused"===this.state_?this.stateAfterUnpausing_:this.state_;if("Upload"===a||"Query"===a)a=this.createXhrRequest(),a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.getUploadUrl(),"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new bX("m"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,Chc(this))};
var jX=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):Bhc(a.retryIterator_,function(){return Chc(a)})||kX(a,"Transfer encountered too many consecutive failures.")},Chc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.getUploadUrl(),c=a.blob_.size;if(whc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=vhc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=a.createXhrRequest();
a.request_.withCredentials_=a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=Eu(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new cX("o"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("Od");
}},kX=function(a,b){a.state_="Error";a.errorDescription_=b;a.dispatchEvent(new bX("l"))};g=iX.prototype;
g.start_=function(){this.request_=this.createXhrRequest();var a=kc(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=ZVa(a);a["X-Goog-Upload-Protocol"]="resumable";a["X-Goog-Upload-Command"]="start";this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onStartComplete_);this.request_.withCredentials_=this.withCredentials_;this.request_.send(this.url_,this.method_,this.metadata_,a);this.lastCommandResponseCode_=null;this.dispatchEvent(new cX("o"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new cX("p"));Dhc(b)?Ehc(this,b):Fhc(b)?(b=fr(a.target.getAllResponseHeaders()),this.dispatchEvent(new bX("k")),a=gr(b,"X-Goog-Upload-URL"),b=(b=gr(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,void 0===a||isNaN(b)||0>=b?kX(this,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/b)*b,this.transferHandle_=new fhc(a),this.dispatchEvent(new bX("n")),this.state_=
"Upload",this.retryIterator_.reset(),jX(this))):jX(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new bX("i"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return Ze(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new cX("p"));if(d.retryOnHttpClientErrorEnabled_?Ghc(e)||404==e.getStatus():Dhc(e))return d.bytesTransferred_=a,Ehc(d,e),h.return();if(Fhc(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return af(h,Hhc(d),4);case 4:f=h.yieldResult;case 3:if(f)return kX(d,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";jX(d);return h.return();case 2:if(b)return kX(d,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();jX(d);return h.return()}})};
g.query_=function(){this.request_=this.createXhrRequest();this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onQueryComplete_);var a=Object.assign({},this.headers_||{},{"X-Goog-Upload-Command":"query"});this.request_.send(this.transferHandle_.getUploadUrl(),"POST","",a);this.lastCommandResponseCode_=null;this.dispatchEvent(new cX("o"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new cX("p"));Dhc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),Ehc(this,b)):Fhc(b)?(a=fr(a.target.getAllResponseHeaders()),a=parseInt(gr(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?kX(this,"Server did not respond with current offset."):a<this.offset_?kX(this,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?kX(this,"Server returned the same offset as the last failed upload attempt."):(this.requireUploadRequestModification_=!1,this.offset_<a&&this.retryIterator_.reset(),this.offset_=this.bytesTransferred_=a,this.state_="Upload",jX(this))):jX(this)};
var Ehc=function(a,b){a.responseCode_=b.getStatus();var c=fr(b.getAllResponseHeaders());a.responseHeaders_=$Va(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new bX("j"))},Fhc=function(a){var b=a.getStatus();a=fr(a.getAllResponseHeaders());a=gr(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},Ghc=function(a){a=fr(a.getAllResponseHeaders());return"final"===gr(a,"X-Goog-Upload-Status")},Dhc=function(a){if(Ghc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},Hhc=function(a){var b;return Ze(function(c){if(1==c.nextAddress){if(!a.blob_||0>=a.originalBlobSize_)return c.return(!1);if(a.blob_.size!==a.originalBlobSize_)return c.return(!0);$e(c,2);if(b=vhc(a.blob_,0,1)){var d=new xhc,e=yhc(d);d.readAsBinaryString(b);c=af(c,e,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);df(c);return c.return(!0)})};iX.prototype.createXhrRequest=function(){return new hX};var Ihc=function(a,b,c,d,e,f){Qq.call(this);this.payload_=d;this.url_=a;this.method_=b;this.headers_=c;this.metadata_=e;this.metadataOverhead_=0;this.encoding_=f||"binary";a=new jj;this.boundary_="uploader-"+Bv()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new Tr(this);dC(this,this.eventHandler_)};X(Ihc,ghc);g=Ihc.prototype;
g.run=function(){var a=kc(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=ZVa(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=this.createXhrRequest();this.eventHandler_.removeAll();this.eventHandler_.listen(this.transferRequest_,"progress",this.onTransferProgress_);this.eventHandler_.listen(this.transferRequest_,"complete",this.onTransferComplete_);var b=
this.transferRequest_,c=b.send,d=this.url_,e=this.method_,f="--"+this.boundary_+'\r\nContent-Disposition: form-data; name="metadata"\r\n\r\n'+(this.metadata_+"\r\n--")+this.boundary_+'\r\nContent-Disposition: form-data; name="Filedata"\r\nContent-Transfer-Encoding: '+(this.encoding_+"\r\n\r\n")+this.payload_+"\r\n--"+this.boundary_+"--\r\n";this.metadataOverhead_=f.length-this.payload_.length;c.call(b,d,e,f,a)};g.getBytesTransferred=function(){return this.bytesTransferred_};g.getResponseCode=function(){return this.responseCode_};
g.getResponseHeaders=function(){return this.responseHeaders_};g.getResponseText=function(){return this.responseText_};g.getErrorDescription=function(){return this.errorDescription_};g.cancel=function(){"Complete"!=this.state_&&"Error"!=this.state_&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new bX("m")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new bX("i"))};g.onTransferComplete_=function(a){var b=a.target.getStatus();void 0===b||-1===b?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new bX("l"))):(this.responseCode_=b,a=a.target,b=fr(a.getAllResponseHeaders()),this.responseHeaders_=$Va(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new bX("j")))};
g.createXhrRequest=function(){return new hX};var Jhc=function(){},Khc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof hhc)return new qhc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new Ihc(a,"POST",b,c,d);var f=new iX(void 0);f.url_=a;f.method_="POST";f.headers_=b;f.blob_=c;f.originalBlobSize_=c.size;f.metadata_=d;e&&(f.withCredentials_=e);f.state_="Start";return f};var Lhc=new Ud("ScottyUploaderConfigFactory"),Mhc=new Ud("ScottyUploader",{factory:function(){return new Jhc}}),lX=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new T.Subject;this.transferStatus=Vv(this.internalTransferStatus)};
lX.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=Khc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,T.merge)((0,T.fromEvent)(a,"k"),(0,T.fromEvent)(a,"i"),(0,T.fromEvent)(a,"n"),(0,T.fromEvent)(a,"l"),(0,T.fromEvent)(a,"j"),(0,T.fromEvent)(a,"m")).pipe(Rf((0,T.fromEvent)(a,"j").pipe(Cf(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};lX.\u0275fac=function(a){return new (a||lX)(n(Mhc),n(Lhc))};lX.\u0275prov=Pc({token:lX,factory:lX.\u0275fac});var Nhc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};Nhc.prototype.getDirectory=function(a){return this.directoryMap_[a]};Nhc.prototype.getName=function(){return this.name_};var Phc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;Qq.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:mq(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=Ohc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};X(Phc,Qq);
var Ohc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");Rq(e,"change",a.onFilesSelected_,!1,a);"multiple_file"===c&&(e.multiple="true");"single_directory"===c&&(e.webkitdirectory="true");0<d.length&&e.setAttribute("accept",d.join(","));e.style.position="absolute";e.style.overflow="hidden";e.style.height="0px";e.style.width="0px";e.style.opacity="0";e.setAttribute("aria-hidden","true");e.setAttribute("tabIndex",-1);if(null!=a.overlayTarget_)return e.style.height=
b.offsetHeight+"px",e.style.width=b.offsetWidth+"px",a.parentOverlay_&&(a.parentOverlay_.style.position="relative"),b.parentNode&&b.parentNode.insertBefore(e,b.nextSibling),gs(e,new ds(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};Phc.prototype.click=function(){this.overlay_.click()};
Phc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(u){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(Lu||Ju)){b=new Nhc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(var c=0;c<a.length;c++)for(var d=a[c],e=d.webkitRelativePath.split("/"),f=b,h=0;h<e.length;h++){var l=e[h];if(h==e.length-1){"."!=l&&f.files_.push(d);break}var q=f.getDirectory(l);void 0==q&&(l=q=new Nhc(l),f.directoryMap_[l.getName()]=
l,f.directories_.push(l));f=q}b=b.directories_}this.dispatchEvent(new Qhc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new Qhc([],[],new hhc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=Ohc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var Rhc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},Qhc=function(a,b){eC.call(this,"u");this.files=a;this.directories=b};X(Qhc,eC);var mX=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new T.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new vw;this.maxFileSize=null;this.fileSizeRejected=new vw;this.fileSelected=new vw};
mX.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(Qf(function(b){return(0,T.merge)((0,T.fromEvent)(b,"q"),(0,T.fromEvent)(b,"u"))}),Rf(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=m(b.files);for(var d=c.next();!d.done;d=c.next()){d=d.value.name;var e=d.lastIndexOf(".");if(!a.supportedFileExtensions.includes(-1!==e?d.substr(e+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=m(b.files),d=c.next();!d.done;d=
c.next())if(d.value.size>a.maxFileSize){c=!1;break a}c=!0}c?a.fileSelected.emit(b):a.fileSizeRejected.emit(b)}else a.fileExtensionRejected.emit(b)})});this.getOverlay().subscribe(function(b){(0,T.fromEvent)(b,"s").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,T.fromEvent)(b,"t").subscribe(function(){a.ngZone.run(function(){})})})};mX.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};
mX.\u0275fac=function(a){return new (a||mX)(A(Yd),A(Yf))};mX.\u0275dir=r({type:mX,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected"}});var nX=function(a,b){mX.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};X(nX,mX);
nX.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,T.merge)((0,T.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,T.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(Hf(),Rf(a.destroyed),B(function(){a.fileSelectorOverlay=new Phc(a.elementRef.nativeElement,a.selectorType,Shc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),Nf(1))}));return this.overlay};
nX.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var Shc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};nX.\u0275fac=function(a){return new (a||nX)(A(Yd),A(Yf))};nX.\u0275dir=r({type:nX,hostBindings:function(a,b){a&1&&K("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[$f]});var oX=function(a,b,c){nX.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};X(oX,nX);
oX.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(Rf(this.destroyed),sf(function(){return!a.disableAutoUpload})).subscribe(function(b){b=m(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a.uploader)||d.upload(c)}})};Ei.Object.defineProperties(oX.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=Kh(a)}}});
oX.\u0275fac=function(a){return new (a||oX)(A(Yd),A(Yf),A(lX,8))};oX.\u0275dir=r({type:oX,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[$f]});var pX=function(){this.SelectorType=Rhc;this.disabled=!1;this.onSelect=new vw};pX.\u0275fac=function(a){return new (a||pX)};
pX.\u0275cmp=r({type:pX,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled"},outputs:{onSelect:"onSelect"},decls:3,vars:3,consts:[[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled","fileSelected"],["svgIcon","attachment"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"button",1),K("fileSelected",function(c){if(c=c.files){c=m(c);for(var d=
c.next();!d.done;d=c.next())b.onSelect.emit(d.value)}}),F(2,"mat-icon",2),E()());a&2&&(z(1),C("selectorType",b.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",b.disabled))},dependencies:[NA,OB,qD,oX],encapsulation:2});var qX=function(a,b){HJ.call(this,a.size,a.name);var c=this;this.destroyed$=new T.Subject;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "i":case "k":case "n":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "l":c.handleError(e);break;case "j":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&200!=d?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();
break;case "m":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(Rf(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};X(qX,HJ);qX.prototype.handleError=function(a){this.transferredBytes=a.getBytesTransferred()||0;this.state=3;if(a=a.getErrorDescription())this.errorMessage=a;this.errorMessage||(this.errorMessage="Error while uploading.")};
qX.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};qX.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var rX=function(a){this.activeSession=a};
rX.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var f=b.charCodeAt(e);128>f?c[d++]=f:(2048>f?c[d++]=f>>6|192:(55296==(f&64512)&&e+1<b.length&&56320==(b.charCodeAt(e+1)&64512)?(f=65536+((f&1023)<<10)+(b.charCodeAt(++e)&1023),c[d++]=f>>18|240,c[d++]=f>>12&63|128):c[d++]=f>>12|224,c[d++]=f>>6&63|128),c[d++]=f&63|128)}b=uaa(c);a=$wa(a.name)?a.name:b;return{url:WD(EPb().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};rX.\u0275fac=function(a){return new (a||rX)(n(tu))};rX.\u0275prov=Pc({token:rX,factory:rX.\u0275fac,providedIn:"root"});var sX=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};sX.prototype.create=function(){return new lX(this.uploader,this.uploaderConfigFactory)};sX.\u0275fac=function(a){return new (a||sX)(n(Mhc),n(rX))};sX.\u0275prov=Pc({token:sX,factory:sX.\u0275fac,providedIn:"root"});var dWa=function(a){return{"attachment-error":a}},tX=function(a){this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new vw;this.uploadStates=e_b};tX.prototype.ngOnDestroy=function(){for(var a=m(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};tX.prototype.upload=function(a){var b=this.scottyUploaderFactory.create();b.upload(a);return new qX(a,b.transferStatus)};tX.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};
tX.\u0275fac=function(a){return new (a||tX)(A(sX))};
tX.\u0275cmp=r({type:tX,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel"},decls:1,vars:1,consts:[["class","attachments",4,"ngIf"],[1,"attachments"],["class","attachment",3,"ngClass",4,"ngFor","ngForOf"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],[4,"ngIf"],["role","alert","aria-live","assertive",4,"ngIf"],[1,"bv2-remove-icon","keep-focus-ring",
"attachment-cancel-button",3,"matTooltip","click"],["role","alert","aria-live","assertive"]],template:function(a,b){a&1&&O(0,fWa,2,1,"div",0);a&2&&C("ngIf",0<b.uploads.length)},dependencies:[$w,ax,bx,OB,qD,bK],styles:[".attachments[_ngcontent-%COMP%]{margin:10px 10px 0}.attachments[_ngcontent-%COMP%]   .attachment[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border-radius:4px;box-sizing:border-box;display:inline-flex;align-items:center;margin-bottom:10px;overflow-y:hidden;padding:5px;position:relative;width:100%;min-height:36px}.attachments[_ngcontent-%COMP%]   .attachment.attachment-error[_ngcontent-%COMP%]{background-color:#fce8e6;background-color:var(--bad-bg)}.attachments[_ngcontent-%COMP%]   .attachment-title[_ngcontent-%COMP%]{flex-grow:1}.attachments[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.attachments[_ngcontent-%COMP%]   .issue-attachment-filename[_ngcontent-%COMP%]{display:inline-block;font-weight:bold;margin-right:5px;max-width:50%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.attachments[_ngcontent-%COMP%]   .attachment-filesize[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.attachments[_ngcontent-%COMP%]   .issue-attachment-link[_ngcontent-%COMP%]{margin-left:8px}.attachments[_ngcontent-%COMP%]   .attachment-cancel-button[_ngcontent-%COMP%]{padding:12px;margin-left:4px}"]});var Thc=function(a){this.size=a.sizeBytes;this.name=a.name;this.mimeType=a.mimeType;this.encryptedBlobId=a.blobId;this.url=a.url;this.docId=a.id};var Uhc=function(a){HJ.call(this,a.size,a.name);this.attachment=a};X(Uhc,HJ);
var Vhc=function(a,b){a.attachment.encryptedBlobId?(a.state=1,$Zb(b,{filename:a.attachment.name,mimeType:a.attachment.mimeType,encryptedBlobId:a.attachment.encryptedBlobId,docId:a.attachment.docId,size:a.attachment.size}).then(function(c){a.attachment.size&&(a.transferredBytes=a.attachment.size);a.blobRef=c.encryptedMedia;a.state=2}).catch(function(c){a.state=3;a.errorMessage=Cn(c)?Dn(c):"Error while uploading."})):(a.state=3,a.errorMessage="Error while uploading.")};var uX=function(a){this.id_=a;this.opts={}};g=uX.prototype;g.setLabel=function(a){this.label_=a||void 0;return this};g.setOptions=function(a){this.opts=a;return this};g.setQuery=function(a){this.opts.query=a;return this};g.setParent=function(a){this.opts.parent=a;return this};g.toArray=function(){var a=gc(this.opts,function(c){return null!==c});a=hc(a)?null:a;a=[this.id_,this.label_,a];var b=maa(a,uCb);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+Rb(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return kc(this.opts)};g.getQuery=function(){return this.opts.query};var vX=function(a){uX.call(this,a||"all")};Gu(vX,uX);var Whc=function(){var a=(new vX("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=vX.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setOwnedByMe=function(a){void 0!==a?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};g.setStarred=function(a){this.opts.starred=a};g.setLabel=function(a){vX.superClass_.setLabel.call(this,a);return this};
g.setQuery=function(a){vX.superClass_.setQuery.call(this,a);return this};g.setParent=function(a){vX.superClass_.setParent.call(this,a);return this};g.setRestrictedDownloadErrorMessage=function(a){this.opts.rdem=a;return this};var Xhc=new Map;Xhc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");Xhc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");Xhc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var Yhc=new Set;Yhc.add("application/vnd.google-apps.kix");Yhc.add("application/vnd.google-apps.ritz");Yhc.add("application/vnd.google-apps.punch");var hic=function(a,b,c){var d=c&&lk(c,1);if(c){var e=lk(c,3);e=e&&JSON.parse(e)||{};c={0:lk(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return Zhc(a,b,d,c);case 3:return $hc(a,b,d,c);case 10:return aic(a,b,d,c);case 12:return bic(a,b);case 2:return cic(a,b,d,c);case 5:return dic(a,b,d,c);case 9:return eic(a,b,d,c);case 6:return fic(a,b,d,c);case 1:return sl(a[0],LBb,26)?gic(a,b,d,c):aic(a,b,d,c);default:return{}}},fic=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:wX(e),lastEditedUtc:wk(e,cj,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:lk(e,13),thumbnails:xX(gv(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube"}},cic=function(a,b,c,d){var e=a.map(function(f){var h=void 0;xl(wk(f,hv,21),12)&&(h="success");return{id:f.getId().getId(),serviceId:"docs",mimeType:f.getMimeType(),name:f.getName(),type:wX(f),
lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:uBb(f,23),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:xX(gv(f)),isShared:wk(f,hv,21).getShared(),downloadUrl:lk(wk(f,hv,21),10),embedUrl:lk(f,13),copyable:xl(wk(f,hv,21),9),resourceKey:lk(wk(f,hv,21),11),uploadState:h}});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:iic(a)}},dic=function(a,b,c,d){a=a.map(function(e){var f=wk(wk(e,UBb,15),bv,1);Jp(e,10,bv,f);return{id:e.getId().getId(),
serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:wX(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:xX(gv(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search"}},eic=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:gv(e)[0].getUrl().split("/").pop(),type:wX(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",
thumbnails:xX(gv(e))}});return{action:b,docs:a,viewToken:d,view:c||"url"}},gic=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:wX(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:xX(gv(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam"}},aic=function(a,b,c,d){return{action:b,docs:a.map(jic),viewToken:d,view:kic(c||"upload",a),extraUserInputs:iic(a)}},kic=function(a,
b){return b.some(function(c){var d;return 9===(null==(d=wk(c,cv,30))?void 0:d.getAgentId())})?a+"/gmailphotos":a},$hc=function(a,b,c,d){var e=a.map(function(f){var h={id:f.getId().getId(),serviceId:"picasa",mimeType:f.getMimeType(),name:f.getName(),type:wX(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:uBb(f,23),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:xX(gv(f)),mediaKey:f.getId().getId(),
parentId:f.getParentId()},l;if(f=null==(l=wk(f,PBb,18))?void 0:wk(l,OBb,3))h.latitude=Uk(f,1),h.longitude=Uk(f,2);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:iic(a)}},Zhc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",name:gv(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:xX(gv(e),"etjpg")}});return{action:b,docs:a,
viewToken:d,view:c||"et"}},bic=function(a,b){a=a.map(function(c){var d=ij(wk(c,NBb,27),1)[0];return{id:c.getId().getId(),serviceId:"contacts",mimeType:c.getMimeType(),name:c.getName(),description:c.getDescription(),url:"mailto:"+d,thumbnail:[{url:c.getIconUrl()}],email:d}});return{action:b,docs:a,view:"contacts"}},xX=function(a,b){b=void 0===b?"":b;if(!a.length)return null;"etjpg"==b&&(a=a.filter(function(c){return c.getUrl().includes("w1200-h300")}));return a.map(function(c){return{url:c.getUrl(),
height:c.getHeight(),width:c.getWidth(),type:b}})},iic=function(a){return{isAttachment:a.some(function(b){return xl(b,31)})}},jic=function(a){var b={id:a.getId().getId(),serviceId:lic(a),mimeType:a.getMimeType(),name:a.getName(),type:wX(a),sizeBytes:uBb(a,23),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:xX(gv(a)),isNew:!0},c=wk(a,cv,30);if(c){b.dataUrl=lk(c,1)||null;a:{var d=wk(a,cv,30);switch(d.getAgentId()){case 9:a=wl(d,
SBb,2,dv);a={remoteRefs:a&&lk(a,1)};break a;case 10:case 15:d=wl(d,RBb,4,dv);var e=gv(a);a={photo_id:d&&d.getPhotoId(),media_key:a.getId().getId(),media_type:1===a.getType()?1:2,image_url:e&&e[0].getUrl(),width:e&&String(e[0].getWidth()),height:e&&String(e[0].getHeight())};break a}a=null}b.uploadMetadata=a}(a=c&&wl(c,RBb,4,dv))&&(b.id=a.getPhotoId());(a=c&&wl(c,TBb,5,dv))&&(b.contentId=lk(a,1));(c=c&&wl(c,QBb,6,dv))&&(b.contentId=lk(c,1));return b},lic=function(a){var b;switch((null==(b=wk(a,cv,30))?
void 0:b.getAgentId())||0){case 1:return"picasa";case 2:case 3:case 4:case 8:case 12:return"photo";case 10:case 15:return"dragonflyphotos";case 11:return"mapspro";case 13:return"books";case 14:return"cultural"}return null},wX=function(a){switch(a.getType()){case 1:case 21:return"photo";case 2:return"video";case 6:return"folder";case 13:return"calendar";case 14:return"album";case 19:return"contact";case 3:case 4:case 5:case 7:case 12:return a.getMimeType().startsWith("application/vnd.google-apps.")?
"document":"file";default:return"file"}};var mic=function(){uX.call(this,"image-search")};X(mic,uX);g=mic.prototype;g.setType=function(a){this.opts.type=a;return this};g.setSize=function(a){this.opts.imgsz=a;return this};g.setColor=function(a){this.opts.imgcolor=a;return this};g.setLabel=function(a){uX.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){uX.prototype.setQuery.call(this,a);return this};g.setParent=function(a){uX.prototype.setParent.call(this,a);return this};var nic=function(){uX.call(this,"maps")};X(nic,uX);g=nic.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setZoom=function(a){this.opts.zoom=a;return this};g.setLabel=function(a){uX.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){uX.prototype.setQuery.call(this,a);return this};g.setParent=function(a){uX.prototype.setParent.call(this,a);return this};var oic=function(){uX.call(this,"photos")};X(oic,uX);g=oic.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setType=function(a){this.opts.type=a;return this};g.setLabel=function(a){uX.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){uX.prototype.setQuery.call(this,a);return this};g.setParent=function(a){uX.prototype.setParent.call(this,a);return this};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var yX=function(){uX.call(this,"url")};X(yX,uX);yX.prototype.setType=function(a){this.opts.type=a;return this};yX.prototype.setLabel=function(a){uX.prototype.setLabel.call(this,a);return this};yX.prototype.setQuery=function(a){uX.prototype.setQuery.call(this,a);return this};yX.prototype.setParent=function(a){uX.prototype.setParent.call(this,a);return this};var zX=function(){uX.call(this,"video-search")};X(zX,uX);zX.prototype.setLabel=function(a){uX.prototype.setLabel.call(this,a);return this};zX.prototype.setQuery=function(a){uX.prototype.setQuery.call(this,a);return this};zX.prototype.setParent=function(a){uX.prototype.setParent.call(this,a);return this};var AX=function(){uX.call(this,"web")};X(AX,uX);AX.prototype.setLabel=function(a){uX.prototype.setLabel.call(this,a);return this};AX.prototype.setQuery=function(a){uX.prototype.setQuery.call(this,a);return this};AX.prototype.setParent=function(a){uX.prototype.setParent.call(this,a);return this};var BX=function(){this.root_=void 0;this.items_=[];this.opts={}},pic=function(a){switch(a){case "image-search":return new mic;case "maps":return new nic;case "photos":return new oic;case "url":return new yX;case "video-search":return new zX;case "web":return new AX}return new uX(a)};BX.prototype.addView=function(a){this.items_.push("string"===typeof a?pic(a):a);return this};
var qic=function(a){return"("+Rb(a.items_,function(b){return b.toString()}).join(",")+")"},ric=function(a){a=gc(a.opts,function(b){return null!==b});return(a=hc(a)?null:a)?JSON.stringify(Vba(a,function(b){return b.toString()})):""};BX.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",qic(this)],b=ric(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return qic(this)};
var sic=function(a,b){b=void 0===b?[]:b;a.items_.forEach(function(c){c instanceof BX?sic(c,b):b.push(c)});return b};BX.prototype.getOptions=function(){return kc(this.opts)};var tic=function(a){this.obj_=a};g=tic.prototype;g.value=function(){return this.obj_};g.setWidth=function(a){this.obj_.width=a;return this};g.getWidth=function(){return this.obj_.width};g.setHeight=function(a){this.obj_.height=a;return this};g.getHeight=function(){return this.obj_.height};g.setStyle=function(a){this.obj_.style=a;return this};g.getStyle=function(){return this.obj_.style};var uic=function(a){this.obj_=a||{}};g=uic.prototype;g.value=function(){return this.obj_};g.setUrl=function(a){this.obj_.url=a;return this};g.getUrl=function(){return this.obj_.url};g.setStyle=function(a){this.obj_.style=a;return this};g.getStyle=function(){return this.obj_.style};g.setId=function(a){this.obj_.id=a;return this};g.getId=function(){return this.obj_.id};g.getContext=function(){return this.obj_.context};
var vic=function(a){a.obj_.attributes=a.obj_.attributes||{};return new tic(a.obj_.attributes)},uec=function(a){return(a=a.obj_.timeout)?a:null};var wic=function(){uic.apply(this,arguments)};X(wic,uic);var xic=Np(Op("https://apis.google.com/js/api.js")),Bic=function(a,b){var c=!1,d=yic(a,b).then(function(f){c=!0;return f}),e=KMb(5E3).then(function(){return c?yic(a,b):zic(b).then(function(f){return Aic(f,a)})});return wMb([d,e])},yic=function(a,b){return Cic(b).then(function(c){return Aic(c,a)})},Aic=function(a,b){var c=uj(b,"gapi.")?b.slice(5):b;return a[c]?BC(a[c]):new AC(function(d,e){var f=Nt(function(){e(Error("Pd"))},3E4);a.load(b,{callback:function(){Ot(f);d(a[c])},onerror:function(h){Ot(f);
e(h)}})})},Cic=function(a){return a.gapi&&a.gapi.load?BC(a.gapi):zic(a)},zic=function(a){return Wya(xic,{document:a.document}).then(function(){return a.gapi})},Dic=function(){};Dic.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return Bic(a,b).then(function(d){var e=Date.now();return{library:d,loadStartMs:c,loadEndMs:e}},function(d){throw d instanceof Error?d:Error(String(d));})};var Eic=function(){cC.call(this);this.gapiLoader_=new Dic;this.origin_=null;this.gapiPickerIframeResolver_=yMb();this.gapiIframesResolver_=yMb();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};X(Eic,cC);
var Fic=function(a,b){var c=Oq("gapi.iframes",b);return c?(a=Date.now(),BC({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},Gic=function(a,b,c,d,e,f){var h=!0;h=void 0===h?!1:h;Fic(a,uC(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var u=l.resolve,x=h;x=void 0===x?!1:x;var y={};y["host-message-handler"]=c;a.hostMessageHandlerInternal_=y;var G=ZD(d);G=ZD(G);G=QD(PD(OD(new Wq,G.scheme_),G.getDomain()),
G.port_).toString();a.origin_=G;G=(new wic).setUrl(d);G.obj_.where=b;G.obj_.allowPost=x;G.obj_.messageHandlers=y;x=Oq("makeWhiteListIframesFilter",q)([a.origin_]);G.obj_.messageHandlersFilter=x;null!=e&&G.setId(e);null!=f&&(G.obj_.rpctoken=f);vic(G).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");vic(G).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(G.value());u.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});
return a.gapiPickerIframeResolver_.promise},Hic=function(a,b){return vMb([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=m(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,Oq("makeWhiteListIframesFilter",c)([a.origin_])):rMb(Error("Qd"))})};Eic.prototype.disposeInternal=function(){Iic(this);cC.prototype.disposeInternal.call(this)};
var Iic=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var Jic=function(){this.nextId_=0};Jic.prototype.getUniqueId=function(){return":"+(this.nextId_++).toString(36)};var Kic=new Map([["birthday",14],["children",1],["dinner",2],["featured",3],["holiday",4],["nightlife",5],["other",6],["party",7],["school",8],["seasonal",9],["sport",10],["stationery",11],["travel",12],["wedding",13]]),Lic=new Set("all docs-images docs-images-and-videos docs-videos documents drawings folders forms pdfs presentations scripts sites spreadsheets tables".split(" ")),Mic=new Set("bfe gmail-to gm-i gm-c og hangouts-profile-picture testing youtube-video-importer ritz punch freebird-themes freebird atariImage homeroom-doc-select homeroom-doc-attach file-upload trix-import trix-copy-sheet trix-import-named-functions trix-import-theme yt-addtoplaylist MapsPro punch-insert-video punch-insert-audio punch-insert-chart punch-import-theme punch-import-slides".split(" ")),
Nic={"application/vnd.google-apps.kix":"application/vnd.google-apps.document","application/vnd.google-apps.freebird":"application/vnd.google-apps.form","application/vnd.google-apps.punch":"application/vnd.google-apps.presentation","application/vnd.google-apps.ritz":"application/vnd.google-apps.spreadsheet"},Ric=function(a,b,c,d){var e=new mv;e=Dk(e,23,20);a=Mb(e,8,a);e=new JBb;var f=e.setOrigin,h=window.location.origin;h||(h=PD(OD(new Wq,window.location.protocol),window.location.host).toString());
e=f.call(e,h);e=Dk(e,3,2);a=Ok(a,JBb,20,e);for(e=0;e<d.length;e++){h=d[e];f=h[0];var l=h[1];switch(f){case "cropphoto":h=(new lv).setId(2);var q=new XBb;l=m(Object.entries(l||{}));for(var u=l.next();!u.done;u=l.next()){u=m(u.value);var x=u.next().value;u.next();switch(x){case "ctta":break;default:throw Error("Rd`"+x+"`"+f);}}am(h,3,YBb,q);a.addPostProcessor(h);break;default:throw Error("Sd`"+f);}}e=new iv;d=new ZBb;b=Oic(b,e,d,a);if(!b.length)throw Error("Td");Pic(c,e,b,a,d);c=ij(e,2).map(Qic);c=
sk(e,2,c);e=Array.from(new Set(ej(c,1,!1)));e=Lm(c,1,e);c=Array.from(new Set(ij(c,2)));c=sk(e,2,c);Ok(a,iv,2,c);Ok(a,ZBb,3,d);return(new tCb).setConfig(a).setSourceList(b)},Tic=function(a){var b=ANb(a.toString())+a.getPath(),c=XD(a,"pp");c=c?JSON.parse(c):[];var d=new Map;a.queryData_.forEach(function(e,f){d.set(f,e)});a=Sic(XD(a,"nav")||"");return Ric(b,a,d,c)},Uic=function(a,b,c){if(!XD(a,"v2")){WD(a,"amc","true");try{var d=c();if(Mic.has(b)){var e=d.getConfig().getBaseUrl();Hu(e,"/")||(e+="/");
var f=ZD(e);f.setPath(f.getPath()+"home");WD(f,"req",d.serialize());WD(a,"v2",f.toString())}}catch(h){WD(a,"v1fb","true")}}},Vic=function(a){var b=a.split("x");a=Number(b[0]);b=Number(b[1]);return isNaN(a)||isNaN(b)?null:(new Zu).setWidth(a).setHeight(b)},Xic=function(a,b){switch(a.action){case "select-contacts":a=Wic(a.contacts);break;case "visibility":a=a.visible;a=(new oCb).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?Hic(b,a):BC()},Wic=
function(a){if(!a||0==a.length)return null;var b=new oCb;b.setCommand(11);var c=new Jic;a.forEach(function(d){if(d.email){var e=(new fv).setName(d.name?d.name:d.email);var f=new NBb;d=Kb(f,1,d.email);e=Ok(e,NBb,27,d).setId((new av).setId(c.getUniqueId()).setSourceId(12))}else e=null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a},Oic=function(a,b,c,d){var e=new Map,f="",h=new Set;sic(a).forEach(function(l){var q=new hr,u=l.getOptions();if(Yic(l)){q=l.getId();switch(q){case "all":break;
case "docs-images":jv(b,1);jv(b,6);break;case "docs-images-and-videos":jv(b,2);jv(b,1);jv(b,6);break;case "docs-videos":jv(b,2);jv(b,6);break;case "documents":jv(b,3);jv(b,6);break;case "drawings":jv(b,12);jv(b,6);break;case "folders":jv(b,6);break;case "forms":jv(b,7);jv(b,6);break;case "pdfs":jv(b,9);jv(b,6);break;case "presentations":jv(b,5);jv(b,6);break;case "scripts":jv(b,10);jv(b,6);break;case "sites":jv(b,8);jv(b,6);break;case "spreadsheets":jv(b,4);jv(b,6);break;case "tables":jv(b,11);jv(b,
6);break;default:throw Error("ae`"+q);}q=Zic(u,l.getLabel());$ic(u,b,c,d,q);e.set(q.serialize(),CX(l,q))}else switch(l.getId()){case "contacts":q.setSourceId(12);if(0!=Object.keys(u||{}).length)throw Error("Ud");e.set(q.serialize(),CX(l,q));break;case "photos":ajc(u,e,b,l);break;case "photo-albums":q=mWa();jv(b,14);jv(b,1);e.set(q.serialize(),CX(l,q));break;case "youtube":q=pWa(3);jv(b,2);h.add(q.serialize());e.set(q.serialize(),CX(l,q));break;case "video-search":q=pWa();jv(b,2);h.add(q.serialize());
f=q.serialize();e.set(q.serialize(),CX(l,q));break;case "upload":if("docs"==u.query){var x=(q=u.parent)?[q]:[],y=!!u.enableUploadConversion,G=[];G=void 0===G?[]:G;x=void 0===x?[]:x;y=void 0===y?!1:y;q=new hr;u=q.setSourceId(2).setName("Upload");var J=new ir;G=(new rv).setFileExtensionsList(G);x=sk(G,1,x);x=oq(x,4,y);J=Ok(J,rv,15,x);lr(u,J)}else q.setSourceId(10),q.setUploadSourceOptions(bjc(u,b));e.set(q.serialize(),CX(l,q));break;case "url":"video"===u.type?(q=pWa(),jv(b,2),h.add(q.serialize()),
f=q.serialize()):(q.setSourceId(9),l.getLabel()&&q.setName(l.getLabel()),jv(b,1));e.set(q.serialize(),CX(l,q));break;case "webcam":J=q.setSourceId(1);x=new fCb;u=Dk(x,1,1).setUploadSourceOptions(bjc(u,b));Ok(J,fCb,16,u);jv(b,1);e.set(q.serialize(),CX(l,q));break;case "image-search":q.setSourceId(5);jv(b,1);e.set(q.serialize(),CX(l,q));break;case "et":q.setSourceId(13);l.getLabel()&&q.setName(l.getLabel());u=new sv;J=m(Object.entries(l.getOptions()||{}));for(x=J.next();!x.done;x=J.next())switch(y=
m(x.value),x=y.next().value,y=y.next().value,x){case "category":if(Kic.has(y))u.setCategory(Kic.get(y));else throw Error("Vd`"+y);break;default:throw Error("Wd`"+x);}jv(b,1);Ok(q,sv,13,u);e.set(q.serialize(),CX(l,q));break;case "recently-picked":sic(a).filter(Yic).length&&(l=jWa(),e.set(l.serialize(),l.setInternalOnlyV1ViewInfo(bCb("all").setLabel(l.getName()))));break;case "maps-pro":q=l.getLabel();J=(new hr).setSourceId(2);switch(u.type){case "all":lr(J,jr(kr(new ir,1),(new mr).setType(9).setDirection(2)));
break;case "owned":lr(J,jr(kr(new ir,2),(new mr).setType(9).setDirection(2)));break;case "shared":J=iWa();break;case "visited":J=jWa();break;case "starred":J=kWa();break;default:throw Error("ce`"+u.type);}q&&J.setName(q);q=J;Kb(b,2,"application/vnd.google-apps.map");e.set(q.serialize(),CX(l,q));break;case null:break;default:throw Error("Xd`"+l.getId());}});1<h.size&&f&&e.delete(f);return Array.from(e.values())},CX=function(a,b){var c=b.setInternalOnlyV1ViewInfo;var d=bCb(a.getId()).setLabel(a.getLabel());
a=JSON.stringify(a.getOptions());d=Mb(d,3,a);return c.call(b,d)},Sic=function(a){var b=new BX;a=/^\((.*)\)$/.exec(a);if(!a)return b;a=a[1].match(/\([^\(\)]+\)/g);if(!a)return b;a=m(a);for(var c=a.next();!c.done;c=a.next())(c=/^\((".*)\)$/.exec(c.value))?(c=JSON.parse("["+c[1]+"]"),c=(new uX(c[0])).setLabel(c[1]).setOptions(c[2]||{})):c=null,c&&b.addView(c);return b},Pic=function(a,b,c,d,e){a.forEach(function(f,h){switch(h){case "hostId":Mb(d,24,f);break;case "origin":Mb(d,27,f);break;case "title":d.setTitle(f);
break;case "hl":d.setLocale(f);break;case "multiselectEnabled":"true"==f&&(Dk(e,1,1),Ok(d,ZBb,3,e));break;case "groupId":h=new Xu;f=Mb(h,2,f);Ok(d,Xu,29,f);break;case "authuser":f=Number(f);if(isNaN(f))throw Error("Yd");d.setAuthUser((new Yu).setAuthUser(f));break;case "maxItems":f=Number(f);isNaN(f)||Lb(d,5,f);break;case "maxSizeBytesPerItem":f=Number(f);isNaN(f)||b.setMaxSizeBytes(f);break;case "maxSizeBytes":f=Number(f);isNaN(f)||Lb(d,38,f);break;case "maxMessageSizeBytes":f=Number(f);isNaN(f)||
(h=wk(d,kv,22)||new kv,aCb(d,Lb(h,4,Math.ceil(f/1024/1024))));break;case "selectableMimeTypes":sk(b,2,f.split(","));jv(b,6);break;case "gmailDelegatorId":f=(new Xu).setGmailDelegatorId(f);Ok(d,Xu,29,f);break;case "minSize":(f=Vic(f))&&d.setMinSize(f);break;case "maxSize":(f=Vic(f))&&d.setMaxSize(f);break;case "view":f=/\("([^"]*)",.*\)/.exec(f);"upload"==(null!=f&&1<f.length?f[1]:"")?d.setInitialView(1):d.setInitialView(0);break;case "actionPaneText":f=(wk(d,$u,37)||new $u).setMessage(f);Ok(d,$u,
37,f);break;case "learnMore":var l=f.match(/^([a-z]+)\/\?p=([a-z_]+)$/);if(l){f=wk(d,$u,37)||new $u;h=f.setLearnMoreLink;var q=new KBb;q=Mb(q,1,l[1]);l=Mb(q,2,l[2]);h.call(f,l)}break;case "mineOnly":f=m(c);for(h=f.next();!h.done;h=f.next())switch(h=h.value,h.getSourceId()){case 2:kr(wk(h,ir,3),2)}break;case "showAttach":oq(d,34,!0);break;case "selectButtonLabel":d.setSelectButtonLabel(f);break;case "srum":break;case "ftd":f=m(c);for(h=f.next();!h.done;h=f.next())h=h.value,2!==h.getSourceId()||wk(wk(h,
ir,3),rv,15)||oq(wk(h,ir,3),20,!0);break;case "pp":case "dff":case "relayUrl":case "parent":case "nav":case "protocol":case "actions":case "thumbs":case "tt":case "cropMode":case "grugl":case "dfc":case "noItemsView":case "navHidden":case "odv":case "newDriveView":case "horizNav":case "urlInputVisible":case "ifls":case "amc":break;case "shadeDialog":break;default:throw Error("Zd`"+h);}})},bjc=function(a,b){var c=new ov;a=m(Object.entries(a||{}));for(var d=a.next();!d.done;d=a.next()){var e=m(d.value);
d=e.next().value;e=e.next().value;switch(d){case "query":switch(e){case "profile":qv(c,2);jv(b,1);break;case "photo":case "photos":qv(c,1);jv(b,1);break;case "forms":qv(c,6);jv(b,1);break;case "spreadsheets":qv(c,7);jv(b,1);break;case "presentation":qv(c,8);jv(b,1);break;case "gmailphotos":qv(c,13);jv(b,1);break;case "gmb-single-collection-photo":case "gmb-multiple-collection-photos":qv(c,14);jv(b,1);break;case "gmb-videos":qv(c,14);jv(b,2);Bl(c,6).set("media_type","VIDEO");break;case "gmb-photos-and-videos":qv(c,
14);jv(jv(b,1),2);Bl(c,6).set("media_type","VIDEO");break;case "mapspro":case "mapspro-image":qv(c,15);break;case "drawings":qv(c,16);break;case "books":qv(c,17);break;case "cultural":qv(c,18);break;case "dragonflyphotos":qv(c,19);jv(jv(b,1),2);break;case "earthcc":qv(c,20);break;case "jsuite":qv(c,21);break;case "jsuite-autopush":qv(c,22);break;case "jsuite-staging":qv(c,23);break;case "partnerdash-l10nrequests":qv(c,24);break;case "support-cases":qv(c,25);break;case "support-cases-dev":qv(c,26);
break;case "support-cases-staging":qv(c,27);break;default:throw Error("$d`"+e);}break;case "data":d=m(Object.entries(e||{}));for(e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;Bl(c,2).set(e,f)}break;case "sdurl":oq(c,5,!0);break;case "fileExts":(d=e&&e)&&c.setFileExtensionsList(d.split(","))}}return c},Zic=function(a,b){if(15==a.sortKey)return jWa();if(a.starred)return kWa();if(a.td||a.dr)return b=new hr,a=new ir,oq(a,11,!0),lr(b,a),b.setSourceId(2),b.setName("Shared drives"),
b;if(a.ownedByMe)return b=new hr,a=new ir,a.setParentId("root"),jr(a,hWa()),kr(a,1),lr(b,a),b.setSourceId(2),b.setName("My Drive"),b;if(!1===a.ownedByMe)return iWa();a=jWa();b&&a.setName(b);return a},$ic=function(a,b,c,d,e){a=m(Object.entries(a));for(var f=a.next();!f.done;f=a.next()){f=m(f.value);var h=f.next().value;f=f.next().value;switch(h){case "mimeTypes":if(f=f&&f)f.split(",").forEach(function(l){Kb(b,2,l)}),jv(b,6);break;case "rdem":h=wk(d,kv,22)||new kv;aCb(d,h.setRestrictedDownloadErrorMessage(f));
break;case "drdis":h=wk(wk(e,ir,3),iCb,19)||new iCb;jCb(wk(e,ir,3),oq(h,1,f));break;case "selectFolder":oq(c,2,f)}}},Qic=function(a){return Nic[a]||a},ajc=function(a,b,c,d){var e=new nr;if(Object.keys(a).length){var f=a.allowedItemTypes||[];f.includes("photo")&&(e.addSource(lWa()),jv(c,1));f.includes("album")&&(e.addSource(mWa()),jv(c,14));if("videos-uploaded"==a.type||"videos-camerasync"==a.type)e.addSource(oWa()),jv(c,2);if(a.username)throw Error("be");}else e=nWa(),jv(c,1),jv(c,14);e.getSourceList().forEach(function(h){b.set(h.serialize(),
CX(d,h))})},Yic=function(a){a=a.getId();return null!=a&&Lic.has(a)};var cjc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new BX};g=cjc.prototype;g.nav_=null;g.domHelper_=null;g.addView=function(a){this.nav_.addView(a);return this};g.getBaseUrl=function(){return this.basePickerUrl_};g.getDomHelper=function(){return this.domHelper_};g.setAppId=function(a){this.appId_=a};g.setCallback=function(a){this.callback_=a;return this};var djc=function(a){cjc.call(this,a)};Gu(djc,cjc);var DX=function(a){Qq.call(this);this.dom_=a||Tq();this.rightToLeft_=ejc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null};Gu(DX,Qq);DX.prototype.idGenerator_=$r.getInstance();var ejc=!1;g=DX.prototype;g.getId=function(){return this.id_||(this.id_=Rr(this.idGenerator_))};
g.setId=function(a){if(this.parent_&&this.parent_.childIndex_){ic(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(null!==b&&a in b)throw Error("X`"+a);b[a]=this}this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Tr(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("de");if(a&&this.parent_&&this.id_&&wac(this.parent_,this.id_)&&this.parent_!=a)throw Error("de");this.parent_=a;DX.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("ee");DX.superClass_.setParentEventTarget.call(this,a)};g.getDomHelper=function(){return this.dom_};g.createDom=function(){this.element_=this.dom_.createElement("DIV")};
g.render=function(a){if(this.inDocument_)throw Error("fe");this.element_||this.createDom();a?a.insertBefore(this.element_,null):this.dom_.document_.body.appendChild(this.element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};g.enterDocument=function(){this.inDocument_=!0;fjc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
g.exitDocument=function(){fjc(this,function(a){a.inDocument_&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};g.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);fjc(this,function(a){a.dispose()});this.element_&&vC(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;DX.superClass_.disposeInternal.call(this)};
g.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("fe");if(0>a||a>(this.children_?this.children_.length:0))throw Error("ge");this.childIndex_&&this.children_||(this.childIndex_={},this.children_=[]);if((void 0).getParent()==this){var b=this.childIndex_,c=(void 0).getId();b[c]=void 0;Ma(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(null!==b&&c in b)throw Error("X`"+c);b[c]=void 0}(void 0).setParent(this);oaa(this.children_,
a,0,void 0);(void 0).inDocument_&&this.inDocument_&&(void 0).getParent()==this?(b=this.getContentElement(),(b.childNodes[a]||null)!=(void 0).getElement()&&((void 0).getElement().parentElement==b&&b.removeChild((void 0).getElement()),a=b.childNodes[a]||null,b.insertBefore((void 0).getElement(),a))):this.inDocument_&&!(void 0).inDocument_&&(void 0).element_&&(void 0).element_.parentNode&&1==(void 0).element_.parentNode.nodeType&&(void 0).enterDocument()};g.getContentElement=function(){return this.element_};
g.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=xW(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var wac=function(a,b){return a.childIndex_&&b?jc(a.childIndex_,b)||null:null},fjc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
DX.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=wac(this,c);c&&a&&(ic(this.childIndex_,c),Ma(this.children_,a),b&&(a.exitDocument(),a.element_&&vC(a.element_)),a.setParent(null))}if(!a)throw Error("he");return a};DX.prototype.removeChildren=function(a){for(var b=[];this.hasChildren();){var c=b,d=c.push;var e=this.removeChild(this.children_?this.children_[0]||null:null,a);d.call(c,e)}return b};Gu(qWa,gWa);var gjc=function(a){gWa.call(this,"visibility");this.visible=a};Gu(gjc,gWa);var sWa=Np(Op("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),rWa=Np(Op("//apis.google.com/js/rpc.js")),vWa=null;var EX=function(a){Qq.call(this);this.element_=a;a=Iu?"focusout":"blur";this.listenKeyIn_=Rq(this.element_,Iu?"focusin":"focus",this,!Iu);this.listenKeyOut_=Rq(this.element_,a,this,!Iu)};Gu(EX,Qq);EX.prototype.handleEvent=function(a){var b=new fC(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};EX.prototype.disposeInternal=function(){EX.superClass_.disposeInternal.call(this);lC(this.listenKeyIn_);lC(this.listenKeyOut_);delete this.element_};var FX=function(a,b,c){Qq.call(this);this.target=a;this.handle=b||a;this.limits=c||new sW(NaN,NaN,NaN,NaN);this.document_=oC(a);this.eventHandler_=new Tr(this);dC(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;Rq(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=hjc};Gu(FX,Qq);
var hjc=da.document&&da.document.documentElement&&!!da.document.documentElement.setCapture&&!!da.document.releaseCapture;g=FX.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){FX.superClass_.disposeInternal.call(this);kC(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
g.startDrag=function(a){var b="mousedown"==a.type;if(this.dragging_||b&&(0!=a.event_.button||Zr&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new GX("start",this,a.clientX,a.clientY,a))){this.dragging_=!0;b&&a.preventDefault();b=this.document_;var c=b.documentElement,d=!this.useSetCapture_;this.eventHandler_.listen(b,["touchmove","mousemove"],this.handleMove_,{capture:d,passive:!1});this.eventHandler_.listen(b,["touchend","mouseup"],this.endDrag,d);this.useSetCapture_?(c.setCapture(!1),
this.eventHandler_.listen(c,"losecapture",this.endDrag)):this.eventHandler_.listen(uC(b),"blur",this.endDrag);this.scrollTarget_&&this.eventHandler_.listen(this.scrollTarget_,"scroll",this.onScroll_,d);this.clientX=this.startX=a.clientX;this.clientY=this.startY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.pageScroll=tC(Tq(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new GX("end",this,a.clientX,a.clientY,a,ijc(this,this.deltaX),jjc(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
g.handleMove_=function(a){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new GX("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=kjc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new GX("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(ljc(this,a,b,c),a.preventDefault())};var kjc=function(a,b,c){var d=tC(Tq(a.document_).document_);b+=d.x-a.pageScroll.x;c+=d.y-a.pageScroll.y;a.pageScroll=d;a.deltaX+=b;a.deltaY+=c;return new ds(ijc(a,a.deltaX),jjc(a,a.deltaY))};FX.prototype.onScroll_=function(a){var b=kjc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;ljc(this,a,b.x,b.y)};
var ljc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new GX("drag",a,b.clientX,b.clientY,b,c,d))},ijc=function(a,b){var c=a.limits;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))},jjc=function(a,b){var c=a.limits;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))};FX.prototype.isDragging=function(){return this.dragging_};
var GX=function(a,b,c,d,e,f,h){eC.call(this,a);this.clientX=c;this.clientY=d;this.left=void 0!==f?f:b.deltaX;this.top=void 0!==h?h:b.deltaY};Gu(GX,eC);var HX=function(a){this.map_=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error("Y");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=HX.prototype;g.getCount=function(){return this.map_.size};g.getValues=function(){return Array.from(this.map_.values())};g.getKeys=function(){return Array.from(this.map_.keys())};g.containsKey=function(a){return this.map_.has(a)};g.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
g.equals=function(a,b){var c=this;b=void 0===b?function(d,e){return d===e}:b;return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return b(c.map_.get(d),a.get(d))})};g.isEmpty=function(){return 0==this.map_.size};g.clear=function(){this.map_.clear()};g.remove=function(a){return this.map_.delete(a)};g.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};g.set=function(a,b){this.map_.set(a,b);return this};
g.addAll=function(a){if(a instanceof HX){a=m(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=m(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=m(Object.entries(a)),b=a.next();!b.done;b=a.next())c=m(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new HX(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!da.requestAnimationFrame;++c)da.requestAnimationFrame=da[b+"RequestAnimationFrame"],da.cancelAnimationFrame=da[b+"CancelAnimationFrame"]||da[b+"CancelRequestAnimationFrame"];if(!da.requestAnimationFrame){var d=0;da.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return da.setTimeout(function(){e(f+h)},h)};da.cancelAnimationFrame||(da.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var mjc=[[],[]],njc=0,ojc=!1,pjc=0,rjc=function(a,b){var c=pjc++,d={measureTask:{id:c,fn:a.measure,context:b},mutateTask:{id:c,fn:a.mutate,context:b},state:{},args:void 0,isScheduled:!1};return function(){0<arguments.length?(d.args||(d.args=[]),d.args.length=0,d.args.push.apply(d.args,arguments),d.args.push(d.state)):d.args&&0!=d.args.length?(d.args[0]=d.state,d.args.length=1):d.args=[d.state];d.isScheduled||(d.isScheduled=!0,mjc[njc].push(d));ojc||(ojc=!0,window.requestAnimationFrame(qjc))}},qjc=
function(){ojc=!1;var a=mjc[njc],b=a.length;njc=(njc+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.measureTask;c.isScheduled=!1;e.fn&&e.fn.apply(e.context,c.args)}for(d=0;d<b;++d)c=a[d],e=c.mutateTask,c.isScheduled=!1,e.fn&&e.fn.apply(e.context,c.args),c.state={};a.length=0};var sjc=Iu?Np(Op('javascript:""')):Np(Op("about:blank"));Wi(sjc);var tjc=Iu?Np(Op('javascript:""')):Np(Op("javascript:undefined"));Wi(tjc);var ujc=function(a,b){this.element_=a;this.dom_=b};var IX=function(a,b){DX.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=rjc({mutate:this.resizeBackground_},this)};Gu(IX,DX);g=IX.prototype;g.focusHandler_=null;g.visible_=!1;g.bgEl_=null;g.bgIframeEl_=null;g.tabCatcherElement_=null;g.backwardTabWrapInProgress_=!1;g.getCssClass=function(){return"goog-modalpopup"};g.getBackgroundElement=function(){return this.bgEl_};
g.createDom=function(){IX.superClass_.createDom.call(this);var a=this.getElement();qW(a,xj(this.getCssClass()).split(" "));a.tabIndex=0;wW(a,!1);this.useIframeMask_&&!this.bgIframeEl_&&(a=this.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}),a.src=Wi(sjc).toString(),this.bgIframeEl_=a,this.bgIframeEl_.className=this.getCssClass()+"-bg",wW(this.bgIframeEl_,!1),Hfc(this.bgIframeEl_,0));this.bgEl_||(this.bgEl_=this.getDomHelper().createDom("DIV",this.getCssClass()+
"-bg"),wW(this.bgEl_,!1));this.tabCatcherElement_||(this.tabCatcherElement_=this.getDomHelper().createElement("SPAN"),wW(this.tabCatcherElement_,!1),this.tabCatcherElement_.tabIndex=0,this.tabCatcherElement_.style.position="absolute")};g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};
g.enterDocument=function(){if(this.bgIframeEl_){var a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgIframeEl_,a)}a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgEl_,a);IX.superClass_.enterDocument.call(this);a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.tabCatcherElement_,a.nextSibling);this.focusHandler_=new EX(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);vjc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Oi(this.focusHandler_);IX.superClass_.exitDocument.call(this);vC(this.bgIframeEl_);vC(this.bgEl_);vC(this.tabCatcherElement_)};
g.setVisible=function(a){if(a!=this.visible_)if(this.popupShowTransition_&&this.popupShowTransition_.stop(),this.bgShowTransition_&&this.bgShowTransition_.stop(),this.popupHideTransition_&&this.popupHideTransition_.stop(),this.bgHideTransition_&&this.bgHideTransition_.stop(),this.inDocument_&&vjc(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.lastFocus_=this.getDomHelper().document_.activeElement}catch(e){}this.resizeBackground_();this.reposition();this.getHandler().listen(this.getDomHelper().getWindow(),
"resize",this.resizeBackground_).listen(this.getDomHelper().getWindow(),"orientationchange",this.resizeBackgroundTask_);wjc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)iC(this.popupShowTransition_,"end",this.onShow,!1,this),this.bgShowTransition_.play(),this.popupShowTransition_.play();else this.onShow()}}else if(this.dispatchEvent("beforehide")){this.getHandler().unlisten(this.getDomHelper().getWindow(),"resize",this.resizeBackground_).unlisten(this.getDomHelper().getWindow(),
"orientationchange",this.resizeBackgroundTask_);this.visible_=!1;if(this.popupHideTransition_&&this.bgHideTransition_)iC(this.popupHideTransition_,"end",this.onHide,!1,this),this.bgHideTransition_.play(),this.popupHideTransition_.play();else this.onHide();a:{try{var b=this.getDomHelper(),c=b.document_.body,d=b.document_.activeElement||c;if(!this.lastFocus_||this.lastFocus_==c){this.lastFocus_=null;break a}(d==c||b.contains(this.getElement(),d))&&this.lastFocus_.focus()}catch(e){}this.lastFocus_=null}}};
var vjc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new ujc(a.element_,a.dom_));a=a.modalAriaVisibilityHelper_;if(b){a.hiddenElements_||(a.hiddenElements_=[]);b=a.dom_.getChildren(a.dom_.document_.body);for(var c=0;c<b.length;c++){var d=b[c];d==a.element_||l5b(d,"hidden")||(tO(d,"hidden",!0),a.hiddenElements_.push(d))}}else if(a.hiddenElements_){for(c=0;c<a.hiddenElements_.length;c++)a.hiddenElements_[c].removeAttribute("aria-hidden");a.hiddenElements_=null}},wjc=function(a,
b){a.bgIframeEl_&&wW(a.bgIframeEl_,b);a.bgEl_&&wW(a.bgEl_,b);wW(a.getElement(),b);wW(a.tabCatcherElement_,b)};g=IX.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){wjc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&wW(this.bgIframeEl_,!1);this.bgEl_&&wW(this.bgEl_,!1);var a=this.getDomHelper().document_,b=rC(uC(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth));a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.bgIframeEl_&&(wW(this.bgIframeEl_,!0),Gfc(this.bgIframeEl_,c,a));this.bgEl_&&(wW(this.bgEl_,!0),Gfc(this.bgEl_,c,a))};
g.reposition=function(){var a=this.getDomHelper().document_,b=uC(a)||window;if("fixed"==qr(this.getElement(),"position"))var c=a=0;else c=tC(this.getDomHelper().document_),a=c.x,c=c.y;var d=fs(this.getElement());b=rC(b);a=Math.max(a+b.width/2-d.width/2,0);c=Math.max(c+b.height/2-d.height/2,0);gs(this.getElement(),a,c);gs(this.tabCatcherElement_,a,c)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Nt(this.focusElement_,0,this)};
g.focusElement_=function(){try{Iu&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};g.disposeInternal=function(){Oi(this.popupShowTransition_);this.popupShowTransition_=null;Oi(this.popupHideTransition_);this.popupHideTransition_=null;Oi(this.bgShowTransition_);this.bgShowTransition_=null;Oi(this.bgHideTransition_);this.bgHideTransition_=null;IX.superClass_.disposeInternal.call(this)};var LX=function(a,b,c){IX.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=JX(JX(new KX,xjc,!0),yjc,!1,!0)};Gu(LX,IX);g=LX.prototype;g.escapeToCancel_=!0;g.hasTitleCloseButton_=!0;g.modal_=!0;g.backgroundElementOpacity_=.5;g.title_="";g.dragger_=null;g.disposeOnHide_=!1;g.titleEl_=null;g.titleTextEl_=null;g.titleTextId_=null;g.titleCloseEl_=null;g.contentEl_=null;g.buttonEl_=null;g.getCssClass=function(){return this.class_};
g.setTitle=function(a){this.title_=a;this.titleTextEl_&&xC(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var zjc=function(a){a.getElement()||a.render();return a.getElement()};LX.prototype.getBackgroundElement=function(){this.getElement()||this.render();return LX.superClass_.getBackgroundElement.call(this)};LX.prototype.handleDrag=function(){};
var Ajc=function(a,b){var c=xj(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?qW(a.titleEl_,c):xfc(a.titleEl_,c));b&&!a.dragger_?(b=new FX(a.getElement(),a.titleEl_),a.dragger_=b,qW(a.titleEl_,c),Rq(a.dragger_,"start",a.setDraggerLimits_,!1,a),Rq(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=LX.prototype;
g.createDom=function(){LX.superClass_.createDom.call(this);var a=this.getElement(),b=this.getDomHelper();this.titleTextId_=this.getId();var c=this.getId()+".contentEl";this.titleEl_=b.createDom("DIV",this.class_+"-title",this.titleTextEl_=b.createDom("SPAN",{className:this.class_+"-title-text",id:this.titleTextId_},this.title_),this.titleCloseEl_=b.createDom("SPAN",this.class_+"-title-close"));VLb(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));sO(this.titleTextEl_,"heading");sO(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;tO(this.titleCloseEl_,"label","Close");sO(a,"dialog");tO(a,"labelledby",this.titleTextId_||"");wW(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());wW(this.buttonEl_,!!this.buttons_);this.backgroundElementOpacity_=this.backgroundElementOpacity_;this.getElement()&&(a=this.getBackgroundElement())&&Hfc(a,
this.backgroundElementOpacity_)};
g.enterDocument=function(){LX.superClass_.enterDocument.call(this);this.getHandler().listen(this.getElement(),"keydown",this.onKey_).listen(this.getElement(),"keypress",this.onKey_);this.getHandler().listen(this.buttonEl_,"click",this.onButtonClick_);Ajc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();sO(a,"dialog");""!==this.titleTextEl_.id&&tO(a,"labelledby",this.titleTextEl_.id);if(!this.modal_){this.modal_=!1;if(this.inDocument_){a=
this.getDomHelper();var b=this.getBackgroundElement();a.removeNode(this.bgIframeEl_);a.removeNode(b)}this.isVisible()&&vjc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Ajc(this,!1);LX.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),LX.superClass_.setVisible.call(this,a))};g.onShow=function(){LX.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){LX.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=rC(uC(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=fs(this.getElement());"fixed"==qr(this.getElement(),"position")?this.dragger_.limits=new sW(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new sW(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){Bjc(this)};var Bjc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new MX(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},Cjc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&wW(a.titleCloseEl_,a.hasTitleCloseButton_)};LX.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};LX.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;LX.superClass_.disposeInternal.call(this)};
var Djc=function(a){a.buttons_=null;if(a.buttonEl_){if(a.buttons_){var b=a.buttons_;b.element_=a.buttonEl_;b.render()}else WRa(a.buttonEl_,ku);wW(a.buttonEl_,!!a.buttons_)}};LX.prototype.onButtonClick_=function(a){a:{for(a=a.target;null!=a&&a!=this.buttonEl_;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.buttons_.get(a);this.dispatchEvent(new MX(a,b))&&this.setVisible(!1)}};
LX.prototype.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if("keydown"==a.type)if(this.escapeToCancel_&&27==a.keyCode){var f=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;f&&!e?(c=!0,b=d.get(f),b=this.dispatchEvent(new MX(f,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(x){}Nt(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)Bjc(this);else if(d){var h=d.getDefault(),l;if(l=h)a:{l=qC("BUTTON",d.element_);for(var q=0,u;u=l[q];q++)if(u.name==h||u.id==h){l=u;break a}l=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!l||l.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new MX(f,String(d.get(f)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||Bjc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var MX=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};Gu(MX,eC);var KX=function(a){HX.call(this);this.dom_=a||Tq();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};Gu(KX,HX);KX.prototype.clear=function(){HX.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};KX.prototype.set=function(a,b,c,d){HX.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var JX=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};g=KX.prototype;g.render=function(){if(this.element_){WRa(this.element_,ku);var a=Tq(this.element_);this.forEach(function(b,c){b=a.createDom("BUTTON",{name:c},b);c==this.defaultButton_&&(b.className=this.class_+"-default");this.element_.appendChild(b)},this)}};g.getElement=function(){return this.element_};g.getDomHelper=function(){return this.dom_};g.setDefault=function(a){this.defaultButton_=a};g.getDefault=function(){return this.defaultButton_};
var xjc={key:"ok",caption:"OK"},yjc={key:"cancel",caption:"Cancel"},Ejc={key:"yes",caption:"Yes"},Fjc={key:"no",caption:"No"},Gjc={key:"save",caption:"Save"},Hjc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(JX(new KX,xjc,!0,!0),JX(JX(new KX,xjc,!0),yjc,!1,!0),JX(JX(new KX,Ejc,!0),Fjc,!1,!0),JX(JX(JX(new KX,Ejc),Fjc,!0),yjc,!1,!0),JX(JX(JX(new KX,Hjc),Gjc),yjc,!0,!0));var Ijc=function(a,b,c){LX.call(this,a,b,c)};Gu(Ijc,LX);var NX=function(a,b){Qq.call(this);this.element_=a;a=wC(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&xW(a);this.listenKey_=Rq(this.element_,Ku?"DOMMouseScroll":"mousewheel",this,b)};Gu(NX,Qq);
NX.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=Jjc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=Jjc(-d.wheelDeltaX),c=Jjc(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.maxDeltaX_&&(b=Math.min(Math.max(b,-this.maxDeltaX_),this.maxDeltaX_));"number"===typeof this.maxDeltaY_&&(c=Math.min(Math.max(c,-this.maxDeltaY_),this.maxDeltaY_));this.isRtl_&&(b=-b);b=new Kjc(a,d,b,c);this.dispatchEvent(b)};
var Jjc=function(a){return Lu&&(Zr||FAb)&&0!=a%40?a:a/40};NX.prototype.disposeInternal=function(){NX.superClass_.disposeInternal.call(this);lC(this.listenKey_);this.listenKey_=null};var Kjc=function(a,b,c,d){fC.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};Gu(Kjc,fC);var Ljc;var OX=function(a,b,c,d,e,f,h,l,q){l=void 0===l?!1:l;q=void 0===q?!1:q;LX.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);INb(a,"protocol");this.iframeManager_=new Eic;this.targetId_=Bv();this.rpcToken_=Bv();this.useGapi_=!q;var u=ZD(a);(a=XD(u,"hostId"))&&!l&&Uic(u,a,function(){return Tic(u)});this.setUrl(u.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;this.autoSizeDialog_=Mjc(u.toString(),d,e);this.gadgetsDomHelper_=h||this.getDomHelper();b&&uWa(this.gadgetsDomHelper_,
"true"==XD(ZD(this.url_),"grugl"));Njc(this,u.toString());this.escapeToCancel_=!1;Djc(this)};Gu(OX,Ijc);g=OX.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};g.enterDocument=function(){OX.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new NX(a);dC(b,c);b.listen(c,"mousewheel",Eu(yWa,void 0,a)).listen(a,"scroll",Eu(yWa,void 0,a))};
g.render=function(a){var b=this;OX.superClass_.render.call(this,a);this.useGapi_?Fic(this.iframeManager_,window).then(function(){return Ojc(b)}).then(null,function(c){return void b.handleError_(c)}):Pjc(this)};
var Ojc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);wW(b,!1);a.getContentElement().appendChild(b);return Gic(a.iframeManager_,b,function(c){var d=rCb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=wk(d,dCb,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList();d=0===f.length?{action:e}:hic(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:Cjc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();Qjc(a);wW(a.iframe_.parentElement,!0);vfc(a.getElement(),"picker-dialog");Rjc(a);return c})},Pjc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Zma(a.iframe_,Sjc(a));vfc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void Qjc(a)});
a.iframe_.src=a.url_;Rjc(a)},Ujc=function(a){Tjc(a,Eu(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},Rjc=function(a){var b=XD(ZD(a.url_),"title");b&&a.setTitle(b)},Sjc=function(a){return 7<=ua("Internet Explorer")&&uj(a.url_,"https")?Np(Op("https://about:blank")):Iu?Np(Op('javascript:""')):Np(Op("about:blank"))},Qjc=function(a){Ujc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};
OX.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var Tjc=function(a,b){var c=a.gadgetsDomHelper_;wWa(function(){b(c.getWindow().gadgets.rpc)},c)};OX.prototype.setUrl=function(a){a=WD(new Wq(a),"rpcService",this.targetId_);WD(a,"rpctoken",this.rpcToken_);SD(a,"rpctoken="+this.rpcToken_);OD(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};
OX.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&Vjc(this)};OX.prototype.setCallback=function(a){this.callback_=a;Tjc(this,Eu(function(b){b.register(this.targetId_,Eu(this.handlePickerAction_,this))},this))};
OX.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new gjc(this.isVisible())),Vjc(this),Cjc(this),this.getHandler().unlisten(this.getDomHelper().getWindow(),"keydown",this.handleKeydown_),this.iframe_.tabIndex=0);"picked"!=b&&"cancel"!=b||this.setVisible(!1);this.callback_(a)};var Vjc=function(a){a.appId_&&a.sendCommand(new qWa(a.appId_,window.location.protocol+"//"+window.location.host))};
OX.prototype.setRelayUrl=function(a){Tjc(this,Eu(function(b){b.setRelayUrl(this.targetId_,a)},this))};var Njc=function(a,b){var c=null,d=b.indexOf("/picker?");-1<d?c=b.substring(0,d+8-1):Hu(b,"/picker")&&(c=b);c&&a.setRelayUrl(c+"/resources/rpc_relay.html")};g=OX.prototype;g.sendCommand=function(a){var b=this;this.useGapi_&&Xic(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});Tjc(this,Eu(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=uC(a)||window;if("true"==XD(ZD(this.url_),"ignoreLimits"))a=new mC(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==XD(ZD(this.url_),"shadeDialog")){var b=Mfc(zjc(this)),c=rC(a);a=c.width-80;c=c.height-40;b&&(a-=b.left?b.left:0,a-=b.right?b.right:0,c-=b.top?b.top:0,c-=b.bottom?b.bottom:0);a=new mC(0<a?a:0,0<c?c:0)}else{b=this.preferredDialogWidth_;if(b){b=Math.max(320,Math.min(1051,b));c=this.preferredDialogHeight_;
c||(c=rC(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=rC(a),b=.618*c.width,d=b<c.height?Math.round(Math.max(480,Math.min(650,.85*b))):Math.round(Math.max(480,Math.min(650,.85*c.height))),b=Math.round(d/.618);c=rC(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new mC(b,d)}Gfc(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if("true"==XD(ZD(this.url_),"shadeDialog")){var a=fs(this.getElement()),b=rC(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=Mfc(zjc(this))){var c=b.left?b.left:0;c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=0<a?a:0;b=tC(this.getDomHelper().document_).y;gs(this.getElement(),a,b)}else OX.superClass_.reposition.call(this)};
g.setVisible=function(a){if(a!=this.isVisible()&&this.autoSizeDialog_){var b=this.getDomHelper().getWindow();a?(this.resizePicker_(),this.getHandler().listen(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().listen(b,"keydown",this.handleKeydown_)):(this.getHandler().unlisten(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().unlisten(b,"keydown",this.handleKeydown_))}OX.superClass_.setVisible.call(this,a);this.sendCommand(new gjc(a))};
g.focus=function(){OX.superClass_.focus.call(this);if(this.iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.iframe_.focus()}catch(a){}};var Mjc=function(a,b,c){if(void 0!==b||void 0!==c)return!0;a=XD(ZD(a),"hostId");Ljc||(Ljc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" ")));return!Ljc.has(a)};OX.prototype.handleError_=function(){this.callback_({action:"error"})};var PX=function(a){cjc.call(this,a);this.urlParamMap_=new Map;this.urlParamMap_.set("protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};Gu(PX,djc);PX.prototype.disposeOnHide_=!1;PX.prototype.addPostProcessor=function(a){this.postProcessors_.push([a,{}])};
PX.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(SD(RD(ZD(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("ie");var a=new OX(Wjc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!0,!1);a.setDisposeOnHide(this.disposeOnHide_);a.setAppId(this.appId_);a.setCallback(this.callback_);return a};
var Xjc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=PX.prototype;g.getHeight=function(){return this.dialogHeight_};g.getLocale=function(){return this.urlParamMap_.get("hl")};g.getTitle=function(){return this.urlParamMap_.get("title")};g.getWidth=function(){return this.dialogWidth_};g.setAuthUser=function(a){this.urlParamMap_.set("authuser",a);return this};g.setDisposeOnHide=function(a){this.disposeOnHide_=a};
g.setMaxSizeBytes=function(a){if(isNaN(a))throw Error("je`"+a);this.urlParamMap_.set("maxSizeBytes",a)};g.setGroupId=function(a){this.urlParamMap_.set("groupId",a)};g.setGmailDelegatorId=function(a){this.urlParamMap_.set("gmailDelegatorId",a);return this};var Yjc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=PX.prototype;g.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};
g.setInitialView=function(a){a instanceof uX?this.urlParamMap_.set("view",a.toString()):this.urlParamMap_.set("view",a)};g.setLocale=function(a){this.urlParamMap_.set("hl",a);return this};g.setMaxSize=function(a){if(isNaN(a)||isNaN(void 0))throw Error("ke`"+a+"`undefined");this.urlParamMap_.set("maxSize",a+"xundefined")};g.setMinSize=function(a){if(isNaN(a)||isNaN(void 0))throw Error("le`"+a+"`undefined");this.urlParamMap_.set("minSize",a+"xundefined")};g.setSecretToken=function(){return this};
g.setRelayUrl=function(a){this.urlParamMap_.set("parent",a)};g.setSelectButtonLabel=function(a){this.urlParamMap_.set("selectButtonLabel",a)};g.setSize=function(a,b){this.dialogWidth_=a;this.dialogHeight_=b;return this};g.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var Wjc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",qic(a.nav_));var b=new Wq(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){WD(b,d,c)});Uic(b,a.urlParamMap_.get("hostId"),function(){return Ric(a.getBaseUrl(),a.nav_,a.urlParamMap_,a.postProcessors_)});return b};var QX=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new vw;this.onCloneBlob=new vw;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
QX.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=Yjc(Xjc(Xjc(Xjc(Xjc((new PX(this.onePickUrl)).addView(Whc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&"picked"===c.action)for(var d=m(c.docs),e=d.next();!e.done;e=d.next())e=new Thc(e.value),c.extraUserInputs.isAttachment?(e=new Uhc(e),Vhc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).setSecretToken(this.onePickSecretToken).build()}this.drivePicker.setVisible(!0)};QX.\u0275fac=function(a){return new (a||QX)(A(tu),A(ZZb))};
QX.\u0275cmp=r({type:QX,selectors:[["b-drive-attachment"]],inputs:{disabled:"disabled"},outputs:{onPickDoc:"onPickDoc",onCloneBlob:"onCloneBlob"},decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","matTooltip","Add Drive attachments","aria-label","Add Drive attachments",3,"disabled","click"],["svgIcon","google-drive"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"button",1),K("click",function(){return b.showDialog()}),F(2,"mat-icon",2),E()());a&2&&(z(1),C("disabled",
b.disabled))},dependencies:[NA,OB,qD],encapsulation:2});var RX=function(a,b,c){Z.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new vw;this.el=a.nativeElement;this.cloneEl=this.el.cloneNode();this.cloneEl.removeAttribute("id");this.cloneEl.removeAttribute("name");this.cloneEl.removeAttribute("aria-label");this.cloneEl.setAttribute("aria-hidden","");this.cloneEl.removeAttribute("data-stable");this.cloneEl.setAttribute("data-cloned-for-auto-resize","");this.cloneEl.style.height="auto";this.cloneEl.style.visibility="hidden";this.cloneEl.style.position=
"absolute";this.cloneEl.style.left="0";this.cloneEl.style.top="0";this.cloneEl.style.zIndex="-9999";this.cloneEl.style.overflowY="hidden";this.window.document.body.appendChild(this.cloneEl)};X(RX,Z);RX.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&Zjc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){Zjc(a,2)}))};RX.prototype.onInput=function(){Zjc(this,1)};
var Zjc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=m("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=mp(d.getPropertyValue("border-top-width"))+mp(d.getPropertyValue("padding-top"))+c.scrollHeight+mp(d.getPropertyValue("padding-bottom"))+mp(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=mp(d.getPropertyValue("max-height")),d=mp(d.getPropertyValue("min-height")),!Number.isNaN(e)&&c>e&&(c=e),!Number.isNaN(d)&&c<d&&(c=d),d=c+"px",a.el.style.height!==d&&(a.el.style.height=d,a.onAutoResize.emit({newHeight:c,source:b})))};RX.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Z.prototype.ngOnDestroy.call(this)};RX.\u0275fac=function(a){return new (a||RX)(A(Yd),A(SE),A(yM))};
RX.\u0275dir=r({type:RX,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&K("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[$f]});var $jc=["textarea"],akc=["hiddenInput"],bkc=["autocompleteUnderlay"],ckc=Symbol(),SX=function(a,b,c){Z.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new vw;this.focus=new vw;this.blur=new vw;this.autoResize=new vw;this.manualResize$=new vw;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};X(SX,Z);SX.\u0275dir=Z.\u0275dir;SX.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?rr(a).classList.add("codefont"):rr(a).classList.remove("codefont")}))};SX.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};SX.prototype.setValue=function(a){rr(this).value!==a&&(rr(this).value=a,this.manualResize$.next())};
SX.prototype.getValue=function(){return rr(this).value};var rr=function(a){return a.textareaRef.nativeElement},sr=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},zWa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},dkc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},ekc=function(a){var b=rr(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
SX.prototype.findWord=function(a,b){var c=a.slice(0,b).search(/(?!(.*\s))/);b+=a.slice(b).search(/(\s|$)/);return{wordStart:c,wordEnd:b,word:a.slice(c,b)}};
var fkc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},gkc=function(a){var b=dkc(a);a=rr(a);b&&a&&(b.scrollTop=a.scrollTop)},AWa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},BWa=function(a,b){b=void 0===b?!1:b;var c=rr(a),d=rr(a).value,e,f=null==(e=sr(a))?void 0:e.value;e=null==f?void 0:f.length;ekc(a);var h=d.slice(0,a.textAreaLastAtSymbolLocation+1);d=a.wordInfo.word.slice(1)===f?d.slice(a.textAreaLastAtSymbolLocation+
f.length+1):d.slice(a.textAreaLastCursorLocation);e&&(a.textAreaLastCursorLocation=h.length+e);b?(b=h+f+" "+d,a.textAreaLastCursorLocation+=1):b=h+f+d;c.value=b};SX.prototype[ckc]=function(){return this.findWord};SX.\u0275fac=function(a){return new (a||SX)(A(FI),A(tu),A(SE))};
SX.\u0275cmp=r({type:SX,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(Sg($jc,7),Sg(akc,5),Sg(bkc,5));if(a&2){var c;Rg(c=Ug())&&(b.textareaRef=c.first);Rg(c=Ug())&&(b.hiddenInputRef=c.first);Rg(c=Ug())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&K("click",function(){AWa(b)},!1,oea)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(AWa(b),rr(b).focus())},!1,oea)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[$f],decls:7,vars:11,consts:[[1,"pos-rel","comment-box-container",3,"keydown"],["commentBoxContainer",""],["aria-label","Comment box - add your comment","cdkFocusInitial","",3,"autoResize","ngClass","disabled","input","focus","blur","onAutoResize","keydown","keyup","scroll"],["textarea",""],[1,"autocomplete-input-container"],
["type","text","bContactAutocomplete","SINGLE","class","autocomplete-hidden-input","tabIndex","-1","aria-hidden","true",3,"value","change","keyup",4,"ngIf"],["class","autocomplete-underlay","contentEditable","true",4,"ngIf"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"value","change","keyup"],["hiddenInput",""],["contentEditable","true",1,"autocomplete-underlay"],["autocompleteUnderlay",""]],template:function(a,b){a&1&&(D(0,
"div",0,1),K("keydown",function(c){"Escape"===c.key&&(AWa(b),rr(b).focus())}),D(2,"textarea",2,3),K("input",function(){b.contentChange.emit(b.getValue())})("focus",function(c){return b.focus.emit(c)})("blur",function(c){return b.blur.emit(c)})("onAutoResize",function(c){return b.autoResize.emit(c)})("keydown",function(c){if(zWa(b)&&fkc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=sr(b))||d.focus();d=c.code;var e=c.key,f=c.keyCode,h=c.which;c=new KeyboardEvent("keydown",{charCode:c.charCode,
metaKey:c.metaKey,type:c.type,code:"Enter"===e?"Tab":d,key:"Enter"===e?"Tab":e,keyCode:"Enter"===e?9:f,which:"Enter"===e?9:h});var l;null==(l=sr(b))||l.dispatchEvent(c)}})("keyup",function(c){if(zWa(b)){var d=rr(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!fkc(c)){c=c.target;b.scrollPosition=c.scrollTop;ekc(b);var f=b.wordInfo.word;d="@"===f;e=f.startsWith("@");var h=f.slice(f.length-
1).match(/[a-z]/i);f=Kwa.test(f.slice(1));if(d||e&&h&&!f){c=c.selectionStart;if(!b.taggingInProgress){if(d=dkc(b)){d.textContent=b.getValue();e=dkc(b);h=rr(b);f="height width font-family margin line-height padding border".split(" ");if(e&&h){h=b.window.getComputedStyle(h);f=m(f);for(var l=f.next();!l.done;l=f.next()){l=l.value;var q=h.getPropertyValue(l);e.style.setProperty(l,q)}}gkc(b)}d=null==d?void 0:d.firstChild;e=null==d?void 0:d.textContent;d&&e&&c&&(e=new Range,e.setStart(d,c),e.setEnd(d,c),
c=document.createElement("span"),e.deleteContents(),e.insertNode(c),d=c.getBoundingClientRect(),b.autocompleteTop=d.top,b.autocompleteLeft=d.left,c.remove())}b.taggingInProgress=!0}else b.taggingInProgress=!1;if(b.taggingInProgress){b.autocompleteUserName=b.wordInfo.word.slice(1);var u;null==(u=sr(b))||u.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return gkc(b)}),E(),D(4,"span",4),O(5,CWa,2,1,"input",5),E(),O(6,DWa,2,0,"div",6),E());a&2&&(z(2),C("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),dg("placeholder",b.placeholder)("id",b.idForAriaLabel),z(2),og("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),z(1),C("ngIf",b.taggingInProgress),z(1),C("ngIf",zWa(b)))},dependencies:[$w,bx,EW,RX],encapsulation:2,changeDetection:0});var hkc=function(a){return{"draft-markdown":a}},TX=function(a,b,c){Z.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};X(TX,Z);TX.\u0275dir=Z.\u0275dir;TX.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
TX.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};TX.\u0275fac=function(a){return new (a||TX)(A(HH,2),A(Yd),A(uG))};
TX.\u0275cmp=r({type:TX,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&Sg(XM,7);if(a&2){var c;Rg(c=Ug())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Dg([HH]),$f],decls:5,vars:5,consts:[[1,"small","no-border",3,"dynamicHeight","selectedIndex","animationDone","selectedIndexChange"],["label","Edit"],[4,"ngTemplateOutlet"],["label","Preview",3,"disabled"]],template:function(a,b){a&1&&(D(0,"mat-tab-group",
0),K("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),D(1,"mat-tab",1),O(2,EWa,1,0,"ng-container",2),E(),D(3,"mat-tab",3),O(4,FWa,1,0,"ng-container",2),E()());a&2&&(C("dynamicHeight",!1)("selectedIndex",b.selectedIndex),z(2),C("ngTemplateOutlet",b.editArea),z(1),C("disabled",b.previewDisabled),z(1),C("ngTemplateOutlet",b.previewArea))},dependencies:[gx,XM,WM],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}\n/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var UX=function(a,b,c,d){Z.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(B(function(e){return e===QRb}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new vw;this.contentChange=new vw;this.focus=new vw;this.blur=new vw;this.autoResize=new vw;this.onSubmit=new vw};X(UX,Z);UX.\u0275dir=Z.\u0275dir;
UX.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
UX.prototype.ngAfterViewInit=function(){this.init.emit(this);this.init.complete();this.commentDraftTextarea&&(this.commentDraftTextarea.setValue(this.content),this.subscriptions.add(this.commentDraftTextarea.contentChange.subscribe(this.contentChange)),this.subscriptions.add(this.commentDraftTextarea.focus.subscribe(this.focus)),this.subscriptions.add(this.commentDraftTextarea.blur.subscribe(this.blur)),this.subscriptions.add(this.commentDraftTextarea.autoResize.subscribe(this.autoResize)))};
var ikc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&rr(a.commentDraftTextarea).focus()})};UX.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};UX.\u0275fac=function(a){return new (a||UX)(A(FI),A(Yf),A(CI),A(vO))};
UX.\u0275cmp=r({type:UX,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(Sg(SX,5),Sg(TX,5));if(a&2){var c;Rg(c=Ug())&&(b.commentDraftTextarea=c.first);Rg(c=Ug())&&(b.commentDraftTabGroup=c.first)}},inputs:{content:"content",textareaClass:"textareaClass",disabled:"disabled",placeholder:"placeholder",audience:"audience",idForAriaLabel:"idForAriaLabel"},outputs:{init:"init",contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize",onSubmit:"onSubmit"},features:[$f,
md],decls:2,vars:10,consts:[[3,"textareaClass","ngClass","disabled","placeholder","idForAriaLabel","audience","autoResize","keydown.control.enter","keydown.meta.enter"]],template:function(a,b){a&1&&(D(0,"b-comment-draft-textarea",0),K("autoResize",function(c){return b.synchronizeHeight(c)})("keydown.control.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()})("keydown.meta.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()}),R(1,"async"),E());a&2&&C("textareaClass",b.textareaClass)("ngClass",
Gg(8,hkc,S(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[$w,SX,hx],styles:["body   [_nghost-%COMP%]     textarea{resize:none;border-color:var(--text-secondary)}body   [_nghost-%COMP%]     textarea, body   [_nghost-%COMP%]     .autocomplete-underlay{max-height:40vh;min-height:130px;margin:0;width:100%;display:block;margin-bottom:8px}body   [_nghost-%COMP%]     .comment-box-container:focus-within textarea:not(:focus){padding:4px 1px 1px 7px;border:2px solid;border-color:#1a73e8;border-color:var(--primary)}body   [_nghost-%COMP%]     .autocomplete-underlay{width:100%;height:100%;position:absolute;top:0;left:0;z-index:-2;box-sizing:border-box;visibility:hidden;overflow-y:scroll;white-space:pre-line;pointer-events:none}body   [_nghost-%COMP%]     .autocomplete-input-container{position:fixed;z-index:-1;pointer-events:none}body   [_nghost-%COMP%]     .autocomplete-hidden-input{position:fixed}body   [_nghost-%COMP%]     .autocomplete-input-container .autocomplete-hidden-input{height:18px !important;line-height:18px !important;border:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}body   [_nghost-%COMP%]     .autocomplete-input-container .autocomplete-hidden-input:focus{outline:none !important;border:0 !important;padding:0 !important}body   [_nghost-%COMP%]     textarea.codefont, body   [_nghost-%COMP%]     .draft-markdown textarea{font-family:WorkAroundWebKitAndMozilla,monospace}.good[_nghost-%COMP%]     textarea:focus{border-color:#34a853;border-color:var(--good)}.warn[_nghost-%COMP%]     textarea:focus{border-color:#fcc934;border-color:var(--warn)}.bad[_nghost-%COMP%]     textarea:focus{border-color:#ea4335;border-color:var(--bad)}\n/*# sourceMappingURL=comment_draft.css.map */"],
changeDetection:0});var VX=function(){};VX.\u0275fac=function(a){return new (a||VX)};VX.\u0275mod=fd({type:VX});VX.\u0275inj=Qc({imports:[BM,px,FW,ay,fA,II,AM,FM,aN,rD,BD,lE]});var jkc=["commentBoxContainer"],kkc=[[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],lkc=function(a){return{focused:a}},WX=function(a,b,c,d,e){this.analytics=a;this.hotkeys=b;this.appEvents=d;this.currentTracker=e;this.MARKDOWN="MARKDOWN";this.commentChange=new vw;this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.onChange=new vw;this.onFocusEvent=new vw;this.onSubmit=new vw;this.onRestrict=new vw;this.focused=
!1;this.commentRebound$=new T.ReplaySubject(1);this.destroyed$=new T.ReplaySubject(1);this.createRestrictedResourcesComponentWhitelist=c.session.config.createRestrictedSubresourcesComponentWhitelist};g=WX.prototype;g.ngOnDestroy=function(){var a;null==(a=this.comment)||f_b(a);this.destroyed$.next()};g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(Rf(this.destroyed$)).subscribe(function(b){Xqb(a,b)});this.appEvents.scrollToCommentBox.pipe(Rf(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};
g.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};g.getRestrictedLabel=function(){var a,b,c=null!=(b=null==(a=this.judgementForNewContent)?void 0:a.getSeverity())?b:1;return $na(gk(c))};g.isRestricted=function(){var a,b;return 1!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.getSeverity())?b:1)};var Xqb=function(a,b){(b=void 0===b?"":b)&&Lp(a.analytics,"commentBox","takeFocus",b);a.scrollIntoView();var c;null==(c=a.commentDraftComponent)||ikc(c)};
WX.prototype.scrollIntoView=function(){var a;null==(a=this.commentBoxContainer)||a.nativeElement.scrollIntoView({behavior:"smooth"})};WX.prototype.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};WX.prototype.onBlur=function(){this.focused=!1};WX.prototype.onKeydown=function(a){this.hotkeys.isEnabled()&&("Enter"!==a.key||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a.shiftKey))};WX.\u0275fac=function(a){return new (a||WX)(A(LH),A(vO),A(tu),A(uG),A(qN))};
WX.\u0275cmp=r({type:WX,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(Sg(UX,5),Sg(jkc,5),Sg(tX,5));if(a&2){var c;Rg(c=Ug())&&(b.commentDraftComponent=c.first);Rg(c=Ug())&&(b.commentBoxContainer=c.first);Rg(c=Ug())&&(b.attachmentUploader=c.first)}},inputs:{issueId:"issueId",comment:"comment",supportsPreview:"supportsPreview",componentId:"componentId",placeholder:"placeholder",judgementForNewContent:"judgementForNewContent",audience:"audience",disabled:"disabled",showToolbar:"showToolbar",
idForAriaLabel:"idForAriaLabel",attachmentsDisabled:"attachmentsDisabled",showRestrictionOptions:"showRestrictionOptions"},outputs:{commentChange:"commentChange",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},features:[md],ngContentSelectors:["[recaptchaContainer]","[additionalToolbarItems]"],decls:8,vars:12,consts:[[1,"bv2-comment-box-container",3,"ngClass"],["commentBoxContainer",""],[1,"bv2-comment-textarea-wrapper"],[3,"content","placeholder","disabled",
"textareaClass","audience","idForAriaLabel","contentChange","focus","blur","keydown","paste"],[3,"uploads","onUploadCancel"],["class","bv2-comment-toolbar",4,"ngIf"],[4,"ngIf"],[1,"bv2-comment-toolbar"],[3,"disabled","onSelect"],[3,"disabled","onPickDoc","onCloneBlob",4,"ngIf"],["class","goog-inline-block vertical-centered restriction-button",4,"ngIf"],[3,"disabled","onPickDoc","onCloneBlob"],[1,"goog-inline-block","vertical-centered","restriction-button"],[4,"ngIf","ngIfElse"],["restrictedFlatButton",
""],["mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"disabled","click"],["svgIcon","restricted"],["mat-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",1,"button-with-text",3,"click"],[3,"comment","issueId","audience","formattingMode"]],template:function(a,b){a&1&&(wg(kkc),D(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),K("contentChange",function(c){if(b.comment){var d=
b.comment.value;b.comment.value=c;c!==d&&b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit())}})("focus",function(){return b.onFocus()})("blur",function(){return b.onBlur()})("keydown",function(c){return b.onKeydown(c)})("paste",function(c){if(c&&null!=c.clipboardData){var d=c.clipboardData;for(var e=!1,f=!1,h=0,l=0;l<d.types.length;l++)"text/plain"===d.types[l]?e=!0:"Files"===d.types[l]&&(f=!0,h=l);f&&d.items&&d.files?(f=d.files[0],h=d.items[h].type.replace(/^.*[/]/,""),e?(d=d.getData("text/plain"),
d=d.replace(/^.*[\\\/]/,"")):d=(new Date).toString()+"."+h,d={file:f,filename:d}):d=void 0;d&&(c.preventDefault(),c=new File([d.file],d.filename,{type:d.file.type}),c=b.attachmentUploader.upload(c),b.comment&&b.comment.uploads.push(c))}}),E()(),D(4,"b-attachment-uploader",4),K("onUploadCancel",function(c){b.comment&&Ma(b.comment.uploads,c)}),E(),xg(5),O(6,KWa,6,5,"div",5),E(),O(7,LWa,2,4,"div",6));a&2&&(C("ngClass",Gg(10,lkc,b.focused)),z(3),C("content",b.comment.value)("placeholder",b.placeholder)("disabled",
b.disabled)("textareaClass",b.disabled?"bv2-disabled":"")("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),z(1),C("uploads",b.comment.uploads),z(2),C("ngIf",b.showToolbar),z(1),C("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[$w,bx,UX,qD,IL,QX,pX,tX,NA,OB,hx],encapsulation:2});var mkc=["captchaContainer"],XX=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new vw;this.destroyed$=new T.ReplaySubject(1)};XX.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(Rf(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
XX.prototype.ngAfterViewInit=function(){var a=this;this.onUpdate.emit("");var b;null==(b=this.window.recaptchaAsync)||b.then(function(c){var d=a.darkmodeService.clientDarkmodeSubject.getValue();a.widgetId=c.render(a.captchaContainer.nativeElement,{sitekey:"6Ley9F4iAAAAAIwZf9W4ujzph90roM2zldPodcjv",callback:function(e){a.ngZone.run(function(){a.onUpdate.emit(e);Lp(a.analytics,Mp.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");Lp(a.analytics,Mp.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};XX.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};XX.prototype.reset=function(){var a=this;if(void 0!==this.widgetId){var b;null==(b=this.window.recaptchaAsync)||b.then(function(c){c.reset(a.widgetId)})}};XX.\u0275fac=function(a){return new (a||XX)(A(Yf),A(SE),A(uR),A(uG),A(LH))};
XX.\u0275cmp=r({type:XX,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&Sg(mkc,5);if(a&2){var c;Rg(c=Ug())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&F(0,"div",null,0)},encapsulation:2});var nkc=["dialog"],YX=function(a,b,c,d){Z.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new vw;this.close=new vw;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=okc;this.enableRecaptcha=Qp(this.activeSession,"enableRecaptcha")&&Qp(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new IJ;var e;this.comment.formattingMode=jm(null==(e=DI(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=$Sb};X(YX,Z);YX.\u0275dir=Z.\u0275dir;
YX.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new bhc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&MWa(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});XA(this.matDialogRef).pipe(Rf(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};YX.\u0275fac=function(a){return new (a||YX)(A(bB),A(tu),A(vO),A(CI))};
YX.\u0275cmp=r({type:YX,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&Sg(nkc,5);if(a&2){var c;Rg(c=Ug())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[$f],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["mat-dialog-title",""],["mat-dialog-content",""],["class","bv2-modal-form",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-dialog-actions",""],["type","button","mat-button","",1,"gmat-button",
"medium",3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close","disabled"],[1,"bv2-modal-form"],["type","button","mat-button","",1,"gmat-button","medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["statusMenu",""],["mat-menu-item","","type","button",3,"disabled","click"],["mat-menu-item","","type","button",3,"disabled","click",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],
["class","bv2-modal-text-field",4,"ngSwitchDefault"],["placeholder","Add a comment (optional)",3,"comment","showToolbar","onSubmit"],[1,"float-clear"],["class","bv2-external-component-modal-warning",4,"ngIf"],[1,"bv2-modal-text-field"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip",4,"ngSwitchCase"],
[1,"bv2-multiple-user-chip"],["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"ngModel","bContactAutocomplete","ngModelChange"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModel","required","bContactAutocomplete","ngModelChange"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModel","ngModelChange"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x",
"justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&O(0,bXa,14,5,"ng-template",null,0,$g)},dependencies:[ax,bx,cx,dx,ex,cB,dB,eB,fB,ML,Mx,yh,Ex,Fx,Wx,Lx,Jx,NA,nO,iD,gD,hD,EW,WX,XX],encapsulation:2});var okc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var ZX=function(a,b,c,d){this.documentationLinks=a;this.userAccess=b;this.errorHandler=c;this.data=d;this.issuesToFlag=[];this.issuesChecked=0;this.protectedIssues=[];this.permissionsCheckComplete=!1;this.issuesToFlag=d.issuesToFlag};ZX.prototype.ngOnInit=function(){pkc(this,this.issuesToFlag)};
var pkc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:aG(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);pkc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};ZX.\u0275fac=function(a){return new (a||ZX)(A(hJ),A($F),A(qG),A(aB))};
ZX.\u0275cmp=r({type:ZX,selectors:[["b-bulk-flag-as-spam-dialog"]],decls:19,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-bulk-flag-as-spam-prompt"],["target","_blank",1,"keep-underline",3,"href"],[1,"bv2-bulk-flag-as-spam-warning"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",1,"gmat-button","medium"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",3,"disabled","mat-dialog-close"],[4,"ngFor","ngForOf"]],
template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Flag Issues as Spam"),E(),D(2,"div",1)(3,"div",2)(4,"p"),P(5),D(6,"a",3),P(7,"see here"),E(),P(8,". "),E(),D(9,"p"),P(10," This operation cannot be undone in bulk. "),E()(),D(11,"div",4),O(12,fXa,3,2,"div",5),O(13,hXa,5,2,"div",5),E()(),D(14,"div",6)(15,"button",7),P(16," Close "),E(),D(17,"button",8),P(18," Flag as Spam "),E()());a&2&&(z(5),Q(" Flagging these ",b.issuesToFlag.length," issues as spam will cause them to drop out of regular search results, and they will be deleted after 30 days. For more information on remediating spam at scale, "),
z(1),C("href",wZb(b.documentationLinks),ue),z(6),C("ngIf",!b.permissionsCheckComplete),z(1),C("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),z(4),C("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[ax,bx,NA,cB,dB,eB,fB],encapsulation:2});var $X=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};$X.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};$X.prototype.save=function(){this.dialogRef.close(this.component)};$X.prototype.cancel=function(){this.dialogRef.close()};$X.\u0275fac=function(a){return new (a||$X)(A(HH,2),A(ZA))};
$X.\u0275cmp=r({type:$X,selectors:[["b-bulk-move-dialog"]],features:[Dg([HH])],decls:13,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-bulk-move-warning"],[3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Change Component"),E(),D(2,"mat-dialog-content")(3,"p"),P(4,"Choose new component for these issues."),E(),D(5,"p",1),P(6,
" Warning: If these issues have custom fields, their values will be lost if you move the issues outside the component subtree that defines those custom fields. "),E(),D(7,"b-team-component-picker",2),K("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),E()(),D(8,"mat-dialog-actions")(9,"button",3),K("click",function(){return b.cancel()}),P(10," Cancel "),E(),D(11,"button",4),K("click",function(){return b.save()}),P(12," Save "),E()());a&2&&(z(7),C("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),z(4),C("disabled",null==b.component))},dependencies:[NA,dB,eB,fB,VW],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var aY=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};aY.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};aY.prototype.close=function(){this.dialogRef.close()};aY.\u0275fac=function(a){return new (a||aY)(A(aB),A(ZA))};
aY.\u0275cmp=r({type:aY,selectors:[["b-edit-item-modal"]],decls:20,vars:6,consts:[["mat-dialog-title",""],[1,"bv2-modal-form"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,"mat-dialog-content")(3,"p"),P(4),E(),D(5,"div",1)(6,"mat-form-field")(7,"mat-label"),P(8),E(),D(9,"input",2),K("ngModelChange",function(c){return b.addItems=c}),E()(),
F(10,"br"),D(11,"mat-form-field")(12,"mat-label"),P(13),E(),D(14,"input",2),K("ngModelChange",function(c){return b.removeItems=c}),E()()()(),D(15,"mat-dialog-actions")(16,"button",3),K("click",function(){return b.close()}),P(17," Cancel "),E(),D(18,"button",4),K("click",function(){return b.save()}),P(19," Save "),E()());a&2&&(z(1),Q("Edit ",b.fieldDisplayName,""),z(3),Q("Enter ",b.fieldDisplayName," to add or remove"),z(4),Q(" ",b.fieldDisplayName," to Add "),z(1),C("ngModel",b.addItems),z(4),Q(" ",
b.fieldDisplayName," to Remove "),z(1),C("ngModel",b.removeItems))},dependencies:[yh,Ex,Lx,NA,qB,oB,tB,dB,eB,fB],encapsulation:2});var qkc=["hotlistFilterInput"],rkc=["hotlistCreate"],skc=["hotlistApply"],tkc=["hotlistLoad"],ukc=["menuitem"],bY=function(a,b,c,d,e,f){Z.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=f;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new vw;this.onApply=new vw;this.onLoad=new vw;this.hotlistEditAcls={};this.validHotlistIds=new Set;this.pendingChanges=this.canLoad=this.canCreate=!1;this.oldSelectedHotlistMap=
{};this.selectedHotlistMap={};this.shouldShowHotlist={};this.filterText="";this.focusedRowIndex=-1;this.isAnonymous=this.activeSession.isAnonymous()};X(bY,Z);bY.\u0275dir=Z.\u0275dir;bY.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(Rf(this.destroyed$)).subscribe(function(){(0,T.timer)(0).pipe(Rf(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(Rf(this.destroyed$)).subscribe(function(){vkc(a)})};
bY.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};bY.prototype.ngOnChanges=function(){wkc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;cY(this)};
var wkc=function(a){var b={};aca(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=m(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=m(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=m(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=m(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=m(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Xa(a.choices,function(h,l){var q=b[h.hotlistId],u=b[l.hotlistId];return q>u?-1:q<u?1:Or(h.name,l.name)})}}};bY.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};bY.prototype.close=function(){this.trigger.closeMenu()};
bY.prototype.hasAclToEdit=function(a){var b=this;if(Yba(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];aG(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var iXa=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},wr=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;pXa(a);a.close()},pXa=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},cY=function(a){for(var b=a.filterText,c=!1,d=m(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=za(e.name,b),e.name===b&&(c=!0);a.canCreate=
!(!b||c);a.canLoad=!/[^0-9]/.test(xj(b))&&!!b&&!!a.onLoad},vkc=function(a){a.trigger.menuOpen||(wkc(a),a.filterText="",cY(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},xkc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+laa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
bY.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",cY(this),this.onCreate.emit({name:b,successCallback:function(c){wr(a,c)},errorCallback:function(){oG(a.butterBar,"Failed to create hotlist "+b)}}))};
bY.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){Lp(this.analytics,"hotlistPicker","loadHotlist");nG(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";cY(this);for(var c=sj(b),d=m(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){wr(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){wr(a,f)},errorCallback:function(){oG(a.butterBar,"Failed to load hotlist "+b)}})}};
var jXa=function(a,b){iXa(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!mj(a.oldSelectedHotlistMap,a.selectedHotlistMap))},Dkc=function(a,b){b=void 0===b?0:b;var c=dY(a).filter(function(e,f){return f>a.focusedRowIndex&&a.shouldShowHotlist[Number(e.id.substring(13))]}),d=a.choices.length;c.length?(b=b>=c.length?c[c.length-1]:c[b],a.focusedRowIndex=Ga(dY(a),b),ykc(a),zkc(a,b)):a.focusedRowIndex<d&&a.canCreate?Akc(a,d):a.focusedRowIndex<
d+1&&a.canLoad?Bkc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&Ckc(a,d)},dY=function(a){return a.menuItems.map(function(b){return b.nativeElement})},Ekc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)Akc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)Bkc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)Akc(a,a.choices.length);else{var c=dY(a).filter(function(d,e){return e<a.focusedRowIndex&&a.shouldShowHotlist[Number(d.id.substring(13))]});
c.length?(b=b>=c.length?c[0]:c[c.length-b-1],a.focusedRowIndex=Ga(dY(a),b),ykc(a),zkc(a,b)):(a.focusedRowIndex=-1,zkc(a,null))}},zkc=function(a,b){a.filterElement&&uO(a.filterElement.nativeElement,b);a.focusFilterBox()},Akc=function(a,b){a.focusedRowIndex=b;uO(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},Bkc=function(a,b){a.focusedRowIndex=b+1;uO(a.filterElement.nativeElement,null);var c;
null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},Ckc=function(a,b){a.focusedRowIndex=b+2;uO(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},ykc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=dY(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},kXa=function(a){return null==
a?"mixed":a.toString()},lXa=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};bY.\u0275fac=function(a){return new (a||bY)(A(mz),A(mG),A($F),A(LH),A(tu),A(HH,2))};
bY.\u0275cmp=r({type:bY,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(Sg(hD,5),Sg(qkc,5),Sg(rkc,5),Sg(skc,5),Sg(tkc,5),Sg(ukc,5));if(a&2){var c;Rg(c=Ug())&&(b.trigger=c.first);Rg(c=Ug())&&(b.filterElement=c.first);Rg(c=Ug())&&(b.createElement=c.first);Rg(c=Ug())&&(b.applyElement=c.first);Rg(c=Ug())&&(b.loadElement=c.first);Rg(c=Ug())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Dg([HH]),$f,md],decls:13,vars:4,consts:[["mat-button","","id","hotlist-picker-button","aria-describedby","hotlist-picker-label-text",1,"gmat-button","medium","primary",3,"matMenuTriggerFor","disabled"],["id","hotlist-picker-label-text"],["name","arrow-dropdown","size","small"],["hotlistMenu","matMenu"],[1,"menu"],[1,"menu-control"],[1,"hotlist-filter"],["mat-input","","type","text","id","hotlist-filter-input","maxlength","255","role","combobox","aria-autocomplete","list",
"aria-expanded","true","placeholder","Type to filter your starred hotlists","autocomplete","off",3,"ngModel","ngModelChange","mousedown","blur","click","keydown"],["hotlistFilterInput",""],["matMenuContent",""],["role","listbox",1,"multi-edit-scrollarea"],["hotlistChoices",""],["class","multi-edit-menuitem","role","option",3,"display","focused","title","click",4,"ngFor","ngForOf"],["mat-menu-item","","matTooltip","Type a new name to create a hotlist","matTooltipPosition","right","title","Type a new hotlist name above and then click here to create a new hotlist.",
1,"hotlist-create",3,"disabled","click","keydown.enter"],["hotlistCreate",""],[4,"ngIf"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused","click","keydown.enter",4,"ngIf"],["mat-menu-item","","class","hotlist-apply","id","hotlist-apply","aria-label","apply",3,"focused","click","keydown.enter",4,"ngIf"],["role","option",1,"multi-edit-menuitem",3,"title","click"],["menuitem",""],["role","checkbox",3,"state","disabled","click"],
["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"click","keydown.enter"],["hotlistLoad",""],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"click","keydown.enter"],["hotlistApply",""]],template:function(a,b){a&1&&(D(0,"button",0)(1,"span",1),P(2),E(),F(3,"b-icon",2),E(),D(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),K("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return cY(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return vkc(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(Dkc(b),d.preventDefault()):"ArrowUp"===d.key?(Ekc(b),d.preventDefault()):"PageUp"===d.key?Ekc(b,11):"PageDown"===d.key?Dkc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(jXa(b,b.choices[b.focusedRowIndex]),d.preventDefault()):
"Enter"===d.key&&(b.focusedRowIndex===b.choices.length?b.createHotlist():b.focusedRowIndex===b.choices.length+1?b.loadHotlist():b.pendingChanges?(b.close(),pXa(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&wr(b,b.choices[b.focusedRowIndex]))}),E()()(),F(11,"mat-divider"),O(12,rXa,11,8,"ng-template",9),E()());if(a&2){var c=N(5);C("matMenuTriggerFor",c)("disabled",b.isAnonymous);z(2);Bg(xkc(b));z(7);C("ngModel",b.filterText)}},dependencies:[ax,
bx,iD,gD,hD,fD,NA,yh,Ex,Xx,Lx,rA,qD,WQ,nO],styles:[".menu[_ngcontent-%COMP%]{max-height:400px;width:280px;overflow-x:hidden;overflow-y:hidden}.menu-control[_ngcontent-%COMP%]{line-height:19px;padding:0 6px}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]{padding:8px 0}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:29px;line-height:16px;padding-left:9px;vertical-align:top;width:100%;box-sizing:border-box;border-radius:4px;border:1px solid #dadce0}.multi-edit-scrollarea[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:246px;overflow-y:scroll;overflow-x:hidden}.multi-edit-scrollarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]{border-width:0;line-height:19px;margin:0 6px;padding:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem.focused[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.mat-menu-item.focused[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg);border:0}\n/*# sourceMappingURL=hotlist_picker.css.map */"]});var eY=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};eY.prototype.cancel=function(){this.dialogRef.close()};eY.prototype.save=function(){this.dialogRef.close(this.reporter)};eY.\u0275fac=function(a){return new (a||eY)(A(ZA))};
eY.\u0275cmp=r({type:eY,selectors:[["b-reporter-picker-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["matInput","",3,"bContactAutocomplete","ngModel","ngModelChange","autocompleteActive","keydown"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Change Reporter"),E(),D(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),P(5," Reporter "),E(),D(6,"input",1),K("ngModelChange",function(c){return b.reporter=
c})("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){"Enter"===c.key&&!b.autocompleteActive&&""!==b.reporter&&b.save()}),E()()(),D(7,"mat-dialog-actions")(8,"button",2),K("click",function(){return b.cancel()}),P(9," Cancel "),E(),D(10,"button",3),K("click",function(){return b.save()}),P(11," Save "),E()());a&2&&(z(6),C("bContactAutocomplete","SINGLE")("ngModel",b.reporter),z(4),C("disabled",""===b.reporter))},dependencies:[yh,Ex,Lx,NA,dB,eB,fB,qB,oB,tB,EW],encapsulation:2});var Fkc=["addCommentDialog"],fY=function(a,b,c,d,e,f,h,l,q,u,x,y){Z.call(this);this.cdr=a;this.activeSession=b;this.analytics=c;this.hotkeys=d;this.constants=e;this.componentActions=f;this.issueTypeDialog=h;this.copyIssueIdService=l;this.matDialog=q;this.$log=u;this.issuePicker=x;this.userPreferencesManager=y;this.currentUserEmail=this.activeSession.getUserEmail();this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new vw;this.onCreateHotlist=new vw;this.onLoadHotlist=new vw;this.externalWarnings=
[];this.enableRecaptcha=Qp(this.activeSession,"enableRecaptcha")&&Qp(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};X(fY,Z);var Gkc=function(a){var b=new IJ,c;b.formattingMode=jm(null==(c=DI(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};fY.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};
var Hkc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},sXa=function(a){return Hkc(a)?"Mark as read":"Mark as unread"},xr=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};fY.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=m(a),c=b.next();!c.done;c=b.next()){var d=void 0;null!=(d=c.value).hotlistId||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges()};
var Ikc=function(a){if(!RE(a.activeSession)){a.externalWarnings=[];var b=new Set(a.getSelectedIssues().map(function(e){return e.componentId})),c={};b=m(b);for(var d=b.next();!d.done;c={$jscomp$loop$prop$id$2198:c.$jscomp$loop$prop$id$2198},d=b.next())c.$jscomp$loop$prop$id$2198=d.value,a.componentActions.get(c.$jscomp$loop$prop$id$2198).then(function(e){if(a.activeSession.isInternalSession()&&ur(e)||$Rb(a.activeSession)&&vr(e)){var f,h=dXa(null==(f=e.componentPathInfo)?void 0:f.componentPathName,
e.componentId);a.externalWarnings.push({path:h,accessLevel:e.accessLimit.accessLevel});a.cdr.detectChanges()}}).catch(function(e){return function(){a.$log.warn("Could not retrieve component "+e.$jscomp$loop$prop$id$2198+".")}}(c))}};
fY.prototype.bulkEdit=function(a){switch(a){case "ASSIGNEE":gY(this,null,0);break;case "COMPONENT":Jkc(this);break;case "VERIFIER":gY(this,null,1);break;case "REPORTER":Kkc(this);break;case "CHANGELIST":hY(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":Lkc(this);break;case "FOUND_IN":hY(this,"foundInVersion","Found In");break;case "VERIFIED_IN":hY(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":hY(this,"targetedToVersion","Targeted To");break;case "COMMENT":Mkc(this);
break;case "CC":hY(this,"ccs","CCs");break;default:this.$log.error("unsupported bulk edit field: "+a)}};
fY.prototype.quickBulkEdit=function(a){switch(a.field){case "PRIORITY":(a=a.newValue)&&iY(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&iY(this,"severity",a);break;case "STATUS":(a=fra(this.constants.protoIssueStatusesEnumStrings.get(a.newValue)))&&gY(this,ln[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=this.constants.protoIssueTypesEnumStrings.get(a.newValue))&&iY(this,"type",a);break;case "IS_ARCHIVED":iY(this,"isArchived",""+a.newValue);break;case "IN_PROD":iY(this,"inProd",""+
a.newValue);break;case "CC":iY(this,"ccs",this.currentUserEmail,a.newValue?"ADD":"REMOVE");break;default:this.$log.error("unsupported bulk edit field: "+a.field)}};
fY.prototype.bulkEditIssueRelation=function(a){switch(a.issueRelation){case "BLOCKED_BY":a.isMarking?jY(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):jY(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?jY(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):
jY(this,{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?jY(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):jY(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":gY(this,ln.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};fY.prototype.bulkMarkIssueRead=function(){var a=Hkc(this);iY(this,"readState",a?"true":"")};
var iY=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var f=xr(a),h=[e];"deletionReason"===b&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var l={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&""!==a.recaptchaResponse&&(l.recaptchaToken=a.recaptchaResponse);a.onSave.emit(l)};"type"!==b||"VULNERABILITY"!==c&&"PRIVACY_ISSUE"!==c?d():("VULNERABILITY"===c&&lJ(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&lJ(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},gY=function(a,b,c){a.hasSelectedIssues()&&(Ikc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},Nkc=function(a){var b=a.onSave,c=b.emit,d=xr(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||MWa(e);e=m(aXa(e));for(var h=e.next();!h.done;h=e.next()){var l=m(h.value);h=l.next().value;l=l.next().value;void 0!==l&&f.push({fieldName:h,value:l})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},Kkc=
function(a){a.hasSelectedIssues()&&(Ikc(a),XA(a.matDialog.open(eY,{width:"400px"})).pipe(Rf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&iY(a,"reporter",b)}),a.hotkeys.pause())},hY=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(XA(a.matDialog.open(aY,{width:"400px",data:{fieldDisplayName:c}})).pipe(Rf(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&Okc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},Okc=function(a,b,c,d,e){e=void 0===e?!1:e;c=mm(c);d=
mm(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),l=function(q){return yj(q,h).map(function(u){return u.trim()})};nm(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,p(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));nm(d)||(d=l(d),f.push.apply(f,p(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:xr(a),actions:f}]})},Jkc=function(a){a.hasSelectedIssues()&&
(XA(a.matDialog.open($X,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Rf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:xr(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),Lp(a.analytics,a.controllerName,"bulkMove"))}),a.hotkeys.pause())},Pkc=function(a){a.hasSelectedIssues()&&(XA(a.matDialog.open(ZX,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(Rf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();
b&&(Lp(a.analytics,a.controllerName,"bulkFlagAsSpam"),iY(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},Mkc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=Gkc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,{panelClass:"no-jitter",minWidth:512,maxWidth:512}),XA(a.addCommentDialogRef).pipe(Rf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&i_b(a.comment)&&iY(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),
Ikc(a))},zXa=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},Lkc=function(a){a.hasSelectedIssues()&&XA(a.matDialog.open(lU,{data:a.getSelectedIssues(),width:"500px"})).pipe(Rf(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),Lp(a.analytics,a.controllerName,"bulkCustomField"))})};
fY.prototype.handleHotlistPickerSave=function(a){var b=a.oldSelectionMap,c=[],d=[],e=0;Object.entries(a.newSelectionMap).forEach(function(f){var h=m(f);f=h.next().value;h=h.next().value;h!==b[f]&&(h?c.push(f):d.push(f),e++)});a=[];c.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:c.join(",")});d.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:d.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:xr(this),actions:a}]}),Lp(this.analytics,this.controllerName,"applyHotlists",
"numHotlists",e))};var jY=function(a,b){var c=b.actionType,d=b.fieldName;a.issuePicker.open({title:b.title,edgeType:b.edgeType,originIsBulk:!0},function(e){a.hotkeys.unpause();0!==e.length&&(e=e[0],a.onSave.emit({bulkEditOps:[{issueIds:xr(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};fY.\u0275fac=function(a){return new (a||fY)(A(HH),A(tu),A(LH),A(vO),A(sJ),A($U),A(kJ),A(PU),A(bB),A(pG),A(ON),A(CI))};
fY.\u0275dir=r({type:fY,viewQuery:function(a,b){a&1&&(Sg(Fkc,5),Sg(bY,5),Sg(YX,5));if(a&2){var c;Rg(c=Ug())&&(b.addCommentDialog=c.first);Rg(c=Ug())&&(b.hotlistPicker=c.first);Rg(c=Ug())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[$f]});var kY=function(){};kY.\u0275fac=function(a){return new (a||kY)};kY.\u0275mod=fd({type:kY});kY.\u0275inj=Qc({providers:[{provide:Mhc,useFactory:function(){return new Jhc}}]});var lY=function(){};lY.\u0275fac=function(a){return new (a||lY)};lY.\u0275mod=fd({type:lY});lY.\u0275inj=Qc({imports:[px,kY]});var mY=function(){};mY.\u0275fac=function(a){return new (a||mY)};mY.\u0275mod=fd({type:mY});mY.\u0275inj=Qc({providers:[{provide:Lhc,useFactory:rX}],imports:[px,BD,rD,lE,lY,gK]});var nY=function(){};nY.\u0275fac=function(a){return new (a||nY)};nY.\u0275mod=fd({type:nY});nY.\u0275inj=Qc({imports:[px,VX,KP,lE,yP,bN,mY,BD,rD]});var oY=function(){};oY.\u0275fac=function(a){return new (a||oY)};oY.\u0275mod=fd({type:oY});oY.\u0275inj=Qc({});var pY=function(){};pY.\u0275fac=function(a){return new (a||pY)};pY.\u0275mod=fd({type:pY});pY.\u0275inj=Qc({imports:[px,gB,gN,ay,BD,KP,jD,FW,nY,oY]});var qY=function(){};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275mod=fd({type:qY});qY.\u0275inj=Qc({imports:[px,jD,BD,uB,ay,uA,lE,XQ,eU,KP]});var rY=function(a,b,c,d,e,f,h,l,q,u,x,y){fY.call(this,a,b,c,d,e,f,h,l,q,u,x,y);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=Qp(this.activeSession,"enableBulkEditUi");this.controllerName="dashboardControls"};X(rY,fY);rY.\u0275dir=fY.\u0275dir;rY.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
rY.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Wa(a,null,function(b){return b.issueId.toString()});return a};rY.\u0275fac=function(a){return new (a||rY)(A(HH,2),A(tu),A(LH),A(vO),A(sJ),A($U),A(kJ),A(PU),A(bB),A(pG),A(ON),A(CI))};
rY.\u0275cmp=r({type:rY,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Dg([HH]),$f,md],decls:7,vars:5,consts:[[3,"readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[1,"bv2-appbar-menu",3,"showFlagIssuesAsSpam","flagAsSpamClicked"],[3,
"externalWarnings","save","close"],["addCommentDialog",""],[3,"readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange","onSubmit",4,"ngIf"],["class","bv2-external-component-modal-warning",
4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(O(0,tXa,1,1,"b-app-bar-bulk-edit-menus",0),O(1,
xXa,1,2,"b-copy-issue-id-button",1),O(2,yXa,2,2,"div",2),D(3,"b-app-bar-more-menu",3),K("flagAsSpamClicked",function(){return Pkc(b)}),E(),D(4,"b-state-modal",4),K("save",function(){return Nkc(b)})("close",function(){return b.hotkeys.unpause()}),E(),O(5,EXa,11,6,"ng-template",null,5,$g));a&2&&(C("ngIf",b.hasSelectedIssues()),z(1),C("ngIf",b.hasSelectedIssues()),z(1),C("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),C("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),z(1),
C("externalWarnings",b.externalWarnings))},dependencies:[mS,lS,WX,ax,bx,ML,MU,bY,NA,cB,dB,eB,fB,YX,XX],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var sY=function(){};sY.\u0275fac=function(a){return new (a||sY)};sY.\u0275mod=fd({type:sY});sY.\u0275inj=Qc({imports:[oS,yP,nY,px,gN,OU,qY,KP,BD,gB,pY,oY]});var tY=function(a,b){this.index=a;this.editableTemplate=this.template=null;this.name=b.name||"(unnamed template)";this.issueType="--";b.snapshot?this.template=b:(this.editableTemplate=b,this.issueType=this.editableTemplate.type)},Qkc=function(a,b){this.cellType=b;this.enumFields=null;this.id=a.customFieldId;this.name=a.name;this.type=a.type;if("ENUM"===this.type||"REPEATED_ENUM"===this.type)this.enumFields=(a.allowedValue||[]).map(function(c){return{displayText:c,value:c}});["REPEATED_TEXT","REPEATED_DATE",
"REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},uY=function(a,b){this.dirty=!1;var c=b.snapshot||{};this.customFields=a;this.new=null==b.templateId;this.name=b.name||"";this.description=b.description||"";this.type=c.type||"--";this.priority=c.priority||"--";this.severity=c.severity||"--";this.assignee=Kj(c.assigneeUser)||"";this.verifier=Kj(c.verifierUser)||"";this.collaborators=Ij(c.collaboratorsUsers)||[];this.cc=Ij(c.ccUsers)||[];this.title=c.title||"";this.comment=c.comment||"";this.formattingMode=
c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=m(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=new Bj(b);a=m(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=m(b.value),b=c.next().value,c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=
null!=c.typedDefaultValue?new Bj(c.typedDefaultValue):new Bj({customFieldId:b}))},Skc=function(a,b,c,d){b.name=a.name;b.description=a.description;var e=b.snapshot||{};Rkc(a.type)?delete e.type:e.type=a.type;Rkc(a.priority)?delete e.priority:e.priority=a.priority;Rkc(a.severity)?delete e.severity:e.severity=a.severity;e.assigneeUser=Oj(a.assignee);e.verifierUser=Oj(a.verifier);d&&(e.collaboratorsUsers=a.collaborators.map(function(f){return Oj(f)}));e.ccUsers=a.cc.map(function(f){return Oj(f)});e.comment=
a.comment;e.formattingMode=a.formattingMode;e.title=a.title;e.hotlistId=a.hotlistId;e.inProd=a.inProd;e.customField=[];c&&(e.issueAccessLimitLevel=a.issueAccessLimitLevel);c=m(Object.keys(a.customFields));for(d=c.next();!d.done;d=c.next())(d=a.customFieldValues[d.value])&&!d.isEmpty()&&e.customField.push(d);b.snapshot=e};
uY.prototype.setCustomField=function(a,b){a=String(a);if(this.customFieldValues[a]){var c=this.customFields[a].type;if(!c)return;switch(c){case "UNKNOWN":break;case "TEXT":this.customFieldValues[a].textValue=b;break;case "DATE":this.customFieldValues[a].dateValue=b;break;case "ENUM":this.customFieldValues[a].enumValue=b;break;case "NUMERIC":this.customFieldValues[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldValues[a].repeatedTextValue={values:b||[]};break;case "REPEATED_DATE":this.customFieldValues[a].repeatedDateValue=
{values:b||[]};break;case "REPEATED_ENUM":this.customFieldValues[a].repeatedEnumValue={values:b||[]};break;case "REPEATED_NUMERIC":this.customFieldValues[a].repeatedNumericValue={values:b||[]};break;default:Qi(c,"Unexpected custom field type: "+c)}}this.dirty=!0};uY.prototype.isDirty=function(){return this.dirty};uY.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};uY.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var Rkc=function(a){return nm(a)||"--"===a},dYa=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},oYa=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},Tkc={value:"--",displayText:"--"};var Ukc=new xB("M/d/yyyy"),vY=function(a){this.dateFormatter=a;this.boundValueChange=new vw;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};vY.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=tj(this.boundValue);else{var b;a=null!=(b=kj(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
vY.prototype.change=function(a,b){b=void 0===b?!1:b;var c=this.googDate;if((c&&a?!c.equals(a):c||a)&&!b){this.googDate=a;if(a)if("string"===typeof this.boundValue)a=Ukc.format(a);else{var d;a=null!=(d=Gna(Ukc.format(a)))?d:void 0}else a="string"===typeof this.boundValue?"":void 0;this.boundValue=a;this.boundValueChange.emit(this.boundValue);this.textValue=this.googDate?this.dateFormatter.formatUserCalendar(this.googDate):""}};vY.\u0275fac=function(a){return new (a||vY)(A(tJ))};
vY.\u0275cmp=r({type:vY,selectors:[["bv2-input-date-picker"]],inputs:{boundValue:"boundValue",inputId:["bv2Id","inputId"],ariaLabelledBy:["bv2AriaLabelledby","ariaLabelledBy"],isRequired:"isRequired"},outputs:{boundValueChange:"boundValueChange"},decls:1,vars:4,consts:[[3,"required","value","customFormId","customAriaLabelledBy","valueChange"]],template:function(a,b){a&1&&(D(0,"b-date-time-input",0),K("valueChange",function(c){return b.change(c)}),E());a&2&&C("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[dU],encapsulation:2});var Vkc={CREATE_COMPONENT:"components/new",CREATE_ISSUE:"issues/new",DASHBOARD:function(a){return"dashboard/"+a},EDIT_COMPONENT:function(a){return"components/"+a+"/edit"},EDIT_ISSUE:function(a){return"issues/"+a},LIST_COMPONENTS:"components",LIST_ISSUES:"issues",NEEDS_ATTENTION:"attention",CREATE_BOOKMARK_GROUP:"bookmark-groups/new",VIEW_BOOKMARK_GROUP:function(a){return"bookmark-groups/"+a},VIEW_COMPONENT:function(a){return"components/"+a},VIEW_HOTLIST:function(a){return"hotlists/"+a},EDIT_HOTLIST:function(a){return"hotlists/"+
a+"/edit"},CREATE_HOTLIST:"hotlists/new",LIST_HOTLISTS:"hotlists",CREATE_SLO:"slos/new",VIEW_SLO:function(a){return"slos/"+a},EDIT_SLO:function(a){return"slos/"+a+"/edit"},LIST_SLOS:"slos",VIEW_SAVEDSEARCH:function(a){return"savedsearches/"+a},EDIT_BOOKMARK_GROUP:function(a){return"bookmark-groups/"+a+"/edit"},MANAGE_COMPONENT:function(a){return"components/"+a+"/manage"},MANAGE_COMPONENT_ACL:function(a){return"components/"+a+"/manage#access"},EDIT_SAVED_SEARCH:function(a){return"savedsearches/"+a+
"/edit"},SETTINGS:"settings"},Wkc=new Ud("routes",{providedIn:"root",factory:function(){return Vkc}}),wY=function(a){this.routes=a};g=wY.prototype;g.createIssue=function(a){return yr(this.routes.CREATE_ISSUE,{params:a})};g.editIssue=function(a,b){return zr(this.routes.EDIT_ISSUE(a),{id:a,params:b})};g.listIssues=function(a){return yr(this.routes.LIST_ISSUES,{params:a})};g.viewSavedSearch=function(a){return zr(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
g.viewHotlist=function(a){return zr(this.routes.VIEW_HOTLIST(a),{id:a})};g.editHotlist=function(a){return yr(this.routes.EDIT_HOTLIST(a),{id:a,tab:void 0})};g.createHotlist=function(){return this.routes.CREATE_HOTLIST};g.createBookmarkGroup=function(){return this.routes.CREATE_BOOKMARK_GROUP};g.viewBookmarkGroup=function(a){return zr(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};g.editBookmarkGroup=function(a){return yr(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
g.editSavedSearch=function(a){return yr(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};g.dashboard=function(a){return yr(this.routes.DASHBOARD(a),{id:a})};g.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=FXa(c);return FC("action/issues/csv","q",a,"s",b,"c",c,"h",d)};g.hotlistIssuesCsvAction=function(a,b,c,d){a="action/hotlists/"+a+"/issues/csv";b=this.toApiSortParamValue(b);(c=FXa(c))&&(c="position,"+c);return FC(a,"s",b,"c",c,"h",d)};
g.toApiSortParamValue=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null};g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return yr(this.routes.LIST_COMPONENTS,{params:void 0})};g.viewComponent=function(a,b){return zr(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};g.manageComponent=function(a,b){return zr(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
g.createComponent=function(a){return yr(this.routes.CREATE_COMPONENT,{params:a})};g.editComponent=function(a,b){return yr(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};g.createSlo=function(){return yr(this.routes.CREATE_SLO,{params:void 0})};g.editSlo=function(a){return yr(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};g.listSlos=function(){return yr(this.routes.LIST_SLOS,{params:void 0})};g.listHotlists=function(){return this.routes.LIST_HOTLISTS};wY.\u0275fac=function(a){return new (a||wY)(n(Wkc))};
wY.\u0275prov=Pc({token:wY,factory:wY.\u0275fac,providedIn:"root"});var xY=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new vw};xY.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};xY.\u0275fac=function(a){return new (a||xY)(A(wY))};
xY.\u0275cmp=r({type:xY,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible","click",4,"ngIf"],["card","onedevHovercard"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&O(0,HXa,9,11,"ng-container",0);a&2&&C("ngIf",b.hotlist)},dependencies:[bx,XI,bJ,aT,OB,NA],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}.chip.muted[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);color:#5f6368;color:var(--text-muted)}.chip[_ngcontent-%COMP%]{background-color:#e4f7fb;background-color:var(--hotlist-chip-bg);border-radius:10px;display:inline-flex;align-items:center;height:20px;font-size:.75rem;font-weight:normal;padding:0 10px}.chip[_ngcontent-%COMP%]   .mat-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:50%}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]});var JXa={accessLevel:"LIMIT_NONE",title:"Default access",description:"Issue access is determined by the component settings",icon:"acl-alias-domain"},IXa=[JXa,{accessLevel:"LIMIT_APPEND",title:"Limited commenting",description:"Only user added to issue may edit issue or comment",icon:"comments_disabled_24px"},{accessLevel:"LIMIT_VIEW",title:"Limited visibility",description:"Only user added to issue may edit or view issue",icon:"visibility-off"},{accessLevel:"LIMIT_VIEW_TRUSTED",title:"Limited visibility + Google",
description:"Only user added to issue and Googler may edit or view issue",icon:"visibility-off"}];var yY=function(){Z.apply(this,arguments);var a=this;this.defaultAccessLimitLevel$=new T.ReplaySubject(1);this.disabled=!0;this.updatedAccessLimitLevel=new vw;this.selectedDisplay$=new T.BehaviorSubject(null);this.displays=IXa;this.disabledDropdownTooltip="Only users with permissions can adjust restriction levels";this.currentIssueAccessLimitLevelDisplay$=(0,T.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(B(function(b){b=m(b);var c=b.next().value;b=b.next().value;if(c)return c;
c=m(a.displays);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b)return d;return JXa}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(B(function(b){return b.title}))};X(yY,Z);yY.\u0275dir=Z.\u0275dir;Ei.Object.defineProperties(yY.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});yY.\u0275fac=function(){var a;return function(b){return(a||(a=Od(yY)))(b||yY)}}();
yY.\u0275cmp=r({type:yY,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[$f],decls:12,vars:7,consts:[[1,"access-limits-dropdown"],["mat-button","","mat-stroked-button","","dropdown-menu-button","","type","button",1,"access-limits-dropdown-button","gmat-button","small",3,"matMenuTriggerFor","disabled"],[1,"selected-access-limit-level-title"],["svgIcon",
"acl-alias-domain",1,"icon-s"],[1,"selected-access-limit-level-title-text"],["name","arrow-dropdown","size","small"],["svgIcon","help-outline","class","icon-s valign-middle","tabindex","0","aria-hidden","false",3,"matTooltip",4,"ngIf"],[1,"access-limit-level-options"],["accessLimitsMenu","matMenu"],["mat-menu-item","","class","access-limit-level-option",3,"click",4,"ngFor","ngForOf"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle",3,"matTooltip"],["mat-menu-item",
"",1,"access-limit-level-option",3,"click"],[1,"access-limit-level-title"],[1,"icon-s",3,"svgIcon"],[1,"access-limit-level-title-text"],[1,"access-limit-level-description"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"button",1)(2,"span",2),F(3,"mat-icon",3),D(4,"span",4),P(5),R(6,"async"),E()(),F(7,"b-icon",5),E(),O(8,LXa,1,1,"mat-icon",6),D(9,"mat-menu",7,8),O(11,MXa,7,3,"div",9),E()());if(a&2){var c=N(10);z(1);C("matMenuTriggerFor",c)("disabled",b.disabled);z(4);Q(" ",S(6,5,b.issueAccessLimitLevelDisplayTitle$),
" ");z(3);C("ngIf",b.disabled);z(3);C("ngForOf",b.displays)}},dependencies:[ax,bx,NA,OB,iD,gD,hD,qD,nO,hx],styles:[".mat-menu-item[_ngcontent-%COMP%]{height:50px;line-height:20px}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:2px}.access-limits-dropdown[_ngcontent-%COMP%]{padding:5px 0px}.access-limits-dropdown[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}.access-limits-dropdown-button[_ngcontent-%COMP%]:disabled{background-color:var(--disabled-bg);color:var(--text-disabled)}.access-limit-level-option[_ngcontent-%COMP%]{padding:10px 0px}.access-limit-level-option[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.access-limit-level-title[_ngcontent-%COMP%]{padding:0px 10px;white-space:nowrap}.access-limit-level-title[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}.access-limit-level-description[_ngcontent-%COMP%]{padding:0px 35px;color:#5f6368;color:var(--text-muted);white-space:normal}.selected-access-limit-level-title[_ngcontent-%COMP%]{color:#202124;color:var(--text-default);font-size:small}"]});var Xkc=["input"],Ykc=0,Zkc=function(a,b){this.source=a;this.value=b},$kc=new Ud("MatRadioGroup"),alc=new Ud("mat-radio-default-options",{providedIn:"root",factory:NXa}),zY=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+Ykc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new vw};g=zY.prototype;
g._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)};g.ngAfterContentInit=function(){this._isInitialized=!0};g._touch=function(){if(this.onTouched)this.onTouched()};g._updateRadioButtonNames=function(){var a=this;this._radios&&this._radios.forEach(function(b){b.name=a.name;b._markForCheck()})};
g._updateSelectedRadioFromValue=function(){var a=this,b=null!==this._selected&&this._selected.value===this._value;this._radios&&!b&&(this._selected=null,this._radios.forEach(function(c){c.checked=a.value===c.value;c.checked&&(a._selected=c)}))};g._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new Zkc(this._selected,this._value))};g._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(a){return a._markForCheck()})};g.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};
g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetector.markForCheck()};
Ei.Object.defineProperties(zY.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._updateRadioButtonNames()}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition},set:function(a){this._labelPosition="before"===a?"before":"after";this._markRadiosForCheck()}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value!==a&&(this._value=a,this._updateSelectedRadioFromValue(),
this._checkSelectedRadioButton())}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this.value=(this._selected=a)?a.value:null;this._checkSelectedRadioButton()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Kh(a);this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Kh(a);this._markRadiosForCheck()}}});
zY.\u0275fac=function(a){return new (a||zY)(A(Vw))};zY.\u0275dir=r({type:zY,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});
var blc=Gi(Ii(function(a){this._elementRef=a})),AY=function(a,b,c,d,e,f,h,l){b=blc.call(this,b)||this;b._changeDetector=c;b._focusMonitor=d;b._radioDispatcher=e;b._providerOverride=h;b._uniqueId="mat-radio-"+ ++Ykc;b.id=b._uniqueId;b.change=new vw;b._checked=!1;b._value=null;b._removeUniqueSelectionListener=function(){};b.radioGroup=a;b._noopAnimations="NoopAnimations"===f;l&&(b.tabIndex=Nh(l,0));return b};X(AY,blc);g=AY.prototype;
g.focus=function(a,b){b?my(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._markForCheck=function(){this._changeDetector.markForCheck()};g.ngOnInit=function(){var a=this;if(this.radioGroup){if(this.checked=this.radioGroup.value===this._value)this.radioGroup.selected=this;this.name=this.radioGroup.name}this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(b,c){b!==a.id&&c===a.name&&(a.checked=!1)})};g.ngDoCheck=function(){this._updateTabIndex()};
g.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};g._emitChangeEvent=function(){this.change.emit(new Zkc(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onInputClick=function(a){a.stopPropagation()};
g._onInputInteraction=function(a){a.stopPropagation();this.checked||this.disabled||(a=this.radioGroup&&this.value!==this.radioGroup.value,this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),a&&this.radioGroup._emitChangeEvent()))};g._onTouchTargetClick=function(a){this._onInputInteraction(a);this.disabled||this._inputElement.nativeElement.focus()};g._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
g._updateTabIndex=function(){var a=this.radioGroup;a=a&&a.selected&&!this.disabled?a.selected===this?this.tabIndex:-1:this.tabIndex;if(a!==this._previousTabIndex){var b,c=null==(b=this._inputElement)?void 0:b.nativeElement;c&&(c.setAttribute("tabindex",a+""),this._previousTabIndex=a)}};
Ei.Object.defineProperties(AY.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Kh(a);this._checked!==a&&((this._checked=a)&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!a&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),a&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},
set:function(a){this._value!==a&&(this._value=a,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===a),this.checked&&(this.radioGroup.selected=this)))}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(a){this._labelPosition=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(a){this._setDisabled(Kh(a))}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=Kh(a)}},color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(a){this._color=a}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});AY.\u0275fac=function(){be()};
AY.\u0275dir=r({type:AY,viewQuery:function(a,b){a&1&&Sg(Xkc,5);if(a&2){var c;Rg(c=Ug())&&(b._inputElement=c.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[$f]});var clc=function(a){return{enterDuration:a}},dlc={provide:rx,useExisting:Nc(function(){return BY}),multi:!0},BY=function(){zY.apply(this,arguments)};X(BY,zY);BY.\u0275fac=function(){var a;return function(b){return(a||(a=Od(BY)))(b||BY)}}();
BY.\u0275dir=r({type:BY,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&Tg(c,CY,5);if(a&2){var d;Rg(d=Ug())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Dg([dlc,{provide:$kc,useExisting:BY}]),$f]});var CY=function(a,b,c,d,e,f,h,l){return AY.call(this,a,b,c,d,e,f,h,l)||this};X(CY,AY);CY.\u0275dir=AY.\u0275dir;CY.\u0275fac=function(a){return new (a||CY)(A($kc,8),A(Yd),A(Vw),A(ly),A(Oz),A(Ov,8),A(alc,8),Id("tabindex"))};
CY.\u0275cmp=r({type:CY,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(a,b){a&1&&K("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(dg("tabindex",null)("id",b.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),pg("mat-radio-checked",b.checked)("mat-radio-disabled",b.disabled)("_mat-animation-noopable",b._noopAnimations)("mat-primary","primary"===b.color)("mat-accent","accent"===b.color)("mat-warn","warn"===
b.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[$f],ngContentSelectors:["*"],decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered",
"matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(a,b){a&1&&(wg(),D(0,"label",0,1)(2,"span",2),F(3,"span",3)(4,"span",4),D(5,"input",5,6),K("change",function(d){return b._onInputInteraction(d)})("click",function(d){return b._onInputClick(d)}),E(),D(7,"span",7),F(8,"span",8),E()(),D(9,"span",9)(10,"span",10),P(11,"\u00a0"),E(),xg(12),E()());if(a&2){var c=N(1);dg("for",b.inputId);z(5);
C("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required);dg("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);C("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Gg(17,clc,b._noopAnimations?0:150));z(2);pg("mat-radio-label-before","before"==b.labelPosition)}},dependencies:[qA],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n'],
encapsulation:2,changeDetection:0});var elc=["saveBeforeClosingDialog"],flc=["deleteDialog"],iYa=function(){return[]},DY=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J){Z.call(this);this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=f;this.paths=h;this.butterBar=l;this.analytics=q;this.issueTypeDialog=u;this.componentActions=x;this.documentationLinks=y;this.appEvents=G;this.activeSession=J;this.defaultIndex=-1;this.componentId=0;this.supportCustomFields=!1;this.templates=[];this.customFieldRows=
[];this.currentTemplateRow=this.currentTemplate=null;this.currentIndex=-1;this.templateRows=[];this.afterSaveCheckFunc=null;this.hotlists=[];this.selectedHotlists=[];this.hotlistMap={};this.selectedHotlistIds=[[]];this.templateHotlistIds=[];this.hotlistPickerIndex=0;this.enableIssueAccessLimits=Qp(this.activeSession,"enableIssueAccessLimits");this.enableCollaborators=Qp(this.activeSession,"enableCollaborators");this.FieldType=tgc;this.customFieldIds=Object.create(null);this.issueTypeChoices=glc(this);
this.priorityChoices=hlc(this);this.severityChoices=ilc(this)};X(DY,Z);DY.\u0275dir=Z.\u0275dir;g=DY.prototype;
g.ngOnInit=function(){var a=this,b=function(){a.fetchUserHotlists()};this.fetchUserHotlists();this.enableIssueAccessLimits||(this.enableIssueAccessLimits=this.activeSession.session.config.issueAccessLimitsComponentAllowlist.has(this.componentId));this.enableCollaborators||(this.enableCollaborators=this.activeSession.session.config.collaboratorsComponentAllowlist.has(this.componentId));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));
this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(b));Promise.all([this.loadCustomFields(),this.loadTemplates()]).finally(function(){jlc(a);a.cdr.detectChanges()})};g.updateSelectedHotlists=function(){var a=this,b=this.templateHotlistIds[this.hotlistPickerIndex];this.selectedHotlistIds=b?[b]:[[]];this.selectedHotlists=this.hotlists.filter(function(c){return a.selectedHotlistIds[0].includes(c.hotlistId)});Xa(this.selectedHotlists,function(c,d){return Or(c.name,d.name)})};
g.removeHotlist=function(a){Ma(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;Lp(this.analytics,"editTemplate","createHotlist");nG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){nG(b.butterBar,"Hotlist "+c+" created successfully.");b.addHotlist(e);b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.handleHotlistPickerSave=function(a){var b=this,c=a.oldSelectionMap;ec(a.newSelectionMap,function(d,e){e=sj(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],Ia(d,e)||d.push(e)):!d&&f&&Ma(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
g.loadHotlist=function(a){var b=this,c=a.successCallback,d=a.errorCallback;this.hotlistApi.get(a.hotlistId).then(function(e){b.addHotlist(e);c(e);b.cdr.detectChanges()}).catch(d)};g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Ma(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var glc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:Ym(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[Tkc].concat(b)};DY.prototype.getDateValue=function(a){return a};DY.prototype.getListFieldType=function(a){return a};
var lYa=function(a){var b,c,d,e;return(null==(b=a.repeatedTextValue)?void 0:b.values)||(null==(c=a.repeatedDateValue)?void 0:c.values)||(null==(d=a.repeatedEnumValue)?void 0:d.values)||(null==(e=a.repeatedNumericValue)?void 0:e.values)||null},ZXa=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?lJ(a.issueTypeDialog,"VULNERABILITY"===a.currentTemplateRow.issueType?"VULNERABILITY":"PRIVACY_ISSUE",function(){a.currentTemplate.type=a.currentTemplateRow.issueType;
a.currentTemplate.dirty=!0},function(){a.currentTemplateRow.issueType=a.currentTemplate.type}):(a.currentTemplate.type=a.currentTemplateRow.issueType,a.currentTemplate.dirty=!0)},hlc=function(a){return[Tkc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},ilc=function(a){return[Tkc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};DY.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var qYa=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;EY(a)},RXa=function(a,b){var c=a.currentIndex;klc(a,function(){b.index===c?qYa(a):a.openEditor(b.index)})},llc=function(a){a.templateHotlistIds.push([]);klc(a,function(){a.openEditor()})},TXa=function(a,b){return 0<=b.index&&b.index===a.currentIndex},pYa=function(a){if(!a.currentTemplate)return Promise.resolve();if(0>a.currentIndex){var b="creating";var c={componentId:a.componentId,default:!1};var d=function(l){nG(a.butterBar,
l.name?'Template "'+l.name+'" created.':"Template created.");Lp(a.analytics,"template","create");mlc(a,"create",l.snapshot);a.templates.push(l);a.openEditor(a.templates.length-1)}}else{b="updating";var e=a.currentIndex;c=a.templates[e];d=function(l){nG(a.butterBar,l.name?'Template "'+l.name+'" updated.':"Template updated.");Lp(a.analytics,"template","update");mlc(a,"update",l.snapshot);a.templates[e]=l;qYa(a)}}a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];Skc(a.currentTemplate,
c,a.enableIssueAccessLimits,a.enableCollaborators);nG(a.butterBar,"Saving template...");var f=c.componentId,h=c.templateId;return(h&&"0"!==String(h)?a.templatesApi.update(f,h,c):a.templatesApi.create(f,c)).then(function(l){a.appEvents.templateModified.next(String(a.componentId));d(l);a.cdr.detectChanges()}).catch(function(l){l=Dn(l);oG(a.butterBar,l?"Error "+b+" template: "+l:"There was an error "+b+" the template.",0)})},SXa=function(a,b){XA(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(Rf(a.destroyed$)).subscribe(function(c){c&&
nlc(a,b)})},nlc=function(a,b){var c=b.index;Ka(a.templateHotlistIds,c);b=a.templates[c];0>c||b.default?Promise.resolve():(nG(a.butterBar,"Deleting..."),a.templatesApi.delete(b.componentId,b.templateId).then(function(){a.appEvents.templateModified.next(String(a.componentId));nG(a.butterBar,"Deleted template");Lp(a.analytics,"template","delete");a.templates.splice(c,1);a.currentIndex===c?qYa(a):EY(a);a.cdr.detectChanges()}).catch(function(){oG(a.butterBar,"Error while deleting template")}))},plc=function(a,
b){b?pYa(a).then(function(){olc(a);a.cdr.detectChanges()}):olc(a)},UXa=function(a,b){var c;b=(null==(c=b.template)?void 0:c.templateId)||0;c={};c=a.paths.createIssue((c.component=a.componentId?String(a.componentId):void 0,c.template=String(b),c));return a.paths.getBaseUrl()+"/"+c};
DY.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=qlc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();EY(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else rlc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=qlc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
EY(b);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var rlc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},klc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,slc(a)):b()},mlc=function(a,b,c){a.enableIssueAccessLimits&&c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&Lp(a.analytics,Mp.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},slc=function(a){XA(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(Rf(a.destroyed$)).subscribe(function(b){void 0!==
b&&plc(a,b)})},olc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},qlc=function(a,b){return new uY(a.customFieldIds,b)};
DY.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){b=m(b.componentPathInfo.allCustomField||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.enabledOnIssues)return;a.customFieldIds[c.customFieldId.toString()]=c;a.customFieldRows.push(new Qkc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){oG(a.butterBar,"Unable to load custom fields")}):
Promise.resolve()};DY.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=m(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.cdr.detectChanges()}).catch(function(){oG(a.butterBar,"Unable to load templates")})};
var jlc=function(a){EY(a);a.defaultIndex=a.templates.findIndex(function(b){return b.default})},EY=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,f){return new tY(f,e)}),a.currentTemplate&&(a.currentTemplateRow=new tY(-1,a.currentTemplate),a.templateRows.push(a.currentTemplateRow)),a.hotlistPickerIndex=a.templates.length;else{var b=a.currentIndex,c=[];var d=a.templates.slice(0,b+1);c=c.concat(d.map(function(e,f){return new tY(f,e)}));a.currentTemplate&&(a.currentTemplateRow=
new tY(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,f){return new tY(b+f+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},tlc=function(a,b,c){return rlc(a,b).then(function(d){c(d);return a.templatesApi.update(d.componentId,d.templateId,d)}).then(function(d){a.appEvents.templateModified.next(String(a.componentId));return d})},QXa=function(a,b){if(a.defaultIndex!==b){a.defaultIndex=b;var c="(no template)";0<=b&&(b=a.templates[b],
c=b.name,nm(mm(c))&&(c="(unnamed template)"),b.default||(b=tlc(a,b,function(d){d.default=!0}),nG(a.butterBar,"Changing default template..."),b.then(function(){nG(a.butterBar,"Changed default template to "+c)},function(d){oG(a.butterBar,"Error while changing default message"+(Cn(d)?": "+Dn(d):"."))}),Lp(a.analytics,"template","changeDefault")))}};DY.\u0275fac=function(a){return new (a||DY)(A(bB),A(HH,2),A(tH),A(SF),A(oH),A(sJ),A(cH),A(mG),A(LH),A(kJ),A($U),A(hJ),A(uG),A(tu))};
DY.\u0275cmp=r({type:DY,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(Sg(elc,5),Sg(flc,5));if(a&2){var c;Rg(c=Ug())&&(b.saveBeforeClosingDialog=c.first);Rg(c=Ug())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Dg([HH]),$f],decls:21,vars:2,consts:[[1,"component-banner","template-help-banner"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"templates-list"],[1,"template-column-tool"],[4,"ngFor",
"ngForOf"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],["deleteDialog",""],["saveBeforeClosingDialog",""],[4,"ngIf"],["colspan","4",4,"ngIf"],["tabindex","-1",1,"template-row-name"],[1,"template-row-new-issue-link"],["tabindex","0",1,"keep-focus-ring",3,"href"],[3,"id","checked","aria-label","value","change"],["format","hairline",3,"bAriaLabel","onAction"],["format","hairline",3,"bAriaLabel","disabled","onAction"],["colspan","4"],[1,"template-edit-pane",
"template-editor-within-table"],["class","form-header",4,"ngIf"],[1,"cell-1"],[1,"template-label"],["for","template-name"],["id","template-name","type","text",1,"template-field",3,"ngModel","ngModelChange"],["for","template-description"],["id","template-description","type","text",1,"template-field",3,"ngModel","ngModelChange"],"role;region;tabindex;0;aria-label;Standard issue fields".split(";"),["class","cell-1",4,"ngIf"],["for","template-title"],["id","template-title","type","text",1,"template-field",
3,"ngModel","ngModelChange"],[1,"cell-3"],["for","template-default-type"],["id","template-default-type","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["typeMenu",""],["mat-menu-item","",3,"disabled","matTooltip","click",4,"ngFor","ngForOf"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],
["priorityMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["severityMenu",""],[1,"cell-1","bv2-edit-template-hotlists"],["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],
[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","type","text",1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-verifier"],["id","template-verifier","type","text",1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-cc"],["id","template-cc","type","text",1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-comment"],["id","template-comment",1,"template-field",
3,"ngModel","ngModelChange"],[3,"initialValue","change"],["for","template-in-prod"],["id","template-in-prod","aria-label","issue in prod",3,"model","modelChange"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class",4,"ngFor","ngForOf"],[1,"buttons-row"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"onAction"],[1,"form-header"],["for","template-issue-access-limits-dropdown"],["id","template-issue-access-limits-dropdown",3,"disabled","defaultAccessLimitLevel",
"updatedAccessLimitLevel"],["mat-menu-item","",3,"disabled","matTooltip","click"],["mat-menu-item","",3,"disabled","click"],[1,"bv2-hotlist-chips"],[3,"hotlist","removeHotlist"],["for","template-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions","svgIcon","help-outline",1,"icon-xs","valign-middle","margin-xs-left"],["id","template-collaborators","type","text",1,"template-field",3,"bContactAutocomplete",
"ngModel","ngModelChange"],[3,"for"],[3,"ngSwitch"],["class","template-field","type","text",3,"ngModel","ngModelChange",4,"ngSwitchCase"],["class","template-field","type","number","step","any",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[3,"type","name","clearable","value","choices","valueChange",4,"ngSwitchCase"],[3,"boundValue","boundValueChange",4,"ngSwitchCase"],[3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange",4,"ngSwitchDefault"],["type","text",1,"template-field",
3,"ngModel","ngModelChange"],["type","number","step","any",1,"template-field",3,"ngModel","ngModelChange"],[3,"type","name","clearable","value","choices","valueChange"],[3,"boundValue","boundValueChange"],[3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"mat-dialog-close"],["color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close"],
["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["cdkFocusInitial","","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close"]],template:function(a,b){a&1&&(D(0,"div")(1,"div",0),P(2," A template is a set of default values for new issues created in this component. "),D(3,"a",1),P(4,"Learn more"),E()(),D(5,"table",2)(6,"tr")(7,"th"),P(8,"TEMPLATE"),E(),D(9,"th",3),P(10,"DEFAULT"),E(),F(11,"th",3)(12,"th",3),E(),O(13,sYa,3,2,"tr",4),E(),D(14,"div",
5)(15,"b-button",6),K("onAction",function(){return llc(b)}),P(16," Create New "),E()(),O(17,tYa,7,3,"ng-template",null,7,$g),O(19,uYa,9,4,"ng-template",null,8,$g),E());a&2&&(z(3),C("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",ue),z(10),C("ngForOf",b.templateRows))},dependencies:[ZN,ax,bx,cx,dx,ex,fM,IW,yh,Nx,Ex,Lx,xY,bY,vY,MW,NA,cB,eB,fB,OB,CY,iV,EW,qD,nO,iD,gD,hD,yY],encapsulation:2});var FY=function(){};FY.\u0275fac=function(a){return new (a||FY)};FY.\u0275mod=fd({type:FY});FY.\u0275inj=Qc({imports:[px,tU]});var GY=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new T.ReplaySubject(1);this.removeHotlist=new vw;this.removable=!0;this.hotlist$=this.id$.pipe(Qf(this.hotlists.watch));this.isDisabled$=(0,T.combineLatest)([this.id$,this.id$.pipe(Qf(this.hotlists.isSaving$))]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
GY.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(Qf(function(b){return aG(a.userAccess,"appender","hotlists/"+b)})):(0,T.of)(this.removable)};Ei.Object.defineProperties(GY.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});GY.\u0275fac=function(a){return new (a||GY)(A(xH),A($F))};
GY.\u0275cmp=r({type:GY,selectors:[["b-hotlist-chip-smart"]],inputs:{id:"id",removable:"removable"},outputs:{removeHotlist:"removeHotlist"},decls:4,vars:9,consts:[[3,"hotlist","disabled","removable","removeHotlist"]],template:function(a,b){a&1&&(D(0,"b-hotlist-chip",0),K("removeHotlist",function(){null==b.idInternal?$i("Missing id"):b.removeHotlist.emit()}),R(1,"async"),R(2,"async"),R(3,"async"),E());if(a&2){var c;C("hotlist",S(1,3,b.hotlist$))("disabled",!0===S(2,5,b.isDisabled$))("removable",null!==
(c=S(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[xY,hx],encapsulation:2,changeDetection:0});var HY=function(){};HY.\u0275fac=function(a){return new (a||HY)};HY.\u0275mod=fd({type:HY});HY.\u0275inj=Qc({imports:[px,gM,tT,rD,BD]});var IY=function(){};IY.\u0275fac=function(a){return new (a||IY)};IY.\u0275mod=fd({type:IY});IY.\u0275inj=Qc({imports:[px,BD,rD,jD,lE,KP]});var JY=function(){};JY.\u0275fac=function(a){return new (a||JY)};JY.\u0275mod=fd({type:JY});JY.\u0275inj=Qc({imports:[tA,gA,gA]});var KY=function(){};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275mod=fd({type:KY});KY.\u0275inj=Qc({imports:[yP,px,bN,JW,ay,HY,qY,FY,NW,BD,gB,rD,JY,jV,gK,FW,FM,QA,lE,KP,jD,IY]});var LY=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=Qp(a,"enableEstado")};LY.prototype.openInEstado=function(){Lp(this.analytics,"listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};LY.\u0275fac=function(a){return new (a||LY)(n(tu),n(oT),n(LH),n(JI),n(qN))};LY.\u0275prov=Pc({token:LY,factory:LY.\u0275fac,providedIn:"root"});var MY=function(a){var b=this;this.selectedCustomField=null;this.isLegalColumn=function(c){return void 0===b.columns.find(function(d){return d.name===String(c.customFieldId)})};this.column=a.column;this.columns=a.columns};MY.\u0275fac=function(a){return new (a||MY)(A(aB))};
MY.\u0275cmp=r({type:MY,selectors:[["b-column-picker-custom-dialog"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[3,"filter","fieldSelected"],["mat-button","",1,"gmat-button","medium","cancel",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button","medium","dialog-primary-action","confirm",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,"mat-dialog-content")(3,"b-custom-field-picker",1),K("fieldSelected",function(c){return b.selectedCustomField=c}),
E()(),D(4,"mat-dialog-actions")(5,"button",2),P(6," Cancel "),E(),D(7,"button",3),P(8," Add "),E()());a&2&&(z(1),Q("Insert custom field column next to ",b.column.fullLabel,""),z(2),C("filter",b.isLegalColumn),z(4),C("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[NA,cB,dB,eB,fB,YW],encapsulation:2});var vYa="issueId componentPath type status priority severity reporter assignee verifier cc collaborator changelist postmortem blockingIssueId blockedByIssueId createdTime modifiedTime resolvedTime verifiedTime title foundInVersion targetedToVersion verifiedInVersion inProd duplicateOfIssueId voteCount duplicateCount ccCount collaboratorCount lastModifier archived minSlo assignmentSlo responseSlo closureSlo deletionTime team estimate estimateTotalOpen estimateTotalComplete".split(" ");var Ar=function(a){this.fullLabel="";this.isCustomField=!1;this.tooltip="";this.moreOptions=[];this.parentLabel="";this.draggable=this.sortable=!0;this.isMetadata=!1;this.label=this.name="";a&&Object.assign(this,a)};Ar.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var AYa={issueId:{defaultSortDirection:"DESC",label:"ID"},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},magic:{label:"MAGIC NUMBER"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},blockedByIssueId:{sortable:!1,label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},
verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,label:"BLOCKING"},title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",
menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",
label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",
sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"}};var NY=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};NY.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var ulc=function(){this.bindings=[]};ulc.prototype.off=function(){for(var a=m(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var vlc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new ulc;this.resetDragTarget=function(){b.dragTargetElement&&(b.dragTargetElement.classList.remove("drag-over"),b.dragTargetElement.classList.remove("left"),b.dragTargetElement.classList.remove("right"));b.dragTargetElement=null};this.onDragTargetDragstart=function(c,d){b.draggedElement=d;b.dragIndex=b.params.getColumnIndexForElement(b.draggedElement);b.draggedElement.classList.add("dragging");
b.draggedElement.setAttribute("aria-grabbed","true");if(c=c.dataTransfer)c.setData("text","drag"),c.effectAllowed="move",c.dropEffect="move"};this.onDragTargetDragenter=function(c,d){b.draggedElement&&d&&d.draggable&&d!==b.draggedElement&&(b.resetDragTarget(),b.dragTargetElement=d,b.dragTargetElement&&(d=b.params.getColumnIndexForElement(b.dragTargetElement),b.dragTargetElement.classList.add("drag-over"),null!=b.dragIndex&&(d>b.dragIndex?(b.dragTargetElement.classList.remove("left"),b.dragTargetElement.classList.add("right")):
(b.dragTargetElement.classList.add("left"),b.dragTargetElement.classList.remove("right"))),b.mask.style.width=b.dragTargetElement.offsetWidth+"px",b.mask.style.height=b.dragTargetElement.offsetHeight+"px",b.mask.style.left="0",b.mask.style.top="0",b.dragTargetElement.appendChild(b.mask),b.mask.style.display="block"),c.stopPropagation(),c.preventDefault())};this.onDragTargetDragend=function(c,d){d.classList.remove("dragging");b.draggedElement&&b.draggedElement.setAttribute("aria-grabbed","false");
b.resetDragTarget();b.draggedElement=null;b.mask.style.display="none";c.stopPropagation();c.preventDefault()};this.onDragTargetSelectstart=function(c){c.currentTarget.dragDrop();c.stopPropagation();c.preventDefault()};this.onMaskDragLeave=function(c){b.resetDragTarget();b.mask.style.display="none";c.stopPropagation();c.preventDefault()};this.onMaskDragover=function(c){b.draggedElement&&(c.stopPropagation(),c.preventDefault())};this.onMaskDrop=function(c){if(b.dragTargetElement){var d=b.params.getColumnIndexForElement(b.dragTargetElement);
b.resetDragTarget();b.mask.style.display="none";b.dragIndex!==d&&b.params.ngZone.run(function(){if(null!=b.dragIndex)b.params.onDragDropColumn(b.dragIndex,d)})}c.stopPropagation();c.preventDefault()}};
vlc.prototype.setup=function(){var a=this;this.mask.style.position="absolute";this.mask.style.zIndex="100";this.mask.style.margin="-2px";this.mask.classList.add("pop-grid-dnd-mask");this.mask.style.display="none";this.params.ngZone.runOutsideAngular(function(){wlc(a,"dragstart",a.onDragTargetDragstart);wlc(a,"dragenter",a.onDragTargetDragenter);wlc(a,"dragend",a.onDragTargetDragend);wlc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new NY(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new NY(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new NY(a.mask,"drop",a.onMaskDrop))})};var wlc=function(a,b,c){a.eventBindings.bindings.push(new NY(a.element,b,Cr("th.drag-target",c)))};vlc.prototype.tearDown=function(){this.eventBindings.off()};var xlc=["table"],ylc=["defaultHeaderCellTemplate"],zlc=["defaultViewCellTemplate"],Alc=["dataRows"],FYa=function(a){return{column:a}},IYa=function(a,b,c){return{row:a,column:b,index:c}},OY=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new vw;this.rowClick=new vw;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new vw;this.focusedRowIndexChange=new vw;this.afterViewInit=
new vw;this.enableDragDropHeader=!0;this.readUnreadOptOut=Qp(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var f=[].concat(p(c.columns));d=f.splice(d,1)[0];f.splice(e,0,d);c.columns=f;c.columnsChange.emit([].concat(p(c.columns)))};this.onTdClickableClick=Cr("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!L2b(e)&&(e=e.closest("tr"))){var f,h=null!=(f=e.dataset.rowId)?f:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}})};
OY.prototype.ngOnInit=function(){this.enableDragDropHeader&&Blc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var Blc=function(a){a.dragDropHeaderLogic=new vlc({nativeElement:a.tableElement.nativeElement,ngZone:a.ngZone,getColumnIndexForElement:function(b){return a.getColumnIndexForElement(b)},onDragDropColumn:function(b,c){a.onDragDropColumn(b,c)}});a.dragDropHeaderLogic.setup()};
OY.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(dza(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};OY.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
OY.prototype.ngOnDestroy=function(){var a;null==(a=this.dragDropHeaderLogic)||a.tearDown();this.tableElement.nativeElement.removeEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.removeEventListener("mouseup",this.onTdClickableClick)};OY.prototype.getViewCellTemplate=function(a){return null!=a?this.viewCellTemplates[a]||this.defaultViewCellTemplate:this.defaultViewCellTemplate};var Clc=function(a){return a.columns.map(function(b){return a.getViewCellTemplate(b.name)})};
OY.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};OY.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};OY.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};OY.\u0275fac=function(a){return new (a||OY)(A(tu),A(Yf))};
OY.\u0275cmp=r({type:OY,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(Sg(xlc,7),Sg(ylc,7),Sg(zlc,7),Sg(Alc,5,Yd));if(a&2){var c;Rg(c=Ug())&&(b.tableElement=c.first);Rg(c=Ug())&&(b.defaultHeaderCellTemplate=c.first);Rg(c=Ug())&&(b.defaultViewCellTemplate=c.first);Rg(c=Ug())&&(b.dataRows=c)}},inputs:{list:"list",columns:"columns",rowLabelRenderer:"rowLabelRenderer",sort:"sort",focusedRowIndex:"focusedRowIndex",scrollContainer:"scrollContainer",enableDragDropHeader:"enableDragDropHeader"},outputs:{columnsChange:"columnsChange",
rowClick:"rowClick",sortChange:"sortChange",focusedRowIndexChange:"focusedRowIndexChange",afterViewInit:"afterViewInit"},features:[md],decls:13,vars:3,consts:[[1,"pop-grid",3,"mousedown"],["table",""],[3,"class",4,"ngFor","ngForOf"],[1,"header-row"],[4,"ngFor","ngForOf"],[4,"ngIf"],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex",
"0",3,"click","focus"],["dataRows",""],[3,"column"],[3,"row","column"]],template:function(a,b){a&1&&(D(0,"table",0,1),K("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),D(2,"colgroup"),O(3,DYa,1,3,"col",2),E(),D(4,"thead")(5,"tr",3),O(6,GYa,2,4,"ng-container",4),E()(),D(7,"tbody"),O(8,LYa,2,1,"ng-container",5),E()(),O(9,MYa,2,1,"ng-template",null,6,$g),O(11,NYa,2,2,"ng-template",null,7,$g));a&2&&(z(3),C("ngForOf",b.columns),z(3),C("ngForOf",b.columns),z(2),C("ngIf",Clc(b)))},
encapsulation:2});var PY=function(a,b){this.templateRef=a;this.popGrid=b};PY.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};PY.\u0275fac=function(a){return new (a||PY)(A(Og),A(OY))};PY.\u0275dir=r({type:PY,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var QY=function(a,b){this.templateRef=a;this.popGrid=b};
QY.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};QY.\u0275fac=function(a){return new (a||QY)(A(Og),A(OY))};QY.\u0275dir=r({type:QY,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var RY=function(a,b){this.templateRef=a;this.popGrid=b};RY.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};RY.\u0275fac=function(a){return new (a||RY)(A(Og),A(OY))};
RY.\u0275dir=r({type:RY,selectors:[["","forHeaderCellDefault",""]]});var SY=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new vw};SY.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};SY.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
SY.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};SY.\u0275fac=function(a){return new (a||SY)};
SY.\u0275cmp=r({type:SY,selectors:[["b-sortable-header"]],inputs:{columnName:"columnName",columnLabel:"columnLabel",sort:"sort",defaultSortDirection:"defaultSortDirection"},outputs:{sortChanged:"sortChanged"},decls:3,vars:8,consts:[["role","button","tabindex","0",1,"keep-focus-ring","pop-grid-sort-header",3,"click","keydown.enter","keydown.space"],[1,"arrow"]],template:function(a,b){a&1&&(D(0,"div",0),K("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),F(1,"span",1),P(2),E());a&2&&(pg("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),dg("aria-label",b.ariaLabel()),z(2),Q(" ",b.columnLabel," "))},encapsulation:2});var TY=function(a,b){this.elementRef=a;this.grid=b};TY.prototype.ngAfterViewInit=function(){if(this.column){var a=this.column;if(a.draggable){var b;a:{for(b=this.elementRef.nativeElement;b.parentElement;){if("TH"===b.parentElement.tagName){b=b.parentElement;break a}b=b.parentElement}b=void 0}if(this.cellParent=b)this.cellParent.draggable=!0,this.cellParent.classList.add("drag-target"),this.cellParent.dataset.dragTargetColumnName=a.name}}};TY.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
TY.\u0275fac=function(a){return new (a||TY)(A(Yd),A(OY,8))};
TY.\u0275cmp=r({type:TY,selectors:[["pop-grid-default-th"]],inputs:{column:"column"},decls:3,vars:2,consts:[[1,"pop-grid-default-th"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip","sortChanged",4,"ngIf"],["class","pop-grid-non-sort-header keep-focus-ring","tabindex","0",4,"ngIf"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip","sortChanged"],["tabindex","0",1,"pop-grid-non-sort-header","keep-focus-ring"],["class","a11y-only",4,"ngIf"],[1,"a11y-only"]],
template:function(a,b){a&1&&(D(0,"div",0),O(1,OYa,1,5,"b-sortable-header",1),O(2,QYa,3,3,"div",2),E());a&2&&(z(1),C("ngIf",b.column.sortable),z(1),C("ngIf",!b.column.sortable))},dependencies:[bx,qD,SY],encapsulation:2});var XYa=function(a,b){return{columns:a,before:b}},Dlc=function(){return{before:!1}},Elc=function(){return{before:!0}},UY=function(a,b,c,d,e,f){Z.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=f;this.selectedColumnsChange=new vw;this.onAddTeamColumn=new vw;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=QE.listViewPreferences;b.preferences$.pipe(Rf(this.destroyed$)).subscribe(function(l){h.listViewPrefs=
l.listViewPreferences||QE.listViewPreferences})};X(UY,Z);UY.\u0275dir=Z.\u0275dir;UY.prototype.ngOnChanges=function(a){a.selectedColumns&&Flc(this)};
var Glc=function(a){a.selectedColumnsChange.emit([].concat(p(a.selectedColumns)));Flc(a)},SYa=function(a,b){var c=Object.assign({},a.listViewPrefs),d=TYa(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||nG(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Ef(),Rf(a.destroyed$)).subscribe(function(){Lp(a.analytics,"preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||nG(a.butterBar,"Display preference saved.",
4E3)},function(){a.activeSession.isAnonymous()||oG(a.butterBar,"Display preference could not be saved.")})},$Ya=function(a,b){a.hotkeys.pause();XA(a.matDialog.open(MY,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Rf(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},Flc=function(a){for(var b={},c=m(a.selectedColumns),d=c.next();!d.done;d=
c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!Yba(b,f.name)});c=[].concat(p(new Set(e.filter(function(f){return f.parentLabel}).map(function(f){return f.parentLabel})))).map(function(f){return{label:f,columns:e.filter(function(h){return h.parentLabel===f})}});d=e.filter(function(f){return!f.parentLabel});a.currentAvailableItems=[].concat(p(d),p(c));a.currentAvailableItems.sort(function(f,h){return Or(f instanceof Ar?f.fullLabel:f.label,h instanceof Ar?h.fullLabel:
h.label)});a.isRemovable=Hlc(a)};UY.prototype.isIssueGridColumn=function(a){return a instanceof Ar};UY.prototype.remove=function(){var a=this;if(this.isRemovable){var b=this.selectedColumns.filter(function(c){return c.name!==a.column.name});if(b.length!==this.selectedColumns.length)return this.selectedColumns=b,Glc(this),!0}return!1};
UY.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new Ar({name:a.customFieldId.toString(),label:a.name,fullLabel:a.name,sortable:!0,draggable:!0,isCustomField:!0}):a;"TEAM"===a.label&&this.onAddTeamColumn.emit();var d=this.selectedColumns.findIndex(function(e){return e.name===c.column.name});if(-1===d)return!1;b=b?d:d+1;this.selectedColumns=[].concat(p(this.selectedColumns));this.selectedColumns.splice(b,0,a);Glc(this);return!0};
var Hlc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};UY.\u0275fac=function(a){return new (a||UY)(A(bB),A(CI),A(mG),A(LH),A(vO),A(tu))};
UY.\u0275cmp=r({type:UY,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&Sg(hD,5);if(a&2){var c;Rg(c=Ug())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[$f,md],decls:20,vars:11,consts:[[1,"bv2-column-picker-container"],[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button","class",
"columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active","menuOpened","menuClosed","keydown.enter","keydown.space",4,"ngIf"],[1,"columnpicker-menu"],["pickerMenu","matMenu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["addColumnMenu","matMenu"],["matMenuContent",""],["columnGroupMenu","matMenu"],["mat-button","",
"tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","menuOpened","menuClosed","keydown.enter","keydown.space"],["menuTrigger","matMenuTrigger"],["mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["mat-menu-item","",3,"click"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngIf"],["mat-menu-item",
"",3,"matTooltip","click"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),F(2,"pop-grid-default-th",2),E(),O(3,RYa,2,4,"div",3),D(4,"mat-menu",4,5),O(6,UYa,4,3,"button",6),O(7,VYa,1,0,"mat-divider",7),D(8,"button",8),K("click",function(){return b.remove()}),P(9," Remove column "),E(),D(10,"button",9),P(11," Add column right "),E(),D(12,"button",9),P(13," Add column left "),E()(),D(14,"mat-menu",null,10),O(16,aZa,4,1,"ng-template",11),E(),D(17,
"mat-menu",null,12),O(19,cZa,1,1,"ng-template",11),E()());if(a&2){var c=N(15);z(2);C("column",b.column);z(1);C("ngIf",!0);z(3);C("ngForOf",b.column.moreOptions);z(1);C("ngIf",b.column.moreOptions.length);z(1);C("disabled",!b.isRemovable);z(2);C("matMenuTriggerFor",c)("matMenuTriggerData",Fg(9,Dlc));z(2);C("matMenuTriggerFor",c)("matMenuTriggerData",Fg(10,Elc))}},dependencies:[ax,bx,iD,gD,hD,fD,WQ,qD,nO,TY],styles:['.bv2-columheader-content[_ngcontent-%COMP%]{display:inline-block;height:100%}.columnpicker-button[_ngcontent-%COMP%]{background:none;border:1px solid rgba(0,0,0,0);height:24px;width:24px;opacity:.8}.columnpicker-button[_ngcontent-%COMP%]::before{background:none;border-radius:50%;position:absolute;top:-2px;bottom:-2px;left:-2px;right:-2px;box-sizing:border-box;content:"";display:block}.columnpicker-button[_ngcontent-%COMP%]:hover::before, .columnpicker-button[_ngcontent-%COMP%]:focus::before, .columnpicker-button.columnpicker-button-active[_ngcontent-%COMP%]::before{background-color:#dadce0;background-color:var(--c300);opacity:1}.columnpicker-button[_ngcontent-%COMP%]::after{background:url(https://www.gstatic.com/buganizer/img/v0/arrow_drop_down_black.svg);content:"";cursor:pointer;height:24px;width:24px;opacity:.8;position:absolute}  .columnpicker-menu .mat-menu-content button.mat-menu-item{line-height:0px;padding:5px 32px 5px 16px;white-space:normal;font-family:Roboto,Arial,sans-serif}  .columnpicker-menu .mat-menu-content button.mat-menu-item.checkbox-item{padding-left:24px}  .columnpicker-menu .mat-menu-content button.mat-menu-item .b-menu-item-check-mark{top:50%;transform:translate(0, -50%)}\n/*# sourceMappingURL=column_picker.css.map */']});var Klc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Cr("td.drag-handle",function(c,d){b.draggedRow=d.closest("tr");b.draggedRow.classList.add("dragging");b.draggedRow.setAttribute("aria-grabbed","true");c=c.dataTransfer;c.setData("text","drag");c.setDragImage(b.draggedRow,0,0);c.effectAllowed="move";c.dropEffect="move"});this.onTrDragEnter=Cr("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){Ilc(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder(null!=(e=b.draggedRow.dataset.rowId)?e:void 0);var f;b.dragTargetIndex=b.params.rowFinder(null!=(f=b.dragTargetRow.dataset.rowId)?f:void 0);b.dragTargetRow.classList.add("drag-over");b.dragTargetIndex>b.draggedIssueIndex?b.dragTargetRow.classList.add("below"):b.dragTargetRow.classList.add("above");a:{for(c=b.dragTargetRow.parentElement;c;){if("static"!==window.getComputedStyle(c).position)break a;
c=c.parentElement}c=void 0}c&&(d=c.scrollTop||0,c=b.dragTargetRow.getBoundingClientRect().top-c.getBoundingClientRect().top+d,b.dropzone.style.width=b.dragTargetRow.offsetWidth+"px",b.dropzone.style.height=b.dragTargetRow.offsetHeight+"px",b.dropzone.style.left="0",b.dropzone.style.top=c+"px");b.dragTargetRow.appendChild(b.dropzone);b.dropzone.style.display="block"}});this.onTrDragEnd=Cr("tr",function(){b.draggedRow&&(Ilc(b.draggedRow),Ilc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Cr("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Cr(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Cr(".row-dropzone",function(c){Ilc(b.dragTargetRow);Jlc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Cr(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Cr(".row-dropzone",function(c){Jlc(b);
b.draggedIssueIndex!==b.dragTargetIndex&&b.params.ngZone.run(function(){if(null!=b.draggedIssueIndex&&null!=b.dragTargetIndex)b.params.onRowDragDrop({srcIndex:b.draggedIssueIndex,destIndex:b.dragTargetIndex})});c.stopPropagation();c.preventDefault()})};
Klc.prototype.setup=function(){var a=this;this.dropzone.style.position="absolute";this.dropzone.style.zIndex="100";this.dropzone.style.margin="-2px";this.dropzone.classList.add("row-dropzone");Jlc(this);this.params.ngZone.runOutsideAngular(function(){a.element.addEventListener("dragstart",a.onTdDragStart);a.element.addEventListener("dragenter",a.onTrDragEnter);a.element.addEventListener("dragend",a.onTrDragEnd);a.element.addEventListener("dragleave",a.onTrDragLeave);a.element.addEventListener("dragenter",
a.onDropzoneDragEnter);a.element.addEventListener("dragleave",a.onDropzoneDragLeave);a.element.addEventListener("dragover",a.onDropzoneDragOver);a.element.addEventListener("drop",a.onDropzoneDrop)})};
Klc.prototype.tearDown=function(){this.dropzone.remove();this.element.removeEventListener("dragstart",this.onTdDragStart);this.element.removeEventListener("dragenter",this.onTrDragEnter);this.element.removeEventListener("dragend",this.onTrDragEnd);this.element.removeEventListener("dragleave",this.onTrDragLeave);this.element.removeEventListener("dragenter",this.onDropzoneDragEnter);this.element.removeEventListener("dragleave",this.onDropzoneDragLeave);this.element.removeEventListener("dragover",this.onDropzoneDragOver);
this.element.removeEventListener("drop",this.onDropzoneDrop)};var Ilc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},Jlc=function(a){a.dropzone.style.display="none"};var VY=function(){};VY.\u0275fac=function(a){return new (a||VY)};VY.\u0275cmp=r({type:VY,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(D(0,"span"),F(1,"mat-icon",0),P(2,"Archived "),E())},dependencies:[OB],styles:["span[_ngcontent-%COMP%]{border-radius:8px;display:inline-block;line-height:18px;padding:0 10px;margin-right:6px;color:#202124;color:var(--text-high-contrast);background-color:#feefc3;background-color:var(--archived-bg)}mat-icon[_ngcontent-%COMP%]{height:15px;width:15px;margin:2px;vertical-align:middle;color:#5f6368;color:var(--icon)}"]});
var WY=function(){};WY.\u0275fac=function(a){return new (a||WY)};WY.\u0275mod=fd({type:WY});WY.\u0275inj=Qc({imports:[px,rD]});var Llc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],XY=function(){this.compactMode=this.labelOnlyMode=!1};XY.prototype.ngOnInit=function(){};XY.\u0275fac=function(a){return new (a||XY)};
XY.\u0275cmp=r({type:XY,selectors:[["b-base-chip"]],inputs:{labelOnlyMode:"labelOnlyMode",compactMode:"compactMode",labelClass:"labelClass",hovercardAriaLabel:"hovercardAriaLabel"},ngContentSelectors:[".tooltip-content",".chip-content"],decls:9,vars:6,consts:[[1,"bv2-chip"],["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"field-label-with-help",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"help-label",3,"ngClass"]],template:function(a,
b){a&1&&(wg(Llc),D(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),xg(5),E()()(),D(6,"div",4)(7,"span",5),xg(8,1),E()()());if(a&2){var c=N(2),d;z(3);dg("aria-label",b.hovercardAriaLabel);z(3);C("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);z(1);pg("compact-chip",b.compactMode);C("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[$w,XI,bJ],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.bv2-chip[_ngcontent-%COMP%]   .field-label-with-help[_ngcontent-%COMP%]{line-height:1em}.bv2-chip[_ngcontent-%COMP%]   .help-label[_ngcontent-%COMP%]{font-weight:normal;border-radius:8px;display:inline-block;line-height:18px;padding:0 10px}.bv2-chip[_ngcontent-%COMP%]   .help-label.compact-chip[_ngcontent-%COMP%]{font-size:.7em;margin-top:0;padding:0 6px;vertical-align:inherit}.bv2-edit-issue-details-scroll[_ngcontent-%COMP%]   .bv2-chip[_ngcontent-%COMP%]   .help-label[_ngcontent-%COMP%]{vertical-align:baseline}.bv2-grid-cell-container[_ngcontent-%COMP%]   .bv2-chip[_ngcontent-%COMP%] > .field-label-with-help[_ngcontent-%COMP%]{line-height:1}.onedev-hovercard-body[_ngcontent-%COMP%]{line-height:1.6em;width:350px}"]});var YY=function(a){this.documentationLinks=a;this.documentationLink=nu()};YY.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=qp(pp(this.retentionState.scheduledDeletionTime)):this.retentionExpireTime=void 0};YY.\u0275fac=function(a){return new (a||YY)(A(hJ))};
YY.\u0275cmp=r({type:YY,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[md],decls:1,vars:1,consts:[[4,"ngIf"],[3,"mode","timestamp"],["target","_blank",3,"href"]],template:function(a,b){a&1&&O(0,dZa,9,5,"ng-container",0);a&2&&C("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[bx,UL],encapsulation:2});var ZY=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};ZY.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?(a=qp(pp(this.retentionState.scheduledDeletionTime)),this.text=Ycb(a,!this.compactMode)):this.text=""};ZY.\u0275fac=function(a){return new (a||ZY)(A(TL))};
ZY.\u0275cmp=r({type:ZY,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[md],decls:1,vars:1,template:function(a,b){a&1&&P(0);a&2&&Bg(b.text)},encapsulation:2});var $Y=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};$Y.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=fZa(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};$Y.\u0275fac=function(a){return new (a||$Y)(A(hJ))};
$Y.\u0275cmp=r({type:$Y,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[md],decls:1,vars:1,consts:[["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode",4,"ngIf"],["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode"],[1,"chip-content"],[3,"retentionState",
"compactMode"],[1,"tooltip-content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&O(0,eZa,5,7,"b-base-chip",0);a&2&&C("ngIf",b.showRetentionInfo)},dependencies:[bx,XY,ZY,YY],styles:["[_nghost-%COMP%]     .help-label{white-space:nowrap;color:#202124;color:var(--text-high-contrast)}[_nghost-%COMP%]     .help-label.expiring{background-color:#e8eaed;background-color:var(--chip-bg)}[_nghost-%COMP%]     .help-label.danger{background-color:#fcad70;background-color:var(--expiring-bg);color:rgba(0,0,0,.7);color:var(--expiring-text)}"]});var MZa=function(a,b,c){return{low:a,high:b,p0:c}},s_a=function(a){return{id:a}},Y_a=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},Mlc=function(){return[]},aZ=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J){var M=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=f;this.hotlistFridge=h;this.issueFridge=l;this.bLocation=q;this.issuePagination=u;this.paths=x;this.errorHandler=y;this.$log=G;this.domSafe=J;this.STATUS_ICON=
YSb;this.STATUS_FULL_TEXT=vF;this.STATUS_TERSE=rF;this.lastCheckedIndex=null;this.focusedRowIndexChange=new vw;this.columns=[];this.columnsChange=new vw;this.enableColumnSaving=!1;this.sort=null;this.sortChange=new vw;this.rowClick=new vw;this.init=new vw;this.onRowDragDrop=new vw;this.onNextPage=new vw;this.onPrevPage=new vw;this.selectionCallbacks=[];this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=Qp(this.activeSession,"enableAggregationRules");this.destroyed$=new T.ReplaySubject(1);this.starInProgress=
{};this.readUnreadOptOut=Qp(this.activeSession,"readUnreadOptOut");b=Pa(vYa);Qp(a,"enableCollaborators")||(Ma(b,"collaborator"),Ma(b,"collaboratorCount"));a.isInternalSession()||(Ma(b,"minSlo"),Ma(b,"responseSlo"),Ma(b,"assignmentSlo"),Ma(b,"closureSlo"),Ma(b,"deletionTime"),Ma(b,"team"),Ma(b,"estimate"),Ma(b,"estimateTotalOpen"),Ma(b,"estimateTotalComplete"));this.availableColumns=b.map(Br);this.dragDropLogic=new Klc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(V){return Nlc(M,
V)},onRowDragDrop:function(V){M.onRowDragDrop.emit(V)}})};g=aZ.prototype;g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=ona((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(p(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(p(c)))}if(a.searchResults||a.columns)for(b=m(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&Olc(this);if(a.searchResults){b=a.searchResults.currentValue;var d;a=new Set((null==(d=a.searchResults.previousValue)?void 0:d.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||
[]);d=new Set((null==b?void 0:b.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||[]);Ena(a,d)||bZ(this)}};g.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};g.focus=function(){this.grid.focus()};g.convertIssueStatusStrToTag=function(a){return Wk[a]};g.selectAll=function(){if(this.searchResults){for(var a=m(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}bZ(this)};
var Plc=function(a){if(a.searchResults){for(var b=m(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}bZ(a)};aZ.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};var kZa=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1};
aZ.prototype.someIssuesSelected=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};aZ.prototype.getHeaderCheckboxState=function(){if(!this.searchResults)return"unchecked";for(var a=!0,b=!1,c=m(this.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};
aZ.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};var Rlc=function(a){if(Qlc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),bZ(a))}};
aZ.prototype.toggleAllIssueSelection=function(){if(this.searchResults){for(var a=!this.someIssuesSelected(),b=m(this.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges();bZ(this)}};
var Slc=function(a){null!=a.focusedRowIndex&&a.searchResults&&a.focusedRowIndex<a.searchResults.issues.length-1?(a.focusedRowIndex++,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasNextPage()&&g$b(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},Tlc=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&g$b(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},cZ=function(a,b){b=void 0===b?{}:b;if(Qlc(a)&&null!=a.focusedRowIndex&&a.searchResults){var c=a.searchResults.issues[a.focusedRowIndex];c&&(b.openInNewTab?a.domSafe.openInNewTab(a.paths.editIssue(c.issueId)):a.bLocation.url(a.paths.editIssue(c.issueId)))}},Ulc=function(a,b){a.selectionCallbacks.push(b);
b()};aZ.prototype.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&this.searchResults)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=m(this.searchResults.issues.slice(d,e));for(e=d.next();!e.done;e=d.next())e.value.selected=!a;bZ(this)}c.selected=!c.selected;this.lastCheckedIndex=b;bZ(this)};
var bZ=function(a){a=m(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},Vlc=function(a){Qlc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},Wlc=function(a,b){b=void 0===b?!0:b;var c=a.getSelectedIssues();if(0!==c.length){for(var d=m(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();SH(a.issueFridge,c.map(function(f){return f.issueId}),{markRead:b}).then(function(f){for(var h=m(c),l=h.next();!l.done;l=
h.next()){var q=void 0;l.value.lastViewedTime=null!=(q=f)?q:null}}).catch(function(){for(var f=m(c),h=f.next();!h.done;h=f.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
aZ.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,fXb(this.issueFridge,String(a.issueId),a.starred).pipe(Ef(),Rf(this.destroyed$)).subscribe(function(){b.starInProgress[a.issueId]=!1;b.cdr.detectChanges()},function(c){a.starred=!a.starred;b.starInProgress[a.issueId]=!1;b.errorHandler.errorHandler(null,c);b.cdr.detectChanges()}))};
aZ.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var Qlc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},Nlc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},Olc=function(a){if(a.searchResults){for(var b=new Set,c=m(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),"0"!==d&&b.add(d);0<b.size?(a.isLoadingTeams=!0,FXb(a.teamsService,[].concat(p(b))).pipe(Rf(a.destroyed$)).subscribe(function(e){e=
Bl(e,1,NE);if(a.searchResults)for(var f=m(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var l=String(h.teamId);"0"!==l&&e.has(l)&&(h.team=e.get(l).getName())}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};g=aZ.prototype;g.isIssueRow=function(){return!0};g.isIssueGridColumn=function(){return!0};g.isLowPriority=function(a){return 2<=Number(a.priority)};g.isHighPriority=function(a){return 2>Number(a.priority)};g.isP0Priority=function(a){return 0===Number(a.priority)};
aZ.\u0275fac=function(a){return new (a||aZ)(A(tu),A(HH,2),A(Yd),A(cI),A(Yf),A(CI),A(xH),A(QH),A(bH),A(BS),A(cH),A(qG),A(pG),A(JI))};
aZ.\u0275cmp=r({type:aZ,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&Sg(OY,7);if(a&2){var c;Rg(c=Ug())&&(b.grid=c.first)}},inputs:{searchResults:"searchResults",focusedRowIndex:"focusedRowIndex",columns:"columns",enableColumnSaving:"enableColumnSaving",sort:"sort"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",columnsChange:"columnsChange",sortChange:"sortChange",rowClick:"rowClick",init:"init",onRowDragDrop:"onRowDragDrop",onNextPage:"onNextPage",onPrevPage:"onPrevPage"},features:[Dg([HH]),
md],decls:49,vars:51,consts:[[1,"keep-focus-ring",3,"list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer","columnsChange","focusedRowIndexChange","sortChange","rowClick"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle","draggable","true",4,"forViewCell"],["class","selected-box",
4,"forViewCell"],["class","star-cell",4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],["class",
"clickable datetime-cell",4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],["issueWithHovercard",""],[1,"focus-indicator"],[4,"ngIf"],[1,"drag-handle"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state","click","keydown.enter","keydown.space"],[3,"column"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange",
4,"ngIf"],[3,"column",4,"ngIf"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage","starClicked"],["data-template","issueId",1,"clickable"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel","compactMode"],[3,"trackerId","compactMode"],
[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],
[1,"icon-s",3,"svgIcon"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable","datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus","sloSnoozeUntil",4,"ngIf"],[3,"sloId","sloStatus","sloSnoozeUntil"],[3,"sloStatus","sloSnoozeUntil"],[3,"sloId","sloStatus","sloSnoozeUntil",
"onlyShowMetric",4,"ngIf"],[3,"sloId","sloStatus","sloSnoozeUntil","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],["class","animated-loading-bar",4,"ngIf"],[1,"animated-loading-bar"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""]],
template:function(a,b){a&1&&(D(0,"div")(1,"pop-grid",0),K("columnsChange",function(c){b.columns=c;b.columnsChange.emit(c);b.cdr.detectChanges()})("focusedRowIndexChange",function(c){b.focusedRowIndex=c;return b.focusedRowIndexChange.emit(b.focusedRowIndex)})("sortChange",function(c){return b.sortChange.emit(c)})("rowClick",function(c){return b.rowClick.emit(c)}),O(2,hZa,2,2,"th",1),O(3,jZa,2,2,"th",2),O(4,mZa,2,2,"th",3),O(5,oZa,2,2,"th",4),O(6,qZa,2,2,"th",4),O(7,uZa,2,2,"th",5),O(8,wZa,2,1,"td",
6),O(9,yZa,2,1,"td",7),O(10,AZa,2,1,"td",8),O(11,CZa,2,1,"td",9),O(12,EZa,2,1,"td",10),O(13,GZa,2,1,"td",11),O(14,LZa,2,3,"td",12),O(15,OZa,2,1,"td",13),O(16,QZa,2,1,"td",14),O(17,WZa,2,1,"td",15),O(18,YZa,2,1,"td",16),O(19,b_a,2,1,"td",17),O(20,f_a,2,1,"td",17),O(21,j_a,2,1,"td",17),O(22,l_a,2,1,"td",17),O(23,n_a,2,1,"td",17),O(24,p_a,2,1,"td",17),O(25,v_a,2,1,"td",17),O(26,A_a,2,1,"td",17),O(27,E_a,2,1,"td",17),O(28,G_a,2,1,"td",18),O(29,I_a,2,1,"td",18),O(30,K_a,2,1,"td",18),O(31,M_a,2,1,"td",
18),O(32,O_a,2,1,"td",17),O(33,Q_a,2,1,"td",17),O(34,S_a,2,1,"td",17),O(35,U_a,2,1,"td",17),O(36,W_a,2,1,"td",17),O(37,Z_a,2,5,"td",19),O(38,b0a,2,1,"td",20),O(39,e0a,2,1,"td",20),O(40,h0a,2,1,"td",20),O(41,k0a,2,1,"td",20),O(42,n0a,2,1,"td",17),O(43,r0a,2,1,"td",17),O(44,t0a,2,1,"td",17),O(45,v0a,2,1,"td",17),O(46,x0a,2,1,"td",17),E()(),O(47,z0a,5,2,"ng-template",null,21,$g));a&2&&(z(1),C("list",(null==b.searchResults?null:b.searchResults.issues)||Fg(50,Mlc))("columns",b.columns)("focusedRowIndex",
b.focusedRowIndex)("scrollContainer",".bv2-view")("sort",b.sort)("rowLabelRenderer",b.issueDescription),z(1),C("forHeaderCell","focused"),z(1),C("forHeaderCell","draghandle"),z(1),C("forHeaderCell","selected"),z(1),C("forHeaderCell","starred"),z(1),C("forHeaderCell","position"),z(2),C("forViewCell","focused"),z(1),C("forViewCell","draghandle"),z(1),C("forViewCell","selected"),z(1),C("forViewCell","starred"),z(1),C("forViewCell","position"),z(1),C("forViewCell","issueId"),z(1),C("forViewCell","title"),
z(1),C("forViewCell","priority"),z(1),C("forViewCell","severity"),z(1),C("forViewCell","status"),z(1),C("forViewCell","type"),z(1),C("forViewCell","reporter"),z(1),C("forViewCell","assignee"),z(1),C("forViewCell","verifier"),z(1),C("forViewCell","cc"),z(1),C("forViewCell","changelist"),z(1),C("forViewCell","postmortem"),z(1),C("forViewCell","blockingIssueId"),z(1),C("forViewCell","blockedByIssueId"),z(1),C("forViewCell","duplicateOfIssueId"),z(1),C("forViewCell","createdTime"),z(1),C("forViewCell",
"modifiedTime"),z(1),C("forViewCell","resolvedTime"),z(1),C("forViewCell","verifiedTime"),z(1),C("forViewCell","foundInVersion"),z(1),C("forViewCell","targetedToVersion"),z(1),C("forViewCell","verifiedInVersion"),z(1),C("forViewCell","inProd"),z(1),C("forViewCell","archived"),z(1),C("forViewCell","componentPath"),z(1),C("forViewCell","minSlo"),z(1),C("forViewCell","responseSlo"),z(1),C("forViewCell","assignmentSlo"),z(1),C("forViewCell","closureSlo"),z(1),C("forViewCell","deletionTime"),z(1),C("forViewCell",
"team"),z(1),C("forViewCell","estimate"),z(1),C("forViewCell","estimateTotalOpen"),z(1),C("forViewCell","estimateTotalComplete"))},dependencies:[VY,$w,ax,bx,gx,cx,dx,ex,rA,OB,OY,TY,PY,QY,RY,tQ,vQ,UL,wQ,pL,GY,$Y,kO,ML,TQ,XI,YI,bJ,ZI,eM,IO,UY,XJ,$J,WJ,cK,ZJ],encapsulation:2,changeDetection:0});
var dZ=new Ar({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),Xlc=new Ar({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),eZ=new Ar({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),fZ=new Ar({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),Ylc=new Ar({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var gZ=function(a,b,c){Z.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new vw;this.onCloseIssuePicker=function(e){e=void 0===e?[]:e;if(0!==e.length&&null!=d.id){var f=e.join(", ");d.snackBar.open(1===e.length?"Adding issue "+f+" to this hotlist":"Adding multiple issues to this hotlist: "+f,void 0,{duration:2500});d.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:d.id,actionType:"ADD"}],issueIds:e}]}).then(d.didSave,d.gotErr)}};
this.didSave=function(){d.issueAddedToHotlist.emit();d.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(e){var f,h,l,q,u=null!=(q=null!=(l=null==e?void 0:null==(f=e.error)?void 0:f.message)?l:null==e?void 0:null==(h=e.data)?void 0:h.message)?q:"Error adding issues to the hotlist";d.snackBar.open(u,"close",{panelClass:"error"})}};X(gZ,Z);gZ.\u0275dir=Z.\u0275dir;gZ.\u0275fac=function(a){return new (a||gZ)(A(jG),A(ON),A(dF))};
gZ.\u0275cmp=r({type:gZ,selectors:[["hotlist-add-issue-btn"]],inputs:{id:["hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[$f],decls:2,vars:0,consts:[["mat-button","","matTooltip","Add issues to this hotlist",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),P(1," Add Issue(s) "),E())},dependencies:[NA,qD],encapsulation:2});var hZ=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new T.ReplaySubject(1);this.hotlist$=this.id$.pipe(Qf(function(f){return e.fridge.watchOne(f)}),Nf({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(B(function(f){return!(null==f||!f.archived)}),Df());this.archiveActionLabel$=this.archived$.pipe(B(function(f){return f?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(B(function(f){return f?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(f){return function(){e.snackBar.open(f?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(f){return function(h){var l=f?"archiving":"unarchiving";e.snackBar.open(Dn(h)||"Error "+l+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(Rf(this.destroyed$)).subscribe(function(f){e.latestHotlist=f})};X(hZ,Z);hZ.\u0275dir=Z.\u0275dir;
hZ.prototype.isThinking=function(a){return this.fridge.isThinking(a)};hZ.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var $lc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:xp("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){Zlc(a,b)}}):Zlc(a,b)}},Zlc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
hZ.\u0275fac=function(a){return new (a||hZ)(A(xH),A(jG),A(jJ),A(uG))};
hZ.\u0275cmp=r({type:hZ,selectors:[["hotlist-archive-btn"]],inputs:{id:["hotlistId","id"]},features:[$f,md],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){return $lc(b)}),R(1,"async"),P(2),R(3,"async"),E());if(a&2){var c;C("disabled",b.isThinking(b.id))("matTooltip",null!==(c=S(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");z(2);Q(" ",S(3,5,b.archiveActionLabel$)," ")}},dependencies:[NA,
qD,hx],encapsulation:2});var iZ=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J){fY.call(this,a,b,c,d,e,f,h,l,q,u,G,J);this.estadoService=x;this.refreshMonitor=y;this.init=new vw;this.onRefresh=new vw;this.isHotlistAdmin=!1;this.onExportCsv=new vw;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=Qp(this.activeSession,"enableBulkEditUi");this.controllerName="gridControls"};X(iZ,fY);
iZ.\u0275dir=fY.\u0275dir;g=iZ.prototype;g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&Ulc(this.grid,function(){b.onSelectionChange()})};g.getSelectedIssues=function(){var a,b;return null!=(b=null==(a=this.grid)?void 0:a.getSelectedIssues())?b:[]};g.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};g.openInEstado=function(){this.estadoService.openInEstado()};var amc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
iZ.\u0275fac=function(a){return new (a||iZ)(A(HH,2),A(tu),A(LH),A(vO),A(sJ),A($U),A(kJ),A(PU),A(bB),A(pG),A(LY),A(OH),A(ON),A(CI))};
iZ.\u0275cmp=r({type:iZ,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Dg([HH]),$f,md],decls:11,vars:8,consts:[["size","large","format","icon","tooltip","Refresh","bAriaLabel","Refresh",1,"refresh-button",3,"onAction"],["name","refresh","size","large"],[3,"readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation",
"onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[4,"ngIf"],["class","compact","tooltip","Reporting","aria-label","Reporting",3,"size","format","onAction",4,"ngIf"],[1,"bv2-appbar-menu",3,"showExportCsv","showFlagIssuesAsSpam","exportCsvClicked","flagAsSpamClicked"],[3,"externalWarnings","save","close"],["addCommentDialog",""],[3,
"readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],[3,"hotlistId","issueAddedToHotlist",4,"ngIf"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId","issueAddedToHotlist"],[3,"hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,
"compact",3,"size","format","onAction"],["name","bar-chart","size","large"],["class","bv2-estado-text",4,"ngIf"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange","onSubmit",4,"ngIf"],["class","bv2-external-component-modal-warning",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],
[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(D(0,"b-button",0),K("onAction",function(){return b.refresh()}),F(1,"b-icon",1),E(),O(2,A0a,1,1,"b-app-bar-bulk-edit-menus",2),O(3,B0a,1,2,"b-copy-issue-id-button",3),O(4,C0a,2,2,"div",4),O(5,F0a,3,2,"ng-container",5),O(6,H0a,3,3,"b-button",6),D(7,"b-app-bar-more-menu",7),K("exportCsvClicked",
function(){return b.onExportCsv.emit()})("flagAsSpamClicked",function(){return Pkc(b)}),E(),D(8,"b-state-modal",8),K("save",function(){return Nkc(b)})("close",function(){return b.hotkeys.unpause()}),E(),O(9,M0a,11,6,"ng-template",null,9,$g));a&2&&(z(2),C("ngIf",b.hasSelectedIssues()),z(1),C("ngIf",b.hasSelectedIssues()),z(1),C("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),C("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),z(1),C("ngIf",b.enableEstadoInAppBar),z(1),C("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",
amc(b)),z(1),C("externalWarnings",b.externalWarnings))},dependencies:[mS,lS,ZN,WX,ax,bx,ML,MU,hZ,gZ,bY,nO,NA,cB,dB,eB,fB,YX,XX],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var bmc=["multiUserInput"],jZ=function(a,b,c,d,e,f){Z.call(this);var h=this;this.element=a;this.accessPolicyConverter=b;this.principalTypes=c;this.activeSession=d;this.documentationLinks=e;this.appEvents=f;this.usersChange=new vw(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new vw;this.typedText="";this.items=[];this.chipifyFn=function(){cmc(h)};this.additionalContactsFn=function(){return dmc(h)};
this.isFocused=!1;this.selectedChipIndex=-1;this.$element=this.element.nativeElement;this.validators={};this.violations=new Set;this.subscriptions.add(this.appEvents.contactChipsRevertChanges.subscribe(function(){h.typedText=""}))};X(jZ,Z);jZ.\u0275dir=Z.\u0275dir;
jZ.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return emc(c)},validateInternalAccessLevel:function(b,c){return fmc(a,c)},validateExternalAccessLevel:function(b,c){return gmc(a,c)}},this.customValidators)};jZ.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=hmc(this,this.users),kZ(this)};
var kZ=function(a){var b=[].concat(p(a.items)),c=imc(b),d=jmc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&mj(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
jZ.prototype.validate=function(a,b,c){for(var d=new Set,e=m(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=m(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=m(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=m(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return 0===this.violations.size};
var P0a=function(a){!a.isWidgetDisabled()&&kmc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},N0a=function(a){Dr(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};jZ.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var kmc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
jZ.prototype.removeItem=function(a){this.isWidgetDisabled()||!Dr(this,a)||this.items[a].isReadonly||(N0a(this),this.items.splice(a,1),kZ(this))};jZ.prototype.setAccessLevel=function(a){this.accessLevel=a};
var dmc=function(a){return lmc(a).map(function(b){return{text:Kna(b),id:a.accessPolicyConverter.accessPolicyPrincipalToString({alias:b})}})},lmc=function(a){if(!a.includeAliases||RE(a.activeSession))return[];var b=["googlers_unrestricted"];if(void 0===a.accessLevel||"EXTERNAL_PUBLIC"===a.accessLevel)b.push("public_non_google"),a.includeViewAliases&&b.push("public");return b},cmc=function(a){setTimeout(function(){a.typedText&&ja(a.typedText,",")&&Q0a(a,a.typedText.split(",")[0].trim())})},Q0a=function(a,
b){b&&(b=Qbc.test(b)?mmc(a,b):nmc(a,b),a.items.push(b));a.typedText="";kZ(a)},Dr=function(a,b){return 0<=b&&b<a.items.length},mmc=function(a,b){var c=void 0===c?!1:c;var d=fk(b);if(void 0===d.alias)throw Error("wd`"+b);b=d.alias;d=Kna(b);return new lZ("ALIAS",b,d,null,c,a)},omc=function(a,b){b=Dp(b);var c=new lZ("GROUP",b,b,null,!1,a);CJ(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;kZ(a)});return c},pmc=function(a,b){var c=void 0===c?!1:c;b=Dp(b);var d=new lZ("USER",
b,b,null,c,a);CJ(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;kZ(a)});return d},nmc=function(a,b){var c=void 0===c?!1:c;b=Dp(b);var d=new lZ("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);CJ(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;kZ(a)});return d},qmc=function(a,b,c){return new lZ("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};jZ.prototype.getAccessLevel=function(){return this.accessLevel};
jZ.prototype.getAppName=function(){return this.activeSession.getAppName()};jZ.prototype.onKeyDown=function(a){8===a.keyCode?Dr(this,this.selectedChipIndex)?(Dr(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex),a.stopPropagation(),a.preventDefault()):""===this.typedText&&0<this.items.length&&this.removeItem(this.items.length-1):46===a.keyCode?Dr(this,this.selectedChipIndex)&&Dr(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):P0a(this)};
var hmc=function(a,b){b=(b||[]).map(function(d){return rmc(a,d)});if(a.containerChips){var c=a.containerChips.filter(function(d){return void 0!==d.values&&Array.isArray(d.values)&&0<d.values.length}).map(function(d){return qmc(a,d.displayText,d.values.map(function(e){return rmc(a,e)}))});return[].concat(p(c),p(b))}return b},rmc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("ne`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("ne`"+b);return"ALIAS"===d?mmc(a,b):"USER"===
d?pmc(a,c[1]):omc(a,c[1])},imc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},jmc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},emc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},fmc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
gmc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};jZ.\u0275fac=function(a){return new (a||jZ)(A(Yd),A(kV),A(BJ),A(tu),A(hJ),A(uG))};
jZ.\u0275cmp=r({type:jZ,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&Sg(bmc,5);if(a&2){var c;Rg(c=Ug())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&K("keydown",function(c){return b.onKeyDown(c)})},inputs:{users:"users",containerChips:"containerChips",accessLevel:"accessLevel",includeAliases:"includeAliases",idForInputBox:"idForInputBox",includeViewAliases:"includeViewAliases",maxUserAllowed:"maxUserAllowed",customValidators:"customValidators",detailedUserValidators:"detailedUserValidators",
ariaLabel:"ariaLabel"},outputs:{usersChange:"usersChange",isValid:"isValid"},features:[$f,md],decls:11,vars:10,consts:[[1,"bv2-multi-user-input",3,"click"],["class","bv2-user-chip",4,"ngFor","ngForOf"],["class","bv2-multi-user-embedded-input","b-adaptive-width-input","","tabindex","0",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur",4,"ngIf"],["role","alert",1,"bv2-multi-user-errors"],[4,"ngIf"],[1,"bv2-user-chip"],[3,"isReadonly",
"isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel","chipSelection","chipClear","chipRemove"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur"],["multiUserInput",""],["target","_blank"]],template:function(a,b){a&1&&(D(0,"div",0),K("click",function(){return P0a(b)}),D(1,"div"),O(2,
O0a,2,9,"div",1),O(3,R0a,2,5,"input",2),E()(),D(4,"div",3),O(5,S0a,4,1,"span",4),O(6,T0a,2,0,"span",4),O(7,U0a,2,0,"span",4),O(8,V0a,2,0,"span",4),O(9,W0a,2,0,"span",4),O(10,X0a,2,0,"span",4),E());a&2&&(pg("focused",b.isFocused),z(2),C("ngForOf",b.items),z(1),C("ngIf",kmc(b)),z(2),C("ngIf",b.violations.has("noRestrictedPlusGroups")),z(1),C("ngIf",b.violations.has("validateGaia")),z(1),C("ngIf",b.violations.has("validateInternalAccessLevel")),z(1),C("ngIf",b.violations.has("validateExternalAccessLevel")),
z(1),C("ngIf",b.violations.has("sloLeadNotUser")),z(1),C("ngIf",b.violations.has("sloLeadNotGoogler")))},styles:[".bv2-multi-user-embedded-input[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);color:#202124;color:var(--text-high-contrast)}.bv2-multi-user-input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:1px;cursor:text;min-height:27px;padding:6px;width:600px}.bv2-multi-user-input[_ngcontent-%COMP%]:hover{box-shadow:inset 0px 1px 2px rgba(0,0,0,.1)}.bv2-multi-user-input.focused[_ngcontent-%COMP%]{box-shadow:inset 0px 1px 2px rgba(0,0,0,.3);border-color:#1a73e8;border-color:var(--primary)}.bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[_ngcontent-%COMP%]{border:0;display:inline-block;height:24px;min-width:100px;max-width:500px;width:auto;outline:none;padding-left:5px}.bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding:3px;padding-top:2px;vertical-align:top}.ng-invalid[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast)}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);cursor:initial}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:none}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}.disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover, [disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover{border-color:#dadce0;border-color:var(--divider);box-shadow:none}.bv2-multi-user-errors[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}\n/*# sourceMappingURL=multi_user_input.css.map */"]});
var lZ=function(a,b,c,d,e,f){this.principalType=a;this.detailedUserType="NO_DETAILED_TYPE";this.value=b;this.displayText=c;this.nestedChips=d;this.isSelected=!1;this.isReadonly=e;this.parentController=f};g=lZ.prototype;
g.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.parentController.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("oe`"+this.value);}};
g.isGroupChip=function(){return"GROUP"===this.principalType};g.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};g.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};g.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};g.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};
g.isContainerChip=function(){return null!==this.nestedChips};g.isInternalAccessViolated=function(){return"INTERNAL"===this.parentController.getAccessLevel()&&(this.isExternalChip()||this.isPublicChip())};g.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.parentController.getAccessLevel()&&this.isPublicChip()};g.isUserChip=function(){return"USER"===this.principalType};var smc=function(a){return{displayText:"Admins",values:a}},tmc=function(a){return[a]},umc=function(a){return{displayText:"Appenders",values:a}},vmc=xp("You are about to change the administrator privileges for this hotlist.\nMake sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits.\nDo you want to proceed?"),mZ=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=f;this.permissions=h;this.userApi=l;this.activeSession=q;this.id$=new T.ReplaySubject(1);this.idSubject$=dp(this.id$.pipe(Rf(this.destroyed$)));this.acl$=this.id$.pipe(Qf(function(x){return u.hotlistAccessPolicyFridge.watchOne(x)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=Kp(this.links);this.validity={};this.isValid=function(){return Object.values(u.validity).every(Boolean)};this.isInvalid=function(){return!u.isValid()};
this.allAppenders=[];this.onPressSave=function(){u.isRevokingAdmin()?u.dialog.open({title:"Change Hotlist Admins",content:vmc,isDestructive:!0,onConfirm:u.doSave}):u.doSave()};this.doSave=function(){var x=u.idSubject$.value;if(null!=x){var y=u.isRevokingAdmin();x={id:x,admins:Yna(u.admins),appenders:Yna(u.appenders),editors:null,readers:Yna(u.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
u.hotlistAccessPolicyFridge.save(x).subscribe({next:u.didSave(y,x.id),error:u.gotErr})}};this.didSave=function(x,y){return function(){u.snackBar.open("Access control saved",void 0,{duration:2500});u.events.hotlistChanged.next();u.permissions.poke(y);x&&u.doStar()}};this.gotErr=function(x){u.snackBar.open(Dn(x)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var x=u.idSubject$.value;x&&u.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:x,userLogin:u.activeSession.getUserEmail()}).then(function(){u.events.hotlistChanged.next()})};
this.onPressRevert=function(){u.resetEdits()};this.gotAcl=function(x){u.latestPolicy=x;var y,G,J;u.latestCompactPolicy={admins:ek(null==(y=u.latestPolicy)?void 0:y.admins),appenders:ek(null==(G=u.latestPolicy)?void 0:G.appenders),readers:ek(null==(J=u.latestPolicy)?void 0:J.readers)};u.resetEdits()};this.isChanged=function(){var x=u.latestCompactPolicy,y;if(!mj(null!=(y=x.admins)?y:[],u.admins))return!0;var G;if(!mj(null!=(G=x.appenders)?G:[],u.appenders))return!0;var J;return mj(null!=(J=x.readers)?
J:[],u.readers)?!1:!0};this.hasNoChanges=function(){return!u.isChanged()};this.acl$.pipe(Rf(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(cO(e,this.isChanged,!1))};X(mZ,Z);mZ.\u0275dir=Z.\u0275dir;var wmc=function(a){return[].concat(p(new Set([].concat(p(a.admins),p(a.appenders)))))};mZ.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
mZ.prototype.resetEdits=function(){var a;this.admins=[].concat(p(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(p(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(p(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=wmc(this)};mZ.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=null!=(b=this.latestCompactPolicy.admins)?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
mZ.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(mra(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};mZ.\u0275fac=function(a){return new (a||mZ)(A(CG),A(hJ),A(jG),A(uG),A(bO),A(jJ),A(ZH),A(tH),A(tu))};
mZ.\u0275cmp=r({type:mZ,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[$f,md],decls:22,vars:24,consts:[[1,"flex-kids-y"],[1,"muted","type-s","margin-s-bottom"],[3,"users","usersChange","isValid"],[3,"users","includeAliases","containerChips","usersChange","isValid"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange","isValid"],["target","_blank",3,"href"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[1,"margin-top",
"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"gmat-button","medium",3,"disabled","matTooltip","click"],["mat-button","","type","button",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(D(0,"form",0)(1,"label"),P(2,"Admins"),E(),D(3,"p",1),P(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),E(),D(5,"b-multi-user-input",2),K("usersChange",function(c){b.admins=c;b.allAppenders=wmc(b)})("isValid",
function(c){return b.validity.admins=c}),E(),D(6,"label"),P(7,"View and append"),E(),D(8,"p",1),P(9,"Reorder hotlist, add/remove issues"),E(),D(10,"b-multi-user-input",3),K("usersChange",function(c){b.appenders=c;b.allAppenders=wmc(b)})("isValid",function(c){return b.validity.appenders=c}),E(),D(11,"label"),P(12,"View only"),E(),D(13,"p",1),P(14,"View the hotlist"),E(),D(15,"b-multi-user-input",4),K("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),E()(),
D(16,"p"),P(17," See "),D(18,"a",5),P(19,"access control documentation"),E(),P(20," for an explanation of the settings.\n"),E(),O(21,Y0a,5,4,"div",6));a&2&&(z(5),pg("disabled",b.isReadOnly),C("users",b.admins),z(5),pg("disabled",b.isReadOnly),C("users",b.appenders)("includeAliases",!0)("containerChips",Gg(18,tmc,Gg(16,smc,b.admins))),z(5),pg("disabled",b.isReadOnly),C("users",b.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Gg(22,tmc,Gg(20,umc,b.allAppenders))),z(3),C("href",
b.accessControlLink,ue),z(3),C("ngIf",!b.isReadOnly))},dependencies:[bx,Mx,Fx,Jx,NA,qD,jZ],styles:["[_nghost-%COMP%] {\n      display: block;\n      max-width: 600px;\n      padding: 16px; \n    }\n    label[_ngcontent-%COMP%] {\n      font-weight: bold;\n      line-height: 2em;\n    }"]});var xmc=["hotlistName"],nZ=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new T.ReplaySubject(1);this.hotlist$=this.id$.pipe(Qf(function(f){return e.fridge.watchOne(f)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(f){e.latestHotlist=f;var h;e.isArchived=null!=(h=null==f?void 0:f.archived)?h:!1;e.resetEdits(f)};this.gotErr=function(f){e.snackBar.open(Dn(f)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){e.snackBar.open("Hotlist saved",void 0,{duration:2500});e.events.hotlistChanged.next()};this.isChanged=function(){var f,h=null!=(f=e.latestHotlist)?f:{};return!mj(h,e.localEdits)};this.hasNoChanges=function(){return!e.isChanged()};this.save=function(){e.fridge.save(e.localEdits).subscribe({next:e.didSave,error:e.gotErr})};this.revert=function(){e.resetEdits(e.latestHotlist)};this.hotlist$.pipe(Rf(this.destroyed$)).subscribe(function(f){e.gotHotlist(f)});this.subscriptions.add(cO(d,
this.isChanged,!1))};X(nZ,Z);nZ.\u0275dir=Z.\u0275dir;nZ.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};nZ.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};nZ.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=nj(a))?b:{}};nZ.\u0275fac=function(a){return new (a||nZ)(A(xH),A(jG),A(uG),A(bO))};
nZ.\u0275cmp=r({type:nZ,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&Sg(xmc,5);if(a&2){var c;Rg(c=Ug())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[$f,md],decls:10,vars:5,consts:[["name","hotlist",1,"flex-kids-y"],["for","hotlist-name",1,"required"],["type","text","id","hotlist-name","name","name","required","","aria-required","true","autocomplete","off",3,"disabled","ngModel","ngModelChange"],["hotlistName",""],["for","hotlist-description",
1,"margin-top"],["id","hotlist-description","name","description",3,"disabled","ngModel","ngModelChange"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"gmat-button","medium",3,"disabled","matTooltip","click"],["mat-button","","type","button",1,"gmat-button","medium",3,"disabled","matTooltip","click"],[3,"hotlistId"]],template:function(a,b){a&1&&(D(0,"form",0)(1,"label",1),P(2,"Name"),E(),D(3,"input",
2,3),K("ngModelChange",function(c){return b.localEdits.name=c}),E(),D(5,"label",4),P(6,"Description"),E(),D(7,"textarea",5),K("ngModelChange",function(c){return b.localEdits.description=c}),P(8,"  "),E(),O(9,Z0a,7,7,"div",6),E());a&2&&(z(3),C("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),z(4),C("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),z(2),C("ngIf",!b.isReadOnly))},dependencies:[bx,Mx,yh,Ex,Fx,Wx,Lx,Jx,NA,qD,hZ,hx],styles:["[_nghost-%COMP%]{display:block;max-width:600px;padding:16px}label[_ngcontent-%COMP%]{font-weight:bold;line-height:2em}textarea[_ngcontent-%COMP%]{min-height:150px;resize:vertical}input.ng-invalid[_ngcontent-%COMP%], input.ng-invalid.ng-touched[_ngcontent-%COMP%]:not(.mat-input-element){border:1px solid;border-color:#ea4335;border-color:var(--bad)}\n/*# sourceMappingURL=edit_hotlist_basic.css.map */"]});var oZ=function(a,b){Z.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new T.ReplaySubject(1);this.hotlist$=this.id$.pipe(Qf(function(d){return c.hotlists.watchOne(d)}))};X(oZ,Z);oZ.\u0275dir=Z.\u0275dir;oZ.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};oZ.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};oZ.\u0275fac=function(a){return new (a||oZ)(A(xH),A(CG))};
oZ.\u0275cmp=r({type:oZ,selectors:[["b-edit-hotlist-header"]],inputs:{id:["hotlistId","id"]},features:[$f,md],decls:9,vars:8,consts:[[1,"flex-kids-x","align-items-center","gap-s","padded-x"],[1,"muted"],[4,"ngIf"],["class","color-bad-text",4,"ngIf"],[1,"color-bad-text"]],template:function(a,b){a&1&&(D(0,"header",0)(1,"h2")(2,"span",1),P(3),E(),O(4,$0a,2,1,"ng-container",2),R(5,"async"),E(),O(6,a1a,2,0,"strong",3),R(7,"async"),O(8,b1a,1,0,"b-spinner",2),E());if(a&2){var c;z(3);Q(" Hotlist ",b.id,": ");
z(1);C("ngIf",S(5,4,b.hotlist$));z(2);C("ngIf",null==(c=S(7,6,b.hotlist$))?null:c.archived);z(2);C("ngIf",b.isThinking(b.id))}},dependencies:[bx,vN,hx],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var pZ=function(a){Z.call(this);this.activeSession=a;this.URLS=au;this.id$=new T.ReplaySubject(1);this.enableBulkEditUi=Qp(this.activeSession,"enableBulkEditUi")};X(pZ,Z);pZ.\u0275dir=Z.\u0275dir;pZ.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};pZ.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};pZ.\u0275fac=function(a){return new (a||pZ)(A(tu))};
pZ.\u0275cmp=r({type:pZ,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:["hotlistId","id"]},features:[$f,md],decls:6,vars:2,consts:[[1,"button-bar","border-bottom","padded-s"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],["mat-button","","matTooltip","View the issues tagged with this hotlist",1,"gmat-button","medium","no-visited-no-active",3,"href"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId"]],template:function(a,
b){a&1&&(D(0,"section",0)(1,"b-button",1),K("onAction",function(){return b.onPressBack()}),F(2,"b-icon",2),E(),D(3,"a",3),P(4," View Issues "),E(),O(5,c1a,2,3,"hotlist-add-issue-btn",4),E());a&2&&(z(3),C("href",b.URLS.HOTLIST_VIEW(b.id),ue),z(2),C("ngIf",b.enableBulkEditUi))},dependencies:[bx,OA,qD,ZN,nO,gZ,hx],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var ymc={403:"You do not have permission to view this Hotlist.",404:"This Hotlist does not exist."},qZ=function(a,b,c,d){this.routeParams=a;this.pageTitle=b;this.permissions=c;this.hotlists=d;this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watchOne(this.resourceId).pipe(B(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(B(function(e){var f;return null!=(f=e.status)?f:-1}),B(function(e){var f;return null!=
(f=ymc[e])?f:"unknown error"}),Pf(void 0));this.tabIndex=0};qZ.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};qZ.\u0275fac=function(a){return new (a||qZ)(A(JJ),A(tR),A(ZH),A(xH))};
qZ.\u0275cmp=r({type:qZ,selectors:[["edit-hotlist"]],decls:4,vars:6,consts:[[4,"ngIf"],[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],["class","muted padded-x",4,"ngIf"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(O(0,e1a,13,14,"ng-container",0),R(1,"async"),O(2,f1a,7,1,"ng-container",0),R(3,"async"));a&2&&(C("ngIf",void 0===S(1,2,b.hotlistErrorMsg$)),z(2),C("ngIf",S(3,
4,b.hotlistErrorMsg$)))},dependencies:[bx,XM,WM,IN,wM,mZ,nZ,oZ,pZ,hx],encapsulation:2});var rZ=function(){};rZ.\u0275fac=function(a){return new (a||rZ)};rZ.\u0275cmp=r({type:rZ,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&O(0,g1a,3,1,"b-callout",0);a&2&&C("ngIf",b.error)},dependencies:[bx,sS,tS],encapsulation:2});var sZ=function(){};sZ.\u0275fac=function(a){return new (a||sZ)};sZ.\u0275mod=fd({type:sZ});sZ.\u0275inj=Qc({imports:[px,IS]});var tZ=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};tZ.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!wp(this.email)};tZ.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};tZ.\u0275fac=function(a){return new (a||tZ)(A(tu))};
tZ.\u0275cmp=r({type:tZ,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],[3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],["role","dialog","aria-label","Group email hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","bv2-group-email-card"],[1,"bv2-group-email-card-content"],[1,"bv2-group-email-card-name"],[1,"bv2-group-email-card-email"],["svgIcon",
"group"],["class","bv2-group-email-card-links-container",4,"ngIf"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"],[4,"ngIf"]],template:function(a,b){a&1&&(wg(),O(0,m1a,17,5,"ng-container",0),O(1,n1a,1,0,"ng-template",null,1,$g));if(a&2){var c=N(2);C("ngIf",!!wp(b.email))("ngIfElse",c)}},dependencies:[bx,gx,OB,XI,bJ],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{--onedev-card-background: var(--surface-default, rgb(255, 255, 255));--onedev-card-title-text: var(--text-default, rgb(32, 33, 36));--onedev-card-icon: var(--icon, rgb(95, 99, 104));--onedev-card-secondary-text: var(--text-secondary, rgb(95, 99, 104));--onedev-card-link-color: var(--primary-default, rgb(26, 115, 232))}.onedev-hovercard-content[_ngcontent-%COMP%]{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]{padding:20px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--onedev-card-link-color)}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info.with-avatar[_ngcontent-%COMP%]{display:grid;grid-template-columns:48px auto;column-gap:20px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info.with-avatar[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{grid-row:1/span 2}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]{grid-row:2;grid-column:2}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .chips[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;margin-top:12px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .detail[_ngcontent-%COMP%]{margin-top:2px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]:empty{margin-top:0px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .subcontent[_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .dot-separated-list[_ngcontent-%COMP%]{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .dot-separated-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline}.onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.bv2-group-email-card[_ngcontent-%COMP%]{margin:-15px -20px -20px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]{padding:15px 60px 20px 15px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;vertical-align:middle}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]   .bv2-group-email-card-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:10px 15px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]:hover, .bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]:active{text-decoration:underline}\n/*# sourceMappingURL=group_email_card.css.map */"]});
var uZ=function(){};uZ.\u0275fac=function(a){return new (a||uZ)};uZ.\u0275mod=fd({type:uZ});uZ.\u0275inj=Qc({imports:[px,rD,gM]});var Bia=function(a,b,c,d,e,f){return{"bv2-user-chip-external":a,"bv2-user-chip-non-gaia":b,"bv2-user-chip-not-accessible":c,"bv2-user-chip-container":d,selected:e,readonly:f}},vZ=function(a){Z.call(this);this.activeSession=a;this.isReadonly=!0;this.isSelected=!1;this.isWidgetDisabled=!0;this.nestedChips=this.detailedUserType=this.principalType=null;this.displayText=this.value="";this.accessLevel=void 0;this.chipSelection=new vw;this.chipClear=new vw;this.chipRemove=new vw};X(vZ,Z);vZ.\u0275dir=Z.\u0275dir;
g=vZ.prototype;g.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};g.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};g.isContainerChip=function(){return null!==this.nestedChips};g.isUserChip=function(){return"USER"===this.principalType};g.isGroupChip=function(){return"GROUP"===this.principalType};g.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};
g.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};g.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.accessLevel&&this.isPublicChip()};g.isInternalAccessViolated=function(){return"INTERNAL"===this.accessLevel&&(this.isExternalChip()||this.isPublicChip())};
g.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.activeSession.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("oe`"+this.value);}};
var zmc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};vZ.\u0275fac=function(a){return new (a||vZ)(A(tu))};
vZ.\u0275cmp=r({type:vZ,selectors:[["b-contact-chip"]],inputs:{isReadonly:"isReadonly",isSelected:"isSelected",isWidgetDisabled:"isWidgetDisabled",principalType:"principalType",detailedUserType:"detailedUserType",nestedChips:"nestedChips",value:"value",displayText:"displayText",accessLevel:"accessLevel"},outputs:{chipSelection:"chipSelection",chipClear:"chipClear",chipRemove:"chipRemove"},features:[$f],decls:9,vars:15,consts:[[1,"bv2-user-chip-item",3,"ngClass","matTooltip","focus","blur"],[1,"alias-icon"],
[3,"svgIcon",4,"ngIf"],[1,"user-chip-name"],[3,"email",4,"ngIf"],[4,"ngIf"],["role","button","tabindex","-1","class","user-chip-x",3,"matTooltip","click",4,"ngIf"],["class","bv2-user-chip-nested-content-container",4,"ngIf"],[3,"svgIcon"],[3,"email"],["role","button","tabindex","-1",1,"user-chip-x",3,"matTooltip","click"],["svgIcon","close"],[1,"bv2-user-chip-nested-content-container"],[1,"bv2-user-chip-nested-content"],[1,"jfk-bubble"],["class","bv2-user-chip",4,"ngFor","ngForOf"],[1,"jfk-bubble-arrow",
"jfk-bubble-arrowup"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],[1,"bv2-user-chip"],[3,"value","detailedUserType","principalType","accessLevel","displayText"]],template:function(a,b){a&1&&(D(0,"span",0),K("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),D(1,"span",1),O(2,o1a,1,1,"mat-icon",2),E(),D(3,"div",3),O(4,p1a,2,2,"b-person-hovercard",4),O(5,q1a,2,2,"b-group-email-card",4),O(6,r1a,2,1,"div",5),E(),O(7,s1a,2,2,"div",6),O(8,
u1a,7,1,"div",7),E());a&2&&(C("ngClass",Cia(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),z(2),C("ngIf",zmc(b)),z(2),C("ngIf",b.isUserChip()),z(1),C("ngIf",b.isGroupChip()),z(1),C("ngIf",!b.isUserChip()&&!b.isGroupChip()),z(1),C("ngIf",!b.isReadonly&&!b.isWidgetDisabled),z(1),C("ngIf",b.isContainerChip()))},dependencies:[$w,ax,bx,qD,OB,pL,tZ,vZ],styles:["span.bv2-user-chip-item[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:block;height:20px;white-space:nowrap}span.bv2-user-chip-item[_ngcontent-%COMP%]   .alias-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:18px;height:20px;margin-left:3px;margin-right:-3px;opacity:.6}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{cursor:pointer;display:inline-block}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:16px;height:20px;opacity:.6;margin-left:-3px;margin-right:2px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%]{margin-top:10px;position:relative;white-space:normal}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%]{position:absolute;width:600px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%]{z-index:900 !important;padding:10px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .bv2-user-chip[_ngcontent-%COMP%] > span.bv2-user-chip-item[_ngcontent-%COMP%]:active{border-color:#3c4043;border-color:var(--gfx)}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplbefore[_ngcontent-%COMP%]{left:-1px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplafter[_ngcontent-%COMP%]{left:0}span.bv2-user-chip-item.selected[_ngcontent-%COMP%]   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:hover:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:block}span.bv2-user-chip-item[_ngcontent-%COMP%]:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:active{border-color:#1a73e8;border-color:var(--primary)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item.bv2-user-chip-external[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg)}span.bv2-user-chip-item.bv2-user-chip-non-gaia[_ngcontent-%COMP%]{border:1px dashed;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-not-accessible[_ngcontent-%COMP%]{border:1px solid;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%]{cursor:pointer}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%] > .user-chip-name[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-style:dashed;height:14px}\n/*# sourceMappingURL=contact_chip.css.map */"]});var wZ=function(){};wZ.\u0275fac=function(a){return new (a||wZ)};wZ.\u0275mod=fd({type:wZ});wZ.\u0275inj=Qc({imports:[px,ay,lE,rD,sM,uZ,gK,FW,RU]});nda(jZ,[ax,bx,yh,Ex,Lx,EW,QU,vZ]);var xZ=function(){};xZ.\u0275fac=function(a){return new (a||xZ)};xZ.\u0275mod=fd({type:xZ});xZ.\u0275inj=Qc({providers:[{provide:i4b,useValue:{enabled:!0}}],imports:[px,ay,BD,rD,lE,aN,yP,iG,KN,KP,xN,sZ,wZ,PN,AM]});var yZ=function(){};yZ.\u0275fac=function(a){return new (a||yZ)};yZ.\u0275mod=fd({type:yZ});yZ.\u0275inj=Qc({imports:[oS,yP,nY,px,gN,OU,xZ,qY,KP,BD,gB,lE,pY,oY]});var zZ=function(a,b,c,d,e){Z.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=Kj;this.hotlists=[];this.registerKeys()};X(zZ,Z);zZ.\u0275dir=Z.\u0275dir;g=zZ.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.hotlists.length||(this.focusedIndex++,this.scrollToFocusedIndex())};
g.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.registerKeys=function(){var a=this,b=wO(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next hotlist",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous hotlist",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View hotlist detail",onPress:function(){var c=a.hotlists[a.focusedIndex];c&&a.editHotlist(c)}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};g.renderRowLabel=function(a){return this.hotlists[a].name};g.editHotlist=function(a){this.bLocation.path(this.paths.editHotlist(a.hotlistId))};
zZ.\u0275fac=function(a){return new (a||zZ)(A(Yd),A(bH),A(cH),A(vO),A(HH,2))};
zZ.\u0275cmp=r({type:zZ,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Dg([HH]),$f],decls:26,vars:1,consts:[[1,"pop-grid","bv2-resource-list"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","hotlist-name","clickable"],
["tabindex","-1",1,"grid-link",3,"href","click"],[1,"bv2-resource-list-cell","hotlist-description","clickable"],[1,"bv2-resource-list-cell","resource-admins","clickable"],[4,"ngFor","ngForOf"],[1,"bv2-resource-list-cell","hotlist-id","clickable"],[4,"ngIf"]],template:function(a,b){a&1&&(D(0,"table",0)(1,"thead")(2,"tr",1),F(3,"th",2),D(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),P(8," Hotlist name "),E()()()(),D(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),P(13," Description "),E()()()(),D(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),P(18," Admins "),E()()()(),D(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),P(23," ID "),E()()()()()(),D(24,"tbody"),O(25,x1a,11,9,"tr",6),E()());a&2&&(z(25),C("ngForOf",b.hotlists))},dependencies:[ax,bx],encapsulation:2});var AZ=function(){};AZ.\u0275fac=function(a){return new (a||AZ)};AZ.\u0275mod=fd({type:AZ});AZ.\u0275inj=Qc({imports:[px]});var BZ=function(a,b){this.bLocation=a;this.butterBar=b},Amc=function(a,b){var c=a.bLocation.search()[b];return null!=c?Array.isArray(c)?(oG(a.butterBar,"Given multiple values for parameter "+b+"; using the first."),c[0]):"boolean"===typeof c?"":c:null};BZ.prototype.getCount=function(){var a=Amc(this,"c");return a?sj(a):null};var Bmc=function(a){return(a=Amc(a,"p"))?sj(a):null};BZ.prototype.getQuery=function(){return Amc(this,"q")};
BZ.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(lm).filter(Vj):null};BZ.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(tqa).filter(Vj):null};
var CZ=function(a,b,c){c=void 0===c?!1:c;var d=function(e,f){c?a.bLocation.search(e,f,!0):a.bLocation.search(e,f)};void 0!==b.displayColumns&&d("d",null==b.displayColumns?null:(b.displayColumns||[]).map(function(e){return Cmc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var f="ASCENDING"==e.direction?"asc":"desc";return Cmc(e.fieldId)+":"+f}));void 0!==b.page&&d("p",b.page);void 0!==b.resultsPerPage&&d("c",b.resultsPerPage);void 0!==b.query&&d("q",
b.query)},Cmc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};BZ.\u0275fac=function(a){return new (a||BZ)(n(bH),n(mG))};BZ.\u0275prov=Pc({token:BZ,factory:BZ.\u0275fac,providedIn:"root"});var DZ=function(a){Y.call(this,a)};X(DZ,Y);DZ.prototype.setCustomField=function(a){return Ok(this,xk,1,a)};DZ.messageId="b.CustomFieldResponse";var EZ=function(){},FZ=function(a){this.executor=a};X(FZ,EZ);FZ.prototype.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:DZ}).then(ooa)};FZ.prototype.create=function(a,b){b=yk(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:DZ}).then(ooa)};
FZ.prototype.update=function(a,b,c){b=Number(b);c=yk(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:DZ}).then(ooa)};FZ.prototype.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};FZ.\u0275fac=function(a){return new (a||FZ)(n(oE))};FZ.\u0275prov=Pc({token:FZ,factory:FZ.\u0275fac,providedIn:"root"});var GZ=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};GZ.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:Tp({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
GZ.prototype.getParameters=function(a,b){var c=this,d=b?function(){return Dmc(b)}:function(){return Emc(c)},e=b?function(){return Fmc(b)}:function(){return Gmc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return HZ(l)}).then(null,d).then(function(l){return HZ(l)}).then(null,tv(a.displayColumns)).then(function(l){return Hmc(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return HZ(l)}).then(null,e).then(function(l){return HZ(l)}).then(null,
tv(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return HZ(l)}).then(null,function(){return Imc(c)}).then(function(l){return HZ(l)}).then(null,tv(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return HZ(l)}).then(null,function(){return Jmc(b,function(l){return l.query})}).then(null,tv(a.query));a=Bmc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var HZ=function(a){return null==a?Promise.reject(null):a},Dmc=function(a){return Jmc(a,function(b){return b.displayColumn}).then(function(b){return Kmc(b)})},Fmc=function(a){return Jmc(a,function(b){return b.sortOrder}).then(function(b){return Lmc(b)})},Gmc=function(a){return(0,T.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return HZ(b)}).then(function(b){return Lmc(b)})},Emc=function(a){return(0,T.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return HZ(b)}).then(function(b){return Kmc(b)})},
Imc=function(a){return(0,T.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(B(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return HZ(b)})},Jmc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},Kmc=function(a){if(!a||!a.length)return null;a=bn(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new km({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:"CANONICAL_ISSUE_ID"===b.type?"DUPLICATE_OF_ISSUE_ID":b.type})})},Lmc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new om(new km(b.column),b.order):new om(new km(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},Hmc=function(a,b){function c(){for(var l=m(b),q=l.next();!q.done;q=l.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var u=d[q.customFieldId];q.customFieldName=u?u:"Custom field "+
q.customFieldId}return b}if(!b)return Promise.resolve([]);for(var d={},e=[],f=m(b),h=f.next();!h.done;h=f.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(l){d[l.customFieldId]=l.name})));return Promise.all(e).then(c,c)};GZ.\u0275fac=function(a){return new (a||GZ)(n(BZ),n(CI),n(EZ))};GZ.\u0275prov=Pc({token:GZ,factory:GZ.\u0275fac,providedIn:"root"});var IZ=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M){Z.call(this);var V=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=f;this.issuePagination=h;this.gridPreferencesFetcher=l;this.paths=q;this.errorHandler=u;this.domSafe=x;this.timeout=y;this.hotkeys=G;this.appSearchState=M;this.ANALYTICS_CATEGORY="panel";this.resource=this.searchResults=this.initialSortPreferences=this.initialIssueColumns=this.displayColumns=null;this.isLoading=!1;this.page=1;this.issueColumnsInternal=[];this.sortPreferences=
[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new vw;this.resultsLoaded=new vw;this.selectionChange=new vw;this.isColumnSaveEnabled=!1;this.cachedSort=null;this.currentUserEmail=d.getUserEmail();this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue in the current panel",onPress:function(){var U;null==(U=V.issuesGrid)||Slc(U)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",
onPress:function(){var U;null==(U=V.issuesGrid)||Tlc(U)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var U;null==(U=V.issuesGrid)||Rlc(U)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var U;null==(U=V.issuesGrid)||Vlc(U)}},{keys:[Xp("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var U;null==(U=V.issuesGrid)||Wlc(U,!0)}},{keys:[Xp("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var U;null==(U=V.issuesGrid)||Wlc(U,!1)}},{keys:[Yp("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var U;null==(U=V.issuesGrid)||U.selectAll()}},{keys:[Yp("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var U;null==(U=V.issuesGrid)||Plc(U)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(U){var W=J.document.activeElement;
if(1===U&&"A"===(null==W?void 0:W.tagName))if(W.href)U=V.paths.getBaseUrl(),uj(W.href,U)?b.url(W.href.slice(U.length)):V.domSafe.openInNewTab(W.href);else{var ba;null==(ba=V.issuesGrid)||cZ(ba)}else{var pa;null==(pa=V.issuesGrid)||cZ(pa)}}}];this.destroyed$.subscribe(function(){var U;null==(U=V.unregisterHotkeys)||U.call(V)})};X(IZ,Z);IZ.prototype.columnsChange=function(a){this.issueColumns=a};IZ.prototype.ngOnInit=function(){this.getIssues();Mmc(this)};
var Mmc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=wO(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},Q1a=function(a,b){a.issuesGrid=b;Ulc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};g=IZ.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=lm(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new om(d,"ASC"==b?"ASCENDING":"DESCENDING");Na(this.sortPreferences,function(f){return mj(f.fieldId,e.fieldId)});this.sortPreferences=c?[e].concat(this.sortPreferences.slice(0,2)):[e];this.page=1;this.refreshResults()}};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"==a.fieldId.type?String(a.fieldId.customFieldId):rj(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};mj(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(p(b),p(yYa(a)));this.initialIssueColumns=nj(this.issueColumns);this.isColumnSaveEnabled=!0};
g.goToIssue=function(a,b,c){c&&"A"===c.target.tagName||(Lp(this.analytics,this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):this.bLocation.url(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){DS(this.issuePagination);this.getIssues()};g.exportCsv=function(){KI(this.domSafe,this.getCsvUrl())};
g.getCsvUrl=function(){this.$log.warn("WARNING: Method getCsvUrl() not implemented.");return""};g.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;var b=this.resource?Promise.resolve(this.resource):this.loadResource();return this.doSearch(b).catch(function(c){a.$log.warn("WARNING: unable to doSearch()",c)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this,c=this.getGridPreferencesDefaults(),d=this.gridPreferencesFetcher.fetch(c,a.then(function(){return{query:null!=b.resource.query?b.resource.query:null,displayColumn:b.resource.displayColumn,sortOrder:b.resource.sortOrder}}));a=d.searchPreferences.then(function(e){if(!e.query)return Promise.reject(null);e=b.getSearchParams(e);b.searchParams=e;e.trackerIds=b.appSearchState.currentTrackerScope;return CS(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?b.goToPage(e):
e&&b.errorHandler.errorHandler(null,e)});return Tp({searchResultsPage:a,displayColumns:d.displayColumns}).then(function(e){var f=e.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.sortPreferences=f.params.sortColumns||[];b.initialSortPreferences||(b.initialSortPreferences=nj(b.sortPreferences));d.displayColumns.then(function(h){b.initColumns(h,b.getMetaColumns(f))});b.resultsLoaded.emit(b.searchResults.issues);b.timeout.schedule(function(){var h=b.issuePagination.focusedIssueIndex_;-1!=
h&&(b.focusedRowIndex=h-f.startIndex)})})};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:Nmc,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=zYa(this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):Omc).length)).map(function(c){return new km(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;nG(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=nj(a.issueColumns);a.initialSortPreferences=nj(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){Lp(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(p(this.initialIssueColumns||[]));this.initialSortPreferences&&!mj(this.initialSortPreferences,this.sortPreferences)&&(Ja(this.sortPreferences),Fu(oaa,this.sortPreferences,void 0,0).apply(null,this.initialSortPreferences),this.refreshResults())};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!mj(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!mj(this.initialSortPreferences,this.sortPreferences):!1};g.isEditable=function(){var a=this;return!!this.resource&&this.resource.adminUsers.some(function(b){return b.emailAddress===a.currentUserEmail})};g.getMetaColumns=function(){return Omc};
g.getSearchParams=function(a){a=nj(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.url();return a};
Ei.Object.defineProperties(IZ.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){mj(a,this.issueColumnsInternal)||(this.issueColumnsInternal=a,Lp(this.analytics,this.ANALYTICS_CATEGORY,"columnModification"))}},focusedRowIndex:{configurable:!0,enumerable:!0,set:function(a){var b=this.isFocused;this.focusedRowIndexInternal!==a&&(this.focusedRowIndexInternal=a,this.focusedRowIndexChange.emit(a));this.isFocused!==b&&Mmc(this)},get:function(){return this.focusedRowIndexInternal}},
isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var Omc=[dZ,eZ,fZ],Nmc="priority type title assignee status issueId modifiedTime".split(" ").map(lm);IZ.\u0275fac=function(a){return new (a||IZ)(A(HH),A(bH),A(pG),A(tu),A(mG),A(LH),A(BS),A(GZ),A(cH),A(qG),A(JI),A(XF),A(vO),A(Window),A(oT))};
IZ.\u0275dir=r({type:IZ,viewQuery:function(a,b){a&1&&Sg(aZ,5);if(a&2){var c;Rg(c=Ug())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[$f]});var JZ=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};JZ.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:xp("Are you sure you want to remove this item? It will be removed from the bookmark group permanently."),onConfirm:function(){a.appEvents.dashboardPanels.remove.next(a.panelId)}})};JZ.\u0275fac=function(a){return new (a||JZ)(A(jJ),A(uG))};
JZ.\u0275cmp=r({type:JZ,selectors:[["b-panel-controls"]],inputs:{panelId:"panelId",first:"first",last:"last"},decls:6,vars:1,consts:[["mat-icon-button","","aria-label","Customize list view",1,"gmat-button","small","bv2-grid-settings-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],["menu",""],["matMenuContent",""],["mat-menu-item","","class","bv2-panel-move-to-top-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-up-menuitem",3,"click",4,"ngIf"],["mat-menu-item",
"","class","bv2-panel-move-down-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-to-bottom-menuitem",3,"click",4,"ngIf"],["mat-menu-item","",1,"bv2-panel-remove-edit-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-top-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-up-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-down-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem",3,"click"]],template:function(a){a&1&&(D(0,
"div")(1,"button",0),F(2,"mat-icon",1),E(),D(3,"mat-menu",null,2),O(5,C1a,6,4,"ng-template",3),E()());if(a&2){var b=N(4);z(1);C("matMenuTriggerFor",b)}},dependencies:[bx,iD,gD,hD,fD,OB,NA],encapsulation:2});var KZ=function(){};KZ.\u0275fac=function(a){return new (a||KZ)};KZ.\u0275mod=fd({type:KZ});KZ.\u0275inj=Qc({imports:[px,jD,rD,BD]});var LZ=function(){};LZ.prototype.getValue=function(){return this.row[this.column.name]||""};LZ.prototype.isCustomField=function(){return this.column.isCustomField};
LZ.prototype.getCustomFieldValue=function(){var a;if(!(a=this.row.customFieldValueMap[this.column.name])){a=this.row;var b=this.column.name;a.customFieldMap&&b?(b=b.toLowerCase(),a=(b=a.customFieldNameToIdMap[b])?a.customFieldValueMap[String(b)]||null:null):a=null}if(!a)return null;a=new Bj(a);mj(this.customFieldValue,a)||(this.customFieldValue=a);return this.customFieldValue};LZ.\u0275fac=function(a){return new (a||LZ)};
LZ.\u0275cmp=r({type:LZ,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"customFieldValue",4,"ngIf"],[3,"customFieldValue"]],template:function(a,b){a&1&&(O(0,D1a,2,2,"span",0),O(1,E1a,1,1,"b-custom-field-value-display",1));a&2&&(C("ngIf",!b.isCustomField()),z(1),C("ngIf",b.isCustomField()))},dependencies:[bx,$W],encapsulation:2,changeDetection:0});var MZ=function(){};MZ.\u0275fac=function(a){return new (a||MZ)};MZ.\u0275mod=fd({type:MZ});MZ.\u0275inj=Qc({imports:[px,lE,aX]});nda(OY,[ax,bx,gx,TY,LZ]);var NZ=function(){};NZ.\u0275fac=function(a){return new (a||NZ)};NZ.\u0275mod=fd({type:NZ});NZ.\u0275inj=Qc({imports:[px,gM]});var OZ=function(){};OZ.\u0275fac=function(a){return new (a||OZ)};OZ.\u0275mod=fd({type:OZ});OZ.\u0275inj=Qc({imports:[px,NZ,hN]});var PZ=function(){};PZ.\u0275fac=function(a){return new (a||PZ)};PZ.\u0275mod=fd({type:PZ});PZ.\u0275inj=Qc({imports:[WY,px,jD,XQ,lE,BD,gB,uA,KP,rD,MZ,xQ,zQ,hN,AQ,gK,sM,HY,OZ,IP,gN,uT,ZW,gM,pN,HP]});var QZ=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
QZ.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,l=b[0].position,q=l>b[1].position,u=b[c],x=b[d].position;saa(b,c,d);null==f||f();nG(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,u.issueId,x).then(function(){for(var y=l,G=m(b),J=G.next();!J.done;J=G.next())J.value.position=y,y+=q?-1:1;null==f||f();nG(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
QZ.\u0275fac=function(a){return new (a||QZ)(n(oH),n(mG),n(uG))};QZ.\u0275prov=Pc({token:QZ,factory:QZ.\u0275fac,providedIn:"root"});var RZ=function(a){this.buttonRef=a;this.toRefocus=!1};RZ.prototype.ngOnChanges=function(){var a=this;this.disabled?(document.activeElement!==this.buttonRef.nativeElement||this.toRefocus||(this.toRefocus=!0),this.buttonRef.nativeElement.disabled=!0):(this.buttonRef.nativeElement.disabled=!1,document.activeElement!==this.buttonRef.nativeElement&&this.toRefocus&&setTimeout(function(){a.buttonRef.nativeElement.focus();a.toRefocus=!1}))};RZ.\u0275fac=function(a){return new (a||RZ)(A(Yd))};
RZ.\u0275dir=r({type:RZ,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[md]});var SZ=function(){this.pageChange=new vw;this.resultsPerPageChange=new vw;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};SZ.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var Pmc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
Ei.Object.defineProperties(SZ.prototype,{menuItems:{configurable:!0,enumerable:!0,get:function(){var a=this;return this.resultsPerPageOptions.map(function(b){return{type:"select",label:String(b),action:function(){a.resultsPerPageChange.emit({option:b})},selected:!!a.searchResults&&a.searchResults.params.resultsPerPage===b,disabled:!!a.searchResults&&a.searchResults.params.resultsPerPage===b}})}}});SZ.\u0275fac=function(a){return new (a||SZ)};
SZ.\u0275cmp=r({type:SZ,selectors:[["b-pagination"]],inputs:{searchResults:"searchResults",resultsPerPageFixed:"resultsPerPageFixed"},outputs:{pageChange:"pageChange",resultsPerPageChange:"resultsPerPageChange"},decls:7,vars:4,consts:[[1,"bv2-appbar-page"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems",4,"ngIf"],["aria-live","polite","role","alert","class","bv2-appbar-pagenums",4,"ngIf"],["mat-icon-button","","focusBack","","color","primary",
"mat-tooltip","Go to previous page","aria-label","Go to previous page",1,"large","left","compact",3,"disabled","click","keydown.enter"],["svgIcon","arrow-left",1,"large"],["mat-icon-button","","focusBack","","color","primary","mat-tooltip","Go to next page","aria-label","Go to next page",1,"large","right","compact",3,"disabled","click","keydown.enter"],["svgIcon","arrow-right",1,"large"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems"],["aria-live",
"polite","role","alert",1,"bv2-appbar-pagenums"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,F1a,1,1,"b-actions-menu",1),O(2,G1a,6,3,"span",2),D(3,"button",3),K("click",function(){return Pmc(b)})("keydown.enter",function(c){Pmc(b);return c.stopPropagation()}),F(4,"mat-icon",4),E(),D(5,"button",5),K("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),F(6,"mat-icon",6),E()());a&2&&(z(1),C("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),z(1),C("ngIf",b.searchResults&&0<b.searchResults.issues.length),z(1),C("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),z(2),C("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[bx,NA,OB,OO,RZ],encapsulation:2});var TZ=function(){};TZ.\u0275fac=function(a){return new (a||TZ)};TZ.\u0275mod=fd({type:TZ});TZ.\u0275inj=Qc({});var UZ=function(){};UZ.\u0275fac=function(a){return new (a||UZ)};UZ.\u0275mod=fd({type:UZ});UZ.\u0275inj=Qc({imports:[px,BD,rD,MP,TZ]});var VZ=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W){IZ.call(this,c,e,f,h,l,q,u,x,y,d,G,M,V,U,W);this.hotlists=a;this.hotlistApi=b;this.appEvents=J;this.resource=null};X(VZ,IZ);VZ.\u0275dir=IZ.\u0275dir;g=VZ.prototype;g.ngOnInit=function(){IZ.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?IZ.prototype.setSort.call(this,a,b,!1):IZ.prototype.setSort.call(this,a,b)};
g.loadResource=function(){var a=this,b=this.hotlistApi.get(this.hotlistId);b.then(function(c){a.resource=c;a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c);a.resource=null});return b};
g.saveResource=function(){var a=this;if(this.resource)return this.hotlistApi.updateMetadata(this.hotlistId,this.resource).then(function(b){a.resource=b;a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId,origin:"hotlist-panel"});nG(a.butterBar,'Saved changes to hotlist "'+b.name+'".');Lp(a.analytics,a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges();return b}).catch(function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)});oG(this.butterBar,"Hotlist is not set at this time.");
return Promise.resolve()};g.getGridPreferencesDefaults=function(){return Object.assign({},IZ.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};g.getMetaColumns=function(a){a=a.params.sortColumns||[];return 0==a.length||1==a.length&&"POSITION"==a[0].fieldId.type?Qmc:Rmc};g.getSearchParams=function(a){a=IZ.prototype.getSearchParams.call(this,a);a.hotlistId=this.hotlistId;return a};
g.repositionIssue=function(a,b){var c=this;this.searchResults&&this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"hotlist-panel",function(){c.searchResults&&(c.searchResults=c.searchResults.clone())}).then(function(d){c.resource=d;Lp(c.analytics,c.ANALYTICS_CATEGORY,"issueDragDrop")})};VZ.\u0275fac=function(a){return new (a||VZ)(A(QZ),A(oH),A(HH,2),A(qG),A(bH),A(pG),A(tu),A(mG),A(LH),A(BS),A(GZ),A(cH),A(JI),A(uG),A(XF),A(vO),A(SE),A(oT))};
VZ.\u0275cmp=r({type:VZ,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Dg([HH]),$f],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"searchResults","resultsPerPageFixed","pageChange"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],["tabindex","0"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences have changed",4,"ngIf"],
[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["mat-flat-button","","type","button","color","primary","matTooltip","Save changes to display preferences",1,"gmat-button","medium",3,"click"],["mat-stroked-button","","type","button","color","primary","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0",4,"ngIf"],
["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2),O(3,H1a,2,0,"div",3),O(4,I1a,2,0,"div",3),O(5,L1a,8,5,"div",3),E(),O(6,M1a,5,0,"div",4),D(7,"b-pagination",5),
K("pageChange",function(c){return b.goToPage(c.page)}),E()(),O(8,S1a,4,3,"div",3),E());a&2&&(dg("aria-busy",b.isLoading),z(3),C("ngIf",!b.resource&&!b.isLoading),z(1),C("ngIf",!b.resource&&b.isLoading),z(1),C("ngIf",b.resource),z(1),C("ngIf",b.hasParamChanges()),z(1),C("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),C("ngIf",b.resource))},dependencies:[bx,aZ,NA,qD,SZ,JZ,vN],encapsulation:2});var Rmc=[dZ,eZ,fZ,Ylc],Qmc=[dZ,Xlc,eZ,fZ,Ylc],WZ=function(){};
WZ.\u0275fac=function(a){return new (a||WZ)};WZ.\u0275mod=fd({type:WZ});WZ.\u0275inj=Qc({imports:[px,PZ,BD,lE,UZ,KZ,xN]});var XZ=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V){IZ.call(this,b,d,e,f,h,l,q,u,x,c,y,G,J,M,V);this.savedSearchApi=a;this.resource=null};X(XZ,IZ);XZ.\u0275dir=IZ.\u0275dir;XZ.prototype.ngOnInit=function(){IZ.prototype.ngOnInit.call(this)};XZ.prototype.loadResource=function(){var a=this,b=this.savedSearchApi.get(this.savedSearchId);b.then(function(c){a.resource=c;a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c);a.resource=null});return b};XZ.prototype.saveResource=function(){return Promise.resolve()};
XZ.\u0275fac=function(a){return new (a||XZ)(A(RQ),A(HH,2),A(qG),A(bH),A(pG),A(tu),A(mG),A(LH),A(BS),A(GZ),A(cH),A(JI),A(XF),A(vO),A(SE),A(oT))};
XZ.\u0275cmp=r({type:XZ,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Dg([HH]),$f],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[4,"ngIf"],["tabindex","0",4,"ngIf"],[3,"searchResults","resultsPerPageFixed","pageChange"],["tabindex","0"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences or search query have changed",
4,"ngIf"],[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences or search query have changed"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0","role","region",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0","role","region",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange",
"rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2),O(3,T1a,2,0,"div",3),O(4,U1a,2,0,"div",3),O(5,X1a,8,5,"div",4),E(),D(6,"b-pagination",5),K("pageChange",function(c){return b.goToPage(c.page)}),E()(),O(7,b2a,4,3,"div",3),E());a&2&&(dg("aria-busy",b.isLoading),z(3),C("ngIf",!b.resource&&!b.isLoading),z(1),C("ngIf",!b.resource&&b.isLoading),z(1),C("ngIf",b.resource),z(1),C("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),C("ngIf",b.resource))},
dependencies:[bx,aZ,qD,SZ,JZ,vN],encapsulation:2});var YZ=function(){};YZ.\u0275fac=function(a){return new (a||YZ)};YZ.\u0275mod=fd({type:YZ});YZ.\u0275inj=Qc({imports:[px,PZ,lE,UZ,KZ,xN]});var ZZ=function(){};ZZ.\u0275fac=function(a){return new (a||ZZ)};ZZ.\u0275mod=fd({type:ZZ});ZZ.\u0275inj=Qc({});var $Z=function(){this.label="Team"};$Z.prototype.ngOnInit=function(){};$Z.\u0275fac=function(a){return new (a||$Z)};
$Z.\u0275cmp=r({type:$Z,selectors:[["b-team-breadcrumb"]],inputs:{teamPath:"teamPath",label:"label"},decls:3,vars:2,consts:[["role","navigation",1,"breadcrumb"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"routerLink","preserveFragment"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"span",1),O(2,c2a,3,3,"span",2),E()());a&2&&(dg("aria-label",b.label),z(2),C("ngForOf",b.teamPath))},dependencies:[ax,XG],encapsulation:2});var a_=function(){};a_.\u0275fac=function(a){return new (a||a_)};a_.\u0275mod=fd({type:a_});a_.\u0275inj=Qc({imports:[px,aH,GP]});var Smc=["form"],Tmc=["numberInput"],Umc=/^\d+\.?\d*$/,Vmc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},b_=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new vw;this.displayUnits=0;this.timeUnitEnum=Vmc};
b_.prototype.ngOnInit=function(){var a=this;this.durationDays&&(this.displayUnits=0===this.durationDays%365?1:0,this.displayNumber=1===this.displayUnits?this.durationDays/365:this.durationDays);this.formSubscription=this.form.valueChanges.subscribe(function(){var b=a.form.form.getRawValue();a.displayNumber=b.numbers;a.displayUnits=b.unit;a.onValueChange()})};b_.prototype.ngAfterViewInit=function(){};
b_.prototype.onValueChange=function(){if(void 0!==this.displayNumber){switch(this.displayUnits){case 1:var a=365*this.displayNumber;break;default:a=this.displayNumber}a=Math.ceil(a)}else a=void 0;a!==this.durationDays&&(this.durationDays=a,this.durationDaysChange.emit(this.durationDays))};b_.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};b_.\u0275fac=function(a){return new (a||b_)};
b_.\u0275cmp=r({type:b_,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(Sg(Smc,7),Sg(Tmc,7));if(a&2){var c;Rg(c=Ug())&&(b.form=c.first);Rg(c=Ug())&&(b.numberInput=c.first)}},inputs:{durationDays:"durationDays",disabled:"disabled",ariaLabel:"ariaLabel"},outputs:{durationDaysChange:"durationDaysChange"},decls:12,vars:7,consts:[["form","ngForm"],[1,"duration-picker-form"],["color","accent","appearance","outline"],["matInput","","type","number","step","1","min","0","name","numbers","placeholder",
"---",3,"ngModel","disabled","keydown","paste"],["numberInput",""],["name","unit",3,"ngModel","disabled"],["color","accent",3,"value"]],template:function(a,b){a&1&&(D(0,"form",null,0)(2,"div",1)(3,"mat-form-field",2)(4,"input",3,4),K("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");Umc.test(d)||c.preventDefault()}),E()(),D(6,"mat-form-field",2)(7,"mat-select",5)(8,"mat-option",6),P(9,"days"),E(),D(10,"mat-option",
6),P(11,"year(s)"),E()()()()());a&2&&(z(4),C("ngModel",b.displayNumber)("disabled",b.disabled),dg("aria-label",b.ariaLabel),z(3),C("ngModel",b.displayUnits)("disabled",b.disabled),z(1),C("value",b.timeUnitEnum.DAYS),z(2),C("value",b.timeUnitEnum.YEARS))},dependencies:[Mx,yh,Nx,Ex,Fx,Vx,Lx,Jx,qB,tB,EM,PA],styles:["[_nghost-%COMP%]     .duration-picker-form{display:flex;flex-direction:row;width:250px}[_nghost-%COMP%]     .duration-picker-form .mat-form-field{min-width:70px;padding-right:10px}[_nghost-%COMP%]     .duration-picker-form .mat-form-field .mat-form-field-flex{cursor:default}[_nghost-%COMP%]     .duration-picker-form .mat-form-field-wrapper{padding:0}[_nghost-%COMP%]     .duration-picker-form .mat-select-arrow-wrapper{transform:none}[_nghost-%COMP%]     .mat-form-field-infix{padding:1px 0 7px}"],
changeDetection:0});var c_=function(){};c_.\u0275fac=function(a){return new (a||c_)};c_.\u0275mod=fd({type:c_});c_.\u0275inj=Qc({imports:[px,ay,uB,rB,FM,DQ]});var d_=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};d_.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};d_.prototype.onNoClick=function(){this.dialogRef.close(!1)};d_.\u0275fac=function(a){return new (a||d_)(A(ZA),A(aB),A(hJ))};
d_.\u0275cmp=r({type:d_,selectors:[["b-field-state-change-confirmation-dialog"]],decls:22,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"],[1,"notice"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,"div",1)(3,"p"),P(4,
" The "),D(5,"strong"),P(6),E(),P(7," field will change state from "),D(8,"strong"),P(9),E(),P(10," to "),D(11,"strong"),P(12),E(),P(13,". "),E(),O(14,d2a,6,2,"p",2),D(15,"p"),P(16,"Are you sure?"),E()(),D(17,"div",3)(18,"button",4),K("click",function(){return b.onNoClick()}),P(19," Cancel "),E(),D(20,"button",5),P(21," Confirm "),E()());a&2&&(z(1),Q("Field State Change for ",b.data.fieldName,""),z(5),Bg(b.data.fieldName),z(3),Bg(b.data.oldFieldState),z(3),Bg(b.data.newFieldState),z(2),C("ngIf",b.data.noteText),
z(6),C("mat-dialog-close",!0))},dependencies:[bx,NA,cB,dB,eB,fB],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var Wmc=["fieldStateMenuButton"],Xmc=function(a){return{"mat-stroked-button":a}},e_=function(a){this.dialog=a;this.fieldName="";this.fieldState=1;this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new vw;this.FieldStateProto=Ina;this.defaultLabel="Default";this.menuLabel="Error";this.msgs={visibleName:"Visible",hiddenName:"Hidden",visibleDescription:"the field will always be in the main field section",hiddenDescription:"the field will always be in the hidden field section",
inheritDescription:"allow the parent component to determine whether the field is visible or hidden",becomesHiddenWarning:"Hiding this field will not result in any loss of data, but the field value will no longer be visible by  default for issues in this component and its subcomponents.",becomesInheritedWarning:"If a parent component hides this field in the future, the field will no longer be visible by default for issues in this component and its subcomponents."}};e_.prototype.ngOnInit=function(){this.updateMenuButton()};
e_.prototype.ngOnChanges=function(){this.updateMenuButton()};
var Zmc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?Ymc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},Ymc=function(a,b){var c=2===b||1===b&&!a.enabledOnParent,d=1!==a.fieldState&&1===b,e=void 0;2!==a.fieldState&&(1!==a.fieldState||a.enabledOnParent)&&c?e=a.msgs.becomesHiddenWarning:d&&(e=a.msgs.becomesInheritedWarning);XA(a.dialog.open(d_,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:$mc(a,a.fieldState),newFieldState:$mc(a,b),noteText:e}})).pipe(Ef()).subscribe(function(f){f?
(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};e_.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=$mc(this,this.fieldState)};var $mc=function(a,b){switch(b){case 1:return a.defaultLabel;case 2:return a.msgs.hiddenName;case 3:return a.msgs.visibleName;default:Qi(b,"Unknown FieldState.")}};e_.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};
e_.\u0275fac=function(a){return new (a||e_)(A(bB))};
e_.\u0275cmp=r({type:e_,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&Sg(Wmc,5,Yd);if(a&2){var c;Rg(c=Ug())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[md],decls:33,vars:18,consts:[["mat-button","",1,"field-state-menu-button","gmat-button","medium",3,"ngClass","disabled","matMenuTriggerFor"],
["fieldStateMenuButton",""],[1,"field-state-menu-button-inner"],[1,"field-state-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"field-state-dropdown-icon"],["fieldStateMenu","matMenu"],[1,"field-state-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","field-state-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],["mat-menu-item",
"",1,"field-state-option",3,"click"],[1,"menu-row-container"],[1,"state-info"]],template:function(a,b){a&1&&(D(0,"div")(1,"button",0,1)(3,"div",2),F(4,"span",3)(5,"b-icon",4),E()()(),D(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),K("click",function(){return Zmc(b,b.FieldStateProto.INHERIT)}),F(11,"b-icon",9),D(12,"div",10),P(13),E(),D(14,"div",11),P(15),E()()(),F(16,"mat-divider"),D(17,"button",12),K("click",function(){return Zmc(b,b.FieldStateProto.DISABLED)}),D(18,"div",13)(19,"div",
14),F(20,"b-icon",9),D(21,"div",10),P(22),E(),D(23,"div",11),P(24),E()()()(),D(25,"button",12),K("click",function(){return Zmc(b,b.FieldStateProto.ENABLED)}),D(26,"div",13)(27,"div",14),F(28,"b-icon",9),D(29,"div",10),P(30),E(),D(31,"div",11),P(32),E()()()()()());if(a&2){var c=N(7);z(1);C("ngClass",Gg(16,Xmc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);z(3);C("innerHTML",b.menuLabel,te);z(6);pg("b-menu-item-checked",b.fieldState===b.FieldStateProto.INHERIT);z(3);Q(" ",b.defaultLabel,
" ");z(2);Q(" ",b.msgs.inheritDescription," ");z(2);pg("b-menu-item-checked",b.fieldState===b.FieldStateProto.DISABLED);z(5);Q(" ",b.msgs.hiddenName," ");z(2);Q(" ",b.msgs.hiddenDescription," ");z(1);pg("b-menu-item-checked",b.fieldState===b.FieldStateProto.ENABLED);z(5);Q(" ",b.msgs.visibleName," ");z(2);Q(" ",b.msgs.visibleDescription," ")}},dependencies:[$w,NA,WQ,iD,gD,hD,nO],styles:[".field-state-menu[_ngcontent-%COMP%]{max-width:210px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-title[_ngcontent-%COMP%]{line-height:normal}.field-state-menu-button-inner[_ngcontent-%COMP%]{align-items:center;display:inline-flex}.field-state-menu-button[disabled][_ngcontent-%COMP%]{border:none}.field-state-menu-button[disabled][_ngcontent-%COMP%]   .field-state-dropdown-icon[_ngcontent-%COMP%]{display:none}"]});var f_=function(){};f_.\u0275fac=function(a){return new (a||f_)};f_.\u0275mod=fd({type:f_});f_.\u0275inj=Qc({imports:[px,BD,gB,XQ,jD,KP,yP]});var g_=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};g_.prototype.close=function(){this.dialogRef.close(!1)};g_.\u0275fac=function(a){return new (a||g_)(A(aB),A(ZA))};
g_.\u0275cmp=r({type:g_,selectors:[["b-unsubscribe-dialog"]],decls:21,vars:3,consts:[["mat-dialog-title",""],[1,"gmat-body-2"],[1,"gmat-body-1"],["target","_blank",3,"href"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",3,"click"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Unsubscribe From Issue"),E(),D(2,"mat-dialog-content")(3,"div",1),P(4," Are you sure you would like to unsubscribe from the following issue? "),
E(),F(5,"br"),D(6,"div",2)(7,"a",3)(8,"span"),P(9),E()(),P(10," - "),D(11,"span"),P(12),E()(),F(13,"br"),D(14,"div",1),P(15," By unsubscribing, you will no longer receive email updates about this issue. "),E()(),D(16,"mat-dialog-actions")(17,"button",4),K("click",function(){return b.close()}),P(18," Cancel "),E(),D(19,"button",5),K("click",function(){b.dialogRef.close(!0)}),P(20," Unsubscribe "),E()());a&2&&(z(7),yg("href","/issues/",b.issueId,"",ue),z(2),Q("b/",b.issueId,""),z(3),Bg(b.issueTitle))},
dependencies:[dB,eB,fB,NA],encapsulation:2});var anc=function(a,b){return{small:a,medium:b}},bnc=function(a){return{black:a}},h_=function(a,b,c,d,e){this.activeSession=a;this.matDialogService=b;this.issueFridge=c;this.analytics=d;this.routeParams=e;this.iconOnly=!1;this.subscriptionChange=new vw;this.showNotificationSettings=new vw;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=EQb;this.bubblePosition=
[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:5},{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-5}];this.subscriptions=new Map([["UNKNOWN_SUBSCRIPTION",{label:"Default",icon:"notifications_none_24px"}],["SUBSCRIBED_ALL_UPDATES",{label:"All Updates",icon:"notifications-active"}],["SUBSCRIBED_MAJOR_UPDATES",{label:"Major Updates",icon:"notifications-active"}],["SUBSCRIBED_CLOSURE_ONLY",{label:"Closure Only",icon:"notifications-active"}],["UNSUBSCRIBED",
{label:"Muted",icon:"notifications-off"}]])};h_.prototype.ngOnInit=function(){cnc(this)};h_.prototype.ngOnChanges=function(){this.updateMenuButton()};h_.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};h_.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var cnc=function(a){var b,c;Ze(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():af(d,(0,T.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress)return(b=d.yieldResult)?af(d,(0,T.firstValueFrom)(XA(a.matDialogService.open(g_,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3):d.return();if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),Lp(a.analytics,Mp.EDIT_ISSUE,"unsubscribeUsingDialog");
ef(d)})};Ei.Object.defineProperties(h_.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});h_.\u0275fac=function(a){return new (a||h_)(A(tu),A(bB),A(QH),A(LH),A(JJ))};
h_.\u0275cmp=r({type:h_,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[md],decls:63,vars:31,consts:[["mat-button","",1,"notification-menu-button","gmat-button",3,"ngClass","matMenuTriggerFor","disabled"],[1,"notification-menu-button-inner"],["size","small",1,"icon",3,"name","ngClass"],[4,"ngIf"],["notificationMenu","matMenu"],
[1,"notification-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","notification-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],[1,"default-divider",3,"vertical"],["mat-menu-item","","aria-label","Settings",1,"default-settings",3,"click"],["name","settings-outline","size","small",1,"item-icon"],[1,"menu-row-container"],["mat-menu-item","",
"aria-label","All Updates. Receive emails for major and minor updates.","aria-describedby","all-updates-help",1,"notification-option",3,"click"],[1,"subscription-info"],["mat-menu-item","",1,"subscription-help","help-icon",3,"click","focus","blur"],[3,"panelTemplate","overlayPositions"],["allUpdates",""],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],["all",""],["mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.","aria-describedby","major-updates-help",
1,"notification-option",3,"click"],["majorUpdates",""],["major",""],["mat-menu-item","",1,"notification-option",3,"click"],[1,"notification-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"notification-dropdown-icon"],["id","all-updates-help",1,"subscription-help-bubble"],[1,"subscription-help-list"],["id","major-updates-help",1,"subscription-help-bubble"]],template:function(a,b){if(a&1){var c=t();D(0,"div")(1,"button",0)(2,"div",1);F(3,"b-icon",2);O(4,e2a,3,1,"ng-container",
3);E()()();D(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);K("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});F(10,"b-icon",8);D(11,"div",9);P(12," Default ");E();D(13,"div",10);P(14," receive emails based on your default settings. ");E()();F(15,"mat-divider",11);D(16,"button",12);K("click",function(h){return b.showNotificationSettings.emit(h)});F(17,"b-icon",13);E()();F(18,"mat-divider");D(19,"div",14)(20,"button",15);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});
D(21,"div",16);F(22,"b-icon",8);D(23,"div",9);P(24," All Updates ");E();D(25,"div",10);P(26," receive emails for major and minor updates. ");E()()();D(27,"button",17);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){v(c);var h=N(29);return w(h.toggle(!0))})("blur",function(){v(c);var h=N(29);return w(h.toggle(!1))});D(28,"xap-bubble",18,19);F(30,"mat-icon",20);O(31,f2a,13,0,"ng-template",null,21,$g);E()()();D(33,"div",14)(34,
"button",22);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});D(35,"div",16);F(36,"b-icon",8);D(37,"div",9);P(38," Major Updates ");E();D(39,"div",10);P(40," receive emails for major updates only. ");E()()();D(41,"button",17);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){v(c);var h=N(43);return w(h.toggle(!0))})("blur",function(){v(c);var h=N(43);return w(h.toggle(!1))});
D(42,"xap-bubble",18,23);F(44,"mat-icon",20);O(45,g2a,15,0,"ng-template",null,24,$g);E()()();D(47,"button",25);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});D(48,"div",14)(49,"div",16);F(50,"b-icon",8);D(51,"div",9);P(52," Closure Only ");E();D(53,"div",10);P(54," only receive emails when the issue is closed. ");E()()()();D(55,"button",25);K("click",function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});D(56,"div",
14)(57,"div",16);F(58,"b-icon",8);D(59,"div",9);P(60," None ");E();D(61,"div",10);P(62," unsubscribe from further email updates. ");E()()()()()()}if(a&2){var d=N(6),e=N(32),f=N(46);z(1);pg("icon-only",b.iconOnly);C("ngClass",Hg(26,anc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);dg("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||"UNKNOWN_SUBSCRIPTION").label);z(2);C("name",b.menuIcon)("ngClass",Gg(29,bnc,"notifications-off"===
b.menuIcon));z(1);C("ngIf",!b.iconOnly);z(5);pg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);z(6);C("vertical",!0);z(5);pg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);z(7);dg("aria-label","This includes emails about major updates and All title, hotlist, and status changes, Blocking, Blocked By, or Duplicate changes, Changes to Reporter, Verifier, and CCs, changes to Type, Found In, Targeted To, Verified In, In Prod, and Changes to custom fields marked as minor.");
z(1);C("panelTemplate",e)("overlayPositions",b.bubblePosition);z(6);pg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);z(7);dg("aria-label","This includes emails about New comments, Priority or Severity changes, Assignee changes, Component changes, Issue closure or reopening, and Changes to custom fields marked as major.");z(1);C("panelTemplate",f)("overlayPositions",b.bubblePosition);z(5);pg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);
z(8);pg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[$w,bx,NA,WQ,iD,gD,hD,nO,LL,OB],styles:[".notification-menu[_ngcontent-%COMP%]{max-width:210px}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-title[_ngcontent-%COMP%]{line-height:normal}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1px 40px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-button[_ngcontent-%COMP%]{grid-column:1}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-divider[_ngcontent-%COMP%]{grid-column:2;margin:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-settings[_ngcontent-%COMP%]{grid-column:3;height:100%;padding:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .help-icon[_ngcontent-%COMP%]{align-self:center;grid-column:3;height:100%;padding:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .subscription-help[_ngcontent-%COMP%]{align-self:center;grid-column:3}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .subscription-info[_ngcontent-%COMP%]{grid-column:1}.notification-menu-button-inner[_ngcontent-%COMP%]{align-items:center;display:inline-flex}.notification-menu-button-inner[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-right:3px}.icon-only[_ngcontent-%COMP%]{padding:0 2px}.icon-only[_ngcontent-%COMP%]   .icon.black[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}  .subscription-help-bubble{max-width:300px}  .subscription-help-bubble ul.subscription-help-list{margin-top:.5em;list-style:disc}  .notification-menu .subscription-help .mat-icon{margin:0px}  .notification-menu .subscription-help .mat-icon:hover{color:#202124;color:var(--text-high-contrast)}"]});var i_=function(){};i_.\u0275fac=function(a){return new (a||i_)};i_.\u0275mod=fd({type:i_});i_.\u0275inj=Qc({imports:[px,BD,XQ,jD,KP,yP,fN,rD]});var j_=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new vw;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},dnc=function(a,b){if(b){var c=a.requestIndex++;a.sloApi.search(b).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.dropdownChoices=d,a.cdr.detectChanges())})}else a.dropdownChoices=[],a.onSloSelect.emit(null),a.cdr.detectChanges()};
j_.prototype.displayFn=function(a){return(null==a?void 0:a.getName())||(null==a?void 0:a.getSloId())||""};j_.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.getSloId();this.onSloSelect.emit(a);this.cdr.detectChanges()};
Ei.Object.defineProperties(j_.prototype,{boundId:{configurable:!0,enumerable:!0,get:function(){return this.internalBoundId},set:function(a){var b=this;(this.internalBoundId=a)&&"0"!==this.internalBoundId?this.sloApi.get(this.internalBoundId).then(function(c){b.dropdownChoices=c?[c]:[];b.selectedSlo=c}).catch(function(){b.selectedSlo=(new qQ).setSloId(b.internalBoundId)}):(this.dropdownChoices=[],this.selectedSlo=null)}}});j_.\u0275fac=function(a){return new (a||j_)(A(sQ),A(HH,2))};
j_.\u0275cmp=r({type:j_,selectors:[["slo-picker"]],inputs:{isDisabled:["bv2Disabled","isDisabled"],placeholder:["bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Dg([HH])],decls:6,vars:6,consts:[[1,"bv2-slo-picker"],["matInput","","type","text","autocomplete","slo-name",1,"bv2-picker-input","form-control",3,"placeholder","ngModel","disabled","matAutocomplete","ngModelChange","click","input"],["searchInput",""],["panelWidth","574px",3,"displayWith","optionSelected"],
["auto","matAutocomplete"],["class","slo-search-result",3,"value",4,"ngFor","ngForOf"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=t();D(0,"div",0)(1,"input",1,2);K("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){v(c);var e=N(2);return w(dnc(b,e.value))})("input",function(){v(c);var e=N(2);return w(dnc(b,e.value))});E();D(3,"mat-autocomplete",3,4);K("optionSelected",function(e){return b.updateSelectionOnChange(e)});O(5,h2a,2,2,"mat-option",5);E()()}if(a&
2){var d=N(4);z(1);C("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);z(2);C("displayWith",b.displayFn);z(2);C("ngForOf",b.dropdownChoices)}},dependencies:[ax,BN,AN,PA,yh,Ex,Lx],encapsulation:2});var k_=function(){};k_.\u0275fac=function(a){return new (a||k_)};k_.\u0275mod=fd({type:k_});k_.\u0275inj=Qc({imports:[px,CN,ay]});var enc=function(a){return{"empty-list-field-indication":a}},l_=function(a){this.documentationLinks=a;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new vw;this.validChange=new vw;this.RetentionSelection=JQb};
l_.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};Er(this)};l_.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);Er(this)};
var Er=function(a){var b=a.validChange,c=b.emit,d;if(d=Fr(a))d=a.hasRetentionSelection(a.model.piiRetentionSelection)&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!fnc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||gnc(a));c.call(b,d)};l_.prototype.hasRetentionSelection=function(a){return a&&a!==this.RetentionSelection.UNSPECIFIED_RETENTION};
var Fr=function(a){return a.hasRetentionSelection(a.model.retentionSelection)&&(a.model.retentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||!!a.model.retentionPeriodDays&&30<=a.model.retentionPeriodDays&&3650>=a.model.retentionPeriodDays)},j2a=function(a){return a?rp(a):"[unset period]"},gnc=function(a){if(!a.model.piiRetentionPeriodDays||!a.model.spiiRetentionPeriodDays||30>a.model.piiRetentionPeriodDays||30>a.model.spiiRetentionPeriodDays)return!1;var b=a.model.retentionSelection,c=a.model.retentionPeriodDays,
d=a.model.piiRetentionPeriodDays;return a.model.spiiRetentionPeriodDays>d||b===a.RetentionSelection.BUGANIZER_DEFAULT&&3650<d||b===a.RetentionSelection.CUSTOM_PERIOD&&(null==c||d>c)?!1:!0},n2a=function(a){if(!Fr(a)||gnc(a))return"";var b=a.model.retentionSelection,c=a.model.piiRetentionPeriodDays,d=a.model.spiiRetentionPeriodDays;if(!c||!d||30>c||30>d)return"must be at least 30 days";if(b===a.RetentionSelection.BUGANIZER_DEFAULT)var e=3650;else b===a.RetentionSelection.CUSTOM_PERIOD&&(e=a.model.retentionPeriodDays);
return e&&c>e?30===e?"must be 30 days":"must be between 30 days and "+j2a(e):"Restricted+ retention must not exceed Restricted retention."},fnc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},q2a=function(a){var b=a.model.piiRetentionSelection,c=a.model.piiRetentionPeriodDays,d=a.model.retentionSelection,e=a.model.retentionPeriodDays;d=b===a.RetentionSelection.INDEFINITE_RETENTION&&(d===a.RetentionSelection.INDEFINITE_RETENTION||
d===a.RetentionSelection.BUGANIZER_DEFAULT||d===a.RetentionSelection.CUSTOM_PERIOD&&!!e&&120<e);return b===a.RetentionSelection.CUSTOM_PERIOD&&!!c&&120<c||d};l_.\u0275fac=function(a){return new (a||l_)(A(hJ))};
l_.\u0275cmp=r({type:l_,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled"},outputs:{modelChange:"modelChange",validChange:"validChange"},decls:30,vars:32,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngClass","disabled","name","ngModel","ngModelChange"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 10 years",3,"value"],["class","duration-error",
4,"ngIf"],["class","custom-duration",4,"ngIf"],[3,"disabled","value"],["class","warning-box","id","indefinite-retention-warning-box",4,"ngIf"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"ngClass","disabled","name","ngModel","ngModelChange"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-underline","keep-focus-ring",3,"rel"],[3,"aria-label","disabled","value"],["class","warning-box","id","indefinite-pii-retention-warning-box",4,"ngIf"],[1,"duration-error"],
[1,"custom-duration"],["ariaLabel","Custom duration",3,"disabled","durationDays","durationDaysChange"],[1,"duration-description"],["id","indefinite-retention-warning-box",1,"warning-box"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"disabled","durationDays","durationDaysChange"],[1,"warning-box"],["ariaLabel","Restricted+ retention duration",3,"disabled","durationDays","durationDaysChange"],["class","warning-box","id","custom-pii-retention-warning-box",
4,"ngIf"],["id","custom-pii-retention-warning-box",1,"warning-box"],["id","indefinite-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(D(0,"mat-radio-group",0),K("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),D(1,"p")(2,"b"),P(3,"Issue Retention"),E()(),D(4,"mat-radio-button",1),P(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),E(),D(6,"mat-radio-button",2),P(7," Custom retention period "),O(8,i2a,2,0,"span",3),O(9,k2a,4,
3,"div",4),E(),D(10,"mat-radio-button",5),P(11),O(12,l2a,13,0,"div",6),E()(),D(13,"mat-radio-group",7),K("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);Er(b)}),D(14,"p"),F(15,"br"),D(16,"b"),P(17,"Restricted Comments/Attachments Retention "),E(),D(18,"a",8),P(19,"Learn more "),E()(),D(20,"mat-radio-button",1),P(21," Buganizer default retention period : 60 days "),O(22,m2a,2,0,"span",3),
E(),D(23,"mat-radio-button",9),P(24," Custom retention period "),O(25,o2a,2,1,"span",3),O(26,r2a,16,7,"div",4),E(),D(27,"mat-radio-button",5),P(28," Match Issue Retention "),O(29,s2a,3,0,"div",10),E()());a&2&&(C("ngClass",Gg(28,enc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),z(4),C("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),C("value",b.RetentionSelection.CUSTOM_PERIOD),
z(2),C("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&3650>=b.model.retentionPeriodDays)),z(1),C("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),C("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(1),Q(" Indefinite retention period ",b.isExternal?"(Internal components only)":""," "),z(1),C("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),
z(1),C("ngClass",Gg(30,enc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),z(5),C("rel",b.EXTERNAL_LINK_REL),dg("href",b.documentationLinks.getRestrictedAccessHelpLink(),ue),z(2),C("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),C("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&fnc(b)),z(1),C("aria-label","Custom Retention Period,"+
n2a(b))("disabled",!Fr(b))("value",b.RetentionSelection.CUSTOM_PERIOD),z(2),C("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!gnc(b)),z(1),C("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),C("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(2),C("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&q2a(b)))},dependencies:[$w,bx,Ex,Lx,BY,CY,b_],styles:[".mat-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-width:588px}.duration-error[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad);font-weight:bold}.warning-box[_ngcontent-%COMP%]{white-space:normal}.b-restricted-retention-duration-label[_ngcontent-%COMP%]{display:inline-block;width:12em}b-duration-picker[_ngcontent-%COMP%]{display:inline-block}"],
changeDetection:0});var m_=function(){};m_.\u0275fac=function(a){return new (a||m_)};m_.\u0275mod=fd({type:m_});m_.\u0275inj=Qc({imports:[px,ay,JY,c_]});var hnc=function(){this.type="component";this.includeChildren=!1},inc=function(){this.type="tracker"},jnc=function(){this.type="team";this.includeChildren=!1},knc=function(){this.type="hotlist"},lnc=function(){this.type="savedsearch"},mnc=function(){this.type="customfield"};var nnc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},onc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),pnc=onc.concat("archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield deleted deletionreason deletiontime duplicatecount effortlabel foundin inprod is lastcommenter lastmodifier mention modified modifier mute p parentid postmortem priority reporter resolved s severity star status t targetedto title type verified verifiedin verifier votecount nearestslo".split(" ")),
qnc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),rnc="(?:\\s|^)(-?)(customfield\\d+|"+pnc.join("|")+")(:|>|<|>=|<=|=)";var n_=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.userApi=a;this.trackerFridge=b;this.currentTracker=c;this.customFieldsApi=d;this.hotlistApi=e;this.savedSearchApi=f;this.componentActions=h;this.teamsService=l;this.activeSession=q;this.query="";this.requestIndex=0;this.producers=[{match:function(x){return snc(u,x)}},{updateHeader:function(x){return tnc(u,x)}},{updateHeader:function(x){return unc(u,x)}},{updateHeader:function(x){return vnc(u,x)}},{updateHeader:function(x){return wnc(u,
x)}},{updateHeader:function(x){return xnc(u,x)}},{updateHeader:function(x){return ync(u,x)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new T.Subject;this.refreshRequest$=new T.Subject;this.refreshRequest$.pipe(Af(250),Rf(this.destroyed$)).subscribe(function(x){znc(u,x.currentRequestIndex,x.currentSearchContext)});this.sessionIsInternal=q.isInternalSession();a=new Set(pnc);Qp(q,"enableCollaborators")||(a.delete("collaborator"),a.delete("collaboratorcount"));
this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(q=m(qnc),b=q.next();!b.done;b=q.next())a.delete(b.value);this.isTrackerSearchEnabled()||a.delete("trackerid");this.atoms=Object.freeze(a);this.atomsWithoutOp=Object.freeze(new Set(["customfield"]))};X(n_,Z);n_.\u0275dir=Z.\u0275dir;n_.prototype.isTrackerSearchEnabled=function(){return this.currentTracker.enableTrackers&&!this.currentTracker.inTracker};
var znc=function(a,b,c){for(var d=!1,e=!1,f=[],h=m(a.producers),l=h.next();!l.done;l=h.next())l=l.value,l.match&&f.push(l.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,p(q))}).catch(function(q){return q})),l.updateHeader&&f.push(l.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(f).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},snc=
function(a,b){if(!b.value.val){var c=b.value.idx;if(c<b.query.length&&-1===b.query.charAt(c).search("\\s"))return Promise.reject(null)}if(b.label){if(b.label.customFieldId)return Anc(a,b);switch(b.label.val){case "archived":return Promise.resolve(Ir(Bnc,b.value,!0));case "componentid":case "c":return Cnc(a,b);case "deleted":return Dnc(b);case "deletionreason":return Promise.resolve(Ir(Enc,b.value,!0));case "hotlistid":case "h":return Fnc(a,b);case "savedsearchid":return Gnc(a,b);case "status":case "is":return Promise.resolve(Ir(Hnc,
b.value,!0));case "trackerid":return Inc(a,b);case "teamid":return Jnc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(Ir(Knc,b.value,!0));case "severity":case "s":return Promise.resolve(Ir(Lnc,b.value,!0));case "inprod":case "star":case "mute":return Dnc(b);default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];for(var d=u2a(b.value.val),e=m(a.atoms),f=e.next();!f.done;f=e.next())if(f=f.value,d.token!==f&&uj(f,d.token)){var h=
b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:f+(a.atomsWithoutOp.has(f)?"":":"),enableShadowPlaceholder:!0};h={trackId:"atom:"+f,name:f,completionCfg:h};"customfield"===f&&(h.name="customfield[id]:[value]");c.push(h)}c.sort(function(l,q){return Or(l.name,q.name)});return Promise.resolve(c)},Anc=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if("ENUM"!==c.type||!c.allowedValue)return[];
var d=c.allowedValue.map(function(e){return{trackId:"customfieldvalue:"+e,id:e,label:"Custom field "+c.name,name:e,completionCfg:{type:"customfieldvalue",completionValue:'"'+e+'"'}}});return Ir(d,b.value,!1,!1)}):Promise.reject(null)};n_.prototype.matchType=function(a){return Promise.resolve(Ir(Mnc,a.value,!0))};
var Dnc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(Ir([{trackId:"booleanAtom:"+b+":true",label:b,name:"true",completionCfg:{enableShadowPlaceholder:!0,completionValue:"true",type:b}},{trackId:"booleanAtom:"+b+":false",label:b,name:"false",completionCfg:{enableShadowPlaceholder:!0,completionValue:"false",type:b}}],a.value,!0))},Cnc=function(a,b){var c=b.value.val;return!c||Hr(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){var e=
[],f={};d=m(d);for(var h=d.next();!h.done;f={$jscomp$loop$prop$component$2200:f.$jscomp$loop$prop$component$2200,$jscomp$loop$prop$startIdx$2201:f.$jscomp$loop$prop$startIdx$2201,$jscomp$loop$prop$endIdx$2202:f.$jscomp$loop$prop$endIdx$2202},h=d.next())f.$jscomp$loop$prop$component$2200=h.value,h=f.$jscomp$loop$prop$component$2200.componentId,f.$jscomp$loop$prop$startIdx$2201=b.value.idx,f.$jscomp$loop$prop$endIdx$2202=f.$jscomp$loop$prop$startIdx$2201+c.length,h={componentId:h,name:f.$jscomp$loop$prop$component$2200.name,
description:f.$jscomp$loop$prop$component$2200.description,trackId:"component:"+h,accessLimit:f.$jscomp$loop$prop$component$2200.accessLimit,trackerId:f.$jscomp$loop$prop$component$2200.trackerId,completionCfg:{type:"component",startIdx:f.$jscomp$loop$prop$startIdx$2201,endIdx:f.$jscomp$loop$prop$endIdx$2202,completionValue:""+h,matchingString:c},componentPath:f.$jscomp$loop$prop$component$2200.componentPathInfo.componentPathId.map(function(l){return function(q,u){return{trackId:"subcomponent:"+q,
id:""+q,name:String(l.$jscomp$loop$prop$component$2200.componentPathInfo.componentPathName[u]),completionCfg:{type:"component",completionValue:String(q),startIdx:l.$jscomp$loop$prop$startIdx$2201,endIdx:l.$jscomp$loop$prop$endIdx$2202}}}}(f))},e.push(h);return e})},Jnc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||Hr(c,!0))return Promise.reject(null);var d=An();dI(a.teamsService,c).pipe(Rf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[],q={};e=m(e.getTeamSuggestionsList());
for(var u=e.next();!u.done;q={$jscomp$loop$prop$pathNames$2204:q.$jscomp$loop$prop$pathNames$2204},u=e.next())u=u.value,q.$jscomp$loop$prop$pathNames$2204=u.getPathNamesList(),u={trackId:"team:"+u.getId(),name:u.getName(),id:u.getId(),label:"Team "+u.getId(),pathIds:u.getPathIdsList(),pathNames:u.getPathNamesList(),description:u.getDescription(),completionCfg:{type:"team",startIdx:f,endIdx:h,completionValue:String(u.getId()),matchingString:c},teamPath:u.getPathIdsList().map(function(x){return function(y,
G){return{trackId:"team:"+y,id:y,name:x.$jscomp$loop$prop$pathNames$2204[G],completionCfg:{type:"team",completionValue:String(y),startIdx:f,endIdx:h}}}}(q))},l.push(u);d.resolve(l)},function(){d.reject()});return d.promise},tnc=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);var c=new hnc;b=b.value.val;return Hr(b,!0)?(Hu(b,"+")&&(b=b.slice(0,b.length-1),c.includeChildren=!0),a.componentActions.get(Number(b)).then(function(d){c.component=d;return c})):
Promise.resolve(c)},wnc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new inc,d=An();b=b.value.val;Hr(b)?a.trackerFridge.watchOne(b).pipe(Rf(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);return d.promise},ync=function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new jnc,d=An(),e=b.value.val;Hr(e,!0)?(Hu(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=
!0),dI(a.teamsService,e).pipe(Rf(a.destroyed$)).subscribe(function(f){f=f.getTeamSuggestionsList();0<f.length?(f=f[0],c.team={pathNames:f.getPathNamesList(),name:f.getName(),description:f.getDescription()}):c.team={pathNames:[e],name:e,description:""};d.resolve(c)},function(){c.team={pathNames:[e],name:e,description:""};d.resolve(c)})):d.resolve(c);return d.promise},unc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new knc;b=b.value.val;
return Hr(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},vnc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new lnc;b=b.value.val;return Hr(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},xnc=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(uj(b.value.val,"customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&
(c=b[1]),Wo("search-usage","customfield");else return Promise.reject(null);var d=new mnc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},Inc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||Hr(c,!0))return Promise.reject(null);var d=An();a.trackerFridge.watchMany({filter:c,pageSize:5}).pipe(Rf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[];e=m(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,l.push({trackId:"trackerid:"+
q.trackerId,name:q.name,trackerId:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:f,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(l)});return d.promise},Fnc=function(a,b){return Hr(b.value.val)?Promise.reject(null):a.userApi.getUserHotlists().then(function(c){c=c.map(function(d){var e=d.hotlistId;return{hotlistId:e,name:d.name,trackId:"hotlist:"+e,completionCfg:{type:"hotlist",completionValue:""+e}}});return Ir(c,b.value,!1,!0)})},Gnc=function(a,
b){return Hr(b.value.val)?Promise.reject(null):a.userApi.getUserSavedSearches().then(function(c){c=c.map(function(d){var e=d.searchId;return{searchId:e,name:d.name,query:d.query,trackId:"savedsearch:"+e,completionCfg:{type:"savedsearch",completionValue:""+e}}});return Ir(c,b.value,!1,!0)})};n_.\u0275fac=function(a){return new (a||n_)(n(tH),n(jI),n(qN),n(EZ),n(oH),n(RQ),n($U),n(cI),n(tu))};n_.\u0275prov=Pc({token:n_,factory:n_.\u0275fac,providedIn:"root"});
var Hnc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Jr(a,"status","Status","status")}),Mnc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return Jr(a,"bugType","Type","type")}),Knc=["p0","p1","p2","p3","p4"].map(function(a){return Jr(a,"priority","Priority","priority")}),Lnc=["s0","s1",
"s2","s3","s4"].map(function(a){return Jr(a,"severity","Severity","severity")}),Bnc=["all","true","false"].map(function(a){return Jr(a,"archived","Archived","archived")}),Enc=["abuse","pii","user_request","retention"].map(function(a){return Jr(a,"deletionReason","Deletion Reason","deletionreason")});var o_=function(a){this.cdr=a;this.optionsChange=new vw};o_.prototype.ngOnInit=function(){v2a(this)};
var v2a=function(a){var b=null,c;for(c in a.options.propertyValues){var d=a.options.propertyValues[c].value;if(null===b)b=d;else if(b!=d){a.selectAllValue=null;return}}a.selectAllValue=b},w2a=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},Nnc=function(a,b){if(b=void 0===b?null:b)b.preventDefault(),b.stopPropagation();a.selectAllValue=null===a.selectAllValue?!0:!a.selectAllValue;a.options.setAll(a.selectAllValue);a.optionsChange.emit(a.options);w2a(a)},Onc=function(a){var b=
[],c=!0,d;for(d in a.options.propertyValues){var e=a.options.propertyValues[d];e.value?b.push(e.displayString):c=!1}return c?a.selectAllText:b.join(", ")};o_.\u0275fac=function(a){return new (a||o_)(A(HH,2))};
o_.\u0275cmp=r({type:o_,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Dg([HH])],decls:16,vars:12,consts:[["mat-stroked-button","",1,"gmat-button","bv2-appbar-menu",3,"matMenuTriggerFor"],[1,"flex-kids-x","flex-cross-axis-centered"],[1,"bv2-property-picker-summary-text"],["svgIcon","arrow-dropdown"],["menu","matMenu"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-selectall",
"bv2-property-picker-option-row",3,"click"],[3,"checked","indeterminate","change"],["mat-menu-item","","class","bv2-property-picker-options","role","menuitemcheckbox",4,"ngFor","ngForOf"],["class","bv2-property-picker-error-message",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-options"],["title","option",1,"bv2-property-picker-option-row",3,"click"],[3,"checked","change","click"],[1,"bv2-property-picker-error-message"]],template:function(a,b){a&1&&(D(0,"div")(1,"button",
0)(2,"div",1)(3,"span",2),P(4),P(5," \u00a0 "),E(),F(6,"mat-icon",3),E()(),D(7,"mat-menu",null,4)(9,"div",5),K("click",function(d){return Nnc(b,d)}),D(10,"mat-checkbox",6),K("change",function(d){b.selectAllValue=d.checked;return Nnc(b)}),P(11),E()(),F(12,"mat-divider"),O(13,x2a,4,3,"div",7),R(14,"keyvalue"),E(),O(15,y2a,2,1,"div",8),E());if(a&2){var c=N(8);z(1);pg("ng-invalid",!!b.errorString);C("matMenuTriggerFor",c);z(3);Q(" ",Onc(b)," ");z(5);dg("aria-checked",b.selectAllValue);z(1);C("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);z(1);Q(" ",b.selectAllText," ");z(2);C("ngForOf",S(14,10,b.options.propertyValues));z(2);C("ngIf",!!b.errorString)}},dependencies:[ax,bx,QI,iD,gD,hD,WQ,NA,OB,mx],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var Pnc=function(a,b){this.displayString=a;this.value=b},Qnc=function(a){this.propertyValues=a},Rnc=function(a){for(var b=m(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},$2a=function(a){for(var b=m(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};Qnc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var p_=function(){};p_.\u0275fac=function(a){return new (a||p_)};p_.\u0275mod=fd({type:p_});p_.\u0275inj=Qc({imports:[px,BM,jD,XQ,BD,rD]});var Snc=function(a,b){this.name=a;this.secondsPerUnit=b},Mr=new Snc("minute",60),Nr=new Snc("hour",3600),F2a=new Snc("day",86400),q_=function(){this.errorString=null;this.objectiveDurationChange=new vw;this.objectiveBusinessDaysChange=new vw;this.intervalUnit=F2a};q_.prototype.ngOnInit=function(){Tnc(this)};q_.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&Tnc(this)};
var B2a=function(a,b){b=b.name;1!==sj(a.intervalString)&&(b+="s");return b},Tnc=function(a){2!=a.dayType&&Unc(a,F2a)||Unc(a,Nr)||Unc(a,Mr);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},Unc=function(a,b){var c=a.objectiveDuration.getSeconds();return 0==c%b.secondsPerUnit?(c/=b.secondsPerUnit,0!=c||""!=a.intervalString?(a.intervalString=""+c,a.intervalUnit=b):(2==a.dayType?[Mr,Nr]:[Mr,Nr,F2a]).includes(a.intervalUnit)||(a.intervalUnit=b),!0):
!1},z2a=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);D2a(a);E2a(a)},D2a=function(a){a.objectiveDuration.setSeconds(a.intervalUnit.secondsPerUnit*(sj(a.intervalString)||0));a.objectiveDurationChange.emit(a.objectiveDuration)},E2a=function(a){a.objectiveBusinessDays=sj(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};q_.\u0275fac=function(a){return new (a||q_)};
q_.\u0275cmp=r({type:q_,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[md],decls:2,vars:2,consts:[["class","enabled bv2-slo-objective",4,"ngIf"],["class","disabled",4,"ngIf"],[1,"enabled","bv2-slo-objective"],["class","bv2-slo-objective-interval",
4,"ngIf"],[1,"bv2-slo-objective-interval"],["type","text",3,"ngModel","ngModelChange"],[1,"bv2-slo-objective-unit",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"bv2-slo-objective-unit"],[3,"value"],[1,"disabled"],["class","bv2-slo-objective-biz-day-text",4,"ngIf"],[4,"ngIf"],[1,"bv2-slo-objective-biz-day-text"]],template:function(a,b){a&1&&(O(0,G2a,6,6,"span",0),O(1,K2a,3,2,"span",1));a&2&&(C("ngIf",!b.isDisabled),z(1),C("ngIf",b.isDisabled))},dependencies:[ax,
bx,yh,Ex,Lx,EM,PA],styles:['[_nghost-%COMP%]{width:200px;line-height:29px}.bv2-slo-objective[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-interval[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-unit[_ngcontent-%COMP%]{padding-right:4px;padding-left:4px}[_nghost-%COMP%]     .mat-select-value{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:#1a73e8;color:var(--link);min-width:60px}input.ng-invalid.ng-dirty[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}\n/*# sourceMappingURL=slo_objective_selector.css.map */']});var r_=function(){this.typeStringToJSPB=new Map([["BUG",1],["FEATURE_REQUEST",2],["CUSTOMER_ISSUE",3],["INTERNAL_CLEANUP",4],["PROCESS",5],["VULNERABILITY",6],["PRIVACY_ISSUE",7],["PROJECT",8],["FEATURE",9],["MILESTONE",10],["EPIC",11],["STORY",12],["TASK",13]]);this.jspbTypeToString=new Map([[1,"BUG"],[2,"FEATURE_REQUEST"],[3,"CUSTOMER_ISSUE"],[4,"INTERNAL_CLEANUP"],[5,"PROCESS"],[6,"VULNERABILITY"],[7,"PRIVACY_ISSUE"],[8,"PROJECT"],[9,"FEATURE"],[10,"MILESTONE"],[11,"EPIC"],[12,"STORY"],[13,"TASK"]]);
this.priorityStringToJSPB=new Map([["P0",1],["P1",2],["P2",3],["P3",4],["P4",5]]);this.jspbPriorityToString=new Map([[1,"P0"],[2,"P1"],[3,"P2"],[4,"P3"],[5,"P4"]]);this.postmortemValuesToCanonical=new Map([["TRUE","ANY"],["FALSE","NONE"],["ANY","ANY"],["NONE","NONE"]]);this.canonicalGroupQueryKeywordToQueryValue=new Map([["ANY","any"],["NONE","none"]])},Ync=function(a,b){var c=new Vnc,d=Wnc(b,"type",function(f){var h=f.toUpperCase(),l=new Xnc;a.typeStringToJSPB.has(h)?l.value=h:l.error='The string "'+
f+'" is not a valid type';return l});if(d.error)return c.error=d.error,c;var e=m(d.values);for(d=e.next();!d.done;d=e.next())c.types.push(a.typeStringToJSPB.get(d.value));d=Wnc(b,"priority",function(f){var h=f.toUpperCase(),l=new Xnc;a.priorityStringToJSPB.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid priority';return l});if(d.error)return c.error=d.error,c;e=m(d.values);for(d=e.next();!d.done;d=e.next())c.priorities.push(a.priorityStringToJSPB.get(d.value));b=Wnc(b,"postmortem",function(f){var h=
f.toUpperCase(),l=new Xnc;a.postmortemValuesToCanonical.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid postmortem value';return l});if(b.error)c.error=b.error;else for(b=m(b.values),d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},Wnc=function(a,b,c){var d=new Znc;if(a=(new RegExp(b+":(\\S+)")).exec(a))for(a=a[1],a.startsWith("(")&&a.endsWith(")")&&(a=a.substring(1,a.length-1)),a=a.split("|"),b=0;b<a.length;b++){var e=c(a[b]);
if(e.error){d.error=e.error;break}d.values.push(e.value)}return d};r_.\u0275fac=function(a){return new (a||r_)(n(sJ),n(tu))};r_.\u0275prov=Pc({token:r_,factory:r_.\u0275fac,providedIn:"root"});var Vnc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},Znc=function(){this.values=[];this.error=""},Xnc=function(){this.error=this.value=""};var s_=function(){};s_.prototype.validate=function(a){for(var b={},c=m(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};s_.\u0275fac=function(a){return new (a||s_)};s_.\u0275dir=r({type:s_,selectors:[["","customValidators",""]],inputs:{validators:["customValidators","validators"]},features:[Dg([{provide:yx,useExisting:s_,multi:!0}])]});var t_=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new vw;this.onValidation=new vw;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=[0].concat(P6b);this.dayTypes=[1,2];P6b.map(function(d,e){return[d,e]});this.selectedMetric=0;this.selectedDayType=1;this.selectedMetric=
this.metricChoices[0];this.selectedDayType=1;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.anyNoneDisplayValues=new Map([["ANY","Has postmortem"],["NONE","No postmortem"]]);this.canPerformActions=!0},v3a=function(a,b,c){a3a(a);a=m(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},y3a=function(a,b,c){c=B3a(a,b,c);var d=c.newOffset;c.valid&&(a3a(a),Ma(a.collection,b),Ma(a.boundCollection,b.sloElement),a.collection.splice(d,
0,b),a.boundCollection.splice(d,0,b.sloElement),$nc(a))},B3a=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},a3a=function(a){a=m(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},aoc=function(a,b){var c=b.map(function(d){return new u_(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},g3a=function(a,b){return 0!==b&&a.constants.protoIssueTypesDisplayNames.has(b)?a.constants.protoIssueTypesDisplayNames.get(b):
" - "},l3a=function(a,b){return 0!==b&&a.constants.protoIssuePrioritiesDisplayNames.has(b)?a.constants.protoIssuePrioritiesDisplayNames.get(b):" - "},b3a=function(a,b){a3a(a);Ma(a.collection,b);Ma(a.boundCollection,b.sloElement);$nc(a)},N2a=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",content:xp("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=
[];$nc(a)},onDismiss:function(){}});b.stopPropagation()},L2a=function(a,b){var c=new u_(new O6b,a,!0);v3a(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);$nc(a)};t_.prototype.onDrop=function(a){y3a(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var $nc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
Ei.Object.defineProperties(t_.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){aoc(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=m(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});t_.\u0275fac=function(a){return new (a||t_)(A(sJ),A(r_),A(jJ))};
t_.\u0275cmp=r({type:t_,selectors:[["slo-elements-picker"]],inputs:{collectionInput:["collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},decls:29,vars:5,consts:[[1,"bv2-slo-elements-picker"],[1,"bv2-slo-elements-table-label","edit-field-header"],["href","http://g3doc/company/teams/buganizer/user-guide/guides/define-slo#creating-a-new-slo-rule"],["matTooltip","These ordered rules determine the objectives for each type of issue for this SLO",
1,"bv2-slo-elements-table-help-icon",3,"name","size"],["class","bv2-slo-elements-actionbar",4,"ngIf"],["cellspacing","0",1,"bv2-slo-elements-table"],[1,"header-row"],[1,"bv2-slo-elements-table-order-header"],[1,"bv2-slo-elements-table-type-header"],[1,"bv2-slo-elements-table-priority-header"],[1,"bv2-slo-elements-table-postmortem-header"],[1,"bv2-slo-elements-table-metric-header"],[1,"bv2-slo-elements-table-objective-header"],[1,"bv2-slo-elements-table-daytype-header"],[1,"bv2-slo-elements-table-actions-header"],
["cdkDropList","",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped",4,"ngIf"],["class","bv2-slo-elements-table-empty-list-description",4,"ngIf"],[1,"bv2-slo-elements-actionbar"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["class","hoverable","matTooltip","Add a new rule",3,"name","size","click",4,"ngIf"],["matTooltip","Clear all rules",1,"hoverable",3,"name","size","click"],["matTooltip","Add a new rule",1,"hoverable",3,"name","size","click"],["cdkDropList",
"",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped"],["class","bv2-slo-element-row","cdkDrag","",3,"draggable",4,"ngFor","ngForOf"],["cdkDrag","",1,"bv2-slo-element-row"],["class","bv2-slo-element-row-counter editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-type-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-priority-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-postmortem-column bv2-editable-slo-element editable-row",
4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-metric bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-objective bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-daytype bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-action editable-row",4,"ngIf"],["class","bv2-slo-element-row-counter display-row",4,"ngIf"],["class","bv2-slo-element-type-column bv2-slo-element-picker-column display-row",
4,"ngIf"],["class","bv2-slo-element-priority-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-postmortem-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-metric bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-objective bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-daytype bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-action display-row",
4,"ngIf"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-type-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-priority-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column",
"bv2-editable-slo-element","editable-row"],[1,"bv2-postmortem-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],["appearance","outline"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModel","customValidators","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective","bv2-editable-slo-element",
"editable-row"],["required","",3,"dayType","objectiveDuration","objectiveBusinessDays","validator","objectiveDurationChange","objectiveBusinessDaysChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],["color","accent","appearance","outline"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-slo-element-action","editable-row"],["matTooltip","Finish editing",1,"bv2-slo-element-action",
3,"name","size","click"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"name","size","click"],[1,"bv2-slo-element-row-counter","display-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[4,"ngIf"],["class","bv2-property-display-chips",4,"ngIf"],[1,"bv2-property-display-chips"],["class","bv2-property-display-chip-container",4,"ngFor","ngForOf"],[1,"bv2-property-display-chip-container"],[1,"matcher-chip-content"],[1,"bv2-slo-element-priority-column","bv2-slo-element-picker-column",
"display-row"],[1,"bv2-slo-element-postmortem-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-metric","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-objective","bv2-slo-element-picker-column","display-row"],["required","",3,"dayType","objectiveDuration","objectiveBusinessDays","isDisabled","objectiveDurationChange","objectiveBusinessDaysChange"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-action","display-row"],
["class","hoverable bv2-slo-element-action-edit","matTooltip","Edit this rule",3,"name","size","click",4,"ngIf"],["class","hoverable bv2-slo-element-action-more-settings","matTooltip","More options",3,"name","size","matMenuTriggerFor",4,"ngIf"],["settingsMenu","matMenu"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-down",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-up",3,"click",4,"ngIf"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-below",
3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-above",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-remove",3,"click"],["matTooltip","Edit this rule",1,"hoverable","bv2-slo-element-action-edit",3,"name","size","click"],["matTooltip","More options",1,"hoverable","bv2-slo-element-action-more-settings",3,"name","size","matMenuTriggerFor"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",
3,"click"],[1,"bv2-slo-elements-table-empty-list-description"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div")(2,"div")(3,"label",1),P(4,"Rules"),E(),D(5,"a",2),F(6,"b-icon",3),E(),O(7,O2a,6,3,"span",4),E(),D(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),P(12,"Order"),E(),D(13,"th",8),P(14,"Type"),E(),D(15,"th",9),P(16,"Priority"),E(),D(17,"th",10),P(18,"Postmortem"),E(),D(19,"th",11),P(20,"Metric"),E(),D(21,"th",12),P(22,"Objective"),E(),D(23,"th",13),P(24," Day Type "),E(),F(25,"th",14),E()(),
O(26,E3a,2,3,"tbody",15),E(),D(27,"div"),O(28,F3a,2,0,"div",16),E()()());a&2&&(z(6),C("name","help-outline")("size","small"),z(1),C("ngIf",!b.isDisabled),z(19),C("ngIf",b.collection&&0!=b.collection.length),z(2),C("ngIf",!b.collection||0==b.collection.length))},dependencies:[ax,bx,s_,kQ,lQ,Ex,Wx,Lx,nO,qB,iD,gD,hD,EM,PA,qD,o_,q_],styles:['.bv2-slo-elements-picker[_ngcontent-%COMP%]{display:block}.bv2-slo-elements-picker[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]{width:1270px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{cursor:pointer}.bv2-slo-elements-picker[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:inherit}.bv2-slo-elements-picker[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-select-value-text, .cdk-drag-preview[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-select-value-text{padding-left:4px;text-align:left;width:8em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--muted);line-height:32px;text-align:center}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding-top:2px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:inline-block;height:20px;margin-right:4px;white-space:nowrap}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%]{display:inline-block;padding-bottom:4px;padding-left:4px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%]{display:inline-block;padding-right:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);counter-reset:rulenumber;width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]{counter-increment:rulenumber}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:counter(rulenumber) ""}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:128px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-top:3px;padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%]{border:0px;height:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%]{padding-left:16px;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:200px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%]{padding-left:16px;text-align:left;width:60px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]{height:18px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%]{background:none;border:none;box-shadow:none;line-height:initial;min-width:initial;padding:0;vertical-align:initial}.cdk-drag-preview[_ngcontent-%COMP%]{counter-increment:rulenumber;background-color:#fff;background-color:var(--surface-default);box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:table}.cdk-drag-preview[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:counter(rulenumber) ""}.cdk-drag-preview.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:128px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:""}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0, 0, 0.2, 1)}\n/*# sourceMappingURL=slo-elements-picker.css.map */']});
var u_=function(a,b,c){var d=this;this.sloElement=a;this.controllerReference=b;this.isNewElement=void 0===c?!1:c;this.metricSelectorValid=this.postmortemPickerValid=this.priorityPickerValid=this.typePickerValid=this.isEditing_=!1;this.objectiveValid=!0;this.validatePriorityPicker=function(){var e=Rnc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=Rnc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=Rnc(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=null===e;return e};this.validateObjective=function(e,f){if(2!=d.selectedDayType){if(!e.match(/^\d+$/)||"0"===e)return d.objectiveValid=!1,"Objective must be a positive integer"}else{if(!e.match(/^\d*$/)||!f.match(/^\d*$/))return d.objectiveValid=!1,"Objective must be a positive integer";if(!(""!==e&&"0"!==e||""!==f&&"0"!==f))return d.objectiveValid=
!1,"A business day or time based duration must be specified."}d.objectiveValid=!0;return null};this.matcherText=a.getMatcher();this.selectedMetric=a.getMetric();this.selectedDayType=a.getDayType()||1;this.selectedObjectiveDuration=boc(a.getObjective());this.selectedObjectiveBusinessDays=a.getBusinessDays();this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return coc(d,e)}};doc(this);this.typePickerValues=eoc(this.controllerReference.sloParseService.jspbTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return g3a(d.controllerReference,e)});this.priorityPickerValues=eoc(this.controllerReference.sloParseService.jspbPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return l3a(d.controllerReference,e)});this.postmortemPickerValues=eoc(this.controllerReference.anyNoneDisplayValues.keys(),function(e){return 0===d.parseResult.postmortemValues.length||
d.parseResult.postmortemValues.includes(e)},function(e){return d.controllerReference.anyNoneDisplayValues.get(e)});this.validateTypePicker();this.validatePriorityPicker();this.validatePostmortemPicker();coc(this,this.selectedMetric)},boc=function(a){return a?a:(new il).setSeconds(86400)};u_.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var coc=function(a,b){b=0!==b;return a.metricSelectorValid=b};
u_.prototype.stopEditing=function(){if(this.isEditing_&&(this.isValid()||this.isNewElement)){this.controllerReference.openRow=null;var a=this.controllerReference;a.canPerformActions=!a.openRow;this.isEditing_=this.isNewElement=!1;this.canEdit=!0;foc(this);k(this.sloElement,1,this.selectedMetric);this.sloElement.setDayType(this.selectedDayType);this.sloElement.setObjective(this.selectedObjectiveDuration);this.sloElement.setBusinessDays(this.selectedObjectiveBusinessDays);doc(this)}};
var foc=function(a){var b=goc(a.typePickerValues),c=goc(a.priorityPickerValues),d=goc(a.postmortemPickerValues);b=hoc(b,function(f){return a.controllerReference.sloParseService.jspbTypeToString.get(sj(f))});c=hoc(c,function(f){return a.controllerReference.sloParseService.jspbPriorityToString.get(sj(f))});d=hoc(d,function(f){return a.controllerReference.sloParseService.canonicalGroupQueryKeywordToQueryValue.get(f)});var e=[];b&&e.push("type:"+b);c&&e.push("priority:"+c);d&&e.push("postmortem:"+d);
a.matcherText=e.join(" ");a.sloElement.setMatcher(a.matcherText)},goc=function(a){var b=[],c=!0,d=!0,e;for(e in a.propertyValues)a.propertyValues[e].value?(b.push(e),d=!1):c=!1;return c||d?[]:b},hoc=function(a,b){if(0===a.length)return"";if(1===a.length)return b(a[0]);var c=[];a=m(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
u_.prototype.startEditing=function(){if(!this.isEditing_){this.controllerReference.canPerformActions=!1;this.controllerReference.openRow=this;var a=this.controllerReference;a.canPerformActions=!a.openRow;this.canEdit=!1;this.isEditing_=!0;doc(this)}};var doc=function(a){a.parseResult=Ync(a.controllerReference.sloParseService,a.matcherText)},eoc=function(a,b,c){var d={};a=m(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new Pnc(h,f)}return new Qnc(d)};var v_=function(){};v_.\u0275fac=function(a){return new (a||v_)};v_.\u0275mod=fd({type:v_});v_.\u0275inj=Qc({imports:[px,ay,FM]});var w_=function(){};w_.\u0275fac=function(a){return new (a||w_)};w_.\u0275mod=fd({type:w_});w_.\u0275inj=Qc({imports:[px]});var x_=function(){};x_.\u0275fac=function(a){return new (a||x_)};x_.\u0275mod=fd({type:x_});x_.\u0275inj=Qc({imports:[px,w_,mQ,ay,KP,rB,jD,FM,lE,p_,v_]});var y_=function(a,b,c,d,e){Z.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};X(y_,Z);y_.\u0275dir=Z.\u0275dir;g=y_.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.slos.length||(this.focusedIndex++,this.scrollToFocusedIndex())};g.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.ngOnInit=function(){var a=this,b=wO(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next SLO",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous SLO",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View SLO detail",onPress:function(){var c=a.slos[a.focusedIndex];c&&a.editSlo(c);a.cdr.detectChanges()}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};g.renderRowLabel=function(a){return this.slos[a].getName()};g.editSlo=function(a){this.location.path(this.paths.editSlo(a.getSloId()))};
y_.\u0275fac=function(a){return new (a||y_)(A(Yd),A(HH,2),A(bH),A(cH),A(vO))};
y_.\u0275cmp=r({type:y_,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Dg([HH]),$f],decls:16,vars:1,consts:[[1,"pop-grid","bv2-resource-list","bv2-slo-grid"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","slo-name","clickable"],
["tabindex","-1",1,"grid-link",3,"href","click"],[1,"bv2-resource-list-cell","slo-description","clickable"]],template:function(a,b){a&1&&(D(0,"table",0)(1,"thead")(2,"tr",1),F(3,"th",2),D(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),P(8," SLO name "),E()()()(),D(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),P(13," Description "),E()()()()()(),D(14,"tbody"),O(15,G3a,7,7,"tr",6),E()());a&2&&(z(15),C("ngForOf",b.slos))},dependencies:[ax],styles:[".bv2-slo-grid[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary)}.bv2-slo-grid[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{text-transform:initial}"]});var z_=function(){};z_.\u0275fac=function(a){return new (a||z_)};z_.\u0275mod=fd({type:z_});z_.\u0275inj=Qc({imports:[px]});var A_=function(a,b){this.log=a;this.dateFormatter=b},joc=function(a,b){var c=zQa(b.getAddMask()),d=zQa(b.getRemoveMask()),e={author:b.getAuthor()||null,timestamp:b.getTimestamp()||null,diffs:[]},f=b.getAdd()||new qQ;b=b.getRemove()||new qQ;for(var h=m(new Set([].concat(p(c),p(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=Q6b.get(q);if("name"===q){var u=Iq(d,q,b.getName());q=Iq(c,q,f.getName());e.diffs.push(Jq(l,u,q))}else if("description"===q)u=Iq(d,q,b.getDescription()),q=Iq(c,q,f.getDescription()),
e.diffs.push(Jq(l,u,q));else if("parentId"===q)u=Iq(d,q,String(b.getParentId())),q=Iq(c,q,String(f.getParentId())),e.diffs.push(Jq(l,u,q));else if("elements"===q){var x=Et(b);u=Et(f);x=AQa(d,q,x.map(function(y){return ioc(y)}));q=AQa(c,q,u.map(function(y){return ioc(y)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:x,added:q}})}else a.log.error("Unsupported diff field.")}return e},ioc=function(a){var b=a.getMatcher(),c=T2a.get(a.getMetric()),d=X2a.get(a.getDayType()),e=[];0<a.getBusinessDays()&&
e.push(a.getBusinessDays()+" day"+(1<a.getBusinessDays()?"s":""));0<a.getObjective().getSeconds()&&e.push(g2b(1E3*a.getObjective().getSeconds()));return'("'+b+'", '+c+") - "+(d+" days - "+e.join(", "))};A_.\u0275fac=function(a){return new (a||A_)(n(pG),n(TL))};A_.\u0275prov=Pc({token:A_,factory:A_.\u0275fac,providedIn:"root"});var koc={label:"Starts On",value:"STARTS_ON"},loc={label:"Assignment ETA",value:"ASSIGNMENT_ETA"},moc={label:"Response ETA",value:"RESPONSE_ETA"},noc={label:"Closure ETA",value:"CLOSURE_ETA"},ooc=[koc,loc,moc,noc],B_=function(){this.snoozeUntilCommit=new vw;this.closePicker=new vw;this.currentSnoozeType=new Kx(koc);this.isShowingEtaViewAs=!1;this.snoozeTypeChoices=ooc};
B_.prototype.ngOnChanges=function(a){if(a.snoozeUntil){var b,c;if(c=this.snoozeUntil){c=null!=c&&c.getSeconds?c.getSeconds():c.seconds;var d=new sp;d.setTime(1E3*c);c=d}else c=null;this.currentPickerDate=null!=(b=c)?b:void 0}a.sloStatus&&(this.sloStatus?(this.snoozeTypeChoices=[koc],NJ(this.sloStatus.assignmentBounds)&&this.snoozeTypeChoices.push(loc),NJ(this.sloStatus.responseBounds)&&this.snoozeTypeChoices.push(moc),NJ(this.sloStatus.closureBounds)&&this.snoozeTypeChoices.push(noc),this.isShowingEtaViewAs=
OJ(this.sloStatus)):(this.snoozeTypeChoices=ooc,this.isShowingEtaViewAs=!1))};B_.prototype.setDate=function(a){this.currentPickerDate=a};B_.\u0275fac=function(a){return new (a||B_)(A(MJ))};
B_.\u0275cmp=r({type:B_,selectors:[["snooze-date-time-picker"]],inputs:{snoozeUntil:"snoozeUntil",sloStatus:"sloStatus"},outputs:{snoozeUntilCommit:"snoozeUntilCommit",closePicker:"closePicker"},features:[Dg([HH]),md],decls:3,vars:2,consts:[[3,"clickOutside"],[3,"date","dateSelectionChange","saveClicked","cancelClicked"],[4,"ngIf"],[3,"formControl"],["tabindex","0"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(D(0,"div",0),K("clickOutside",function(){b.closePicker.emit()}),
D(1,"b-date-time-picker-content",1),K("dateSelectionChange",function(c){return b.setDate(c)})("saveClicked",function(){var c=(c=b.currentPickerDate)?{seconds:c.getTime()/1E3,nanos:0}:null;b.snoozeUntilCommit.emit({date:null!=c?c:null,snoozeType:b.currentSnoozeType.value.value});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),O(2,I3a,8,3,"ng-container",2),E()());a&2&&(z(1),C("date",b.currentPickerDate),z(1),C("ngIf",b.isShowingEtaViewAs))},dependencies:[ax,bx,HI,aU,Ex,Rx,qB,
EM,DM,PA],styles:["b-date-time-picker-content[_ngcontent-%COMP%]{position:absolute;right:10px;z-index:100}[_nghost-%COMP%]     .mat-form-field{width:9rem;margin-left:1rem}[_nghost-%COMP%]     .mat-form-field .mat-form-field-underline{bottom:0}\n/*# sourceMappingURL=snooze_date_time_picker.css.map */"],changeDetection:0});var C_=function(){};C_.\u0275fac=function(a){return new (a||C_)};C_.\u0275mod=fd({type:C_});C_.\u0275inj=Qc({imports:[px,II,sU,by,FM]});var D_=function(){};D_.\u0275fac=function(a){return new (a||D_)};D_.\u0275mod=fd({type:D_});D_.\u0275inj=Qc({imports:[px,YT,BD,gB]});var roc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=m(poc);for(var c=b.next();!c.done;c=b.next())if(c=c.value,a[c]){var d=a[c],e=void 0;Array.isArray(d)?e=d.map(function(f){return"string"===typeof f?xj(f):""}):e="string"===typeof d?xj(d):"";this.templateAttributes[c]=e}b=m(qoc);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=m(a),b=a.next();!b.done;b=a.next())b=b.value.split(":"),
c=b.slice(1).join(":"),nm(c)||(this.templateCustomFields[b[0]]=c)},toc=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||soc.some(function(b){return null!=a.templateAttributes[b]})},yoc=function(a,b,c){null!=c&&(uoc(a,c),voc(a,b,c),woc(b,c));c=m(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;xoc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},voc=function(a,b,c){null==b.customField&&(b.customField=
[]);for(var d={},e=m(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e={};f=m(Object.entries(a.templateCustomFields));for(var h=f.next();!h.done;e={$jscomp$loop$prop$customFieldId$2206:e.$jscomp$loop$prop$customFieldId$2206},h=f.next()){var l=m(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$customFieldId$2206=sj(h);l={customFieldId:e.$jscomp$loop$prop$customFieldId$2206,value:l};h=a.getCustomFieldValue(l,c);null!=d[e.$jscomp$loop$prop$customFieldId$2206]?
(l=b.customField.findIndex(function(q){return function(u){return u.customFieldId===q.$jscomp$loop$prop$customFieldId$2206}}(e)),b.customField[l]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
roc.prototype.getCustomFieldValue=function(a,b){var c=new Bj(a);if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=Gna(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=Hna(a.value)||void 0;break;case "REPEATED_TEXT":d=a.value.split(",");c.repeatedTextValue={values:d};break;case "REPEATED_DATE":d=a.value.split(",").map(function(e){return Gna(e)}).filter(function(e){return null!==e});c.repeatedDateValue=
{values:d};break;case "REPEATED_ENUM":d=a.value.split(",");c.repeatedEnumValue={values:d};break;case "REPEATED_NUMERIC":d=a.value.split(",").map(function(e){return Hna(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};roc.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var uoc=function(a,b){a.templateCustomFields=gc(a.templateCustomFields,function(c,d){return!!b[d]})},woc=function(a,b){if(null!=a.customField){var c={};a=m(a.customField);for(var d=a.next();!d.done;c={$jscomp$loop$prop$allowedValues$2208:c.$jscomp$loop$prop$allowedValues$2208},d=a.next()){d=d.value;var e=b[d.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){c.$jscomp$loop$prop$allowedValues$2208=e.allowedValue||[];var f=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(d.repeatedEnumValue=
d.repeatedEnumValue||{values:[]},d.repeatedEnumValue.values=d.repeatedEnumValue.values.filter(function(h){return function(l){return h.$jscomp$loop$prop$allowedValues$2208.includes(l)}}(c)),!d.repeatedEnumValue.values.length&&f&&(d.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):c.$jscomp$loop$prop$allowedValues$2208.includes(d.enumValue)||(d.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},zoc=new sJ,Aoc=zoc.priorities,Boc=zoc.severities,Coc=zoc.issueTypes,poc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),
qoc=["inProd"],soc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),E_={},xoc=(E_.cc=function(a,b){a.ccUsers=M3a(b,a.ccUsers||[])},E_.collaborators=function(a,b){a.collaboratorsUsers=M3a(b,a.collaboratorsUsers||[])},E_.title=function(a,b){"string"===typeof b&&(a.title=b)},E_.assignee=function(a,b){L3a(b,function(c){a.assigneeUser=c})},E_.reporter=function(a,b){L3a(b,function(c){a.reporterUser=c})},E_.verifier=function(a,b){L3a(b,function(c){a.verifierUser=
c})},E_.hotlistIds=function(a,b){if(b=J3a(b)){a.hotlistId||(a.hotlistId=[]);b=m(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},E_.blockingIssueIds=function(a,b){if(b=J3a(b))a.blockingIssueId=b.map(String)},E_.blockedByIssueIds=function(a,b){if(b=J3a(b))a.blockedByIssueId=b.map(String)},E_.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},E_.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},E_.inProd=function(a,b){a.inProd=
"true"===b},E_.priority=function(a,b){if(b=K3a(Aoc,b))a.priority=Xm(b)},E_.severity=function(a,b){if(b=K3a(Boc,b))a.severity=era(b)},E_.type=function(a,b){if(b=K3a(Coc,b))a.type=dra(b)},E_);var F_=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
F_.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,l,q,u,x,y,G,J,M;return Ze(function(V){switch(V.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if("ADD"!==f&&"REMOVE"!==f)throw Error("qe");h={};l=[];q=[];u=pra(e);x=m(u.reverse());y=x.next();case 2:if(y.done){V.jumpTo(4);break}G=y.value;$e(V,5);return"ADD"===f?(J=G.map(function(U){return hF(new gF,Number(U))}),af(V,(0,T.firstValueFrom)(QSb(b.issueRelationshipApi,d,J)),8)):af(V,(0,T.firstValueFrom)(RSb(b.issueRelationshipApi,
d,G)),8);case 8:return af(V,b.issueApi.batchGetIssues(G).then(function(U){return U.map(function(W){return h[W.issueId]=W})}),11);case 11:Au(V,3);break;case 5:M=df(V);if(!Cn(M))throw M;q.push(M);l.push.apply(l,p(G));case 3:y=x.next();V.jumpTo(2);break;case 4:return V.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};F_.\u0275fac=function(a){return new (a||F_)(n(nF),n(dF))};F_.\u0275prov=Pc({token:F_,factory:F_.\u0275fac,providedIn:"root"});var G_=function(a,b){Z.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};X(G_,Z);G_.\u0275dir=Z.\u0275dir;G_.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.url());21<a.history.length&&a.history.shift()}))};G_.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};G_.prototype.hasPreviousPage=function(){return 1<this.history.length};
var H_=function(a){if(a.hasPreviousPage()){a.history.pop();var b=a.history.pop();b?a.bLocation.url(b):a.bLocation.url("/")}else a.bLocation.url("/")};G_.\u0275fac=function(a){return new (a||G_)(n(KH),n(bH))};G_.\u0275prov=Pc({token:G_,factory:G_.\u0275fac,providedIn:"root"});var I_=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},Doc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&Hu(d,"id=")||Hu(d,"bugId="))d+=c;KI(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};I_.\u0275fac=function(a){return new (a||I_)(n(bH),n(JJ),n(JI))};I_.\u0275prov=Pc({token:I_,factory:I_.\u0275fac,providedIn:"root"});var J_=function(a,b){Z.call(this);var c=this;this.routerEvents=a;this.documentVisibility=b;this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1;this.onNavStart=function(){c.ignoringNextNav||(HWb("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};X(J_,Z);J_.\u0275dir=Z.\u0275dir;
J_.prototype.install=function(){var a=this;Uo()&&(this.subscriptions.add(this.routerEvents.routeChangeStart.subscribe(this.onNavStart)),this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(this.onNavSuccess)),this.subscriptions.add(this.routerEvents.routeUpdate.subscribe(function(){a.onNavStart();a.onNavSuccess()})),this.subscriptions.add(this.documentVisibility.visibilityState$.pipe(sf(function(b){return"visible"!==b}),Ef()).subscribe(function(){a.tabWasHidden=!0})))};
var Eoc=function(a,b){HWb(b);if(b!==a.mostRecentlyMeasured){var c=1>=a.validNavigations?void 0:"appNavStart",d=c?"appNavStart-to-CF":"browserStart-to-CF",e=d+" -> "+b;a.mostRecentlyMeasured=b;if(("browserStart-to-CF"!==d||!a.tabWasHidden)&&Uo())if(null===b)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(f){console.warn("route_performance",f)}}};J_.\u0275fac=function(a){return new (a||J_)(n(KH),n(K_))};
J_.\u0275prov=Pc({token:J_,factory:J_.\u0275fac,providedIn:"root"});var K_=function(a){var b=this;this.window=a;this.visibilityState$=(0,T.fromEvent)(this.window.document,"visibilityChange").pipe(Pf(void 0),B(function(){return b.currentVisibility}))};Ei.Object.defineProperties(K_.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});K_.\u0275fac=function(a){return new (a||K_)(n(SE))};
K_.\u0275prov=Pc({token:K_,factory:K_.\u0275fac,providedIn:"root"});var Foc=RegExp("action/issues/([0-9]+)/"),Goc=new Ud("ETAG_URL_TRANSFORMERS"),L_=function(a){this.transformers=a;this.etagStore={};this.IF_MATCH_METHODS=["POST","PUT","DELETE"]};L_.prototype.intercept=function(a,b){if(this.IF_MATCH_METHODS.includes(a.method)){var c=this.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}if(c=Foc.exec(a.url))this.issueId=c[1];return Hoc(this,a,b)};
var Hoc=function(a,b,c){return c.handle(b).pipe(Sf(function(d){if(d instanceof FB){var e=d.headers;e.has("etag")&&a.setEtag(b,e.get("etag"));d=d.body;if(d instanceof uSb&&a.issueId)for(d=m(fj(d,Tl,1)),e=d.next();!e.done;e=d.next()){e=m(e.value.getAttachmentsList());for(var f=e.next();!f.done;f=e.next())if(f=f.value,f.hasEtag()){var h=a.issueId,l=f.getAttachmentId();h=new DB("GET","action/issues/"+h+"/attachments/"+l);a.setEtag(h,f.getEtag())}}}}))};
L_.prototype.setEtag=function(a,b){null!=b&&(a=Ioc(this,a),this.etagStore[a]=b)};L_.prototype.getEtag=function(a){a=Ioc(this,a);return this.etagStore[a]};var Ioc=function(a,b){b=b.url;var c;a=m(null!=(c=a.transformers)?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};L_.\u0275fac=function(a){return new (a||L_)(n(Goc,8))};L_.\u0275prov=Pc({token:L_,factory:L_.\u0275fac,providedIn:"root"});var Joc={provide:HB,useClass:L_,multi:!0};var Koc={provide:Goc,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},Loc={provide:Goc,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var M_=function(a){this.activeSession=a};M_.prototype.intercept=function(a,b){var c=a.method;return"POST"===c||"PUT"===c||"DELETE"===c?(a=a.clone({setHeaders:{"X-XSRF-TOKEN":this.activeSession.getXsrfToken()}}),b.handle(a)):b.handle(a)};M_.\u0275fac=function(a){return new (a||M_)(n(tu))};M_.\u0275prov=Pc({token:M_,factory:M_.\u0275fac,providedIn:"root"});var Moc={provide:HB,useClass:M_,multi:!0};var N_=function(){};N_.\u0275fac=function(a){return new (a||N_)};N_.\u0275mod=fd({type:N_});N_.\u0275inj=Qc({providers:[{provide:zG,useClass:BG},{provide:ZZb,useClass:yJ},{provide:zJ,useClass:AJ},{provide:HTb,useClass:NF},{provide:ITb,useClass:MF},{provide:SF,useClass:VF},{provide:EZ,useClass:FZ},{provide:pI,useClass:rI},{provide:dF,useClass:fF},{provide:CT,useClass:DT},{provide:tH,useClass:wH},{provide:uH,useClass:vH}],imports:[px]});var Noc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};g=Noc.prototype;g.getId=function(){return this.lookupId_};g.setDisplayName=function(a){this.displayName_=a;return this};g.getDisplayName=function(){return this.displayName_};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
g.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var qt=function(a){Y.call(this,a)};X(qt,Y);qt.prototype.getEntryPoint=function(){return bk(this,5,0)};qt.prototype.setEntryPoint=function(a){return k(this,5,a)};var st=function(a){Y.call(this,a)};X(st,Y);st.prototype.getEntryPoint=function(){return bk(this,1,0)};st.prototype.setEntryPoint=function(a){return k(this,1,a)};var O_=function(a){Y.call(this,a)};X(O_,Y);O_.prototype.getQuery=function(){return lk(this,1,"")};O_.prototype.setQuery=function(a){return k(this,1,a)};O_.prototype.clearQuery=function(){Qu(this,1)};O_.prototype.hasQuery=function(){return gm(this,1)};var Ooc=function(a,b){k(a,3,b)};O_.prototype.getAffinityVersion=function(){return Db(this,7)};O_.prototype.setAffinityVersion=function(a){k(this,7,a)};O_.prototype.getAffinityVersionOrUndefined=function(){return Ru(this,7)};
var Poc=function(a){var b=xcc();k(a,8,tb(b))};g=O_.prototype;g.getSources=function(){return wk(this,qt,10)};g.getInstanceId=function(){return lk(this,11,"")};g.setInstanceId=function(a){return k(this,11,a)};g.clearInstanceId=function(){Qu(this,11)};g.hasInstanceId=function(){return gm(this,11)};g.getInstanceIdOrUndefined=function(){return Uu(this,11)};var kt=function(a){Y.call(this,a)};X(kt,Y);g=kt.prototype;g.getPersonLoggingId=function(){return Db(this,1)};g.setPersonLoggingId=function(a){k(this,1,a)};g.getFieldLoggingId=function(){return Db(this,2)};g.setFieldLoggingId=function(a){k(this,2,a)};g.setFieldValue=function(a){return k(this,3,a)};g.clearFieldValue=function(){return Qu(this,3)};g.getName=function(){return Db(this,4)};g.setName=function(a){return k(this,4,a)};g.hasName=function(){return gm(this,4)};
g.getNameOrUndefined=function(){return Uu(this,4)};g.getContactId=function(){return Db(this,5)};g.setContactId=function(a){k(this,5,a)};g.hasContactId=function(){return gm(this,5)};g.getProfileId=function(){return Db(this,6)};g.getProfileId_legacyNullable=function(){return Db(this,6)};g.setProfileId=function(a){return k(this,6,a)};g.hasProfileId=function(){return gm(this,6)};g.getFieldType=function(){return Db(this,7)};g.getIsPlaceholder=function(){return xl(this,10,!1)};
g.setIsPlaceholder=function(a){k(this,10,a)};g.getGroupId=function(){return Db(this,11)};g.setGroupId=function(a){k(this,11,a)};g.hasGroupId=function(){return gm(this,11)};var jt=function(a){Y.call(this,a)};X(jt,Y);g=jt.prototype;g.getProvenance=function(){return bk(this,3,0)};g.setProvenance=function(a){return k(this,3,a)};g.getContext=function(){return bk(this,5,0)};g.getExistingSelectionsCount=function(){return gj(this,6,0)};g.setExistingSelectionsCount=function(a){k(this,6,a)};var it=function(a){Y.call(this,a)};X(it,Y);var zs=function(a){return wk(a,jt,2)};it.prototype.getSessionState=function(){return wk(this,O_,3)};it.prototype.setSessionState=function(a){Ok(this,O_,3,a)};it.prototype.hasSessionState=function(){return sl(this,O_,3)};var P_=function(a,b){this.name_=b||"";this.address=a||""},Qoc=/"/g,Roc=/\\"/g,Soc=/\\/g,Toc=/\\\\/g,Uoc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),Voc=new RegExp("["+Xba({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");P_.prototype.getName=function(){return this.name_};P_.prototype.getAddress=function(){return this.address};P_.prototype.setName=function(a){this.name_=a};P_.prototype.toString=function(){return Woc(this,'()<>@:\\".[],;')};
var Woc=function(a,b){var c=a.getName();c=c.replace(Qoc,"");a:{for(var d=c,e=0;e<b.length;e++)if(ja(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(Soc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};P_.prototype.isValid=function(){return Uoc.test(this.address)};
var Zoc=function(a){var b=Xoc;a=a.replace(Voc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,l=f.charAt(h),q='"<(['.indexOf(l);if(-1==q||Yoc(f,h))f=l;else{q='">)]'.charAt(q);for(var u=f.indexOf(q,h+1);0<=u&&Yoc(f,u);)u=f.indexOf(q,u+1);f=0<=u?f.substring(h,u+1):l}"<"==f.charAt(0)&&-1!=f.indexOf(">")?(d=f.indexOf(">"),d=f.substring(1,d)):""==d&&(c+=f);e+=f.length}""==d&&-1!=c.indexOf("@")&&(d=c,c="");c=XCb(c);c=YCb(c,"'");c=YCb(c,'"');c=c.replace(Roc,'"');c=c.replace(Toc,"\\");d=XCb(d);return new b(d,
c)},Yoc=function(a,b){if('"'!=a.charAt(b))return!1;var c=0;for(--b;0<=b&&"\\"==a.charAt(b);b--)c++;return 0!=c%2};var Xoc=function(a,b){P_.call(this,a,b)};Gu(Xoc,P_);var $oc=RegExp("^((?!\\s)[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~\u0080-\uffffFF-])+@((?!\\s)[a-zA-Z0-9\u0080-\u3001\u3003-\uff0d\uff0f-\uff60\uff62-\uffffFF-]+[\\.\\uFF0E\\u3002\\uFF61])+(?!\\s)[a-zA-Z0-9\u0080-\u3001\u3003-\uff0d\uff0f-\uff60\uff62-\uffffFF-]{2,63}$");Xoc.prototype.isValid=function(){return apc(this.address)};var apc=function(a){return null==a?!1:$oc.test(a)};Xoc.prototype.toString=function(){return Woc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var bpc=/[^a-z0-9]+/ig,cpc=[9,11,10,12,13,14,15,16,19],dpc=[9,19,11],epc=[1,6],fpc=[2,7],gpc=[3,8],hpc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],N6a=[3,4,5,17,20],Xs=function(a,b,c){this.type_=a;this.value_=Pr(b);this.originalValue_=Pr(void 0===c?b:c)};Xs.prototype.getType=function(){return this.type_};Xs.prototype.getValue=function(){return this.value_};Xs.prototype.getOriginalValue=function(){return this.originalValue_};
var Ds=function(a){return cpc.includes(a.getType())},Es=function(a){return dpc.includes(a.getType())},Rs=function(a,b){switch(a){case 1:return Us(b);case 6:return new Xs(6,Pr(b).toLowerCase(),b);case 2:return $6a(b);case 7:return a7a(b);case 3:return K6a(b);case 8:return new Xs(8,Pr(b).toLowerCase(),b);case 5:return new Xs(5,Pr(b).toLowerCase(),b);case 4:return L6a(b);case 9:return ipc(b);case 12:return new Xs(12,Pr(b),b);case 13:return new Xs(13,Pr(b),b);case 14:return new Xs(14,Pr(b),b);case 15:return new Xs(15,
Pr(b),b);case 16:return new Xs(16,Pr(b),b);case 10:return new Xs(10,Pr(b),b);case 11:return new Xs(11,Pr(b),b);case 18:return M6a(b);case 19:return new Xs(19,Pr(b),b);case 20:return new Xs(20,Pr(b),b);case 17:return jpc;default:return new Xs(0,b)}},Us=function(a){return new Xs(1,Pr(a).toLowerCase(),a)},$6a=function(a){var b=Pr(a).toLowerCase().replace(bpc,"");return new Xs(2,b,a)},K6a=function(a){var b=Pr(a).toLowerCase();return"me"===b?jpc:new Xs(3,b,a)},L6a=function(a){return new Xs(4,Pr(a).toLowerCase(),
a)},a7a=function(a){var b=Pr(a).toLowerCase().replace(bpc,"");return new Xs(7,b,a)},ipc=function(a){return new Xs(9,Pr(a).toLowerCase(),a)},M6a=function(a){return new Xs(18,Pr(a),a)},kpc=function(a){var b=a.indexOf(":");return Rs(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};Xs.prototype.toString=function(){return this.getType()+":"+this.getValue()};Xs.prototype.equals=function(a){return a?this===a?!0:this.getType()===a.getType()&&this.getValue()===a.getValue():!1};
var Zs=Rs(0,""),jpc=new Xs(17,"me");var Q_=function(a){Y.call(this,a,2)};X(Q_,Y);var gt=function(a){Y.call(this,a)};X(gt,Y);g=gt.prototype;g.getType=function(){return bk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return Sk(this,1)};g.getValue=function(){return lk(this,2,"")};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return gm(this,2)};var R_=function(a){Y.call(this,a)};X(R_,Y);g=R_.prototype;g.getEnableClearcut=function(){return xl(this,1,!1)};g.setEnableClearcut=function(a){return k(this,1,a)};g.getClientId=function(){return bk(this,2,0)};g.setClientId=function(a){return k(this,2,a)};g.getSocialApplication=function(){return Db(this,3)};g.getSocialApplicationOrUndefined=function(){return rt(this,3)};g.getComponentFlow=function(){return bk(this,4,0)};g.setComponentFlow=function(a){return k(this,4,a)};
g.getInterfaceType=function(){return bk(this,5,0)};g.setInterfaceType=function(a){return k(this,5,a)};var S_=function(a){Y.call(this,a)};X(S_,Y);var T_=function(a){Y.call(this,a)};X(T_,Y);T_.prototype.getApplication=function(){return bk(this,1,0)};T_.prototype.setApplication=function(a){return k(this,1,a)};T_.prototype.getApplicationOrUndefined=function(){return rt(this,1)};T_.prototype.getIsEnabled=function(){return xl(this,2,!1)};var lpc=function(a){Y.call(this,a)};X(lpc,Y);g=lpc.prototype;g.getClearcut=function(){return wk(this,R_,1)};g.setClearcut=function(a){Ok(this,R_,1,a)};g.hasClearcut=function(){return sl(this,R_,1)};g.getExperiments=function(){return wk(this,T_,2)};g.setExperiments=function(a){Ok(this,T_,2,a)};g.hasExperiments=function(){return sl(this,T_,2)};var mpc=cc(lpc);var npc;var opc=function(){this.actionListeners=new Map};opc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};opc.prototype.unsubscribe=function(a,b){if(this.actionListeners.has(a)){var c=this.actionListeners.get(a).filter(function(d){return d!==b});c.length?this.actionListeners.set(a,c):this.actionListeners.delete(a)}};
opc.prototype.notify=function(a){var b=bd.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var ppc=function(){this.actionEventDispatcher=new opc};var qpc=function(){var a=Ab(npc||(npc=mpc("[[true,49,740,4]]")));this.injectorService=new ppc;a.hasClearcut()||a.setClearcut(new R_);a.hasExperiments()||a.setExperiments(new T_);this.internal=a};var R3a=function(a){this.root=a;this.length=0};g=R3a.prototype;g.getItems=function(){return Array.from(this.root.childNodes)};g.append=function(a){this.root.appendChild(a);++this.length};g.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("re");if(a===this.length)this.append(b);else{var c=this.getItems();this.root.insertBefore(b,c[a]);++this.length}};g.remove=function(a){if(0>a||a>=this.length)throw new RangeError("re");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
g.clear=function(){WLb(this.root);this.length=0};g.getRoot=function(){return this.root};var P3a=function(a){return ls('<ul id="'+ms(a.id)+'" peoplekit-id="'+ms("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+ms("peoplekitComponentsListImplList")+'"></ul>')};var Q3a=$r.getInstance();var rpc=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};rpc.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};rpc.prototype.preventDefault=function(){this.event.preventDefault()};var U3a=function(a,b){this.input=this.navigatable=null;this.navigatePastBeginCallback=a.navigatePastBegin||function(){};this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.options=Object.assign({},{shouldReactToHomeEnd:!0},b);this.eventHandler=Ur(this)};g=U3a.prototype;
g.attach=function(a,b){var c=this;this.detach();this.navigatable=b;this.input=a;this.eventHandler.listen(this.input,"keydown",function(d){return c.onKeyDown(new rpc(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new rpc(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal))switch(a.event.keyCode){case 40:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case 38:this.navigatable.prev(0)||this.navigatePastBeginCallback();a.stopPropagation();a.preventDefault();break;case 36:if(!this.options.shouldReactToHomeEnd)break;this.navigatable.goToIndex(0,0);a.stopPropagation();a.preventDefault();break;case 35:this.options.shouldReactToHomeEnd&&
(this.navigatable.goToIndex(this.navigatable.size()-1,0),a.stopPropagation(),a.preventDefault())}};g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};g.onBlur=function(){this.reset()};var f4a=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(p(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=f4a.prototype;
g.remove=function(a,b){var c=-1;a=m(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());0<=c&&b&&(this.isActive=!1,this.goToIndex(c,0))};
g.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(p(b)));c?(spc(this),tpc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):0<=a&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};g.size=function(){return this.list.length};g.prev=function(a){var b=0===this.spotlightIndex&&1===a;!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=0<=b?b:this.list.length+b):b=this.list.length-1,a=this.goToIndex(b,a));return a};
g.next=function(a){var b=this.spotlightIndex===this.list.length-1&&1===a;if(!this.list.length||b)a=!1;else{var c;this.isActive?c=(this.spotlightIndex+1)%this.list.length:c=0;a=this.goToIndex(c,a)}return a};g.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
g.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||void 0===a||0>a)return!1;var c=this.isActive?this.spotlightIndex:-1;this.spotlightIndex=Math.max(Math.min(this.list.length-1,a),0);this.isActive||(this.multiActivateAnchorIndex=a);this.isActive=!0;switch(b){case 0:spc(this);upc(this);break;case 3:upc(this);break;case 1:a=W3a(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=W3a(this.multiActivateAnchorIndex,c,this.spotlightIndex);if(0<=c&&(a||b||this.multiActivateAnchorIndex===
this.spotlightIndex))for(b=b?this.multiActivateAnchorIndex:this.spotlightIndex,c<b?(a=c,c=b-1):a=b+1;a<=c;a++)b=this.list[a],b.deactivate(),this.activeItems.delete(b);tpc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};g.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};g.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
g.getItem=function(a){for(var b=m(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};g.clear=function(){this.reset();this.list.length=0};g.reset=function(){this.hideContextMenu();spc(this);this.spotlightIndex=-1;this.isActive=!1};g.setSecondaryEventTargets=function(a){this.secondaryEventTargets=a};
g.onKeyDown=function(a){var b=[this.getSpotlitItem()].concat(p(this.secondaryEventTargets));b=m(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;null==(d=c.value)||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};g.onContextMenu=function(a,b){this.hideContextMenu();var c=a.event;if(c=c.target===c.currentTarget?this.getSpotlitItem():this.getItem(c.target))this.hideContextMenu=c.onContextMenu(a,b)};
var upc=function(a){var b=a.list[a.spotlightIndex];a.activeItems.has(b)?(b.deactivate(),a.activeItems.delete(b)):(b.activate(),a.activeItems.add(b));a.multiActivateAnchorIndex=a.spotlightIndex},spc=function(a){for(var b=m(a.activeItems),c=b.next();!c.done;c=b.next())c.value.deactivate();a.activeItems.clear()},tpc=function(a,b,c){var d=Math.max(b,c)+1;for(b=Math.min(b,c);b<d;b++)c=a.list[b],c.activate(),a.activeItems.add(c)};var vpc=function(a){this.delegate=a};g=vpc.prototype;g.prev=function(a){a=this.delegate.prev(a);wpc(this);return a};g.next=function(a){a=this.delegate.next(a);wpc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);wpc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);wpc(this);return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};
g.getItem=function(a){return this.delegate.getItem(a)};g.clear=function(){this.delegate.clear()};g.reset=function(){this.delegate.reset()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};g.remove=function(a,b){this.delegate.remove(a,b)};g.insert=function(a,b,c){this.delegate.insert(a,b,c)};
var wpc=function(a){if(a=a.delegate.getSpotlitItem())if(a=a.getRoot(),Iu){var b=Cfc(a);Ffc(a,b)}else a.scrollIntoView({block:"nearest"})};var s4a=function(a){this.root=a;this.length=0;a=this.root;if(void 0!==a.firstElementChild)a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;this.marker=a};g=s4a.prototype;g.append=function(a){this.root.insertBefore(a,this.marker);++this.length};g.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("re");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
g.remove=function(a){if(0>a||a>=this.length)throw new RangeError("re");this.removeItem(this.root.childNodes[a])};g.removeItem=function(a){try{this.root.removeChild(a),--this.length}catch(b){}};g.clear=function(){for(;this.root.firstChild&&this.root.firstChild!==this.marker;)this.root.removeChild(this.root.firstChild);this.length=0};g.getRoot=function(){return this.root};g.getItems=function(){return Array.from(this.root.childNodes)};var xpc=function(a,b,c,d){this.loggingToken=d;(new Noc(a)).setDisplayName(b).forceDisplayNameOverride_=c};xpc.prototype.getLoggingToken=function(){return this.loggingToken};var U_=function(a){this.delegate_=a};g=U_.prototype;g.getDelegate=function(){return this.delegate_};g.getResultType=function(){return this.delegate_.getResultType()};g.getTargetList=function(){return this.delegate_.getTargetList()};g.getMemberList=function(){return this.delegate_.getMemberList()};g.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};g.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};g.getDisplayName=function(){return this.delegate_.getDisplayName()};
g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};g.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var Wr=function(a){this.delegate_=a};X(Wr,U_);g=Wr.prototype;g.getPrimaryTarget=function(){return this.getTargetList()[0]};g.getDisplayName=function(){var a=this.getPrimaryTarget();return a?(a=a.getName())?a.getDisplayName():"":""};g.getPhotoUrl=function(){var a=this.getPrimaryTarget();return a?(a=a.getPhoto())?a.getUrl():"":""};g.getDisplayValue=function(){var a=this.getPrimaryTarget();return a?a.getDisplayValue():""};
g.getDescription=function(){var a=this.getPrimaryTarget();return a?a.getDescription():""};var ypc=function(){};ypc.prototype.getDisplayNameMatches=function(){return[]};ypc.prototype.getDisplayValueMatches=function(){return[]};ypc.prototype.getGivenNameMatches=function(){return[]};var zpc=new ypc;var X3a=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=X3a.prototype;g.getResultType=function(){return this.resultType_};g.getTargetList=function(){return this.targets_};g.getMemberList=function(){return[]};g.getTotalMemberCount=function(){return this.memberCount_};g.getPrimaryTarget=function(){throw Error("te");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getMatchInfo=function(){return zpc};g.getExtendedData=function(){return null};var Apc=new Map([[1,1],[2,1],[3,1],[4,1],[5,2],[6,1],[7,1],[8,1],[9,3],[10,5],[11,6],[12,4],[13,4],[14,4],[15,4],[16,4],[17,1],[18,7],[19,7]]);var Ts=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=Ts.prototype;g.getUrl=function(){return this.url_};g.setUrl=function(a){this.url_=a||"";return this};g.getType=function(){return this.type_};g.setType=function(a){this.type_=a;return this};g.getSourceType=function(){return this.sourceType_};g.setSourceType=function(a){this.sourceType_=a||0;return this};g.getGlyph=function(){return this.glyph_};g.setGlyph=function(a){this.glyph_=a||"";return this};
var Bpc=(new Ts).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),Cpc=new Ts;var V_=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_="";this.name_=null;this.photo_=Ds(this.id_)?Cpc:Bpc;this.tags_=[];this.sourceIds_=N6a.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(K6a(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=Apc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=this.originatingField_=
null};g=V_.prototype;g.getId=function(){return this.id_};g.getTargetType=function(){return this.id_.getType()};g.getValue=function(){return this.value_};g.setValue=function(a){this.value_=(a||"").trim();return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return a&&a.getValue()||"";case 1:case 2:case 6:case 7:return this.getValue();default:return""}};g.getName=function(){return this.name_};g.setName=function(a){this.name_=a;return this};
g.getDescription=function(){return this.description_};g.setDescription=function(a){this.description_=a||"";return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&1!==a.getType()?this.photo_=a:this.photo_=Ds(this.id_)?Cpc:Bpc};g.getTagList=function(){return this.tags_};var U6a=function(a,b){a.tags_=b||[]};g=V_.prototype;g.getSourceIdList=function(){return this.sourceIds_};
g.getProfileId=function(){return this.getSourceIdList().filter(function(a){return 3===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getContactId=function(){return this.getSourceIdList().filter(function(a){return 4===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getLoggingToken=function(){return new it};g.getIsMe=function(){return this.isMe_};var Q6a=function(a,b){a.isMe_=b;return a};
V_.prototype.getIsPersonalResult=function(){return 1===this.dataSource_};V_.prototype.getDataSource=function(){return this.dataSource_};V_.prototype.setDataSource=function(a){this.dataSource_=a;return this};V_.prototype.getResultType=function(){return this.resultType_};var R6a=function(a,b){a.resultType_=b};g=V_.prototype;g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=a||""};g.getPersonLoggingId=function(){return this.personLoggingId_};
g.setPersonLoggingId=function(a){this.personLoggingId_=a||""};g.getOrgState=function(){return this.orgState_};var T6a=function(a,b){a.orgState_=b};V_.prototype.getOriginatingField=function(){return this.originatingField_};var x7a=function(a,b){a.originatingField_=b;return a},Ss=function(a){return new V_(a)};V_.prototype.getExtendedData=function(){return this.extendedData_};var W6a=function(a,b){a.extendedData_=b};var Dpc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=Ss(this.internalId).setDataSource(3);this.internalResult=new Wr(Y3a(0,[a]));this.internalSelectionToken=new xpc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};g=Dpc.prototype;g.id=function(){return this.internalId};g.selectionToken=function(){return this.internalSelectionToken};g.result=function(){return this.internalResult};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};
g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var d4a=function(a,b){this.root=a;this.options=b};g=d4a.prototype;g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.getRoot=function(){return this.root};g.getSelection=function(){return new Dpc(M6a(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var c4a=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.id,e=a.iconUrl;a=a.label;Array.isArray(b);b='<div role="menuitem" id="'+ms(d)+'" peoplekit-id="'+ms("UhZROb")+'" class="'+ms("peoplekitComponentsContextmenuitemImplMenuItem")+" "+ms(c)+'"><div class="'+ms("peoplekitComponentsContextmenuitemImplRow")+'">'+(e?'<img class="'+ms("peoplekitComponentsContextmenuitemImplIcon")+" "+ms("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+ms(Uec(e))+'" draggable="false" alt=""/>':"")+'<div class="'+
ms("peoplekitComponentsContextmenuitemImplLabel")+" "+ms("peoplekitComponentsContextmenuitemImplCenter")+'">'+ns(a)+"</div>"+(0<hW(b).length?'<div class="'+ms("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+ms("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">'+ns(hW(b).join("+"))+"</span></div>":"")+"</div></div>";return ls(b)};var Z3a=$r.getInstance();var Epc=["pk-select","pk-deselect","pk-click","pk-input"],Fpc=new Map([["pk-select",3],["pk-deselect",3],["pk-click",3],["pk-input",15]]);var $3a=new Map([[0,new Map([["jCCvxc","https://www.gstatic.com/people/peoplekit/icons/light_theme/content_copy_grey700.svg"],["RkeQbd","https://www.gstatic.com/people/peoplekit/icons/light_theme/phone_copy_grey700.svg"],["N1uSwe","https://www.gstatic.com/people/peoplekit/icons/light_theme/email_copy_grey700.svg"],["UkZFS","https://www.gstatic.com/people/peoplekit/icons/light_theme/content_cut_grey700.svg"],["YCRBfe","https://www.gstatic.com/people/peoplekit/icons/light_theme/change_name_grey700.svg"],
["l1309","https://www.gstatic.com/people/peoplekit/icons/light_theme/change_email_address_grey700.svg"],["xTCd3","https://www.gstatic.com/people/peoplekit/icons/light_theme/info_outline_grey700.svg"],["ENOWEf","https://www.gstatic.com/people/peoplekit/icons/light_theme/visibility_off_grey700.svg"]])],[1,new Map([["jCCvxc","https://www.gstatic.com/people/peoplekit/icons/dark_theme/content_copy_grey300.svg"],["RkeQbd","https://www.gstatic.com/people/peoplekit/icons/dark_theme/phone_copy_grey300.svg"],
["N1uSwe","https://www.gstatic.com/people/peoplekit/icons/dark_theme/email_copy_grey300.svg"],["UkZFS","https://www.gstatic.com/people/peoplekit/icons/dark_theme/content_cut_grey300.svg"],["YCRBfe","https://www.gstatic.com/people/peoplekit/icons/dark_theme/change_name_grey300.svg"],["l1309","https://www.gstatic.com/people/peoplekit/icons/dark_theme/change_email_address_grey300.svg"],["xTCd3","https://www.gstatic.com/people/peoplekit/icons/dark_theme/info_outline_grey300.svg"],["ENOWEf","https://www.gstatic.com/people/peoplekit/icons/dark_theme/visibility_off_grey200.svg"]])]]);var as=function(a,b){this.ariaParent=a;this.delegate=b};g=as.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),uO(this.ariaParent,a)):uO(this.ariaParent,null)};g.prev=function(a){a=this.delegate.prev(a);this.update();return a};g.next=function(a){a=this.delegate.next(a);this.update();return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.clear=function(){this.delegate.clear();this.update()};g.reset=function(){this.delegate.reset();this.update()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};
g.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};g.remove=function(a,b){this.delegate.remove(a,b);this.update()};g.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var Gpc=Object.freeze(new ds(NaN,NaN)),Hpc=Object.freeze(new sW(NaN,NaN,NaN,NaN)),hs=function(a,b,c){this.root=a;this.requestHide=b;this.options=c;this.lastPosition=Gpc;this.lastBounds=Hpc;this.anchorUpdateTimer=new DC(15);this.eventHandler=Ur(this);this.attach()};hs.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return Ipc(a)})};hs.prototype.isShown=function(){return"none"!=this.root.style.display};
hs.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};hs.prototype.show=function(a){this.anchor=a;this.lastPosition=Gpc;this.lastBounds=Hpc;wW(this.root,!0);Ipc(this);this.anchorUpdateTimer.start()};
var Ipc=function(a){var b;if((b=a.anchor)&&!(b=!a.lastPosition.equals(vW(a.anchor)))){b=a.lastBounds;var c=bs(a.root);b=!(b==c||b&&c&&b.left==c.left&&b.width==c.width&&b.top==c.top&&b.height==c.height)}if(b)if(c=a.anchor,b=bs(c),(c=cs(c))&&b.intersection(i4a(c))){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,f=d.popupCorner||8;d=void 0===d.moveAboveAnchorIfOffscreen?!0:d.moveAboveAnchorIfOffscreen;gs(b,"","");b.style.height=uW("",!0);var h=m4a(c,e,b,f,d);c=m4a(c,e^1,b,f^1,d);h.height>=c.height||
!d?p4a(b,h):p4a(b,c);a.lastPosition=vW(a.anchor);a.lastBounds=bs(a.root)}else a.requestHide()};hs.prototype.hide=function(){this.root.style.cssText="";wW(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=Gpc;this.lastBounds=Hpc};var Jpc=new fC;Jpc.altKey=!0;Jpc.keyCode=39;var Kpc=function(){cC.call(this)};X(Kpc,cC);Kpc.prototype.init=function(){};new Kpc;var Lpc=!Iu&&!caa(),Mpc=function(a,b){if(/-[a-z]/.test(b))return null;if(Lpc&&a.dataset){if(daa()&&!(b in a.dataset))return null;a=a.dataset[b];return void 0===a?null:a}return a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())};var is=function(a,b,c,d,e){var f=this;this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=q4a(this.root,function(){f.hide()},{});this.navigatable=g4a(c);this.navigationEventHandler=V3a({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{});this.itemSelectedCallbacks=new Set;this.beforeShowCallbacks=new Set;this.afterHideCallbacks=new Set;this.contextMenuItemOptions=new Map;this.eventHandler=Ur(this);this.eventHandler.listen(this.root,"mouseover",
function(h){h.stopPropagation()});this.eventHandler.listen(this.root,"mouseout",function(h){h.stopPropagation()});this.eventHandler.listen(this.root,"mouseenter",function(h){h.stopPropagation()});this.hide()};
is.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=e4a(a,this.appearanceConfig);this.container.append(c.getRoot());this.eventHandler.listen(c.getRoot(),"click",function(d){if(d.currentTarget){var e=d.currentTarget;e.dispatchEvent(Vr("pk-click",e))}d.stopPropagation();Npc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
is.prototype.show=function(){for(var a=m(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};is.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=m(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
is.prototype.onKeyDown=function(a){this.navigationEventHandler.onKeyDown(a);switch(a.event.keyCode){case 27:this.hide();a.stopPropagation();break;case 13:var b=this.navigatable.getSpotlitItem();if(b){var c=b.getRoot();c.dispatchEvent(Vr("pk-click",c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);Npc(this,b);this.hide();a.stopPropagation()}}};
var Opc=function(a,b){a.itemSelectedCallbacks.add(b)},Ppc=function(a,b){a.afterHideCallbacks.add(b)},Npc=function(a,b){a=m(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};is.prototype.dispose=function(){this.popup.dispose();this.container.clear();this.navigatable.clear();this.eventHandler.removeAll();this.itemSelectedCallbacks.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};var r4a=function(){return ls('<div peoplekit-id="'+ms("xl07Ob")+'" class="'+ms("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var Qpc=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us)\\.googleusercontent)|((photos|work)\\.fife\\.usercontent\\.google)|(([1-4]\\.bp\\.blogspot)|(bp[0-3]\\.blogger))|(ccp-lh\\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\\.(ggpht|googleusercontent))|(gm[1-4]\\.ggpht)|(play-(ti-)?lh\\.googleusercontent)|(gz0\\.googleusercontent)|(((yt[3-4])|(sp[1-3]))\\.(ggpht|googleusercontent)))\\.com)|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|(photos\\-image\\-(dev|qa)(-auth)?\\.corp\\.google\\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\\.sandbox\\.google\\.com\\/image)|(image\\-(dev|qa)\\-lighthouse(-auth)?\\.sandbox\\.google\\.com(\\/image)?))\\/",
"i"),Rpc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,Spc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,Tpc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var Upc=/\/\/lh[3-6]\./,Vpc=function(a,b,c,d){var e;(e=!a)||(e=String(a),e=!(Qpc.test(e)||Rpc.test(e)||Spc.test(e)||Tpc.test(e)));if(e)return String(a||"");a=String(a);void 0===d&&(d=1);b=Math.ceil((b||0)*d);c=Math.ceil((c||0)*d);d=b==c;a=a.replace(Upc,"//lh3.");return(new mL(a)).setSize(d?c:void 0).setWidth(d?void 0:b).setHeight(d?void 0:c).setCrop(!1).setKillAnimation(!1).setEsPortraitApprovedOnly(!1).setSmartCrop(!0).setCenterCrop().setOverlay(!1).setNoOverlay(!1).setRequestWebp().setQualityBucket().setImageFilter().setLooseFaceCrop().setForceMonogram().setRequestPng().setRequestJpeg().setRequestH264().setPad().build()};var v4a=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;Array.isArray(b);a=ls;var h='<div class="'+ms("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+ms(lW(d))+"px; height: "+ms(lW(d))+'px"><div peoplekit-id="'+ms("YLEF4c")+'" class="'+ms("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+ms(lW(d))+"px; height: "+ms(lW(d))+'px">';Array.isArray(b);1==hW(b).length?(Array.isArray(b),b=ls('<div class="'+ms("peoplekitComponentsAvatarImplContainer")+
'">'+W_(b[0],c,d,e,f)+"</div>")):2==hW(b).length?(Array.isArray(b),b=ls('<div class="'+ms("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ms("peoplekitComponentsAvatarImplColumn")+'">'+W_(b[0],c,d,e,f)+"</div>"+X_()+'<div class="'+ms("peoplekitComponentsAvatarImplColumn")+'">'+W_(b[1],c,d,e,f)+"</div></div>")):3==hW(b).length?(Array.isArray(b),b=ls('<div class="'+ms("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ms("peoplekitComponentsAvatarImplColumn")+'">'+W_(b[0],c,d,e,f)+
"</div>"+X_()+'<div class="'+ms("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+W_(b[1],c,Math.round(.5*d),e,f)+"</div>"+X_()+'<div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+W_(b[2],c,Math.round(.5*d),e,f)+"</div></div></div>")):(Array.isArray(b),b=ls('<div class="'+ms("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ms("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+W_(b[0],
c,Math.round(.5*d),e,f)+"</div>"+X_()+'<div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+W_(b[2],c,Math.round(.5*d),e,f)+"</div></div>"+X_()+'<div class="'+ms("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+W_(b[1],c,Math.round(.5*d),e,f)+"</div>"+X_()+'<div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+W_(b[3],c,Math.round(.5*d),e,f)+"</div></div></div>"));b=ls(b);return a(h+b+'</div><div peoplekit-id="'+ms("Btuy5e")+'" class="'+
ms("peoplekitComponentsAvatarImplAvatarBadge")+'">'+ls('<img class="'+ms("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+ms("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},W_=function(a,b,c,d,e){var f=Sec(Vpc(a,c,c,e));f=Gec(f);a=Sec(Vpc(a,d,d,e));a=Gec(a);b=Sec(Vpc(b,c,c,e));b=Gec(b);f='<div peoplekit-id="'+ms("IHgMKc")+'" class="'+ms("peoplekitComponentsAvatarImplImageRoot")+'"><img peoplekit-id="'+ms("HiaYvf")+'" class="'+ms("peoplekitComponentsAvatarImplImage")+'" style="width: '+
ms(lW(c))+"px; height: "+ms(lW(c))+'px;" data-preload-src="'+ms(a)+'" data-src="'+ms(f)+'" data-backup-src="'+ms(b)+'" draggable="false" alt="">';c=ls('<svg xmlns="http://www.w3.org/2000/svg" height="'+ms(c)+'px" viewBox="0 0 24 24" width="'+ms(c)+'px" class="'+ms("peoplekitComponentsAvatarImplDefaultAvatarImage")+'"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2l-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z"/></svg>');
return ls(f+c+"</div>")},X_=function(){return ls('<div class="'+ms("peoplekitComponentsAvatarImplDivider")+'"></div>')};var Wpc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var Xpc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),Ypc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),x4a=function(a,b){this.appearance=b;this.root=a;Zpc(this)};g=x4a.prototype;
g.setBadge=function(a){var b=Sr(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=Xpc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(Wpc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=Ypc.get(a.badgeType)||"";d=Sr(b,"m6fZne");c&&(d.src=c);d.alt=a;b.classList.add("visible")}};g.getAllIds=function(){return[]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};
g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};
var Zpc=function(a){var b={};a=m(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var c=a.next();!c.done;b={$jscomp$loop$prop$img$2213:b.$jscomp$loop$prop$img$2213,$jscomp$loop$prop$src$2211:b.$jscomp$loop$prop$src$2211,$jscomp$loop$prop$imageRoot$2215:b.$jscomp$loop$prop$imageRoot$2215,$jscomp$loop$prop$backupSrc$2214:b.$jscomp$loop$prop$backupSrc$2214},c=a.next())b.$jscomp$loop$prop$imageRoot$2215=c.value,b.$jscomp$loop$prop$img$2213=Sr(b.$jscomp$loop$prop$imageRoot$2215,"HiaYvf"),
c=Mpc(b.$jscomp$loop$prop$img$2213,"preloadSrc"),b.$jscomp$loop$prop$src$2211=Mpc(b.$jscomp$loop$prop$img$2213,"src"),b.$jscomp$loop$prop$backupSrc$2214=Mpc(b.$jscomp$loop$prop$img$2213,"backupSrc"),u4a(b.$jscomp$loop$prop$src$2211)?b.$jscomp$loop$prop$img$2213.src=b.$jscomp$loop$prop$src$2211:u4a(c)?(b.$jscomp$loop$prop$img$2213.src=c,Nt(function(d){return function(){d.$jscomp$loop$prop$img$2213.src=d.$jscomp$loop$prop$src$2211}}(b),0)):(b.$jscomp$loop$prop$imageRoot$2215.classList.add("isLoading"),
b.$jscomp$loop$prop$img$2213.onload=function(d){return function(){d.$jscomp$loop$prop$imageRoot$2215.classList.remove("isLoading")}}(b),b.$jscomp$loop$prop$img$2213.onerror=function(d){return function(){d.$jscomp$loop$prop$img$2213.getAttribute("src")===d.$jscomp$loop$prop$backupSrc$2214?(d.$jscomp$loop$prop$img$2213.onerror=null,d.$jscomp$loop$prop$imageRoot$2215.classList.remove("isLoading"),d.$jscomp$loop$prop$imageRoot$2215.classList.add("isNotLoaded")):d.$jscomp$loop$prop$img$2213.src=d.$jscomp$loop$prop$backupSrc$2214}}(b),
b.$jscomp$loop$prop$img$2213.src=b.$jscomp$loop$prop$src$2211)};var js=function(){this.theme=this.density=0};js.prototype.getDensity=function(){return this.density};js.prototype.setDensity=function(a){this.density=a};js.prototype.getTheme=function(){return this.theme};js.prototype.setTheme=function(a){this.theme=a};var z4a=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Ur(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};g=z4a.prototype;g.getRoot=function(){return this.root};g.enable=function(){this.root.classList.remove("isDisabled");this.root.setAttribute("aria-disabled","false");this.internalIsDisabled=!1};
g.disable=function(){this.root.classList.add("isDisabled");this.root.setAttribute("aria-disabled","true");this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0};var y4a=function(a){a=a.label;return ls('<button class="'+ms("peoplekitComponentsButtonLabelLabelButton")+'">'+ns(a)+"</button>")};var os=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Ur(this);this.actionButtons=new Map;this.actionButtons.set(0,b);this.actionButtons.set(1,c);b.onClick=function(){d.dispatchAction(0)};c.onClick=function(){d.dispatchAction(1)};this.dialog=Sr(this.root,"Sx9Kwc");this.startFocusableElement=Sr(this.root,"tYwGbe");this.endFocusableElement=Sr(this.root,"dYgZK");this.eventHandler.listen(this.root,"click",function(){d.dispatchAction(0)});this.eventHandler.listen(this.dialog,
"click",function(e){e.stopPropagation()});this.eventHandler.listen(this.dialog,"keydown",function(e){27===e.keyCode&&(d.dispatchAction(0),e.stopPropagation())});this.eventHandler.listen(this.startFocusableElement,"focus",function(){var e=T3a(d.dialog);1<e.length&&e[e.length-2].focus()});this.eventHandler.listen(this.endFocusableElement,"focus",function(){var e=T3a(d.dialog);1<e.length&&e[1].focus()})};os.prototype.subscribeToAction=function(a){this.actionListeners.push(a)};
os.prototype.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){b=m(this.actionListeners);for(var c=b.next();!c.done;c=b.next())c=c.value,c(a)}};os.prototype.getRoot=function(){return this.root};os.prototype.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=m(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var J4a=function(a){var b=a.content;a=a.header;return ls('<div peoplekit-id="'+ms("GGAcbc")+'" class="'+ms("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+ms("Sx9Kwc")+'" class="'+ms("peoplekitComponentsDialogImplDialog")+'" role="dialog"><div peoplekit-id="'+ms("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+ms("peoplekitComponentsDialogImplHeader")+'">'+ns(a)+"</div>":"")+'<div class="'+ms("peoplekitComponentsDialogImplContent")+
'">'+ns(b)+'</div><div class="'+ms("peoplekitComponentsDialogImplActions")+'">'+ls($pc("IbE0S"))+ls('<div class="'+ms("peoplekitComponentsDialogImplActionDivider")+'"></div>')+ls($pc("McfNlf"))+'</div><div peoplekit-id="'+ms("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},$pc=function(a){return ls('<div peoplekit-id="'+ms(a)+'"></div>')};var B4a=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var ps=function(a){this.dialog=a};ps.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};ps.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};ps.prototype.getRoot=function(){return this.dialog.getRoot()};ps.prototype.dispose=function(){this.dialog.dispose()};var Y_=function(a){this.delegate=a};g=Y_.prototype;g.getAllIds=function(){return this.delegate.getAllIds()};g.toggleSelection=function(){this.delegate.toggleSelection()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.spotlight=function(){this.delegate.spotlight()};g.getRoot=function(){return this.delegate.getRoot()};g.getSelection=function(){return this.delegate.getSelection()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};
g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};g.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};g.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};g.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};g.initializeIntelligence=function(){this.delegate.initializeIntelligence()};g.addTag=function(a){this.delegate.addTag(a)};g.setMetaIcon=function(a){this.delegate.setMetaIcon(a)};
g.dispose=function(){this.delegate.dispose()};var Cs=function(a,b,c){this.delegate=a;var d=this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.contextMenuContainer=Sr(a.getRoot(),"QL45qe");this.eventHandler=Ur(this);this.eventHandler.listen(document,"click",function(e){d.contextMenuContainer.contains(e.target)||Z_(d)})};X(Cs,Y_);Cs.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else Y_.prototype.onKeyDown.call(this,a)};
Cs.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&Z_(this);this.contextMenu=t4a(this.contextMenuContainer,this.getRoot(),this.getRoot(),this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(a4a(a));Opc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":aqc(c);break;default:throw Error("ve`"+d.id);}Z_(c)});Ppc(this.contextMenu,function(){Z_(c);b()});this.contextMenu.show();return function(){Z_(c)}};
Cs.prototype.dispose=function(){this.eventHandler.removeAll();Y_.prototype.dispose.call(this)};
var aqc=function(a){a.hideConfirmationDialog&&bqc(a);a.hideConfirmationDialog=K4a(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig);a.hideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(1,a.getAllIds());bqc(a)})},bqc=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0},Z_=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.deactivate()};var a5a=function(a){a=a.memberCount;return(new SL("{MEMBER_COUNT_1,plural,=0{No members}=1{1 member}other{{MEMBER_COUNT_2} members}}")).format_({MEMBER_COUNT_1:a,MEMBER_COUNT_2:""+a},!0)},$4a=function(a){a=a.memberNames;Array.isArray(a);return hW(a).join(", ")};var us=function(a){Y.call(this,a)};X(us,Y);us.prototype.getRequestType=function(){return bk(this,1,0)};us.prototype.setRequestType=function(a){return k(this,1,a)};var cqc=function(){var a=new us,b=new S_;this.experimentFlags_=Ok(a,S_,107,b)};cqc.prototype.getExperimentFlags=function(){return this.experimentFlags_};cqc.prototype.getExperimentIds=function(){return[]};var Z5a=function(a,b){this.cache=b;this.overriddenExperiments=wk(a,S_,3)||new S_};Z5a.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:wk(a,S_,107))||new S_;a=this.overriddenExperiments;if(pm(a,3)){var c=xl(a,3,!1);k(b,3,c)}pm(a,4)&&(a=xl(a,4,!0),k(b,4,a));return b};Z5a.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var dqc=function(a){Y.call(this,a)};X(dqc,Y);g=dqc.prototype;g.getCacheStaleSec=function(){return gj(this,4,14400)};g.getCacheExpiredSec=function(){return gj(this,5,1209600)};g.getRpcTimeoutSec=function(){return gj(this,7,60)};g.getApiKey=function(){return lk(this,8,"")};g.setApiKey=function(a){return k(this,8,a)};g.getEnableClearcut=function(){return xl(this,13,!0)};g.setEnableClearcut=function(a){return k(this,13,a)};var X5a=cc(dqc);var W5a;var eqc=function(){};eqc.prototype.getExperimentFlags=function(){return new us};eqc.prototype.getExperimentIds=function(){return[]};var Is=function(){};Is.prototype.prefetch=function(){};Is.prototype.loadExperiments=function(){return new eqc};var a0=function(a){Y.call(this,a)};X(a0,Y);a0.prototype.getVersion=function(){return Db(this,1)};a0.prototype.getVersion_legacyNullable=function(){return Db(this,1)};a0.prototype.setVersion=function(a){return k(this,1,a)};a0.prototype.getVersionOrUndefined=function(){return Su(this,1)};var b0=function(a){Y.call(this,a)};X(b0,Y);g=b0.prototype;g.getApplication=function(){return Db(this,1)};g.setApplication=function(a){return k(this,1,a)};g.getApplicationOrUndefined=function(){return rt(this,1)};g.getVersion=function(){return Db(this,2)};g.getVersion_legacyNullable=function(){return Db(this,2)};g.setVersion=function(a){return k(this,2,a)};g.getVersionOrUndefined=function(){return Su(this,2)};var fqc=function(a){Y.call(this,a)};X(fqc,Y);g=fqc.prototype;g.getRequestType=function(){return bk(this,1,0)};g.setRequestType=function(a){return k(this,1,a)};g.getProfileId=function(){return Db(this,2)};g.getProfileId_legacyNullable=function(){return Db(this,2)};g.setProfileId=function(a){return k(this,2,a)};g.hasProfileId=function(){return gm(this,2)};g.getCaller=function(){return wk(this,a0,3)};g.setCaller=function(a){return Ok(this,a0,3,a)};g.getInstanceId=function(){return Db(this,4)};
g.setInstanceId=function(a){return k(this,4,a)};g.clearInstanceId=function(){Qu(this,4)};g.hasInstanceId=function(){return gm(this,4)};g.getInstanceIdOrUndefined=function(){return Uu(this,4)};g.getClient=function(){return wk(this,b0,5)};g.setClient=function(a){return Ok(this,b0,5,a)};g.hasClient=function(){return sl(this,b0,5)};var rs=function(a){Y.call(this,a)};X(rs,Y);rs.prototype.getErrorType=function(){return bk(this,2,1)};rs.prototype.setErrorType=function(a){return k(this,2,a)};rs.prototype.getErrorMessage=function(){return Db(this,3)};rs.prototype.setErrorMessage=function(a){k(this,3,a)};var ts=function(a){Y.call(this,a,-1,gqc)};X(ts,Y);g=ts.prototype;g.getExperimentFlags=function(){return wk(this,us,1)};g.setExperimentFlags=function(a){return Ok(this,us,1,a)};g.hasExperimentFlags=function(){return sl(this,us,1)};g.getError=function(){return wk(this,rs,2)};g.setError=function(a){Ok(this,rs,2,a)};g.hasError=function(){return sl(this,rs,2)};g.getSource=function(){return Db(this,3)};g.setSource=function(a){return k(this,3,a)};g.hasSource=function(){return Sk(this,3)};
g.getSourceOrUndefined=function(){return rt(this,3)};g.getInstanceId=function(){return Db(this,4)};g.setInstanceId=function(a){return k(this,4,a)};g.clearInstanceId=function(){Qu(this,4)};g.hasInstanceId=function(){return gm(this,4)};g.getInstanceIdOrUndefined=function(){return Uu(this,4)};g.getExperimentIdsList=function(){return ej(this,5)};g.setExperimentIdsList=function(a){return Lm(this,5,a)};var gqc=[5];var c0=function(a,b){this.client_=a;this.runtime_=b;M4a();this.apiKey_=a.getApiKey();this.apiRoot_=Db(this.client_,10)||CRa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};c0.prototype.getClient=function(){return this.client_};c0.prototype.getApiKey=function(){return this.apiKey_};var iqc=function(a){Y.call(this,a,-1,hqc)};X(iqc,Y);g=iqc.prototype;g.getExperimentFlags=function(){return wk(this,us,1)};g.setExperimentFlags=function(a){return Ok(this,us,1,a)};g.hasExperimentFlags=function(){return sl(this,us,1)};g.getObfuscatedGaiaId=function(){return Db(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return Db(this,2)};g.setObfuscatedGaiaId=function(a){k(this,2,a)};g.getExperimentIdsList=function(){return ej(this,3)};
g.setExperimentIdsList=function(a){return Lm(this,3,a)};var jqc=dc(iqc),hqc=[3];var kqc=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},lqc=function(a,b,c){a=a.now_()-1E3*c;return b>a};kqc.prototype.getCacheState=function(a){var b=gj(this.clientConfig_.getClient(),3,1800);if(lqc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(lqc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return lqc(this,a,b)?3:4};var ss=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.type=a};X(ss,Error);var mqc=function(a,b){b=void 0===b?null:b;var c=N4a(a);a=a.getProfileId()||b;return c&&a?JSON.stringify([c,a]):null},nqc=new ss(6);var oqc=function(){};var d0=function(){};Gu(d0,oqc);d0.prototype.getCount=function(){for(var a=0,b=m(this),c=b.next();!c.done;c=b.next())a++;return a};d0.prototype[Symbol.iterator]=function(){return YVb(this.__iterator__(!0)).toEs6()};d0.prototype.clear=function(){var a=Array.from(this);a=m(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var pqc=function(a){this.storage_=a};Gu(pqc,d0);g=pqc.prototype;g.set=function(a,b){try{this.storage_.setItem(a,b)}catch(c){if(0==this.storage_.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};g.get=function(a){a=this.storage_.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};g.remove=function(a){this.storage_.removeItem(a)};g.getCount=function(){return this.storage_.length};
g.__iterator__=function(a){var b=0,c=this.storage_,d=new dH;d.next=function(){if(b>=c.length)return XVb;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};g.clear=function(){this.storage_.clear()};g.key=function(a){return this.storage_.key(a)};var P4a=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};Gu(P4a,pqc);var e0=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};Gu(e0,d0);e0.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};e0.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};e0.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
e0.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new dH;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.prefix_.length)!=c.prefix_;){e=b.next();if(e.done)return e;e=e.value}return{value:a?e.slice(c.prefix_.length):c.mechanism_.get(e),done:!1}};return d};var ws=function(a,b){var c=void 0,d=void 0;b=void 0===b?new P4a:b;c=void 0===c?pNb:c;d=void 0===d?mNb:d;this.clientConfig_=a;this.transformer_=new kqc(this.clientConfig_);this.localStorage_=b;this.serializeJson_=c;this.isValidJson_=d;this.prefix_="PeopleStackExperiments";this.storage_=new e0(this.localStorage_,this.prefix_)};
ws.prototype.set=function(a,b){var c=mqc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw nqc;a={keyPath:c,experiments:b.serialize(),lastUpdated:Date.now(),instanceId:a.getInstanceId()};this.storage_.set(c,this.serializeJson_(a));return c};
ws.prototype.get=function(a){a=mqc(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;if((a=a&&this.isValidJson_(a)?JSON.parse(a):null)&&4!==this.transformer_.getCacheState(a.lastUpdated)){var b=this.transformer_;a={keyPath:a.keyPath,experiments:jqc(a.experiments),lastUpdated:new Date(a.lastUpdated),state:b.getCacheState(a.lastUpdated),instanceId:a.instanceId}}else a=null;return a};ws.prototype.delete=function(a){this.storage_.remove(a);return!0};
ws.prototype.clean=function(){for(var a=this.localStorage_.getCount(),b=0;b<a;b++){var c=this.localStorage_.key(b);if(c&&c.includes(this.prefix_)){var d=(d=this.localStorage_.get(c))&&this.isValidJson_(d)?JSON.parse(d):null;d=this.transformer_.getCacheState(d.lastUpdated)}else d=0;4===d&&this.localStorage_.remove(c)}};var xs=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new kqc(this.clientConfig_);this.cache_=b};xs.prototype.set=function(a,b){var c=mqc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw nqc;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
xs.prototype.get=function(a){a=mqc(a);if(!a)return null;a=this.cache_.get(a);if(!a)return null;var b=this.transformer_.getCacheState(a.lastUpdated.getTime());if(4===b)return null;a.state=b;return a};xs.prototype.delete=function(a){this.cache_.delete(a);return!0};xs.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var qqc=function(){};g=qqc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var rqc=function(a){Y.call(this,a)};X(rqc,Y);g=rqc.prototype;g.getCaller=function(){return wk(this,a0,1)};g.setCaller=function(a){return Ok(this,a0,1,a)};g.getClient=function(){return wk(this,b0,2)};g.setClient=function(a){return Ok(this,b0,2,a)};g.hasClient=function(){return sl(this,b0,2)};var sqc=function(a){Y.call(this,a)};X(sqc,Y);g=sqc.prototype;g.getRequestType=function(){return bk(this,1,0)};g.setRequestType=function(a){return k(this,1,a)};g.setProperties=function(a){return Ok(this,rqc,3,a)};g.getInstanceId=function(){return lk(this,4)};g.setInstanceId=function(a){return k(this,4,a)};g.clearInstanceId=function(){Qu(this,4)};g.hasInstanceId=function(){return gm(this,4)};g.getInstanceIdOrUndefined=function(){return Uu(this,4)};var tqc=new DD("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",sqc,iqc,function(a){return a.serialize()},jqc);var uqc=function(a){this.client_=new eE({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};uqc.prototype.getExperimentFlags=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},tqc)};var f0=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new qqc};f0.prototype.getMetric=function(){return this.metric_};f0.prototype.send=function(a){var b=this,c;return Ze(function(d){var e=(new rqc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new sqc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
f0.prototype.close=function(){};f0.prototype.processResponse=function(a){return a};var vqc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var wqc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new vqc;this.rpcPromise_=null;this.state_=0};g=wqc.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return 1===this.state_};g.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=rMb(new CC),this.resolver_.reject(1)}};
g.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=BRa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=BMb(uMb([b,KMb(1E3*this.config_.timeoutSec,"TIMEOUT")]),function(){a.state_=2}).then(function(c){return a.onResponse_(c)},function(c){return a.onError_(c)});return this.resultPromise()};
g.onResponse_=function(a){if(a&&"TIMEOUT"!==a){try{var b=this.request_.processResponse(a)}catch(c){this.onError_(c,2);return}this.resolver_.resolve(b);this.request_.close(0)}else this.onError_(a)};
g.onError_=function(a,b){b=void 0===b?0:b;if("TIMEOUT"===a)var c=4;else a instanceof CC?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=Oq("result.error.code",a)||a.status,c=Number(c),c=Qcc.has(c)?Qcc.get(c):200<=c&&300>c?0:400<=c&&500>c?9:500<=c&&600>c?13:2,2!==c||b||(b=(a.message||"").startsWith("Rpc failed due to xhr error.")?3:0))):c=2;!this.config_.authErrorHandler||16!==c&&7!==c||this.config_.authErrorHandler();this.resolver_.reject(c);this.request_.close(c,b)};var xqc=Symbol("we"),yqc=function(){};yqc.prototype.intercept=function(a,b){return b(a).then(function(c){var d=c.getMetadata();if(d){d=Number(d["content-length"])||0;var e=c.responseMessage_;e&&isFinite(d)&&(e[xqc]=d)}return c})};var g0=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};g0.prototype.getMetric=function(){return this.metric_};g0.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
g0.prototype.processResponse=function(a){this.metric_.stop("network");this.metric_.start("processed");try{return this.request_.processResponse(a)}catch(b){throw this.metric_.logError(b&&b.message||"processResponse",b),b;}finally{this.metric_.stop("processed"),this.contentLength_=a&&a[xqc]||0}};g0.prototype.close=function(a,b){b=void 0===b?0:b;this.request_.close(a,b);this.metric_.stop("total");this.metric_.status(a,b,this.contentLength_)};var zqc=function(a){this.config_=a;this.pendingRpcs_=new Set},h0=function(a,b){b=new g0(b);b=new wqc(a.config_,b);a.pendingRpcs_.add(b);Aqc(a,b);return b.resultPromise()},Aqc=function(a,b){Ze(function(c){if(1==c.nextAddress)return $e(c,2,3),af(c,b.send(),3);if(2!=c.nextAddress)return bf(c),a.pendingRpcs_.delete(b),cf(c,0);df(c);return c.jumpTo(3)})};var R4a=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new zqc(a);this.rpcClient_=new uqc(this.clientConfig_.apiRoot_)},Cqc=function(a,b){var c,d,e,f;return Ze(function(h){switch(h.nextAddress){case 1:var l=Bqc(b);if(c=a.inflightRequests_.get(l)||null)return h.return(c);d=new f0(b,a.rpcClient_);$e(h,2,3);e=h0(a.dispatcher_,d);l=Bqc(b);a.inflightRequests_.set(l,e);
return af(h,e,5);case 5:return f=h.yieldResult,h.return(f);case 3:bf(h);l=Bqc(b);a.inflightRequests_.delete(l);cf(h,0);break;case 2:throw df(h),Error("xe");}})},Bqc=function(a){a=N4a(a);if(!a)throw nqc;return a};var Dqc=function(a){Y.call(this,a)};X(Dqc,Y);g=Dqc.prototype;g.getInstanceId=function(){return Db(this,1)};g.setInstanceId=function(a){return k(this,1,a)};g.clearInstanceId=function(){Qu(this,1)};g.hasInstanceId=function(){return gm(this,1)};g.getInstanceIdOrUndefined=function(){return Uu(this,1)};g.getRequestId=function(){return Db(this,2)};g.getRequestType=function(){return Db(this,4)};g.setRequestType=function(a){return k(this,4,a)};g.getSourceType=function(){return Db(this,6)};
g.setSourceType=function(a){return k(this,6,a)};g.getClient=function(){return Db(this,7)};g.setClient=function(a){return k(this,7,a)};g.hasClient=function(){return Sk(this,7)};g.getErrorType=function(){return Db(this,8)};g.setErrorType=function(a){return k(this,8,a)};var S4a=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=nt(new ot,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(513929239).setEnableClearcut(b.getEnableClearcut())};g=S4a.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("Za");};g.createStatusMetric=function(){throw Error("Za");};g.createErrorMetric=function(){throw Error("Za");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());k(a,3,b);return a};var i0=function(a,b){this.metrics_=a;this.state_=new GV(b);this.label_="total";this.source=b};i0.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};i0.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var T4a=function(a,b){this.worker_=a;this.metrics_=Ls(b)},Eqc=function(a,b){var c=new Dqc,d=M4a();c=k(c,2,d).setRequestType(a.getRequestType());return k(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
T4a.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,f,h;return Ze(function(l){if(1==l.nextAddress)return d=Eqc(a,b),e=new i0(c.metrics_,d),e.start(),af(l,c.worker_.updateExperimentsCache(a,b),2);f=l.yieldResult;d.setSourceType(f.getSourceOrUndefined());d.setInstanceId(f.getInstanceIdOrUndefined());(h=f.getError())&&d.setErrorType(h.getErrorType());e.stop();return l.return(f)})};
T4a.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=Eqc(a,b),d=new i0(this.metrics_,c);d.start();a=this.worker_.getCachedExperiments(a,b);c.setSourceType(a.getSourceOrUndefined());c.setInstanceId(a.getInstanceIdOrUndefined());(b=a.getError())&&c.setErrorType(b.getErrorType());d.stop();return a};var Fqc=function(a){this.timer=a;this.count=0},V4a=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*gj(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new Tr(this)};V4a.prototype.updateExperimentsCache=function(a,b){try{return Gqc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(vs(c))}};V4a.prototype.getCachedExperiments=function(a,b){try{return Gqc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return vs(c)}};
var Gqc=function(a,b){var c=N4a(b);if(!c)throw new ss(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new DC(a.refreshRateMs_);a.eventHandler_.listen(d,"tick",function(){if(a.worker_){b.clearInstanceId();a.worker_.updateExperimentsCache(b,1);var e=a.refreshers_.get(c);e.count++;var f=gj(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new Fqc(d))}a.refreshers_.get(c)};var Hqc=function(){},U4a=function(a,b){this.cache_=a;this.loader_=b};
U4a.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return Ze(function(l){if(1==l.nextAddress){e=d=null;try{d=Iqc(c,a)}catch(y){e=y}if(d&&3!==d.state)return l.return(c.getCachedExperiments(a,b));$e(l,3);return af(l,Jqc(c,a),5)}if(3!=l.nextAddress){f=l.yieldResult;var q=l.return,u=e;u=void 0===u?null:u;var x=(new ts).setExperimentFlags(f.getExperimentFlags()).setExperimentIdsList(f.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());u&&x.setError(O4a(u));
return q.call(l,x)}h=df(l);return l.return(vs(h))})};U4a.prototype.getCachedExperiments=function(a){try{var b=Iqc(this,a);if(b){var c=(new ts).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&Jqc(this,a).catch(Hqc);return c}Jqc(this,a).catch(Hqc);return vs()}catch(d){return vs(d)}};
var Iqc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof ss)throw d;throw new ss(3);}},Jqc=function(a,b){var c,d;return Ze(function(e){if(1==e.nextAddress)return $e(e,2),b.hasInstanceId()||b.setInstanceId(M4a()),af(e,Cqc(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=df(e);if(d instanceof ss)throw d;throw new ss(2);})};var Q4a;var Kqc=function(a){this.clientConfig_=a;this.worker_=W4a(this.clientConfig_)};Kqc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Js=function(){this.peopleApiEnv_=4};Js.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Js.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var Lqc=function(a,b){this.client_=a;this.request_=b;this.response_=null};Lqc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};Lqc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList()};var Y5a=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=513929239};Y5a.prototype.prefetch=function(a){var b=new c0(this.clientConfig_,new Js);a=Mqc(this,a,"");W4a(b).updateExperimentsCache(a,2)};Y5a.prototype.loadExperiments=function(a,b,c){var d=new c0(this.clientConfig_,b),e=Mqc(this,a,c);W4a(d).updateExperimentsCache(e,2);b=new Kqc(new c0(this.clientConfig_,b));a=Mqc(this,a,c);return new Lqc(b,a)};
var Mqc=function(a,b,c){var d=(new a0).setVersion(a.version_);b=(new b0).setApplication(b);return(new fqc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var ys=new Z5a(new T_,new cqc);var Z4a=$r.getInstance();var c5a=$r.getInstance();var Nqc=new xB(qU.WEEKDAY_MONTH_DAY_MEDIUM),Oqc=new xB(7);new xB(qU.WEEKDAY_MONTH_DAY_MEDIUM);var Pqc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var Qqc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return ls('<div class="'+ms("peoplekitComponentsTagTag")+" "+(a?ms(a):"")+'" peoplekit-id="'+ms("mQXP")+'">'+(b?'<img class="'+ms("peoplekitComponentsTagIcon")+'" src="'+ms(Uec(b))+'" alt="'+ms(c)+'"><div'+(d?"":' class="'+ms("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+ms("peoplekitComponentsTagText")+'">'+ns(c)+"</div></div>":'<div class="'+ms("peoplekitComponentsTagText")+'">'+ns(c)+"</div>")+"</div>")};var e5a=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;Rqc(this,{tags:d});N3a(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){Rqc(h,l)})};g=e5a.prototype;g.getAllIds=function(){return[]};g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.getRoot=function(){return this.root};
g.getSelection=function(){throw Error("ze");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Sr(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("ye");var c=null!=c?c:a.getCurrentStatusEndTime();a=new Date(Date.now());c=a.getYear()===c.getYear()&&a.getMonth()===c.getMonth()&&a.getDate()===c.getDate()?"Out of office - back at "+Oqc.format(c):"Out of office - back on "+Nqc.format(c);xC(b,String(c));this.root.classList.add("isOutOfOffice")}else xC(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:Pqc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=Sr(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Uq(Qqc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
g.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var Rqc=function(a,b){for(var c=m(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};e5a.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};e5a.prototype.dispose=function(){};var w5a=function(a,b,c,d,e){this.delegate=f5a(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new Dpc(Zs)};X(w5a,Y_);w5a.prototype.getAllIds=function(){return[this.id]};w5a.prototype.getSelection=function(){return this.selection};var Sqc=function(a,b,c,d,e,f,h){c=void 0===c?"":c;d=void 0===d?!1:d;return ls('<div role="option" class="'+ms("peoplekitComponentsResultlistitemResultListItem")+" "+ms(c)+'" id="'+ms(a)+'" peoplekit-id="'+ms(a)+'" aria-disabled="'+ms(d)+'" aria-selected="false"><div class="'+ms("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+ms("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+ms(b)+'">'+ns(e)+'</div><div class="'+ms("peoplekitComponentsResultlistitemCenter")+
'">'+ns(f)+'</div><div class="'+ms("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+ms("QChpEe")+'">'+ns(h)+'</div></div><div peoplekit-id="'+ms("Z306Oe")+'" class="'+ms("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+ms("QL45qe")+'"></div></div>')},Tqc=function(a,b,c,d){return ls('<div class="'+ms("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+ms("peoplekitComponentsResultlistitemLabel")+" "+ms("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+ms("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+ms(b)+'" translate="no">'+ns(I4a(a))+'</div><div peoplekit-id="'+ms("x00ATb")+'" class="'+ms("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+ms("peoplekitComponentsResultlistitemSublabel")+" "+ms("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+ms("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+ms(b)+'"'+(d?"":' translate="no"')+">"+ns(I4a(c))+
"</div></div>":"")+"</div>")},Uqc=function(a){return ls('<div class="'+ms("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+ms("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+ms("d6MZcd")+'"></div>'+(a?ns(a):"")+"</div>")},Vqc=function(){var a=ls,b='<div class="'+ms("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+ms("peoplekitComponentsResultlistitemWhiteCheck")+'">';var c=ls('<svg viewBox="0 0 24 24" class="'+(ms("peoplekitComponentsResultlistitemWhiteCheckSvg")+
'"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>'));return a(Uqc(iW(b+c+"</div></div>")))},Wqc=function(){return ls('<img class="'+ms("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+ms("SC3Htd")+'" alt="" src=""/>')};var v5a=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return ls(Sqc(a.id,b,"isDisabled "+a.densityClass,!0,iW(""+Uqc()),iW(""+Tqc(c,b,d,f)),iW('<div class="'+ms("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+ns(e)+"</div>")))};var As=function(a){this.delegate=a;var b=this;this.eventHandler=Ur(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};X(As,Y_);As.prototype.onClick=function(){this.toggleSelection()};var g5a=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Ae");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new xpc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};g=g5a.prototype;g.id=function(){return this.target.getId()};g.selectionToken=function(){return this.internalSelectionToken};g.result=function(){return this.internalResult};
g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};g.isPlaceholder=function(){return!1};var j0=function(a,b,c,d,e,f){this.delegate=f5a(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new Dpc(Zs)};X(j0,Y_);j0.prototype.getAllIds=function(){return[this.id]};j0.prototype.toggleSelection=function(){for(var a=m(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=h5a(b.value),this.selectionsState.select(b);this.root.dispatchEvent(Vr("pk-select",this.root))};j0.prototype.getSelection=function(){return this.selection};var Xqc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ls(Sqc(a.id,b,a.densityClass,void 0,iW(""+Uqc()),iW(""+Tqc(c,b,d,e)),iW(""+Wqc())))};var Bs=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&Yqc(this,this.getSelection());this.onDeselectionCallback=function(d){d.id().equals(c.id)&&(c.getRoot().classList.remove("isSelected"),c.getRoot().setAttribute("aria-selected","false"))};this.onSelectionCallback=function(d){Yqc(c,d)};Zqc(this.selectionsState,this.onDeselectionCallback);$qc(this.selectionsState,this.onSelectionCallback)};X(Bs,Y_);
Bs.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=Vr("pk-deselect",a)}else a=this.getRoot(),a=Vr("pk-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var Yqc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};Bs.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var t5a=function(a,b,c,d,e,f){this.delegate=f5a(a,b,d,e,f,[2]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||h5a(b,b.getDisplayName())};X(t5a,Y_);t5a.prototype.getAllIds=function(){return[this.id]};t5a.prototype.getSelection=function(){return this.selection};var s5a=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ls(Sqc(a.id,b,a.densityClass,void 0,iW(""+Vqc()),iW(""+Tqc(c,b,d,e)),iW(""+Wqc())))};var arc=function(a,b,c,d,e,f){this.delegate=f5a(a,b,d,e,f,[]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||h5a(b)};X(arc,Y_);arc.prototype.getAllIds=function(){return[this.id]};arc.prototype.getSelection=function(){return this.selection};var brc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ls(Sqc(a.id,b,a.densityClass,void 0,iW(""+Vqc()),iW(""+Tqc(c,b,d,e)),iW(""+Wqc())))};var n5a=function(a,b,c,d,e,f){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableNavigationFocus=e;this.internalIsDisabled=!1;this.eventHandler=Ur(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(l){var q;null==(q=h.onClick)||q.call(h,l)});this.disableNavigationFocus?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};g=n5a.prototype;
g.getRoot=function(){return this.root};g.enable=function(){this.root.disabled=!1;var a=this.root.querySelector("img");a&&(a.src=this.enabledIcon);this.internalIsDisabled=!1};g.disable=function(){this.root.disabled=!0;var a=this.root.querySelector("img");a&&this.disabledIcon&&(a.src=this.disabledIcon);this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};
g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0;if(this.tooltip){var a=this.tooltip;a.anchor&&(a.hideTooltip(),a.eventHandler.removeAll(),a.isDisplayedInternal=!1,a.anchor=void 0,a.showTimeout=void 0,a.hideTimeout=void 0)}};g.activate=function(){this.root.classList.add("isFocused");this.tooltip&&this.tooltip.showTooltip()};g.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&this.tooltip.hideTooltip()};g.isActive=function(){return this.root.classList.contains("isFocused")};var crc=0;var j5a=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+crc++:"")?' data-tooltip-id="'+ms(a)+'" aria-labelledby="'+ms(a)+'"':c?' aria-label="'+ms(c)+'"':"";d+='<button class="'+ms("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+ls('<span><img src="'+ms(Uec(b))+'" draggable="false" aria-hidden="true" alt=""/></span>')+"</button>";return ls(d)};var drc=["mouseover","focusin","touchstart"],erc=["mouseleave","blur","touchend","click"],l5a=function(a,b,c){var d=this;this.tooltip=a;this.showDelay=void 0===b?500:b;this.hideDelay=void 0===c?300:c;this.isDisplayedInternal=!1;this.eventHandler=Ur(this);this.tooltipService=q4a(this.tooltip,function(){d.hideTooltip()},{anchorCorner:3,popupCorner:2})},m5a=function(a,b){if(a.anchor)throw Error("Be");a.anchor=b;for(var c=m(drc),d=c.next();!d.done;d=c.next())a.eventHandler.listen(b,d.value,function(){frc(a)});
grc(a)};l5a.prototype.showTooltip=function(){if(!this.anchor)throw Error("Ce");this.isDisplayedInternal||(this.tooltipService.show(this.anchor),window.clearTimeout(this.showTimeout),this.showTimeout=void 0,this.isDisplayedInternal=!0)};l5a.prototype.hideTooltip=function(){this.isDisplayedInternal&&(this.tooltipService.hide(),window.clearTimeout(this.hideTimeout),this.hideTimeout=void 0,this.isDisplayedInternal=!1)};l5a.prototype.getRoot=function(){return this.tooltip};
var frc=function(a){void 0===a.showTimeout&&(window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.showTimeout=window.setTimeout(function(){a.showTooltip()},a.showDelay))},hrc=function(a){void 0===a.hideTimeout&&(window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.hideTimeout=window.setTimeout(function(){a.hideTooltip()},a.hideDelay))},grc=function(a){if(a.anchor){for(var b=m(erc),c=b.next();!c.done;c=b.next())a.eventHandler.listen(a.anchor,c.value,function(){hrc(a)});a.eventHandler.listen(window,
"touchmove",function(){hrc(a)});a.eventHandler.listen(window,"focus",function(d){d.target!==a.anchor&&hrc(a)});a.eventHandler.listen(window,"blur",function(d){d.target===window&&a.hideTooltip()})}};var k5a=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes,f=ls;a='<div id="'+ms(a.id)+'" peoplekit-id="'+ms("suEOdc")+'" class="'+ms("peoplekitComponentsTooltipImplTooltip")+(d?" "+ms(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+ms(c)+'"':"");e?(gW(e,zec)?e=e.getContent():(e=String(e),e=Yec.test(e)?e:"zSoyz"),gW(e,zec)&&(e=e.getContent()),e=(e&&!e.startsWith(" ")?" ":"")+e):e="";return f(a+e+">"+ns(b)+"</div>")};var p5a=function(a,b,c){this.delegate=a;for(var d=this,e=Sr(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=o5a(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";Yr(this.buttonRoot,163534,["impression","pk-click"]);this.secondaryActionButton.onClick=function(f){var h;null==(h=c.onClick)||h.call(c,f);d.buttonRoot.dispatchEvent(Vr("pk-click",
d.buttonRoot))};this.eventHandler=Ur(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};X(p5a,Y_);g=p5a.prototype;g.activate=function(){this.getRoot().classList.add("isActive");this.displaySecondaryActionButton()};g.deactivate=function(){this.getRoot().classList.remove("isActive");this.secondaryActionButton.deactivate();this.hideSecondaryActionButton()};
g.onKeyDown=function(a){var b=13===a.event.keyCode;if(b&&a.event.platformModifierKey||b&&this.secondaryActionButton.isActive())this.buttonRoot.click(),a.stopPropagation(),a.preventDefault()};g.dispose=function(){this.eventHandler.removeAll();this.secondaryActionButton.dispose();Y_.prototype.dispose.call(this)};g.displaySecondaryActionButton=function(){this.buttonRoot.style.display=""};
g.hideSecondaryActionButton=function(){this.getRoot().classList.contains("isActive")||(this.buttonRoot.style.display="none")};var irc=new Map([[1,u5a()],[4,u5a()],[5,x5a(1)],[6,x5a(2)],[2,function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomization,h=d5a(b,d,f,a.isRightToLeft,xl(a.clientConfig.internal,6,!1),qs(e.getDensity())),l=Uq(brc,h);Yr(l,25285,["impression","pk-select","pk-deselect"],[i5a(b.getPrimaryTarget().getLoggingToken())]);var q=Sr(l,"d6MZcd"),u=L4a(e.getDensity()),x;f=null!=(x=f.backupAvatarUrl)?x:"";e=ks(q,h.photos,u,u,e,f);b=new arc(l,b,c,d,h.tags,
e);c=new As(new Bs(b,c));return r5a(c,a)}],[3,function(a){var b=a.result;var c=a.selectionsState,d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomization,h=d5a(b,d,f,a.isRightToLeft,xl(a.clientConfig.internal,6,!1),qs(e.getDensity())),l=Uq(Xqc,h);Yr(l,25285,["impression","pk-select","pk-deselect"],[i5a(b.getPrimaryTarget().getLoggingToken())]);var q=Sr(l,"d6MZcd"),u=L4a(e.getDensity()),x;f=null!=(x=f.backupAvatarUrl)?x:"";e=ks(q,h.photos,u,u,e,f);b=new As(new j0(l,b,c,d,h.tags,e));return r5a(b,
a)}]]);var z5a=function(a,b,c,d,e,f,h){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.results=[];this.intelligentCollection=f.create();this.navigatable=new vpc(new f4a(this.results))};g=z5a.prototype;g.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
g.append=function(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.selectionsState,e=this.resultConfig,f=this.appearanceConfig,h=this.clientConfig,l=xW(this.list.getRoot()),q=this.interactions,u=e.getResultCustomizationCallback()(c,b),x=!!d.get(c.getPrimaryTarget().getId());var y=c;var G=e;if(u.shouldDisable)y=6;else{var J=y.getPrimaryTarget().getId();y=Es(J)?3:Ds(J)?2:x&&!G.getAllowResultDeselection()?5:1===y.getTargetList().length?1:1<y.getTargetList().length?4:0}y=irc.get(y);
if(!y)throw Error("De");c=y({result:c,selectionsState:d,resultConfig:e,appearanceConfig:f,clientConfig:h,isRightToLeft:l,interactions:q,resultCustomization:u});this.list.append(c.getRoot());this.register(c)}};g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=m(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};g.reset=function(){this.navigatable.reset()};g.getNavigatable=function(){return this.navigatable};
g.getResultListItems=function(){return this.results};var jrc=function(a,b){this.root=a;this.header=b};g=jrc.prototype;g.getHeader=function(){return this.header};g.dispose=function(){};g.getRoot=function(){return this.root};g.activate=function(){};g.deactivate=function(){};g.spotlight=function(){};g.getSelection=function(){throw Error("ze");};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var krc=function(a){var b=ls;var c=a.id;a=a.header;c=ls('<div class="'+ms("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+ms(c)+'" peoplekit-id="'+ms("XLuqBd")+'"><div class="'+ms("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+ms("peoplekitComponentsGroupingHeaderHeader")+'">'+ns(a)+'</div><div class="'+ms("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+ms("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+ms("peoplekitComponentsGroupingHeaderLeft")+
'"></div><div class="'+ms("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+ms("QChpEe")+'"></div></div></div></div></div>');return b(c)};var E5a=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};g=E5a.prototype;g.append=function(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.grouping.getGroupId(c);if(d&&!this.renderedGroups.has(d)){var e=this.grouping.getGroupName(d);if(e){var f=Rr($r.getInstance());f=Uq(krc,{id:f,header:e});this.list.append((new jrc(f,e)).getRoot())}this.renderedGroups.add(d)}this.delegate.append([c],b)}};
g.clear=function(){this.renderedGroups.clear();this.delegate.clear()};g.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var C5a=function(a,b){this.delegate=a;this.interactions=b};g=C5a.prototype;g.append=function(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};g.clear=function(){this.delegate.clear()};g.reset=function(a){this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var y5a=function(a){a=a.header;return ls('<div peoplekit-id="'+ms("aittld")+'">'+(0<hW(a).length?'<div class="'+ms("peoplekitUiResultlistHeader")+'">'+ns(a)+"</div>":"")+'<div peoplekit-id="'+ms("tjneg")+'"></div></div>')};var h6a=function(a){this.label=a};h6a.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};h6a.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};h6a.prototype.reset=function(){};var i6a=function(a){this.label=a};i6a.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};i6a.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};i6a.prototype.reset=function(){};var k0=function(a){this.delegate=a};g=k0.prototype;g.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};g.attach=function(){this.delegate.attach()};g.detach=function(){this.delegate.detach()};g.isShown=function(){return this.delegate.isShown()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){this.delegate.dispose()};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getRoot=function(){return this.delegate.getRoot()};var Ms=function(a,b,c,d){this.delegate=a;var e=this;this.peopleStore=b;this.clientConfig=d;this.hideListener=function(f){return lrc(e,f)};this.unhideListener=function(f){return mrc(e,f)};this.hide=c.getHide();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.dispatcher.subscribe(1,this.hideListener);this.dispatcher.subscribe(4,this.unhideListener)};X(Ms,k0);
Ms.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};k0.prototype.search.call(this,a,b,c,d)};Ms.prototype.dispose=function(){this.dispatcher.unsubscribe(1,this.hideListener);this.dispatcher.unsubscribe(4,this.unhideListener);k0.prototype.dispose.call(this)};
var lrc=function(a,b){return Ze(function(c){if(1==c.nextAddress)return $e(c,2),af(c,a.hide.hideResults(b),4);if(2!=c.nextAddress)return a.refreshResults(),Au(c,0);df(c);a.dispatcher.notify(3,b);ef(c)})},mrc=function(a,b){return Ze(function(c){if(1==c.nextAddress)return $e(c,2),af(c,a.hide.unhideResults(b),4);if(2!=c.nextAddress)return a.refreshResults(),Au(c,0);df(c);a.dispatcher.notify(6,b);ef(c)})};
Ms.prototype.refreshResults=function(){this.currentSearchState&&(this.peopleStore.flushCache(2),k0.prototype.search.call(this,this.currentSearchState.query,this.currentSearchState.anchor,this.currentSearchState.showSuggestions,this.currentSearchState.listener))};var nrc=function(a,b){as.call(this,a,b)};X(nrc,as);nrc.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=b.querySelector('[id="'+(b.id+'-2ab"]'));if(c){var d=this.ariaParent;var e=l5b(d,"activedescendant");d=oC(d).getElementById(e);uO(this.ariaParent,d===c?b:c)}}}as.prototype.onKeyDown.call(this,a)};var o6a=function(a,b,c,d,e,f,h){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new nrc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=V3a({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=Ur(this);
Qr(this.root,0)};g=o6a.prototype;g.search=function(a,b,c,d){var e=this;this.resultList.reset(a);this.resultList.clear();this.root.classList.remove("noResults");this.root.classList.add("isLoading");Qr(this.root,1);if(a){var f=orc(this.health);f.start();this.session.search(a,function(l){e.update(l,d,f,!0)})}else if(c){var h=orc(this.health);h.start();this.session.suggest(function(l){e.update(l,d,h,!1)})}};
g.attach=function(){this.attached||(this.attached=!0,this.navigationEventHandler.attach(this.navigationInput,this.navigatable),this.eventHandler.listen(this.root,"mousedown",function(a){a.preventDefault();a.stopPropagation()}))};g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Qr(this.root,0)};g.isShown=function(){return!0};g.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var f=a.getQuery();this.resultList.append(e,{query:f});e=this.resultList.getResultListItems();this.attach();var h=!1;0<e.length?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:f}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});(d||this.config.getAutoActivateFirstSuggestion())&&0<e.length&&!this.navigatable.getSpotlitItem()&&
this.navigatable.goToItem(e[0],0);if(a.getIsLastCallback())for(Qr(this.root,0===a.getCode()?2:3,a.getCode()),b={query:f,resultCount:e.length},d=m(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else Qr(this.root,4);c.stop()};g.onKeyDown=function(a){var b=13===a.event.keyCode;if(9===a.event.keyCode&&!a.event.shiftKey||b)if(b=this.navigatable.getActiveItems(),b.length){b=m(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}};
g.getNavigatable=function(){return this.navigatable};g.getRoot=function(){return this.root};var g6a=function(){var a=ls,b='<div class="'+ms("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+ms("yDHfq")+'"><div class="'+ms("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=iW('<div peoplekit-id="'+ms("tjneg")+'"></div>');c=ls('<div tabindex="-1" class="'+ms("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+ms("I8ejUe")+'">'+ns(c)+"</div>");b=b+c+'</div><div class="'+ms("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
ms("peoplekitComponentsCircularprogressCircularProgress")+(" "+ms("isActive"))+'" data-loadingmessage="'+ms("Loading...")+'" data-active="true" dir="ltr"><div class="'+ms("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+ms("vyyg5")+'">'+ns("Loading...")+'</div><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ms("peoplekitComponentsCircularprogressColorOne")+
" "+ms("exportColorOne")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressRight")+
'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ms("peoplekitComponentsCircularprogressColorTwo")+" "+ms("exportColorTwo")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+
ms("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressRight")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ms("peoplekitComponentsCircularprogressColorThree")+
" "+ms("exportColorThree")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressRight")+
'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ms("peoplekitComponentsCircularprogressColorFour")+" "+ms("exportColorFour")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+
ms("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressRight")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div></div></div></div>';c=ls(c);return a(b+c+"</div></div>")},j6a=function(){return ls('<div class="'+ms("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var l6a=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+ms("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+ms(a)+'"':"")+'><p class="'+ms("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+ns(b):a+"No results";a+="</p>";if((c instanceof fW?c.getContent():c)||(d instanceof fW?d.getContent():d))a+='<p class="'+ms("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?ns(c)+(d?" ":""):""),d&&(a+=
'<a jsname="'+ms("viORvd")+'" class="'+ms("peoplekitComponentsNoResultsMessageLearnMoreLink")+'" target="_blank" href="'+ms(Sec(d))+'">',a=e?a+ns(e):a+"Learn more",a+="</a>"),a+="</p>";return ls(a+"</div>")};var k6a=function(a,b){this.parent=a;this.config=b};k6a.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Uq(l6a,a);this.parent.appendChild(this.root);return!0};var n6a=function(){};n6a.prototype.update=function(){return!1};var m6a=function(){};m6a.prototype.update=function(){return!0};var p6a=function(a,b,c,d,e){var f=this;this.root=a;this.navigationInput=b;this.inlineAutocomplete=c;this.selectionsState=d;this.config=e;this.lastShowTime=0;this.popup=q4a(this.root,function(){f.hide()},{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Ur(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.hide()};
this.attach()};g=p6a.prototype;g.search=function(a,b,c,d){var e=this;this.hide();this.inlineAutocomplete.search(a,b,c,function(f){e.anchor=b;e.update(f);d(f)})};g.attach=function(){var a=this;$qc(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){100>Date.now()-a.lastShowTime&&(b.preventDefault(),b.stopPropagation())})};g.onSelect=function(){this.hide()};
g.onKeyDown=function(a){this.isShown()&&27===a.event.keyCode&&(this.hide(),a.preventDefault(),a.stopPropagation())};g.detach=function(){this.hide()};g.isShown=function(){return this.popup.isShown()};g.dispose=function(){this.detach();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.eventHandler.removeAll();this.inlineAutocomplete.dispose();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};g.getRoot=function(){return this.root};g.update=function(a){a.hasContent&&this.show()};
g.show=function(){this.navigationInput.setAttribute("aria-expanded","true");this.lastShowTime=Date.now();var a=this.navigationInput.clientWidth;a:{var b=this.config.getDensity();switch(b){case 0:b=300;break a;case 1:b=300;break a;case 2:b=240;break a;default:throw Error("se`"+b);}}a:{var c=this.config.getDensity();switch(c){case 0:c=420;break a;case 1:c=420;break a;case 2:c=320;break a;default:throw Error("se`"+c);}}this.root.style.width=uW(Math.max(Math.min(c,a),b),!0);a:switch(a=this.config.getDensity(),
a){case 0:a=Number("64");break a;case 1:a=Number("52");break a;case 2:a=Number("44");break a;default:throw Error("se`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.root.style.minHeight=a+"px";this.popup.show(this.anchor)};g.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var f6a=function(){return ls('<div class="'+ms("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+ms("noeiCf")+'" style="display: none;"></div>')};var prc=function(){this.batches=new Map};prc.prototype.add=function(a,b){var c=b.sort().join("-");this.batches.has(c)||this.batches.set(c,{ids:[],features:b});this.batches.get(c).ids.push(a)};var G5a=function(a,b){this.service=a;this.resolveComponents=b};
G5a.prototype.update=function(a){var b=this;a=m([].concat(p(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=m(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){qrc(b,f.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){qrc(b,f.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var qrc=function(a,b,c){b=m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=m(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var rrc=new Set([1,3,20]),src=function(a){var b=this;this.idToComponent=new Map;this.updater=H5a(a,function(c){return b.resolveComponents(c)})};g=src.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return rrc.has(h.getType())})});a=[];b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=m(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
g.remove=function(a){var b={};a=m(a);for(var c=a.next();!c.done;b={$jscomp$loop$prop$component$2217:b.$jscomp$loop$prop$component$2217},c=a.next()){b.$jscomp$loop$prop$component$2217=c.value;c=m(b.$jscomp$loop$prop$component$2217.getAllIds());for(var d=c.next();!d.done;d=c.next()){d=String(d.value);var e=this.idToComponent.get(d);e&&this.idToComponent.set(d,e.filter(function(f){return function(h){return h!==f.$jscomp$loop$prop$component$2217}}(b)))}}};
g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};g.refresh=function(a){var b=new prc;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=m(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};g.clear=function(){this.idToComponent.clear()};var l0=function(){};l0.prototype.append=function(){};l0.prototype.remove=function(){};l0.prototype.refresh=function(){};l0.prototype.clear=function(){};var e6a=function(a){this.peopleIntelligence=a};e6a.prototype.create=function(){return this.peopleIntelligence?new src(this.peopleIntelligence):new l0};var trc=function(){this.label="";this.type=0};g=trc.prototype;g.getAutocompleteGroupingType=function(){return this.type};g.setAutocompleteGroupingType=function(a){this.type=a};g.getAutocompleteGroupingLabel=function(){return this.label};g.setAutocompleteGroupingLabel=function(a){this.label=a};g.getAutocompleteCustomGrouping=function(){return this.customGrouping};var m0=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};m0.prototype.getAllowResultDeselection=function(){return!1};m0.prototype.getWarnForExternalSelections=function(){return!1};m0.prototype.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};m0.prototype.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};var urc=function(a){this.header="";this.showSuggestions=!1;this.autoActivateFirstSuggestion=!0;this.maxResultsBeforeScroll=7;this.moveAutocompleteAboveAnchorIfOffscreen=!0;this.entryPoint=0;this.noResultsMessage=null;this.environmentConfig=a;this.grouping=new trc;this.result=new m0;this.appearance=new js};g=urc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.getAutocompleteHeader=function(){return this.header};g.setAutocompleteHeader=function(a){this.header=a};
g.getShowSuggestions=function(){return this.showSuggestions};g.setShowSuggestions=function(a){this.showSuggestions=a};g.getAutocompleteMaxResultsBeforeScroll=function(){return this.maxResultsBeforeScroll};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.maxResultsBeforeScroll=Math.max(Math.min(20,a),3)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.moveAutocompleteAboveAnchorIfOffscreen};
g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.moveAutocompleteAboveAnchorIfOffscreen=a};g.getAutoActivateFirstSuggestion=function(){return this.autoActivateFirstSuggestion};g.setAutoActivateFirstSuggestion=function(a){this.autoActivateFirstSuggestion=a};g.setEntryPoint=function(a){this.entryPoint=a};g.getEntryPoint=function(){return this.entryPoint};g.getNoResultsMessage=function(){return this.noResultsMessage};g.setNoResultsMessage=function(a){this.noResultsMessage=a};
g.getAutocompleteGroupingType=function(){return this.grouping.getAutocompleteGroupingType()};g.setAutocompleteGroupingType=function(a){this.grouping.setAutocompleteGroupingType(a)};g.getAutocompleteGroupingLabel=function(){return this.grouping.getAutocompleteGroupingLabel()};g.setAutocompleteGroupingLabel=function(a){this.grouping.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.grouping.getAutocompleteCustomGrouping()};g.getAllowResultDeselection=function(){return this.result.getAllowResultDeselection()};
g.getWarnForExternalSelections=function(){return this.result.getWarnForExternalSelections()};g.getResultDecorationConfigRequestCallback=function(){return this.result.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.result.getResultCustomizationCallback()};g.getDensity=function(){return this.appearance.getDensity()};g.setDensity=function(a){this.appearance.setDensity(a)};g.getTheme=function(){return this.appearance.getTheme()};g.setTheme=function(a){this.appearance.setTheme(a)};var vrc=function(a){this.environmentConfig=a;this.autocomplete=new urc(a)};g=vrc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};g.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};g.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};g.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};
g.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};
g.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};g.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};g.setEntryPoint=function(a){this.autocomplete.setEntryPoint(a)};g.getEntryPoint=function(){return this.autocomplete.getEntryPoint()};g.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};g.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};
g.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};g.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};g.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};g.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};
g.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};g.getWarnForExternalSelections=function(){return this.autocomplete.getWarnForExternalSelections()};g.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};g.getDensity=function(){return this.autocomplete.getDensity()};g.setDensity=function(a){this.autocomplete.setDensity(a)};
g.getTheme=function(){return this.autocomplete.getTheme()};g.setTheme=function(a){this.autocomplete.setTheme(a)};var wrc=Object.freeze(new Map([[5,1]]));var n0=function(){this.entryPoint_=0};n0.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};n0.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};n0.prototype.serialize=function(){return[this.entryPoint_].toString()};var xrc=Object.freeze(new n0);var o0=function(){this.originator_=0};o0.prototype.setOriginator=function(a){this.originator_=a;return this};o0.prototype.getOriginator=function(){return this.originator_};var a6a=function(a,b,c){var d=this;this.reporter=a.getReporter((new n0).setPeoplekitEntryPoint(c));$qc(b,function(e,f,h){d.select(e,h)},0);Zqc(b,function(e,f,h){d.deselect(e,h)},0);yrc(b,function(e,f,h,l){d.replace(e,l)})};g=a6a.prototype;g.display=function(a){this.reporter.reportDisplay(I5a(a.getTargetList()))};g.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Fs([a]),(new o0).setOriginator(wrc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Fs([a]))}};
g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Fs([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(Fs(a))};g.save=function(a){this.reporter.reportSave(Fs(a))};g.send=function(a){this.reporter.reportSend(Fs(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var zrc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};zrc.prototype.call=function(a){var b=this;if(!this.isBatchingInternal){var c=Date.now(),d=c-this.lastBatchTime;this.lastBatchTime=c;this.isBatchingInternal=!0;this.timerId=Nt(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};zrc.prototype.cancel=function(){Ot(this.timerId);this.isBatchingInternal=!1};var x6a=function(a,b,c,d,e,f){var h=this;this.root=a;this.autocomplete=b;this.selectionsState=c;this.interactions=d;this.tracker=e;this.config=f;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new zrc;$qc(this.selectionsState,function(){Arc(h)})};g=x6a.prototype;g.search=function(a,b){this.selectionsState.clear();var c=!1;this.autocomplete.search(a,b,this.config.getShowSuggestions(),function(d){0<d.count&&!c&&(c=!0)})};g.isShown=function(){return this.autocomplete.isShown()};
g.report=function(a){var b=void 0===b?[]:b;b=b.length?b:this.selectionsState.asArray();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(Fs(b));break;case 2:c.dismiss(b);break;case 3:c.save(b);break;case 4:c.send(b);break;case 5:c.reporter.reportSecondaryAction(Fs(b))}};g.cancel=function(){this.autocomplete.detach()};
g.dispose=function(){this.tracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.autocomplete.dispose()};var Brc=function(a,b){a.selectionChangedListeners.push(b)},Arc=function(a){a.selectionChangedAutoBatcher.call(function(){for(var b=a.selectionsState.asArray(),c=m(a.selectionChangedListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)})};var $5a=function(){return ls('<div peoplekit-id="'+ms("nVhUhf")+'"></div>')};var p0=function(a){Y.call(this,a)};X(p0,Y);g=p0.prototype;g.getClientId=function(){return bk(this,1,0)};g.setClientId=function(a){return k(this,1,a)};g.getEntryPoint=function(){return bk(this,5,0)};g.setEntryPoint=function(a){return k(this,5,a)};g.getSocialClient=function(){return wk(this,uV,2)};g.setSocialClient=function(a){return Ok(this,uV,2,a)};g.setVersionName=function(a){return k(this,3,a)};g.getBaselineCl=function(){return Tk(this,4)};g.setBaselineCl=function(a){return k(this,4,a)};
g.hasBaselineCl=function(){return zm(this,4)};g.getBaselineClOrUndefined=function(){return Su(this,4)};g.getComponentFlow=function(){return bk(this,7,0)};g.setComponentFlow=function(a){return k(this,7,a)};var q0=function(a){Y.call(this,a)};X(q0,Y);var Crc=function(a){Y.call(this,a)};X(Crc,Y);g=Crc.prototype;g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return Sk(this,1)};g.getValue=function(){return Tk(this,2,1)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return zm(this,2)};var r0=function(a){Y.call(this,a)};X(r0,Y);r0.prototype.getLabel=function(){return Db(this,1)};r0.prototype.setLabel=function(a){return k(this,1,a)};r0.prototype.hasLabel=function(){return gm(this,1)};r0.prototype.getCause=function(){return Db(this,2)};var s0=function(a){Y.call(this,a)};X(s0,Y);g=s0.prototype;g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return Sk(this,1)};g.setLatencyUsec=function(a){k(this,2,a)};g.getCacheStatus=function(){return Db(this,3)};g.setCacheStatus=function(a){return k(this,3,a)};var t0=function(a){Y.call(this,a)};X(t0,Y);t0.prototype.getInterfaceType=function(){return Db(this,1)};t0.prototype.setInterfaceType=function(a){return k(this,1,a)};var Drc=function(a){Y.call(this,a)};X(Drc,Y);g=Drc.prototype;g.getCount=function(){return wk(this,Crc,3)};g.setCount=function(a){return Ok(this,Crc,3,a)};g.getLatency=function(){return wk(this,s0,4)};g.setLatency=function(a){return Ok(this,s0,4,a)};g.getError=function(){return wk(this,r0,5)};g.setError=function(a){Ok(this,r0,5,a)};g.hasError=function(){return sl(this,r0,5)};var Frc=function(a){Y.call(this,a,-1,Erc)};X(Frc,Y);Frc.prototype.setElementIndex=function(a){k(this,2,a)};var Erc=[3];var u0=function(a){Y.call(this,a)};X(u0,Y);u0.prototype.getClientInterface=function(){return wk(this,p0,3)};u0.prototype.setClientInterface=function(a){return Ok(this,p0,3,a)};u0.prototype.getMetadata=function(){return wk(this,q0,4)};u0.prototype.setMetadata=function(a){Ok(this,q0,4,a)};var b6a=function(a){this.logContext=j8a(nt(new ot,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(513929239).setEnableClearcut(a.getEnableClearcut()),ys.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=b6a.prototype;g.getLogContext=function(){return this.logContext};g.createCountMetric=function(){throw Error("Za");};g.createStatusMetric=function(){throw Error("Za");};
g.createLatencyMetric=function(a,b){b=b.source();a=(new u0).setClientInterface((new p0).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow));return Ok(a,Drc,2,b)};g.createErrorMetric=function(){throw Error("Za");};var Grc=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new Drc;a=k(a,1,4);var c=new t0;b=k(c,2,2).setInterfaceType(b);this.dataEntry=Ok(a,t0,2,b).setLatency((new s0).setLabel(8));this.state=new GV(this.dataEntry)};Grc.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
Grc.prototype.stop=function(a){a=void 0===a?function(){}:a;this.metrics.stop(this.state,this.label);var b=HV(this.state,this.label),c;null==(c=this.dataEntry.getLatency())||c.setLatencyUsec(b);a(b);var d;null!=(d=wk(this.dataEntry,t0,2))&&k(d,3,this.count);this.metrics.latency(this.state);++this.count};var d6a=function(a,b){this.metrics=a;this.userInterfaceType=b};var c6a=function(a){this.trackers=a},orc=function(a){a=a.trackers;return new Grc(a.metrics,a.userInterfaceType)};var v0=function(){this.itemsByPriority=[]};v0.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};v0.prototype.remove=function(a){for(var b=m(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};v0.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(p(a))})};var Ks=function(){this.selectionCallbacks=new v0;this.deselectionCallbacks=new v0;this.selectionReplacedCallbacks=new v0;this.selectionAttemptedCallbacks=new v0;this.selectionsState=[]};
Ks.prototype.select=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?0:c;var d=String(a.id());if(this.selectionsState.find(function(e){return d===String(e.id())}))return Gs(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),Gs(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Gs(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Ks.prototype.deselect=function(a,b){b=void 0===b?0:b;var c=String(a.id()),d=this.selectionsState.findIndex(function(e){return c===String(e.id())});0>d||(this.selectionsState.splice(d,1),Gs(a,d,b,this.deselectionCallbacks.asArray()))};Ks.prototype.toggle=function(a,b){b=void 0===b?0:b;var c=String(a.id());if(0>this.selectionsState.findIndex(function(d){return c===String(d.id())}))return this.select(a,-1,b),!0;this.deselect(a,b);return!1};
var $qc=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},Zqc=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},yrc=function(a,b){a.selectionReplacedCallbacks.add(b,0)};g=Ks.prototype;g.get=function(a){var b=String(a);return this.selectionsState.find(function(c){return b===String(c.id())})};g.at=function(a){return this.selectionsState[a]};
g.replace=function(a,b,c){c=void 0===c?0:c;var d=String(a),e=this.selectionsState.findIndex(function(f){return d===String(f.id())});if(0>e||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;J5a(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};g.pop=function(a){a=void 0===a?0:a;var b=this.selectionsState.pop();if(b)return Gs(b,this.selectionsState.length,a,this.deselectionCallbacks.asArray()),b};
g.indexOf=function(a){var b=String(a);return this.selectionsState.findIndex(function(c){return b===String(c.id())})};g.asArray=function(){return this.selectionsState.slice()};g.size=function(){return this.selectionsState.length};g.clear=function(){for(;0<this.selectionsState.length;)this.deselect(this.selectionsState[0])};var w6a=function(){};w6a.prototype.start=function(){};w6a.prototype.stop=function(){};var Hrc=function(a){this.userAction=a};var Ps=function(a){this.visualElementRoot=a;this.syntheticVisualElements=new Map;a=Xr(this.visualElementRoot);this.syntheticRoot=K5a(a);this.syntheticVisualElements.set(a.id,this.syntheticRoot)};
Ps.prototype.insert=function(a){a=m(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=Xr(b);if(c&&!this.syntheticVisualElements.has(c.id)){c=this.visualElementRoot;var d=[];if(c.contains(b)){for(;b&&b!==c;)b.hasAttribute("pk-log")&&d.push(b),b=b.parentElement;b&&b.hasAttribute("pk-log")&&d.push(b)}b=d;b.reverse();for(c=1;c<b.length;c++){var e=Xr(b[c]);this.syntheticVisualElements.has(e.id)||(d=K5a(e),this.syntheticVisualElements.set(e.id,d),e=Xr(b[c-1]),this.syntheticVisualElements.get(e.id).appendChild(d))}}}};
Ps.prototype.remove=function(a){a=m(a);for(var b=a.next();!b.done;b=a.next())if(b=Xr(b.value)){var c=this.syntheticVisualElements.get(b.id);this.syntheticVisualElements.delete(b.id);c&&c.parentElement&&c.parentElement.removeChild(c)}};Ps.prototype.getRoot=function(){return this.syntheticRoot};Ps.prototype.getElement=function(a){return this.syntheticVisualElements.get(a)};var t6a=function(a,b){this.syntheticTree=a;this.tracker=b;this.delayedImpression=new yfc(this.impress,15,this)};t6a.prototype.impress=function(){var a=this.tracker,b=this.syntheticTree.getRoot();var c=void 0===c?!1:c;b=Irc(a.traverser_,b);Jrc(a,b,new sW(0,0,0,0));c&&Krc(a,b,new sW(0,0,0,0))};t6a.prototype.dispose=function(){this.delayedImpression.dispose()};var u6a=function(a,b){this.root=a;this.visualElementHandler=b;this.eventHandler=Ur(this)};
u6a.prototype.observe=function(){var a=this;this.mutationObserver||(this.mutationObserver=new MutationObserver(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,"childList"===c.type){var d=L5a(c.removedNodes);d.length&&a.visualElementHandler.syntheticTree.remove(d);c=L5a(c.addedNodes);c.length&&(d=a.visualElementHandler,d.syntheticTree.insert(c),d.delayedImpression.start())}}),this.mutationObserver.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,
Epc,function(b){b.stopPropagation();var c=a.visualElementHandler,d=b.type;if(b=Xr(b.target))if(b=c.syntheticTree.getElement(b.id),d=Fpc.get(d),b&&d&&(c=c.tracker,d=new Hrc(d),(b=w0(c.visualElementProvider_,b))&&b.impressionEventID))for(b=c.eventHandler_.interactionEvent(b,d),d=0;d<b.length;++d)c.metadataHandler_.addEventMetadata(b[d]),c.zwiebackId_&&k(b[d],28,c.zwiebackId_),c.transport_&&RC(c.transport_,b[d])}))};
u6a.prototype.dispose=function(){var a;null==(a=this.mutationObserver)||a.disconnect();this.eventHandler.removeAll();this.visualElementHandler.dispose()};var v6a=function(a){this.visualElementObserver=a};v6a.prototype.start=function(){this.visualElementObserver.observe()};v6a.prototype.stop=function(){this.visualElementObserver.dispose()};for(var Lrc={CLICK:{string:"click",xid:"cOuCgd"},GENERIC_CLICK:{string:"generic_click",xid:"szJgjc"},IMPRESSION:{string:"impression",xid:"xr6bB"},HOVER:{string:"hover",xid:"ZmdkE"},KEYPRESS:{string:"keypress",xid:"Kr2w4b"},KEYBOARD_ENTER:{string:"keyboard_enter",xid:"SYhH9d"},VIS:{string:"vis",xid:"HkgBsf"}},M5a=Q5a(Lrc),Mrc=new Map,Nrc=m(Object.keys(Lrc)),Orc=Nrc.next();!Orc.done;Orc=Nrc.next()){var Prc=Orc.value;Mrc.set(Lrc[Prc].xid,Lrc[Prc].string)}
var O5a=Q5a({TRACK:{string:"track",xid:"u014N"},INDEX:{string:"index",xid:"cQYSPc"},MUTABLE:{string:"mutable",xid:"dYFj7e"},COMPONENT_ID:{string:"cid",xid:"cOuyq"},TEST_CODE:{string:"tc",xid:"DM6Eze"}});var x0=function(a,b){this.visualElementID_=a;this.xidTagComponents_=b||!1;this.tracks_=new Set;this.index_=null;this.testCodes_=[];this.componentID_=void 0;this.retain_cached_impression_=this.mutable_=!1;this.attribute_=null;this.metadataHandlers_=[]},Qrc=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};g=x0.prototype;g.getIndex=function(){return this.index_};g.setComponentID=function(a){this.componentID_=a};g.getComponentID=function(){return this.componentID_};
g.isMutable=function(){return this.mutable_};g.setAttribute=function(a){this.attribute_=a;return this};g.getAttribute=function(){return this.attribute_};var Rrc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};x0.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?N5a(a):a};x0.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?P5a(a):a};var Src=function(a){x0.call(this,a)};X(Src,x0);var y0=function(a){Y.call(this,a)};X(y0,Y);var Trc=function(a){if(null!=a)return ac(a),{timeUsec:$b(Db(a,1)),serverIp:$b(Db(a,2)),processId:$b(Db(a,3))}},Urc=[y0,1,yBb,2,BBb,3,BBb];var z0=function(a){Y.call(this,a)};X(z0,Y);z0.prototype.hasBase=function(){return sl(this,y0,1)};var Vrc=function(a){if(null!=a)return ac(a),{base:Trc(wk(a,y0,1)),clientCounter:$b(Db(a,2))}},Wrc=[z0,1,DBb,Urc,2,yBb];var A0=function(a){Y.call(this,a,-1,Xrc)};X(A0,Y);A0.prototype.getOffset=function(){return gj(this,2,0)};A0.prototype.setOffset=function(a){k(this,2,a)};var Xrc=[1],Yrc=[A0,1,zBb,2,Wu];var B0=function(a){Y.call(this,a)};X(B0,Y);B0.prototype.setVeIndex=function(a){k(this,1,a)};var Zrc=function(a,b){k(a,2,b)};B0.prototype.setElementIndex=function(a){k(this,5,a)};B0.prototype.getResultIndex=function(){return gj(this,6,-1)};B0.prototype.setResultIndex=function(a){k(this,6,a)};
var $rc=function(){var a=[B0,1,Wu,11,Wu,15,DBb,Yrc,2,Wu,8,Wu,5,Wu,6,Wu,7,Wu,9,Wu,10,CBb,12,ABb,13,DBb,Wrc,14,Wu];return function(b,c){a:{if(lBb.length){var d=lBb.pop();d.setOptions(c);d.decoder_.init(b,void 0,void 0,c);b=d}else b=new kBb(b,c);try{var e=Dba(a);var f=Eba(new e.ctor,b,e);break a}finally{b.free()}f=void 0}return f}}();var C0=function(a,b){this.el_=a;this.veTag_=b;this.loggedImpression_=!1;this.rootImpressionEventID=this.impressionEventID=void 0;this.neverShown=this.hidden=!0;this.serverVed_=this.parent_=this.traversalOrder_=void 0};C0.prototype.getTag=function(){return this.veTag_};C0.prototype.getElement=function(){return this.el_};var bsc=function(a){var b=asc++;a.traversalOrder_=b};C0.prototype.setParent=function(a){this.parent_=a};C0.prototype.getParent=function(){return this.parent_};var q6a=function(a){Y.call(this,a)};X(q6a,Y);g=q6a.prototype;g.getClientId=function(){return Db(this,1)};g.setClientId=function(a){return k(this,1,a)};g.getEntryPoint=function(){return Db(this,2)};g.setEntryPoint=function(a){return k(this,2,a)};g.getApplication=function(){return Db(this,3)};g.setApplication=function(a){return k(this,3,a)};g.getApplicationOrUndefined=function(){return rt(this,3)};g.setVersionName=function(a){return k(this,4,a)};g.getBaselineCl=function(){return Db(this,5)};
g.setBaselineCl=function(a){return k(this,5,a)};g.hasBaselineCl=function(){return zm(this,5)};g.getBaselineClOrUndefined=function(){return Su(this,5)};g.getMetadata=function(){return wk(this,q0,6)};g.setMetadata=function(a){Ok(this,q0,6,a)};var r6a=function(a){this.context_=a};r6a.prototype.createNewTag=function(a){return new Src(a)};r6a.prototype.addEventMetadata=function(a){WNb(a,this.context_.serialize())};var csc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var D0=function(){};D0.prototype.impressionEvent=function(){return[]};D0.prototype.interactionEvent=function(){return[]};D0.prototype.visibilityEvent=function(){return[]};var F0=function(){if(!E0){var a=E0=new y0,b=1E3*Date.now();k(a,1,b);k(E0,2,0);k(E0,3,0)}a=new z0;a=Ok(a,y0,1,E0);b=++dsc;return k(a,2,b)},dsc=0,E0=void 0;var G0=function(a){Y.call(this,a,1)};X(G0,Y);var H0=function(a){Y.call(this,a)};X(H0,Y);var I0=function(a){Y.call(this,a)};X(I0,Y);I0.prototype.getEvent=function(){return wl(this,y0,1,esc)};I0.prototype.setVed=function(a){return Zj(this,5,J0,a)};var esc=[1,3,4],J0=[2,5];var K0=function(a){Y.call(this,a,7)};X(K0,Y);g=K0.prototype;g.getTarget=function(){return wk(this,I0,1)};g.setTarget=function(a){return Ok(this,I0,1,a)};g.getType=function(){return bk(this,2,0)};g.setType=function(a){return k(this,2,a)};g.hasType=function(){return Sk(this,2)};var L0=function(a){Y.call(this,a,-1,fsc)};X(L0,Y);var fsc=[1];var hsc=function(a){Y.call(this,a,-1,gsc)};X(hsc,Y);hsc.prototype.getOffset=function(){return gj(this,2,0)};hsc.prototype.setOffset=function(a){k(this,2,a)};var gsc=[1];var isc=function(a){Y.call(this,a)};X(isc,Y);isc.prototype.getEventId=function(){return wl(this,y0,1,jsc)};isc.prototype.setEventId=function(a){am(this,1,jsc,a)};var jsc=[1,2],ksc=[3,6];var lsc=function(a){Y.call(this,a)};X(lsc,Y);var M0=function(a){Y.call(this,a,233,msc)};X(M0,Y);M0.prototype.setUiType=function(a){return k(this,1,a)};M0.prototype.setElementIndex=function(a){k(this,3,a)};var nsc=function(a,b){Lm(a,4,b)};M0.prototype.getResultIndex=function(){return Db(this,7)};M0.prototype.setResultIndex=function(a){k(this,7,a)};M0.prototype.setVisible=function(a){return k(this,6,a)};
var osc={},msc=[4],psc=function(a){if(null!=a){ac(a);var b=$b(Db(a,1)),c=gj(a,3,-1),d=$b(ej(a,4)),e=$b(Db(a,5)),f=$b(Db(a,7));var h=wk(a,isc,11);if(null!=h){ac(h);var l=Trc(h.getEventId());var q=Vrc(wl(h,z0,2,jsc)),u=gj(h,Zt(h,ksc,3),-1);h=wl(h,hsc,6,ksc);if(null!=h){ac(h);var x=ej(h,1);h={identifierBaseList:$b(x),offset:gj(h,2,0)}}else h=void 0;l={eventId:l,clientEventId:q,featureIndex:u,featureOffsetIdentifier:h}}else l=void 0;q=bk(a,6,0);u=$b(Db(a,17));h=gj(a,149,-1);x=wk(a,lsc,232);if(null!=x){ac(x);
x=wk(x,I0,1);if(null!=x){ac(x);var y=Trc(x.getEvent()),G=Vrc(wl(x,z0,3,esc)),J=$b(ht(x,4,esc));var M=wl(x,B0,2,J0);if(null!=M){ac(M);var V=gj(M,1,-1),U=gj(M,11,-1);var W=wk(M,A0,15);null!=W?(ac(W),W={baseList:$b(ej(W,1)),offset:gj(W,2,0)}):W=void 0;M={veIndex:V,nonArchivalVeIndex:U,veOffsetIdentifier:W,veType:$b(Db(M,2)),odelaySeLinker:$b(Db(M,8)),elementIndex:gj(M,5,-1),resultIndex:gj(M,6,-1),pageStart:$b(Db(M,7)),resultGroupElementIndex:gj(M,9,-1),doNotLogUrl:xl(M,10,!1),resultFprint:$b(Db(M,12)),
veEventId:Vrc(wk(M,z0,13)),youtubeVeCounter:gj(M,14,-1)}}else M=void 0;x={event:y,clientEvent:G,ei:J,rootVe:M,ved:$b(ht(x,5,J0))}}else x=void 0;x={reference:x}}else x=void 0;b={uiType:b,elementIndex:c,containsElementsList:d,targetUrl:e,resultIndex:f,featureTreeRef:l,visible:q,language:u,adImpressionIndex:h,dataElement:x};Rba(a,b,osc);return b}};var N0=function(a){Y.call(this,a,17,qsc)};X(N0,Y);g=N0.prototype;g.setVed=function(a){return k(this,11,a)};g.setUiType=function(a){return k(this,1,a)};g.setVeIndex=function(a){k(this,2,a)};g.getResultIndex=function(){return gj(this,7,-1)};g.setResultIndex=function(a){k(this,7,a)};g.setElementIndex=function(a){k(this,8,a)};g.getImageUrl=function(){return Db(this,9)};var rsc=function(a,b){Sb(a,14,b)},qsc=[14];var O0=function(a){Y.call(this,a,-1,ssc)};X(O0,Y);O0.prototype.getEventId=function(){return wk(this,z0,1)};O0.prototype.setEventId=function(a){Ok(this,z0,1,a)};var ssc=[2];var tsc=function(){};tsc.prototype.createNewTag=function(a){return new x0(a)};tsc.prototype.addEventMetadata=function(){};var P0=function(a){Y.call(this,a,-1,usc)};X(P0,Y);var vsc=function(a,b){Sb(a,1,b)};P0.prototype.addPath=function(a,b){return Jp(this,1,M0,a,b)};var usc=[1];var wsc=Yb(100,{coreGraftMetadata:0},P0,function(a){if(null!=a)return ac(a),{pathList:Zb(fj(a,M0,1),psc)}});var Q0=function(a){Y.call(this,a)};X(Q0,Y);var xsc=function(a){var b=Date.now().toString();k(a,1,b)};var R0=function(a){Y.call(this,a)};X(R0,Y);R0.prototype.getTimestamp=function(){return wk(this,Q0,1)};R0.prototype.setTimestamp=function(a){return Ok(this,Q0,1,a)};R0.prototype.hasTimestamp=function(){return sl(this,Q0,1)};var ysc=function(a){if(null!=a)return ac(a),a=a.getTimestamp(),null!=a?(ac(a),a={clientWallClockTimestamp:$b(Db(a,1))}):a=void 0,{timestamp:a}};var zsc=Yb(126,{coreInteractionMetadata:0},R0,ysc);var Asc=Yb(618,{coreVeMetadata:0},R0,ysc);osc[618]=Asc;var Ns=function(a,b,c){this.enableAncestryLogging_=void 0===a?!0:a;this.enableAncestryLoggingForGrafts_=void 0===c?!1:c;this.enableBatching_=void 0===b?!1:b};X(Ns,D0);Ns.prototype.impressionEvent=function(a,b){for(var c=[],d=[],e=0;e<a.length;++e)a[e].keys().next().value.impressionEventID?d.push(a[e]):c.push(a[e]);a=Bsc(this,c,b);b=this.enableBatching_?Csc(this,d,b):Dsc(this,d,b);return a.concat(b)};
Ns.prototype.interactionEvent=function(a,b){var c=new LC,d=new O0,e=F0();d.setEventId(e);e=new N0;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);rsc(k(e,3,b.userAction),this.getAncestry_(a));a.getTag();this.setTimestamp(e);b=new H0;Ok(b,z0,1,a.impressionEventID);Ok(d,z0,3,a.impressionEventID);Ok(d,N0,4,e);Ok(d,H0,9,b);JSON.stringify(null,null,1);MC(c,d.serialize());return[c]};
Ns.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),l=f.rootImpressionEventID,q=d.get(l);q=q?q:[];var u=new P0;this.enableAncestryLoggingForGrafts_&&vsc(u,this.getAncestry_(f));if(f.neverShown||Qrc(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new K0;h.setType(1);var x=Esc(f);h.setTarget(x);x=h;var y=Date.now();k(x,4,y);this.enableAncestryLoggingForGrafts_&&Vu(h,wsc,u);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||
(h=new K0,h.setType(2),x=Esc(f),h.setTarget(x),x=h,y=Date.now(),k(x,4,y),this.enableAncestryLoggingForGrafts_&&Vu(h,wsc,u),q.push(h),f.hidden=!0);d.set(l,q)}a=m(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new L0,Sb(e,1,f),f=new O0,l=F0(),q=new H0,Ok(q,z0,1,b),f.setEventId(l),Ok(f,z0,3,b),Ok(f,L0,7,e),Ok(f,H0,9,q),b=new LC,JSON.stringify(null,null,1),MC(b,f.serialize()),c.push(b));return c};
Ns.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");if(a instanceof HTMLElement&&(0>=a.offsetWidth||0>=a.offsetHeight))return!1;a=a.getBoundingClientRect();return(b=Afc(b,new sW(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var Bsc=function(a,b,c){for(var d=[],e={},f=b.length-1;0<=f;e={$jscomp$loop$prop$impressionEventID$2219:e.$jscomp$loop$prop$impressionEventID$2219,$jscomp$loop$prop$clientVeProto$2220:e.$jscomp$loop$prop$clientVeProto$2220,$jscomp$loop$prop$testCodes$2221:e.$jscomp$loop$prop$testCodes$2221},f--){e.$jscomp$loop$prop$clientVeProto$2220=new O0;e.$jscomp$loop$prop$testCodes$2221=[];e.$jscomp$loop$prop$impressionEventID$2219=F0();e.$jscomp$loop$prop$clientVeProto$2220.setEventId(e.$jscomp$loop$prop$impressionEventID$2219);
var h=new H0;Ok(h,z0,1,e.$jscomp$loop$prop$impressionEventID$2219);Ok(e.$jscomp$loop$prop$clientVeProto$2220,H0,9,h);if(h=INb(window.location.href,"ved"))h=(new N0).setVed(h),Ok(e.$jscomp$loop$prop$clientVeProto$2220,N0,4,h);b[f].forEach(function(l){return function(q,u){u.impressionEventID=l.$jscomp$loop$prop$impressionEventID$2219;u.rootImpressionEventID=l.$jscomp$loop$prop$impressionEventID$2219;var x=this.getVisualElementLiteProto_(u);q.length&&nsc(x,q);q=u.getElement();this.isVisible_(q,c)?(u.neverShown=
!1,u.hidden=!1):x.setVisible(1);this.setTimestamp(x);Jp(l.$jscomp$loop$prop$clientVeProto$2220,2,M0,x);l.$jscomp$loop$prop$testCodes$2221=l.$jscomp$loop$prop$testCodes$2221.concat(u.getTag().testCodes_)}}(e),a);h=new LC;JSON.stringify(null,null,1);MC(h,e.$jscomp$loop$prop$clientVeProto$2220.serialize());Lm(h,20,e.$jscomp$loop$prop$testCodes$2221);d.push(h)}return d},Csc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;0<=f;f--){var h=b[f],l=h.keys().next().value.rootImpressionEventID,q=e.get(l)||
[];q.push(h);e.set(l,q)}e.forEach(function(u,x){var y=0,G=[],J=new O0,M=[],V=F0();J.setEventId(V);Ok(J,z0,3,x);var U=new H0;Ok(U,z0,1,x);Ok(J,H0,9,U);for(U=0;U<u.length;U++)for(var W=u[U],ba=W.keys(),pa=ba.next().value,na=W.get(pa),xa={},Fa=0;Fa<na.length;xa={$jscomp$loop$prop$startingOffset$2223:xa.$jscomp$loop$prop$startingOffset$2223,$jscomp$loop$prop$cloneTreeRootIndex$2224:xa.$jscomp$loop$prop$cloneTreeRootIndex$2224},++Fa){var Ha=pa;xa.$jscomp$loop$prop$cloneTreeRootIndex$2224=0;xa.$jscomp$loop$prop$startingOffset$2223=
na[Fa];var Bb=W.size;Fa!=na.length-1&&(Bb=na[Fa+1]);for(var lb=xa.$jscomp$loop$prop$startingOffset$2223;lb<Bb;++lb){var Ya=ba.next().value;lb==xa.$jscomp$loop$prop$startingOffset$2223&&(Ha=Ya,xa.$jscomp$loop$prop$cloneTreeRootIndex$2224=y);Ya.impressionEventID=V;Ya.rootImpressionEventID=x;Ya.traversalOrder_=y;var qa=W.get(Ya),Ba=this.getVisualElementLiteProto_(Ya);qa.length&&nsc(Ba,qa.map(function(Ea){return function(Oa){return Oa-Ea.$jscomp$loop$prop$startingOffset$2223+Ea.$jscomp$loop$prop$cloneTreeRootIndex$2224}}(xa)));
qa=Ya.getElement();this.isVisible_(qa,c)?(Ya.neverShown=!1,Ya.hidden=!1):Ba.setVisible(1);this.setTimestamp(Ba);Jp(J,2,M0,Ba);M=M.concat(Ya.getTag().testCodes_);y++}Bb=new K0;Bb.setType(3);lb=Esc(pa);Bb.setTarget(lb);lb=new I0;Ya=new B0;Ba=new P0;Ya.setVeIndex(Ha.traversalOrder_);Zrc(Ya,Ha.getTag().visualElementID_);am(lb,2,J0,Ya);Ok(Bb,I0,3,lb);this.enableAncestryLoggingForGrafts_&&(vsc(Ba,this.getAncestry_(Ha)),Vu(Bb,wsc,Ba));G.push(Bb)}G.length&&(u=new L0,Sb(u,1,G),Ok(J,L0,7,u));G=new LC;JSON.stringify(null,
null,1);MC(G,J.serialize());Lm(G,20,M);d.push(G)},a);return d},Dsc=function(a,b,c){for(var d=[],e=b.length-1;0<=e;e--)for(var f=b[e],h=f.keys(),l=h.next().value,q=f.get(l),u={},x=0;x<q.length;u={$jscomp$loop$prop$startingOffset$2226:u.$jscomp$loop$prop$startingOffset$2226},++x){u.$jscomp$loop$prop$startingOffset$2226=q[x];var y=f.size;x!=q.length-1&&(y=q[x+1]);var G=new O0,J=[],M=F0(),V=new H0;Ok(V,z0,1,l.impressionEventID);G.setEventId(M);Ok(G,z0,3,l.impressionEventID);k(G,5,3);Ok(G,H0,9,V);V=new N0;
l.serverVed_?V.setVed(l.serverVed_):V.setUiType(l.getTag().visualElementID_).setVeIndex(l.traversalOrder_);rsc(V,a.getAncestry_(l));Ok(G,N0,4,V);for(V=u.$jscomp$loop$prop$startingOffset$2226;V<y;++V){var U=h.next().value;U.impressionEventID=M;U.rootImpressionEventID=l.rootImpressionEventID;void 0!=U.traversalOrder_&&(U.traversalOrder_-=u.$jscomp$loop$prop$startingOffset$2226);var W=f.get(U),ba=a.getVisualElementLiteProto_(U);W.length&&nsc(ba,W.map(function(pa){return function(na){return na-pa.$jscomp$loop$prop$startingOffset$2226}}(u)));
W=U.getElement();a.isVisible_(W,c)?(U.neverShown=!1,U.hidden=!1):ba.setVisible(1);a.setTimestamp(ba);Jp(G,2,M0,ba);J=J.concat(U.getTag().testCodes_)}y=new LC;JSON.stringify(null,null,1);MC(y,G.serialize());Lm(y,20,J);d.push(y)}return d};Ns.prototype.getAncestry_=function(a){if(!this.enableAncestryLogging_)return[];for(var b=[],c=new Set;a&&!c.has(a);){var d=this.getVisualElementLiteProto_(a);b.unshift(d);c.add(a);a=a.getParent()}return b};
Ns.prototype.getVisualElementLiteProto_=function(a){var b=(new M0).setUiType(a.getTag().visualElementID_);null!=a.getTag().getIndex()&&b.setElementIndex(a.getTag().getIndex());Rrc(a.getTag(),b);return b};var Esc=function(a){var b=new I0;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new B0;am(b,3,esc,a.impressionEventID);c.setVeIndex(a.traversalOrder_);Zrc(c,a.getTag().visualElementID_);am(b,2,J0,c)}return b};
Ns.prototype.setTimestamp=function(a){if(a instanceof N0&&(!wk(a,G0,15)||!wk(a,G0,15).getExtension(zsc))){var b=new R0,c=new Q0,d=wk(a,G0,15);d||(d=new G0);xsc(c);b.setTimestamp(c);Vu(d,zsc,b);Ok(a,G0,15,d)}a instanceof M0&&(b=new R0,c=new Q0,xsc(c),b.setTimestamp(c),Vu(a,Asc,b))};var Fsc=1;(function(){for(var a=["ms","moz","webkit","o"],b=0;b<a.length&&!window.requestAnimationFrame;++b)window.requestAnimationFrame=window[a[b]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a[b]+"CancelAnimationFrame"]||window[a[b]+"CancelRequestAnimationFrame"];if(!window.requestAnimationFrame){var c=0;window.requestAnimationFrame=function(d){var e=(new Date).getTime(),f=Math.max(0,16-(e-c));c=e+f;return window.setTimeout(function(){d(e+f)},f)};window.cancelAnimationFrame||(window.cancelAnimationFrame=
function(d){clearTimeout(d)})}})();var Gsc=function(){},Hsc=[[],[]],Isc=0,Jsc=!1,Ksc=null,Lsc=0,Msc=0,Nsc=0,S0=0,Osc=0,T0=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.context_=a;this.state_ctor_=Gsc};T0.prototype.measure=function(a){this.measure_=a;return this};T0.prototype.mutate=function(a){this.mutate_=a;return this};T0.prototype.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
T0.prototype.build=function(){return Psc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var Psc=function(a,b){var c=Osc++,d=Math.max(a.measure?a.measure.length:0,a.mutate?a.mutate.length:0),e={id:c,measureFn:a.measure,mutateFn:a.mutate,context:b,args:[]},f=e;return function(){var h=0!==f.phase;h&&(f=Object.assign({phase:0},e));b||(f.context=this);f.args=Array.prototype.slice.call(arguments);d>arguments.length&&f.args.push(new a.stateCtor);h&&(h=Isc,!a.runInCurrentFrameIfPossible||0==S0||a.measure&&1!=S0||(h=(h+1)%2),Hsc[h].push(f));return Qsc()}},Rsc=function(a,b){Jsc=!1;var c={};S0=
1;for(var d=0;d<a.length;++d){var e=a[d];e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(f){c[d]=!0,ea(f)}}}S0=2;for(d=0;d<a.length;++d)if(e=a[d],e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(f){ea(f)}}0<Lsc&&1<b&&(a=b-Lsc,500>a&&(Fsc++,100<a&&Msc++,Nsc<a&&(Nsc=a)));Lsc=Jsc&&1<b?b:0},Qsc=function(){Jsc||(Jsc=!0,Ksc=new Promise(function(a){window.requestAnimationFrame(function(b){var c=
Hsc[Isc];Isc=(Isc+1)%2;try{Rsc(c,b)}finally{S0=0,c.length=0}a()})}));return Ksc};var Ssc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},w0=function(a,b){var c=b.LSWHIf||null;if(c&&(c.getTag().getComponentID()||a.componentID_)&&c.getTag().getComponentID()!=a.componentID_)return null;var d;!(d=c&&!c.getTag().isMutable())&&(d=c&&c.getTag().isMutable())&&(d=b.getAttribute("jslog"),d=!(!d||nm(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=Tsc(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new C0(b,d);c&&c.getTag().retain_cached_impression_&&c.loggedImpression_&&(a.loggedImpression_=!0);if(c=a.getElement().getAttribute("data-ved")){a.serverVed_=c;if(!c||"0"!=c.charAt(0)&&"2"!=c.charAt(0))var e=null;else{c=c.substring(1);try{var f=$rc(c);e=wk(f,z0,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},Tsc=function(a,b){if(nm(b))return null;var c=b.split(";"),d=Number(c[0].trim());if(isNaN(d))return null;
d=a.tagPopulator_.createNewTag(d);for(var e=1;e<c.length;e++){var f=c[e].trim();if(!nm(f)){var h=$Cb(f);if(2>h.length)return null;f=h[0].trim();h=h[1].trim();if(nm(f)||nm(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var l=f[h].trim();if(a.expectXidTagComponents_){if(!d.xidTagComponents_)throw Error("Ge");if(!Mrc.has(l))throw Error("He`"+l);d.tracks_.add(l)}else d.tracks_.add(d.maybeXidEventLabel_(l))}break;case a.maybeXidPartLabel_("index"):d.index_=
Number(h);break;case a.maybeXidPartLabel_("tc"):f=h.split(",");f=f.map(Number);f=f.filter(Number.isInteger);d.testCodes_=f;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):"true"==h?d.mutable_=!0:"rci"==h&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};Ssc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?P5a(a):a};Ssc.prototype.setComponentID=function(a){this.componentID_=a};Ssc.prototype.getComponentID=function(){return this.componentID_};var Usc=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},Irc=function(a,b){return Vsc(a,b).filter(function(c){return null!=w0(this.visualElementProvider_,c)},a)},Wsc=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},f=0;f<b.length;e={$jscomp$loop$prop$parent$2228:e.$jscomp$loop$prop$parent$2228},++f){var h=w0(c,b[f]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.$jscomp$loop$prop$parent$2228=void 0,T5a(b[f],function(l){return function(q){q=
w0(c,q);return null!=q?(l.$jscomp$loop$prop$parent$2228=q,!0):!1}}(e)),e.$jscomp$loop$prop$parent$2228?d&&d.has(e.$jscomp$loop$prop$parent$2228)||(d=new Map,a.unshift(d),d.set(e.$jscomp$loop$prop$parent$2228,[]),asc=1):(d=new Map,a.unshift(d),asc=0),bsc(h),h.setParent(e.$jscomp$loop$prop$parent$2228),d.set(h,[]),e.$jscomp$loop$prop$parent$2228&&d.get(e.$jscomp$loop$prop$parent$2228).push(h.traversalOrder_))}return a},Xsc=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return w0(c,
d)})},Vsc=function(a,b){if(a.traverseShadowDom_){var c=[];a=[];for(c.push.apply(c,b.querySelectorAll("*"));0<c.length;){var d=c.shift();d.getAttribute("jslog")&&a.push(d);d.shadowRoot&&c.unshift.apply(c,d.shadowRoot.querySelectorAll("*"))}}else a=[].slice.call(b.querySelectorAll("[jslog]"));a.unshift(b);return a},asc=0;var Ysc=function(a,b,c){cC.call(this);this.listener_=null!=c?a.bind(c):a;this.interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.timer_=null};X(Ysc,cC);g=Ysc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&(Ot(this.timer_),this.timer_=null,this.shouldFire_=!1,this.args_=null)};g.pause=function(){this.pauseCount_++};
g.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.timer_||(this.shouldFire_=!1,this.doAction_())};g.disposeInternal=function(){cC.prototype.disposeInternal.call(this);this.stop()};g.onTimer_=function(){this.timer_=null;this.shouldFire_&&!this.pauseCount_&&(this.shouldFire_=!1,this.doAction_())};g.doAction_=function(){var a=this;this.timer_=Nt(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var Zsc=function(a,b){eC.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};X(Zsc,eC);var $sc=function(a){Qq.call(this);this.domHelper_=a||Tq();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=Rq(this.domHelper_.document_,this.eventType_,Eu(this.handleChange_,this))};Gu($sc,Qq);g=$sc.prototype;g.getBrowserEventType_=er(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((Lu?"Webkit":Ku?"Moz":Iu?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
g.getHiddenPropertyName_=er(function(){return zfc("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=er(function(){return zfc("visibilityState",this.domHelper_.document_)});g.isHidden=function(){return!!this.domHelper_.document_[this.getHiddenPropertyName_()]};g.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new Zsc(this.isHidden(),a);this.dispatchEvent(a)};
g.disposeInternal=function(){lC(this.eventKey_);$sc.superClass_.disposeInternal.call(this)};var U0=function(a,b,c,d,e,f,h){var l=this,q=void 0===d?{}:d,u=void 0===q.backgroundJobDeferrer?void 0:q.backgroundJobDeferrer;d=void 0===q.expectXidTagComponents?!1:q.expectXidTagComponents;q=void 0===q.traverseShadowDom?!1:q.traverseShadowDom;Tr.call(this);this.eventBuilder_=a;this.expectXidTagComponents_=d;this.metadataHandler_=b||new tsc;this.visualElementProvider_=new Ssc(this.metadataHandler_,this.expectXidTagComponents_);this.transport_=c;this.maybeXidEventLabel_("generic_click");this.root_=
this.domHelper_=this.invariantData_=this.appInfo_=void 0;this.pageVisibilityMonitor_=new $sc;this.logImpressionsTask_=(new T0(this)).measure(u?function(){return u().then(l.handleImpressions_.bind(l))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();new Ysc(this.logImpressionsTask_,500,this);this.traverser_=h||new Usc(this.visualElementProvider_,q);this.impressionListeners_=[];this.eventBuilder_ instanceof D0&&(this.eventHandler_=this.eventBuilder_);this.zwiebackId_=e;this.windowProvider_=
f};Gu(U0,Tr);U0.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};U0.prototype.log=function(a){this.transport_&&RC(this.transport_,a)};var atc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};U0.prototype.getIndex=function(a){return a.getTag().getIndex()};var btc=function(a){return a.map(function(b){return b.getTag().visualElementID_})};g=U0.prototype;
g.getMetadata=function(a,b){var c=new M0;Rrc(a.getTag(),c);for(a=0;a<b.length;++a)Rrc(b[a].getTag(),c);return c};g.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;T5a(a,function(d){if(!wC(d))return!1;d=w0(c,d);null!=d&&b.push(d);return!1});return b};
g.handleImpressions_=function(){if(!this.pageVisibilityMonitor_.isHidden()&&this.root_){var a=!!(window.performance&&window.performance.mark&&window.performance.measure&&window.performance.clearMeasures&&window.performance.clearMarks);a&&(window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc"));var b=Irc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();c=new sW(0,0,c.width,c.height);Jrc(this,b,c);Krc(this,b,c);atc(this)}else{c=[];var d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new sW(0,0,d.width,d.height);for(var e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=w0(this.visualElementProvider_,f))&&Qrc(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)if(d=c[b],!d.loggedImpression_){e=this.getAncestry_(d.getElement());var h=btc(e);
f=this.getIndex(d);var l=new Frc;l=k(l,4);var q=d.getTag().visualElementID_;l=k(l,1,q);h=Lm(l,3,h);null!=f&&h.setElementIndex(f);f=new csc;f.ve_metadata=this.getMetadata(d,e);f.global_metadata=this.invariantData_;f.client_info=this.appInfo_;e=h;e=WNb(new LC,e.serialize());e=Lm(e,20,f.testCodes);this.transport_&&RC(this.transport_,e);atc(this);d.loggedImpression_=!0}}a&&window.performance.measure("ZVwBtb","KtiTlc")}};
g.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=Afc(b,new sW(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};g.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?N5a(a):a};
var Jrc=function(a,b,c){b=Wsc(a.traverser_,b);if(b.length)for(c=a.eventHandler_.impressionEvent(b,c),b=0;b<c.length;++b)a.metadataHandler_.addEventMetadata(c[b]),k(c[b],28,a.zwiebackId_),a.transport_&&RC(a.transport_,c[b])},Krc=function(a,b,c){b=Xsc(a.traverser_,b);c=a.eventHandler_.visibilityEvent(b,c);if(c.length)for(b=0;b<c.length;++b)a.metadataHandler_.addEventMetadata(c[b]),a.zwiebackId_&&k(c[b],28,a.zwiebackId_),a.transport_&&RC(a.transport_,c[b])};var Os=function(a,b,c,d,e,f,h,l,q,u,x,y){e=void 0===e?!1:e;q=void 0===q?!1:q;b=l?l:new Mcc(b,c,d,void 0,void 0,void 0,f);U0.call(this,a,h||null,b,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},u,x,y);this.clearcut_=b;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};Gu(Os,U0);Os.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
Os.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Os.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var Hs=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.queryScope_=0;this.slots_=[];this.entryPoint_=0};g=Hs.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.getEntryPoint=function(){return this.entryPoint_};g.setEntryPoint=function(a){this.entryPoint_=a;return this};
g.clone=function(){var a=new Hs;a.filter_=this.filter_;a.boostIds_=this.boostIds_;a.primingTimeoutMillis_=this.primingTimeoutMillis_;a.queryScope_=this.queryScope_;a.slots_=this.slots_;a.entryPoint_=this.entryPoint_;return a};var ut=function(a){Y.call(this,a)};X(ut,Y);var V0=function(a,b){return k(a,1,b)};ut.prototype.getProvenance=function(){return bk(this,2,0)};ut.prototype.setProvenance=function(a){return k(this,2,a)};ut.prototype.getCode=function(){return bk(this,3,0)};ut.prototype.setCode=function(a){return k(this,3,a)};var W0=function(a){Y.call(this,a)};X(W0,Y);W0.prototype.getSource=function(){return wk(this,ut,1)};W0.prototype.setSource=function(a){return Ok(this,ut,1,a)};W0.prototype.hasSource=function(){return sl(this,ut,1)};var X0=function(a,b){return k(a,2,b)},Y0=function(a,b){return k(a,3,b)};var ctc=function(){this.filter_=null};ctc.prototype.getFilter=function(){return this.filter_};ctc.prototype.setFilter=function(a){this.filter_=a;return this};var dtc=function(a){Y.call(this,a)};X(dtc,Y);g=dtc.prototype;g.getEnd=function(){return gj(this,2,0)};g.setEnd=function(a){return k(this,2,a)};g.getTotalItems=function(){return gj(this,3,0)};g.setTotalItems=function(a){return k(this,3,a)};g.getCode=function(){return bk(this,4,2)};g.setCode=function(a){return k(this,4,a)};g.getCacheState=function(){return wk(this,W0,5)};g.setCacheState=function(a){return Ok(this,W0,5,a)};g.hasCacheState=function(){return sl(this,W0,5)};var etc=function(a,b){this.results_=a;this.metadata_=b};etc.prototype.getResults=function(){return this.results_};etc.prototype.getMetadata=function(){return this.metadata_};var ftc=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=ftc.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getOriginator=function(){return this.originator_};g.setOriginator=function(a){this.originator_=a;return this};
g.clone=function(){var a=(new ftc).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var gtc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new W0};g=gtc.prototype;g.getIsFirstCallback=function(){return this.isFirstCallback_};g.getIsLastCallback=function(){return this.isLastCallback_};g.getCode=function(){return this.code_};g.getCacheState=function(){return this.cacheState_};g.setIsFirstCallback=function(a){this.isFirstCallback_=a;return this};g.setIsLastCallback=function(a){this.isLastCallback_=a;return this};
g.setCallbackNumber=function(){return this};g.setCode=function(a){this.code_=a;return this};g.setCacheState=function(a){this.cacheState_=a;return this};var htc=function(a,b){this.results_=a;this.metadata_=b};htc.prototype.getResults=function(){return this.results_};htc.prototype.getMetadata=function(){return this.metadata_};var Z0=function(a){Y.call(this,a)};X(Z0,Y);g=Z0.prototype;g.getQuery=function(){return lk(this,1,"")};g.setQuery=function(a){return k(this,1,a)};g.clearQuery=function(){Qu(this,1)};g.hasQuery=function(){return gm(this,1)};g.getIsFirstCallback=function(){return xl(this,2,!1)};g.setIsFirstCallback=function(a){return k(this,2,a)};g.getIsLastCallback=function(){return xl(this,3,!1)};g.setIsLastCallback=function(a){return k(this,3,a)};g.setCallbackNumber=function(a){return k(this,4,a)};
g.getNextPageToken=function(){return lk(this,5,"")};g.getCode=function(){return bk(this,6,2)};g.setCode=function(a){return k(this,6,a)};g.getCacheState=function(){return wk(this,W0,7)};g.setCacheState=function(a){return Ok(this,W0,7,a)};g.hasCacheState=function(){return sl(this,W0,7)};var a1=function(a,b){this.results_=a;this.metadata_=b};a1.prototype.getResults=function(){return this.results_};a1.prototype.getMetadata=function(){return this.metadata_};var itc={create:function(a,b,c,d,e){e=void 0===e?new Hs:e;return V5a(a,b,c,d,new qpc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return V5a(a,b,c,d,new qpc,e)},createConfig:function(a){return new vrc(a)}};var mt=function(a){Y.call(this,a)};X(mt,Y);g=mt.prototype;g.getTimestamp=function(){return Tk(this,1)};g.setTimestamp=function(a){return k(this,1,a)};g.hasTimestamp=function(){return zm(this,1)};g.getAffinityVersion=function(){return gj(this,2)};g.setAffinityVersion=function(a){k(this,2,a)};g.getAffinityVersionOrUndefined=function(){return Ru(this,2)};g.getTotalItems=function(){return gj(this,3)};g.setTotalItems=function(a){return k(this,3,a)};g.getNextPageToken=function(){return lk(this,4)};
g.getCode=function(){return bk(this,6,0)};g.setCode=function(a){return k(this,6,a)};var b1=function(){this.bits_=[]};g=b1.prototype;g.and=function(a){for(var b=new b1,c=m(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};g.or=function(a){for(var b=new b1,c=m(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=m(a);for(d=a.next();!d.done;d=a.next())b.bits_[d.value]=!0;return b};g.get=function(a){return!!this.bits_[a]};g.set=function(a){this.bits_[a]=!0};g.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
g.clear=function(a){this.bits_[a]=!1};b1.prototype[Symbol.iterator]=function(){var a=this,b=-1;return{next:function(){a:{for(var c=b+1,d=a.bits_.length;c<d;c++)if(a.bits_[c]){b=c;break a}b=-1}return 0>b?{done:!0}:{value:b,done:!1}}}};var A6a=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),C6a=/^[<"']|[>"']$/g,y6a=RegExp("[^a-z0-9@\u00c0-\u02ff\u0370-\u1aaf\u1b00-\u1fff\u2070-\u218f\u2460-\u24ff\u2c00-\u2dff\u2e80-\u2fef\u3040-\u4dbf\u4e00-\ud7ff\uf900-\ufdff\ufe70-\uffef]+","gi"),jtc=/[^a-z0-9]+/gi,B6a=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var ktc=function(a,b){this.key=a;this.terms=D6a(b)};var c1=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new b1:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};c1.prototype.cloneNode=function(a){for(var b=[],c=m(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new c1(b)};
c1.prototype.getMatches=function(a){for(var b=[],c=m(this.prefix_?this.matchIndices_:F6a(this.items_.length)),d=c.next();!d.done&&(d=a.loadOrSkip(this.items_[d.value].key),null==d||(b.push(d),!a.isDone()));d=c.next());return b};
c1.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var f=c.charAt(e),h=d;if(!h.isExpanded_){for(var l=m(h.prefix_?h.matchIndices_:F6a(h.items_.length)),q=l.next();!q.done;q=l.next()){var u=h;q=q.value;for(var x=u.prefix_+"\ufdc7",y=m(u.items_[q].terms),G=y.next();!G.done;G=y.next())G=G.value,G.length<=u.prefix_.length||G<u.prefix_||G>x||(G=G.charAt(u.prefix_.length),u.childNodes_[G]||(u.childNodes_[G]=new c1(u.items_,u.prefix_+G)),u.childNodes_[G].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||d1;if(d===d1)break}return d}).reduce(function(c,d){return c.and(d)}):this};var ltc=function(a){a.isExpanded_=!1;for(var b=m(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&ltc(c)};c1.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new c1(this.items_,"\u2026",a)};c1.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new c1(this.items_,"\u2026",a)};var d1=new c1([]);
d1.isExpanded_=!0;var e1=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};e1.prototype.getExpiry=function(){return this.expiry_};e1.prototype.getValue=function(){return this.value_};e1.prototype.isExpired=function(){return this.expiry_<Date.now()};e1.prototype.isStale=function(){return this.stale_<Date.now()};var mtc=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=mtc.prototype;g.size=function(){return this.items_.size};g.clear=function(){this.items_.clear()};g.has=function(a){return this.items_.has(a)};g.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
g.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=m(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};g.delete=function(a){return this.items_.delete(a)};g.compact=function(){for(var a=0,b=m(this.items_),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var ntc=function(){var a=new mtc(function(){return 1E3<a.size()});return a};var otc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new mtc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=otc.prototype;g.get=function(a){var b=this.delegate_.get(a);if(b)if(b.isExpired())this.delegate_.delete(a);else return b.getValue()};g.set=function(a,b){b=this.itemFactory_(b);this.delegate_.set(a,b);return this};g.has=function(a){return!!this.get(a)};g.size=function(){return this.delegate_.size()};g.clear=function(){this.delegate_.clear()};
g.delete=function(a){return this.delegate_.delete(a)};g.compact=function(){return this.delegate_.compact()};var f1=function(a,b){return new otc(a,function(c){var d=Date.now()+b;return new e1(d,c,d)})};var g1=function(a){Y.call(this,a,-1,ptc)};X(g1,Y);g=g1.prototype;g.getCacheSize=function(){return gj(this,3,500)};g.setCacheSize=function(a){k(this,3,a)};g.hasCacheSize=function(){return qm(this,3)};g.getCacheStaleSec=function(){return Uk(this,4,86400)};g.getCacheExpiredSec=function(){return Uk(this,5,1209600)};g.getRpcTimeoutSec=function(){return Uk(this,12,60)};var ptc=[24,25];var H6a=new Set([10,11]);var qtc=function(a){this.interleaveGroups_=xl(a,33,!1)},h1=function(a,b,c){return b.filter(function(d){return 8!==d.provenance}).sort(function(d,e){a:{var f=a.interleaveGroups_;switch(c){case 2:d=I6a(d,e,f,!0);break a;default:d=J6a(d,e,f)}}return d}).map(function(d){return String(d.id)})};var rtc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new qtc(e);this.indexes_=f1(gj(e,8,250),1E3*Uk(e,9,3600));this.maxResults_=gj(e,2,10)};g=rtc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return Ze(function(e){switch(e.nextAddress){case 1:c=V0(new ut,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(V0(c,!1));$e(e,2);return af(e,b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;Au(e,3);break;case 2:return df(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new mt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:3===a.queryScope()?!1:this.indexes_.has(a.getPrefix())?!0:!1};g.index=function(a,b){for(var c=h1(this.ranker_,b,1),d=m(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=i1(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};g.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};var stc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};stc.prototype.getStageType=function(){return 2};stc.prototype.index_=function(a,b){for(var c=m(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
stc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,u,x;return Ze(function(y){switch(y.nextAddress){case 1:return c=new Map,d=V0(new ut,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),f=j1(a),$e(y,2),af(y,b.adapter_.lookup(f),4);case 4:h=y.yieldResult;Au(y,3);break;case 2:return df(y),d.setCode(13),a.notify(c,[],d),y.return();case 3:b.index_(h,e);l=m(f);for(q=l.next();!q.done;q=l.next())u=q.value,(x=b.indexer_.load(u,a.getFormat(),a.getResultFilter(),!1,a.getOptions().useOriginalDisplayValue_))&&
c.set(u,x);a.notify(c,[],d);ef(y)}})};var ttc=function(a,b){this.metrics_=a;this.state_=new GV(b);this.source=b;this.label_="total"};ttc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};ttc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var utc=function(a,b){this.metrics_=a;this.state_=new GV(b);this.source=b};utc.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var vtc=function(a,b){this.metrics_=a;this.state_=new GV(b);this.source=b};vtc.prototype.report=function(){this.metrics_.error(this.state_)};var ct=function(a){Y.call(this,a)};X(ct,Y);var bt=function(a){Y.call(this,a)};X(bt,Y);bt.prototype.getEventType=function(){return bk(this,1,0)};bt.prototype.setEventType=function(a){return k(this,1,a)};var dt=function(a,b){return k(a,2,b)},i7a=function(a,b){return k(a,3,b)};g=bt.prototype;g.getErrorType=function(){return bk(this,6,0)};g.setErrorType=function(a){return k(this,6,a)};g.getIdType=function(){return bk(this,8,0)};g.setIdType=function(a){k(this,8,a)};g.getResultIndex=function(){return gj(this,9,0)};
g.setResultIndex=function(a){k(this,9,a)};g.getToken=function(){return lk(this,10,"")};g.setToken=function(a){return k(this,10,a)};g.getCacheState=function(){return wk(this,W0,11)};g.setCacheState=function(a){return Ok(this,W0,11,a)};g.hasCacheState=function(){return sl(this,W0,11)};g.getQueryLength=function(){return Db(this,14)};g.setQueryLength=function(a){return k(this,14,a)};g.hasQueryLength=function(){return qm(this,14)};g.getItemCount=function(){return Db(this,15)};
g.setItemCount=function(a){return k(this,15,a)};g.hasItemCount=function(){return qm(this,15)};g.getLookupInfo=function(){return wk(this,ct,16)};g.setLookupInfo=function(a){return Ok(this,ct,16,a)};g.hasLookupInfo=function(){return sl(this,ct,16)};g.getQueryScope=function(){return Db(this,17)};g.setQueryScope=function(a){return k(this,17,a)};g.hasQueryScope=function(){return Sk(this,17)};var wtc=function(a,b){this.delegate_=a;this.trackers_=b};wtc.prototype.search=function(a){var b=this,c,d;return Ze(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),$e(e,2,3),af(e,b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:bf(e);c.stop();cf(e,0);break;case 2:throw d=df(e),b.trackers_.error(36,11).report(),d;}})};
wtc.prototype.lookup=function(a){var b=this,c,d;return Ze(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),$e(e,2,3),af(e,b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:bf(e);c.stop();cf(e,0);break;case 2:throw d=df(e),b.trackers_.error(37,11).report(),d;}})};var xtc=function(a,b){this.delegate_=a;this.trackers_=b};xtc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
xtc.prototype.warmUpCache=function(){var a=this,b,c;return Ze(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),$e(d,2,3),af(d,a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:bf(d);b.stop();cf(d,0);break;case 2:throw c=df(d),a.trackers_.error(35,11).report(),c;}})};xtc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var ytc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new qtc(e);this.index_=d1};g=ytc.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=d1};
g.fetch=function(a){var b=this,c,d;return Ze(function(e){switch(e.nextAddress){case 1:c=V0(new ut,!0).setProvenance(7).setCode(0);if(b.index_!=d1&&!b.adapter_.needsWarmUp())return e.return(V0(c,!1));$e(e,2);return af(e,b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;Au(e,3);break;case 2:return df(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new mt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=h1(this.ranker_,b,1);for(var c=m(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=i1(this.trieFactory_,a)};g.search=function(a){var b=this;this.adapter_.needsWarmUp()&&Promise.resolve().then(function(){return b.fetch(a)});return this.index_.search(a.getTerms()).getMatches(a.getCollector())};var k1=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};k1.prototype.getErrorType=function(){return this.errorType_};var l1=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=l1.prototype;g.getCacheType=function(){return this.delegate_.getCacheType()};g.flush=function(){try{this.delegate_.flush()}catch(a){throw this.trackers_.error(this.errorLabel_,15).report(),a;}};g.fetch=function(a){try{return this.delegate_.fetch(a)}catch(b){throw this.trackers_.error(this.errorLabel_,14).report(),b;}};
g.index=function(a,b,c){var d=this.trackers_.latency(this.indexingLabel_);d.start();try{this.delegate_.index(a,b,c)}catch(e){throw this.trackers_.error(this.errorLabel_,10).report(),e;}finally{d.stop()}};g.search=function(a){var b=this.trackers_.latency(this.searchLabel_);b.start();try{return this.delegate_.search(a)}catch(c){throw this.trackers_.error(this.errorLabel_,13).report(),c;}finally{b.stop()}};var ztc=function(){},Atc=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=m(c.getTargetList()),h=f.next();!h.done;h=f.next())h=O6a(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&Ds(d.id)&&(e=void 0,d.totalMemberCount=null!=(e=c.getTotalMemberCountOrUndefined())?e:void 0,d.memberKeys=c.getMemberList().map(function(l){for(var q=m(l.getTargetList()).next();!q.done;)return l=O6a(l,q.value,8),b.push(l),String(l.id)}))}return b},
Btc=function(a){a=a.getResultList();return Atc(a)};var Ctc=function(a){Y.call(this,a)};X(Ctc,Y);g=Ctc.prototype;g.setMaxResults=function(a){return k(this,1,a)};g.getQuery=function(){return lk(this,2,"")};g.setQuery=function(a){return k(this,2,a)};g.clearQuery=function(){Qu(this,2)};g.hasQuery=function(){return gm(this,2)};var Dtc=function(a,b){this.provider_=a;this.itemFactory_=b};Dtc.prototype.search=function(a,b){var c=this,d;return Ze(function(e){if(1==e.nextAddress)return 1>b?e.return([]):af(e,c.provider_.search((new Ctc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(Btc(d))})};Dtc.prototype.lookup=function(a){var b=this,c;return Ze(function(d){if(1==d.nextAddress)return a.length?af(d,b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(Btc(c))})};var Etc=function(a,b){this.provider_=a;this.itemFactory_=b};Etc.prototype.getPosition=function(){return this.provider_.getPosition()};Etc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};Etc.prototype.warmUpCache=function(){var a=this,b;return Ze(function(c){if(1==c.nextAddress)return af(c,a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(Btc(b))})};var Ftc=new k1(68,69,38);var Gtc=function(){};Gtc.prototype.processItem=function(){};var Htc=new Gtc;var S6a=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=S6a.prototype;g.getDisplayName=function(){return this.displayName_};g.setDisplayName=function(a){this.displayName_=a||"";return this};g.getGivenName=function(){return this.givenName_};g.setGivenName=function(a){this.givenName_=a||"";return this};g.getFamilyName=function(){return this.familyName_};g.setFamilyName=function(a){this.familyName_=a||"";return this};g.getSourceType=function(){return this.sourceType_};
g.setSourceType=function(a){this.sourceType_=a||0;return this};var Itc=function(){this.iconUrl_=this.altText_=""},V6a=function(a){var b=new Itc;b.altText_=a||"";return b};Itc.prototype.getIconUrl=function(){return this.iconUrl_};Itc.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var Jtc=function(a){this.delegate_=a};Jtc.prototype.processItem=function(a){a.target=X6a(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var Ktc=function(){};
Ktc.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,f=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var l=b.runtimeConfig_.customDataConfig_;if(l){b=b.getClient();var q=new ztc;var u=void 0===u?Htc:u;u=new Jtc(u);for(var x=[],y=m(l.staticDataProviders_.reverse()),G=y.next();!G.done;G=y.next()){var J=G=G.value;J=new xtc(J,c);J=new ytc(new Etc(J,q),u,f,d,b);J=new l1(J,c,Ftc);switch(G.getPosition()){case 1:x.push(J);break;case 2:h.push(J);break;default:throw Error("Ie");
}}x.length&&h.splice.apply(h,[0,0].concat(p(x)));l=m(l.dynamicDataProviders_);for(x=l.next();!x.done;x=l.next())y=x=x.value,y=new wtc(y,c),y=new rtc(new Dtc(y,q),u,f,d,b),y=new l1(y,c,Ftc),h.push(y),x=new wtc(x,c),a.push(new stc(new Dtc(x,q),u,e))}};var m1=function(a){Y.call(this,a,-1,Ltc)};X(m1,Y);m1.prototype.getEnableClearcut=function(){return xl(this,1,!1)};m1.prototype.setEnableClearcut=function(a){return k(this,1,a)};m1.prototype.getSocialApplication=function(){return bk(this,2,0)};m1.prototype.getSocialApplicationOrUndefined=function(){return rt(this,2)};var Ltc=[5,6];var n1=function(a){Y.call(this,a)};X(n1,Y);n1.prototype.getApplication=function(){return bk(this,1,0)};n1.prototype.setApplication=function(a){return k(this,1,a)};n1.prototype.getApplicationOrUndefined=function(){return rt(this,1)};n1.prototype.getIsEnabled=function(){return xl(this,2,!1)};var o1=function(a){Y.call(this,a)};X(o1,Y);o1.prototype.getApiKey=function(){return lk(this,1,"")};o1.prototype.setApiKey=function(a){return k(this,1,a)};var p1=function(a){Y.call(this,a,-1,Mtc)};X(p1,Y);p1.prototype.getClientId=function(){return lk(this,1,"CLIENT_UNSPECIFIED")};p1.prototype.setClientId=function(a){return k(this,1,a)};p1.prototype.getAffinityType=function(){return lk(this,4,"AFFINITY_TYPE_UNKNOWN")};p1.prototype.setAffinityType=function(a){return k(this,4,a)};var Mtc=[7,8];var Ntc=function(a){Y.call(this,a)};X(Ntc,Y);g=Ntc.prototype;g.getClient=function(){return wk(this,g1,1)};g.setClient=function(a){return Ok(this,g1,1,a)};g.hasClient=function(){return sl(this,g1,1)};g.getGapi=function(){return wk(this,o1,2)};g.getPeopleApi=function(){return wk(this,p1,3)};g.getClearcut=function(){return wk(this,m1,4)};g.setClearcut=function(a){Ok(this,m1,4,a)};g.hasClearcut=function(){return sl(this,m1,4)};g.getExperiments=function(){return wk(this,n1,5)};
g.setExperiments=function(a){Ok(this,n1,5,a)};g.hasExperiments=function(){return sl(this,n1,5)};var Otc=cc(Ntc);var Ptc;var Qtc=function(a){Y.call(this,a,1)};X(Qtc,Y);var Rtc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]},Stc=function(a){var b=new Rtc;b.dynamicDataProviders_=a;return b};var Ttc=function(a){Y.call(this,a)};X(Ttc,Y);var Vtc=function(a){Y.call(this,a,-1,Utc)};X(Vtc,Y);g=Vtc.prototype;g.getExperimentIdsList=function(){return ej(this,1)};g.setExperimentIdsList=function(a){return Lm(this,1,a)};g.getProfileId=function(){return Db(this,2)};g.getProfileId_legacyNullable=function(){return Db(this,2)};g.setProfileId=function(a){return k(this,2,a)};g.hasProfileId=function(){return gm(this,2)};var Utc=[1];var Wtc=function(){},Xtc=function(){return!1},Ytc=function(){this.experiments_=new Vtc;this.clientExperimentFlag_=new Ttc;this.peopleApiEnv_=4;this.delegatorId_="";this.onAuthError_=Wtc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=Xtc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};g=Ytc.prototype;g.getUserEmail=function(){return""};g.getDelegatorId=function(){return this.delegatorId_};g.getPeopleApiEnv=function(){return this.peopleApiEnv_};
g.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};g.getExperiments=function(){return this.experiments_};g.getClientExperimentFlag=function(){return this.clientExperimentFlag_};g.getAuthErrorHandler=function(){return this.onAuthError_};g.setClearcutUrl=function(a){this.clearcutUrl_=a};g.getClearcutUrl=function(){return this.clearcutUrl_};g.getApiKey=function(){return this.apiKey_};g.setApiKey=function(a){this.apiKey_=a;return this};var Ztc=function(a,b){a.customDataConfig_=b};var $tc=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new Ytc;a=this.getPeopleApi();ej(a,7,!1).length||Lm(a,7,[2,8,1,7,10,11]);ij(a,8).length||sk(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=m(ij(a,8));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":Kb(a,8,c+".metadata.verified")}};g=$tc.prototype;
g.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new g1);return this.delegate_.getClient()};g.getGapi=function(){if(!sl(this.delegate_,o1,2)){var a=this.delegate_,b=new o1;Ok(a,o1,2,b)}return this.delegate_.getGapi()};g.getPeopleApi=function(){if(!sl(this.delegate_,p1,3)){var a=this.delegate_,b=new p1;Ok(a,p1,3,b)}return this.delegate_.getPeopleApi()};g.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new m1);return this.delegate_.getClearcut()};
g.getClientExperimentFlag=function(){return this.runtimeConfig_.getClientExperimentFlag()};var auc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new n1);return a.delegate_.getExperiments()};$tc.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var buc=function(a){a=a.getClient();return gj(a,6,500)?Math.min(Math.round(gj(a,6,500)/4),500):500};var cuc;var pt=null;var duc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};duc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var q1=function(a){Y.call(this,a)};X(q1,Y);q1.prototype.getDescription=function(){return Db(this,6)};q1.prototype.setDescription=function(a){return k(this,6,a)};q1.prototype.hasDescription=function(){return gm(this,6)};var euc=function(a){Y.call(this,a)};X(euc,Y);var $s=function(a){Y.call(this,a,5)};X($s,Y);g=$s.prototype;g.getIsPlaceholder=function(){return at(this,2)};g.setIsPlaceholder=function(a){k(this,2,a)};g.getContactId=function(){return Db(this,4)};g.setContactId=function(a){k(this,4,a)};g.hasContactId=function(){return zm(this,4)};
var fuc={},guc=function(a){if(null!=a){ac(a);var b=wk(a,q1,1);if(null!=b){ac(b);var c=$b(Db(b,4));var d=$b(Db(b,1)),e=$b(Db(b,2)),f=$b(Db(b,3)),h=$b(Db(b,5)),l=$b(Db(b,6)),q=$b(Db(b,7));var u=wk(b,HBb,8);null!=u?(ac(u),b=wl(u,FBb,1,IBb),null!=b?(ac(b),b={}):b=void 0,u=wl(u,GBb,2,IBb),null!=u?(ac(u),u=u.getCustomerId(),null!=u?(ac(u),u={customerId:$b(Db(u,1))}):u=void 0,u={customerId:u}):u=void 0,b={consumerInfo:b,customerInfo:u}):b=void 0;c={entityType:c,presence:d,memberCount:e,avatarUrl:f,developerName:h,
description:l,dndState:q,organizationInfo:b}}else c=void 0;d=$b(at(a,2));e=wk(a,euc,3);null!=e?(ac(e),e={actorId:$b(Db(e,1)),subtitle:$b(Db(e,2))}):e=void 0;c={dynamiteExtendedData:c,isPlaceholder:d,paisaExtendedData:e,contactId:$b(Db(a,4))};Rba(a,c,fuc);return c}};var huc=Yb(417869898,{clientSpecificData:0},$s,guc);var iuc=function(a){Y.call(this,a)};X(iuc,Y);var juc=function(a){Y.call(this,a)};X(juc,Y);var r1=function(a){Y.call(this,a)};X(r1,Y);r1.prototype.getCode=function(){return Db(this,1)};r1.prototype.getCode_legacyNullable=function(){return Db(this,1)};r1.prototype.setCode=function(a){return k(this,1,a)};var s1=function(a){Y.call(this,a)};X(s1,Y);s1.prototype.getPhoneNumber=function(){return wk(this,juc,1)};s1.prototype.getType=function(){return Db(this,3)};s1.prototype.setType=function(a){return k(this,3,a)};s1.prototype.hasType=function(){return gm(this,3)};var kuc=function(a){Y.call(this,a)};X(kuc,Y);var t1=function(a){Y.call(this,a)};X(t1,Y);
var luc=function(a){if(null!=a){ac(a);var b=$b(Db(a,1));a=wk(a,kuc,2);if(null!=a){ac(a);a=wk(a,s1,1);if(null!=a){ac(a);var c=a.getPhoneNumber();if(null!=c){ac(c);var d=$b(Db(c,1));c=wk(c,iuc,2);null!=c?(ac(c),c={nationalNumber:$b(Db(c,1)),internationalNumber:$b(Db(c,2)),countryCode:$b(Db(c,3)),regionCode:$b(Db(c,4)),isValid:$b(at(c,5)),validationResult:$b(Db(c,6))}):c=void 0;d={e164:d,i18nData:c}}else d=void 0;c=wk(a,r1,2);null!=c?(ac(c),c={code:$b(Db(c,1)),countryCode:$b(Db(c,2))}):c=void 0;a={phoneNumber:d,
shortCode:c,type:$b(Db(a,3)),formattedType:$b(Db(a,4))}}else a=void 0;a={structuredPhone:a}}else a=void 0;return{grammaticalGender:b,phoneExtendedData:a}}};var muc=Yb(417866180,{peopleStackFieldData:0},t1,luc);var nuc=function(a){Y.call(this,a)};X(nuc,Y);g=nuc.prototype;g.getIdCase=function(){return pk(this,u1)};g.getProfileId=function(){return Wj(this,1,u1)};g.setProfileId=function(a){return Zj(this,1,u1,a)};g.hasProfileId=function(){return null!=ht(this,1,u1)};g.getEmail=function(){return Wj(this,2,u1)};g.setEmail=function(a){return Zj(this,2,u1,a)};g.hasEmail=function(){return null!=ht(this,2,u1)};g.getPhone=function(){return Wj(this,3,u1)};g.setPhone=function(a){return Zj(this,3,u1,a)};
g.hasPhone=function(){return null!=ht(this,3,u1)};var u1=[1,2,3],ouc=function(a){if(null!=a)return ac(a),{profileId:$b(ht(a,1,u1)),email:$b(ht(a,2,u1)),phone:$b(ht(a,3,u1))}};var v1=function(a){Y.call(this,a,-1,puc)};X(v1,Y);v1.prototype.getHiddenKeysList=function(){return fj(this,nuc,3)};var puc=[3],quc=function(a){if(null!=a)return ac(a),{hideType:$b(Db(a,1)),hiddenKeysList:Zb(a.getHiddenKeysList(),ouc),familyStatus:$b(Db(a,2)),birthdayStatus:$b(Db(a,4))}};var ruc=Yb(417869137,{peopleStackPersonData:0},v1,quc);var suc=function(a){a=null==a?"":String(a);for(var b=0,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a.codePointAt(c);return b},g7a=function(a){if(!a)return 0;a=Array.from(a).map(suc);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var Y6a=new Map([["CONTACT_GROUP",9],["FAMILY",11],["MEDIA_COLLECTION",10],["CHAT",12],["GROUP_DM",12],["ROOM",13],["DYNAMITE_ROOM",13],["DYNAMITE_NAMED_ROOM",13],["DYNAMITE_UNNAMED_ROOM",14],["DYNAMITE_CLASSIC_NAMED_ROOM",15],["DYNAMITE_CLASSIC_UNNAMED_ROOM",16]]);var w1=function(a){Y.call(this,a)};X(w1,Y);g=w1.prototype;g.getLoggingId=function(){return ft(this,1)};g.setLoggingId=function(a){k(this,1,qb(a,!1,!1))};g.getValue=function(){return $t(this,2)};g.getValue_legacyNullable=function(){return $t(this,2)};g.setValue=function(a){return k(this,2,tb(a))};g.hasValue=function(){return null!=$t(this,2)};var tuc=function(a){if(null!=a)return ac(a),{loggingId:Tba(a.getLoggingId()),value:$b($t(a,2))}};var x1=function(a){Y.call(this,a)};X(x1,Y);g=x1.prototype;g.getValue=function(){return Db(this,1)};g.getValue_legacyNullable=function(){return Db(this,1)};g.setValue=function(a){return k(this,1,a)};g.hasValue=function(){return gm(this,1)};g.getGivenName=function(){return Db(this,2)};g.setGivenName=function(a){return k(this,2,a)};g.hasGivenName=function(){return gm(this,2)};g.getFamilyName=function(){return Db(this,3)};g.setFamilyName=function(a){return k(this,3,a)};
g.hasFamilyName=function(){return gm(this,3)};g.getSourceType=function(){return Db(this,4)};g.setSourceType=function(a){return k(this,4,a)};var y1=function(a){Y.call(this,a)};X(y1,Y);g=y1.prototype;g.getUrl=function(){return Db(this,1)};g.setUrl=function(a){return k(this,1,a)};g.hasUrl=function(){return gm(this,1)};g.getType=function(){return Db(this,2)};g.setType=function(a){return k(this,2,a)};g.hasType=function(){return Sk(this,2)};g.getGlyph=function(){return Db(this,3)};g.setGlyph=function(a){return k(this,3,a)};var z1=function(a){Y.call(this,a)};X(z1,Y);g=z1.prototype;g.getPhoto=function(){return wk(this,y1,1)};g.setPhoto=function(a){Ok(this,y1,1,a)};g.hasPhoto=function(){return sl(this,y1,1)};g.getName=function(){return wk(this,x1,2)};g.setName=function(a){return Ok(this,x1,2,a)};g.hasName=function(){return sl(this,x1,2)};g.getAffinity=function(){return wk(this,w1,3)};g.hasAffinity=function(){return sl(this,w1,3)};g.getPrimary=function(){return at(this,4)};
var uuc=function(a){if(null!=a){ac(a);var b=a.getPhoto();null!=b?(ac(b),b={url:$b(Db(b,1)),type:$b(Db(b,2)),glyph:$b(Db(b,3))}):b=void 0;var c=a.getName();null!=c?(ac(c),c={value:$b(Db(c,1)),givenName:$b(Db(c,2)),familyName:$b(Db(c,3)),sourceType:$b(Db(c,4))}):c=void 0;return{photo:b,name:c,affinity:tuc(a.getAffinity()),primary:$b(at(a,4))}}};var A1=function(a){Y.call(this,a)};X(A1,Y);A1.prototype.getStatus=function(){return Db(this,2)};A1.prototype.setStatus=function(a){return k(this,2,a)};A1.prototype.hasStatus=function(){return Sk(this,2)};var vuc=function(a){if(null!=a)return ac(a),{expirationTimestampSeconds:$b(Db(a,1)),status:$b(Db(a,2)),configurationName:$b(Db(a,3))}};var B1=function(a){Y.call(this,a)};X(B1,Y);var r7a=function(a){Y.call(this,a)};X(r7a,Y);r7a.prototype.getState=function(){return Db(this,2)};var wuc=function(a){if(null!=a)return ac(a),{contextType:$b(Db(a,1)),state:$b(Db(a,2))}};var C1=function(a){Y.call(this,a,-1,xuc)};X(C1,Y);C1.prototype.getApplication=function(){return bk(this,1,0)};C1.prototype.setApplication=function(a){return k(this,1,a)};C1.prototype.getApplicationOrUndefined=function(){return rt(this,1)};var xuc=[2];var D1=function(a){Y.call(this,a,-1,yuc)};X(D1,Y);D1.prototype.getValue=function(){return Db(this,1)};D1.prototype.getValue_legacyNullable=function(){return Db(this,1)};D1.prototype.setValue=function(a){return k(this,1,a)};D1.prototype.hasValue=function(){return gm(this,1)};var yuc=[2];var Vs=function(a){Y.call(this,a)};X(Vs,Y);g=Vs.prototype;g.getProfileId=function(){return Db(this,1)};g.getProfileId_legacyNullable=function(){return Db(this,1)};g.setProfileId=function(a){return k(this,1,a)};g.hasProfileId=function(){return gm(this,1)};g.getEmail=function(){return ht(this,2,Ys)};g.getEmail_legacyNullable=function(){return ht(this,2,Ys)};g.setEmail=function(a){return Zj(this,2,Ys,a)};g.hasEmail=function(){return null!=ht(this,2,Ys)};g.getPhone=function(){return ht(this,3,Ys)};
g.getPhone_legacyNullable=function(){return ht(this,3,Ys)};g.setPhone=function(a){return Zj(this,3,Ys,a)};g.hasPhone=function(){return null!=ht(this,3,Ys)};var Ys=[2,3];var E1=function(a){Y.call(this,a)};X(E1,Y);E1.prototype.getDisplayValue=function(){return Db(this,1)};E1.prototype.getOriginalValue=function(){return Db(this,3)};var zuc=function(a){Y.call(this,a)};X(zuc,Y);g=zuc.prototype;g.getIdCase=function(){return pk(this,F1)};g.getProfileId=function(){return ht(this,1,F1)};g.getProfileId_legacyNullable=function(){return ht(this,1,F1)};g.setProfileId=function(a){return Zj(this,1,F1,a)};g.hasProfileId=function(){return null!=ht(this,1,F1)};g.getContactId=function(){return ht(this,2,F1)};g.setContactId=function(a){Zj(this,2,F1,a)};g.hasContactId=function(){return null!=ht(this,2,F1)};
var F1=[1,2],Auc=function(a){if(null!=a)return ac(a),{profileId:$b(ht(a,1,F1)),contactId:$b(ht(a,2,F1))}};var G1=function(a){Y.call(this,a,-1,Buc)};X(G1,Y);g=G1.prototype;g.getValueCase=function(){return pk(this,Ws)};g.getDisplayInfo=function(){return wk(this,z1,1)};g.hasDisplayInfo=function(){return sl(this,z1,1)};g.getEmail=function(){return wl(this,D1,2,Ws)};g.setEmail=function(a){return am(this,2,Ws,a)};g.hasEmail=function(){return ul(this,D1,2,Ws)};g.getPhone=function(){return wl(this,E1,3,Ws)};g.setPhone=function(a){return am(this,3,Ws,a)};g.hasPhone=function(){return ul(this,E1,3,Ws)};
g.getIsSelf=function(){return at(this,6)};g.getTypeLabel=function(){return Db(this,10)};
var Buc=[5],Ws=[2,3,4],Cuc=function(a){if(null!=a){ac(a);var b=uuc(a.getDisplayInfo());var c=a.getEmail();if(null!=c){ac(c);var d=$b(Db(c,1));var e=Zb(fj(c,A1,2),vuc);var f=wk(c,B1,3);null!=f?(ac(f),f={smtpServerSupportsTls:$b(at(f,1)),usesConfusingCharacters:$b(at(f,2))}):f=void 0;c=wk(c,C1,4);null!=c?(ac(c),c={application:bk(c,1,0),stateStatusList:Zb(fj(c,r7a,2),wuc)}):c=void 0;d={value:d,certificatesList:e,securityInfo:f,internalExternal:c}}else d=void 0;e=a.getPhone();null!=e?(ac(e),e={displayValue:$b(Db(e,
1)),canonicalValue:$b(Db(e,2)),originalValue:$b(Db(e,3))}):e=void 0;c=wl(a,Vs,4,Ws);null!=c?(ac(c),c={profileId:$b(Db(c,1)),email:$b(ht(c,2,Ys)),phone:$b(ht(c,3,Ys))}):c=void 0;return{displayInfo:b,email:d,phone:e,inAppTarget:c,sourceIdsList:Zb(fj(a,zuc,5),Auc),isSelf:$b(at(a,6)),isGoogleGroup:$b(at(a,7)),isPersonal:$b(at(a,8)),peopleStackFieldExtendedData:luc(wk(a,t1,9)),typeLabel:$b(Db(a,10)),isBlocked:$b(at(a,11))}}};var H1=function(a){Y.call(this,a,-1,Duc)};X(H1,Y);H1.prototype.getDisplayInfo=function(){return wk(this,z1,1)};H1.prototype.hasDisplayInfo=function(){return sl(this,z1,1)};H1.prototype.getMembersList=function(){return fj(this,G1,2)};H1.prototype.getLabelId=function(){return Db(this,3)};var Duc=[2];var Fuc=function(a){Y.call(this,a,-1,Euc)};X(Fuc,Y);Fuc.prototype.getHiddenKeysList=function(){return fj(this,nuc,3)};var Euc=[3];var I1=function(a){Y.call(this,a,-1,Guc)};X(I1,Y);I1.prototype.getAffinity=function(){return wk(this,w1,2)};I1.prototype.hasAffinity=function(){return sl(this,w1,2)};
var Guc=[1],Huc=function(a){if(null!=a){ac(a);var b=tuc(a.getAffinity()),c=Zb(fj(a,G1,1),Cuc),d=guc(wk(a,$s,3));var e=wk(a,Fuc,4);null!=e?(ac(e),e={hideType:$b(Db(e,1)),hiddenKeysList:Zb(e.getHiddenKeysList(),ouc),familyStatus:$b(Db(e,2))}):e=void 0;return{affinity:b,contactMethodsList:c,clientSpecificData:d,peopleStackExtendedData:e,peopleStackPersonExtendedData:quc(wk(a,v1,5))}}};var Juc=function(a){Y.call(this,a,-1,Iuc)};X(Juc,Y);Juc.prototype.getOwnersList=function(){return fj(this,I1,2)};var Iuc=[2];var z7a=function(a){Y.call(this,a)};X(z7a,Y);z7a.prototype.getIdCase=function(){return pk(this,A7a)};var A7a=[1],Kuc=function(a){if(null!=a)return ac(a),{rosterEmail:$b(ht(a,1,A7a))}};var Luc=function(a){Y.call(this,a)};X(Luc,Y);var J1=function(a){Y.call(this,a,-1,Muc)};X(J1,Y);g=J1.prototype;g.getDisplayInfo=function(){return wk(this,z1,1)};g.hasDisplayInfo=function(){return sl(this,z1,1)};g.getMembersList=function(){return fj(this,I1,2)};g.getGroupId=function(){return Db(this,4)};g.setGroupId=function(a){k(this,4,a)};g.hasGroupId=function(){return gm(this,4)};var Muc=[2,6];var K1=function(a){Y.call(this,a)};X(K1,Y);K1.prototype.getGroup=function(){return wl(this,J1,2,L1)};K1.prototype.setGroup=function(a){am(this,2,L1,a)};
var L1=[1,2,3],Nuc=function(a){if(null!=a){ac(a);var b=Huc(wl(a,I1,1,L1));var c=a.getGroup();if(null!=c){ac(c);var d=uuc(c.getDisplayInfo());var e=Zb(c.getMembersList(),Huc),f=$b(Db(c,3)),h=$b(Db(c,4)),l=$b(Db(c,5)),q=Zb(fj(c,z7a,6),Kuc);var u=wk(c,Luc,7);null!=u?(ac(u),u=wk(u,cj,1),null!=u?(ac(u),u={seconds:Tk(u,1),nanos:gj(u,2)}):u=void 0,u={endtimeUtc:u}):u=void 0;c=wk(c,Juc,8);null!=c?(ac(c),c={creator:Huc(wk(c,I1,1)),ownersList:Zb(c.getOwnersList(),Huc)}):c=void 0;d={displayInfo:d,membersList:e,
fullGroupSize:f,groupId:h,groupType:l,groupAlternateIdList:q,groupEndtime:u,groupAdministration:c}}else d=void 0;a=wl(a,H1,3,L1);null!=a?(ac(a),a={displayInfo:uuc(a.getDisplayInfo()),membersList:Zb(a.getMembersList(),Cuc),labelId:$b(Db(a,3))}):a=void 0;return{person:b,group:d,contactLabel:a}}};var et=function(a){Y.call(this,a)};X(et,Y);g=et.prototype;g.getIdCase=function(){return pk(this,M1)};g.getEmail=function(){return ht(this,1,M1)};g.getEmail_legacyNullable=function(){return ht(this,1,M1)};g.setEmail=function(a){return Zj(this,1,M1,a)};g.hasEmail=function(){return null!=ht(this,1,M1)};g.getPhone=function(){return ht(this,2,M1)};g.getPhone_legacyNullable=function(){return ht(this,2,M1)};g.setPhone=function(a){return Zj(this,2,M1,a)};g.hasPhone=function(){return null!=ht(this,2,M1)};
g.getProfileId=function(){return ht(this,3,M1)};g.getProfileId_legacyNullable=function(){return ht(this,3,M1)};g.setProfileId=function(a){return Zj(this,3,M1,a)};g.hasProfileId=function(){return null!=ht(this,3,M1)};var M1=[1,2,3];var Ouc=function(a){Y.call(this,a)};X(Ouc,Y);var Puc=function(a){if(null!=a)return ac(a),{featureType:bk(a,1,0),weight:Uk(a,2,0),exponent:Uk(a,3,1)}};var N1=function(a){Y.call(this,a,-1,Quc)};X(N1,Y);g=N1.prototype;g.getAffinityVersion=function(){return Db(this,1)};g.setAffinityVersion=function(a){k(this,1,a)};g.getAffinityVersionOrUndefined=function(){return Ru(this,1)};g.getAffinityType=function(){return Db(this,4)};g.setAffinityType=function(a){return k(this,4,a)};var Quc=[3];var O1=function(a){Y.call(this,a,-1,Ruc)};X(O1,Y);var Suc=dc(O1),Ruc=[1];var Tuc=function(a){Y.call(this,a)};X(Tuc,Y);Tuc.prototype.getId=function(){return wk(this,et,1)};Tuc.prototype.setId=function(a){return Ok(this,et,1,a)};var Uuc=[2,3];var Wuc=function(a){Y.call(this,a,-1,Vuc)};X(Wuc,Y);var Xuc=dc(Wuc),Vuc=[1];var Yuc=function(a){this.leanResponseProcessorConfig_=a},$uc=function(a,b,c,d){d=void 0===d?!1:d;var e=[],f=void 0,h=void 0;wk(b,$s,3)&&(f=f?f:new Q_,Vu(f,huc,wk(b,$s,3)));wk(b,v1,5)&&(f=f?f:new Q_,Vu(f,ruc,wk(b,v1,5)));var l=[],q=a.leanResponseProcessorConfig_,u=q.allowEmptyTargets;q=q.enableHexContactId;for(var x=m(fj(b,G1,1)),y=x.next();!y.done;y=x.next()){y=y.value;var G=b7a(y);if(G.equals(Zs)){if(!u&&!d)continue;var J=h7a(y);if(!J)continue;G=M6a(J)}l.push(String(G));wk(y,t1,9)&&(h=h?h:new Q_,
Vu(h,muc,wk(y,t1,9)));var M=J=void 0;G={id:G,containerIds:Zuc(a,y),coalescedKeys:l,isMe:!!y.getIsSelf(),dataSource:c7a(b,y),provenance:c,isPrimary:f7a(null!=(J=y.getDisplayInfo())?J:null),itemAffinity:e7a(b),fieldAffinity:d7a(null!=(M=y.getDisplayInfo())?M:null),contactMethod:y,person:b};!q&&sl(b,$s,3)&&wk(b,$s,3).hasContactId()&&G.containerIds.push(L6a(String(wk(b,$s,3).getContactId())));f&&(G.resultExtendedData=f);h&&(G.targetExtendedData=h);e.push(G)}e.length&&e.every(function(V){return!V.isPrimary})&&
(e[0].isPrimary=!0);return e},avc=function(a,b,c){var d=Rs(Z6a(Db(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return $uc(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,l;d=[{id:d,containerIds:[d],memberKeys:f,totalMemberCount:null!=(h=Ru(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:d7a(null!=(l=b.getDisplayInfo())?l:null),fieldAffinity:-Infinity,group:b}];b=m(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,p(c.value));
return d},bvc=function(a,b,c){var d=ipc(b.getLabelId()||""),e=b.getMembersList().map(function(l){if(l.hasEmail()&&l.getEmail().getValue()){var q=void 0;if(wk(l,t1,9)){var u;q=Vu(new Q_,muc,null!=(u=wk(l,t1,9))?u:null)}var x,y;u={id:Us(l.getEmail().getValue()),containerIds:Zuc(a,l),contactMethod:l,provenance:8,isMe:!1,dataSource:1,isPrimary:f7a(null!=(x=l.getDisplayInfo())?x:null),itemAffinity:-Infinity,fieldAffinity:d7a(null!=(y=l.getDisplayInfo())?y:null)};q&&(u.targetExtendedData=q);l=u}else l=
null;return l}).filter(Boolean),f=e.map(function(l){return String(l.id)}),h;return[{id:d,containerIds:[d],memberKeys:f,totalMemberCount:e.length,provenance:c,dataSource:1,isPrimary:!0,itemAffinity:d7a(null!=(h=b.getDisplayInfo())?h:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:b}].concat(p(e))},Zuc=function(a,b){var c=a.leanResponseProcessorConfig_.enableHexContactId;return fj(b,zuc,5).map(function(d){switch(d.getIdCase()){case 1:return K6a(d.getProfileId()||"");case 2:return c?L6a(d.getContactId()||
""):null;default:return null}}).filter(Boolean)},cvc=function(a,b,c){switch(pk(b,L1)){case 1:return $uc(a,wl(b,I1,1,L1),c);case 2:return avc(a,b.getGroup(),c);case 3:return bvc(a,wl(b,H1,3,L1),c);default:return[]}},dvc=function(a,b,c){return fj(b,K1,1).flatMap(function(d){return cvc(a,d,c)})};var k7a=new Map([[0,1],[1,2],[2,3],[3,4]]);var evc=function(a){Y.call(this,a)};X(evc,Y);g=evc.prototype;g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return Sk(this,1)};g.getItemCount=function(){return Db(this,2)};g.setItemCount=function(a){return k(this,2,a)};g.hasItemCount=function(){return qm(this,2)};g.getLookupInfo=function(){return wk(this,ct,3)};g.setLookupInfo=function(a){return Ok(this,ct,3,a)};g.hasLookupInfo=function(){return sl(this,ct,3)};
g.getQueryLength=function(){return Db(this,4)};g.setQueryLength=function(a){return k(this,4,a)};g.hasQueryLength=function(){return qm(this,4)};g.getQueryScope=function(){return bk(this,5,0)};g.setQueryScope=function(a){return k(this,5,a)};g.hasQueryScope=function(){return Sk(this,5)};var fvc=function(a){Y.call(this,a)};X(fvc,Y);g=fvc.prototype;g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return Sk(this,1)};g.getStatus=function(){return Db(this,2)};g.setStatus=function(a){return k(this,2,a)};g.hasStatus=function(){return Sk(this,2)};g.setLatencyUsec=function(a){k(this,3,a)};g.getResultIndex=function(){return Db(this,4)};g.setResultIndex=function(a){k(this,4,a)};g.getDataSource=function(){return Db(this,7)};
g.setDataSource=function(a){return k(this,7,a)};g.hasDataSource=function(){return Sk(this,7)};g.getItemCount=function(){return Db(this,8)};g.setItemCount=function(a){return k(this,8,a)};g.hasItemCount=function(){return qm(this,8)};g.getLookupInfo=function(){return wk(this,ct,10)};g.setLookupInfo=function(a){return Ok(this,ct,10,a)};g.hasLookupInfo=function(){return sl(this,ct,10)};g.setStatusCode=function(a){k(this,11,a)};g.getQueryLength=function(){return Db(this,13)};
g.setQueryLength=function(a){return k(this,13,a)};g.hasQueryLength=function(){return qm(this,13)};g.getQueryScope=function(){return bk(this,14,0)};g.setQueryScope=function(a){return k(this,14,a)};g.hasQueryScope=function(){return Sk(this,14)};var gvc=function(a){Y.call(this,a)};X(gvc,Y);var P1=function(a){Y.call(this,a)};X(P1,Y);g=P1.prototype;g.getDataSource=function(){return Db(this,3)};g.setDataSource=function(a){return k(this,3,a)};g.hasDataSource=function(){return Sk(this,3)};g.getType=function(){return Db(this,4)};g.setType=function(a){return k(this,4,a)};g.hasType=function(){return Sk(this,4)};g.getValue=function(){return Tk(this,2,1)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return zm(this,2)};g.getLabel=function(){return Db(this,1)};
g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return gm(this,1)};var Q1=function(a){Y.call(this,a)};X(Q1,Y);g=Q1.prototype;g.setStatusCode=function(a){k(this,5,a)};g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return gm(this,1)};g.getCause=function(){return Db(this,2)};g.getType=function(){return Db(this,3)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return Sk(this,3)};var R1=function(a){Y.call(this,a)};X(R1,Y);g=R1.prototype;g.getType=function(){return Db(this,3)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return Sk(this,3)};g.setLatencyUsec=function(a){k(this,2,a)};g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return gm(this,1)};var S1=function(a){Y.call(this,a)};X(S1,Y);S1.prototype.getLabel=function(){return Db(this,1)};S1.prototype.setLabel=function(a){return k(this,1,a)};S1.prototype.hasLabel=function(){return Sk(this,1)};var hvc=function(a){Y.call(this,a)};X(hvc,Y);g=hvc.prototype;g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return Sk(this,1)};g.getStatus=function(){return Db(this,2)};g.setStatus=function(a){return k(this,2,a)};g.hasStatus=function(){return Sk(this,2)};g.setLatencyUsec=function(a){k(this,3,a)};g.getErrorCode=function(){return Db(this,4)};g.hasErrorCode=function(){return zm(this,4)};g.setStatusCode=function(a){k(this,7,a)};
g.setBlockedUsec=function(a){return k(this,8,a)};var T1=function(a){Y.call(this,a)};X(T1,Y);g=T1.prototype;g.getClientInterface=function(){return wk(this,vV,1)};g.setClientInterface=function(a){return Ok(this,vV,1,a)};g.getEventType=function(){return Db(this,3)};g.getEventType_legacyNullable=function(){return Db(this,3)};g.setEventType=function(a){return k(this,3,a)};g.getCacheStatus=function(){return wk(this,gvc,12)};g.setCacheStatus=function(a){return Ok(this,gvc,12,a)};g.getCount=function(){return wk(this,P1,4)};
g.setCount=function(a){return Ok(this,P1,4,a)};g.getLatency=function(){return wk(this,R1,5)};g.setLatency=function(a){return Ok(this,R1,5,a)};g.getError=function(){return wk(this,Q1,6)};g.setError=function(a){Ok(this,Q1,6,a)};g.hasError=function(){return sl(this,Q1,6)};g.setRpcRequest=function(a){return Ok(this,S1,7,a)};g.setRpcResponse=function(a){return Ok(this,hvc,8,a)};g.setApiCall=function(a){return Ok(this,evc,9,a)};g.setApiResult=function(a){return Ok(this,fvc,10,a)};var U1=function(a){Y.call(this,a)};X(U1,Y);U1.prototype.setDevice=function(a){return k(this,1,a)};var ivc=function(a){Y.call(this,a)};X(ivc,Y);g=ivc.prototype;g.getAffinityType=function(){return Db(this,1)};g.setAffinityType=function(a){return k(this,1,a)};g.getQuery=function(){return Db(this,2)};g.setQuery=function(a){return k(this,2,a)};g.clearQuery=function(){Qu(this,2)};g.hasQuery=function(){return gm(this,2)};g.setClientInformation=function(a){Ok(this,U1,3,a)};g.setMaxResults=function(a){return k(this,4,a)};var jvc=new DD("/peoplestack.PeopleStackAutocompleteService/Autocomplete",ivc,O1,function(a){return a.serialize()},Suc);var kvc=function(a){Y.call(this,a)};X(kvc,Y);g=kvc.prototype;g.getAffinityType=function(){return Db(this,1)};g.setAffinityType=function(a){return k(this,1,a)};g.setClientInformation=function(a){Ok(this,U1,2,a)};g.getName=function(){return Db(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return gm(this,3)};g.getNameOrUndefined=function(){return Uu(this,3)};var V1=function(a){Y.call(this,a)};X(V1,Y);V1.prototype.getGroup=function(){return wk(this,J1,1)};V1.prototype.setGroup=function(a){Ok(this,J1,1,a)};var lvc=new DD("/peoplestack.PeopleStackAutocompleteService/CreateGroup",kvc,V1,function(a){return a.serialize()},dc(V1));var W1=function(a){Y.call(this,a,-1,mvc)};X(W1,Y);W1.prototype.getAffinityType=function(){return Db(this,1)};W1.prototype.setAffinityType=function(a){return k(this,1,a)};W1.prototype.setClientInformation=function(a){Ok(this,U1,2,a)};W1.prototype.setIdsList=function(a){Sb(this,3,a)};var mvc=[3];var nvc=new DD("/peoplestack.PeopleStackAutocompleteService/Lookup",W1,Wuc,function(a){return a.serialize()},Xuc);var X1=function(a){Y.call(this,a)};X(X1,Y);X1.prototype.getAffinityType=function(){return Db(this,1)};X1.prototype.setAffinityType=function(a){return k(this,1,a)};X1.prototype.setClientInformation=function(a){Ok(this,U1,2,a)};var ovc=function(a){Y.call(this,a)};X(ovc,Y);var pvc=new DD("/peoplestack.PeopleStackAutocompleteService/Warmup",X1,ovc,function(a){return a.serialize()},dc(ovc));var qvc=function(a){var b={unaryInterceptors:[new yqc]};b=b||{};b.format="jspb";this.client_=new eE(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};qvc.prototype.autocomplete=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},jvc)};qvc.prototype.lookup=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},nvc)};
qvc.prototype.createGroup=function(a,b){return fE(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},lvc)};var Y1=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=j7a(e):(a=new bt,i7a(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=bk(c.getPeopleApi(),5,0);this.searchMaxResults_=gj(c.getClient(),2,10);this.cacheSize_=c.getClient().getCacheSize()};Y1.prototype.getMetric=function(){return this.trackers_.rpc(this.sourceInfo_)};
Y1.prototype.send=function(a){var b=new ivc;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new U1).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};Y1.prototype.processResponse=function(a){var b=dvc(this.leanResponseProcessor_,a,this.provenance_),c=new mt;sl(a,N1,2)&&c.setAffinityVersion(wk(a,N1,2).getAffinityVersion());return{data:b,metadata:c}};Y1.prototype.close=function(){};var Z1=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new bt;i7a(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=bk(c.getPeopleApi(),5,0)};Z1.prototype.getMetric=function(){return this.trackers_.rpc(this.sourceInfo_)};
Z1.prototype.send=function(a){var b=this,c=new W1;c.setAffinityType(this.affinity_).setClientInformation((new U1).setDevice(1));c.setIdsList(this.keys_.map(function(d){return q7a(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
Z1.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=m(fj(a,Tuc,1));for(var e=a.next();!e.done;e=a.next())if(e=e.value,ul(e,K1,2,Uuc)){var f=cvc(b,wl(e,K1,2,Uuc),c);switch(e.getId().getIdCase()){case 1:d.set(e.getId().getEmail_legacyNullable(),f);break;case 2:d.set(e.getId().getPhone_legacyNullable(),f);break;case 3:d.set(e.getId().getProfileId_legacyNullable(),f)}}return{data:d,metadata:new mt}};Z1.prototype.close=function(){};var rvc=function(a){Y.call(this,a)};X(rvc,Y);var svc=Yb(342338249,{leanOfflineData:0},rvc,function(a){if(null!=a){ac(a);var b=wk(a,O1,1);null!=b?(ac(b),a=Zb(fj(b,K1,1),Nuc),b=wk(b,N1,2),null!=b?(ac(b),b={affinityVersion:$b(Db(b,1)),affinityThreshold:$b($t(b,2)),featureList:Zb(fj(b,Ouc,3),Puc),affinityType:$b(Db(b,4))}):b=void 0,a={resultsList:a,affinityResponseContext:b}):a=void 0;return{leanAutocomplete:a}}});var tvc=function(){};tvc.prototype.write=function(a,b){var c=new rvc;b=Ok(c,O1,1,b);Vu(a,svc,b)};tvc.prototype.read=function(a){return(a=a.getExtension(svc))?wk(a,O1,1):null};var a2=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=j7a("");this.trackers_=c;this.affinity_=bk(b.getPeopleApi(),5,0)};a2.prototype.getMetric=function(){return this.trackers_.rpc(this.sourceInfo_)};a2.prototype.send=function(a){var b=new X1;b.setAffinityType(this.affinity_).setClientInformation((new U1).setDevice(1));var c=this.grpcClient_;return fE(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},pvc)};
a2.prototype.processResponse=function(){return{data:[],metadata:new mt}};a2.prototype.close=function(){};var uvc=new fPb;var b2=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};b2.prototype.send=function(a){var b=this;return Ze(function(c){return b.runtimeConfig_.isOffline_()?c.return(uvc):c.return(b.delegate_.send(a))})};b2.prototype.getMetric=function(){return this.delegate_.getMetric()};b2.prototype.processResponse=function(a){return a===uvc?this.offlineResponse_:this.delegate_.processResponse(a)};b2.prototype.close=function(a){this.delegate_.close(a)};
var vvc={data:[],metadata:k(new mt,5,!0).setCode(14)},wvc={data:new Map,metadata:k(new mt,5,!0).setCode(14)};k(new mt,5,!0).setCode(14);k(new mt,5,!0).setCode(14);var xvc=function(a){Y.call(this,a)};X(xvc,Y);g=xvc.prototype;g.getTimestamp=function(){return Tk(this,1)};g.setTimestamp=function(a){return k(this,1,a)};g.hasTimestamp=function(){return zm(this,1)};g.getOwner=function(){return lk(this,2)};g.setOwner=function(a){return k(this,2,a)};var yvc=Yb(342656659,{metadata:0},xvc,function(a){if(null!=a)return ac(a),{timestamp:$b(Db(a,1)),owner:$b(Db(a,2))}});var c2=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};c2.prototype.store_=function(a,b){var c=new Qtc;Vu(c,yvc,(new xvc).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var zvc=function(a){var b,c;return Ze(function(d){if(1==d.nextAddress)return $e(d,2),af(d,a.offlineStorage_.fetch(),4);if(2!=d.nextAddress){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(yvc);c=a.offlineMetadata_?kpc(a.offlineMetadata_.getOwner()):Zs;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}df(d);return d.return(null)})};
c2.prototype.send=function(a){var b=this,c,d,e,f,h;return Ze(function(l){switch(l.nextAddress){case 1:return $e(l,2),af(l,b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==uvc){l.jumpTo(5);break}return af(l,zvc(b),6);case 6:return e=l.yieldResult,l.return(e||uvc);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return f=df(l),af(l,zvc(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(f))}})};
c2.prototype.getMetric=function(){return this.delegate_.getMetric()};c2.prototype.processResponse=function(a){a=this.delegate_.processResponse(a);if(!a||!this.offlineMetadata_||!this.offlineMetadata_.hasTimestamp())return a;a.metadata.setTimestamp(this.offlineMetadata_.getTimestamp());return a};c2.prototype.close=function(a){this.delegate_.close(a)};var Avc=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?lk(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new zqc(b);b=CRa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new qvc(b);this.offlineDataTransformer_=
new tvc;b=xl(a.getClient(),22,!1);var c;a=null==(c=a.getClientExperimentFlag())?void 0:xl(c,1,!1);this.leanResponseProcessor_=new Yuc({allowEmptyTargets:b,enableHexContactId:a})};g=Avc.prototype;
g.loadRankedItems=function(){var a=new Y1(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new b2(a,this.config_.runtimeConfig_,vvc);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Us(e),b=gj(b.getPeopleApi(),14,5E3),a=new c2(a,d,c,e,b))}return h0(this.dispatcher_,a)};
g.warmUpServer=function(){var a=new a2(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new b2(a,this.config_.runtimeConfig_,vvc);return h0(this.dispatcher_,a)};g.loadAutocompleteItems=function(a){a=a.getPrefix();a=new Y1(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a);a=new b2(a,this.config_.runtimeConfig_,vvc);return h0(this.dispatcher_,a)};
g.loadLookupItems=function(a,b){a=new Z1(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new b2(a,this.config_.runtimeConfig_,wvc);return h0(this.dispatcher_,a)};g.loadContactItems=function(){};var s7a=new Map([[1,1],[2,2]]);var v7a=new Map([[3,3],[1,2],[2,1]]),Bvc=new Map([[2,1],[4,2],[3,3],[1,4]]),Cvc=function(a){this.delegate_=a};
Cvc.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=b.getValue()||"";c=Ss(a.id).setValue(c);if(fj(b,A1,2).length||sl(b,B1,3)){var d=1;if(fj(b,A1,2).length){var e=fj(b,A1,2)[0];Db(e,1);d=Bvc.get(e.getStatus())||d}sl(b,B1,3)&&(e=wk(b,B1,3),at(e,1));4===(void 0===d?1:d)&&Date.now()}sl(b,C1,4)&&(b=t7a(wk(b,C1,4)),c.orgState_=b);at(a.contactMethod,7)&&(c.resultType_=2);b=c;break;case 3:b=a.contactMethod.getPhone();
b=b.getOriginalValue()||b.getDisplayValue()||Db(b,2)||"";b=Ss(a.id).setValue(b);break;case 4:b=wl(a.contactMethod,Vs,4,Ws);b=y7a(a,b);break;default:b=Ss(a.id||Zs)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);Q6a(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(u7a(Sba(ft(a.person.getAffinity(),1))||""));a.contactMethod.hasDisplayInfo()&&w7a(b,a.contactMethod.getDisplayInfo());gm(a.contactMethod,10)&&U6a(b,[V6a(a.contactMethod.getTypeLabel())]);
a.targetExtendedData&&(b.extendedData_=a.targetExtendedData);a.target=b}else a.group?B7a(a,a.group.getDisplayInfo()):a.contactLabel&&B7a(a,a.contactLabel.getDisplayInfo());this.delegate_.processItem(a);a.contactMethod&&delete a.contactMethod;a.person&&delete a.person;a.group&&delete a.group;a.contactLabel&&delete a.contactLabel};var Dvc=function(a,b){this.metrics_=a;this.state_=new GV(b)};g=Dvc.prototype;g.start=function(a){this.metrics_.start(this.state_,a)};g.stop=function(a){this.metrics_.stop(this.state_,a)};g.count=function(){this.metrics_.count(this.state_)};g.latency=function(){this.metrics_.latency(this.state_)};g.error=function(){this.metrics_.error(this.state_)};
g.status=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;if(b){var d=this.state_.source();k(d,13,b)}c&&(b=this.state_.source(),k(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var Evc=function(a){this.metrics_=a};g=Evc.prototype;g.error=function(a,b){var c=this.metrics_,d=new bt;a=d.setEventType(3).setErrorType(a);k(a,7,b);return new vtc(c,d)};g.latency=function(a){var b=this.metrics_,c=new bt,d=c.setEventType(2);k(d,5,a);return new i0(b,c)};g.count=function(a){var b=this.metrics_,c=new bt,d=c.setEventType(1);k(d,4,a);return new utc(b,c)};g.api=function(a){return new ttc(this.metrics_,a)};g.rpc=function(a){return new Dvc(this.metrics_,a)};var Fvc=function(a,b){this.ranker_=new qtc(a.getClient());this.loader_=new Avc(a,b);b=Htc;b=void 0===b?Htc:b;this.targetFactory_=new duc(a,new Cvc(b))};var Gvc=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var C7a=function(a){this.delegate_=a};X(C7a,U_);var Hvc=function(a){this.keys_=new Set(a)};Hvc.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};Hvc.prototype.isDone=function(){return!this.keys_.size};var Ivc=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new Hvc(a)};Ivc.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};Ivc.prototype.isDone=function(){return this.delegate_.isDone()};var Jvc=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var Kvc=new ut,Lvc=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=f1(gj(c,31,5),1E3*Uk(c,32,3600))};g=Lvc.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return Ze(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(Kvc);d=c.ids.map(function(l){if(hpc.includes(kpc(l).getType()))return l;var q=d2(b.itemResolver_,l);return q?String(q.id):l});e=new Ivc(d);return af(h,Mvc(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(Kvc)})};
g.search=function(a){var b=a.getBoostKey();if(!b.cacheKey)return[];this.indexes_.has(b.cacheKey)||this.fetch(a);return(this.indexes_.get(b.cacheKey)||d1).search(a.getTerms()).getMatches(a.getCollector()).map(D7a)};g.index=function(){};var Nvc=new k1(60,61,34);var Ovc=function(){};Ovc.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();xl(a,30,!1)&&(b=new Lvc(b,d,a),c=new l1(b,c,Nvc),e.unshift(c))};var Pvc=function(){return Date.now()},Qvc=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};g=Qvc.prototype;g.isStale=function(){return this.timestamp_+this.staleMillis_<=this.nowFn_()};g.isExpired=function(){return this.timestamp_+this.expiredMillis_<=this.nowFn_()};g.getStatus=function(){return this.isExpired()?1:this.isStale()?3:2};g.getTimestamp=function(){return this.timestamp_};g.setTimestamp=function(a){this.timestamp_=a};
g.markAsFresh=function(){this.timestamp_=this.nowFn_()};g.markAsStale=function(){var a=this.nowFn_()-this.staleMillis_;a<this.timestamp_&&(this.timestamp_=a)};var F7a=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),E7a=new Map([[1,7],[2,5]]);var Rvc=function(a,b){this.delegate_=a;this.extendedData_=b};X(Rvc,U_);Rvc.prototype.getExtendedData=function(){return this.extendedData_};var Svc=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=Es(this.group_.getId())?this.members_.length:c;this.resultType_=Apc.get(this.group_.getTargetType())||0};g=Svc.prototype;g.getResultType=function(){return this.resultType_};g.getTargetList=function(){return[this.group_]};g.getMemberList=function(){return this.members_};g.getTotalMemberCount=function(){return this.totalMemberCount_};g.getPrimaryTarget=function(){throw Error("te");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getMatchInfo=function(){return zpc};g.getExtendedData=function(){return null};var Tvc=function(a){this.delegate_=a};g=Tvc.prototype;g.getDelegate=function(){return this.delegate_};g.getId=function(){return this.delegate_.getId()};g.getTargetType=function(){return this.delegate_.getTargetType()};g.getValue=function(){return this.delegate_.getValue()};g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getName=function(){return this.delegate_.getName()};g.getPhoto=function(){return this.delegate_.getPhoto()};
g.getTagList=function(){return this.delegate_.getTagList()};g.getSourceIdList=function(){return this.delegate_.getSourceIdList()};g.getProfileId=function(){return this.delegate_.getProfileId()};g.getContactId=function(){return this.delegate_.getContactId()};g.getLoggingToken=function(){return this.delegate_.getLoggingToken()};g.getIsMe=function(){return this.delegate_.getIsMe()};g.getIsPersonalResult=function(){return this.delegate_.getIsPersonalResult()};g.getOrgState=function(){return this.delegate_.getOrgState()};
g.getDataSource=function(){return this.delegate_.getDataSource()};g.getOriginatingField=function(){return this.delegate_.getOriginatingField()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var H7a=function(a,b){this.delegate_=a;this.loggingToken_=b};X(H7a,Tvc);H7a.prototype.getLoggingToken=function(){return this.loggingToken_};var Uvc=function(a){this.itemResolver_=a};Uvc.prototype.create=function(a,b){var c=this,d=kpc(a);a=d2(this.itemResolver_,a);if(!a)return null;if(Ds(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,f=2===b&&1<(null==(e=a.coalescedKeys)?void 0:e.length)?a.coalescedKeys.map(function(h){return d2(c.itemResolver_,h)}).filter(Boolean):[a];return Vvc(f,d,b)};
var Vvc=function(a,b,c){var d=[],e=0,f=null,h=null;a=m(a);for(var l=a.next();!l.done;l=a.next()){l=l.value;var q=l.target,u=q.getId().equals(b);if(!e||u)e=q.getResultType();q=I7a(q,l.provenance,c);u?(h=void 0,f=null!=(h=l.totalMemberCount)?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=Y3a(e,d,f);return h?new Rvc(b,h):b};
Uvc.prototype.createGroup=function(a,b,c){c=I7a(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new Wr(new Svc(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new Rvc(b,a):b};var J7a=[1,2,3,4,5,6,9,7,8],Wvc=function(a,b){this.targetFactory_=a;this.resultFactory_=new Uvc(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?Pvc:d;this.expiry_=new Qvc(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=f1(gj(b,6,500),1E3*gj(b,7,43200));this.idTypes_=new Set(ej(b,25,!1))};Wvc.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var d2=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=Wvc.prototype;g.getExpiry=function(){return this.expiry_};g.getAffinityVersion=function(){return this.affinityVersion_};g.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp()):this.expiry_.markAsFresh();this.lruStorage_.compact()};g.markAsStale=function(){this.expiry_.markAsStale()};
g.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};g.storeItems=function(a,b,c,d){c=void 0===c?!1:c;if(d=void 0===d?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(0<e){var f=b[e];b.splice(e,1);b.unshift(f)}}c&&b.reverse();b=m(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
g.store_=function(a,b,c,d){if(!this.idTypes_.size||!hpc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),l=Xvc(this,a,f);Yvc(this,a,f,b,c)&&(l(f,b),e=!0);h=m(h);for(var q=h.next();!q.done;q=h.next())q=q.value,Yvc(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(jpc),Yvc(this,a,h,b,c)&&(l(h,b),e=!0));d&&f!==d&&Yvc(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var Yvc=function(a,b,c,d,e){var f=d2(a,c);if(!f)return!0;1===b&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return e&&(f.id.equals(d.id)||String(f.id)!==c)?!0:f.id.equals(d.id)?L7a(d)&&!L7a(f)||Zvc(a,f)<Zvc(a,d)||K7a(d)<K7a(f)||18===d.id.getType()&&18===f.id.getType()?!0:!1:String(d.id)===c},Zvc=function(a,b){b.target||a.targetFactory_.processItem(b);a=b.target;b=0;if(a.getPhoto())switch(a.getPhoto().getType()){case 3:b|=2;break;case 2:b|=1}a.getName()&&
a.getName().getDisplayName()&&(b|=4);return b},Xvc=function(a,b,c){return a.ttlStorage_.has(c)||1===b?function(d,e){return a.ttlStorage_.set(d,e)}:function(d,e){return a.lruStorage_.set(d,e)}};var $vc=function(a){this.qos=a};$vc.prototype.getIndex=function(){return String(this.qos)};var awc=new $vc(1),bwc=new $vc(2);var cwc=function(a,b){this.loader_=a;this.storage_=b;this.contacts_=[];this.totalItems_=0;this.pendingRequest_=null;this.requestId_=0;this.nextPageToken_="";this.isCompleted_=!1},ewc=function(a){if(a.isCompleted_)return Promise.resolve(V0(new ut,!1).setProvenance(5).setCode(0));a.pendingRequest_||(a.pendingRequest_=(new Promise(function(b,c){dwc(a,a.requestId_,function(d){a.isCompleted_=!0;b(d)},function(d){c(d)})})).finally(function(){a.pendingRequest_=null}));return a.pendingRequest_};
cwc.prototype.flush=function(){this.requestId_++;this.contacts_=[];this.totalItems_=0;this.nextPageToken_="";this.pendingRequest_=null;this.isCompleted_=!1};
var dwc=function(a,b,c,d){a.loader_.loadContactItems(a.nextPageToken_,bwc).then(function(e){if(b!==a.requestId_)d(V0(new ut,!0).setProvenance(5).setCode(1));else{var f=e.metadata;a.totalItems_=f.getTotalItems();a.nextPageToken_=f.getNextPageToken();Array.prototype.push.apply(a.contacts_,e.ids);a.storage_.storeItems(1,e.data);a.nextPageToken_?dwc(a,b,c,d):(a.totalItems_=a.contacts_.length,c(V0(new ut,!0).setProvenance(5).setCode(0)))}},function(e){e=isFinite(e)?e:13;d(V0(new ut,!0).setProvenance(5).setCode(e))})};
cwc.prototype.list=function(a,b,c,d,e){var f=this,h=e.getFilter();h&&h.reset("");var l=function(){return{results:f.contacts_.slice(a,b).map(function(q){return f.storage_.load(String(q),c)}).filter(function(q){return q&&(!h||h.filterResult(q))}),begin:a,end:b,totalItems:f.totalItems_}};this.contacts_.length>=b?d(l(),V0(new ut,!1).setProvenance(5).setCode(0)):ewc(this).then(function(q){d(l(),q)},function(q){q instanceof ut||(q=(new ut).setCode(13));d({results:[],begin:a,end:b,totalItems:0},q)})};var O7a=function(a,b){this.delegate_=a;this.displayValue_=b};X(O7a,Tvc);O7a.prototype.getDisplayValue=function(){return this.displayValue_};var M7a=function(a,b){this.delegate_=a;this.targets_=b};X(M7a,U_);M7a.prototype.getTargetList=function(){return this.targets_};var fwc=function(a,b,c,d){this.format=b;this.listener=c;this.options=d;this.callbackNumber=0;this.hasErrorCode=!1;this.remainingIds=new Map(a.map(function(e){return[String(e),e]}))};g=fwc.prototype;g.isCancelled=function(){return!1};g.getFormat=function(){return this.format};g.getOptions=function(){return this.options};g.queryScope=function(){return this.options.getQueryScope()};g.getResultFilter=function(){return this.options.getFilter()};g.isDone=function(){return 0===this.remainingIds.size};
var j1=function(a){return Array.from(a.remainingIds.values())};fwc.prototype.hasError=function(){return this.hasErrorCode};
fwc.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||Q7a(c.getCode())){a=P7a(a,this.options);for(var d=m(a.keys()),e=d.next();!e.done;e=d.next())this.remainingIds.delete(String(e.value));d=m(b);for(e=d.next();!e.done;e=d.next())this.remainingIds.delete(String(e.value));Q7a(c.getCode())&&(this.hasErrorCode=!0);e=(new gtc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=b;b=
new htc(a,e);this.callbackNumber++;this.listener(b,c)}};var gwc=function(a,b){this.stages=a;this.indexer=b};gwc.prototype.flush=function(){this.indexer.flush()};
gwc.prototype.lookup=function(a,b,c,d){var e=this,f,h,l,q,u,x;return Ze(function(y){switch(y.nextAddress){case 1:null==(f=d.getFilter())||f.reset(""),h=new fwc(a,b,c,d),l=new Set,1!==h.queryScope()&&2!==h.queryScope()||l.add(2),3===h.queryScope()&&l.add(1),q=m(e.stages),u=q.next();case 2:if(u.done){y.jumpTo(4);break}x=u.value;if(h.isDone()||h.isCancelled()){y.jumpTo(4);break}if(l.has(x.getStageType())){y.jumpTo(3);break}return af(y,x.lookup(h),3);case 3:u=q.next();y.jumpTo(2);break;case 4:if(!h.isDone()){if(0===
h.queryScope()&&!h.hasError()){var G=e.indexer,J=j1(h);J=m(J);for(var M=J.next();!M.done;M=J.next())M=String(M.value),G.notFoundIds.set(M,M)}h.notify(new Map,j1(h),V0((new ut).setProvenance(10),!1).setCode(0))}e.indexer.compact();return y.return()}})};var hwc=function(a,b){this.delegate_=a;this.name_=b};X(hwc,Tvc);hwc.prototype.getName=function(){return this.name_};var e2=function(){};e2.prototype.filterResult=function(a){var b=this,c=a.getTargetList().filter(function(d){return!b.shouldRemove(d)});return 0===c.length?null:c.length===a.getTargetList().length?a:new Wr(new M7a(a,c))};e2.prototype.reset=function(){};var R7a=function(a){this.types_=a};X(R7a,e2);R7a.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};R7a.prototype.reset=function(){};var T7a=function(a){this.sourceIds_=a.filter(function(b){return N6a.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return hpc.includes(b.getType())}).map(String)};X(T7a,e2);T7a.prototype.shouldRemove=function(a){var b=this;return!this.targetIds_.includes(String(a.getId()))&&a.getSourceIdList().every(function(c){return!b.sourceIds_.includes(String(c))})};
var V7a=function(a){this.filters_=a};V7a.prototype.filterResult=function(a){for(var b=m(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};V7a.prototype.reset=function(a){for(var b=m(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var iwc=W7a();var jwc=function(){};jwc.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=Ss(Us(b)).setValue(b).setDataSource(3);b=Y3a(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};jwc.prototype.createFromLookupId=function(a){if(1!==a.getType()||!apc(a.getValue()))return null;a=Ss(a).setValue(a.getOriginalValue()).setDataSource(3);return Y3a(a.getResultType(),[a],null)};var kwc=function(){};kwc.prototype.createFromQuery=function(){return null};kwc.prototype.createFromLookupId=function(){return null};var lwc=new kwc;var mwc=function(a,b){this.storage=a;a=b.getClient();this.placeholderFactory=xl(a,21,!1)?new jwc:lwc;this.notFoundIds=f1(gj(a,10,500),1E3*Uk(a,11,600))};g=mwc.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!xl(c,5))for(k(c,5,!0),b=m(b),c=b.next();!c.done;c=b.next()){var e=m(c.value);c=e.next().value;e=e.next().value;c=String(Rs(a,String(c)));this.storeItems(e,d,c)}};
g.storeItems=function(a,b,c){this.storage.storeItems(2,a,b,c)};g.load=function(a,b,c,d,e){b=this.storage.load(String(a),b);e&&b&&(b=U7a(a).filterResult(b));d&&!b&&(b=this.placeholderFactory.createFromLookupId(a));return b?c?c.filterResult(b):b:null};var nwc={ids:[],cacheKey:"",primingTimeoutMillis:0};var owc=function(){};owc.prototype.loadOrSkip=function(){return null};owc.prototype.resultCount=function(){return 0};owc.prototype.isDone=function(){return!0};var pwc=new owc;var qwc=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=pwc;this.boostKey_=nwc;this.listener_=function(){}};g=qwc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.format_};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};g.getListener=function(){return this.listener_};g.isDone=function(){return!0};g.isCancelled=function(){return!0};
g.isSuggestQuery=function(){return!0};g.isEmailAddress=function(){return!1};g.queryScope=function(){return 0};g.getResultFilter=function(){return null};var rwc=new qwc;var swc=function(){this.fetchDone_=Promise.resolve((new ut).setCode(0))};g=swc.prototype;g.getCacheType=function(){return 0};g.flush=function(){};g.fetch=function(){return this.fetchDone_};g.index=function(){};g.search=function(){return[]};var twc=new swc;var uwc=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||twc;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
uwc.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return Ze(function(l){if(1==l.nextAddress)return af(l,b.primary_.fetch(a),2);if(3!=l.nextAddress){c=l.yieldResult;if(0!==c.getCode())return l.return(c);d=m(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())f=e.value,f.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?af(l,Promise.all(h),3):l.jumpTo(3)}return l.return(c)})};
uwc.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new ut).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,p(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var vwc=function(a){var b=[a.primary_].concat(p(a.prefetched_.filter(function(d){return d!==a.primary_})),p(a.lazyLoaded_)).reverse();b=m(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},wwc=function(a,b){var c=[];a=m(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;c.push.apply(c,p(d.search(b)))}return c},ywc=function(a,b,c){var d,e,f,h;return Ze(function(l){if(1==l.nextAddress){if(2===b.queryScope())return l.return();d=a.lazyLoaded_[a.lazyLoaded_.length-
1];e=m(a.lazyLoaded_);f=e.next()}if(3!=l.nextAddress){if(f.done)return l.jumpTo(0);h=f.value;return b.isDone()||b.isCancelled()?l.return():af(l,xwc(h,b,c,d===h),3)}f=e.next();return l.jumpTo(2)})},xwc=function(a,b,c,d){var e,f;return Ze(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=V0((new ut).setProvenance(6).setCode(0),!1),h.jumpTo(2)):af(h,a.fetch(b),3);2!=h.nextAddress&&(e=h.yieldResult);if(b.isCancelled())return h.return();f=a.search(b);c(f,e,d);ef(h)})};var zwc=function(a,b,c,d,e,f){this.clientInfo_=a.getClient();this.trackers_=b;this.storage_=f;this.lookupCache_=d;this.listCache_=e;this.prefixSearch_=c;this.sessionWarming_=this.cacheWarming_=null};g=zwc.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(){f2(this,rwc);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(Y0(X0((new W0).setSource(V0(new ut,!1).setProvenance(1).setCode(0)),g2(this)),g2(this)))};g.flushCache=function(a){switch(a){case 2:return Awc(this),Promise.resolve(new W0);case 1:return this.storage_.markAsStale(),Promise.resolve(new W0);default:return this.warmUpCache()}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return Ze(function(l){switch(l.nextAddress){case 1:c=X0(new W0,g2(b));f2(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return af(l,b.cacheWarming_,2);case 2:return $e(l,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),af(l,b.sessionWarming_,7);case 7:return d=l.yieldResult,e=d.find(function(q){return 2===q.getProvenance()})||(new ut).setProvenance(2).setCode(0),l.return(Y0(c.setSource(e),g2(b)));case 5:bf(l);b.sessionWarming_=
null;cf(l,0);break;case 4:return f=df(l),h=f instanceof ut?f:(new ut).setProvenance(2).setCode(13),l.return(Promise.reject(Y0(c.setSource(h),g2(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return Ze(function(l){switch(l.nextAddress){case 1:Bwc(b);$e(l,2);d=g2(b);f2(b,a);if(!a.isSuggestQuery()){l.jumpTo(4);break}if(!b.cacheWarming_){l.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){l.jumpTo(5);break}return af(l,b.cacheWarming_,7);case 7:c=l.yieldResult;case 5:if(!b.sessionWarming_){l.jumpTo(4);break}return af(l,b.sessionWarming_,4);case 4:return c||(c=Y0(X0((new W0).setSource(V0(new ut,!1).setProvenance(1).setCode(0)),d),g2(b)),f2(b,
a)),af(l,Cwc(b,a,c),10);case 10:Au(l,0);break;case 2:f=df(l);if(a.isCancelled())return l.return();f instanceof W0?c=f:(h=f instanceof ut?f:(new ut).setCode(13),Y0(c.setSource(h),g2(b)));a.getListener()(new a1([],(new Z0).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));ef(l)}})};
var Cwc=function(a,b,c){var d,e,f,h;return Ze(function(l){if(1==l.nextAddress){if(b.isCancelled())return l.return();d=wwc(a.prefixSearch_,b);e=(new Z0).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new a1(d,e));if(e.getIsLastCallback())return l.return();f=!1;return af(l,ywc(a.prefixSearch_,b,function(q,u,x){u=(new Z0).setIsLastCallback(x).setQuery(b.getPrefix()).setCode(u.getCode()).setCacheState(Y0(X0((new W0).setSource(u),
rt(c,2)),g2(a)));b.getListener()(new a1(q,u));u.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new Z0).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(Y0(X0((new W0).setSource((new ut).setProvenance(10).setCode(0)),rt(c,2)),g2(a))),b.getListener()(new a1([],h)));ef(l)})};
zwc.prototype.lookup=function(a,b,c){var d=this;Bwc(this);f2(this,rwc);var e=X0(new W0,g2(this));this.lookupCache_.lookup(a,bk(this.clientInfo_,17,1),function(f,h){e.setSource(h);Y0(e,g2(d));f.getMetadata().setCacheState(e);b(f)},c)};
zwc.prototype.list=function(a,b,c,d){var e=this;f2(this,rwc);var f=X0(new W0,g2(this));this.listCache_.list(a,b,bk(this.clientInfo_,18,1),function(h,l){var q=h.results;var u=new dtc;u=k(u,1,h.begin);c(new etc(q,u.setEnd(h.end).setTotalItems(h.totalItems).setCode(l.getCode()).setCacheState(Y0(f.setSource(l),g2(e)))))},d)};
var f2=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&Awc(a),!a.cacheWarming_)){var c=g2(a);a.cacheWarming_=new Promise(function(d,e){var f,h,l,q;return Ze(function(u){switch(u.nextAddress){case 1:return f=X0(new W0,c),$e(u,2,3),af(u,a.prefixSearch_.prefetch(b),5);case 5:h=u.yieldResult,Y0(f,g2(a)).setSource(h),d(f);case 3:bf(u);a.cacheWarming_=null;cf(u,0);break;case 2:l=df(u),q=l instanceof ut?l:(new ut).setCode(13),
Y0(f,g2(a)).setSource(q),e(f),u.jumpTo(3)}})})}},g2=function(a){return a.storage_.getExpiry().getStatus()},Awc=function(a){vwc(a.prefixSearch_);a.lookupCache_.flush();a.listCache_.flush();a.storage_.flush()},Bwc=function(a){var b=1===g2(a)?1:2;a.trackers_.count(b).increment()};var Dwc=function(a){this.itemResolver_=a},Ewc=function(a,b,c){c=void 0===c?[]:c;var d=b.target,e=d.getName();e&&(c.push(e.getDisplayName()),c.push(e.getGivenName()),c.push(e.getFamilyName()));if(e=d.getDisplayValue())switch(d.getTargetType()){case 2:case 7:var f=c.push,h=f.apply,l=e.split(jtc).filter(Boolean),q=l.length-1;if(0<q){var u=l.join(".");l.push(l.join("-"));for(l.push(u);0<q;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(A6a,""));"+"===e[0]&&l.push("+"+l[0]);h.call(f,c,p(l));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&10!==d.getTargetType())for(b=m(b.memberKeys),d=b.next();!d.done;d=b.next())(d=d2(a.itemResolver_,d.value))&&Ewc(a,d,c);return c};var Fwc=new ftc,Gwc=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new Dwc(a);this.trieRoots_=new Map},Mvc=function(a,b,c,d){var e=(a.trieRoots_.get(c)||d1).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var f=a.trackers_.latency(95);f.start();var h=new Promise(function(l){var q=Jvc(b).map(kpc);a.lookupCache_.lookup(q,c,function(u){var x=Array.from(u.getResults().keys(),String);x=Hwc(a,x);Array.prototype.push.apply(e.items_,
x);ltc(e);u.getMetadata().getIsLastCallback()&&(f.stop(),l(e))},Fwc)});return Y7a(h,e,d)},i1=function(a,b){a=Hwc(a,b);return new c1(a)},Hwc=function(a,b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=d2(a.itemResolver_,d);e&&(e=Ewc(a.indexer_,e),c.push(new ktc(d,e)))}return c};var Iwc=function(){this.queryId_=0};Iwc.prototype.getQueryId=function(){return this.queryId_};var Jwc=function(a){this.delegate=a};g=Jwc.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){return this.delegate.flushCache(a)};g.warmUpSession=function(a){var b=this;return Ze(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return Ze(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};g.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};var Kwc=function(){this.delegate=iwc};Kwc.prototype.filterResult=function(a){return this.delegate.filterResult(a)};Kwc.prototype.reset=function(a){this.delegate.reset(a)};var Lwc=function(a,b){a.delegate=null!=b?b:iwc};var Mwc=function(a){this.delegate=a};g=Mwc.prototype;g.getPrefix=function(){return this.delegate.getPrefix()};g.getTerms=function(){return this.delegate.getTerms()};g.getFormat=function(){return this.delegate.getFormat()};g.getCollector=function(){return this.delegate.getCollector()};g.getBoostKey=function(){return this.delegate.getBoostKey()};g.getListener=function(){return this.delegate.getListener()};g.isDone=function(){return this.delegate.isDone()};g.isCancelled=function(){return this.delegate.isCancelled()};
g.isSuggestQuery=function(){return this.delegate.isSuggestQuery()};g.isEmailAddress=function(){return this.delegate.isEmailAddress()};g.queryScope=function(){return this.delegate.queryScope()};g.getResultFilter=function(){return this.delegate.getResultFilter()};var h2=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};h2.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};h2.prototype.resultCount=function(){return this.count_};h2.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var Nwc=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new h2(d,c.limit));this.collector=d;this.listener=function(h){var l=h.getMetadata();l.getIsLastCallback()&&l.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?W7a.apply(null,p(d)):null;var f;this.scope=null!=(f=c.scope)?f:a.queryScope()};X(Nwc,Mwc);g=Nwc.prototype;g.getCollector=function(){return this.collector};
g.getListener=function(){return this.listener};g.isDone=function(){return this.collector.isDone()};g.getResultFilter=function(){return this.resultFilter};g.queryScope=function(){return this.scope};var Owc=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};X(Owc,Jwc);
Owc.prototype.search=function(a){var b=this,c,d,e,f,h,l;return Ze(function(q){switch(q.nextAddress){case 1:c=new Set,a.isSuggestQuery()?c.add(2):c.add(1),a.isEmailAddress()||c.add(3),d=b.slots.filter(function(u){return!c.has(u.visibility)}),e=d.map(function(u,x){return new Nwc(a,b.originalFilter,u,x===d.length-1)}),f=m(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}l=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}Lwc(b.filterInterceptor,l.getResultFilter());return af(q,b.delegate.search(l),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var i2=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=D6a([b]);this.id_=Us(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var l=(new S6a).setDisplayName(c),q=h.getPrimaryTarget();h=N7a(h,new hwc(q,l))}return h});e=new a1(f,e.getMetadata());a.getListener()(e)}};X(i2,Mwc);i2.prototype.getPrefix=function(){return this.query_};i2.prototype.getTerms=function(){return this.terms_};
i2.prototype.getListener=function(){return this.listener_};var Pwc=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new Iwc;this.clientInfo_=c};g=Pwc.prototype;g.warmUpSession=function(a){a=Qwc(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=Qwc(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=Qwc(this.queryFactory_,a,this.querySession_,c,b);xl(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=Zoc(b),c.isValid()||(c=Zoc(b+">")),a=c.isValid()&&c.getName()?new i2(a,c.getAddress(),c.getName()):a));this.cache_.search(a)};g.cancel=function(){++this.querySession_.queryId_};g.getLastUpdatedTimestamp=function(){return this.cache_.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.cache_.getAffinityVersion()};
g.getReporter=function(){throw Error("Za");};g.getSessionState=function(){throw Error("Za");};g.getHide=function(){throw Error("Za");};var Rwc=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=xl(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new Kwc;e.setFilter(q);e=new Owc(f,h,q,l)}else e=f;return e}:function(){return d.cache_}};g=Rwc.prototype;g.warmUpCache=function(){return this.cache_.warmUpCache()};g.flushCache=function(a){this.cache_.flushCache(a)};g.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
g.list=function(a,b,c,d){this.cache_.list(a,b,c,d)};g.beginSession=function(a){a=this.getSessionCache_(a);return new Pwc(a,this.queryFactory_,this.clientInfo_)};var Swc=function(a,b,c,d,e,f,h){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=Z7a(this,f);this.isEmailAddress_=null};g=Swc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.delegate_.getFormat()};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};g.getListener=function(){return this.listener_};g.isDone=function(){return this.collector_.isDone()};
g.isCancelled=function(){return this.delegate_.isCancelled()};g.isSuggestQuery=function(){return!this.prefix_};g.isEmailAddress=function(){null===this.isEmailAddress_&&(this.isEmailAddress_=apc(this.prefix_));return this.isEmailAddress_};g.queryScope=function(){return this.delegate_.queryScope()};g.getResultFilter=function(){return this.filter_};var Twc=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};Twc.prototype.getFormat=function(){return this.format_};Twc.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};Twc.prototype.queryScope=function(){return this.queryScope_};var j2=function(){this.foundKeys_=new Set};X(j2,e2);j2.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};j2.prototype.has=function(a){return this.foundKeys_.has(a)};j2.prototype.add=function(a){this.foundKeys_.add(a)};j2.prototype.reset=function(){this.foundKeys_.clear()};var Uwc=function(a){this.delegate_=a;this.filter_=new j2};Uwc.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=m(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};Uwc.prototype.resultCount=function(){return this.delegate_.resultCount()};Uwc.prototype.isDone=function(){return this.delegate_.isDone()};var Vwc=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};Vwc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};Vwc.prototype.resultCount=function(){return this.delegate_.resultCount()};Vwc.prototype.isDone=function(){return this.delegate_.isDone()};var Wwc=function(a,b){this.storage_=a;this.format_=b};Wwc.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};Wwc.prototype.resultCount=function(){return 0};Wwc.prototype.isDone=function(){return!1};var Xwc=[198,230,306,307,338,339],Ywc=function(a){this.matchers_=a.map(function(b){return new RegExp("(?:^|[^a-z0-9@\u00c0-\u02ff\u0370-\u1aaf\u1b00-\u1fff\u2070-\u218f\u2460-\u24ff\u2c00-\u2dff\u2e80-\u2fef\u3040-\u4dbf\u4e00-\ud7ff\uf900-\ufdff\ufe70-\uffef]+|\\b)"+yp(b),"g")})},$7a=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=Qs(B6a(b)).replace(C6a,"").toUpperCase().toLowerCase(),e=d.indexOf("@");a=m(a.matchers_);for(var f=a.next();!f.done;f=a.next()){f=f.value;f.lastIndex=
0;for(var h=f.exec(d);h;h=f.exec(d)){h=h.index;if(0<=e&&h>e)break;c.push([h,f.lastIndex])}}c.sort(function(l,q){return l[0]-q[0]});for(e=c.length-1;0<e;e--)a=c[e-1],f=c[e],a[1]>=f[0]&&(a[1]=f[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(a=0;a<b.length;a++)f=b.codePointAt(a),65535<f||768<=f&&879>=f?(d.push(a),a++):Xwc.includes(f)&&e.push(a);b=m(c);for(a=b.next();!a.done;a=b.next()){a=a.value;f=m(d);for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]++,h<a[1]&&a[1]++;f=m(e);
for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]--,h<a[1]&&a[1]--}}return c};var lt=function(a,b){this.start_=a;this.end_=b};lt.prototype.getStart=function(){return this.start_};lt.prototype.getEnd=function(){return this.end_};var a8a=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};a8a.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};a8a.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};a8a.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var k2=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new k2(c,b)});this.matchInfo_=null};X(k2,U_);k2.prototype.getMemberList=function(){return this.memberList_};k2.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=b8a(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var Zwc=function(a,b){this.delegate_=a;this.matcher_=new Ywc(b)};Zwc.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new k2(a,this.matcher_):null};Zwc.prototype.resultCount=function(){return this.delegate_.resultCount()};Zwc.prototype.isDone=function(){return this.delegate_.isDone()};var $wc=/\s+/g,axc=function(a,b){this.clientInfo_=a;this.storage_=b},Qwc=function(a,b,c,d,e){var f=D6a([b]);b=(b||"").replace($wc," ").trim();var h=!f.length,l=h?bk(a.clientInfo_,15,1):bk(a.clientInfo_,16,1);h=h?gj(a.clientInfo_,1,10):gj(a.clientInfo_,2,10);var q=d.boostIds_;var u=d.primingTimeoutMillis_;if(q.length){q=q.map(String);var x=g7a(q)+":"+q.length;u={ids:q,cacheKey:x,primingTimeoutMillis:u}}else u=nwc;q=d.getFilter();a=new Wwc(a.storage_,l);q&&(a=new Vwc(a,q,b));a=new Uwc(a);a=new h2(a,
h);a=f.length?new Zwc(a,f):a;d=d.getQueryScope();c=new Twc(l,c,d);return new Swc(c,b,f,a,u,e,q)};var bxc=function(a){this.fetcher=a};bxc.prototype.getStageType=function(){return 2};bxc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,u,x;return Ze(function(y){switch(y.nextAddress){case 1:c=d8a(j1(a)),d=m(c),e=d.next();case 2:if(e.done){y.jumpTo(4);break}f=e.value;h=m(f);l=h.next().value;q=h.next().value;u=l;x=q;if(!u){y.jumpTo(3);break}return af(y,b.fetcher.fetch(x,u,a.getFormat(),function(G,J){a.notify(G,[],J)},a.getOptions()),3);case 3:e=d.next();y.jumpTo(2);break;case 4:return y.return()}})};var cxc=function(a,b){this.delegate=a;this.maxLookupChunkSize=buc(b)};cxc.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q;return Ze(function(u){switch(u.nextAddress){case 1:var x=f.maxLookupChunkSize;if(a.length)if(a.length<=x)x=[a];else{for(var y=[],G=0;G<a.length;G+=x){var J=a.slice(G,G+x);J.length&&y.push(J)}x=y}else x=[];h=m(x);l=h.next();case 2:if(l.done){u.jumpTo(4);break}q=l.value;return af(u,f.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();u.jumpTo(2);break;case 4:return u.return()}})};var dxc=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
dxc.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q,u,x,y,G,J,M,V,U;return Ze(function(W){switch(W.nextAddress){case 1:return h=3===b?4:3,l=V0((new ut).setProvenance(h),!0).setCode(0),$e(W,2),af(W,f.loader.loadLookupItems(b,a.map(function(ba){return ba.getOriginalValue()}),bwc),4);case 4:q=W.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());u=3===e.getQueryScope();try{f.indexer.store(b,q.data,q.metadata,u)}catch(ba){f.trackers.error(21,10).report(),l.setCode(13)}Au(W,3);break;
case 2:x=df(W),y=Number(x),l.setCode(isFinite(y)&&y?y:13);case 3:G=new Map;J=m(a);for(M=J.next();!M.done;M=J.next())V=M.value,(U=f.indexer.load(V,c,e.getFilter(),!0,e.useOriginalDisplayValue_))&&G.set(V,U);d(G,l);return W.return()}})};var exc=function(a){this.indexer=a};exc.prototype.getStageType=function(){return 1};
exc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l;return Ze(function(q){c=new Map;d=[];e=m(j1(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,l=b.indexer.load(h,a.getFormat(),a.getResultFilter(),!1,a.getOptions().useOriginalDisplayValue_))c.set(h,l);else{var u=b.indexer;a:switch(h.getType()){case 1:case 6:var x=apc(h.getValue().trim());break a;case 2:case 7:x=h.getValue().replace(bpc,"");x=3<=x.length&&"0"<=x[0]&&"9">=x[0];break a;default:x=!0}(x?u.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,
d,V0((new ut).setProvenance(6),!1).setCode(0));return q.return()})};var fxc=RegExp("^[^a-z0-9@\u00c0-\u02ff\u0370-\u1aaf\u1b00-\u1fff\u2070-\u218f\u2460-\u24ff\u2c00-\u2dff\u2e80-\u2fef\u3040-\u4dbf\u4e00-\ud7ff\uf900-\ufdff\ufe70-\uffef]+$","i"),gxc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=xl(e,21,!1)?new jwc:lwc;this.indexes_=f1(gj(e,8,250),1E3*Uk(e,9,3600));this.notFound_=f1(gj(e,10,500),1E3*Uk(e,11,600))};g=gxc.prototype;g.getCacheType=function(){return 3};
g.flush=function(){this.indexes_.clear();this.notFound_.clear()};
g.fetch=function(a){var b=this,c,d,e;return Ze(function(f){switch(f.nextAddress){case 1:c=V0(new ut,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(awc).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(V0(c,!1));$e(f,2);return af(f,b.loader_.loadAutocompleteItems(a,bwc),4);case 4:d=f.yieldResult;Au(f,3);break;case 2:return e=df(f),f.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return f.return(c.setCode(13))}return f.return(c)}})};
g.search=function(a){return a.isSuggestQuery()?[]:this.indexes_.has(a.getPrefix())?this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector()):(a=this.placeholderFactory_.createFromQuery(a))?[a]:[]};g.index=function(a,b,c){if(!xl(c,5))if(k(c,5,!0),b.length){c=h1(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=i1(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};
g.canSkipFetch_=function(a){if(3===a.queryScope())return!1;var b=a.getPrefix();if(this.indexes_.has(b)||this.notFound_.has(b))return!0;if(a.isEmailAddress())return!1;for(a=b.length-1;0<a;a--){var c=b.substr(0,a);if(c.match(fxc))break;if(this.notFound_.has(c))return!0}return!1};var hxc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.coalescedSortOrder_=e;this.indexes_=new Map;this.trieFactory_.trieRoots_=this.indexes_};g=hxc.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return Ze(function(h){switch(h.nextAddress){case 1:return c=V0(new ut,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?bwc:awc,$e(h,2),af(h,b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;Au(h,3);break;case 2:return f=df(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(l){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||d1).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!xl(c,5)){k(c,5,!0);a=1!==this.coalescedSortOrder_?h1(this.ranker_,b,this.coalescedSortOrder_):null;var d=h1(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=i1(this.trieFactory_,d);c=a?i1(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};var ixc=new k1(27,32,33),jxc=new k1(24,23,20);var kxc=function(){};kxc.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,l=a.lookupStages,q=a.loaderFactory.ranker_,u=a.clientConfig.getClient();if(0<u.getCacheSize()){var x=bk(u,19,1);x=new hxc(e,q,f,c,x);x=new l1(x,b,jxc);h.push(x);l.push(new exc(d))}0<gj(u,2,10)&&(c=new gxc(e,q,f,c,u),b=new l1(c,b,ixc),h.push(b));h=new dxc(a.trackers,a.loader,a.indexer);h=new cxc(h,a.clientConfig);l.push(new bxc(h))};var lxc=function(a){this.delegate=a};g=lxc.prototype;g.warmUpSession=function(a){return this.delegate.warmUpSession(a)};g.suggest=function(a,b){this.delegate.suggest(a,b)};g.search=function(a,b,c){this.delegate.search(a,b,c)};g.cancel=function(){this.delegate.cancel()};g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.getReporter=function(a){return this.delegate.getReporter(a)};
g.getSessionState=function(){return this.delegate.getSessionState()};g.getHide=function(){return this.delegate.getHide()};var mxc=function(a){this.delegate=a};g=mxc.prototype;g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){this.delegate.flushCache(a)};g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};g.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};g.beginSession=function(a){return this.delegate.beginSession(a)};var nxc=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};nxc.prototype.getId=function(){return this.id_};nxc.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var l2=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};l2.prototype.getIdType=function(){return this.idType_};l2.prototype.getOptions=function(){return this.options_};
l2.prototype.getKeys=function(){var a=this;return this.ids_.map(function(b){return new nxc(a.getIdType(),b,a.getOptions())})};var oxc=function(a,b){a.ids_=b;return a};l2.prototype.setIdType=function(a){this.idType_=a};l2.prototype.setOptions=function(a){this.options_=a;return this};l2.prototype.clone=function(){var a=this.getIdType(),b=this.getOptions();return new l2(a,this.ids_,b)};var m2=function(a,b){this.ids_=new Set(b.ids_);this.parameters_=b.clone();this.loader_=a;this.resolver_=new vqc;this.isSent_=!1};m2.prototype.send=function(){if(!this.isSent_){this.isSent_=!0;var a=Array.from(this.ids_);this.loader_.load(oxc(this.parameters_,a)).then(this.resolver_.resolve,this.resolver_.reject)}};m2.prototype.promise=function(){return this.resolver_.promise};
m2.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.ids_.length+this.ids_.size>b)return!1;a=m(a.ids_);for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var pxc=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=buc(c);this.lastRequestCreationTime_=0};
pxc.prototype.load=function(a){var b=this;this.batchedRequest_&&(this.batchedRequest_.merge(a,this.maxRequestSize_)?this.tracker_.count(89).increment():(this.batchedRequest_.send(),this.batchedRequest_=null));if(!this.batchedRequest_){this.tracker_.count(90).increment();var c=this.batchedRequest_=new m2(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Nt(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var qxc=function(a,b){this.delegate_=a;this.inflightRequests_=ntc();this.tracker_=b};
qxc.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=m(a.getKeys()),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(f.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var l=oxc(a.clone(),d);var q=new m2(this.delegate_,l);q.send();c.add(q);a=m(l.getKeys());for(f=a.next();!f.done;f=a.next())this.inflightRequests_.set(f.value.getIndex(),
q);q.promise().catch(function(){}).finally(function(){for(var u=m(l.getKeys()),x=u.next();!x.done;x=u.next())b.inflightRequests_.delete(x.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(u){return u.promise()})).then(function(u){return q?q.promise().then(function(x){return e8a(u,x.metadata)}):e8a(u)})};var rxc=function(a){this.peopleLoader_=a};rxc.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.ids_,a.getOptions())};var sxc=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};sxc.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new rxc(this.peopleLoader_);b=new pxc(b,this.tracker_,this.clientConfig_);b=new qxc(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var txc=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new sxc(this.delegate_,this.trackers_,c)},uxc=function(a,b,c,d){var e,f;return Ze(function(h){if(1==h.nextAddress){e=b+":"+c;if(a.searchRequests_.has(e))return a.trackers_.count(b).increment(),h.return(a.searchRequests_.get(e));f=d();a.searchRequests_.set(e,f);h.catchAddress_=0;h.finallyAddress_=2;return af(h,f,4)}if(2!=h.nextAddress)return h.return(h.yieldResult);bf(h);a.searchRequests_.delete(e);
return cf(h,0)})};g=txc.prototype;g.loadRankedItems=function(a){var b=this;return uxc(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};g.warmUpServer=function(a){var b=this;return uxc(this,82,"",function(){return b.delegate_.warmUpServer(a)})};g.loadAutocompleteItems=function(a,b){var c=this;return uxc(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};g.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new l2(a,b,c))};
g.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var vxc=function(){return Date.now()},wxc=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*Uk(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*Uk(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};g=wxc.prototype;g.loadRankedItems=function(a){var b=a.qos;var c=this.nowFn_();1===b&&this.lastCacheFlush_+this.cacheFlushRateMillis_>c?b=!0:(this.lastCacheFlush_=c,b=!1);return b?Promise.reject(1):this.delegate_.loadRankedItems(a)};
g.warmUpServer=function(a){var b=a.qos;var c=this.nowFn_();1===b&&this.lastServerWarmup_+this.serverWarmupRateMillis_>c?b=!0:(this.lastServerWarmup_=c,b=!1);return b?Promise.reject(1):this.delegate_.warmUpServer(a)};g.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};g.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};g.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var xxc=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=xxc.prototype;g.suggest=function(a){a=void 0===a?this.listener_:a;this.delegate_.suggest(a,this.options_)};g.search=function(a,b){b=void 0===b?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};g.cancel=function(){this.delegate_.cancel();return this};g.getReporter=function(a){a=void 0===a?xrc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var yxc=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=Es(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};X(yxc,U_);yxc.prototype.getMemberList=function(){return this.members_};yxc.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var zxc=function(a){this.filter_=a};zxc.prototype.filterResult=function(a){var b=this;if(!Es(a.getPrimaryTarget().getId()))return a;var c=a.getMemberList().map(function(d){return b.filter_.filterResult(d)}).filter(Boolean);return 0===c.length?null:a.getMemberList().every(function(d,e){return d===c[e]})?a:new Wr(new yxc(a,c))};zxc.prototype.reset=function(a){this.filter_.reset(a)};var f8a=function(a){this.filter_=W7a(a,new zxc(a))};f8a.prototype.filterResult=function(a){return this.filter_.filterResult(a)};
f8a.prototype.reset=function(a){this.filter_.reset(a)};var Axc=function(a){this.delegate_=a};g=Axc.prototype;g.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof W0&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};g.flushCache=function(a){this.delegate_.flushCache(a)};g.lookup=function(a,b,c){c=void 0===c?new ftc:c;c.setFilter(g8a(c.getFilter()));this.delegate_.lookup(a,b,c);return this};
g.list=function(a,b,c,d){d=void 0===d?new ctc:d;d.setFilter(g8a(d.getFilter()));this.delegate_.list(a,b,c,d);return this};g.beginSession=function(a,b){b=void 0===b?new Hs:b;b=b.clone();b.setFilter(g8a(b.getFilter()));var c=this.delegate_.beginSession(b);return new xxc(c,a,b)};var Bxc=new Map([[2,0],[0,1],[1,3],[3,10],[4,7],[5,9],[7,5],[16,5],[8,11],[9,2],[10,4],[11,2],[12,2],[13,11],[14,11],[15,11]]),Cxc=new Map([[2,13],[3,6]]),Dxc=new Map([[2,0],[0,1],[1,2],[3,3],[4,3],[5,2],[7,3],[16,3],[8,3],[9,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3]]);var h8a=new Map([[1,1],[2,3],[3,5]]),Exc=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),Fxc=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),Gxc=function(a,b){this.logContext_=k8a(a,b)};g=Gxc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source(),e=new T1;switch(d.getEventType()){case 1:d=e.setCount;b=bk(b.source(),4,0);var f=new P1;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=bk(b.source(),3,0);d=new S1;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=bk(b,2,0);f=new evc;b.hasItemCount()&&f.setItemCount(b.getItemCount());b.hasQueryLength()&&f.setQueryLength(b.getQueryLength());b.hasLookupInfo()&&
f.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&f.setQueryScope(b.getQueryScope());f.setLabel(d);c.call(e,f);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=new T1;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=bk(f,3,0);var l=bk(f,13,0)||0;l=Cxc.get(l)||Bxc.get(c)||0;var q=HV(b,"blocked"),u=HV(b,"network"),x=HV(b,"processed");b=new hvc;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(u);k(b,9,x);b.setStatusCode(c);gj(f,12,0)&&(c=gj(f,12,0),k(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();l=bk(h,2,0);f=new fvc;
f.setLabel(l);f.setStatusCode(c);h.hasItemCount()&&f.setItemCount(h.getItemCount());h.hasQueryLength()&&f.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&f.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&f.setQueryScope(h.getQueryScope());0===c&&(b=HV(b,"total"),f.setLatencyUsec(b));c=Dxc.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=i8a(Db(b,2)),k(f,5,c),c=i8a(Db(b,3)),k(f,6,c),c=f.setDataSource,h=b.getSource(),b=!xl(h,1),h=h.getProvenance(),
b=(b?Fxc.get(h):Exc.get(h))||0,c.call(f,b);d.call(e,f);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};
g.createLatencyMetric=function(a,b){var c=b.source();if(2!==c.getEventType())return null;var d=new T1;d.setClientInterface(a);a=d.setLatency;var e=bk(b.source(),5,0);if(37===e||38===e||40===e){e=bk(b.source(),5,0);var f=HV(b,"LATENCY_A");b=HV(b,"LATENCY_B");b=null!=f&&null!=b?f-b:NaN;f=new R1;f.setType(e);isFinite(b)&&f.setLatencyUsec(b);e=f}else b=HV(b,"total"),f=new R1,f.setType(e),f.setLatencyUsec(b),e=f;a.call(d,e);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();if(3!==c.getEventType())return null;var d=new T1;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=bk(e,7,0);var f=new Q1;f.setType(b);k(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var Hxc=function(a,b){this.delegate_=a;this.trackers_=b};g=Hxc.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=void 0===b?new o0:b;this.delegate_.reportSelect(a,b)};g.reportExternalSelect=function(a){this.delegate_.reportExternalSelect(a)};g.reportDeselect=function(a){this.delegate_.reportDeselect(a)};g.reportProceed=function(a){this.delegate_.reportProceed(a)};g.reportDismiss=function(){this.delegate_.reportDismiss();Ixc(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);Ixc(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);Ixc(this)};g.reportSend=function(a){this.delegate_.reportSend(a);Ixc(this)};var Ixc=function(a){a=a.trackers_;var b=a.api,c=new bt;dt(c.setEventType(6),3);b.call(a,c).call()};var n2=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};X(n2,lxc);
n2.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(p7a(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var l=h.getMetadata(),q=l.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());l.getIsFirstCallback()&&(d&&0===l.getCode()&&c.trackers_.error(22,19).report(),d=!0);l.getIsLastCallback()&&(e&&0===l.getCode()&&c.trackers_.error(22,20).report(),e=!0);l=c.trackers_.latency(90);l.start();
try{a(h)}catch(u){throw c.trackers_.error(22,11).report(),u;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
n2.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(o7a(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),u=q.getCacheState();h.source.setCacheState(u);h.source.setItemCount(l.getResults().length);h.result(u.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(23,19).report(),e=!0);q.getIsLastCallback()&&(f&&0===q.getCode()&&d.trackers_.error(23,20).report(),f=!0);q=d.trackers_.latency(91);q.start();
try{b(l)}catch(x){throw d.trackers_.error(23,11).report(),x;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};n2.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new Hxc(a,this.trackers_)};var Jxc=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new bt;dt(c.setEventType(6),1);b.call(a,c).call()};X(Jxc,mxc);g=Jxc.prototype;
g.warmUpCache=function(){var a=this,b=this.trackers_.api(n7a());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof W0?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new W0).setSource((new ut).setCode(2)));return Promise.reject(c)})};
g.flushCache=function(a){var b=this.trackers_,c=b.api;switch(a){case 2:var d=12;break;case 1:d=4;break;default:d=10}var e=new bt;dt(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(f){throw this.trackers_.error(17,1).report(),f;}};
g.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(l7a(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),u=q.getCacheState();h.source.setCacheState(u);h.source.setItemCount(l.getResults().size);for(var x=0,y=0,G=0,J=m(l.getResults().keys()),M=J.next();!M.done;M=J.next()){var V=M.value;epc.includes(V.getType())?x++:fpc.includes(V.getType())?y++:gpc.includes(V.getType())&&G++}var U=0;J=V=0;var W=m(q.notFoundIdList_);for(M=W.next();!M.done;M=
W.next())M=M.value,epc.includes(M.getType())?U++:fpc.includes(M.getType())?V++:gpc.includes(M.getType())&&J++;M=h.source.getLookupInfo();x=k(M,2,x);y=k(x,1,y);G=k(y,3,G);G=k(G,5,U);G=k(G,4,V);k(G,6,J);h.result(u.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(f&&0===q.getCode()&&d.trackers_.error(8,20).report(),f=!0);q=d.trackers_.latency(89);q.start();try{b(l)}catch(ba){throw d.trackers_.error(8,11).report(),ba;}finally{q.stop()}},
c)}catch(l){throw this.trackers_.error(8,1).report(),l;}};g.list=function(a,b,c,d){var e=this;try{var f=this.trackers_.api(m7a());f.call();this.delegate_.list(a,b,function(h){var l=h.getMetadata().getCacheState();f.source.setCacheState(l);f.result(l.getSource().getCode());try{c(h)}catch(q){throw e.trackers_.error(27,11).report(),q;}},d)}catch(h){throw this.trackers_.error(27,1).report(),h;}};
g.beginSession=function(a){var b=this.trackers_,c=b.api,d=new bt;dt(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new n2(a,this.trackers_)};var Kxc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Kxc.prototype.report=function(a){var b=PV(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=m(a);for(b=a.next();!b.done;b=a.next())QV(this.clearcut_,b.value)};var Lxc=function(a){this.clearcut_=a};Lxc.prototype.report=function(a){this.clearcut_.report(a)};var Mxc=function(a){this.writer_=a},Oxc=function(a,b,c){var d=new NV,e=a.writer_,f=d.getMetadata()||new MV;d.setMetadata(f);var h=zs(b)||new jt;a=wk(b,kt,1)||new kt;e.metadataStateWriter_.write(f,h,(xl(a,9,!0)?gj(h,2,0):gj(h,1,0))||0,Nxc(b));e.contactInfoWriter_.write(d,a,c,h.getProvenance()||0);b=wk(d,KV,4)||new KV;Ok(d,KV,4,b);wk(d,KV,4).setType(rt(a,7));d.setLoggingId(Uu(a,2));return d};var Pxc=function(){};
Pxc.prototype.create=function(a,b,c){var d=new Bcc,e=Tk(b,3,0);k(d,1,e);e=Tk(b,4,0);k(d,2,e);e=Tk(b,5,0);k(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new Ccc;Ok(e,Bcc,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var f=new Dcc;d=HRa(Uk(b,9,0)-Uk(b,8,0));k(f,2,d);d=new OV;Ok(d,Ccc,1,e);Ok(d,Dcc,6,f);e=new Acc;if(f=Tk(b,6,0)){k(e,3,1E3*f);var h=1E3*(Date.now()-f);k(e,2,h)}k(e,1,!!f);Ok(d,Acc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());
b=new Gcc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var Qxc=function(){};Qxc.prototype.extractPersonEventSource=function(a){return wBb(l8a(a),4)};Qxc.prototype.extractFieldEventSource=function(a){return wBb(l8a(a),3)};var Rxc=function(){};Rxc.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new qt;return(a.getQuery()||"").length?Db(b,2):Db(b,4)};Rxc.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new qt;return(a.getQuery()||"").length?Db(b,1):Db(b,3)};var Sxc=function(){};Sxc.prototype.extractPersonEventSource=function(a){return wBb(m8a(a),4)};Sxc.prototype.extractFieldEventSource=function(a){return wBb(m8a(a),3)};var Txc=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var Uxc=new Map([[1,11],[2,12],[0,0]]),Vxc=function(){};Vxc.prototype.write=function(a,b,c){var d=new IV;k(d,1,c);c=new JV;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());Ok(a,JV,8,c);b=[Uxc.get(b.getContext())];Lm(a,3,b)};var Wxc=new Map([[1,5],[2,4],[3,6],[7,13]]),Xxc=function(){};Xxc.prototype.write=function(a,b,c,d){var e=new IV;k(e,1,c);a.setPosition(e);c=Wxc.get(b.getProvenance())||0;d||1===bk(b,4,0)?c=3:2===bk(b,4,0)&&(c=10);Lm(a,3,[c])};var Yxc=new Set([9,1,2]),Zxc=function(){};Zxc.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&Yxc.has(d))c=new KV,1!==Db(b,7)&&7!==Db(b,7)||c.setEmail(Uu(b,3)),2!==Db(b,7)&&5!==Db(b,7)||c.setPhone(Uu(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),Ok(a,KV,4,c),c=new LV,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new MV,Ok(b,LV,2,c),a.setMetadata(b)};var $xc=function(a){var b=new Zxc;this.metadataStateWriter_=a;this.contactInfoWriter_=b},Nxc=function(a){var b;return(null==(b=wk(a,kt,1))?0:b.getIsPlaceholder())?!0:!1};var r8a=function(a){Y.call(this,a,-1,ayc)};X(r8a,Y);g=r8a.prototype;g.getEventType=function(){return Db(this,1)};g.getEventType_legacyNullable=function(){return Db(this,1)};g.setEventType=function(a){return k(this,1,a)};g.getSessionState=function(){return wk(this,O_,2)};g.setSessionState=function(a){Ok(this,O_,2,a)};g.hasSessionState=function(){return sl(this,O_,2)};var s8a=function(a,b){Ok(a,qt,4,b)},ayc=[3];var byc=new Set([8]),cyc=function(){this.defaultEntityFactory_=new Mxc(new $xc(new Xxc));this.contextualEntityFactory_=new Mxc(new $xc(new Vxc));this.extensionFactory_=new Pxc;this.defaultEventSourceExtractor_=new Rxc;this.additionEventSourceExtractor_=new Qxc;this.replacementEventSourceExtractor_=new Sxc};
cyc.prototype.create=function(a,b){var c=b.getSessionState()||new O_,d=b.getEventType_legacyNullable();b=fj(b,it,3);var e=n8a(b,p8a);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(p(n8a(f,o8a).values())):[];b=b?[].concat(p(n8a(b,o8a).values())):[];e=e?[].concat(p(n8a(e,o8a).values())):[];f=new Txc(f,b,e);b=[];var h=m(f.defaultTokenGroups_);for(e=h.next();!e.done;e=h.next())b.push.apply(b,p(dyc(this,a,d,e.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));h=m(f.additionTokenGroups_);
for(e=h.next();!e.done;e=h.next())b.push.apply(b,p(dyc(this,a,d,e.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));f=m(f.replacementTokenGroups_);for(e=f.next();!e.done;e=f.next())b.push.apply(b,p(dyc(this,a,d,e.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var dyc=function(a,b,c,d,e,f,h){var l=[];e=d[0].getSessionState()||e;var q=d.map(function(x){var y=new NV,G=h.writer_,J=y.getMetadata()||new MV;y.setMetadata(J);var M=zs(x)||new jt,V=wk(x,kt,1)||new kt;G.metadataStateWriter_.write(J,M,gj(M,2,0)||0,Nxc(x));G.contactInfoWriter_.write(y,V,c,M.getProvenance()||0);y.setLoggingId(Uu(V,1));x=wk(y,KV,4)||new KV;Ok(y,KV,4,x);x.setType(rt(V,8));return y});l.push(eyc(a,b,c,f.extractPersonEventSource(e),q,e));q=[];d=m(d);for(var u=d.next();!u.done;u=d.next())u=
u.value,sl(u,kt,1)&&byc.has(Db(wk(u,kt,1),7))||q.push(Oxc(h,u,c));q.length&&l.push(eyc(a,b,c,f.extractFieldEventSource(e),q,e));return l},eyc=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);Sb(a,2,e);return a};var fyc=function(a,b){this.logContext_=j8a(nt(new ot,"PeopleStore.BigBug").setLogSource(bk(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(513929239).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(p(a.runtimeConfig_.getExperiments().getExperimentIdsList()),p(pt?pt.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new cyc};fyc.prototype.getLogContext=function(){return this.logContext_};var gyc=function(a){this.clientConfig_=a;this.reportingCache_=new Map};gyc.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new fyc(this.clientConfig_,a),a=new Lxc(new Kxc(Occ(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var hyc=function(a,b){this.reporting_=a;this.sharedSessionState_=b};g=hyc.prototype;g.reportDisplay=function(a){o2(this,tt(a,1))};g.reportSelect=function(a,b){b=void 0===b?new o0:b;if(0!==b.getOriginator())for(var c=m(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!sl(d,jt,2)){var e=new jt;Ok(d,jt,2,e)}d=zs(d);k(d,4,b.getOriginator())}b=Tk(this.sharedSessionState_,4,0)+1;k(this.sharedSessionState_,4,b);o2(this,tt(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!sl(c,jt,2)){var d=new jt;Ok(c,jt,2,d)}c=zs(c);k(c,4,2)}b=Tk(this.sharedSessionState_,4,0)+1;k(this.sharedSessionState_,4,b);o2(this,tt(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){o2(this,tt(a,17,this.sharedSessionState_))};g.reportProceed=function(a){o2(this,tt(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new r8a;a=a.clone();b.setSessionState(a);b.setEventType(7);s8a(b,a.getSources());o2(this,[b])};g.reportSave=function(a){o2(this,tt(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){o2(this,tt(a,19,this.sharedSessionState_))};g.reportSend=function(a){o2(this,tt(a,8,this.sharedSessionState_,!0))};var o2=function(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var p2=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;k(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};X(p2,lxc);p2.prototype.suggest=function(a,b){var c=this;Ooc(this.sharedSessionState_,Tk(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");Poc(d);var e=0;this.delegate_.suggest(function(f){e=iyc(c,f.getResults(),t8a(f),d,e);a(f)},b)};
p2.prototype.search=function(a,b,c){var d=this;Ooc(this.sharedSessionState_,Tk(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);Poc(e);var f=0;this.delegate_.search(a,function(h){f=iyc(d,h.getResults(),t8a(h),e,f);b(h)},c)};p2.prototype.getReporter=function(a){return new hyc(this.reportingFactory_.create(a),this.sharedSessionState_)};p2.prototype.getSessionState=function(){return this.sharedSessionState_};
var iyc=function(a,b,c,d,e){var f=xcc();k(d,9,tb(f));f=a.delegate_.getLastUpdatedTimestamp();k(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=m(b);for(f=a.next();!f.done;f=a.next()){b=0;f=m(f.value.getTargetList());for(var h=f.next();!h.done;h=f.next()){h=h.value.getLoggingToken();var l=zs(h)||new jt;7!==l.getProvenance()&&l.setProvenance(c.getProvenance());k(l,2,e);k(l,1,b);Ok(h,jt,2,l);h.setSessionState(d);b++}e++}return e};var jyc=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=M4a();this.clearcutConfig_=c};X(jyc,mxc);
jyc.prototype.lookup=function(a,b,c){this.delegate_.lookup(a,function(d){var e=Array.from(d.getResults().values()),f,h=d.getMetadata();h.getCacheState()&&(h=h.getCacheState(),h.hasSource()&&(f=h.getSource()));f=f||new ut;h=c.getOriginator();e=m(e);for(var l=e.next();!l.done;l=e.next()){l=m(l.value.getTargetList());for(var q=l.next();!q.done;q=l.next()){q=q.value.getLoggingToken();var u=zs(q)||new jt;7!==u.getProvenance()&&u.setProvenance(f.getProvenance());k(u,4,h);Ok(q,jt,2,u)}}b(d)},c)};
jyc.prototype.beginSession=function(a){var b=new O_,c=kyc(this,a);Ok(b,qt,10,c);c=lyc(this,a);Ok(b,st,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new p2(a,this.reportingFactory_,b)};
var kyc=function(a,b){a=fj(a.clearcutConfig_,qt,5);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new qt},lyc=function(a,b){a=fj(a.clearcutConfig_,st,6);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new st};var myc={create:function(a){var b=Ab(Ptc||(Ptc=Otc('[[15,15],["AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s","ANVavNKl4mkR3DMa8R68PqYrNFuTUEjFCzfJB_o"],["BUGANIZER","BUGANIZER",null,"ISSUE_TRACKER_AFFINITY",47,null,null,["person.name","person.photo","person.email","person.metadata"]],[null,740,null,null,[[180,181,178,179]]]]')));a=new $tc(b,a);a.runtimeConfig_.getExperiments().getProfileId()?auc(a).getIsEnabled()?(b=Ab(cuc||(cuc=X5a('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new Y5a(b,1)):b=new Is:b=new Is;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;pt=b.loadExperiments(auc(a).getApplication(),(new Js).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new Gvc;b.cacheConfigurators_.push(new Ktc);c=b;c=void 0===c?new Gvc:c;b=a.getClearcut();b=new Gxc(b,a.runtimeConfig_);b=Ls(b);b=new Evc(b);d=new Fvc(a,b);var e=c;c=a.getClient();c=new Wvc(d.targetFactory_,c);var f=void 0===f?vxc:f;f=new wxc(d.loader_,a,f);f=new txc(f,b,a);var h=[new kxc,
new Ovc].concat(p(e.cacheConfigurators_)),l=[],q=[],u=new mwc(c,a);e=new gwc(q,u);d={clientConfig:a,trackers:b,storage:c,indexer:u,loader:f,loaderFactory:d,trieFactory:new Gwc(c,e,b),prefixCaches:l,lookupStages:q};h=m(h);for(q=h.next();!q.done;q=h.next())q.value.configure(d);d=new uwc(l);f=new zwc(a,b,d,e,new cwc(f,c),c);d=a.getClient();c=new axc(d,c);d=a.getClient();f=new Rwc(f,c,d);c=new gyc(a);a=a.getClearcut();f=new jyc(f,c,a);f=new Jxc(f,b);return new Axc(f)}};var q2=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new T.ReplaySubject(1);this.accessCheckIsThinking$=new T.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(Qf(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(Qf(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return aG(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,T.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return!d&&!e}),Pf(!1));this.manageComponentLink=""};q2.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};q2.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
q2.\u0275fac=function(a){return new (a||q2)(A(OF),A($F))};
q2.\u0275cmp=r({type:q2,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[md],decls:6,vars:7,consts:[[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],["notComponentReader",""],[3,"href"]],template:function(a,b){a&1&&(D(0,"b-async-data-placeholder",0),R(1,"async"),O(2,u8a,3,4,"a",1),R(3,"async"),O(4,v8a,2,1,"ng-template",null,2,$g),E());if(a&2){var c=N(5);C("isReady",S(1,3,b.isReady$));z(2);C("ngIf",S(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[bx,lO,hx],encapsulation:2});var r2=function(){this.showIssueMetadataContainer=!1;this.manageComponentLink=""};
Ei.Object.defineProperties(r2.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(null==a)this.showIssueMetadataContainer=!1;else if(this.showIssueMetadataContainer=!0,this.issueId=a.issueId,this.issueLastModified=qp(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=XSb[a.type],this.issueStatus=$m[a.status],this.issuePriority=a.priority,this.issueSeverity=VSb[a.severity],this.issueComponentId=String(a.componentId)}}});
r2.\u0275fac=function(a){return new (a||r2)};
r2.\u0275cmp=r({type:r2,selectors:[["b-access-denied-metadata"]],inputs:{issueMetadata:"issueMetadata"},decls:4,vars:1,consts:[[1,"b-access-denied"],[1,"heading-l","margin-bottom"],["class","carded margin-top",4,"ngIf"],[1,"carded","margin-top"],[3,"issuePriority"],[4,"ngIf"],[3,"componentId"],[3,"teamId"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"h3",1),P(2," Access is denied to this issue "),E(),O(3,y8a,33,11,"ol",2),E());a&2&&(z(3),C("ngIf",b.showIssueMetadataContainer))},dependencies:[bx,
q2,aQ,IO,kx],styles:[".b-access-denied[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}ol[_ngcontent-%COMP%]{box-sizing:border-box;width:322px;padding-right:8px}li[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:16px;line-height:21px}li[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}label[_ngcontent-%COMP%]{width:100px;font-weight:bold;color:#5f6368;color:var(--text-muted);margin-right:8px;font-size:.8125rem}"],changeDetection:0});var s2=function(){};s2.\u0275fac=function(a){return new (a||s2)};s2.\u0275mod=fd({type:s2});s2.\u0275inj=Qc({imports:[px,JP]});var t2=function(){};t2.\u0275fac=function(a){return new (a||t2)};t2.\u0275mod=fd({type:t2});t2.\u0275inj=Qc({imports:[px,s2,BQ,HP]});var nyc=Symbol("Je"),u2=function(a){this.ruleConfigService=a};u2.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new v2(a,w2(this.ruleConfigService)):"ENUM"===a.customField.type?new x2(a,w2(this.ruleConfigService)):"NUMERIC"===a.customField.type?new y2(a,w2(this.ruleConfigService)):new z2(a,w2(this.ruleConfigService));else b=a.label.field,b=w2(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||A2)(a,w2(this.ruleConfigService));b[nyc](a);return b};
var a$a=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};u2.\u0275fac=function(a){return new (a||u2)(n(B2))};u2.\u0275prov=Pc({token:u2,factory:u2.\u0275fac,providedIn:"root"});
var oyc=["OR","AND","NAND"],pyc=["OR","NAND"],qyc="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),ryc=["AND","OR","NAND"],syc=["OR","LT","GT","LE","GE"],A2=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};A2.prototype[nyc]=function(a){this.initType(a);this.initValues(a)};
A2.prototype.initType=function(a){if(a.type)switch(a.operator){case "LT":this.type=a.negated?"GE":"LT";break;case "GT":this.type=a.negated?"LE":"GT";break;case "LE":this.type=a.negated?"GT":"LE";break;case "GE":this.type=a.negated?"LT":"GE";break;default:this.type="OR"===a.type?a.negated?"NOR":"OR":"AND"===a.type?a.negated?"NAND":"AND":a.negated?"NAND":"OR"}else this.type=this.getLegalTypes()[0]};A2.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var tyc=function(a){var b="NAND"===a.type||"NOR"===a.type||"NDURATION"===a.type||"NRANGE"===a.type,c="EQ";if("AND"===a.type||"NAND"===a.type)var d="AND";else if("OR"===a.type||"NOR"===a.type)d="OR";else if(d="NIL","LE"===a.type||"LT"===a.type||"GE"===a.type||"GT"===a.type)c=a.type;b&&("AND"===d?d="OR":"OR"===d&&(d="AND"));return{operator:c,joinType:d,negated:b}};
A2.prototype.toString=function(){var a=tyc(this),b=this.valuesToStrings().filter(function(e){return e}),c={GT:">",LT:"<",GE:">=",LE:"<=",EQ:":"};if(1===b.length)b=b[0];else if(1<b.length)b="("+b.join("AND"===a.joinType?" ":" | ")+")";else return"";var d=uyc(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var uyc=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:rj(b).toLowerCase()+(a.label.customFieldId||"")};A2.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
A2.prototype.getWidgetType=function(){return"default"};A2.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};A2.prototype.getLegalTypes=function(){return oyc};var vyc=[],C2=function(a,b){A2.call(this,a,b);this.enumValues={}};X(C2,A2);g=C2.prototype;g.getLegalTypes=function(){return pyc};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=m(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=m(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[z8a(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(gc(this.enumValues,function(a){return a}))};g.getOptions=function(){return vyc};var wyc=raa().map(function(a){return{id:"p"+a,label:"P"+a}}),xyc=function(a,b){C2.call(this,a,b)};X(xyc,C2);
xyc.prototype.getOptions=function(){return wyc};var yyc=raa().map(function(a){return{id:"s"+a,label:"S"+a}}),zyc=function(a,b){C2.call(this,a,b)};X(zyc,C2);zyc.prototype.getOptions=function(){return yyc};
var Ayc=[{id:"bug"},{id:"customer_issue",label:"customer issue"},{id:"feature_request",label:"feature request"},{id:"internal_cleanup",label:"internal cleanup"},{id:"process"},{id:"vulnerability"},{id:"privacy_issue",label:"privacy issue"},{id:"project"},{id:"feature"},{id:"milestone"},{id:"epic"},{id:"story"},{id:"task"}],Byc=function(a,b){C2.call(this,a,b)};X(Byc,C2);Byc.prototype.getOptions=function(){return Ayc};
var Cyc=[{id:"open"},{id:"new",group:"open"},{id:"assigned",group:"open"},{id:"accepted",group:"open"},{id:"closed"},{id:"fixed"},{id:"verified"},{id:"duplicate"},{id:"infeasible"},{id:"intended_behavior",label:"intended behavior"},{id:"not_reproducible",label:"not reproducible"},{id:"obsolete"}],Dyc=function(a,b){C2.call(this,a,b)};X(Dyc,C2);Dyc.prototype.getOptions=function(){return Cyc};
var Eyc=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],Fyc=function(a,b){C2.call(this,a,b)};X(Fyc,C2);Fyc.prototype.getOptions=function(){return Eyc};var x2=function(a,b){C2.call(this,a,b);this.allowedValues=[]};X(x2,C2);x2.prototype[nyc]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:z8a(b)}});C2.prototype[nyc].call(this,a)};
x2.prototype.valuesToStrings=function(){return Object.keys(gc(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};x2.prototype.getOptions=function(){return this.allowedValues};var Bt=function(a,b){A2.call(this,a,b);this.csv=""};X(Bt,A2);Bt.prototype.getWidgetType=function(){return"csv"};Bt.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};Bt.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};
var D2=function(a,b){Bt.call(this,a,b)};X(D2,Bt);D2.prototype.getWidgetType=function(){return"id"};D2.prototype.valuesToStrings=function(){return Bt.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(sj(a))})};var Gyc=function(a,b){Bt.call(this,a,b)};X(Gyc,D2);Gyc.prototype.getLegalTypes=function(){return pyc};var E2=function(a,b){Bt.call(this,a,b)};X(E2,Bt);E2.prototype.getWidgetType=function(){return"user"};
var F2=function(a,b){Bt.call(this,a,b)};X(F2,E2);F2.prototype.getLegalTypes=function(){return pyc};var v2=function(a,b){A2.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};X(v2,A2);var G9a=function(a){return a&&"string"===typeof a?a:""};v2.prototype.initType=function(a){A2.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":Hu(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};
v2.prototype.getWidgetType=function(){return"date"};v2.prototype.initValues=function(a){if(a.values){var b=a.values[0].simpleValues[0].value;if("DURATION"===this.type||"NDURATION"===this.type)this.duration=b.slice(0,b.length-1);else if(this.dateFrom=Hyc(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=Hyc(a.values[0].simpleValues[1].value)}};
v2.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=sj(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&Iyc(this.dateFrom)||(new jj).toIsoString(!0);var b=this.dateTo&&Iyc(this.dateTo)||(new jj).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&Iyc(this.dateFrom)||(new jj).toIsoString(!0)]};
var Jyc=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},Hyc=function(a){var b=new sp(2E3);a=xj(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(lKb);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var l=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new wB("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new wB("d",(4>=d?1-d:8-d)+(Number(l)+7*(Number(c)-
1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),f&&b.setDate(f));c=!0}else c=!1;if(c&&!(c=2>a.length)){c=a[1];a=c.match(nKb);if(a)if(c=c.substring(0,c.length-a[0].length),"Z"===a[0])var q=0;else q=60*Number(a[2])+Number(a[3]),q*="-"==a[1]?1:-1;if(h=c.match(mKb)){if(a){a=b.getYear();c=b.getMonth();l=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var u=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,l,d,e,f,u);h&&(a-=126227808E5);b.setTime(a+6E4*q)}else b.setHours(Number(h[1])),
b.setMinutes(Number(h[2])||0),b.setSeconds(Number(h[3])||0),b.setMilliseconds(h[4]?1E3*Number(h[4]):0);c=!0}else c=!1}return Jyc(c?b:null)},Iyc=function(a){a=a.split("/").map(Number);return(new jj(a[2],a[0]-1,a[1])).toIsoString(!0)};v2.prototype.getLegalTypes=function(){return qyc};var G2=function(a,b){A2.call(this,a,b)};X(G2,A2);G2.prototype.getWidgetType=function(){return"bool"};
G2.prototype.initType=function(a){var b="OR"===a.type||""===a.type;a.values&&(b="true"===a.values[0].simpleValues[0].value.toLowerCase());a.negated&&(b=!b);this.type=b?"OR":"NAND"};G2.prototype.toString=function(){return uyc(this)+":"+("OR"===this.type)};G2.prototype.getLegalTypes=function(){return pyc};var H2=function(a,b){A2.call(this,a,b)};X(H2,A2);H2.prototype.getWidgetType=function(){return"boolwithall"};
H2.prototype.initType=function(a){-1===this.getLegalTypes().indexOf(a.type)?this.type=this.getLegalTypes()[0]:this.type=a.type;if(a.values)switch(a.values[0].simpleValues[0].value){case "true":this.type="OR";break;case "false":this.type="NAND";break;case "all":this.type="AND"}a.negated&&"AND"!==this.type&&(this.type="OR"===this.type?"NAND":"OR")};H2.prototype.toString=function(){var a=uyc(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
H2.prototype.getLegalTypes=function(){return ryc};var z2=function(a,b){A2.call(this,a,b)};X(z2,A2);z2.prototype.getWidgetType=function(){return"text"};z2.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){b=b.simpleValues[0];var c=b.value;"QUOTED_TEXT"===b.type&&(c=c.slice(1,c.length-1));return{value:c}})};z2.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var I2=function(a,b){A2.call(this,a,b)};X(I2,A2);I2.prototype.getWidgetType=function(){return"component"};I2.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Hu(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};I2.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var Kyc=function(a,b){A2.call(this,a,b)};X(Kyc,A2);Kyc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Hu(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};Kyc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var Lyc=function(a,b){A2.call(this,a,b)};X(Lyc,A2);Lyc.prototype.getWidgetType=function(){return"tracker"};
var Myc=function(a,b){A2.call(this,a,b)};X(Myc,Kyc);Myc.prototype.getWidgetType=function(){return"team"};var Nyc=function(a,b){A2.call(this,a,b)};X(Nyc,A2);Nyc.prototype.getWidgetType=function(){return"hotlist"};var Oyc=function(a,b){A2.call(this,a,b)};X(Oyc,A2);Oyc.prototype.getWidgetType=function(){return"savedsearch"};var y2=function(a,b){Bt.call(this,a,b)};X(y2,Bt);y2.prototype.getWidgetType=function(){return"number"};y2.prototype.getLegalTypes=function(){return syc};
var Pyc=function(a,b){v2.call(this,a,b)};X(Pyc,v2);Pyc.prototype.initType=function(a){v2.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var J2={},Qyc=(J2.ATTACHMENT={ruleCtor:z2,name:"Attachment name"},J2.COMMENT={ruleCtor:z2},J2.TITLE={ruleCtor:z2},J2.ASSIGNEE={ruleCtor:F2},J2.MODIFIER={ruleCtor:E2},J2.REPORTER={ruleCtor:F2},J2.VERIFIER={ruleCtor:F2},J2.CC={ruleCtor:E2},J2.COMPONENT_ID={ruleCtor:I2,name:"Component"},J2.TRACKER_ID={ruleCtor:Lyc,name:"Tracker"},J2.TYPE={ruleCtor:Byc},J2.STATUS={ruleCtor:Dyc},J2.PRIORITY={ruleCtor:xyc},J2.SEVERITY={ruleCtor:zyc},J2.BLOCKED_BY_ID={ruleCtor:D2},J2.BLOCKING_ID={ruleCtor:D2},J2.PARENT_ID=
{ruleCtor:D2},J2.CANONICAL_ID={ruleCtor:Gyc},J2.ID={ruleCtor:Gyc},J2.FOUND_IN={ruleCtor:Bt},J2.TARGETED_TO={ruleCtor:Bt},J2.VERIFIED_IN={ruleCtor:Bt},J2.CL={ruleCtor:Bt,name:"Changelists"},J2.MODIFIED={ruleCtor:v2},J2.RESOLVED={ruleCtor:Pyc},J2.CREATED={ruleCtor:v2},J2.VERIFIED={ruleCtor:Pyc},J2.DELETION_TIME={ruleCtor:v2,name:"Deletion time"},J2.SAVED_SEARCH_ID={ruleCtor:Oyc,name:"Saved search"},J2.HOTLIST_ID={ruleCtor:Nyc,name:"Hotlist"},J2.STAR={ruleCtor:G2,name:"Starred"},J2.MUTE={ruleCtor:G2,
name:"Muted"},J2.IN_PROD={ruleCtor:G2,name:"In production"},J2.CC_COUNT={ruleCtor:y2},J2.DUPLICATE_COUNT={ruleCtor:y2},J2.VOTE_COUNT={ruleCtor:y2},J2.COMMENT_COUNT={ruleCtor:y2},J2.LAST_MODIFIER={ruleCtor:F2,name:"Last Modified By"},J2.COMMENTER={ruleCtor:E2},J2.LAST_COMMENTER={ruleCtor:F2},J2.ARCHIVED={ruleCtor:H2},J2.IS_DELETED={ruleCtor:G2,name:"Deleted",queryLabel:"deleted"},J2.DELETION_REASON={ruleCtor:Fyc,name:"Deletion reason"},J2._TEXT_={ruleCtor:z2,queryLabel:"",name:"All fields"},J2),Ryc=
Object.assign({},Qyc,{EFFORT_LABEL:{ruleCtor:Bt},MENTION:{ruleCtor:E2},MIN_SLO_TARGET:{ruleCtor:v2,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:Bt,name:"Postmortems"},TEAM_ID:{ruleCtor:Myc,name:"Team"}}),B2=function(a){this.activeSession=a},w2=function(a){return a.activeSession.isExternalSession()?Qyc:Ryc};B2.\u0275fac=function(a){return new (a||B2)(n(tu))};B2.\u0275prov=Pc({token:B2,factory:B2.\u0275fac,providedIn:"root"});var K2=function(a){Y.call(this,a)};X(K2,Y);g=K2.prototype;g.getField=function(){return bk(this,1,0)};g.setField=function(a){k(this,1,a)};g.getCustomFieldId=function(){return kk(this,2)};g.setCustomFieldId=function(a){return k(this,2,a)};g.hasCustomFieldId=function(){return jk(this,2)};var F8a=function(a){Y.call(this,a)};X(F8a,Y);g=F8a.prototype;g.getType=function(){return bk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return Sk(this,1)};g.getValue=function(){return lk(this,2)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return gm(this,2)};var Tyc=function(a){Y.call(this,a,-1,Syc)};X(Tyc,Y);g=Tyc.prototype;g.getType=function(){return bk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return Sk(this,1)};g.getValuesList=function(){return fj(this,Tyc,2)};g.setValuesList=function(a){Sb(this,2,a)};var Syc=[2,3];var N8a=function(a){Y.call(this,a,-1,Uyc)};X(N8a,Y);g=N8a.prototype;g.getType=function(){return bk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return Sk(this,1)};g.getValuesList=function(){return fj(this,Tyc,2)};g.setValuesList=function(a){Sb(this,2,a)};g.getLabel=function(){return wk(this,K2,4)};g.setLabel=function(a){return Ok(this,K2,4,a)};g.hasLabel=function(){return sl(this,K2,4)};var Uyc=[2];var vt=function(a){Y.call(this,a,-1,Vyc)};X(vt,Y);vt.prototype.getType=function(){return bk(this,1,0)};vt.prototype.setType=function(a){return k(this,1,a)};vt.prototype.hasType=function(){return Sk(this,1)};var Vyc=[2];vt.messageId="b.QueryBuilderResponse";var K8a=function(a){Y.call(this,a)};X(K8a,Y);K8a.messageId="b.SyntaxErrorResponse";var Wyc=function(a){Y.call(this,a)};X(Wyc,Y);Wyc.prototype.getKindCase=function(){return pk(this,L8a)};var L8a=[1,2];Wyc.messageId="b.QueryBuilderResponseOrError";var L2=function(a){this.executor=a},Xyc=function(a,b){b=En(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:Wyc}).then(O8a).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(A8a)});return c})};L2.\u0275fac=function(a){return new (a||L2)(n(oE))};L2.\u0275prov=Pc({token:L2,factory:L2.\u0275fac,providedIn:"root"});var M2=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new vw;this.onEmptyQuery=new vw;this.searchQuery$=new T.Subject;this.teamSuggestions$=this.searchQuery$.pipe(Af(300),Df(),Qf(function(c){return dI(b.teamsService,c)}),B(function(c){return T8a(c)}))};M2.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};M2.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};
M2.prototype.displayFn=function(a){return a?a.name:""};M2.prototype.ngAfterViewInit=function(){};M2.\u0275fac=function(a){return new (a||M2)(A(cI))};
M2.\u0275cmp=r({type:M2,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&Sg(AN,7);if(a&2){var c;Rg(c=Ug())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},decls:7,vars:10,consts:[[1,"team-id-select"],["id","team-id","matInput","","type","text","autocomplete","off","aria-label","Team selection",3,"placeholder","ngModel","disabled",
"matAutocomplete","click","input"],["searchInput",""],[3,"panelWidth","displayWith","optionSelected"],["auto","matAutocomplete"],["class","team-search-result",3,"value",4,"ngFor","ngForOf"],[1,"team-search-result",3,"value"],[4,"ngFor","ngForOf"],[1,"description",3,"matTooltip"],[1,"path-names",3,"matTooltip","click"],["class","path-names-separator",4,"ngIf"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=t();D(0,"div",0)(1,"input",1,2);K("click",function(){v(c);var e=N(2);return w(b.search(e.value))})("input",
function(){v(c);var e=N(2);return w(b.search(e.value))});E();D(3,"mat-autocomplete",3,4);K("optionSelected",function(e){return b.updateSelectionOnChange(e)});O(5,S8a,6,8,"mat-option",5);R(6,"async");E()()}if(a&2){var d=N(4);z(1);zg("placeholder",b.placeholder);C("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);dg("aria-disabled",b.disabled);z(2);C("panelWidth",b.panelWidth)("displayWith",b.displayFn);z(2);C("ngForOf",S(6,8,b.teamSuggestions$))}},dependencies:[ax,bx,BN,AN,PA,qD,
yh,Ex,Lx,hx,ox],styles:["input[type=text][_ngcontent-%COMP%]{width:100%}.team-search-result[_ngcontent-%COMP%]{line-height:16px;border:1px solid;border-color:#dadce0;border-color:var(--divider);.path-names-separator-color:#202124;.path-names-separator-color:var(--text);.path-names-separator-font-size:.8125rem;.path-names-separator-font-weight:500}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;font-weight:500;overflow-wrap:break-word;white-space:pre-wrap}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link);text-decoration:underline}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]:first-of-type{margin-left:0}.team-search-result[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:.75rem;color:#5f6368;color:var(--muted);overflow:hidden;text-overflow:ellipsis}"],
changeDetection:0});var wt=function(a,b,c){this.pathIds=a;this.pathNames=b;this.id=a[a.length-1];this.name=b[b.length-1];this.description=c||"";this.teamPath=b.map(function(d,e){return new Yyc(a.slice(0,e+1),b.slice(0,e+1))})},Yyc=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var N2=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new vw;this.searchQuery$=new T.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(Af(300),Df(),Qf(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),B(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};N2.prototype.ngAfterViewInit=function(){};N2.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
N2.prototype.search=function(a){this.searchQuery$.next(a)};N2.\u0275fac=function(a){return new (a||N2)(A(jI))};
N2.\u0275cmp=r({type:N2,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&Sg(AN,7);if(a&2){var c;Rg(c=Ug())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},decls:6,vars:9,consts:[["id","tracker-id","type","text","autocomplete","off","aria-label","Tracker selection",3,"placeholder","ngModel","disabled","matAutocomplete","click","input"],["trackerSearchInput",""],[3,"displayWith",
"optionSelected"],["auto","matAutocomplete"],["class","tracker-search-result",3,"value",4,"ngFor","ngForOf"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=t();D(0,"input",0,1);K("click",function(){v(c);var e=N(1);return w(b.search(e.value))})("input",function(){v(c);var e=N(1);return w(b.search(e.value))});E();D(2,"mat-autocomplete",2,3);K("optionSelected",function(e){return b.updateSelectionOnChange(e)});O(4,U8a,3,2,"mat-option",4);R(5,"async");E()}if(a&
2){var d=N(3);C("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);dg("aria-disabled",b.disabled);z(2);C("displayWith",b.displayFn);z(2);C("ngForOf",S(5,7,b.trackerSuggestions$))}},dependencies:[ax,BN,AN,PA,yh,Ex,Lx,hx],styles:[".tracker-search-result.mat-option[_ngcontent-%COMP%]{line-height:normal;height:auto;padding:0 8px}.tracker-search-result.mat-option.mat-active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.tracker-search-result[_ngcontent-%COMP%]   .tracker-name[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;padding:4px 0;overflow-wrap:break-word;white-space:pre-wrap}"],
changeDetection:0});var O2=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M){Z.call(this);this.analytics=a;this.userApi=b;this.customFieldsApi=c;this.savedSearchApi=d;this.hotlistApi=e;this.trackerFridge=f;this.issueSearchResources=h;this.activeSession=l;this.elementRef=q;this.errorHandler=u;this.componentActions=x;this.teamsService=y;this.searchRuleConfigService=G;this.searchRuleFactory=J;this.cdr=M;this.isTrackerSearchEnabled=!1;this.availableLabels=[];this.expressions=[];this.components={};this.trackers={};this.teams={};this.hotlists=
{};this.savedSearches={};this.customFields={};this.userHotlists=[];this.userSavedSearches=[];this.trackerUnderEdit=this.teamUnderEdit=this.componentUnderEdit=this.chipUnderEdit=null;this.trackByIndex=function(V){return V};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=Zyc;this.globalTypeLabels=$yc;this.state="INIT"};X(O2,Z);O2.\u0275dir=Z.\u0275dir;
var azc=function(a){var b=[];ec(w2(a.searchRuleConfigService),function(c,d){"SAVED_SEARCH_ID"===d||"TRACKER_ID"===d&&!a.isTrackerSearchEnabled||"TEAM_ID"===d&&!a.sessionIsInternal||(c.name?b.push([d,c.name]):b.push([d,Qwa(d)]))},a);b.sort(function(c,d){return paa(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};O2.prototype.schedule=function(a){this.subscriptions.add(T.asyncScheduler.schedule(a))};O2.prototype.ngOnInit=function(){this.cdr.detectChanges()};
O2.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=azc(this))};
var dzc=function(a,b){a.reset();b?bzc(a,b):(a.expressions=czc.map(function(c){return a$a(a.searchRuleFactory,c)}),a.state="SUCCESS");a.userApi.getUserSavedSearches().then(function(c){a.userSavedSearches=c;c=m(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});a.userApi.getUserHotlists().then(function(c){a.userHotlists=c;c=m(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;a.cdr.detectChanges()});
a.cdr.detectChanges()},bzc=function(a,b){Xyc(a.issueSearchResources,b).then(function(c){if(c.syntaxError)return a.state="SYNTAX_ERROR",Lp(a.analytics,"adv-search","adv-search-syntax-error"),a.cdr.detectChanges(),null;a.expressionType=c.type;a.expressions=[];c=c.expressions.map(function(d){return ezc(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=m(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state="NOT_REPRESENTABLE",
Lp(a.analytics,"adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},ezc=function(a,b){b.label&&"TRACKER_ID"===b.label.field&&!a.isTrackerSearchEnabled&&(b.label.field="_TEXT_");b.label&&"TEAM_ID"===b.label.field&&!a.sessionIsInternal&&(b.label.field="_TEXT_");return b.label&&"CUSTOM_FIELD"===b.label.field&&void 0!==b.label.customFieldId?fzc(a,b.label.customFieldId).then(function(c){b.customField=
c;return gzc(a,b)}):Promise.resolve(gzc(a,b))},fzc=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},gzc=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;hzc(a,b);return b},hzc=function(a,b){switch(b.label.field){case "COMPONENT_ID":var c=m(b.values);for(b=c.next();!b.done;b=c.next())b=zj(b.value.value),a.components[b]||a.fetchComponent(b);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(c=
m(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.trackers[b]||izc(a,b);break;case "TEAM_ID":if(a.sessionIsInternal)for(c=m(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.teams[b]||jzc(a,b);break;case "SAVED_SEARCH_ID":c=m(b.values);for(b=c.next();!b.done;b=c.next())b=b.value,a.savedSearches[b.value]||a.savedSearchApi.get(b.value).then(function(d){a.savedSearches[d.searchId]=d});break;case "HOTLIST_ID":for(c=m(b.values),b=c.next();!b.done;b=c.next())b=b.value,a.hotlists[b.value]||
a.hotlistApi.get(b.value).then(function(d){a.hotlists[d.hotlistId]=d})}};O2.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.components[a]=c})};
var izc=function(a,b){a.trackerFridge.watch(b).pipe(Rf(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},jzc=function(a,b){dI(a.teamsService,b).pipe(B(function(c){return c.getTeamSuggestionsList()}),yf(function(){return(0,T.of)([])}),Rf(a.destroyed$)).subscribe(function(c){0<c.length?(c=c[0],a.teams[b]={id:c.getId(),pathNames:c.getPathNamesList(),name:c.getName(),description:c.getDescription()}):a.teams[b]={id:b,pathNames:[b],name:b,description:""}})},kzc=function(a){var b="AND"===a.expressionType?
" ":" | ";return yAb(a.expressions.map(function(c){return c.label?c.toString():""}),uCb).join(b)};O2.prototype.getState=function(){return this.state};O2.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var d$a=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=a$a(a.searchRuleFactory,d.field),b$a(a,a.expressions[b]));a.cdr.detectChanges()},b$a=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c?yt(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=Jyc(new jj)),b.dateTo||(b.dateTo=Jyc(new jj)))};O2.prototype.removeExpression=function(a){Ma(this.expressions,a);this.cdr.detectChanges()};
var yt=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?j9a(a,c):"TRACKER_ID"===b.label.field?q9a(a,c):"TEAM_ID"===b.label.field?x9a(a,c):At(a,c);a.cdr.detectChanges()},xt=function(a,b,c){Ma(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},At=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},j9a=function(a,b){At(a,b);a.componentUnderEdit=b.value?nj(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
q9a=function(a,b){At(a,b);a.trackerUnderEdit=b.value?nj(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},x9a=function(a,b){At(a,b);a.teamUnderEdit=b.value?nj(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},zt=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},z9a=function(a,b){Lp(a.analytics,Mp.SEARCH,"builder-autocomplete-select",
"team",isNaN(Number(b.id))?0:Number(b.id));a.chipUnderEdit.value=b.id;a.teams[b.id]=b;a.teamUnderEdit=null;zt(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};O2.prototype.getTypeLabel=function(a,b){var c,d;return(null==(c=this.typeLabels[a.label.field])?void 0:c[b])||(null==(d=this.typeLabels[a.getWidgetType()])?void 0:d[b])||this.typeLabels.DEFAULT[b]};
O2.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||a:""};
var $yc={AND:"Match all (AND)",OR:"Match any (OR)"},Zyc={DEFAULT:{AND:"All of",OR:"Any of",NOR:"Not all of",NAND:"None of",LT:"Before",GT:"After",LE:"On or before",GE:"On or after",DURATION:"Within (days)",NDURATION:"Not within (days)",RANGE:"Between",NRANGE:"Not between"},bool:{OR:"Is true",NAND:"Is false"},boolwithall:{OR:"Is true",NAND:"Is false",AND:"Include all"},text:{OR:"Matches any",NAND:"Doesn't match",AND:"Matches all"},date:{OR:"On"},number:{LT:"Less than",GT:"Greater than",LE:"Less or equal",
GE:"Greater or equal"}},czc=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];O2.\u0275fac=function(a){return new (a||O2)(A(LH),A(tH),A(EZ),A(RQ),A(oH),A(jI),A(L2),A(tu),A(Yd),A(qG),A($U),A(cI),A(B2),A(u2),A(HH,2))};
O2.\u0275cmp=r({type:O2,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Dg([HH]),$f,md],decls:1,vars:1,consts:[["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title"],["appearance","outline",4,"ngIf"],["class","bv2-adv-search-rule",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button","","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",
3,"matMenuTriggerFor"],[1,"mat-select-panel"],["newExpressionMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["appearance","outline"],[1,"bv2-adv-search-join-type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange","selectionChange"],["aria-label","Delete search rule",1,"bv2-remove-icon","keep-focus-ring",
"bv2-adv-search-rule-delete-btn",3,"click"],["class","bv2-adv-search-rule-content",4,"ngIf"],["class","bv2-adv-search-custom-field-label",4,"ngIf"],["class","bv2-adv-search-custom-field-selection",4,"ngIf"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-rule-content"],["class","bv2-adv-search-enum-rule",4,"ngIf"],[4,"ngIf"],["class","bv2-adv-search-chip-container",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",
4,"ngFor","ngForOf"],[1,"bv2-adv-search-enum-item"],[3,"checked","change"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"ngModel","bContactAutocomplete","ngModelChange"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModel","ngModelChange"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModel",
"ngModelChange"],["type","text","aria-label","Add the condition",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-chip-container"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],["mat-stroked-button","","class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],[1,"bv2-adv-search-chip-content"],["aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],["mat-stroked-button","",
1,"bv2-adv-search-chip-add-btn",3,"click"],[4,"ngFor","ngForOf"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["class","bv2-adv-search-chip-content bv2-adv-search-chip-content-btn",3,"title","click",4,"ngIf"],["class","bv2-adv-search-chip-content",4,"ngIf"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"title","click"],[3,"svgIcon"],["aria-label","Remove the value",1,"bv2-adv-search-chip-delete-btn",
"bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"title","click"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-search-component-picker",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["class","bv2-adv-search-chip bv2-adv-search-tracker-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"selectedTracker","onTrackerSelect"],["class","bv2-adv-search-chip bv2-adv-search-team-chip",
4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["role","switch","aria-label","Include subteams",1,"unstyled-button",3,"title","click"],[1,"bv2-search-team-picker",3,"teamSelected","onTeamSelect"],[3,"boundValue","isRequired","boundValueChange"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModel","ngModelChange"],["class","bv2-adv-search-chip bv2-adv-search-bookmark-item-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline",
"class","bv2-adv-search-bookmark-item-form-field",4,"ngIf"],["appearance","outline",1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],
[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&O(0,g$a,11,6,"div",0);a&2&&C("ngIf","SUCCESS"===b.getState())},dependencies:[ax,bx,EW,YW,yh,Ex,Xx,Lx,vY,NA,qB,OB,iD,gD,hD,EM,PA,QI,M2,N2,VW,mx,$J,aK],styles:['[_nghost-%COMP%]     .mat-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-select-value{max-width:unset;color:#5f6368;color:var(--muted);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:0.0107142857em;font-variant-ligatures:none}[_nghost-%COMP%]     mat-select .mat-select-arrow-wrapper{transform:unset}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0;padding:0}[_nghost-%COMP%]     .bv2-custom-field-picker{width:unset}.mat-form-field[_ngcontent-%COMP%]{margin-right:5px;text-align:center}.bv2-adv-search-rule-type[_ngcontent-%COMP%]{min-width:105px}.bv2-adv-search-title[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px;margin-right:5px;display:inline-block;min-width:254px}.bv2-adv-search-bookmark-item-chip[_ngcontent-%COMP%]{align-items:baseline}.bv2-adv-search-bookmark-item-form-field[_ngcontent-%COMP%]{text-align:left;width:100%}']});var P2=function(){};P2.\u0275fac=function(a){return new (a||P2)};P2.\u0275mod=fd({type:P2});P2.\u0275inj=Qc({imports:[px,CN,BM,lE,ay]});var Q2=function(){};Q2.\u0275fac=function(a){return new (a||Q2)};Q2.\u0275mod=fd({type:Q2});Q2.\u0275inj=Qc({imports:[px,CN,BM,lE,ay]});var R2=function(){};R2.\u0275fac=function(a){return new (a||R2)};R2.\u0275mod=fd({type:R2});R2.\u0275inj=Qc({imports:[px,FW,ZW,ay,FY,BD,rB,rD,uB,jD,FM,BM,gK,P2,Q2,XW]});var lzc=function(a){Y.call(this,a)};X(lzc,Y);g=lzc.prototype;g.getState=function(){return bk(this,2,0)};g.getTitle=function(){return lk(this,4)};g.setTitle=function(a){return k(this,4,a)};g.getDescription=function(){return lk(this,5)};g.setDescription=function(a){return k(this,5,a)};g.hasDescription=function(){return gm(this,5)};g.getLearnMoreLink=function(){return lk(this,6)};g.setLearnMoreLink=function(a){k(this,6,a)};var nzc=function(a){Y.call(this,a,-1,mzc)};X(nzc,Y);var mzc=[1];nzc.messageId="b.ListBeapFeaturesResponse";var S2=function(a){this.executor=a};S2.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:nzc}).pipe(B(function(a){return fj(a,lzc,1)}))};S2.\u0275fac=function(a){return new (a||S2)(n(nE))};S2.\u0275prov=Pc({token:S2,factory:S2.\u0275fac,providedIn:"root"});var T2=function(a){IF.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+gj(b,1)}};X(T2,IF);T2.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(B(function(a){return{results:a}}))};T2.\u0275fac=function(a){return new (a||T2)(n(S2))};T2.\u0275prov=Pc({token:T2,factory:T2.\u0275fac,providedIn:"root"});var U2=function(a){this.beapFridge=a};U2.prototype.getFeature=function(a){return ozc(this,"ALL").pipe(B(function(b){return b.find(function(c){return gj(c,1)===a})}))};var ozc=function(a,b){b=void 0===b?"ALL":b;var c="ALL"===b,d="TEAM_FOOD"===b?1:2;return a.beapFridge.watchMany({}).pipe(B(function(e){return e.results.filter(function(f){return c?!0:bk(f,3,0)===d})}))};U2.prototype.refresh=function(){this.beapFridge.pokeMany({})};U2.\u0275fac=function(a){return new (a||U2)(n(T2))};
U2.\u0275prov=Pc({token:U2,factory:U2.\u0275fac,providedIn:"root"});var V2=function(){};V2.\u0275fac=function(a){return new (a||V2)};
V2.\u0275cmp=r({type:V2,selectors:[["b-feature-stage-label"]],inputs:{featureStage:"featureStage"},decls:3,vars:3,consts:[[3,"ngSwitch"],["class","badged teamfood",4,"ngSwitchCase"],["class","badged early-access",4,"ngSwitchCase"],[1,"badged","teamfood"],[1,"badged","early-access"]],template:function(a,b){a&1&&(H(0,0),O(1,h$a,1,0,"div",1),O(2,i$a,1,0,"div",2),I());a&2&&(C("ngSwitch",b.featureStage),z(1),C("ngSwitchCase","TEAM_FOOD"),z(1),C("ngSwitchCase","EARLY_ACCESS"))},dependencies:[cx,dx],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var W2=function(a){var b=this;this.beapService=a;this.experimentId$=new T.ReplaySubject(1);this.featureState$=this.experimentId$.pipe(Qf(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(B(function(c){if(!c)return"UNKNOWN";c=bk(c,3,0);return 1===c?"TEAM_FOOD":2===c?"EARLY_ACCESS":"UNKNOWN"}))};W2.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};W2.prototype.ngOnInit=function(){};W2.\u0275fac=function(a){return new (a||W2)(A(U2))};
W2.\u0275cmp=r({type:W2,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[md],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(F(0,"b-feature-stage-label",0),R(1,"async"));if(a&2){var c;C("featureStage",null!==(c=S(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[V2,hx],encapsulation:2});var X2=function(){};X2.\u0275fac=function(a){return new (a||X2)};X2.\u0275mod=fd({type:X2});X2.\u0275inj=Qc({imports:[px]});var Y2=function(){};Y2.\u0275fac=function(a){return new (a||Y2)};Y2.\u0275mod=fd({type:Y2});Y2.\u0275inj=Qc({imports:[px,X2]});var Z2=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},j$a=function(a){op(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};Z2.\u0275fac=function(a){return new (a||Z2)(A(JI))};
Z2.\u0275cmp=r({type:Z2,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},decls:2,vars:2,consts:[["mat-icon-button","","class","gmat-button","aria-label","Open release notes in a new tab",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","","aria-label","Open release notes in a new tab",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Open release notes in a new tab",1,"gmat-button",3,"matTooltip","click"],[3,"svgIcon"],["mat-menu-item",
"","aria-label","Open release notes in a new tab",3,"click"]],template:function(a,b){a&1&&(O(0,k$a,3,3,"button",0),O(1,l$a,2,1,"button",1));a&2&&(C("ngIf",!b.menuMode),z(1),C("ngIf",b.menuMode))},dependencies:[bx,OB,NA,gD,qD],styles:["[_nghost-%COMP%] { display: flex; }"]});var a3=function(a,b,c){Z.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.density="COMFORTABLE";this.enableWhatsNewDialog=Qp(a,"enableWhatsNewDialog");this.enableBeap=Qp(a,"enableBeap")};X(a3,Z);a3.\u0275dir=Z.\u0275dir;g=a3.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(Rf(this.destroyed$)).subscribe(function(b){if(null==b?0:b.themePreferences)a.density=b.themePreferences.density})};g.setDensity=function(a){this.appsEvents.topBarEvents.setDensity.next(a)};
g.browseComponents=function(a){this.appsEvents.topBarEvents.browseComponents.next({newTab:a.ctrlKey||a.metaKey})};g.manageHotlists=function(a){this.appsEvents.topBarEvents.manageHotlists.next({newTab:a.ctrlKey||a.metaKey})};g.manageSlos=function(a){this.appsEvents.topBarEvents.manageSlos.next({newTab:a.ctrlKey||a.metaKey})};g.showSettings=function(a){this.appsEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey})};a3.\u0275fac=function(a){return new (a||a3)(A(tu),A(uG),A(CI))};
a3.\u0275cmp=r({type:a3,selectors:[["b-app-settings-menu"]],features:[$f],decls:28,vars:13,consts:[["mat-icon-button","","matTooltip","Settings","aria-label","Settings",1,"gmat-button",3,"disabled","matMenuTriggerFor"],["svgIcon","settings-outline",1,"icon-m"],["settingsMenu","matMenu"],[1,"b-menu-header"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to comfortable",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role",
"menuitemcheckbox","aria-label","set display density to cozy",3,"click"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to compact",3,"click"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click",4,"internalOnly"],["mat-menu-item","","href","/settings/early-access",4,"ngIf"],[4,"ngIf"],["mat-menu-item","","href","/settings/early-access"],["featureStage","TEAM_FOOD","matTooltip","Teamfood"],["buttonLabel","Release Notes",3,"menuMode"]],template:function(a,b){a&
1&&(D(0,"button",0),F(1,"mat-icon",1),E(),D(2,"mat-menu",null,2)(4,"div",3),P(5,"Display Density"),E(),D(6,"button",4),K("click",function(){return b.setDensity("COMFORTABLE")}),D(7,"span",5),F(8,"mat-icon",6),E(),P(9," Comfortable "),E(),D(10,"button",7),K("click",function(){return b.setDensity("COZY")}),D(11,"span",5),F(12,"mat-icon",6),E(),P(13," Cozy "),E(),D(14,"button",8),K("click",function(){return b.setDensity("COMPACT")}),D(15,"span",5),F(16,"mat-icon",6),E(),P(17," Compact "),E(),F(18,"mat-divider"),
D(19,"button",9),K("click",function(d){return b.browseComponents(d)}),P(20,"Browse components"),E(),D(21,"button",9),K("click",function(d){return b.manageHotlists(d)}),P(22,"Manage hotlists"),E(),O(23,m$a,2,0,"button",10),D(24,"button",9),K("click",function(d){return b.showSettings(d)}),P(25,"Settings"),E(),O(26,n$a,3,0,"a",11),O(27,o$a,3,1,"ng-container",12),E());if(a&2){var c=N(3);C("disabled",b.session.isAnonymous())("matMenuTriggerFor",c);z(6);pg("b-menu-item-checked","COMFORTABLE"===b.density);
dg("aria-checked","COMFORTABLE"===b.density);z(4);pg("b-menu-item-checked","COZY"===b.density);dg("aria-checked","COZY"===b.density);z(4);pg("b-menu-item-checked","COMPACT"===b.density);dg("aria-checked","COMPACT"===b.density);z(12);C("ngIf",b.enableBeap);z(1);C("ngIf",b.enableWhatsNewDialog)}},dependencies:[bx,iD,gD,hD,NA,WQ,qD,OB,Z2,VT,V2],encapsulation:2,changeDetection:0});var b3=function(a){this.theme=a;this.isDark=!1;this.iconName="brightness-4"};b3.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();pzc(this)};var pzc=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"brightness-4"};b3.\u0275fac=function(a){return new (a||b3)(A(uR))};
b3.\u0275cmp=r({type:b3,selectors:[["theme-change-btn"]],decls:2,vars:1,consts:[["mat-icon-button","","matTooltip","Change theme","aria-label","Change the application's visual theme",3,"click"],[3,"svgIcon"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&c.clientStreamzService.logUsageMetric("toggleDarkmode",!c.clientDarkmodeSubject.getValue());a8b(c,!c.clientDarkmodeSubject.getValue());
pzc(b)}),F(1,"mat-icon",1),E());a&2&&(z(1),C("svgIcon",b.iconName))},dependencies:[NA,OB,qD],encapsulation:2});var c3=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=Qp(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=Qp(a,"majorReleaseNotesUpdated")};c3.\u0275fac=function(a){return new (a||c3)(A(tu),A(wR),A(JI),A(hJ))};
c3.\u0275cmp=r({type:c3,selectors:[["b-app-actions"]],decls:6,vars:1,consts:[["id","whatsNewButton",3,"alertMode",4,"ngIf"],["mat-icon-button","","class","gmat-button feedback-button","matTooltip","Send feedback","aria-label","send feedback",3,"click",4,"internalOnly"],["mat-icon-button","","matTooltip","Help","aria-label","help",1,"gmat-button",3,"click"],["svgIcon","help-outline"],["id","whatsNewButton",3,"alertMode"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",
1,"gmat-button","feedback-button",3,"click"],["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(F(0,"theme-change-btn"),O(1,p$a,1,1,"b-whats-new-button",0),O(2,q$a,2,0,"button",1),D(3,"button",2),K("click",function(){var c=b.domSafe,d=c.openInNewTab;var e=b.docLinks;e=e.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide":e.baseDocumentationUrl;d.call(c,e)}),F(4,"mat-icon",3),E(),F(5,"b-app-settings-menu"));a&2&&(z(1),C("ngIf",b.enableWhatsNewDialog))},
dependencies:[bx,NA,qD,OB,Z2,VT,b3,a3],styles:["[_nghost-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;color:#5f6368;color:var(--icon)}.new-feature-link[_ngcontent-%COMP%]{color:#3c4043;color:var(--c800)}\n/*# sourceMappingURL=app_actions.css.map */"],changeDetection:0});var d3=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};d3.\u0275fac=function(a){return new (a||d3)(A(qN),A(oT))};
d3.\u0275cmp=r({type:d3,selectors:[["tracker-switcher"]],inputs:{associatedTrackers:"associatedTrackers"},decls:7,vars:3,consts:[["mat-icon-button","","matTooltip","Tracker menu",1,"tracker-menu-button",3,"matMenuTriggerFor","menuOpened","menuClosed"],["svgIcon","arrow-dropdown"],["xPosition","before"],["trackerMenu","matMenu"],[1,"tracker-menu-label"],["mat-menu-item","","role","menuitemcheckbox",3,"value","click",4,"ngFor","ngForOf"],["mat-menu-item","","role","menuitemcheckbox",3,"value","click"],
["alt","Tracker Logo Image",1,"tracker-menu-item-logo",3,"src"],[1,"tracker-menu-item-name"]],template:function(a,b){a&1&&(D(0,"button",0),K("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),F(1,"mat-icon",1),E(),D(2,"mat-menu",2,3)(4,"span",4),P(5,"Select a tracker"),E(),O(6,r$a,4,4,"button",5),E());if(a&2){var c=N(3);C("matMenuTriggerFor",c);dg("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");z(6);C("ngForOf",
b.associatedTrackers)}},dependencies:[ax,NA,OB,iD,gD,hD,qD],styles:[".tracker-menu-button[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx)}mat-icon[_ngcontent-%COMP%]{line-height:0}.tracker-menu-label[_ngcontent-%COMP%]{display:inline-block;padding:8px}.mat-menu-item[_ngcontent-%COMP%]{max-width:none;height:auto;overflow:visible;padding:8px 25px}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0px}.tracker-menu-item-logo[_ngcontent-%COMP%]{height:40px;vertical-align:middle;width:40px;margin-right:12px}.tracker-menu-item-name[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);font-size:.8125rem;white-space:nowrap}\n/*# sourceMappingURL=tracker_switcher.css.map */"],
changeDetection:0});var t$a=function(a){return[a]},u$a=function(){return[]},e3=function(a){this.activeSession=a;this.clickMenu=new vw;this.showMenu=!1;this.clickLogo=new vw;this.chips=[]};e3.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};e3.\u0275fac=function(a){return new (a||e3)(A(tu))};
e3.\u0275cmp=r({type:e3,selectors:[["app-logo"]],inputs:{imgSrc:"imgSrc",imgSrcDark:"imgSrcDark",href:"href",name:"name",chips:"chips"},outputs:{clickMenu:"clickMenu",clickLogo:"clickLogo"},ngContentSelectors:["*"],decls:8,vars:6,consts:[["mat-icon-button","","class","menu","aria-label","Expand/Collapse Navigation",3,"click",4,"ngIf"],[3,"click"],["alt","",1,"logo","light",3,"src"],["alt","",1,"logo","dark",3,"src"],["class","b-chip",3,"ngClass",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label",
"Expand/Collapse Navigation",1,"menu",3,"click"],["svgIcon","menu-18px"],[1,"b-chip",3,"ngClass"]],template:function(a,b){a&1&&(wg(),O(0,s$a,2,0,"button",0),D(1,"a",1),K("click",function(){return b.clickLogo.emit()}),F(2,"img",2)(3,"img",3),D(4,"h1"),P(5),E()(),xg(6),O(7,v$a,2,5,"output",4));a&2&&(C("ngIf",b.showMenu),z(1),dg("href",b.href?b.href:void 0,ue),z(1),C("src",b.imgSrc,ue),z(1),C("src",b.imgSrcDark||b.imgSrc,ue),z(2),Bg(b.name),z(2),C("ngForOf",b.chips))},dependencies:[$w,ax,bx,NA,OB],styles:['[_nghost-%COMP%]{box-sizing:border-box;height:48px;padding:0 16px;min-width:300px}[_nghost-%COMP%], a[_ngcontent-%COMP%]{display:flex;align-items:center}.menu[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);margin-right:12px}.logo[_ngcontent-%COMP%]{width:30px;height:30px;padding:3px;margin-right:12px}h1[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;color:#3c4043;color:var(--gfx);font-size:1.375rem;font-weight:normal;display:inline-block;margin:0;padding:0;margin-right:8px;white-space:nowrap}.dark-mode   [_nghost-%COMP%]     .logo{filter:brightness(1.1) contrast(1.3)}.logo.dark[_ngcontent-%COMP%]{display:none}.dark-mode   [_nghost-%COMP%]     .logo.light{display:none}.dark-mode   [_nghost-%COMP%]     .logo.dark{display:inline-block}\n/*# sourceMappingURL=app_logo.css.map */'],
changeDetection:0});var qzc=function(){return[]},f3=function(a){this.events=a;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};f3.prototype.ngOnInit=function(){var a="QA"===this.environmentType?"INTERNAL"===this.frontendAccessMode||"PARTNER"===this.frontendAccessMode?"QA":"sandbox":"NIGHTLY"===this.environmentType?"nightly":"DEV"===this.environmentType?"dev":"";a&&this.chips.push({name:a,color:"purple"})};
f3.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};f3.prototype.getAppName=function(){if(this.tracker)return this.tracker.name;switch(this.frontendAccessMode){case "INTERNAL":return"Buganizer";case "PARTNER":return"Partner IssueTracker";case "PUBLIC":return"IssueTracker";default:Qi(this.frontendAccessMode,"unknown frontend access mode.")}};
Ei.Object.defineProperties(f3.prototype,{useNewLogo:{configurable:!0,enumerable:!0,get:function(){return"INTERNAL"===this.frontendAccessMode}},imgSrc:{configurable:!0,enumerable:!0,get:function(){var a=this.useNewLogo?"https://www.gstatic.com/buganizer/img/v3/logo_light.svg":"https://www.gstatic.com/buganizer/img/v0/logo.svg",b,c;return(null==(b=this.tracker)?void 0:null==(c=b.branding)?void 0:c.logoUrl)||a}},imgSrcDark:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.tracker)?
void 0:null==(b=a.branding)?void 0:b.logoUrl)||"https://www.gstatic.com/buganizer/img/v3/logo_dark.svg"}}});f3.\u0275fac=function(a){return new (a||f3)(A(uG))};
f3.\u0275cmp=r({type:f3,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[md],decls:2,vars:7,consts:[[3,"name","href","chips","imgSrc","imgSrcDark","clickMenu"],[3,"associatedTrackers",4,"ngIf"],[3,"associatedTrackers"]],template:function(a,b){a&1&&(D(0,"app-logo",0),K("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),O(1,w$a,1,1,"tracker-switcher",
1),E());if(a&2){var c;C("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);z(1);C("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:Fg(6,qzc)).length)}},dependencies:[bx,e3,d3],encapsulation:2,changeDetection:0});var g3=function(){this.isActive=!1;this.optionClicked=new vw};g3.prototype.ngOnInit=function(){};g3.prototype.onClick=function(){this.optionClicked.emit(this.index)};g3.\u0275fac=function(a){return new (a||g3)};
g3.\u0275cmp=r({type:g3,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&K("click",function(){return b.onClick()});a&2&&pg("active",b.isActive)},inputs:{isActive:"isActive",index:"index"},outputs:{optionClicked:"optionClicked"},ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"content","gmat-subtitle-2"]],template:function(a){a&1&&(wg(),D(0,"div",0),xg(1),E())},styles:["[_nghost-%COMP%]{cursor:pointer;display:flex;position:relative}.active[_nghost-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}[_nghost-%COMP%]:hover:not(.active){background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.content[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;padding:8px 16px 8px 36px;text-overflow:ellipsis}.mat-ripple[_ngcontent-%COMP%]{pointer-events:none;position:absolute;height:100%;width:100%}\n/*# sourceMappingURL=app_search_auto_complete_option.css.map */"],
changeDetection:0});var h3=function(a,b){this.ref=a;this.hostElement=b;this.items=[];this.header=null;this.itemSelected=new vw;this.activeItemChanged=new vw;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component team tracker".split(" ")};h3.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};h3.prototype.ngAfterViewInit=function(){};var X$a=function(a){var b=L(3);eab(a);b.itemSelected.emit(a)};
h3.prototype.setNextItemActive=function(){0<this.items.length&&null!=this.activeItemIndex&&(this.activeItemIndex=(this.activeItemIndex+1)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),rzc(this))};
h3.prototype.setPreviousItemActive=function(){0<this.items.length&&null!=this.activeItemIndex&&(this.activeItemIndex=(this.activeItemIndex-1+this.items.length)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),rzc(this))};var szc=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};h3.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var tzc=function(a){if(null!=a.activeItemIndex&&a.itemElements){var b,c;return null!=(c=null==(b=a.itemElements.get(a.activeItemIndex))?void 0:b.nativeElement.id)?c:void 0}},rzc=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&Ffc(b.nativeElement,a.hostElement.nativeElement)},eab=function(a){Wo(Mp.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};h3.\u0275fac=function(a){return new (a||h3)(A(HH,2),A(Yd))};
h3.\u0275cmp=r({type:h3,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&Sg(g3,5,Yd);if(a&2){var c;Rg(c=Ug())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Dg([HH]),md],decls:3,vars:2,consts:[["class","header gmat-caption",4,"ngIf"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive","optionClicked",
4,"ngFor","ngForOf"],[1,"header","gmat-caption"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["role","option",3,"index","isActive","optionClicked"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"title","click"]],template:function(a,b){a&1&&(O(0,R$a,
7,6,"div",0),D(1,"div",1),O(2,fab,9,11,"b-app-search-auto-complete-option",2),E());a&2&&(C("ngIf",b.header&&b.header.type),z(2),C("ngForOf",b.items))},dependencies:[ax,bx,ML,kO,g3,ix],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto}.header[_ngcontent-%COMP%]{padding:4px 16px 4px 36px}.item-description[_ngcontent-%COMP%]{display:block;margin-top:5px}span[role=button][_ngcontent-%COMP%]{cursor:pointer}span[role=button][_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=app_search_auto_complete_list.css.map */"],
changeDetection:0});var uzc=["box"],vzc=["initialFocus"],wzc=["finalFocus"],i3=function(a,b,c){this.documentationLinks=a;this.appSearchState=b;this.activeSession=c;this.placeholder="";this.isSearchDisabled=!1;this.autoCompleteItems=[];this.autoCompleteHeader=null;this.onAdvancedSearchOpen=new vw;this.onAdvancedSearchClose=new vw;this.onAdvancedSearchSubmit=new vw;this.onSaveSearch=new vw;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new T.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(B(function(d){return d.query}));this.autoCompleteItemSelected$=new T.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
i3.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(Tf(this.currentQuery$),Rf(this.destroyed$)).subscribe(function(b){var c=m(b);b=c.next().value;c=c.next().value;b=b.completionCfg;a.appSearchState.queryState$.next({query:c.slice(0,b.startIdx)+b.completionValue+c.slice(b.endIdx),cursorPosition:null!=b.cursorIdx?b.cursorIdx:null==b.startIdx?b.completionValue.length:b.startIdx+b.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
i3.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(sf(function(b){return!b.setViaInteraction}),Rf(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,dfc(b)&&(b.selectionStart=c,b.selectionEnd=c))})};i3.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var xzc=function(a){a.appSearchState.searchTriggered$.next("keyboard")},yzc=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
i3.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!j3(this))return;zzc(this);break;case "ArrowUp":if(!j3(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!j3(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!j3(this)){yzc(this,this.inputBox.nativeElement.value);return}szc(this.acList);break;case "ArrowLeft":yzc(this,this.inputBox.nativeElement.value);return;case "Enter":j3(this)?null!=this.acList.activeItemIndex?szc(this.acList):
xzc(this):xzc(this);break;default:return}a.preventDefault();a.stopPropagation()};i3.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();Azc(this)};i3.prototype.getCursorPosition=function(){var a=efc(this.inputBox.nativeElement,!0)[0];if(a===efc(this.inputBox.nativeElement,!1)[1])return a};
var zzc=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},Azc=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},j3=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},Bzc=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},Czc=function(a){return"advanced_search"===a.dropdownStatus};
i3.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",Azc(this))};var Dzc=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},gab=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};i3.\u0275fac=function(a){return new (a||i3)(A(hJ),A(oT),A(tu))};
i3.\u0275cmp=r({type:i3,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(Sg(h3,7),Sg(uzc,5),Sg(vzc,7,Yd),Sg(wzc,7));if(a&2){var c;Rg(c=Ug())&&(b.acList=c.first);Rg(c=Ug())&&(b.inputBox=c.first);Rg(c=Ug())&&(b.advancedSearchInitialFocus=c.first);Rg(c=Ug())&&(b.advancedSearchFinalFocus=c.first)}},inputs:{placeholder:"placeholder",isSearchDisabled:"isSearchDisabled",autoCompleteItems:"autoCompleteItems",autoCompleteHeader:"autoCompleteHeader"},outputs:{onAdvancedSearchOpen:"onAdvancedSearchOpen",
onAdvancedSearchClose:"onAdvancedSearchClose",onAdvancedSearchSubmit:"onAdvancedSearchSubmit",onSaveSearch:"onSaveSearch"},ngContentSelectors:["*"],decls:24,vars:19,consts:[[1,"search-form-container",3,"clickOutside"],[1,"search-box-container"],["mat-icon-button","","aria-label","Search","matTooltip","Search",3,"click"],["svgIcon","search",1,"icon-m"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","6","aria-label","Search issues",
"role","combobox","aria-autocomplete","list","aria-haspopup","true","aria-owns","b-search-box-autocomplete",1,"search-box",3,"placeholder","keydown","input","click","focus"],["box",""],["mat-icon-button","","aria-label","Show search options","matTooltip","Show search options",3,"click"],["svgIcon","arrow-dropdown",1,"icon-m"],["role","search",1,"search-dropdown"],[3,"items","header","itemSelected"],[1,"advanced-search"],["align","right",1,"advanced-search-header"],["mat-icon-button","","aria-label",
"Close advanced search","matTooltip","Close advanced search",1,"gmat-button",3,"disabled","keydown","click"],["initialFocus",""],["svgIcon","close",1,"icon-s"],["cdkScrollable","",1,"advanced-search-content"],[1,"advanced-search-footer"],["mat-flat-button","",1,"gmat-button","medium",3,"disabled","click"],["target","_blank",1,"keep-underline","search-help-link"],["svgIcon","pop-out",1,"icon-xs"],["class","save-search-container",4,"ngIf"],[1,"save-search-container"],["type","text","aria-label","Enter the name for saving this search.",
"placeholder","Save search as",3,"ngModel","ngModelChange","keydown.Tab","keydown.enter"],["finalFocus",""],["mat-icon-button","","aria-label","Save search","matTooltip","Save search",1,"gmat-button",3,"disabled","click"],["svgIcon","saved-search-18px",1,"icon-s"]],template:function(a,b){if(a&1){var c=t();wg();D(0,"div",0);K("clickOutside",function(){zzc(b)});D(1,"div",1)(2,"button",2);K("click",function(){return xzc(b)});F(3,"mat-icon",3);E();D(4,"textarea",4,5);K("keydown",function(d){return b.handleKeydown(d)})("input",
function(){v(c);var d=N(5);return w(yzc(b,d.value))})("click",function(){v(c);var d=N(5);return w(yzc(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});E();D(6,"button",6);K("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});F(7,"mat-icon",7);E()();D(8,"aside",8)(9,"b-app-search-auto-complete-list",9);K("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});E();D(10,"div",10)(11,"div",11)(12,"button",12,13);K("keydown",function(d){return Dzc(b,
d)})("click",function(){return Azc(b)});F(14,"mat-icon",14);E()();D(15,"div",15);xg(16);E();D(17,"div",16)(18,"button",17);K("click",function(){return b.submitAdvancedSearch()});P(19," Search ");E();D(20,"a",18);P(21,"Search help ");F(22,"mat-icon",19);E();O(23,hab,5,2,"div",20);E()()()()}a&2&&(pg("dropdown-opened",j3(b)||Bzc(b)||Czc(b)),z(1),pg("hidden",Czc(b)),z(3),C("placeholder",b.placeholder),dg("aria-activedescendant",tzc(b.acList))("aria-expanded",j3(b)||Bzc(b)),z(4),pg("advanced-search-open",
Czc(b)),z(1),pg("hidden",!(j3(b)||Bzc(b))),C("items",b.autoCompleteItems)("header",b.autoCompleteHeader),z(1),pg("hidden",!Czc(b)),z(2),C("disabled",b.isSearchDisabled),z(6),C("disabled",b.isSearchDisabled),z(2),dg("href",b.searchHelpLink,ue),z(3),C("ngIf",!b.isAnonymous))},dependencies:[bx,Mz,NA,qD,OB,yh,Ex,Lx,HI,iB,h3],styles:['[_nghost-%COMP%]{display:flex;align-items:center;flex-grow:1;position:relative;min-width:320px;height:40px}.search-form-container[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#f1f3f4;background-color:var(--main-search-bg);border-radius:8px;max-width:800px;min-width:320px;overflow:hidden;top:0;transition:all .1s ease-in-out;transition-property:box-shadow,height,max-height,overflow;width:100%}.search-box-container[_ngcontent-%COMP%]{display:flex;flex-grow:1;width:calc(100% - 8px * 2);min-height:40px;height:auto}.search-dropdown[_ngcontent-%COMP%]{max-height:0;overflow:hidden;top:40px;width:100%;transition:max-height .2s ease-in-out}.search-form-container.dropdown-opened[_ngcontent-%COMP%]   .search-dropdown[_ngcontent-%COMP%]{max-height:600px;padding-bottom:6px}.search-dropdown[_ngcontent-%COMP%]{padding-bottom:0}.search-form-container[_ngcontent-%COMP%]:focus-within, .search-form-container.dropdown-opened[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);background-color:#fff;background-color:var(--surface-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   textarea[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   input[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:not(:focus-within):not(.dropdown-opened)   textarea[_ngcontent-%COMP%]{height:auto !important;overflow:hidden}.mat-icon-button[_ngcontent-%COMP%]{height:24px;width:24px;line-height:24px}.search-box-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.search-box-container[_ngcontent-%COMP%]   .mat-icon-button[_ngcontent-%COMP%]{margin-top:8px}textarea[_ngcontent-%COMP%]{border:0;background-color:initial;outline:none;resize:none;padding:0;cursor:auto;color:#202124;color:var(--text-high-contrast);margin:10px 0;margin-left:5px;height:20px;line-height:20px;width:100%;overflow:auto}textarea[_ngcontent-%COMP%]:focus{border:0;padding:0;outline:none}textarea[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:rgba(0,0,0,0);border-radius:10px;border:0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:vertical{margin:5px 0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:horizontal{margin:0 5px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;background-color:rgba(0,0,0,.2)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0,.5)}.advanced-search[_ngcontent-%COMP%]{padding:6px 6px 0 6px}.advanced-search-content[_ngcontent-%COMP%]{overflow:auto;max-height:532px}.advanced-search-footer[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.search-help-link[_ngcontent-%COMP%]{margin-left:10px}.save-search-container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-left:auto;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:2px;padding:0 5px}.save-search-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:0;outline:none}[_nghost-%COMP%]     .bv2-adv-search-rule{background-color:#fff;background-color:var(--surface-default);display:flex;border-radius:10px;width:initial}[_nghost-%COMP%]     .bv2-adv-search-rule-title{display:flex}[_nghost-%COMP%]     .bv2-adv-search-rule-content{flex-grow:1;padding-right:25px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-enum-item{min-width:130px;max-width:130px}[_nghost-%COMP%]     .bv2-adv-search-chip-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);outline:0}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select{border-radius:5px;letter-spacing:0;min-width:105px;padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select .goog-flat-menu-button-dropdown{border:0;height:initial;margin-top:initial;position:relative;right:initial;top:initial;width:initial}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled){border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#3c4043;color:var(--gfx);padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):hover, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):active, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):not(.mdc-ripple-upgraded):focus{padding-right:24px;border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default);box-shadow:none}[_nghost-%COMP%]     .goog-flat-menu-button.goog-flat-menu-button-open.jfk-select{background-color:#fff;background-color:var(--surface-default)}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override), [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);height:28px;margin:0;padding-left:10px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override):focus, [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override):focus{border-color:#3c4043;border-color:var(--gfx);outline:0}[_nghost-%COMP%]     .bv2-adv-search-chip-add-btn{margin-right:20px}[_nghost-%COMP%]     .bv2-adv-search-chip{display:inline-flex;align-items:center;border:none;background-color:#fff;background-color:var(--surface-default);height:32px;width:100%;margin-bottom:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-container{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content{width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content input[type=text]:not(.override){width:calc(100% - 10px)}[_nghost-%COMP%]     .bv2-adv-search-chip-content .bv2-adv-search-chip-delete-btn{margin-left:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-content-selectable .goog-flat-menu-button{height:32px;margin:0;width:100%;text-align:left}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn{display:inline-flex;align-items:center;font-family:"Google Sans",Roboto,Arial,sans-serif;height:32px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:5px;box-sizing:border-box;color:#3c4043;color:var(--gfx)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:hover, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:active, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:focus{border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:after{margin-left:auto;content:"";width:16px;height:16px;background:no-repeat url("https://www.gstatic.com/buganizer/img/v0/edit.svg") 0 -2px;margin-right:5px;opacity:.6}[_nghost-%COMP%]     .bv2-adv-search-chip-content-text{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;line-height:1rem;padding-left:12px;vertical-align:middle}\n/*# sourceMappingURL=app_search_box.css.map */'],
changeDetection:0});var k3=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new vw;this.searchBoxOnAdvancedSearchClose=new vw;this.searchBoxOnAdvancedSearchSubmit=new vw;this.searchBoxOnSaveSearch=new vw};k3.\u0275fac=function(a){return new (a||k3)(A(qN))};
k3.\u0275cmp=r({type:k3,selectors:[["b-app-top-bar"]],inputs:{logoEnvironmentType:"logoEnvironmentType",logoFrontendAccessMode:"logoFrontendAccessMode",isSearchDisabled:"isSearchDisabled",searchBoxPlaceholder:"searchBoxPlaceholder",searchBoxAutoCompleteItems:"searchBoxAutoCompleteItems",searchBoxAutoCompleteHeader:"searchBoxAutoCompleteHeader"},outputs:{searchBoxOnAdvancedSearchOpen:"searchBoxOnAdvancedSearchOpen",searchBoxOnAdvancedSearchClose:"searchBoxOnAdvancedSearchClose",searchBoxOnAdvancedSearchSubmit:"searchBoxOnAdvancedSearchSubmit",
searchBoxOnSaveSearch:"searchBoxOnSaveSearch"},ngContentSelectors:["*"],decls:6,vars:12,consts:[[3,"environmentType","frontendAccessMode","tracker","associatedTrackers"],[3,"placeholder","autoCompleteItems","autoCompleteHeader","isSearchDisabled","onAdvancedSearchOpen","onAdvancedSearchClose","onAdvancedSearchSubmit","onSaveSearch"]],template:function(a,b){a&1&&(wg(),F(0,"b-app-logo",0),R(1,"async"),R(2,"async"),D(3,"b-app-search-box",1),K("onAdvancedSearchOpen",function(){return b.searchBoxOnAdvancedSearchOpen.emit()})("onAdvancedSearchClose",
function(){return b.searchBoxOnAdvancedSearchClose.emit()})("onAdvancedSearchSubmit",function(){return b.searchBoxOnAdvancedSearchSubmit.emit()})("onSaveSearch",function(c){return b.searchBoxOnSaveSearch.emit(c)}),xg(4),E(),F(5,"b-app-actions"));a&2&&(C("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",S(1,8,b.currentTracker.tracker$))("associatedTrackers",S(2,10,b.currentTracker.associatedTrackers$)),z(3),C("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",
b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[f3,c3,i3,hx],styles:["[_nghost-%COMP%]{display:flex;align-items:center}b-app-search-box[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:center}\n/*# sourceMappingURL=app_top_bar.css.map */"],changeDetection:0});var l3=function(){};l3.\u0275fac=function(a){return new (a||l3)};l3.\u0275mod=fd({type:l3});l3.\u0275inj=Qc({imports:[px,gB,BD,wN]});var m3=function(){};m3.\u0275fac=function(a){return new (a||m3)};m3.\u0275mod=fd({type:m3});m3.\u0275inj=Qc({imports:[px,BD,rD,jD,lE]});var n3=function(){};n3.\u0275fac=function(a){return new (a||n3)};n3.\u0275mod=fd({type:n3});n3.\u0275inj=Qc({imports:[px,rD,BD,jD,lE]});var o3=function(){};o3.\u0275fac=function(a){return new (a||o3)};o3.\u0275mod=fd({type:o3});o3.\u0275inj=Qc({imports:[px,BD,rD,lE]});var p3=function(){};p3.\u0275fac=function(a){return new (a||p3)};p3.\u0275mod=fd({type:p3});p3.\u0275inj=Qc({providers:[uR]});var q3=function(){};q3.\u0275fac=function(a){return new (a||q3)};q3.\u0275mod=fd({type:q3});q3.\u0275inj=Qc({imports:[px,BD,rD,lE,p3]});var r3=function(){};r3.\u0275fac=function(a){return new (a||r3)};r3.\u0275mod=fd({type:r3});r3.\u0275inj=Qc({imports:[px,jD,BD,XQ,lE,rD,Tz,ay,II,n3,XT,o3,gN,kB,X2,q3,l3,m3,IP]});var s3=function(){};s3.\u0275fac=function(a){return new (a||s3)};s3.\u0275mod=fd({type:s3});s3.\u0275inj=Qc({imports:[px,BD,gB]});var t3=function(){};t3.\u0275fac=function(a){return new (a||t3)};t3.\u0275mod=fd({type:t3});t3.\u0275inj=Qc({imports:[px,ay,BD,uB,rB,gB,XW]});var u3=function(){this.cardTitle="";this.dropdownOptions=[];this.inheritedDisabled=this.isInherited=this.showInheritedToggle=this.showDeleteButton=this.showRequiredToggle=this.isSaveButtonDisabled=this.disabled=this.selected=!1;this.inheritedDisabledTooltipText="";this.placeholderForCardTitle="Enter the card title (Required)";this.ariaLabelForCardTitle="Card title";this.dropdownSelectionChanged=new vw;this.selectedChange=new vw;this.cardTitleChange=new vw;this.onSaveButtonClicked=new vw;this.onCancelButtonClicked=
new vw;this.isInheritedChange=new vw;this.isExpanded=!1};u3.prototype.expand=function(){this.isExpanded=!0};u3.prototype.collapse=function(){this.isExpanded=!1};u3.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};u3.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};u3.\u0275fac=function(a){return new (a||u3)};
u3.\u0275cmp=r({type:u3,selectors:[["b-collapsible-card"]],inputs:{cardTitle:"cardTitle",dropdownOptions:"dropdownOptions",selectedOption:"selectedOption",selected:"selected",disabled:"disabled",isSaveButtonDisabled:"isSaveButtonDisabled",showRequiredToggle:"showRequiredToggle",showDeleteButton:"showDeleteButton",showInheritedToggle:"showInheritedToggle",isInherited:"isInherited",inheritedDisabled:"inheritedDisabled",inheritedDisabledTooltipText:"inheritedDisabledTooltipText",placeholderForCardTitle:"placeholderForCardTitle",
ariaLabelForCardTitle:"ariaLabelForCardTitle"},outputs:{dropdownSelectionChanged:"dropdownSelectionChanged",selectedChange:"selectedChange",cardTitleChange:"cardTitleChange",onSaveButtonClicked:"onSaveButtonClicked",onCancelButtonClicked:"onCancelButtonClicked",isInheritedChange:"isInheritedChange"},ngContentSelectors:["*"],decls:11,vars:14,consts:[[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"disabled","checked","aria-label","change"],[4,
"ngIf","ngIfElse"],["mat-icon-button","",3,"ngClass","click"],["svgIcon","chevron-left",4,"ngIf"],["svgIcon","arrow-down",4,"ngIf"],["expandedCardHeader",""],["class","expanded-card-container",4,"ngIf"],["class","expanded-card-actions",4,"ngIf"],[1,"card-title","heading-s"],["svgIcon","chevron-left"],["svgIcon","arrow-down"],["appearance","fill",1,"card-title"],["matInput","","type","text","required","","aria-required","true","maxlength","40","autocomplete","off",1,"heading-s",3,"placeholder","disabled",
"ngModel","ngModelChange"],["class","type-dropdown","appearance","outline",4,"ngIf"],["appearance","outline",1,"type-dropdown"],[3,"disabled","value","valueChange","selectionChange"],[4,"ngIf"],["class","ee-config-option",3,"value",4,"ngFor","ngForOf"],[1,"icon-s",3,"svgIcon"],[1,"ee-config-option",3,"value"],["class","icon-s",3,"svgIcon",4,"ngIf"],[1,"expanded-card-container"],[1,"expanded-card-actions"],["mat-raised-button","","color","primary",1,"gmat-button",3,"disabled","click"],["mat-button",
"","color","primary",1,"gmat-button","cancel-button",3,"disabled","click"],["mat-icon-button","","aria-label","Delete","class","delete-button",3,"disabled",4,"ngIf"],[3,"vertical",4,"ngIf"],["labelPosition","before",3,"disabled",4,"ngIf"],["class","inherited-toggle","labelPosition","before",3,"checked","disabled","matTooltip","matTooltipDisabled","change",4,"ngIf"],["mat-icon-button","","aria-label","Delete",1,"delete-button",3,"disabled"],["svgIcon","delete",1,"icon-m"],[3,"vertical"],["labelPosition",
"before",3,"disabled"],["labelPosition","before",1,"inherited-toggle",3,"checked","disabled","matTooltip","matTooltipDisabled","change"]],template:function(a,b){a&1&&(wg(),D(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),K("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),E(),O(3,iab,3,3,"ng-container",3),D(4,"button",4),K("click",function(){b.isExpanded?b.collapse():b.expand()}),O(5,jab,1,0,"mat-icon",5),O(6,kab,1,0,"mat-icon",6),E(),O(7,qab,3,7,"ng-template",null,
7,$g),E(),O(9,rab,2,0,"div",8),O(10,wab,9,6,"div",9),E());if(a&2){var c=N(8);dg("aria-expanded",b.isExpanded);z(2);pg("expanded-checkbox",b.isExpanded);C("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);z(1);C("ngIf",!b.isExpanded)("ngIfElse",c);z(1);C("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");dg("aria-label",b.isExpanded?"Collapse editor":"Expand editor");z(1);C("ngIf",b.isExpanded);z(1);C("ngIf",!b.isExpanded);z(3);C("ngIf",b.isExpanded);z(1);C("ngIf",b.isExpanded)}},
dependencies:[$w,ax,bx,yh,Ex,Wx,Xx,Lx,QI,NA,gV,OB,qB,oB,EM,DM,PA,WQ,tB,qD],styles:['.card-title[_ngcontent-%COMP%]{margin-left:10px;width:440px}.expand-toggle[_ngcontent-%COMP%]{margin-left:auto}.collapse-toggle[_ngcontent-%COMP%]{align-self:baseline}.expanded-card-container[_ngcontent-%COMP%]{padding:18px}.expanded-card-actions[_ngcontent-%COMP%]{display:flex;align-items:center;border-top:1px solid;border-top-color:#9aa0a6;border-top-color:var(--c500);padding-top:16px}.expanded-card-actions[_ngcontent-%COMP%]   .cancel-button[_ngcontent-%COMP%]{width:80px;margin-left:16px}.expanded-card-actions[_ngcontent-%COMP%]   .delete-button[_ngcontent-%COMP%]{margin-left:auto;margin-right:16px}.expanded-card-actions[_ngcontent-%COMP%]   mat-slide-toggle[_ngcontent-%COMP%]{margin-left:16px}.expanded-card-actions[_ngcontent-%COMP%]   mat-divider[_ngcontent-%COMP%]{height:40px}.expanded-card-actions[_ngcontent-%COMP%]   .inherited-toggle[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%]     .mat-select-value, .ee-config-option[_ngcontent-%COMP%]{font-family:"Google Sans Display",Roboto,Arial,sans-serif;font-weight:500;color:#5f6368;color:var(--text-muted)}.type-dropdown[_ngcontent-%COMP%]{margin-left:auto;margin-right:8px}mat-select-trigger[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}mat-select-trigger[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{vertical-align:middle}.expanded-checkbox[_ngcontent-%COMP%]     .mat-checkbox-inner-container{margin-top:-10px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}']});var v3=function(){};v3.\u0275fac=function(a){return new (a||v3)};v3.\u0275mod=fd({type:v3});v3.\u0275inj=Qc({imports:[px,ay,BM,BD,hV,rD,FM,XQ,uB,lE]});var Fzc=function(a){Y.call(this,a,-1,Ezc)};X(Fzc,Y);Fzc.prototype.setFieldIdList=function(a){return Sb(this,1,a)};var Ezc=[1];Fzc.messageId="b.ReorderFieldsRequest";var Hzc=function(a){Y.call(this,a,-1,Gzc)};X(Hzc,Y);Hzc.prototype.setFieldIdList=function(a){return Sb(this,1,a)};var Gzc=[1];Hzc.messageId="b.ReorderFieldsResponse";var w3=function(a){this.executor=a};w3.prototype.updateCustomFieldState=function(a,b,c){var d=new ok;d.setCustomFieldId(b);var e=new tE;Ok(e,ok,1,d);e.setStateOnIssues(c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:tE})};w3.prototype.reorder=function(a,b){b=(new Fzc).setFieldIdList(b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:Hzc})};w3.\u0275fac=function(a){return new (a||w3)(n(nE))};
w3.\u0275prov=Pc({token:w3,factory:w3.\u0275fac,providedIn:"root"});var Izc=["SILENT","MINOR","MAJOR"];var Jzc=["fieldStateMenu"],Aab=function(a){return{type:a}},x3=function(a,b,c,d,e,f,h,l,q,u,x){Z.call(this);var y=this;this.customFieldsApi=a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=f;this.fieldConfigService=h;this.documentationLinks=l;this.paths=q;this.confirmationDialog=u;this.appEvents=x;this.FieldType=tgc;this.ListFieldType=Cgc;this.getSingleEditFieldType=SSa;this.getListFieldType=KTa;this.typeChoices=["TEXT","DATE","ENUM","NUMERIC"];this.secondaryTypes=
["Single","Multiple"];this.componentIdsToNames={};this.isLoading=!1;this.editableField=null;this.allowedValues=[];this.originalEditableFieldValue=null;this.msgFieldStateTip="Whether the field is visible in this component";this.significanceChoices=Izc;Object.keys(Ina).slice(0).filter(function(G){return"UNSPECIFIED"!==G});this.componentId=sj(this.routeParams.componentId);this.subscriptions.add(cO(b,function(){return y.hasUnsavedChanges()},!0))};X(x3,Z);x3.\u0275dir=Z.\u0275dir;
x3.prototype.ngOnInit=function(){this.loadCustomFields()};x3.prototype.ngOnChanges=function(){var a=new Map;if(this.parentComponent)for(var b=this.parentComponent.componentPathInfo.allCustomField,c=0;c<b.length;c++){var d=b[c];a.set(d.customFieldId,d.enabledOnIssues)}this.fieldsEnabledOnParentComponent=a};
x3.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||O4b())this.editableField=nj(this.customFields[a]),this.originalEditableFieldValue=nj(this.editableField),this.serverError=null,this.setType(this.editableField.type),Eab(this,this.editableField.allowedValue)};
var Qab=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:xp("Deleting a custom field is permanent and will remove display of this custom field on all issues in this component and child components. However, data will remain in the system and may be visible through other means (ex: extracts or direct API calls). If you have sensitive data concerns, please file a support request to have the data deleted from affected issues. Are you sure you want to delete this field definition?"),onConfirm:function(){a.doDelete(c)}})};
x3.prototype.doDelete=function(a){var b=this;nG(this.butterBar,"Deleting field: "+a.name,2E3);this.customFieldsApi.delete(this.componentId,a.customFieldId).then(function(){b.appEvents.componentModified.next(b.componentId);Lp(b.analytics,"customField","delete");nG(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
x3.prototype.save=function(){var a=this;this.isLoading=!0;var b=function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields();Lp(a.analytics,"customField",d)},c=function(e){a.serverError=Dn(e);a.isLoading=!1};["REPEATED_ENUM","ENUM"].includes(this.editableField.type)?this.editableField.allowedValue=this.allowedValues.map(function(e){return e.value}):this.editableField.allowedValue=null;if(this.editableField.customFieldId){var d="update";this.customFieldsApi.update(this.componentId,
this.editableField.customFieldId,this.editableField).then(b).catch(c)}else d="create",this.editableField.componentId=this.componentId,this.customFieldsApi.create(this.componentId,this.editableField).then(b).catch(c)};
x3.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(Rf(d.destroyed$)).subscribe(function(){a:{switch(b){case 1:var h="Inherit ("+(d.fieldsEnabledOnParentComponent.get(a.customFieldId)?"Enabled":"Disabled")+")";break a;case 2:h="Disabled";break a;case 3:h="Enabled";break a}h=void 0}Lp(d.analytics,"customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var l,
q;null==(l=d.fieldStateMenus)||null==(q=l.get(c))||q.focus()})}).then(function(){return e(void 0)})},function(h){d.serverError=Dn(h);d.isLoading=!1;f(h)})})};x3.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var Hab=function(a,b){var c=a.editableField.type,d="TEXT"===c&&pj(b)?b:void 0,e="DATE"===c&&b&&mna(b)?b:void 0,f="ENUM"===c&&pj(b)?b:void 0,h="NUMERIC"===c&&oj(b)?b:void 0,l="REPEATED_TEXT"===c&&qj(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(mna);q=q?{values:b}:void 0;var u="REPEATED_ENUM"===c&&qj(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&zna(b)?{values:b}:void 0;a.editableField.typedDefaultValue=new Bj({customFieldId:a.editableField.customFieldId,textValue:d,
dateValue:e,enumValue:f,numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:u,repeatedNumericValue:b})};
x3.prototype.setType=function(a,b){var c=this.editableField.type;if(void 0===b?0:b)switch(a){case "TEXT":this.editableField.type="REPEATED_TEXT";break;case "DATE":this.editableField.type="REPEATED_DATE";break;case "ENUM":this.editableField.type="REPEATED_ENUM";break;case "NUMERIC":this.editableField.type="REPEATED_NUMERIC"}else this.editableField.type=a;a!=c&&(this.editableField.typedDefaultValue=null)};
var Eab=function(a,b){b=null===b?null:b.map(function(c){return c.toString()});a.editableField.allowedValue=b;a.allowedValues=b?b.map(function(c){return{value:c,displayText:c}}):[]};x3.prototype.hasUnsavedChanges=function(){return this.editableField&&!mj(this.editableField,this.originalEditableFieldValue)?!0:!1};
x3.prototype.loadCustomFields=function(a){var b=this;a=void 0===a?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=(null==(d=c.componentPathInfo)?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var f,h=(null==(f=c.componentPathInfo)?void 0:f.componentPathId)||[];for(f=0;f<h.length;f++)d.push(c.componentPathInfo.componentPathName[f]),b.componentIdsToNames[c.componentPathInfo.componentPathId[f]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(l,q){return Or(l.name,q.name)};b.customFields=e.filter(function(l){return b.componentId===l.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(l){return b.componentId!==l.componentId}).sort(c);b.appEvents.customFieldsModified.next(e)})};var Xab=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};x3.prototype.trackClick=function(a){Lp(this.analytics,"editComponent","click",a)};
var Iab=function(a){var b,c;return null==(b=a.editableField)?void 0:null==(c=b.typedDefaultValue)?void 0:c.getValue()};x3.prototype.getListFieldValues=function(){var a,b,c,d;return null!=(d=null==(c=null==(a=this.editableField)?void 0:null==(b=a.typedDefaultValue)?void 0:b.getValue())?void 0:c.values)?d:null};x3.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
x3.\u0275fac=function(a){return new (a||x3)(A(EZ),A(bO),A(mG),A(LH),A(JJ),A($U),A(w3),A(hJ),A(cH),A(jJ),A(uG))};
x3.\u0275cmp=r({type:x3,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&Sg(Jzc,5);if(a&2){var c;Rg(c=Ug())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[$f,md],decls:4,vars:3,consts:[[1,"edit-resource-panel","edit-component-field-parent"],["class","edit-custom-field-panel",4,"ngIf"],["class","custom-fields-loader",4,"ngIf"],[4,"ngIf"],[1,"edit-custom-field-panel"],["class","bv2-validation-error-banner",
4,"ngIf"],["name","editForm",1,"edit-custom-field-form"],[1,"edit-field"],["for","field-name",1,"help-label"],["name","fieldName","type","text","required","","id","field-name",3,"bFocus","ngModel","disabled","ngModelChange"],["for","field-description",1,"help-label"],["name","fieldDescription","id","field-description",3,"ngModel","disabled","ngModelChange"],[1,"edit-custom-field-table"],[1,"field-label-with-help","bv2-component-custom-field-label"],["id","field-type-label",1,"help-label",3,"onedevHovercardTrigger"],
["typeHelp",""],["role","dialog","aria-label","Type help hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["mat-button","","mat-stroked-button","","aria-labelledby","field-type-label",1,"bv2-enum-field","gmat-button",3,"matMenuTriggerFor","disabled"],["name","arrow-dropdown","size","small"],["enumMenu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngFor","ngForOf"],["secondaryMenu","matMenu"],["matMenuContent",""],["class","edit-field",4,"ngIf"],
["class","bv2-component-custom-field-label","id","field-default-label",4,"ngIf"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable","valueChange",4,"ngIf"],["class","bv2-component-custom-field-label","id","field-repeated-default-label",4,"ngIf"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate","valuesChange",
4,"ngIf"],["id","field-required-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-required-label",3,"name","type","tooltip","value","valueChange"],["id","field-significance-label","tabindex","0","aria-label","Field Significance - Press alt+right arrow to learn more.",1,"help-label",3,"onedevHovercardTrigger"],["significanceHelp",""],[1,"onedev-hovercard-content"],["aria-label","See email settings for more details.","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],
["mat-button","","mat-stroked-button","","type","button","aria-labelledby","field-significance-label",1,"keep-focus-ring","bv2-enum-field","gmat-button",3,"matMenuTriggerFor"],["significanceMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary","type","button",3,"disabled","click"],["mat-stroked-button","","type","button",3,"click"],[1,"bv2-validation-error-banner"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],
["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],["id","field-enums-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-enums-label",3,"defaultLineCount","type","values","listFieldDisabled","preventDuplicates","isDefaultOrAllowedValues","truncate","valuesChange"],["id","field-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate",
"clearable","valueChange"],["id","field-repeated-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate","valuesChange"],["mat-menu-item","","type","button",3,"click"],[1,"custom-fields-loader"],[3,"large"],[1,"custom-fields-table"],[3,"ngClass",4,"ngFor","ngForOf"],["class","edit-button-row",4,"ngIf"],[3,"ngClass"],[3,"customFieldValue"],
["class","action-buttons",4,"ngIf"],[1,"action-buttons"],["mat-stroked-button","",3,"click"],["colspan","9",1,"custom-fields-inherited-parent"],["colspan","9"],[1,"ancestor-component-note"],[1,"header-label"],[3,"onedevHovercardTrigger","href","click"],["card","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"fieldName","fieldState","enabledOnParent","disabled","matTooltip","fieldStateChange",4,"ngIf"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""],[3,"fieldName","fieldState","enabledOnParent",
"disabled","matTooltip","fieldStateChange"],["fieldStateMenu",""],["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],[1,"edit-button-row"],["mat-raised-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,Nab,68,32,"div",1),O(2,Oab,2,1,"div",2),O(3,cbb,26,7,"div",3),E());a&2&&(z(1),C("ngIf",b.editableField&&!b.isLoading),z(1),C("ngIf",b.isLoading),z(1),C("ngIf",!b.isLoading))},dependencies:[$w,ax,bx,Mx,yh,Ex,Fx,Wx,Lx,Jx,MW,IW,nO,e_,XI,YI,bJ,ZI,EU,qD,
iD,gD,hD,fD,NA,CQ,$W,vN,XG,XJ,WJ,ZJ],styles:["button[_ngcontent-%COMP%]{margin-right:3px}button.bv2-enum-field[_ngcontent-%COMP%]{padding:0px 12px;margin-bottom:32px;height:32px;line-height:32px}b-spinner[_ngcontent-%COMP%]{position:absolute}"]});var y3=function(){};y3.\u0275fac=function(a){return new (a||y3)};y3.\u0275mod=fd({type:y3});y3.\u0275inj=Qc({imports:[px,ay,NW,JW,KP,f_,gM,JU,lE,jD,BD,FM,DQ,aX,gK,xN,aH]});var z3=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new vw;this.addRow=new vw;this.optionsChange=new vw};z3.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};z3.prototype.drop=function(a){dq(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};z3.\u0275fac=function(a){return new (a||z3)};
z3.\u0275cmp=r({type:z3,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},decls:11,vars:7,consts:[[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"padded-sides","heading-xs","config-title-container","flex-kids-x"],["aria-label","Average days. All estimated effort types map to an average number of days.",1,"config-title"],["svgIcon",
"help-outline","tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],["cdkDropList","",1,"options-container",3,"cdkDropListDropped"],["cdkDrag","",4,"ngFor","ngForOf"],["mat-button","","class","gmat-button add-row-button",3,"click",4,"ngIf"],["cdkDrag",""],[1,"flex-kids-x","flex-cross-axis-centered","option-row"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],[3,"appearance"],["matInput","","aria-label",
"Dropdown value","autocomplete","off","maxlength","40",1,"input-text",3,"value","placeholder","disabled","change"],["displayInput","matInput"],["matInput","","aria-label","Average days","autocomplete","off","type","number",1,"input-text",3,"value","placeholder","disabled","change"],["valueInput","matInput"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["svgIcon","close",1,"icon-s","delete-icon"],["mat-button","",1,"gmat-button","add-row-button",3,"click"]],template:function(a,
b){a&1&&(D(0,"div",0)(1,"div",1)(2,"span",2),P(3," Dropdown value "),E()(),D(4,"div",3)(5,"span",4),P(6," Average days "),E(),F(7,"mat-icon",5),E()(),D(8,"div",6),K("cdkDropListDropped",function(c){return b.drop(c)}),O(9,ebb,12,13,"div",7),E(),O(10,fbb,2,0,"button",8));a&2&&(z(2),pg("muted",b.disabled),z(3),pg("muted",b.disabled),z(2),C("matTooltip","All estimated effort types map to an average number of days."),z(2),C("ngForOf",b.options),z(1),C("ngIf",!b.disabled))},dependencies:[ax,bx,qB,tB,NA,
OB,qD,kQ,lQ,cQ],styles:[".delete-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.add-row-button[_ngcontent-%COMP%]{font-size:1rem;color:#5f6368;color:var(--text-muted);font-style:normal;font-weight:400;font-family:Roboto,Arial,sans-serif}.options-container[_ngcontent-%COMP%]{margin-left:-32px}.option-row[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.option-row[_ngcontent-%COMP%]   .drag-handle[_ngcontent-%COMP%]{cursor:move;visibility:hidden;margin-top:8px;margin-left:8px}.option-row[_ngcontent-%COMP%]:hover   .drag-handle[_ngcontent-%COMP%]{visibility:visible;color:#dadce0;color:var(--c300)}\n/*# sourceMappingURL=config_grid.css.map */"]});var A3=function(){this.disabled=!1;this.valueChange=new vw};A3.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};A3.\u0275fac=function(a){return new (a||A3)};
A3.\u0275cmp=r({type:A3,selectors:[["b-numeric-config"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},decls:14,vars:8,consts:[[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"type-m","margin-y","disabled-time-val"],[1,"config-title-container","flex-kids-x"],["id","config-label","aria-label","Average days. All estimated effort types map to an average number of days.",1,"config-title"],["svgIcon","help-outline",
"tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],[3,"appearance"],["matInput","","type","number","aria-labelledby","config-label",1,"input-text",3,"disabled","value","change"],["timeInput","matInput"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"span",2),P(3," Time "),E(),D(4,"span",3),P(5,"1"),E()(),D(6,"div",1)(7,"div",4)(8,"span",5),P(9," Average days "),E(),F(10,"mat-icon",6),E(),D(11,"mat-form-field",
7)(12,"input",8,9),K("change",function(d){return b.onValueChange(d)}),E()()()());if(a&2){var c=N(13);z(2);pg("muted",b.disabled);z(6);pg("muted",b.disabled);z(2);C("matTooltip","All estimated effort types map to an average number of days.");z(1);C("appearance",c.focused?"standard":"none");z(1);C("disabled",b.disabled)("value",b.value)}},dependencies:[qB,tB,OB,qD],styles:[".disabled-time-val[_ngcontent-%COMP%]{color:#bdc1c6;color:var(--text-disabled);font-size:1rem;line-height:24px;font-weight:400;width:168px}\n/*# sourceMappingURL=numeric_config.css.map */"]});var C3=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new vw;this.configurationOptions=[Kzc,Lzc,B3];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=OQb;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=Qp(this.activeSession,"enableAggregationRules")};
C3.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=B3)};C3.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=nj(this.effortSpec),this.setValues(this.effortSpec))};
C3.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=B3;var b,c,d;this.numericSpecMultiplier=null!=(d=null==(b=this.effortSpec)?void 0:null==(c=b.numericSpec)?void 0:c.multiplier)?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,f;this.enumSpecOptions=(null!=(f=null==(e=a.enumSpec)?void 0:e.options)?f:[]).map(function(l){return{label:l.label,value:l.value}})}var h;this.inherit=null!=(h=a.inherit)?h:!1;this.name=""===a.name?"Estimated effort":a.name||"";if(a.enumSpec||
a.numericSpec)this.estimatedEffortFieldEnabled=!0;void 0!==a.aggregationType&&a.aggregationType!==this.aggregationRules.AGGREGATION_TYPE_UNSPECIFIED&&(this.selectedAggregationRule=a.aggregationType)};
var Mzc=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===Kzc.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===Lzc.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===B3.displayText?"numeric":"empty"};C3.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
C3.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||void 0===this.selectedEffortConfig&&void 0===this.effortSpec&&this.estimatedEffortFieldEnabled&&!this.inherit||""===this.name)){a:{a=m(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||null===b.value){a=!1;break a}a=!0}a=!a}return a};var Nzc=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};C3.\u0275fac=function(a){return new (a||C3)(A(tu))};
C3.\u0275cmp=r({type:C3,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[md],decls:8,vars:14,consts:[["placeholderForCardTitle","Enter the estimated effort field title (required)","ariaLabelForCardTitle","Estimated effort field title",3,"cardTitle","dropdownOptions","selectedOption","disabled","selected","isSaveButtonDisabled","showInheritedToggle","isInherited",
"inheritedDisabled","cardTitleChange","dropdownSelectionChanged","onSaveButtonClicked","selectedChange","onCancelButtonClicked","isInheritedChange"],[1,"content",3,"ngSwitch"],[4,"ngSwitchCase"],["class","margin-top",4,"ngIf"],["enumConfig",""],[4,"ngTemplateOutlet"],[3,"disabled","value","valueChange"],[1,"margin-top"],["id","aggregation-rule-label",1,"aggregation-rule-label","config-label","heading-xs","margined"],"mat-icon-button;;matTooltip;Learn more about the aggregation rules;href;http://go/wtdm-home#aggregation;target;_blank".split(";"),
["svgIcon","help-outline",1,"icon-s","gfx-muted"],["appearance","outline",1,"static-label","margined"],["aria-labelledby","aggregation-rule-label","panelClass","multi-line-select",3,"value","disabled","valueChange"],[1,"multi-line",3,"value"],[1,"title"],[1,"help-text"],[3,"options","disabled","optionsChange","addRow","removeAtIndex"]],template:function(a,b){a&1&&(D(0,"b-collapsible-card",0),K("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===Kzc.displayText?(b.enumSpecOptions=[].concat(p(Ozc)),b.name="Story points"):c.displayText===Lzc.displayText?(b.enumSpecOptions=[].concat(p(Pzc)),b.name="T-shirt sizes"):c.displayText===B3.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0})("onSaveButtonClicked",function(){if(b.estimatedEffortFieldEnabled){var c={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(c.aggregationType=b.selectedAggregationRule);b.originalEffortSpec&&0!==b.originalEffortSpec.customFieldId&&
(c.customFieldId=b.originalEffortSpec.customFieldId);var d;if((null==(d=b.selectedEffortConfig)?void 0:d.displayText)===B3.displayText)c.numericSpec={multiplier:b.numericSpecMultiplier};else if(0<b.enumSpecOptions.length){d=[];for(var e=m(b.enumSpecOptions),f=e.next();!f.done;f=e.next())f=f.value,f.label&&null!==f.value&&d.push({label:f.label,value:f.value});c.enumSpec={options:d}}b.updateEffortSpec.emit(c)}else b.updateEffortSpec.emit({name:"",inherit:!1})})("selectedChange",function(c){b.estimatedEffortFieldEnabled=
c;b.estimatedEffortFieldEnabled||Nzc(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,Nzc(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||Nzc(b)):b.effortSpec&&(b.setValues({}),Nzc(b));b.inherit=c}),D(1,"div",1),O(2,hbb,2,
1,"ng-container",2),O(3,ibb,2,2,"ng-container",2),O(4,jbb,1,0,"ng-container",2),E(),O(5,kbb,23,13,"div",3),E(),O(6,lbb,1,2,"ng-template",null,4,$g));a&2&&(C("cardTitle",b.name)("dropdownOptions",b.configurationOptions)("selectedOption",b.selectedEffortConfig)("disabled",b.disabled||b.inherit)("selected",b.estimatedEffortFieldEnabled)("isSaveButtonDisabled",b.isSaveButtonDisabled())("showInheritedToggle",!0)("isInherited",b.inherit)("inheritedDisabled",b.disabled),z(1),C("ngSwitch",Mzc(b)),z(1),C("ngSwitchCase",
"enum"),z(1),C("ngSwitchCase","numeric"),z(1),C("ngSwitchCase","empty"),z(1),C("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[bx,gx,cx,dx,qB,OA,OB,u3,qD,EM,DM,PA,z3,A3,D3]},styles:["[_nghost-%COMP%]     .content .config-title-container{width:168px}[_nghost-%COMP%]     .content .config-title-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .content mat-form-field{height:34px;width:168px}[_nghost-%COMP%]     .content mat-form-field .mat-form-field-flex{padding-top:1px}[_nghost-%COMP%]     .content mat-form-field .mat-form-field-infix{padding:0 0 .5em}[_nghost-%COMP%]     .content .input-text{font-weight:400;font-size:1rem}.aggregation-rule-label[_ngcontent-%COMP%]{margin-right:2px}[_nghost-%COMP%]     mat-select .mat-select-arrow-wrapper{-webkit-transform:translateX(0);transform:translateX(0);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}\n/*# sourceMappingURL=estimated_effort_config.css.map */"]});
var Ozc=[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3},{label:"5",value:5},{label:"8",value:8},{label:"13",value:13},{label:"21",value:21},{label:"34",value:34}],Pzc=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],Kzc={displayText:"Story points",icon:"story-point-24px"},Lzc={displayText:"T-shirt sizes",icon:"t-shirt-24px"},B3={displayText:"Time",icon:"time-24px"},D3=function(){};
D3.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};D3.\u0275fac=function(a){return new (a||D3)};D3.\u0275pipe=hd({name:"aggregationRuleText",type:D3,pure:!0});var E3=function(){this.disabled=!1;this.updateComponent=new vw};E3.\u0275fac=function(a){return new (a||E3)};
E3.\u0275cmp=r({type:E3,selectors:[["b-component-standard-fields"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateComponent:"updateComponent"},decls:4,vars:3,consts:[[1,"padded","field-container"],[1,"margin-bottom"],[3,"effortSpec","parentEffortSpec","disabled","updateEffortSpec"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),P(2,"Once activated, standard fields appear in the right panel of all issues."),E(),D(3,"b-estimated-effort-config",
2),K("updateEffortSpec",function(c){b.updateComponent.emit(c)}),E()());a&2&&(z(3),C("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[C3],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var F3=function(){};F3.\u0275fac=function(a){return new (a||F3)};F3.\u0275mod=fd({type:F3});F3.\u0275inj=Qc({imports:[px,uB,BD,rD,BM,v3,lE,FM,mQ]});var G3=function(){};G3.\u0275fac=function(a){return new (a||G3)};G3.\u0275mod=fd({type:G3});G3.\u0275inj=Qc({imports:[px,v3,F3]});var Qzc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var H3=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.data=a;this.dialogRef=b;this.pathBuilder=c;this.teamsService=d;this.componentActions=e;this.userPreferencesManager=f;this.snackBar=h;this.analytics=l;this.errorHandler=q;this.componentFridge=u;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=Qzc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new Rzc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=FXb(this.teamsService,this.teamSuggestionIds).pipe(B(function(y){var G=[];y=Bl(y,1,NE);for(var J=m(x.teamSuggestionIds),M=J.next();!M.done;M=J.next())M=M.value,y.has(M)&&G.push(new Rzc(M,ij(y.get(M),6)));return G}),Pf([]));this.myTeams$=dI(this.teamsService,"").pipe(B(function(y){var G=[];y=y.getTeamSuggestionsList();y=m(y);for(var J=y.next();!J.done;J=
y.next())J=J.value,G.push(new Rzc(J.getId(),J.getPathNamesList()));return G}));(0,T.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(B(function(y){var G=m(y);y=G.next().value;G=G.next().value;return[].concat(p(y),p(G))}),B(ira(function(y){return y.teamId})),Rf(this.destroyed$)).subscribe(function(y){x.teamOptions=y;x.selectedTeam=y[0]})};X(H3,Z);H3.\u0275dir=Z.\u0275dir;
H3.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
H3.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;Szc(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):Szc(this,"0",this.selectedTeam.teamId);else{var b=nj(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});JYb(this.userPreferencesManager,b).pipe(Rf(this.destroyed$)).subscribe(function(){Lp(a.analytics,
Mp.TEAM_WARNING,"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var Szc=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);Lp(a.analytics,Mp.TEAM_WARNING,"updateTeam");a.snackBar.open("Team mapping changed","",{duration:4E3});var e;null==(e=a.dialogRef)||e.close(a.selectedTeam.teamId)}).catch(function(d){a.errorHandler.errorHandler(null,d)})};
H3.prototype.selectOption=function(a){this.selectedTeam=a};H3.prototype.trackClick=function(a){Lp(this.analytics,Mp.TEAM_WARNING,"click",a)};H3.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};H3.\u0275fac=function(a){return new (a||H3)(A(aB),A(ZA),A(wY),A(cI),A($U),A(CI),A(jG),A(LH),A(qG),A(OF))};
H3.\u0275cmp=r({type:H3,selectors:[["b-team-warning-dialog"]],features:[$f],decls:11,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["aria-label","Quick team actions",3,"ngModel","ngModelChange",4,"ngIf"],["class","suggested-teams",4,"ngIf"],["mat-button","","mat-dialog-close","",1,"gmat-button","medium"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button",3,"click"],["mat-dialog-content",""],["target","_blank",3,"href","click"],["target","_blank",3,"href"],["aria-label",
"Quick team actions",3,"ngModel","ngModelChange"],["value","NONE"],["value","CHANGE"],[1,"suggested-teams"],[3,"disabled","value","options","includeEmptyOption","optionTemplate","valueChange"],["optionTemplate",""],["mat-icon-button","","target","_blank","matTooltip","Go to Moma Team page.",1,"gmat-button","small",3,"click"],["svgIcon","pop-out",1,"icon-s"],[4,"ngIf","ngIfElse"],["emptyOption",""],[1,"suggested-team-option"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),O(2,nbb,5,1,"div",1),
O(3,obb,5,1,"div",1),O(4,pbb,7,1,"mat-radio-group",2),O(5,tbb,6,6,"div",3),D(6,"mat-dialog-actions")(7,"button",4),P(8," Cancel "),E(),D(9,"button",5),K("click",function(){return b.confirm()}),P(10," Confirm "),E()());a&2&&(z(1),Bg(b.header),z(1),C("ngIf",b.warningType===b.WarningType.MISSING),z(1),C("ngIf",b.warningType===b.WarningType.DELETED),z(1),C("ngIf",b.warningType===b.WarningType.MISSING),z(1),C("ngIf",0<b.teamOptions.length))},dependencies:[bx,Ex,Lx,NA,OA,cB,dB,eB,fB,OB,BY,CY,qD,kU],styles:["mat-radio-button[_ngcontent-%COMP%]{margin-top:10px}.suggested-teams[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center}[_nghost-%COMP%]     onedev-single-select button{margin-top:5px;border-color:#bdc1c6}  span.suggested-team-option{display:inline-block;width:490px}"]});
var Rzc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var I3=function(a,b){Z.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new vw};X(I3,Z);I3.\u0275dir=Z.\u0275dir;I3.prototype.ngOnInit=function(){};I3.prototype.ngOnChanges=function(){"MISSING"===this.warningType?(this.warningMessage="Team mapping is missing",this.buttonName="Add"):"DELETED"===this.warningType&&(this.warningMessage="This team no longer exists",this.buttonName="Change")};
I3.prototype.openDialog=function(){var a=this;Lp(this.analytics,Mp.TEAM_WARNING,"open");XA(this.matDialogService.open(H3,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.getTeamId())})}})).pipe(Rf(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};I3.\u0275fac=function(a){return new (a||I3)(A(bB),A(LH))};
I3.\u0275cmp=r({type:I3,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[$f,md],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(D(0,"b-callout",0)(1,"b-callout-body"),P(2),E(),O(3,ubb,3,1,"b-callout-actions",1),E());
a&2&&(z(2),Q(" ",b.warningMessage," "),z(1),C("ngIf",!b.messageOnly))},dependencies:[ZN,sS,tS,bx],encapsulation:2});var J3=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new vw;this.inherit=!1;this.selectedTeam$=new T.Subject;this.teamIdChanged$=new T.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(B(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),Pf(""));this.teamFromId$=this.teamIdChanged$.pipe(Qf(function(c){return"0"===
c?(0,T.of)(new wt([c],[""],"")):b.teamsService.getTeam(c).pipe(B(function(d){return new wt([],ij(d,6),d.getDescription())}),yf(function(){return(0,T.of)(new wt([c],[c],""))}))}));this.displayedTeam$=(0,T.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(Qf(function(c){return"0"===c?(0,T.of)("MISSING"):b.teamsService.getTeam(c).pipe(B(function(d){return d.getDeleted()?"DELETED":"VALID"}))}))};
J3.prototype.updateSelectionOnChange=function(a){Wo(Mp.MANAGE_COMPONENT,"autocomplete-select","team",isNaN(Number(a.id))?0:Number(a.id));this.selectedTeam$.next(a);this.model.id=a.id;this.modelChange.emit(this.model);Tzc(this)};var Tzc=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};J3.prototype.ngOnInit=function(){Object.assign({},this.model);Tzc(this)};var ybb=function(a){return a.model.id&&"0"!==a.model.id};
J3.prototype.getMomaTeamLink=function(){return ybb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};J3.\u0275fac=function(a){return new (a||J3)(A(cI))};
J3.\u0275cmp=r({type:J3,selectors:[["b-component-team-picker"]],inputs:{parentModel:"parentModel",model:"model",anchorTarget:"anchorTarget",isAdmin:"isAdmin",isTopLevel:"isTopLevel",useInternalLink:"useInternalLink"},outputs:{modelChange:"modelChange"},decls:13,vars:13,consts:[[4,"ngIf"],["class","edit-field",4,"ngIf"],[1,"edit-field","component-team-id-select"],["for","component-team-id"],["id","component-team-id","panelWidth","479px",3,"placeholder","disabled","teamSelected","onTeamSelect","onEmptyQuery"],
[4,"ngIf","ngIfElse"],["externalLink",""],["class","team-warning",4,"ngIf"],[1,"team-warning"],[3,"warningType","messageOnly"],[1,"edit-field"],[3,"disabled","checked","change"],["mat-icon-button","","class","gmat-button small","aria-label","Go to Team page.","matTooltip","Go to Team page.",3,"routerLink","target","click",4,"ngIf"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"gmat-button","small",3,"routerLink","target","click"],["svgIcon","pop-out",1,"icon-s"],
["mat-icon-button","","class","gmat-button small","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",3,"click",4,"ngIf"],["mat-icon-button","","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"gmat-button","small",3,"click"]],template:function(a,b){a&1&&(D(0,"div"),O(1,wbb,2,1,"ng-container",0),R(2,"async"),O(3,xbb,3,2,"div",1),D(4,"div",2)(5,"label",3),P(6,"Team selection"),E(),D(7,"b-team-picker",4),K("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);Tzc(b)}),R(8,"async"),R(9,"async"),E(),O(10,Abb,2,1,"ng-container",5),E()(),O(11,Cbb,1,1,"ng-template",null,6,$g));if(a&2){var c=N(12);z(1);C("ngIf",S(2,7,b.warningType$));z(2);C("ngIf",!b.isTopLevel);z(4);C("placeholder",S(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",S(9,11,b.displayedTeam$));z(3);C("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[bx,QI,qD,M2,I3,OB,OA,XG,hx],styles:[".component-team-id-select[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:95px}.component-team-id-select[_ngcontent-%COMP%]   #component-team-id[_ngcontent-%COMP%]{display:inline-block;width:479px}.team-warning[_ngcontent-%COMP%]{width:240px}"],changeDetection:0});var K3=function(){};K3.\u0275fac=function(a){return new (a||K3)};K3.\u0275mod=fd({type:K3});K3.\u0275inj=Qc({imports:[yP,IS,px,ay,BD,gB,rD,JY,iG,lE,xU]});var L3=function(){};L3.\u0275fac=function(a){return new (a||L3)};L3.\u0275mod=fd({type:L3});L3.\u0275inj=Qc({imports:[px,CN,BM,lE,P2,K3,ay,rD,BD,aH]});var M3=function(a){this.documentationLinks=a};M3.\u0275fac=function(a){return new (a||M3)(A(hJ))};
M3.\u0275cmp=r({type:M3,selectors:[["b-issue-component-retention-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a){a&1&&(D(0,"h1",0),P(1,"Apply component retention settings?"),E(),D(2,"div",
1)(3,"p"),P(4," This issue is currently retained indefinitely. If you select this option, this issue will be scheduled for deletion based on the component retention settings. "),E(),D(5,"a",2),P(6,"Learn more"),E()(),D(7,"div",3)(8,"button",4),P(9," Cancel "),E(),D(10,"button",5),P(11," OK "),E()());a&2&&(z(5),C("href",nu(),ue),z(3),C("mat-dialog-close",!1),z(2),C("mat-dialog-close",!0))},dependencies:[cB,dB,eB,fB,NA],encapsulation:2});var N3=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};N3.\u0275fac=function(a){return new (a||N3)(A(aB),A(hJ))};
N3.\u0275cmp=r({type:N3,selectors:[["b-issue-delete-attachment-dialog"]],decls:14,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"],[3,"value","disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,"div",1)(3,"span"),P(4," Please select the reason for deleting this attachment. "),D(5,"a",2),P(6," \u00a0Learn more "),E()(),D(7,"mat-radio-group",3),K("ngModelChange",function(c){return b.selectedReason=c}),O(8,Ebb,3,4,"mat-radio-button",4),E()(),D(9,"div",5)(10,"button",6),P(11," Cancel "),E(),D(12,"button",7),P(13," Delete "),E()());a&2&&(z(1),Q("Delete attachment ",b.attachmentId,""),z(4),C("href",
yZb(b.documentationLinks),ue),z(2),C("ngModel",b.selectedReason),z(1),C("ngForOf",b.deletionReasons),z(4),C("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[ax,bx,cB,dB,eB,fB,NA,Ex,Lx,BY,CY],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var O3=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};O3.\u0275fac=function(a){return new (a||O3)(A(aB),A(hJ))};
O3.\u0275cmp=r({type:O3,selectors:[["b-issue-delete-comment-dialog"]],decls:14,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"],[3,"value","disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,"div",1)(3,"label"),P(4,"Please select the reason for deleting this comment."),E(),D(5,"a",2),P(6," \u00a0Learn more "),E(),D(7,"mat-radio-group",3),K("ngModelChange",function(c){return b.selectedReason=c}),O(8,Gbb,3,4,"mat-radio-button",4),E()(),D(9,"div",5)(10,"button",6),P(11," Cancel "),E(),D(12,"button",7),P(13," Delete "),E()());a&2&&(z(1),Cg("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),z(4),C("href",yZb(b.documentationLinks),ue),z(2),C("ngModel",b.selectedReason),z(1),C("ngForOf",b.deletionReasons),z(4),C("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[ax,bx,cB,dB,eB,fB,NA,Ex,Lx,BY,CY],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var P3=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=Hbb(this.activeSession.isInternalSession())};P3.\u0275fac=function(a){return new (a||P3)(A(hJ),A(tu))};
P3.\u0275cmp=r({type:P3,selectors:[["b-issue-flag-as-spam-dialog"]],decls:19,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",1,"keep-underline",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Report spam?"),E(),D(2,"div",1)(3,
"p"),P(4," This will remove the issue from search results, and it will be deleted after 30 days. For more information on remediating spam at scale, "),D(5,"a",2),P(6,"see here"),E(),P(7,". "),E(),F(8,"p"),D(9,"p"),P(10," To delete PII or other sensitive content, "),D(11,"a",2),P(12,"file a support request"),E(),P(13,". "),E()(),D(14,"div",3)(15,"button",4),P(16," Cancel "),E(),D(17,"button",5),P(18," Report spam "),E()());a&2&&(z(5),C("href",wZb(b.documentationLinks),ue),z(6),C("href",b.REMOVAL_URL,
ue),z(4),C("mat-dialog-close",!1),z(2),C("mat-dialog-close",!0))},dependencies:[cB,dB,eB,fB,NA],encapsulation:2});var Q3=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};Q3.\u0275fac=function(a){return new (a||Q3)(A(hJ))};
Q3.\u0275cmp=r({type:Q3,selectors:[["b-issue-indefinite-retention-dialog"]],decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"checked","change"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Retain issue indefinitely?"),
E(),D(2,"div",1)(3,"p"),P(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),E(),D(5,"p")(6,"b"),P(7,"Please note indefinite retention is not appropriate in many circumstances."),E(),F(8,"br"),P(9," Before selecting this option, you should make sure at least one of the following is true: "),E(),D(10,"ul")(11,"li"),P(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),E(),D(13,"li"),
P(14," You have a process in place to manually delete this issue within an approved period of time. "),E(),D(15,"li"),P(16," Legal and Privacy have approved this non-standard retention period. "),E()(),F(17,"p"),D(18,"p")(19,"a",2),P(20,"Learn more"),E()(),D(21,"mat-checkbox",3),K("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),P(22," I acknowledge "),E()(),D(23,"div",4)(24,"button",5),P(25," Cancel "),E(),D(26,"button",6),P(27," OK "),E()());a&2&&(z(19),C("href",nu(),ue),
z(2),C("checked",b.indefiniteRetentionAcknowledged),z(3),C("mat-dialog-close",!1),z(2),C("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[cB,dB,eB,fB,NA,QI],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var eu=function(a,b,c,d){var e=this;this.issueComments=b;this.errorHandler=c;this.dialogRef=d;this.allResponders=[];this.loadingResponders=!0;this.commentNumber=a.commentNumber;this.reactionType=a.reactionType;this.issueComments.listCommentReactionResponders({issueId:a.issueId,reactionType:a.reactionType,commentId:a.commentNumber}).then(function(f){e.loadingResponders=!1;e.allResponders=f.responders}).catch(function(f){e.loadingResponders=!1;rG(e.errorHandler,"Fetching comment reaction responders failed\n "+
f.message);e.dialogRef.close()})};eu.\u0275fac=function(a){return new (a||eu)(A(aB),A(pI),A(qG),A(ZA))};
eu.\u0275cmp=r({type:eu,selectors:[["b-issue-comment-reaction-responders-dialog"]],decls:11,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["appearance","primary"],["mat-tab-label",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"],[1,"icon-xs",3,"svgIcon"],[4,"ngFor","ngForOf"],[1,"margin-xs-top","margin-xs-bottom","type-m"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,
"div",1)(3,"mat-tab-group",2)(4,"mat-tab"),O(5,Ibb,1,1,"ng-template",3),O(6,Jbb,1,0,"b-spinner",4),O(7,Lbb,2,1,"ng-container",4),E()()(),D(8,"div",5)(9,"button",6),P(10," OK "),E()());a&2&&(z(1),Q("View Reactions for Comment #",b.commentNumber,""),z(5),C("ngIf",b.loadingResponders),z(1),C("ngIf",!b.loadingResponders),z(2),C("mat-dialog-close",!0))},dependencies:[ax,bx,cB,dB,eB,fB,NA,OB,vN,XM,YM,WM],styles:["[_nghost-%COMP%]     .mat-tab-label {\n      height: 32px;\n    }\n    [_nghost-%COMP%]     .mat-tab-body-wrapper {\n      margin-top: 8px;\n    }"]});var R3=function(){};R3.\u0275fac=function(a){return new (a||R3)};R3.\u0275mod=fd({type:R3});R3.\u0275inj=Qc({imports:[px,gB,BD,uB,ay,rB,rD,JY,xN,aN,BM]});var S3=function(){};S3.\u0275fac=function(a){return new (a||S3)};S3.\u0275mod=fd({type:S3});S3.\u0275inj=Qc({imports:[px,ay,BD,uB,rB,gB]});var T3=function(a,b,c){this.data=a;this.dialogRef=b;this.liveAnnouncer=c;this.originalFields=[];this.fields=[];this.fieldOrdering="FIELD_ORDERING_UNSPECIFIED";this.grabbed=this.hasChanges=!1;this.originalFields=a.fields.concat();this.fields=a.fields.concat();this.fieldOrdering=a.orderingCustomized},Uzc=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};T3.prototype.drop=function(a){dq(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var Mbb=function(a,b){return 0<b?(dq(a.fields,b,b-1),a.detectChanges(),!0):!1},Nbb=function(a,b){return b<a.fields.length-1?(dq(a.fields,b,b+1),a.detectChanges(),!0):!1};T3.prototype.trackByFn=function(){return-1};T3.prototype.onFocus=function(a){this.liveAnnouncer.announce(this.fields[a].name+" focused at position "+(a+1)+" of "+this.fields.length+". Press space to grab the item.")};
T3.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();Vzc(this,b);break;case "Tab":this.grabbed&&Vzc(this,b);break;case "ArrowUp":Wzc(this,a);break;case "ArrowDown":Wzc(this,a)}};
var Vzc=function(a,b){a.grabbed?(a.grabbed=!1,a.grabbedIndex=void 0,a.liveAnnouncer.announce(a.fields[b].name+" dropped at position "+(b+1)+" of "+a.fields.length+".")):(a.grabbed=!0,a.grabbedIndex=b,a.liveAnnouncer.announce(a.fields[b].name+" grabbed at position "+(b+1)+" of "+a.fields.length+". Press up and down arrow to move the item."))},Wzc=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(Mbb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else Nbb(a,a.grabbedIndex)&&(d=c.nextElementSibling,a.grabbedIndex++);d&&(d.focus(),a.liveAnnouncer.announce(a.fields[a.grabbedIndex].name+" moved to position "+(a.grabbedIndex+1)+" of "+a.fields.length+". Press space to drop the item."))}}};T3.prototype.detectChanges=function(){this.hasChanges=!mj(this.fields,this.originalFields)};T3.\u0275fac=function(a){return new (a||T3)(A(aB),A(ZA),A(mz))};
T3.\u0275cmp=r({type:T3,selectors:[["b-field-reorder-dialog"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],["mat-dialog-title","",1,"margin-none"],["mat-icon-button","","aria-label","Sorts the fields alphabetically","matTooltip","Sort alphabetically",3,"click"],["svgIcon","sort_by_alpha_24px"],["mat-dialog-content",""],["cdkDropList","",3,"cdkDropListDropped"],["cdkDrag","","tabindex","0",3,"keydown","focus",4,"ngFor","ngForOf","ngForTrackBy"],
["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action","save",3,"disabled","click"],["cdkDrag","","tabindex","0",3,"keydown","focus"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],[1,"arrows"],["mat-icon-button","","aria-label","Move the field up",3,"click"],["svgIcon","arrow-up"],["mat-icon-button","","aria-label","Move the field down",3,"click"],["svgIcon",
"arrow-down"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"h1",2),P(3," Reorder custom fields "),E(),D(4,"button",3),K("click",function(){return Uzc(b)}),F(5,"mat-icon",4),E()()(),D(6,"div",5)(7,"ol",6),K("cdkDropListDropped",function(c){return b.drop(c)}),O(8,Obb,9,7,"li",7),E()(),D(9,"div",8)(10,"button",9),K("click",function(){return b.dialogRef.close()}),P(11," Cancel "),E(),D(12,"button",10),K("click",function(){return b.dialogRef.close(b.fields)}),P(13," Save "),E()());a&2&&(z(8),
C("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),z(4),C("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[ax,NA,dB,eB,fB,kQ,lQ,cQ,qD,OB],styles:["ol[_ngcontent-%COMP%]{list-style-type:none;padding:0;margin:0}li[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);font-size:.8125rem;padding:10px;display:flex;align-items:center}li[_ngcontent-%COMP%]   .arrows[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]   .drag-handle[_ngcontent-%COMP%]{cursor:move;margin-right:5px;opacity:.2}li[_ngcontent-%COMP%]   .arrows[_ngcontent-%COMP%]{margin-left:auto}li[aria-grabbed=true][_ngcontent-%COMP%]:focus   span[_ngcontent-%COMP%]{font-style:italic}li[_ngcontent-%COMP%]:focus{border-radius:3px;box-shadow:0 0 0 3px rgba(0,0,0,.1)}li[_ngcontent-%COMP%]:focus   .drag-handle[_ngcontent-%COMP%]{opacity:1}li[_ngcontent-%COMP%]:focus   .arrows[_ngcontent-%COMP%]{visibility:visible}li[_ngcontent-%COMP%]:focus   .arrows.invisible[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]:hover   .drag-handle[_ngcontent-%COMP%]{opacity:1}li[_ngcontent-%COMP%]:hover   .arrows[_ngcontent-%COMP%]{visibility:visible}li[_ngcontent-%COMP%]:hover   .arrows.invisible[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]:last-of-type{border-bottom:none;margin-bottom:3px}li[_ngcontent-%COMP%]:first-of-type{margin-top:3px}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:.3}.cdk-drag-preview[_ngcontent-%COMP%]{opacity:.3;border-bottom:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0, 0, 0.2, 1)}"]});var U3=function(a,b,c,d,e){this.matDialog=a;this.confirmationDialog=b;this.fieldConfigService=c;this.analytics=d;this.butterBar=e;this.fields=[];this.isAdmin=!1;this.onReload=new vw;this.displayedColumn=["index","name","type","required","customFieldId"]},bcb=function(a){return XA(a.matDialog.open(T3,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&Xzc(a,b)})},ccb=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:xp("Resetting the ordering of the custom fields will return them to the position defined by its parent component. This action may also reset the ordering of fields in all other sub-components."),
onConfirm:function(){a.reset()}})},Xzc=function(a,b){Lp(a.analytics,Mp.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return(new ok).setCustomFieldId(d.customFieldId)});a.componentId?(nG(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){nG(a.butterBar,"Field ordering saved",5E3);a.fields=b.concat();a.fieldOrdering="CUSTOMIZED"},function(){oG(a.butterBar,"Saving ordering failed, please refresh the page.",5E3)})):oG(a.butterBar,"Saving ordering failed due to the undefined component id.")};
U3.prototype.reset=function(){var a=this;Lp(this.analytics,Mp.FIELD_ORDERING,"resetFields");this.componentId?(nG(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:UE}).subscribe(function(){nG(a.butterBar,"Ordering reset");a.fieldOrdering="INHERITED";a.onReload.emit()},function(){oG(a.butterBar,"Reset failed.")})):oG(this.butterBar,"Reset failed due to the undefined component id.")};
U3.\u0275fac=function(a){return new (a||U3)(A(bB),A(jJ),A(w3),A(LH),A(mG))};
U3.\u0275cmp=r({type:U3,selectors:[["b-field-reorder"]],inputs:{fields:"fields",componentId:"componentId",fieldOrdering:"fieldOrdering",isAdmin:"isAdmin"},outputs:{onReload:"onReload"},decls:22,vars:5,consts:[[1,"field-reorder-panel"],[1,"field-order-table"],["mat-table","",3,"dataSource"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","type"],["matColumnDef","required"],["matColumnDef","customFieldId"],["mat-header-row",
"",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","no-data-row",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[1,"no-data-row"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button","medium",3,"disabled","click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"table",2),H(3,3),O(4,Pbb,2,0,"th",4),O(5,Qbb,2,1,"td",5),I(),H(6,6),O(7,Rbb,2,0,"th",4),O(8,Sbb,2,1,
"td",5),I(),H(9,7),O(10,Tbb,2,0,"th",4),O(11,Ubb,3,3,"td",5),I(),H(12,8),O(13,Vbb,2,0,"th",4),O(14,Wbb,2,1,"td",5),I(),H(15,9),O(16,Xbb,2,0,"th",4),O(17,Ybb,2,1,"td",5),I(),O(18,Zbb,1,0,"tr",10),O(19,$bb,1,0,"tr",11),E(),O(20,acb,2,0,"div",12),E(),O(21,dcb,6,2,"div",13),E());a&2&&(z(2),C("dataSource",b.fields),z(16),C("matHeaderRowDef",b.displayedColumn),z(1),C("matRowDefColumns",b.displayedColumn),z(1),C("ngIf",0===b.fields.length),z(1),C("ngIf",b.isAdmin))},dependencies:[bx,NA,vP,nP,rP,oP,mP,sP,
pP,qP,tP,uP,cN],styles:["th.mat-header-cell[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%]{padding:8px;text-align:left;font-size:.8125rem;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}th[_ngcontent-%COMP%]{font-weight:bold;color:#202124;color:var(--text-high-contrast)}td[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}th.mat-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-cell[_ngcontent-%COMP%]:first-of-type{padding-left:8px}th.mat-header-cell[_ngcontent-%COMP%]:last-of-type, td.mat-cell[_ngcontent-%COMP%]:last-of-type{padding-right:8px}.no-data-row[_ngcontent-%COMP%]{padding:12px}button[_ngcontent-%COMP%]{margin-right:12px}"]});var V3=function(){};V3.\u0275fac=function(a){return new (a||V3)};V3.\u0275mod=fd({type:V3});V3.\u0275inj=Qc({providers:[jJ],imports:[px,BD,gB]});var W3=function(){};W3.\u0275fac=function(a){return new (a||W3)};W3.\u0275mod=fd({type:W3});W3.\u0275inj=Qc({imports:[px,BD,yP,gB,YP,mQ,lE,KP,rD,V3,eN]});var X3=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},fcb=function(a,b){switch(a.packageName){case "wiki":return"https://wiki.corp.google.com/twiki/bin/view/"+encodeURIComponent(a.filename);default:var c="https://cs.corp.google.com/"+encodeURIComponent(a.packageName)+"/"+a.filename+"?q="+Yzc+a.issueId+Zzc;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
X3.prototype.trackClick=function(a){Lp(this.analytics,"codeMentions","clickCodeSearchLink",a)};X3.\u0275fac=function(a){return new (a||X3)(A(LH))};
X3.\u0275cmp=r({type:X3,selectors:[["b-file-mention"]],inputs:{issueId:"issueId",packageName:"packageName",filename:"filename",lineNumbers:"lineNumbers",changeNumber:"changeNumber"},decls:5,vars:4,consts:[[1,"bv2-file-mention"],["target","_blank",1,"bv2-file-mention-filename",3,"href","click"],[4,"ngIf"],[1,"bv2-file-mention-line-number-list"],["class","bv2-file-mention-line-number",4,"ngFor","ngForOf"],[1,"bv2-file-mention-line-number"],["target","_blank",3,"href","click"]],template:function(a,b){a&
1&&(D(0,"div",0)(1,"a",1),K("click",function(){return b.trackClick("fileName")}),P(2),E(),O(3,ecb,2,1,"span",2),O(4,hcb,5,1,"span",2),E());a&2&&(z(1),C("href",fcb(b,b.lineNumbers),ue),z(1),Q(" ",b.filename," "),z(1),C("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),z(1),C("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[ax,bx],encapsulation:2});var Yzc=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),Zzc=encodeURIComponent("(\\b|$)");var Y3=function(){};Y3.\u0275fac=function(a){return new (a||Y3)};Y3.\u0275mod=fd({type:Y3});Y3.\u0275inj=Qc({imports:[px]});var Z3=function(){this.isReady=!1};Z3.\u0275fac=function(a){return new (a||Z3)};Z3.\u0275cmp=r({type:Z3,selectors:[["onedev-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","loading-indicator",4,"ngIf"],[4,"ngIf"],[1,"loading-indicator"]],template:function(a,b){a&1&&(wg(),O(0,icb,1,0,"div",0),O(1,jcb,2,0,"ng-container",1));a&2&&(C("ngIf",!b.isReady),z(1),C("ngIf",b.isReady))},dependencies:[bx],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.loading-indicator[_ngcontent-%COMP%]{-webkit-animation:_ngcontent-%COMP%_opacity-gradient .5s linear 0s infinite alternate;animation:_ngcontent-%COMP%_opacity-gradient .5s linear 0s infinite alternate;background-image:-webkit-gradient(linear,left top,right top,from(#f1f3f4),to(#dadce0));background-image:-webkit-linear-gradient(left,#f1f3f4,#dadce0);background-image:linear-gradient(90deg,#f1f3f4,#dadce0);border-radius:3px;height:10px;width:80px;display:inline-block}@-webkit-keyframes _ngcontent-%COMP%_opacity-gradient{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_opacity-gradient{0%{opacity:0}to{opacity:1}}"]});var a4=function(){this.warning=""};a4.\u0275fac=function(a){return new (a||a4)};
a4.\u0275cmp=r({type:a4,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&pg("is-present",b.warning)},inputs:{warning:"warning"},decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip"],["d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"]],template:function(a,b){a&1&&O(0,kcb,2,1,"svg",0);a&2&&
C("ngIf",b.warning)},dependencies:[bx,qD],styles:[".is-present[_nghost-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:16px;line-height:16px;width:16px}svg[_ngcontent-%COMP%]{color:var(--icon-warn,#e37400);fill:currentColor;width:16px;height:16px}"]});var $zc=["*",[["","actions",""]]],aAc=[[["onedev-field-label"]],[["onedev-field-value"]]],bAc=0,b4=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+bAc;bAc++};b4.\u0275fac=function(a){return new (a||b4)};
b4.\u0275cmp=r({type:b4,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&dg("id",b.id)},inputs:{thinking:"thinking",labelTooltip:"labelTooltip",warning:"warning"},ngContentSelectors:["*"],decls:4,vars:3,consts:[[3,"isReady"],[1,"label",3,"matTooltip"],[3,"warning"]],template:function(a,b){a&1&&(wg(),D(0,"onedev-async-data-placeholder",0)(1,"span",1),xg(2),E(),F(3,"onedev-warning-icon",2),E());a&2&&(C("isReady",!b.thinking),z(1),C("matTooltip",b.labelTooltip),z(2),C("warning",
b.warning))},dependencies:[Z3,qD,a4],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var c4=function(){this.thinking=!1};c4.\u0275fac=function(a){return new (a||c4)};
c4.\u0275cmp=r({type:c4,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(wg($zc),D(0,"onedev-async-data-placeholder",0),xg(1),xg(2,1),E());a&2&&C("isReady",!b.thinking)},dependencies:[Z3],encapsulation:2});var d4=function(){this.labelPosition="left"};d4.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
d4.\u0275fac=function(a){return new (a||d4)};
d4.\u0275cmp=r({type:d4,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(Tg(c,jU,5),Tg(c,b4,7));if(a&2){var d;Rg(d=Ug())&&(b.field=d.first);Rg(d=Ug())&&(b.label=d.first)}},inputs:{labelPosition:"labelPosition"},ngContentSelectors:["onedev-field-label","onedev-field-value"],decls:3,vars:4,consts:[[1,"wrapper"]],template:function(a,b){a&1&&(wg(aAc),D(0,"div",0),xg(1),xg(2,1),E());a&2&&pg("active",null==b.field?null:b.field.isActive())("top-label","top"===b.labelPosition)},styles:[".wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:2px}.wrapper.top-label[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%]     onedev-field-label{margin-right:5px}[_nghost-%COMP%]     onedev-field-value{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;min-height:29px}[_nghost-%COMP%]     onedev-field-value>*{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:100%}[_nghost-%COMP%]     onedev-field-value onedev-async-data-placeholder{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;-ms-flex-align:start;align-items:start}[_nghost-%COMP%]     onedev-field-value [actions]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%]     onedev-field-value:not(.content-overflow){overflow:hidden;text-overflow:ellipsis}.active[_ngcontent-%COMP%]     onedev-field-label{color:var(--primary-default,#1a73e8)}"]});var cAc=["popOverContent"],e4=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.closedWithAction=new vw;this.isOpen=!1;this.destroyed$=new T.ReplaySubject(1);this.backdropClickSubscription=T.Subscription.EMPTY};e4.prototype.ngOnInit=function(){};e4.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
e4.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(Rf(this.destroyed$)).subscribe(function(){ncb(a)}))};e4.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var mcb=function(a){a.closedWithAction.emit(0);a.close()},ncb=function(a){a.closedWithAction.emit(1);a.close()};g=e4.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":ncb(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)mcb(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(mcb(this),a.stopPropagation(),a.preventDefault())}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:this.hasBackdrop,backdropClass:"onedev-pop-over-edit-panel-backdrop",panelClass:"onedev-pop-over-edit-panel",width:8+this.anchor.offsetWidth});a.overlayElement.setAttribute("role","dialog");return a};
g.attach=function(){var a=new qy(this.contentTemplateRef,this.viewContainerRef),b;null==(b=this.overlayRef)||b.attach(a);var c;null==(c=this.overlayRef)||c.updatePosition()};g.getPositionStrategy=function(){var a=HIb($z(bA(this.overlay.position(),this.anchor),!1),!1);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return Yz(a,dAc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};e4.\u0275fac=function(a){return new (a||e4)(A(cA),A(Pg))};
e4.\u0275cmp=r({type:e4,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&Sg(cAc,7);if(a&2){var c;Rg(c=Ug())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",""],["cdkTrapFocus","",1,"content","gmat-elevation-z2",3,"cdkTrapFocusAutoCapture",
"keydown"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&O(0,ocb,8,2,"ng-template",null,0,$g)},dependencies:[gx,iy,NA],styles:[".content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;background-color:var(--surface-default,#fff);border-radius:4px;overflow:auto;padding:4px}.actions[_ngcontent-%COMP%]{margin-top:4px}.actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:24px;line-height:24px;min-width:auto;padding-left:8px;padding-right:8px;font-size:13px}"]});
var dAc=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}];var eAc=["popOver"],qcb=function(a){return{$implicit:a}},f4=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new vw;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};X(f4,jU);g=f4.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return vcb(this.editingValue)!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue=null!=this.value?String(this.value):"",this.popOver.open())};g.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue),this.value=a=vcb(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=vcb(a);if(null!=a||this.val!==b)this.val=b,this.editingValue=null!=a?a:""};
g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};Ei.Object.defineProperties(f4.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});f4.\u0275fac=function(a){return new (a||f4)(Id("required"))};
f4.\u0275cmp=r({type:f4,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&Sg(eAc,7);if(a&2){var c;Rg(c=Ug())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Dg([{provide:rx,useExisting:Nc(function(){return f4}),multi:!0},{provide:jU,useExisting:Nc(function(){return f4}),multi:!0}]),$f],decls:11,
vars:6,consts:[[3,"disabled","click","focus","blur"],["anchor",""],[4,"ngIf","ngIfElse"],["standardValueDisplay",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"anchor","editorTemplate","closedWithAction"],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],
["type","number",3,"ngModel","ngModelChange"]],template:function(a,b){a&1&&(D(0,"button",0,1),K("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),D(2,"span"),O(3,rcb,2,4,"ng-container",2),O(4,scb,1,1,"ng-template",null,3,$g),E(),O(6,tcb,2,0,"svg",4),E(),D(7,"onedev-pop-over-edit-panel",5,6),K("closedWithAction",function(f){return b.stopEditing(f)}),E(),O(9,ucb,1,1,"ng-template",null,7,$g));if(a&2){var c=N(1),d=
N(5),e=N(10);C("disabled",b.disabled);z(3);C("ngIf",b.valueTemplate)("ngIfElse",d);z(3);C("ngIf",!b.disabled&&b.displayEditIcon);z(1);C("anchor",c)("editorTemplate",e)}},dependencies:[bx,gx,yh,Nx,Ex,Lx,e4],styles:["button[_ngcontent-%COMP%]{background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.edit-icon[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-left:auto;width:16px;height:16px;color:var(--icon,#5f6368);fill:currentColor}input[type=number][_ngcontent-%COMP%]{padding:4px;border-radius:5px;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;color:var(--text-default,#202124);border:1px solid var(--field-hover-border,#d2e3fc);background-color:var(--surface-default,#fff);line-height:18px}input[type=number][_ngcontent-%COMP%]:focus{outline:none;border-color:var(--primary-default,#1a73e8)}"]});var Bcb=function(){return[]},g4=function(){this.disabled=this.thinking=!1;this.effortChange=new vw;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
g4.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=fAc(this),a="incompatible"===a?{label:this.effort.estimate,value:0}:a):a=void 0;this.selectedOption=a}else if("NUMERIC"===this.getFieldType()){var b,c;this.selectedNumericEstimate=(null==(b=this.effort)?0:b.estimate)?Number(null==(c=this.effort)?void 0:c.estimate):void 0}this.fieldName=this.getFieldName();this.fieldType=
this.getFieldType();this.isCompatibleValue=gAc(this)};g4.prototype.selectOption=function(a){this.selectedOption=a;if(null==a)this.effort=void 0;else{var b,c;this.effort={specId:null!=(c=null==(b=this.effortSpec)?void 0:b.id)?c:0,estimate:a.label}}this.isCompatibleValue=gAc(this);this.effortChange.emit(this.effort)};g4.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
g4.prototype.getFieldType=function(){var a;if(null==(a=this.effortSpec)?0:a.numericSpec)return"NUMERIC";var b;return(null==(b=this.effortSpec)?0:b.enumSpec)?"DROPDOWN":"UNKNOWN"};
var gAc=function(a){var b;if(!a.effort||null==(b=a.effort)||!b.estimate)return!0;var c,d;if((null==(c=a.effortSpec)?void 0:c.id)!==(null==(d=a.effort)?void 0:d.specId)||"DROPDOWN"===a.fieldType&&"incompatible"===fAc(a))return!1;var e,f;return"NUMERIC"===a.getFieldType()&&isNaN(Number(null!=(f=null==(e=a.effort)?void 0:e.estimate)?f:""))?!1:!0},fAc=function(a){var b;if(null==(b=a.effort)?0:b.estimate){var c,d,e,f;return null!=(f=null==(c=a.effortSpec)?void 0:null==(d=c.enumSpec)?void 0:null==(e=d.options)?
void 0:e.find(function(h){var l;return h.label===(null==(l=a.effort)?void 0:l.estimate)}))?f:"incompatible"}};g4.\u0275fac=function(a){return new (a||g4)};
g4.\u0275cmp=r({type:g4,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[md],decls:3,vars:1,consts:[[4,"ngIf"],["rawNumericValueTemplate",""],["labelTooltip","Estimated effort",3,"thinking"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.","class","icon-xs effort-warning align-items-center",
3,"onedevHovercardTrigger",4,"ngIf"],["warningHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://go/buganizer/user-guide/concepts/wtdm-home.md?cl=head#stale-effort","target","_blank"],[3,"thinking"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",1,"icon-xs",
"effort-warning","align-items-center",3,"onedevHovercardTrigger"],[1,"flex-kids-x",3,"value","valueTemplate","disabled","displayEditIcon","valueChange"],[3,"value","options","includeEmptyOption","optionTemplate","disabled","displayArrowIcon","valueChange"],["optionTemplate",""],[4,"ngIf","ngIfElse"],["emptyOption",""],["regularNumeric",""]],template:function(a,b){a&1&&(O(0,Ecb,16,7,"onedev-edit-field",0),O(1,Hcb,3,2,"ng-template",null,1,$g));a&2&&C("ngIf",b.effortSpec)},dependencies:[bx,cx,dx,ex,
OB,b4,c4,d4,kU,f4,XI,bJ],styles:["onedev-numeric-field[_ngcontent-%COMP%], onedev-single-select[_ngcontent-%COMP%]{flex:1;width:100%}.effort-warning[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx);overflow:visible}\n/*# sourceMappingURL=estimated_effort_row.css.map */"]});var h4=function(){};h4.\u0275fac=function(a){return new (a||h4)};h4.\u0275mod=fd({type:h4});h4.\u0275inj=Qc({imports:[px]});var i4=function(){};i4.\u0275fac=function(a){return new (a||i4)};i4.\u0275mod=fd({type:i4});i4.\u0275inj=Qc({imports:[px,lE]});var j4=function(){};j4.\u0275fac=function(a){return new (a||j4)};j4.\u0275mod=fd({type:j4});j4.\u0275inj=Qc({imports:[h4,px,lE,i4]});var k4=function(){};k4.\u0275fac=function(a){return new (a||k4)};k4.\u0275mod=fd({type:k4});k4.\u0275inj=Qc({imports:[px,nz,fA,vy,BD]});var l4=function(){};l4.\u0275fac=function(a){return new (a||l4)};l4.\u0275mod=fd({type:l4});l4.\u0275inj=Qc({imports:[px,ay,k4]});var m4=function(){};m4.\u0275fac=function(a){return new (a||m4)};m4.\u0275mod=fd({type:m4});m4.\u0275inj=Qc({imports:[px,lE,rD,j4,xU,l4,gM]});var n4=function(a){IF.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.getSloId()}};X(n4,IF);g=n4.prototype;g.fetchOne=function(a){return this.observableSlosService.get(a)};g.getOwnedSlos=function(){return this.observableSlosService.getOwnedSlos()};g.search=function(a){return this.observableSlosService.search(a)};g.create=function(a){return this.observableSlosService.create(a)};g.update=function(a){return this.observableSlosService.update(a)};
n4.\u0275fac=function(a){return new (a||n4)(n(rQ))};n4.\u0275prov=Pc({token:n4,factory:n4.\u0275fac,providedIn:"root"});var o4=function(a,b,c,d){Z.call(this);var e=this;this.userPreferencesManager=a;this.sloStatusHelpersService=b;this.paths=c;this.sloFridge=d;this.onSnoozeChange=new vw;this.providedSloId$=new T.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(Qf(function(f){return e.sloFridge.watchOne(f)}));this.isDateTimePickerOpen=this.shouldShowSnoozeButton=this.isAccordionExpanded=!1};X(o4,Z);o4.\u0275dir=Z.\u0275dir;
o4.prototype.ngOnInit=function(){var a=this;hAc(this);this.userPreferencesManager.layoutPreferences$.pipe(Rf(this.destroyed$),B(function(b){a.isAccordionExpanded=!!b.expandIssueSlo}))};o4.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);hAc(this)};
var hAc=function(a){a.hasSlo=!!a.sloStatus&&OJ(a.sloStatus);a.shouldShowSnoozeButton=a.isEditable&&a.hasSlo;a.sloId&&"0"!==a.sloId?a.editSloLink=a.paths.editSlo(a.sloId):a.editSloLink=void 0;a.componentId?a.componentSloLink=a.paths.manageComponent(a.componentId):a.componentSloLink=void 0},iAc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;EYb(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(Rf(a.destroyed$)).subscribe();Wo(Mp.ISSUE_SLO,"toggle",a.isAccordionExpanded?
"open":"close")};o4.prototype.trackOpenSlo=function(){Wo(Mp.EDIT_SLO,"open","fromIssueSloBox")};o4.\u0275fac=function(a){return new (a||o4)(A(CI),A(MJ),A(cH),A(n4))};
o4.\u0275cmp=r({type:o4,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp"},outputs:{onSnoozeChange:"onSnoozeChange"},features:[$f,md],decls:17,vars:16,consts:[[1,"issue-slo-box-title",3,"click"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloSnoozeUntil","includeSloMetric","includeObjective"],[3,"sloStatus","sloSnoozeUntil","includeNoSlo"],
["mat-icon-button","","aria-label","Toggle the detailed SLO status","matTooltip","Toggle the detailed SLO status",1,"expand-button","small",3,"click"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],[1,"slo-actions",3,"hidden"],["class","slo-action",4,"ngIf"],[1,"slo-action"],["class","bv2-metadata-link bv2-metadata-tool","aria-label","Open page to select an slo","matTooltip","Open page to select an slo",3,"click",4,"ngIf"],["svgIcon","arrow-down",
1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"slo-start"],["role","button","tabindex","0","aria-label","Modify the slo snooze until value","matTooltip","Modify the slo snooze until value","cdkOverlayOrigin","",1,"bv2-metadata-link",3,"click"],["trigger","cdkOverlayOrigin"],[4,"ngIf"],["href","http://go/buganizer/guides/defer-slos","mat-icon-button","","aria-label","View help page on deferring slos","matTooltip","View help page on deferring slos","target","_blank",1,"bv2-metadata-link","small",
"margin-xs-left"],["svgIcon","help-outline",1,"icon-s"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["mode","date",3,"timestamp"],[3,"sloStatus","snoozeUntil","closePicker","snoozeUntilCommit"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page","class","slo-link bv2-metadata-link",3,"click",4,"ngIf"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link",
3,"click"],["aria-label","Open page to select an slo","matTooltip","Open page to select an slo",1,"bv2-metadata-link","bv2-metadata-tool",3,"click"]],template:function(a,b){a&1&&(D(0,"span",0),K("click",function(){return iAc(b)}),D(1,"label"),P(2,"SLO Status"),E()(),D(3,"div",1)(4,"div",2)(5,"div",3),F(6,"b-aggregated-slo-status-indicator",4),E(),D(7,"div",3),F(8,"b-slo-status-summary",5),E(),D(9,"button",6),K("click",function(){return iAc(b)}),O(10,Icb,1,0,"mat-icon",7),O(11,Jcb,1,0,"mat-icon",8),
E()(),D(12,"div",9),O(13,Ncb,10,4,"div",10),O(14,Pcb,4,3,"div",10),D(15,"div",11),O(16,Qcb,2,1,"a",12),E()()());a&2&&(z(5),C("hidden",b.isAccordionExpanded),z(1),C("sloStatus",b.sloStatus)("sloSnoozeUntil",b.sloSnoozeUntil)("includeSloMetric",!0)("includeObjective",!0),z(1),C("hidden",!b.isAccordionExpanded),z(1),C("sloStatus",b.sloStatus)("sloSnoozeUntil",b.sloSnoozeUntil)("includeNoSlo",!0),z(1),dg("aria-expanded",b.isAccordionExpanded),z(1),C("ngIf",!b.isAccordionExpanded),z(1),C("ngIf",b.isAccordionExpanded),
z(1),C("hidden",!b.isAccordionExpanded),z(1),C("ngIf",b.shouldShowSnoozeButton),z(1),C("ngIf",b.editSloLink),z(2),C("ngIf",!b.editSloLink&&b.componentSloLink))},dependencies:[bx,qD,NA,OA,OB,wQ,UL,uQ,B_,eA,dA,hx],styles:["[_nghost-%COMP%]{align-items:baseline;margin:8px 19px 8px 19px}[_nghost-%COMP%]:focus{outline:0}[_nghost-%COMP%]:hover   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #d2e3fc;box-shadow:0 0 0 1px var(--primary-c100);border-radius:4px}[_nghost-%COMP%]:focus   .slo-body[_ngcontent-%COMP%], [_nghost-%COMP%]:focus-within   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #1a73e8;box-shadow:0 0 0 1px var(--primary);border-radius:4px}[_nghost-%COMP%]:focus   .issue-slo-box-title[_ngcontent-%COMP%], [_nghost-%COMP%]:focus-within   .issue-slo-box-title[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.issue-slo-box-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-weight:500;flex:0 0 23%;min-width:80px;max-width:120px;padding-right:10px;color:#5f6368;color:var(--text-muted)}.slo-body[_ngcontent-%COMP%]{display:inline-block;margin:0 14px;padding:8px 0 8px 4px;width:fill-available;width:-webkit-fill-available}.slo-status[_ngcontent-%COMP%]{display:flex}.slo-actions[_ngcontent-%COMP%]   .slo-start[_ngcontent-%COMP%]{display:inline-block}.slo-actions[_ngcontent-%COMP%]   .slo-start[_ngcontent-%COMP%]   b-icon[_ngcontent-%COMP%]{margin-left:4px;vertical-align:top}.expand-button[_ngcontent-%COMP%]{margin-left:auto}.expand-button[_ngcontent-%COMP%]   .accordion-icon[_ngcontent-%COMP%]{display:block}.d-cozy[_ngcontent-%COMP%]   issue-slo-box[_ngcontent-%COMP%]{margin:4px 14px 4px 19px}.d-compact[_ngcontent-%COMP%]   issue-slo-box[_ngcontent-%COMP%]{margin:2px 14px 2px 19px}"]});var p4=function(){};p4.\u0275fac=function(a){return new (a||p4)};p4.\u0275mod=fd({type:p4});p4.\u0275inj=Qc({imports:[px,lE,BD,rD,AQ,hN,yQ,C_,fA]});var jAc=function(){return{width:400}},kAc=function(){return[]},q4=function(a,b,c,d,e,f,h,l,q){var u=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=l;this.cdr=q;this.includeArchived$=new T.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe(Qf(function(x){return x?u.componentActions.get(Number(x.componentId)):(0,T.of)(void 0)}));this.topLevelComponents$=(0,T.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe(Qf(function(x){var y=
m(x);x=y.next().value;y=y.next().value;var G;return u.componentActions.getChildren(null!=(G=null==x?void 0:x.parentComponentId)?G:0,y,G3b(u.currentTracker))}));this.createComponentPath=au.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&Tcb(this,Number(b.componentId),(0,T.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=f.isInternalSession()};q4.prototype.viewComponent=function(a,b){b=void 0===b?null:b;a&&(b&&Lp(this.analytics,"listComponents",b),this.bLocation.url(this.paths.manageComponent(a.componentId)))};
var Tcb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=naa(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-1),f={0:c},h=m(e),l=h.next();!l.done;l=h.next())l=l.value,f[l]=a.componentActions.getChildren(l,a.includeArchived);return Tp(f).then(function(q){for(var u=q[0],x=0,y={},G=m(e),J=G.next();!J.done;y={$jscomp$loop$prop$parentId$2049$2230:y.$jscomp$loop$prop$parentId$2049$2230},J=G.next()){y.$jscomp$loop$prop$parentId$2049$2230=J.value;J=void 0;
var M=null!=(J=u.find(function(V){return function(U){return U.componentId===V.$jscomp$loop$prop$parentId$2049$2230}}(y)))?J:null;M&&(M.children=q[y.$jscomp$loop$prop$parentId$2049$2230],M.showChildren=!0,u=M.children,x=M.componentId)}d.archived&&!a.includeArchived&&(b=x);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};Ei.Object.defineProperties(q4.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});
q4.\u0275fac=function(a){return new (a||q4)(A(tR),A(JJ),A(bH),A(cH),A(LH),A(tu),A(qN),A($U),A(HH,2))};
q4.\u0275cmp=r({type:q4,selectors:[["b-list-components-page"]],features:[Dg([HH])],decls:16,vars:15,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","","class","gmat-button",3,"href",4,"ngIf"],["mat-button","","panelClass","overflow-visible-inline-dialog-panel",1,"gmat-button",3,"xapInlineDialogClick","overlaySize"],["componentPickerTemplate",""],["id","bv2-issue-showarchived-button",4,"ngIf"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],[1,"top-tree",
3,"components","includeArchived","init"],["mat-button","",1,"gmat-button",3,"href"],[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"includeArchived","placeholder","shouldFocus","isRequired","selectedComponentChange"],["id","bv2-issue-showarchived-button"],["label","Show archived",3,"model","tooltip","modelChange"],[1,"bv2-view-loading"],["size","small"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1,"Browse Components"),E(),D(2,"div",1)(3,"div",2),
O(4,Rcb,2,1,"a",3),D(5,"button",4),P(6," Search Components "),E(),O(7,Scb,4,6,"ng-template",null,5,$g),O(9,Ucb,3,4,"div",6),E()(),D(10,"div",7),O(11,Vcb,2,0,"div",8),R(12,"async"),D(13,"component-tree-list",9),K("init",function(h){return b.componentTree=h}),R(14,"async"),R(15,"async"),E()());if(a&2){var c=N(8),d,e,f;z(4);C("ngIf",b.isInternalSession);z(1);C("xapInlineDialogClick",c)("overlaySize",Fg(13,jAc));z(4);C("ngIf",b.isInternalSession);z(2);C("ngIf",!(null!==(d=S(12,7,b.topLevelComponents$))&&
void 0!==d&&d));z(2);C("components",null!==(e=S(14,9,b.topLevelComponents$))&&void 0!==e?e:Fg(14,kAc))("includeArchived",null!==(f=S(15,11,b.includeArchived$))&&void 0!==f?f:!1)}},dependencies:[bx,vN,eT,dT,hT,iV,NA,OA,bV,VW,hx],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var r4=function(){};r4.\u0275fac=function(a){return new (a||r4)};r4.\u0275mod=fd({type:r4});r4.\u0275inj=Qc({imports:[px,xN,uT,vT,xT,CN,jV,BD,dV,XW]});var s4=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};s4.\u0275fac=function(a){return new (a||s4)};
s4.\u0275cmp=r({type:s4,selectors:[["b-package-mentions-listing"]],inputs:{issueId:"issueId",packageMentionSet:"packageMentionSet",displayPackageName:"displayPackageName"},decls:4,vars:2,consts:[[1,"bv2-package-mention-set"],["class","bv2-package-mention-set-package-name",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"bv2-package-mention-set-package-name"],[3,"issueId","packageName","filename","lineNumbers","changeNumber"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,Wcb,2,1,"p",1),D(2,"ul"),O(3,Xcb,2,5,"li",
2),E()());a&2&&(z(1),C("ngIf",b.displayPackageName),z(2),C("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[ax,bx,X3],encapsulation:2});var t4=function(){};t4.\u0275fac=function(a){return new (a||t4)};t4.\u0275mod=fd({type:t4});t4.\u0275inj=Qc({imports:[px,Y3]});var u4=function(){};u4.\u0275fac=function(a){return new (a||u4)};u4.\u0275mod=fd({type:u4});u4.\u0275inj=Qc({imports:[px,ay,BD,gB,uB,FW,rB]});var lAc=function(a){Y.call(this,a)};X(lAc,Y);g=lAc.prototype;g.getResourcePath=function(){return lk(this,1)};g.setResourcePath=function(a){return k(this,1,a)};g.hasResourcePath=function(){return gm(this,1)};g.getSeverity=function(){return bk(this,2,0)};g.setSeverity=function(a){return k(this,2,a)};g.hasSeverity=function(){return Sk(this,2)};g.getJudgementReason=function(){return lk(this,3)};g.setJudgementReason=function(a){return k(this,3,a)};lAc.messageId="b.CreateContentJudgementRequest";var nAc=function(a){Y.call(this,a,-1,mAc)};X(nAc,Y);var mAc=[1];nAc.messageId="b.ListContentJudgementsResponse";var v4=function(a){Y.call(this,a)};X(v4,Y);v4.prototype.getContentJudgement=function(){return wk(this,mk,1)};v4.prototype.setContentJudgement=function(a){return Ok(this,mk,1,a)};v4.messageId="b.UpdateContentJudgementRequest";var w4=function(a){this.executor=a};w4.prototype.create=function(a,b,c){a=(new lAc).setResourcePath(a).setSeverity(b).setJudgementReason(c);return this.executor.post({url:"action/content_judgements",body:a,responseConstructor:mk})};w4.prototype.update=function(a){var b=kk(a,1);a=(new v4).setContentJudgement(a);return this.executor.post({url:"action/content_judgements/"+b,body:a,responseConstructor:mk})};
w4.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:nAc})};w4.\u0275fac=function(a){return new (a||w4)(n(nE))};w4.\u0275prov=Pc({token:w4,factory:w4.\u0275fac,providedIn:"root"});var x4=function(a,b,c,d,e){var f=this;this.dialogRef=a;this.documentationLinks=b;this.contentJudgements=c;this.activeSession=d;this.data=e;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.piiSeverity=SQb;this.loaded=!1;this.minimumSeverity=0;this.severity=1;this.processContentJudgements=function(h){var l=0;h=m(fj(h,mk,1));for(var q=h.next();!q.done;q=h.next())q=q.value,lk(q,5)===f.activeSession.getUserEmail()?oAc(f,q):q.getSeverity()>l&&(l=q.getSeverity());f.minimumSeverity=l;f.minimumSeverity>
f.severity&&(f.severity=f.minimumSeverity);f.loaded=!0};this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(this.processContentJudgements):(oAc(this,e.contentJudgement),this.loaded=!0)};x4.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var oAc=function(a,b){if(a.judgement=b)a.severity=b.getSeverity()},pAc=function(a){var b=a.data.resourceType||"comment and/or attachment(s)";a.data.resourcePath&&(a.data.resourcePath.includes("comment")?b="comment":a.data.resourcePath.includes("attachment")&&(b="attachment"));if(!a.data.hasAclToCreate)return"You do not have permission to create new judgements for this\n          "+b+". This is the current restriction level of the\n          "+b+".";b="Each restriction level allows access to particular users and has a designated content retention period. Customize levels on the component settings page.";
1<a.minimumSeverity&&(b+=" You can only select a restriction level equal or greater than the severity already given by other users.");return b};x4.prototype.getContentJudgement=function(){var a=new mk;if(this.judgement){var b=kk(this.judgement,1);k(a,1,b);a.setResourcePath(this.judgement.getResourcePath())}a.setJudgementReason("None specified");a.setSeverity(this.severity);return a};
x4.prototype.onSaveClick=function(){var a=this;if(this.data.resourcePath){if(null==this.judgement){this.contentJudgements.create(this.data.resourcePath,this.severity,"None specified").subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});return}if(this.judgement.getSeverity()!==this.severity||"None specified"!==this.judgement.getJudgementReason()){this.contentJudgements.update(this.getContentJudgement()).subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});
return}}this.dialogRef.close({contentJudgement:this.getContentJudgement()})};x4.prototype.onNoClick=function(){this.dialogRef.close(null)};x4.\u0275fac=function(a){return new (a||x4)(A(ZA),A(hJ),A(w4),A(tu),A(aB))};
x4.\u0275cmp=r({type:x4,selectors:[["b-content-judgement-dialog"]],decls:28,vars:11,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],["mat-dialog-content",""],["id","restriction-radio-group-label"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-focus-ring",3,"rel"],["aria-labelledby","restriction-radio-group-label",3,"ngModel","ngModelChange"],[1,"restriction-radio","restriction-none",3,"value","disabled"],[1,"restriction-radio","restriction-pii",3,
"value","disabled"],[1,"restriction-radio","restriction-spii",3,"value","disabled"],["mat-button","",1,"gmat-button","medium","content-judgement-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","content-judgement-dialog-confirm",3,"disabled","click"]],template:function(a,b){a&1&&(D(0,"header",0)(1,"h1"),F(2,"mat-icon",1),D(3,"div"),P(4," Set restriction "),E()()(),D(5,"section",2)(6,"label",3),P(7),D(8,"a",4),P(9," Learn More "),E()(),
D(10,"mat-radio-group",5),K("ngModelChange",function(c){return b.severity=c}),D(11,"mat-radio-button",6),P(12," No restriction "),D(13,"div"),P(14,' Users with "View issues" can access. '),E()(),D(15,"mat-radio-button",7),P(16," Restricted "),D(17,"div"),P(18,' Users with "View restricted content" can access. '),E()(),D(19,"mat-radio-button",8),P(20," Restricted+ "),D(21,"div"),P(22,' Users with "View restricted+ content" can access. '),E()()()(),D(23,"mat-dialog-actions")(24,"button",9),K("click",
function(){return b.onNoClick()}),P(25," Cancel "),E(),D(26,"button",10),K("click",function(){return b.onSaveClick()}),P(27," Set "),E()());a&2&&(z(7),Q(" ",pAc(b)," "),z(1),C("rel",b.EXTERNAL_LINK_REL),dg("href",b.documentationLinks.getRestrictedAccessHelpLink(),ue),z(2),C("ngModel",b.severity),z(1),C("value",b.piiSeverity.NONE_DETECTED)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.NONE_DETECTED),z(4),C("value",b.piiSeverity.PII)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.PII),
z(4),C("value",b.piiSeverity.SPII)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.SPII),z(7),C("disabled",!b.canInteract()))},dependencies:[NA,dB,eB,fB,OB,BY,CY,Ex,Lx],styles:["h1[_ngcontent-%COMP%]{text-align:center}.restriction-radio[_ngcontent-%COMP%]{display:block;margin:10px;padding:4px;line-height:1.5em}.restriction-radio[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}\n/*# sourceMappingURL=content_judgement_dialog.css.map */"]});var y4=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=IQb;this.label="Restricted";this.contentType="item"};y4.prototype.getRetentionPeriod=function(){if(!this.retentionState||!this.retentionState.retentionPeriod)return"";var a=Bva(this.retentionState.retentionPeriod);return a?rp(Math.floor(1E3*a.getSeconds()/864E5)):""};
var Zcb=function(a){var b=new Date(864E13);if(!a.retentionState||!a.retentionState.scheduledDeletionTime)return b;a=qp(pp(a.retentionState.scheduledDeletionTime));return new Date(a||b)},qAc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>qp(pp(a.retentionState.scheduledDeletionTime))-Date.now():!1};y4.\u0275fac=function(a){return new (a||y4)(A(hJ),A(TL))};
y4.\u0275cmp=r({type:y4,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},decls:11,vars:5,consts:[[1,"bubble",3,"panelTemplate"],["bubble",""],["tabindex","0","aria-label","Display retention information","aria-haspopup","dialog","role","button",1,"chip","nowrap",3,"focus","blur"],[1,"icon-s",3,"svgIcon"],["popup",""],["infiniteRetention",""],["hasExpiredText",""],[1,"popup"],["target","_blank",3,"rel"],[3,"ngSwitch",
4,"ngIf"],[3,"ngSwitch"],[4,"ngIf","ngIfElse"],[3,"ngSwitchCase"]],template:function(a,b){if(a&1){var c=t();D(0,"xap-bubble",0,1)(2,"div",2);K("focus",function(){v(c);var e=N(1);return w(e.toggle(!0))})("blur",function(){v(c);var e=N(1);return w(e.toggle(!1))});F(3,"mat-icon",3);P(4);E();O(5,ddb,8,4,"ng-template",null,4,$g);O(7,edb,3,1,"ng-template",null,5,$g);O(9,fdb,8,5,"ng-template",null,6,$g);E()}if(a&2){var d=N(6);C("panelTemplate",d);z(2);pg("warning",qAc(b));z(1);C("svgIcon",qAc(b)?"delete-alert":
"delete-clock");z(1);Q(" ",b.label," ")}},dependencies:[bx,cx,dx,OB,LL,kx],styles:[".chip[_ngcontent-%COMP%]{display:inline-block;border-radius:1em;font-size:.8125rem;font-weight:400;line-height:1.8em;padding:0 .6em;margin:0 .6em;background-color:#e8eaed;background-color:var(--chip-bg);color:#202124;color:var(--text-high-contrast)}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:text-top}.chip.warning[_ngcontent-%COMP%]{background-color:#fcad70;background-color:var(--expiring-bg);color:rgba(0,0,0,.7);color:var(--expiring-text)}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em !important}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}\n/*# sourceMappingURL=restricted_chip.css.map */"],
changeDetection:0});var z4=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};z4.prototype.onNoClick=function(){this.dialogRef.close(!1)};z4.\u0275fac=function(a){return new (a||z4)(A(ZA),A(hJ),A(aB))};
z4.\u0275cmp=r({type:z4,selectors:[["b-restricted-confirmation-dialog"]],decls:12,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about restricted access",3,"rel"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","restricted-confirmation-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action","restricted-confirmation-dialog-confirm",3,"mat-dialog-close"]],
template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,"div",1)(3,"p"),P(4),D(5,"a",2),P(6," Learn More "),E()()(),D(7,"div",3)(8,"button",4),K("click",function(){return b.onNoClick()}),P(9," Cancel "),E(),D(10,"button",5),P(11," Confirm "),E()());a&2&&(z(1),Bg(b.data.title),z(3),Q(" ",b.data.content," "),z(1),C("rel",b.EXTERNAL_LINK_REL),dg("href",b.documentationLinks.getRestrictedAccessHelpLink(),ue),z(5),C("mat-dialog-close",!0))},dependencies:[NA,cB,dB,eB,fB],encapsulation:2});var A4=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new vw};
A4.prototype.openDialog=function(){var a=this;XA(this.dialog.open(z4,{width:"500px",data:{title:"Access Restricted Content",content:"You are about to access a comment marked as restricted.\n                    Access will be logged and audited. You must delete any\n                    data used locally when finished with business use."}})).subscribe(function(b){b&&a.onConfirm.emit()})};A4.\u0275fac=function(a){return new (a||A4)(A(bB),A(hJ))};
A4.\u0275cmp=r({type:A4,selectors:[["b-restricted-comment-placeholder"]],inputs:{disabled:"disabled"},outputs:{onConfirm:"onConfirm"},decls:5,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button","small","restricted-comment-load",3,"disabled","click"],["target","_blank","aria-label","Learn more about restricted access",3,"rel"]],template:function(a,b){a&1&&(D(0,"span")(1,"button",0),K("click",function(){return b.openDialog()}),P(2," Show Restricted Content "),E(),D(3,"a",1),P(4,
" Learn More "),E()());a&2&&(z(1),C("disabled",b.disabled),z(2),C("rel",b.EXTERNAL_LINK_REL),dg("href",b.documentationLinks.getRestrictedAccessHelpLink(),ue))},dependencies:[NA],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}\n/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var B4=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.acknowledgeToMatchIssueRetention=!1;this.resource=c.resource;this.piiRetention=c.piiRetention};B4.prototype.canInteract=function(){return 2!==this.piiRetention||this.acknowledgeToMatchIssueRetention};B4.prototype.onSaveClick=function(){this.dialogRef.close(1)};B4.prototype.onNoClick=function(){this.dialogRef.close(0)};
B4.\u0275fac=function(a){return new (a||B4)(A(ZA),A(hJ),A(aB))};
B4.\u0275cmp=r({type:B4,selectors:[["b-update-retention-dialog"]],decls:19,vars:8,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],[4,"ngIf"],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about component retention",3,"rel"],[3,"ngModel","ngModelChange",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","update-retention-dialog-cancel",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",
"medium","update-retention-dialog-confirm",3,"disabled","click"],[3,"ngModel","ngModelChange"]],template:function(a,b){a&1&&(D(0,"h1",0),F(1,"mat-icon",1),D(2,"div"),O(3,gdb,2,1,"span",2),O(4,hdb,2,0,"span",2),E()(),D(5,"div",3),O(6,idb,8,1,"span",2),O(7,jdb,3,2,"span",2),D(8,"span")(9,"a",4),P(10," Learn More "),E()()(),D(11,"div")(12,"span"),O(13,kdb,2,1,"mat-checkbox",5),E()(),D(14,"div",6)(15,"button",7),K("click",function(){return b.onNoClick()}),P(16," Cancel "),E(),D(17,"button",8),K("click",
function(){return b.onSaveClick()}),P(18," Save "),E()());a&2&&(z(3),C("ngIf",2===b.piiRetention),z(1),C("ngIf",2!==b.piiRetention),z(2),C("ngIf",2===b.piiRetention),z(1),C("ngIf",2!==b.piiRetention),z(2),C("rel",b.EXTERNAL_LINK_REL),dg("href",nu(),ue),z(4),C("ngIf",2===b.piiRetention),z(4),C("disabled",!b.canInteract()))},dependencies:[bx,NA,dB,eB,fB,OB,QI,Ex,Lx],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}\n/*# sourceMappingURL=update_retention_dialog.css.map */"]});var C4=function(){};C4.\u0275fac=function(a){return new (a||C4)};C4.\u0275mod=fd({type:C4});C4.\u0275inj=Qc({imports:[px,jD,BD,gB,XQ,rB,eU,lE,YP,rD,JY,BM,ay,fN]});var D4=function(){};D4.prototype.ngOnInit=function(){};D4.\u0275fac=function(a){return new (a||D4)};
D4.\u0275cmp=r({type:D4,selectors:[["b-tracker-account-menu-hack"]],decls:5,vars:2,consts:[["aria-label","Open account menu",1,"tracker-account-hack-button",3,"matMenuTriggerFor"],["xPosition","before"],["accountHackMenu","matMenu"],[3,"href"]],template:function(a){a&1&&(F(0,"button",0),D(1,"mat-menu",1,2)(3,"a",3),P(4,"Sign out or switch accounts"),E()());if(a&2){var b=N(2);C("matMenuTriggerFor",b);z(3);C("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
ue)}},dependencies:[iD,hD],styles:[".tracker-account-hack-button[_ngcontent-%COMP%]{z-index:9999;top:0;right:0;position:absolute;width:48px;height:48px;padding:0;margin:0;border:none;cursor:pointer;background:none;outline:none}a[_ngcontent-%COMP%]{padding:8px}"]});var E4=function(){Z.apply(this,arguments);this.trackerCheckboxValues={}};X(E4,Z);E4.\u0275dir=Z.\u0275dir;E4.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=m(null!=(b=this.availableTrackers)?b:[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.currentTrackerId===b.trackerId?this.trackerCheckboxValues[b.trackerId]=!0:this.trackerCheckboxValues[b.trackerId]=!1}};var rAc=function(a){return Object.keys(gc(a.trackerCheckboxValues,function(b){return b}))};
E4.\u0275fac=function(){var a;return function(b){return(a||(a=Od(E4)))(b||E4)}}();
E4.\u0275cmp=r({type:E4,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[$f,md],decls:8,vars:4,consts:[[1,"bv2-tracker-search"],[1,"bv2-adv-search-rule","bv2-adv-tracker-search-rule"],[1,"bv2-adv-tracker-search-rule-title"],["class","bv2-adv-tracker-search-rule-error",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[1,"bv2-adv-tracker-search-rule-error"],[1,"bv2-adv-search-enum-item"],
["gmat-checkbox","",3,"checked","change"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),P(4,"Select a tracker"),E(),O(5,ldb,2,0,"span",3),E(),D(6,"div",4),O(7,mdb,3,2,"div",5),E()()());a&2&&(pg("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),z(5),C("ngIf",0===rAc(b).length),z(2),C("ngForOf",b.availableTrackers))},dependencies:[ax,bx,QI],styles:[".bv2-adv-tracker-search-rule[_ngcontent-%COMP%]{margin-top:0px;margin-bottom:10px;flex-direction:column}.bv2-adv-tracker-search-rule-title[_ngcontent-%COMP%]{font-weight:bold;margin-bottom:8px}.bv2-adv-tracker-search-rule-error[_ngcontent-%COMP%]{font-weight:normal;margin-left:8px;color:#d93025}"]});var F4=function(a,b,c,d,e,f){Z.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=f;this.prefsManager.preferences$.pipe(Rf(this.destroyed$)).subscribe(function(l){h.prefs=l});a.topBarEvents.browseComponents.pipe(Rf(this.destroyed$)).subscribe(function(l){l=l.newTab;sAc(h,d.listComponents(),l)});a.topBarEvents.manageHotlists.pipe(Rf(this.destroyed$)).subscribe(function(l){sAc(h,d.listHotlists(),l.newTab)});a.topBarEvents.manageSlos.pipe(Rf(this.destroyed$)).subscribe(function(l){l=
l.newTab;sAc(h,d.listSlos(),l)});a.topBarEvents.setDensity.pipe(Rf(this.destroyed$)).subscribe(function(l){h.setDensity(l)});a.topBarEvents.openSettings.pipe(Rf(this.destroyed$)).subscribe(function(l){var q=l.newTab;sAc(h,msa(l.settingsTabName),q)})};X(F4,Z);F4.\u0275dir=Z.\u0275dir;var sAc=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.url(b)};
F4.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Ef(),Rf(this.destroyed$)).subscribe(),Lp(this.analytics,"preferences","setDisplayDensity",a))};F4.\u0275fac=function(a){return new (a||F4)(n(uG),n(LH),n(bH),n(cH),n(CI),n(JI))};F4.\u0275prov=Pc({token:F4,factory:F4.\u0275fac,providedIn:"root"});var G4=function(a,b,c,d,e,f,h,l,q,u,x){Z.call(this);var y=this;this.activeSession=a;this.currentTracker=b;this.searchAcData=c;this.savedSearchApi=d;this.butterBar=e;this.bLocation=f;this.paths=h;this.analytics=l;this.appEvents=u;this.appSearchState=x;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=Qp(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(Rf(this.destroyed$)).subscribe(function(){y.items=y.searchAcData.items;y.acHeader=y.searchAcData.acHeader})};X(G4,Z);G4.\u0275dir=Z.\u0275dir;var tAc=function(a,b){if(b)return"Search "+b.name+" Issues";switch(a.frontendAccessMode){case "INTERNAL":return"Search Buganizer";case "PARTNER":return"Search Partner IssueTracker";case "PUBLIC":return"Search IssueTracker";default:return"Search"}};
G4.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(Rf(this.destroyed$)).subscribe(function(c){var d=a.searchAcData,e=c.cursorPosition;d.query=c.query;d.cursorIdx=e;if(null==d.cursorIdx)d.currentSearchContext=null;else{var f=d.query,h=d.cursorIdx;if(0>h||h>f.length)throw Error("pe");e=new nnc(f,h);if(f){var l=f.slice(0,h);for(var q=!1,u=-1,x=-1;-1<(u=l.indexOf('"',u+1));)q=!q,x=u;l=q?x:-1;if(-1<l)e.value={val:f.slice(l,h),idx:l};else if(l=f.slice(h),q=l.search("\\s"),
(l=t2a(f.slice(0,h)+(-1<q?l.slice(0,q):l),rnc))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},uj(l.val,"customfield")&&(l.customFieldId=l.val.slice(11),l.val="customfield")):l=null,l){q=l.idx+(l.negated?1:0)+l.val.length+l.operator.length+(l.customFieldId?l.customFieldId.length:0);f=f.slice(q);h=Math.max(h-q,0);u=l;if("("===f.charAt(0)){b:{u=[];x=/[()]/g;for(var y;null!=(y=x.exec(f));){var G=u[u.length-1];if(G&&G!==y[0]){if(u.pop(),!u.length){u=
y.index>=h;break b}}else u.push(y[0])}u=!0}u=u?2:0}else u=onc.includes(u.val)&&-1===f.search("^\\d")?1:0;switch(u){case 2:f=onc.includes(l.val)?Gr(f,h,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):Gr(f,h,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(f.val)&&(f.val="",f.idx=h);e.value=f;break;case 1:e.value=Gr(f,h,"[()|]","[()|,\\s]");break;case 0:e.value=Gr(f,h,"[\\s()|]");-1<f.slice(0,h).search("[\\s()|]")&&(l=null);break;default:Qi(u,"unknown ValueType.")}e.value.idx+=q;e.label=l}else e.value=
Gr(f,h,"[\\s()]")}d.currentSearchContext=e}d.currentSearchContext&&(e=d.currentSearchContext,h=++d.requestIndex,d.refreshRequest$.next({currentRequestIndex:h,currentSearchContext:e}));a.currentQuery=c.query});var b=this.appSearchState.queryState$.pipe(B(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(Tf(b),Rf(this.destroyed$)).subscribe(function(c){c=m(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=void 0===d?"":d;var f=FOa(c),h=f.filters,l=f.text,q=f.complexSyntax,
u=f.resourceIds;f=[h,l,u].reduce(GOa);h=[h?"filters":void 0,l?"text":void 0,u?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,f):e.track(d,"UNHANDLED");d=Ca(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};G4.prototype.ngAfterViewInit=function(){dzc(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var uAc=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:kzc(a.advancedSearchCtrl).trim()};
g=G4.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(uAc(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&dzc(this.advancedSearchCtrl,this.currentQuery)};g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:rAc(a))?b:[]);this.advancedSearchCtrl&&(a=uAc(this),void 0!==a&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
g.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:rAc(a))?b:[]);this.advancedSearchCtrl&&(a=uAc(this),void 0!==a&&(this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}),this.appSearchState.searchTriggered$.next("ui-builder")))};
g.saveSearch=function(a){var b=this;if(this.advancedSearchCtrl){var c=uAc(this);void 0!==c&&(nG(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;nG(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.url(b.paths.viewSavedSearch(d));Lp(b.analytics,"savedSearches","create")}).catch(function(d){oG(b.butterBar,Dn(d))}))}};g.isSearchDisabled=function(){return this.inTracker()&&0===rAc(this.trackerSearchCtrl).length};
g.inTracker=function(){return!!this.trackerSearchCtrl};G4.\u0275fac=function(a){return new (a||G4)(A(tu),A(qN),A(n_),A(RQ),A(mG),A(bH),A(cH),A(LH),A(F4),A(uG),A(oT))};
G4.\u0275cmp=r({type:G4,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(Sg(O2,5),Sg(E4,5));if(a&2){var c;Rg(c=Ug())&&(b.advancedSearchCtrl=c.first);Rg(c=Ug())&&(b.trackerSearchCtrl=c.first)}},features:[$f],decls:11,vars:20,consts:[[3,"logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader","isSearchDisabled","searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch"],
[3,"currentTrackerId","availableTrackers",4,"ngIf"],[3,"isTrackerSearchEnabled"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[3,"currentTrackerId","availableTrackers"],[1,"bv2-view-loading"],[1,"bv2-validation-error-banner"],["class","warning-container",4,"ngIf"],[1,"warning-container"],["svgIcon","alert"]],template:function(a,b){a&1&&(D(0,"b-app-top-bar",0),K("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),R(1,"async"),O(2,ndb,3,6,"b-tracker-search",1),R(3,"async"),F(4,"b-advanced-search",2),R(5,"async"),O(6,odb,4,0,"div",3),O(7,rdb,3,2,"div",4),O(8,sdb,2,0,"div",4),E(),O(9,tdb,1,0,"b-tracker-account-menu-hack",5),R(10,"async"));if(a&2){var c;C("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
tAc(b,S(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());z(2);C("ngIf",null!==(c=S(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);z(2);C("isTrackerSearchEnabled",b.currentTracker.enableTrackers&&!S(5,16,b.currentTracker.inTracker$));z(2);C("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);C("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:
b.advancedSearchCtrl.getState())||"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);C("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);C("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&S(10,18,b.currentTracker.inTracker$))}},dependencies:[bx,O2,E4,k3,vN,OB,D4,hx],styles:["b-app-top-bar[_ngcontent-%COMP%]{position:relative;z-index:900}.warning-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.warning-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx);height:30px;width:30px;flex-shrink:0}.warning-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:inline-block;margin-left:12px}"]});var H4=function(){};H4.\u0275fac=function(a){return new (a||H4)};H4.\u0275mod=fd({type:H4});H4.\u0275inj=Qc({imports:[px,BM]});var I4=function(){};I4.\u0275fac=function(a){return new (a||I4)};I4.\u0275mod=fd({type:I4});I4.\u0275inj=Qc({imports:[px,R2,H4,r3,xN,rD,jD]});var J4=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=Gj;this.updateDiffs=b.updateDiffs};J4.prototype.close=function(){this.dialogRef.close()};J4.\u0275fac=function(a){return new (a||J4)(A(ZA),A(aB))};
J4.\u0275cmp=r({type:J4,selectors:[["b-update-history-modal"]],decls:6,vars:1,consts:[["mat-dialog-content","",1,"update-history-modal"],["tabindex","0",1,"update-history-list"],["class","bv2-event",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],[1,"bv2-event"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user-name",3,"email"],[1,"bv2-event-info"],["mode","datetime",3,"timestamp"],
[1,"bv2-event-details"],["class","bv2-diff-detail",4,"ngFor","ngForOf"],[1,"bv2-diff-detail"],[4,"ngIf"],[1,"bv2-diff-arrow"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"ul",1),O(2,Cdb,10,4,"li",2),E()(),D(3,"div",3)(4,"button",4),K("click",function(){return b.close()}),P(5," Close "),E()());a&2&&(z(2),C("ngForOf",b.updateDiffs))},dependencies:[ax,bx,NA,eB,fB,kN,bM,UL],styles:[".update-history-modal[_ngcontent-%COMP%]{word-break:break-word}.update-history-modal[_ngcontent-%COMP%]   .update-history-list[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;padding:0}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]{padding:0 0 10px}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]:last-child{border-bottom:none}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]   .bv2-event-details[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:auto}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]   .bv2-event-details[_ngcontent-%COMP%]   .bv2-diff-detail[_ngcontent-%COMP%]{margin-right:0}h4[_ngcontent-%COMP%]{margin:0;margin-bottom:8px;font-weight:normal}"]});var K4=function(){};K4.\u0275fac=function(a){return new (a||K4)};K4.\u0275mod=fd({type:K4});K4.\u0275inj=Qc({imports:[px,BD,gB,nN,hN]});var L4=function(a,b){Z.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=Xh("https://www.gstatic.com/buganizer/img/v4/favicon.png")};X(L4,Z);L4.\u0275dir=Z.\u0275dir;
var vAc=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?Xh(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(B(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var f;d=Xh(null==d?void 0:null==(f=d.branding)?void 0:f.logoUrl)}else d=a.faviconUrl;return d}),Rf(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof wv)b.href=Wi(d).toString();else{if(-1===hQb.indexOf("icon"))throw Error("Yb`icon");
d=oka(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};L4.\u0275fac=function(a){return new (a||L4)(n(SE),n(qN))};L4.\u0275prov=Pc({token:L4,factory:L4.\u0275fac,providedIn:"root"});var wAc=/^\s*[^:/?#]+:/i,xAc=/^#/i,M4=function(a){var b=this;this.bLocation=a;this.linkClickHandler=function(c){if(!(c.ctrlKey||c.metaKey||c.shiftKey||2===c.which||2===c.button||c.defaultPrevented)){var d;a:{for(d=c.target;d;){if("A"===d.tagName)break a;d=d.parentElement}d=void 0}if(d&&(!d.hasAttribute("target")||"_self"===d.getAttribute("target"))&&(d=d.getAttribute("href"))&&!wAc.test(d))if(xAc.test(d)){b.bLocation.hash(d.substring(1));var e;null==(e=document.getElementById(d.substring(1)))||e.scrollIntoView();
c.stopPropagation();c.preventDefault()}else c.preventDefault(),b.bLocation.url(d)}}};M4.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};M4.\u0275fac=function(a){return new (a||M4)(n(bH))};M4.\u0275prov=Pc({token:M4,factory:M4.\u0275fac,providedIn:"root"});var yAc=[],zAc=!1,N4=function(a,b,c,d,e,f,h,l){Z.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=f;this.issueLru=h;this.faviconService=l};X(N4,Z);N4.\u0275dir=Z.\u0275dir;N4.prototype.tearDown=function(){Z.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};N4.\u0275fac=function(a){return new (a||N4)(n(MN),n(MB),n(tu),n(G_),n(J_),n(M4),n(FN),n(L4))};
N4.\u0275prov=Pc({token:N4,factory:N4.\u0275fac,providedIn:"root"});
var AAc={provide:SDb,useFactory:function(a){return function(){Zi("app initializer starting");zAc||(a.iconRegistry._addSvgIconSetConfig("",new TKb(Y4b)),zAc=!0);if(a.session.isInternalSession()){p4b(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Ef(),Rf(a.destroyed$)).subscribe();for(var b=m(yAc),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;Qp(a.session,c.flagName)&&p4b(a.hatsService,d).pipe(Ef(),Rf(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;gAa(b.viewed,g4b());gAa(b.edited,e4b());b.appEvents.issueViewed.pipe(Rf(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(Rf(b.stop$)).subscribe(b.addEdited);vAc(a.faviconService)}},deps:[N4],multi:!0};var O4=function(a,b){this.paths=a;this.bLocation=b};O4.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=this.paths.editIssue(a.issueId)+(b?"#"+b:"");this.bLocation.url(a)};O4.\u0275fac=function(a){return new (a||O4)(n(cH),n(bH))};O4.\u0275prov=Pc({token:O4,factory:O4.\u0275fac,providedIn:"root"});var BAc={provide:UI,useExisting:O4};var CAc=function(){var a;switch(null==(a=self.location)?void 0:a.hostname){case "cider.corp.google.com":case "cider-v.corp.google.com":case "critique.corp.google.com":return 1;case "cider-staging.corp.google.com":case "cider-v-staging.corp.google.com":case "cider-next.corp.google.com":case "critique-staging.corp.google.com":return 2;case "cider-test.corp.google.com":case "cider-v-test.corp.google.com":case "critique-qa.corp.google.com":return 3;default:return 4}}();var P4=function(a){cC.call(this);this.errorHandlerFn_=a};Gu(P4,cC);P4.prototype.wrap=function(a){return DAc(this,a)};var Q4=function(a,b){return(b?"__wrapper_":"__protected_")+Va(a)+"__"},DAc=function(a,b){var c=Q4(a,!0);b[c]||((b[c]=EAc(a,b))[Q4(a,!1)]=b);return b[c]},EAc=function(a,b){var c=function(){if(a.isDisposed())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){a.handleError_(d)}};c[Q4(a,!1)]=b;return c};
P4.prototype.handleError_=function(a){if(!(a&&"object"===typeof a&&"string"===typeof a.message&&0==a.message.indexOf("Error in protected function: ")||"string"===typeof a&&0==a.indexOf("Error in protected function: ")))throw this.errorHandlerFn_(a),new FAc(a);};
var GAc=function(a,b){var c=da.window||da.globalThis,d=c[b];if(!d)throw Error("Ke`"+b);c[b]=function(e,f){"string"===typeof e&&(e=Fu(iAb,e));e&&(arguments[0]=e=DAc(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var l=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,l)}}return d(h,f)};c[b][Q4(a,!1)]=d};
P4.prototype.disposeInternal=function(){var a=da.window||da.globalThis;var b=a.setTimeout;b=b[Q4(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[Q4(this,!1)]||b;a.setInterval=b;P4.superClass_.disposeInternal.call(this)};var FAc=function(a){aa.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&"string"===typeof a&&(this.stack=a)};Gu(FAc,aa);var R4=function(a,b,c){Qq.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=HAc;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new P4(Eu(this.handleException,this));GAc(this.errorHandler_,"setTimeout");GAc(this.errorHandler_,"setInterval");a=this.errorHandler_;b=da.window||da.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&GAc(a,
e)}a=this.errorHandler_;tLb=!0;b=Eu(a.wrap,a);for(c=0;c<rLb.length;c++)rLb[c](b);sLb.push(a)}};Gu(R4,Qq);var IAc=function(a,b){eC.call(this,"B");this.error=a;this.context=b};Gu(IAc,eC);var HAc=function(a,b,c,d){if(d instanceof Map){var e={};d=m(d);for(var f=d.next();!f.done;f=d.next()){var h=m(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;Pi(a,null,b,c,e)};
R4.prototype.handleException=function(a,b){a=a.error||a;b=b?kc(b):{};a instanceof Error&&lc(b,a.__closure__error__context__984382||{});var c=VGb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(l){}var d=c.message.substring(0,1900);if(!(a instanceof aa)||a.reportErrorToServer){a=c.stack;try{var e=FC(this.handlerUrl_,"script",c.fileName,"error",d,"line",c.lineNumber);hc(this.additionalArguments_)||(e=nsa(e,this.additionalArguments_));d={};d.trace=a;if(b)for(var f in b)d["context."+
f]=b[f];var h=FNb(d);this.xhrSender_(e,"POST",h,this.extraHeaders_)}catch(l){}}try{this.dispatchEvent(new IAc(c,b))}catch(l){}};R4.prototype.disposeInternal=function(){Oi(this.errorHandler_);R4.superClass_.disposeInternal.call(this)};var S4=function(){this.jsBuild="514438773";this.buildLabel="buganizer.frontend_20230306.06_p0"};S4.\u0275fac=function(a){return new (a||S4)};S4.\u0275prov=Pc({token:S4,factory:S4.\u0275fac,providedIn:"root"});var T4=function(){};T4.prototype.reportingEnabled=function(){return 4!==CAc};T4.\u0275fac=function(a){return new (a||T4)};T4.\u0275prov=Pc({token:T4,factory:T4.\u0275fac,providedIn:"root"});
var U4=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new R4("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=m(c.reportingExtensions);for(var f=d.next();!f.done;f=d.next())f.value.enhanceContext(e)},!0)};
U4.prototype.reportError=function(a){console.error("ErrorReporter: ",(null==a?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""));this.jsDebugErrorReporter.handleException(a);a=m(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};U4.\u0275fac=function(a){return new (a||U4)(n(S4),n(T4))};U4.\u0275prov=Pc({token:U4,factory:U4.\u0275fac,providedIn:"root"});var V4=function(a){this._console=console;this.reporter=a};X(V4,Ce);V4.prototype.handleError=function(a){this.reporter.reportError(a)};V4.\u0275fac=function(a){return new (a||V4)(n(U4))};V4.\u0275prov=Pc({token:V4,factory:V4.\u0275fac,providedIn:"root"});var W4=function(a){this.activeSession=a};X(W4,T4);W4.prototype.reportingEnabled=function(){return Qp(this.activeSession,"reportErrors")};W4.\u0275fac=function(a){return new (a||W4)(n(tu))};W4.\u0275prov=Pc({token:W4,factory:W4.\u0275fac,providedIn:"root"});
var JAc={provide:Ce,useClass:V4},KAc={provide:T4,useClass:W4},LAc={provide:S4,useValue:{jsBuild:"514438773",buildLabel:"buganizer.frontend_20230306.06_p0"}};var X4=function(){};X4.\u0275fac=function(a){return new (a||X4)};X4.\u0275cmp=r({type:X4,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var Y4=function(){};Y4.\u0275fac=function(a){return new (a||Y4)};Y4.\u0275mod=fd({type:Y4});Y4.\u0275inj=Qc({});var Z4=function(){};X(Z4,SG);g=Z4.prototype;g.shouldDetach=function(){return!1};g.store=function(){};g.shouldAttach=function(){return!1};g.retrieve=function(){return null};g.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&mj(a.params,b.params)};Z4.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Z4)))(b||Z4)}}();Z4.\u0275prov=Pc({token:Z4,factory:Z4.\u0275fac,providedIn:"root"});var a5=function(a){this.router=a};
a5.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=m(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return this.router.createUrlTree([a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&"1"===a.queryParamMap.get("showInsights")){b=m(b.url.split("?")).next().value;var d={};return this.router.createUrlTree([b],{queryParams:Object.assign({},Vta(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=
(c=a.fragment)?c:void 0})}return!0};a5.\u0275fac=function(a){return new (a||a5)(n(WG))};a5.\u0275prov=Pc({token:a5,factory:a5.\u0275fac,providedIn:"root"});var MAc=/^(\d+)$/,b5=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(MRb))};b5.prototype.validate=function(a){for(var b=m(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=zj(d);if(!MAc.test(d)||isNaN(e)||!Number.isInteger(e))return oG(this.butterBar,"The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};b5.\u0275fac=function(a){return new (a||b5)(n(mG))};
b5.\u0275prov=Pc({token:b5,factory:b5.\u0275fac,providedIn:"root"});var c5=function(a){this.routeParamsValidator=a};c5.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};c5.\u0275fac=function(a){return new (a||c5)(n(b5))};c5.\u0275prov=Pc({token:c5,factory:c5.\u0275fac,providedIn:"root"});var d5=function(a,b){this.activeSession=a;this.router=b};d5.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:this.router.createUrlTree(["issues"])};d5.\u0275fac=function(a){return new (a||d5)(n(tu),n(WG))};d5.\u0275prov=Pc({token:d5,factory:d5.\u0275fac,providedIn:"root"});var e5=function(a,b){this.currentTracker=a;this.router=b};e5.prototype.canActivate=function(){return this.currentTracker.inTracker?this.router.createUrlTree(["issues"]):!0};e5.\u0275fac=function(a){return new (a||e5)(n(qN),n(WG))};e5.\u0275prov=Pc({token:e5,factory:e5.\u0275fac,providedIn:"root"});var f5=function(a,b){this.router=a;this.activeSession=b};f5.prototype.canActivate=function(){var a=Qp(this.activeSession,"enableHomepageVariantA");return this.router.createUrlTree([Ddb(a)])};f5.\u0275fac=function(a){return new (a||f5)(n(WG),n(tu))};f5.\u0275prov=Pc({token:f5,factory:f5.\u0275fac,providedIn:"root"});var g5=function(a){Z.call(this);var b=this;this.componentFridge=a;this.componentId$=new T.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(sf(function(c){return String(c.idOrKey)===b.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(sf(Vj),Qf(this.componentFridge.watch),sf(Vj));this.component$=(0,T.merge)(this.error$,this.rawComponent$).pipe(B(function(c){return c.componentId&&c.name?c:{componentId:Number(c.idOrKey),name:"(unknown)"}}));this.isArchived$=
this.component$.pipe(B(function(c){return c.archived}));this.componentPath$=this.component$.pipe(B(function(c){return Kq(c.componentPathInfo)}));this.init=new T.ReplaySubject(1);this.routes$=this.componentId$.pipe(B(function(c){return{createIssue:osa(c),componentSettings:Nn(c),recentIssues:Mn(c)}}))};X(g5,Z);g5.\u0275dir=Z.\u0275dir;g5.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Ef(),Rf(this.destroyed$)).subscribe(function(){a.init.next()})};
Ei.Object.defineProperties(g5.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});g5.\u0275fac=function(a){return new (a||g5)(A(OF))};
g5.\u0275cmp=r({type:g5,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[$f],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["class","component-path squared b-chip s margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","flex-kids-y padded-s-top actions",4,"ngIf"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[4,"ngFor","ngForOf"],
[3,"routerLinkObj"],[1,"flex-kids-x"],["svgIcon","folder",1,"icon-xs"],[1,"type-s"],[1,"type-s","id-text"],[1,"flex-kids-y","padded-s-top","actions"],["aria-label","View recent open issues","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"],["aria-label","View component settings","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"],["aria-label","Create issue in this component","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"]],template:function(a,b){a&1&&(D(0,"div",0)(1,
"div",1),O(2,Hdb,5,6,"div",2),O(3,Idb,9,3,"ng-container",3),R(4,"async"),O(5,Jdb,7,3,"div",4),R(6,"async"),E()());a&2&&(z(2),C("ngIf",!b.hidePath),z(1),C("ngIf",S(4,3,b.component$)),z(2),C("ngIf",S(6,5,b.routes$)))},dependencies:[ax,bx,OB,OA,GN,hx],styles:["img[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;object-fit:contain;width:24px;height:24px;box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15);padding:5px;border-radius:4px}.id-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-bottom:12px}.b-chip[_ngcontent-%COMP%]{margin-right:0;line-height:16px;padding-top:2px;padding-bottom:2px}mat-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.component-path[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#202124;color:var(--text)}.component-path[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active, .component-path[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .component-path[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link);text-decoration:underline}.actions[_ngcontent-%COMP%]{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"]});var h5=function(a,b,c,d,e){var f=this;this.userResources=a;this.history=b;this.router=c;this.currentTracker=d;this.activeSession=e;this.viewIssues=Mn;this.createIssue=osa;this.componentSettings=Nn;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(B(function(h){return h||f.activeSession.isExternalSession()?"Find components by name or id":"Find components by name, team, or id"}));
this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(l){return f.filterTrackerComponents(l)})}).finally(function(){f.isThinking=!1})};h5.prototype.back=function(){H_(this.history)};h5.prototype.filterTrackerComponents=function(a){return zn(this.trackerId)||a.trackerId===this.trackerId};h5.\u0275fac=function(a){return new (a||h5)(A(tH),A(G_),A(WG),A(qN),A(tu))};
h5.\u0275cmp=r({type:h5,selectors:[["components-screen-wrapper"]],decls:24,vars:12,consts:[[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-appbar-right"],["mat-button","","routerLink","/components/new","class","gmat-button medium",4,"ngIf"],["label","Show archived","tooltip","Toggle whether to show 'archived' Components",
1,"margin-x",3,"model","modelChange"],[1,"padded"],[3,"includeArchived","placeholder","ariaLabel","selectedComponentChange"],[1,"margin-top"],[1,"pos-rel","carded","bg-main"],[4,"ngIf"],[1,"muted","margin-s-top","margin-left"],["routerLink","/components/all",1,"muted","hover-link"],["mat-button","","routerLink","/components/new",1,"gmat-button","medium"],["class","muted",4,"ngIf"],[1,"unstyled-list","reverse-padded-sides","recent-components"],[4,"ngFor","ngForOf"],[1,"muted"],["href","https://developers.google.com/issue-tracker/concepts/components#recent-components",
"target","_blank"],[1,"flex-kids-x","clickable-row","padded",3,"routerLinkObj"],[1,"flex-1",3,"onedevHovercardTrigger"],[1,"type-l","normal-link"],[1,"margin-s-left",3,"accessLevel","labelOnlyMode"],[1,"margin-s-left",3,"trackerId","showHovercard"],[1,"muted","line-clamp-2"],[1,"right"],["mat-button","","type","button",1,"gmat-button","medium",3,"routerLinkObj"],["card",""],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(D(0,"article",
0)(1,"header",1)(2,"div",2)(3,"button",3),K("click",function(){return b.back()}),F(4,"mat-icon",4),E(),D(5,"h2"),P(6,"Components"),E()(),D(7,"div",5),O(8,Kdb,2,0,"a",6),D(9,"b-slide-toggle",7),K("modelChange",function(e){return b.includeArchived=e}),E()()(),D(10,"section",8)(11,"h3"),P(12,"Search"),E(),D(13,"b-team-component-picker",9),K("selectedComponentChange",function(e){null!=e&&Ht(b.router,Nn(e.componentId).path)}),R(14,"async"),R(15,"async"),E(),D(16,"h3",10),P(17,"Recent Components"),E(),
D(18,"div",11),O(19,Odb,4,2,"ng-container",12),R(20,"async"),E(),D(21,"p",13)(22,"a",14),P(23,"See all Components"),E()()()());if(a&2){var c,d;z(8);C("ngIf",b.isInternalSession);z(1);C("model",b.includeArchived);z(4);C("includeArchived",b.includeArchived)("placeholder",null!==(c=S(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=S(15,8,b.placeholder$))&&void 0!==d?d:"");z(6);C("ngIf",S(20,10,b.recentComponents$))}},dependencies:[NA,OA,OB,qD,ax,bx,XG,GN,VW,g5,XI,YI,bJ,ZI,iV,ML,kO,hx],
encapsulation:2});var i5=function(){};i5.\u0275fac=function(a){return new (a||i5)};i5.\u0275mod=fd({type:i5});i5.\u0275inj=Qc({imports:[px,rD,BD,aH,HN]});var NAc=["bookmarkGroupName"],OAc=function(a){return{"bv2-edit-resource-readonly":a}},j5=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=f;this.errorHandler=l;this.appEvents=u;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new Ix({name:new Kx("",Ax),description:new Kx("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(cO(q,function(){return!(!x.name()&&!x.description())},
!1))};X(j5,Z);j5.\u0275dir=Z.\u0275dir;g=j5.prototype;g.ngAfterViewInit=function(){this.bookmarkGroupName.nativeElement.focus()};
g.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving bookmark group...","dismiss",{duration:0}),this.isSaving=!0,this.bookmarkGroupsApi.create({name:this.name(),description:this.description()}).then(function(b){a.isSaving=!1;a.snackBar.open('Bookmark group "'+b.name+'" saved.',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:b.bookmarkGroupId});Lp(a.analytics,"sidebarHotlists","createdBookmarkGroup");a.location.replaceUrl(a.paths.editBookmarkGroup(b.bookmarkGroupId));
a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,b)}))};g.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){H_(this.appHistory)};g.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};g.name=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("name"))?void 0:a.value;return b?b:""};
g.description=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("description"))?void 0:a.value;return b?b:""};j5.\u0275fac=function(a){return new (a||j5)(A(bH),A(G_),A(jG),A(SS),A(cH),A(LH),A(tR),A(qG),A(bO),A(uG))};
j5.\u0275cmp=r({type:j5,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&Sg(NAc,5);if(a&2){var c;Rg(c=Ug())&&(b.bookmarkGroupName=c.first)}},features:[$f],decls:27,vars:11,consts:[[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",1,"required"],
["type","text","autofocus","autofocus","id","bookmark-group-name","required","","aria-required","true","formControlName","name",3,"disabled"],["bookmarkGroupName",""],["for","bookmark-group-description"],["id","bookmark-group-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button",3,"disabled","click"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,
b){a&1&&(D(0,"div",0)(1,"div",1)(2,"button",2),K("click",function(){return b.back()}),F(3,"mat-icon",3),E(),D(4,"h2"),P(5,"Create a new bookmark group"),E()()(),D(6,"div",4)(7,"div",5)(8,"form",6),F(9,"b-error-banner",7),D(10,"div",8)(11,"label",9),P(12,"Name"),E(),F(13,"input",10,11),E(),D(15,"div",8)(16,"label",12),P(17,"Description"),E(),D(18,"textarea",13),P(19,"        "),E()(),D(20,"p",14),P(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
E(),D(22,"div",15)(23,"button",16),K("click",function(){return b.save()}),P(24," Save "),E(),D(25,"button",17),K("click",function(){return b.revertChanges()}),P(26," Revert changes "),E()()()()());a&2&&(z(8),C("formGroup",b.bookmarkGroupUnderEdit),z(1),C("error",b.error),z(1),C("ngClass",Gg(7,OAc,b.isSaving)),z(3),C("disabled",b.isSaving),z(2),C("ngClass",Gg(9,OAc,b.isSaving)),z(3),C("disabled",b.isSaving),z(5),C("disabled",b.isSaving))},dependencies:[$w,NA,qD,OB,Mx,yh,Ex,Fx,Wx,Sx,Tx,rZ],encapsulation:2});var PAc=["form"],k5=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=f;this.documentationLinks=h;this.componentActions=u;this.parentComponentInternal=null;this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,customFieldId:null,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",
componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null},userHasEditAccess:void 0,commentEditState:void 0,defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0"};this.sessionIsExternal=f.isExternalSession();l.parentId&&this.loadParentComponent(sj(l.parentId));q.setTitle("Create component")};X(k5,Z);k5.\u0275dir=Z.\u0275dir;g=k5.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(nG(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){nG(a.butterBar,"Component saved, redirecting in "+a.activeSession.getCreateComponentRedirectDelay()/1E3+"s.",a.activeSession.getCreateComponentRedirectDelay());Lp(a.analytics,"component","create");a.commentEditsEnabled?Lp(a.analytics,"component","comment edits enabled",
"create"):Lp(a.analytics,"component","comment edits disabled","create");setTimeout(function(){a.isSaving=!1;a.bLocation.replaceUrl(a.paths.manageComponent(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){oG(a.butterBar,Dn(b),0);a.isSaving=!1}))};g.back=function(){H_(this.appHistory)};
g.validate=function(){if(this.createComponentForm.form.invalid)return this.error="Error: You must fill out all required fields.",!1;if(this.componentIsValid){if(this.retentionIsValid)return this.error="",!0;this.error="Error: Required retention settings are missing or invalid."}return!1};g.loadParentComponent=function(a){var b=this;this.componentActions.getUncached(a,!0).then(function(c){b.parentComponent=c})};
g.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};g.onComponentSelect=function(a){this.parentComponent=a;QAc(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;QAc(this)};
var QAc=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};Ei.Object.defineProperties(k5.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;QAc(this)}}});
k5.\u0275fac=function(a){return new (a||k5)(A(mG),A(cH),A(LH),A(G_),A(bH),A(tu),A(hJ),A(JJ),A(tR),A($U))};
k5.\u0275cmp=r({type:k5,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&Sg(PAc,5);if(a&2){var c;Rg(c=Ug())&&(b.createComponentForm=c.first)}},features:[$f],decls:55,vars:31,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","b-aria-label","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"edit-resource-panel"],["novalidate","",1,"create-component-form"],["form","ngForm"],[3,"error"],
[1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","id","component-name","placeholder","Component name","name","componentName","aria-label","Component name",3,"bFocus","ngModel","disabled","required","ngModelChange"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModel","disabled","ngModelChange"],["for","parent-component",1,"required"],
["id","parent-component","ariaLabel","Parent component",3,"selectedComponent","placeholder","isRequired","checkAdminAccess","selectedComponentChange","accessCheckComplete"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"checked","change"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["for","retention-settings",1,"required"],["target","_blank",
1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"b-button",2),K("onAction",function(){return b.back()}),F(3,"b-icon",3),E()()(),D(4,"div",4)(5,"h2",5),P(6,"Create component"),E(),D(7,"div",
6)(8,"form",7,8),F(10,"b-error-banner",9),D(11,"div",10)(12,"label",11)(13,"span",12),P(14,"Name"),E()(),D(15,"input",13),K("ngModelChange",function(c){return b.component.name=c}),E()(),D(16,"div",10)(17,"label",14)(18,"span",12),P(19,"Description"),E()(),D(20,"textarea",15),K("ngModelChange",function(c){return b.component.description=c}),P(21,"        "),E()(),D(22,"div",10)(23,"label",16)(24,"span",12),P(25,"Parent Component"),E()(),D(26,"b-team-component-picker",17),K("selectedComponentChange",
function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),E()(),D(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),K("change",function(c){return b.setCommentEditState(c.checked)}),E()(),D(30,"div")(31,"strong",21),P(32,"Editable Comments"),E(),D(33,"div",22),P(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. "),O(35,Qdb,2,1,"a",23),E()()(),
D(36,"div",10)(37,"label",24)(38,"span",12),P(39,"Retention Settings"),E()(),D(40,"div",21)(41,"p"),P(42,"Please choose a period of time to retain the data stored in this component."),F(43,"br"),D(44,"a",25),P(45," Learn more "),E()()(),D(46,"div",26)(47,"b-retention-settings-form",27),K("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),E()()(),D(48,"p",28),P(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
E(),D(50,"div",29)(51,"b-button",30),K("onAction",function(){return b.create()}),P(52," Save "),E(),D(53,"b-button",31),K("onAction",function(){return b.back()}),P(54," Discard "),E()()()()());a&2&&(z(8),pg("show-errors",b.error),z(2),C("error",b.error),z(1),pg("bv2-edit-resource-readonly",b.isSaving),z(4),C("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),z(1),pg("bv2-edit-resource-readonly",b.isSaving),z(4),C("ngModel",b.component.description)("disabled",b.isSaving),
z(2),pg("bv2-edit-resource-readonly",b.isSaving),z(4),C("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),z(1),pg("bv2-edit-resource-readonly",b.isSaving),z(2),C("checked",b.commentEditsEnabled),z(6),C("ngIf",!b.sessionIsExternal),z(9),C("href",nu(),ue),z(2),pg("bv2-edit-resource-readonly",b.isSaving),z(1),C("issueRetentionDisabled",b.isSaving)("isExternal",ur(b.parentComponent))("initialModel",b.component.retentionSettings),z(4),C("disabled",
b.isSaving||!b.componentIsValid),z(2),C("disabled",b.isSaving))},dependencies:[ZN,bx,rZ,CQ,Mx,yh,Ex,Fx,Wx,Lx,Jx,nO,QI,l_,VW],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var RAc=["hotlistName"],SAc=function(a){return{"bv2-edit-resource-readonly":a}},l5=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=f;this.errorHandler=l;this.appEvents=u;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new Ix({name:new Kx("",Ax),description:new Kx("")});h.setTitle("Create Hotlist");this.subscriptions.add(cO(q,function(){return!(!x.name()&&!x.description())},!1))};X(l5,Z);
l5.\u0275dir=Z.\u0275dir;g=l5.prototype;g.ngAfterViewInit=function(){this.hotlistName.nativeElement.focus()};
g.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving hotlist...","dismiss",{duration:0}),this.isSaving=!0,this.hotlistApi.createHotlist(this.name(),this.description()).then(function(b){a.isSaving=!1;a.snackBar.open('Hotlist "'+b.name+'" saved.',"dismiss",{duration:6E3});a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId});Lp(a.analytics,"hotlist","create");a.location.replaceUrl(a.paths.editHotlist(b.hotlistId));a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,
b)}))};g.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){H_(this.appHistory)};g.revertChanges=function(){this.hotlistUnderEdit.reset()};g.name=function(){var a,b=null==(a=this.hotlistUnderEdit.get("name"))?void 0:a.value;return b?b:""};g.description=function(){var a,b=null==(a=this.hotlistUnderEdit.get("description"))?void 0:a.value;return b?b:""};
l5.\u0275fac=function(a){return new (a||l5)(A(bH),A(G_),A(jG),A(oH),A(cH),A(LH),A(tR),A(qG),A(bO),A(uG))};
l5.\u0275cmp=r({type:l5,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&Sg(RAc,5);if(a&2){var c;Rg(c=Ug())&&(b.hotlistName=c.first)}},features:[$f],decls:27,vars:11,consts:[[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","hotlist-name",1,"required"],["type","text",
"autofocus","autofocus","id","hotlist-name","required","","aria-required","true","formControlName","name",3,"disabled"],["hotlistName",""],["for","hotlist-description"],["id","hotlist-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button",3,"disabled","click"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"button",
2),K("click",function(){return b.back()}),F(3,"mat-icon",3),E(),D(4,"h2"),P(5,"Create a new hotlist"),E()()(),D(6,"div",4)(7,"div",5)(8,"form",6),F(9,"b-error-banner",7),D(10,"div",8)(11,"label",9),P(12,"Name"),E(),F(13,"input",10,11),E(),D(15,"div",8)(16,"label",12),P(17,"Description"),E(),D(18,"textarea",13),P(19,"        "),E()(),D(20,"p",14),P(21," Advanced settings such as access controls may be defined once the hotlist is created. "),E(),D(22,"div",15)(23,"button",16),K("click",function(){return b.save()}),
P(24," Save "),E(),D(25,"button",17),K("click",function(){return b.revertChanges()}),P(26," Revert changes "),E()()()()());a&2&&(z(8),C("formGroup",b.hotlistUnderEdit),z(1),C("error",b.error),z(1),C("ngClass",Gg(7,SAc,b.isSaving)),z(3),C("disabled",b.isSaving),z(2),C("ngClass",Gg(9,SAc,b.isSaving)),z(3),C("disabled",b.isSaving),z(5),C("disabled",b.isSaving))},dependencies:[$w,NA,qD,OB,Mx,yh,Ex,Fx,Wx,Sx,Tx,rZ],encapsulation:2});var m5=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=Qp(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=Qp(this.activeSession,"enableDupSearchA");this.enableDupSearchB=Qp(this.activeSession,"enableDupSearchB");this.enableDupSearchC=Qp(this.activeSession,"enableDupSearchC");this.enableDupSearchMoma=Qp(this.activeSession,"enableDupSearchMoma");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||
this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC||this.enableDupSearchMoma)};m5.prototype.triggerSimilarIssuesSurvey=function(){return p4b(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",TAc(this)).pipe(B(function(){}))};m5.prototype.trackTitleHoverOver=function(){Lp(this.analytics,Mp.MAGIC_BOX,"titleHoverOver",this.getGroupName())};m5.prototype.trackTitleClick=function(){Lp(this.analytics,Mp.MAGIC_BOX,"titleClick",this.getGroupName())};
var TAc=function(a){var b={},c={};a.enableDupSearchControl&&(b.experimentIds=["44573608"]);a.enableDupSearchA&&(b.experimentIds=["44573610"]);a.enableDupSearchB&&(b.experimentIds=["44573612"]);a.enableDupSearchC&&(b.experimentIds=["44573614"]);c.groupName=a.getGroupName();b.customData=c;return b};
m5.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":this.enableDupSearchMoma?"VariantMoma":"Control"};m5.\u0275fac=function(a){return new (a||m5)(n(LH),n(tu),n(MN))};m5.\u0275prov=Pc({token:m5,factory:m5.\u0275fac,providedIn:"root"});var n5=function(a){Y.call(this,a,-1,UAc)};X(n5,Y);n5.prototype.getIssueIdsList=function(){return hj(this,1)};n5.prototype.setIssueIdsList=function(a){return Xk(this,1,a)};n5.prototype.addIssueIds=function(a){Kb(this,1,a)};var UAc=[1];n5.messageId="b.BatchIssueDigestRequest";var WAc=function(a){Y.call(this,a,-1,VAc)};X(WAc,Y);WAc.prototype.getIssueDigestsList=function(){return fj(this,bF,1)};var VAc=[1];WAc.messageId="b.BatchIssueDigestResponse";var o5=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};o5.prototype.get=function(a){return this.adaptedGet(a).pipe(B(fpa))};o5.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(B(Rdb))};o5.\u0275fac=function(a){return new (a||o5)(n(p5),n(LF))};o5.\u0275prov=Pc({token:o5,factory:o5.\u0275fac,providedIn:"root"});var p5=function(a){this.executor=a};
p5.prototype.call=function(a){var b=[].concat(p(a));b.sort();a=new n5;b=m(b);for(var c=b.next();!c.done;c=b.next())a.addIssueIds(c.value);return this.executor.post({url:"action/issues/digest",body:a,responseConstructor:WAc})};p5.prototype.split=function(a,b){b=m(b.getIssueDigestsList());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.getIssueId()===a)return c;return(new bF).setIssueId(a)};p5.\u0275fac=function(a){return new (a||p5)(n(nE))};p5.\u0275prov=Pc({token:p5,factory:p5.\u0275fac,providedIn:"root"});var XAc=function(a){Y.call(this,a)};X(XAc,Y);g=XAc.prototype;g.getTitle=function(){return lk(this,1)};g.setTitle=function(a){return k(this,1,a)};g.getComponentId=function(){return kk(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return jk(this,2)};XAc.messageId="b.MomaIssueSearchRequest";var ZAc=function(a){Y.call(this,a,-1,YAc)};X(ZAc,Y);var YAc=[1];ZAc.messageId="b.MomaIssueSearchResponse";var q5=function(a){this.executor=a},$Ac=function(a,b){b=k((new XAc).setTitle(b.title).setComponentId(String(b.componentId)),3,!0);return a.executor.post({url:"action/issues/momasearch",body:b,responseConstructor:ZAc}).pipe(B(function(c){return hj(c,1)}))};q5.\u0275fac=function(a){return new (a||q5)(n(nE))};q5.\u0275prov=Pc({token:q5,factory:q5.\u0275fac,providedIn:"root"});var r5=function(a,b,c,d,e){this.paths=a;this.relatedIssuesService=b;this.experimentSupport=c;this.momaSearchApi=d;this.issueDigests=e;this.enableDupSearchControl=this.experimentSupport.enableDupSearchControl;this.enableDupSearchA=this.experimentSupport.enableDupSearchA;this.enableDupSearchB=this.experimentSupport.enableDupSearchB;this.enableDupSearchC=this.experimentSupport.enableDupSearchC;this.enableDupSearchMoma=this.experimentSupport.enableDupSearchMoma},aBc=function(a,b,c){var d;return!!c.title||
!!c.comment||!!c.priority||!!c.type||0<(null!=(d=c.hotlistId)?d:[]).length||a.hasCustomFieldValue(b)};r5.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.map(function(b){return new Bj(b)}).filter(function(b){return!b.isEmpty()}).length:!1};
r5.prototype.searchAsync=function(a,b,c){var d=this;return(0,T.defer)(function(){return d.relatedIssuesService.get({query:a,nonParallelRequest:!0,sort:"modified_time:desc",count:b,page:null!=c?c:1}).then(function(e){var f,h;return{issues:(null!=(f=e.issueDigests)?f:[]).map(function(l){return{id:l.issueId,title:l.title,href:d.paths.editIssue(l.issueId)}}),numTotalResults:null!=(h=e.numTotalResults)?h:0,viewAllHref:d.paths.listIssues({q:a,s:"modified_time:desc"})}}).catch(function(){return{issues:[],
numTotalResults:0}})})};
r5.prototype.fetchIssues=function(a){if(this.enableDupSearchMoma&&a.issue.title)return bBc(this,a.issue.title,a.componentId);if(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC){var b=a.componentId;var c=a.customFieldMap,d=a.issue;if(aBc(this,c,d)){var e=Tdb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var f=Sj(d.componentId);e=(f?"componentid:"+f:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(f=Tdb(Sj(d.comment)||""),f=0<f.length?
"comment:("+f.join(" ")+")":"",e+=f?" "+f:"",this.enableDupSearchA)b=e;else{f=Sj(d.type);var h=Sj(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(f?"type:"+f:""));this.enableDupSearchB?b=e:(f=Sj(d.hotlistId),e=e+(" "+(!f||1>(null==f?void 0:f.length)?"":"hotlistid:("+(f.join(" | ")+")")))+(" "+cBc(this,c,Sj(d.customField))),b=this.enableDupSearchC?e:dBc(b))}}else b=dBc(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(dBc(a.componentId),a.count,a.page)};
var dBc=function(a){return"componentid:"+a+" status:open"},cBc=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return new Bj(d)}).filter(function(d){return!d.isEmpty()}).map(function(d){return eBc(a,b,d)}).join(" ")},eBc=function(a,b,c){if(c.isEmpty())return"";var d="customfield"+c.customFieldId+":";switch(a.getCustomFieldType(b,c)){case "TEXT":var e='"'+c.textValue+'"';break;case "DATE":e=fBc(c.dateValue);break;case "ENUM":e='"'+c.enumValue+'"';break;case "NUMERIC":e=""+
c.numericValue;break;case "REPEATED_TEXT":e='("'+c.repeatedTextValue.values.join('" | "')+'")';break;case "REPEATED_DATE":e="("+c.repeatedDateValue.values.map(function(f){return fBc(f)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},fBc=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
r5.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};var bBc=function(a,b,c){return $Ac(a.momaSearchApi,{title:b,componentId:c}).pipe(Qf(function(d){return a.issueDigests.getAll(new Set(d))}),B(function(d){d=d.map(function(e){return{id:e.issueId,title:e.title,href:a.paths.editIssue(e.issueId)}});return{issues:d,numTotalResults:d.length}}))};r5.\u0275fac=function(a){return new (a||r5)(n(cH),n(AI),n(m5),n(q5),n(o5))};
r5.\u0275prov=Pc({token:r5,factory:r5.\u0275fac,providedIn:"root"});var Sdb=RegExp("\\w+","g");var s5=function(a,b,c,d){Z.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new vw;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new vw;this.showSuggestedDupes=!1;this.enableSimilarIssues=this.experimentSupport.enableSimilarIssues;this.isRefreshing=!1;this.page=1;this.endIndex=this.startIndex=this.numPages=this.numTotalResults=
0;this.magicBoxIssues=[];this.isInitiallyLoading=!0;this.refresh$=new T.Subject;this.CATEGORIES=Mp};X(s5,Z);s5.\u0275dir=Z.\u0275dir;g=s5.prototype;g.ngOnInit=function(){var a=this;this.fetchIssues();this.refresh$.pipe(Af(750),Rf(this.destroyed$)).subscribe(function(){a.refresh()})};
g.ngOnChanges=function(a){if(!Object.values(a).some(function(c){return c.isFirstChange()})){var b=!1;a.componentId&&(this.showInline&&(this.showInline=!1),b=!0);a.showInline&&(b=!0);this.enableSimilarIssues&&a.issue&&(this.showSuggestedDupes=aBc(this.relatedIssueFetcher,this.customFieldMap,this.issue),this.headerChange.emit(this.getHeader()),this.refresh$.next());b&&this.refresh()}};g.refresh=function(){this.isRefreshing=!0;this.page=1;this.magicBoxIssues=[];this.fetchIssues()};
g.fetchIssues=function(a){var b=this;a&&(this.page=a);this.componentId&&(this.isRefreshing=!0,this.relatedIssueFetcher.fetchIssues({issue:this.issue,customFieldMap:this.customFieldMap,count:this.numIssues,page:this.page,componentId:this.componentId}).pipe(Rf(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(p(b.magicBoxIssues),p(d)):d;d=b.numIssues;b.numTotalResults=c.numTotalResults;b.numPages=Math.ceil(b.numTotalResults/
d);b.startIndex=0===b.numTotalResults?0:((null!=a?a:1)-1)*d+1;b.endIndex=Math.min(b.startIndex+d-1,b.numTotalResults);b.viewAllHref=c.viewAllHref;b.totalText=b.getTotalText(b.numTotalResults,null!=a?a:1,d,1===a);b.isInitiallyLoading=!1;b.isRefreshing=!1;b.cdr.detectChanges()}))};g.getHeader=function(){return this.showSuggestedDupes?"Similar Issues":"Recent Issues"};g.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};g.triggerSimilarIssuesSurvey=function(){this.experimentSupport.triggerSimilarIssuesSurvey().pipe(Rf(this.destroyed$)).subscribe()};
g.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};g.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};g.getGroupName=function(){return this.experimentSupport.getGroupName()};s5.\u0275fac=function(a){return new (a||s5)(A(HH,2),A(LH),A(r5),A(m5))};
s5.\u0275cmp=r({type:s5,selectors:[["b-magic-box"]],inputs:{componentId:"componentId",refreshMagicBox:"refreshMagicBox",showInline:"showInline",hideHeader:"hideHeader",issueTitle:"issueTitle",issue:"issue",customFieldMap:"customFieldMap",numIssues:"numIssues"},outputs:{refreshMagicBoxChange:"refreshMagicBoxChange",headerChange:"headerChange"},features:[Dg([AI,HH]),$f,md],decls:3,vars:1,consts:[["class","bv2-magic-box",4,"ngIf"],["afterLoaded",""],[1,"bv2-magic-box"],[4,"ngIf","ngIfElse"],[4,"ngIf"],
["class","magic-box-text",4,"ngIf"],["class","magic-box-more",4,"ngIf"],["class","magic-box-load",4,"ngIf"],["class","magic-box-all",4,"ngIf"],["class","magic-box-pager",4,"ngIf"],["class","unstyled feedback-button","type","button","matTooltip","Send feedback for the suggested similar issues",3,"click",4,"ngIf"],[1,"magic-box-pager"],["class","magic-box-pagenums",4,"ngIf"],["format","icon","size","large","tooltip","Previous page","b-aria-label","Previous page",1,"left","compact",3,"disabled","onAction"],
["name","arrow-left","size","large"],["format","icon","size","large","tooltip","Next page","b-aria-label","Next page",1,"right","compact",3,"disabled","onAction"],["name","arrow-right","size","large"],[1,"magic-box-pagenums"],["type","button","matTooltip","Send feedback for the suggested similar issues",1,"unstyled","feedback-button",3,"click"],["svgIcon","feedback-outline",1,"icon-s","gfx-muted"],[1,"magic-box-text"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["issueHovercard","onedevHovercard"],
[3,"onedevIsHovercardReady","issueId","location","init",4,"onedevHovercardLazyBody"],["target","_blank",1,"magic-box-title",3,"href","onedevHovercardTrigger","click"],[3,"onedevIsHovercardReady","issueId","location","init"],["cardBody",""],[1,"magic-box-more"],["target","_blank",3,"href"],[1,"magic-box-load"],["mat-button","",1,"gmat-button",3,"click"],["svgIcon","arrow-down"],[1,"magic-box-all"],["mat-button","",1,"gmat-button","primary","hovercard-action",3,"click"],["svgIcon","pop-out"]],template:function(a,
b){a&1&&(O(0,Vdb,2,2,"div",0),O(1,ieb,9,8,"ng-template",null,1,$g));a&2&&C("ngIf",b.componentId)},dependencies:[ZN,nO,vN,$w,ax,bx,eM,XI,YI,bJ,ZI,NA,OB],styles:[".bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:28px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-clickable[_ngcontent-%COMP%]{cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--text-muted);padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:none}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]{position:absolute;right:10px;top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{float:left;margin-right:10px;margin-top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{min-width:34px;padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]{position:absolute;right:10px;top:12px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   .magic-box-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-bottom:15px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-bottom:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-load[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]{float:right}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:3px}.jfk-bubble[_ngcontent-%COMP%]{left:12px;margin:0;padding:15px 20px 15px 15px}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:block}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-header[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-scroll[_ngcontent-%COMP%]{max-height:200px;overflow-y:scroll}.d-cozy[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:24px}.d-compact[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:20px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:disc}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{margin-top:8px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:0}\n/*# sourceMappingURL=magic-box.css.map */"]});var gBc=["popOver"],keb=function(a){return{$implicit:a}},seb=function(a){return{editingValue:a}},t5=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.valueChange=new vw;this.editorOpen=new vw(!1);this.required=this.editing=this.headerFocused=!1;this.editingValue=new Kx("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};X(t5,jU);
g=t5.prototype;g.ngOnInit=function(){};g.valueChanged=function(){return this.editingValue.value!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit(!0))};g.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value));this.editorOpen.emit(!1)};
g.writeValue=function(a){null!=a&&(this.val=a,this.editing||this.editingValue.setValue(a))};g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};Ei.Object.defineProperties(t5.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
t5.\u0275fac=function(a){return new (a||t5)(Id("required"))};
t5.\u0275cmp=r({type:t5,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&Sg(gBc,7);if(a&2){var c;Rg(c=Ug())&&(b.popOver=c.first)}},inputs:{value:"value",allowMultipleLines:"allowMultipleLines",multilineMaxLines:"multilineMaxLines",newlineWithEnterKey:"newlineWithEnterKey",centerEditIcon:"centerEditIcon",disabled:"disabled",labelledById:"labelledById",valueTemplate:"valueTemplate",editorTemplate:"editorTemplate",hasBackdrop:"hasBackdrop"},outputs:{valueChange:"valueChange",editorOpen:"editorOpen"},
features:[Dg([{provide:rx,useExisting:Nc(function(){return t5}),multi:!0},{provide:jU,useExisting:Nc(function(){return t5}),multi:!0}]),$f],decls:11,vars:8,consts:[[3,"click","focus","blur"],["anchor",""],[4,"ngIf","ngIfElse"],["standardValueDisplay",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"centered",4,"ngIf"],[3,"anchor","editorTemplate","newlineWithEnterKey","hasBackdrop","closedWithAction"],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],
[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],[4,"ngIf"],[1,"textarea-wrapper"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","cdkAutosizeMaxRows",4,"ngIf","ngIfElse"],
["singleLineTemplate",""],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","cdkAutosizeMaxRows"],["spellcheck","false","autocomplete","off",3,"formControl"]],template:function(a,b){a&1&&(D(0,"button",0,1),K("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),D(2,"span"),O(3,leb,2,4,"ng-container",2),O(4,meb,1,1,"ng-template",null,3,$g),E(),O(6,neb,2,2,"svg",
4),E(),D(7,"onedev-pop-over-edit-panel",5,6),K("closedWithAction",function(f){return b.stopEditing(f)}),E(),O(9,ueb,2,2,"ng-template",null,7,$g));if(a&2){var c=N(1),d=N(5),e=N(10);dg("aria-labelledby",b.labelledById);z(3);C("ngIf",b.valueTemplate)("ngIfElse",d);z(3);C("ngIf",!b.disabled);z(1);C("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)}},dependencies:[bx,gx,yh,Ex,iB,e4,Rx],styles:["button[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;font-size:13px;padding:6px 8px;font-weight:400;letter-spacing:.185714px;line-height:normal;background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px;-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;-ms-flex-align:start;align-items:start;text-align:left;white-space:pre-line}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.edit-icon[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-left:auto;width:16px;height:16px;color:var(--icon,#5f6368);fill:currentColor;margin-top:1px}.edit-icon.centered[_ngcontent-%COMP%]{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;margin-top:0}input[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;font-size:13px;padding:6px 8px;font-weight:400;letter-spacing:.185714px;line-height:normal;padding:4px;border-radius:5px;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;color:var(--text-default,#202124);border:1px solid var(--field-hover-border,#d2e3fc);background-color:var(--surface-default,#fff);line-height:18px;-moz-box-sizing:content-box;box-sizing:content-box;width:calc(100% - 10px)}input[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--primary-default,#1a73e8)}"]});var hBc=$h("indicatorRotate",[ci("collapsed, void",bi({transform:"rotate(0deg)"})),ci("expanded",bi({transform:"rotate(180deg)"})),di("expanded <=> collapsed, void => collapsed",ai("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),iBc=$h("bodyExpansion",[ci("collapsed, void",bi({height:"0px",visibility:"hidden"})),ci("expanded",bi({height:"*",visibility:"visible"})),di("expanded <=> collapsed, void => collapsed",ai("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var jBc=new Ud("CdkAccordion");var kBc=0,u5=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=T.Subscription.EMPTY;this.closed=new vw;this.opened=new vw;this.destroyed=new vw;this.expandedChange=new vw;this.id="cdk-accordion-child-"+kBc++;this._disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,f){d.accordion&&!d.accordion.multi&&d.accordion.id===f&&d.id!==e&&(d.expanded=
!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};g=u5.prototype;g.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};g.toggle=function(){this.disabled||(this.expanded=!this.expanded)};g.close=function(){this.disabled||(this.expanded=!1)};g.open=function(){this.disabled||(this.expanded=!0)};
g._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};
Ei.Object.defineProperties(u5.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){a=Kh(a);this._expanded!==a&&(this._expanded=a,this.expandedChange.emit(a),a?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Kh(a)}}});
u5.\u0275fac=function(a){return new (a||u5)(A(jBc,12),A(Vw),A(Oz))};u5.\u0275dir=r({type:u5,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Dg([{provide:jBc,useValue:void 0}])]});var v5=function(){};v5.\u0275fac=function(a){return new (a||v5)};v5.\u0275mod=fd({type:v5});v5.\u0275inj=Qc({});var lBc=new Ud("MAT_ACCORDION");var mBc=new Ud("MAT_EXPANSION_PANEL");var w5=function(a,b){this._template=a;this._expansionPanel=b};w5.\u0275fac=function(a){return new (a||w5)(A(Og),A(mBc,8))};w5.\u0275dir=r({type:w5,selectors:[["ng-template","matExpansionPanelContent",""]]});var nBc=["body"],oBc=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],pBc=0,qBc=new Ud("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),x5=function(a,b,c,d,e,f,h){u5.call(this,a,b,c);var l=this;this._viewContainerRef=d;this._animationMode=f;this._hideToggle=!1;this.afterExpand=new vw;this.afterCollapse=new vw;this._inputChanges=new T.Subject;this._headerId="mat-expansion-panel-header-"+pBc++;this._bodyAnimationDone=new T.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(Df(function(q,
u){return q.fromState===u.fromState&&q.toState===u.toState})).subscribe(function(q){"void"!==q.fromState&&("expanded"===q.toState?l.afterExpand.emit():"collapsed"===q.toState&&l.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};X(x5,u5);x5.\u0275dir=u5.\u0275dir;g=x5.prototype;g._hasSpacing=function(){return this.accordion?this.expanded&&"default"===this.accordion.displayMode:!1};g._getExpandedState=function(){return this.expanded?"expanded":"collapsed"};
g.toggle=function(){this.expanded=!this.expanded};g.close=function(){this.expanded=!1};g.open=function(){this.expanded=!0};g.ngAfterContentInit=function(){var a=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Pf(null),sf(function(){return a.expanded&&!a._portal}),Ef()).subscribe(function(){a._portal=new qy(a._lazyContent._template,a._viewContainerRef)})};g.ngOnChanges=function(a){this._inputChanges.next(a)};
g.ngOnDestroy=function(){u5.prototype.ngOnDestroy.call(this);this._bodyAnimationDone.complete();this._inputChanges.complete()};g._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};
Ei.Object.defineProperties(x5.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=Kh(a)}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});x5.\u0275fac=function(a){return new (a||x5)(A(lBc,12),A(Vw),A(Oz),A(Pg),A(Ci),A(Ov,8),A(qBc,8))};
x5.\u0275cmp=r({type:x5,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&Tg(c,w5,5);if(a&2){var d;Rg(d=Ug())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&Sg(nBc,5);if(a&2){var c;Rg(c=Ug())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&pg("mat-expanded",b.expanded)("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",
hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Dg([{provide:lBc,useValue:void 0},{provide:mBc,useExisting:x5}]),$f,md],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],
template:function(a,b){a&1&&(wg(oBc),xg(0),D(1,"div",0,1),K("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),D(3,"div",2),xg(4,1),O(5,veb,0,0,"ng-template",3),E(),xg(6,2),E());a&2&&(z(1),C("@bodyExpansion",b._getExpandedState())("id",b.id),dg("aria-labelledby",b._headerId),z(4),C("cdkPortalOutlet",b._portal))},dependencies:[uy],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],
encapsulation:2,data:{animation:[iBc]},changeDetection:0});var rBc=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],sBc=Ii(function(){}),y5=function(a,b,c,d,e,f,h){var l=sBc.call(this)||this;l.panel=a;l._element=b;l._focusMonitor=c;l._changeDetectorRef=d;l._animationMode=f;l._parentChangeSubscription=T.Subscription.EMPTY;var q=a.accordion?a.accordion._stateChanges.pipe(sf(function(u){return!(!u.hideToggle&&!u.togglePosition)})):T.EMPTY;l.tabIndex=parseInt(h||"")||0;l._parentChangeSubscription=(0,T.merge)(a.opened,a.closed,q,a._inputChanges.pipe(sf(function(u){return!!(u.hideToggle||
u.disabled||u.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()});a.closed.pipe(sf(function(){return a._containsFocus()})).subscribe(function(){return my(c,b,"program")});e&&(l.expandedHeight=e.expandedHeight,l.collapsedHeight=e.collapsedHeight);return l};X(y5,sBc);g=y5.prototype;g._toggle=function(){this.disabled||this.panel.toggle()};g._isExpanded=function(){return this.panel.expanded};g._getExpandedState=function(){return this.panel._getExpandedState()};
g._getPanelId=function(){return this.panel.id};g._getTogglePosition=function(){return this.panel.togglePosition};g._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled};g._getHeaderHeight=function(){var a=this.panel.expanded;return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null};g._keydown=function(a){switch(a.keyCode){case 32:case 13:Qh(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
g.focus=function(a,b){a?my(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(b){b&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})};g.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._element)};Ei.Object.defineProperties(y5.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
y5.\u0275fac=function(a){return new (a||y5)(A(x5,1),A(Yd),A(ly),A(Vw),A(qBc,8),A(Ov,8),Id("tabindex"))};
y5.\u0275cmp=r({type:y5,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&K("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(dg("id",b.panel._headerId)("tabindex",b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),og("height",b._getHeaderHeight()),pg("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
"after"===b.panel.togglePosition)("mat-expansion-toggle-indicator-before","before"===b.panel.togglePosition)("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[$f],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(a,b){a&1&&(wg(rBc),
D(0,"span",0),xg(1),xg(2,1),xg(3,2),E(),O(4,web,1,1,"span",1));a&2&&(pg("mat-content-hide-toggle",!b._showToggle()),z(4),C("ngIf",b._showToggle()))},dependencies:[bx],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],
encapsulation:2,data:{animation:[hBc]},changeDetection:0});var z5=function(){};z5.\u0275fac=function(a){return new (a||z5)};z5.\u0275dir=r({type:z5,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var A5=function(){};A5.\u0275fac=function(a){return new (a||A5)};A5.\u0275mod=fd({type:A5});A5.\u0275inj=Qc({imports:[px,gA,v5,vy]});var tBc=["descriptionConfirmDialog"],yeb=function(a,b){return{partner:a,"public":b}},xfb=function(a){return{required:a}},Dfb=function(a){return{"bv2-upload-ongoing":a}},uBc=function(a){return{submitted:a}},B5=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya,qa,Ba,Ea,Oa,La,fc,Ua,bb,Sa){Z.call(this);var sb=this;this.ngZone=a;this.$log=b;this.$route=c;this.paths=d;this.redirectUrl=e;this.userAccess=f;this.accessPolicy=h;this.bLocation=l;this.appHistory=q;this.issueTemplate=u;this.issueTypeDialog=
x;this.componentActions=y;this.activeSession=G;this.draftStore=J;this.pageTitle=M;this.analytics=V;this.issueApi=U;this.userApi=W;this.hotlistApi=ba;this.butterBar=pa;this.errorHandler=na;this.matDialogService=xa;this.appEvents=Fa;this.userPreferencesManager=lb;this.cdr=Ba;this.confirmationDialogService=Ea;this.issueRelationshipsFridge=Oa;this.issueFridge=La;this.componentFridge=fc;this.clearcut=Ua;this.currentTracker=bb;this.jspbPrincipalTypes=Sa;this.ISSUE_ID_LIST_PATTERN=/^[\s\d,]*$/;this.ISSUE_ID_LIST_DELIMITER=
/[\s,]+/;this.userEmail=this.activeSession.getUserEmail();this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=Qp(this.activeSession,"enableRecaptcha");this.hotlistMap={};this.hotlists=[];this.templateTitle=this.templateComment="";this.appliedTemplate=null;this.componentPickerTouched=this.isLoadingComponent=!1;this.availablePredefinedTemplates=[];this.preferredTemplateId=this.selectedTemplateInternal=this.availableExistingIssueTemplate=null;this.isNavigatingAway=this.isSaving=
this.submitRequested=this.showRecentIssuesInline=!1;this.selectedHotlists=[];this.componentHasExpandedAccessEnabled=this.canViewIssuesInComponent=this.canEditIssuesInComponent=this.createAclLoading=this.canCreateNewIssuesInComponent=this.newIssueStarted=!1;this.customFieldMap={};this.customFieldAllowedValuesMap={};this.verifierText=this.reporterText=this.assigneeText=null;this.ccsText=[];this.collaboratorsText=[];this.magicBoxHeader="Recent Issues";this.selectedComponent=null;this.selectedAccessLimitLevel=
"LIMIT_NONE";this.useCodefont=!1;this.selectedHotlistIds=[[]];this.isFormatInRoute=!1;this.isCollaboratorsValid=this.isChildIssueIdsValid=this.isParentIssueIdsValid=this.isBlockingIssueIdValid=this.isBlockedByIssueIdValid=!0;this.invalidCollaboratorsInput=[];this.startTime=new Date;this.recaptchaResponse="";this.toIssuePriority=Xm;this.toIssueSeverity=era;this.FieldType=tgc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe(Qf(function(Za){return Za?sb.componentFridge.watch(Number(Za.componentId)).pipe(Pf(void 0)):
(0,T.of)(void 0)}));this.getSingleEditFieldType=SSa;this.getListFieldType=KTa;this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){sb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){sb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){sb.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=Qp(G,"enableCreateIssueWithTemplate");this.enableCollaborators=
Qp(G,"enableCollaborators");this.enableIssueAccessLimits=Qp(this.activeSession,"enableIssueAccessLimits");this.frontendIsInternalOrPartner=G.isInternalSession()||$Rb(G);this.priorityChoices=qa.priorities.map(function(Za){return{value:Za,displayText:Za}});this.severityChoices=qa.severities.map(function(Za){return{value:Za,displayText:Za}});this.issueTypeChoices=qa.editIssueTypes.map(function(Za){return{value:Za,displayText:Ym(Za),altText:qa.issueTypesShortDescriptions.get(Za)}});this.urlTemplate=new roc(Ha,
b);this.piiWarningMessage=G.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":void 0;this.descriptionBoxId="bv2-description";
this.componentRequestedInUrl=Ha.component;this.templateIssueRequestedInUrl=Ha.template_issue;Ha.template&&(a=Number(Ha.template))&&(this.preferredTemplateId=a);if(a=Ha.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Ha.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Ha.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=nj(Kfb);Hfb(this.issue,this);this.audience="EXTERNAL_AUDIENCE";Ha.description?this.comment=new IJ(Ha.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(tp("0"))||
"",this.comment=new IJ(a));this.comment.formattingMode=vBc(this);a=wBc(Ha);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(lb.preferences$.subscribe(function(Za){var Cb;sb.useCodefont=null!=(Cb=Za.useCodefont)?Cb:sb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=toc(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(wO(Bb,{title:"Create Issue Page",hotkeys:[{keys:["h"],
displayAs:"h",description:"Edit hotlists",onPress:function(){var Za;null==(Za=sb.hotlistPicker)||Za.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){sb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,xBc(this,Number(this.componentRequestedInUrl))):(yoc(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&(this.newIssueStarted=!0,yBc(this));this.originalIssueCopy=nj(this.issue);Ha.description&&(this.originalIssueCopy.comment=
this.comment.value,this.issue.comment=this.comment.value);this.isFormatInRoute&&(this.issue.formattingMode=this.comment.formattingMode,this.originalIssueCopy.formattingMode=this.issue.formattingMode);this.pageTitle.setTitle("New issue");this.createRestrictedResourcesComponentWhitelist=G.session.config.createRestrictedSubresourcesComponentWhitelist;this.subscriptions.add(cO(Ya,function(){return sb.hasUnsavedChanges()},!1))};X(B5,Z);B5.\u0275dir=Z.\u0275dir;
B5.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var Efb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};B5.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);zBc(this)};
B5.prototype.ngOnInit=function(){var a=this;this.initialized=!0;this.subscriptions.add(this.trackerComponent$.subscribe(function(b){b&&(a.selectedComponent||a.componentRequestedInUrl||a.templateIssueRequestedInUrl||a.preferredTemplateId||ABc(a,b))}))};B5.prototype.unloadPageHandler=function(){zBc(this)};var C5=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};B5.prototype.back=function(){H_(this.appHistory)};
B5.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var ABc=function(a,b){a.selectedComponent=b;a.enableCollaborators=Qp(a.activeSession,"enableCollaborators");a.enableIssueAccessLimits=Qp(a.activeSession,"enableIssueAccessLimits");a.selectedComponent?(a.enableCollaborators||(a.enableCollaborators=a.activeSession.session.config.collaboratorsComponentAllowlist.has(a.selectedComponent.componentId)),a.enableIssueAccessLimits||(a.enableIssueAccessLimits=a.activeSession.session.config.issueAccessLimitsComponentAllowlist.has(a.selectedComponent.componentId)),a.issue=
Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,BBc(a),a.audience=ur(a.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",a.createRestrictedResourcesComponentWhitelist.includes(a.selectedComponent.componentId)?(a.judgementForNewContent=new mk,a.judgementForNewContent.setSeverity(2),a.judgementForNewContent.setJudgementReason("None Specified")):a.judgementForNewContent=void 0):(ic(a.issue,"componentId"),
a.audience="EXTERNAL_AUDIENCE");a.submitRequested=!1;CBc(a);a.selectedComponentProcessedPromise=Promise.all([DBc(a),EBc(a)]).then(function(){});return a.selectedComponentProcessedPromise},FBc=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},Beb=function(a){return cXa(a.selectedComponent)?"External Google partners may be able to see this issue.":vr(a.selectedComponent)?"Public users may be able to see this issue.":
""},yBc=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?oG(a.butterBar,"Invalid template_issue specified"):(a.availableExistingIssueTemplate=new GBc(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},DBc=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(a.selectedTemplate=null);return a.selectedComponent?a.issueTemplate.templatesApi.query(a.selectedComponent.componentId).then(function(b){a.availablePredefinedTemplates=
b.map(function(e){var f=e.name;nm(mm(f))&&(f=e.default?"(default template)":"(unnamed template)");return new GBc(e.templateId,"predefined",f,e.default)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=m(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=d;break}}0<
a.availablePredefinedTemplates.length&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);C5(a)}).catch(function(){oG(a.butterBar,"Unable to load templates for this component")}):Promise.resolve(void 0)},EBc=function(a){if(!a.selectedComponent)return a.canCreateNewIssuesInComponent=!1,a.canEditIssuesInComponent=!1,Promise.resolve(void 0);var b=a.selectedComponent.componentId,c="components/"+b+"/issueDefaults";a.createAclLoading=!0;a.canCreateNewIssuesInComponent=!1;a.canEditIssuesInComponent=
!1;a.canViewIssuesInComponent=!1;a.componentHasExpandedAccessEnabled=!1;var d=aG(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;C5(a)}),e=aG(a.userAccess,"writer",c).then(function(f){a.canEditIssuesInComponent=f;C5(a)});c=aG(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;C5(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;C5(a)});return Promise.all([d,e,c,b]).then(function(){HBc(a);
C5(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})};
B5.prototype.getIssueTemplate=function(){var a=this;if(this.selectedTemplate){var b=function(c){var d=Object.assign(nj(Kfb),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=nj(d);FBc(a);Jfb(a,a.issue);var f=nj(a.issue);if(a.appliedTemplate)for(var h=m(Object.keys(a.appliedTemplate)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a.appliedTemplate[l];if(Array.isArray(q)&&Array.isArray(f[l])){q=m(q);for(var u=q.next();!u.done;u=q.next())una(f[l],u.value)}else mj(q,
f[l])&&delete f[l]}a.appliedTemplate=e;Lfb(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(g_b(a.comment)||""===f||a.comment.value===f||(a.templateComment=f,IBc(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=f;var x;a.templateCommentFormattingMode=null!=(x=e.formattingMode)?x:void 0;a.templateTitle=e.title||"";d.reporterUser=Oj(a.userEmail);a.enableIssueAccessLimits&&(a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE");a.issue=
d;Hfb(a.issue,a);HBc(a);FBc(a);Jfb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);yoc(a.urlTemplate,a.issue,a.customFieldMap);Hfb(a.issue,a);a.originalIssueCopy=nj(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=nj(a.issue.hotlistId);C5(a)});JBc(a);return a.selectedComponent?null:c.snapshot.componentId};"predefined"===this.selectedTemplate.type&&
this.selectedComponent?this.issueTemplate.templatesApi.getIssueTemplate(this.selectedComponent.componentId,this.selectedTemplate.id).then(b).then(function(){C5(a)}):"issue"===this.selectedTemplate.type&&(cUb(this.issueTemplate,String(this.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Le");return b(c)}).then(function(c){c&&(xBc(a,c),C5(a))}).catch(function(c){oG(a.butterBar,c.message)}),(0,T.firstValueFrom)(this.issueFridge.watch(String(this.selectedTemplate.id))).then(function(c){var d;
null!=(d=a.parentIssueIds)&&d.length||(a.parentIssueIds=null==c?void 0:c.parentIssueIds)}));this.selectedTemplate.id!==this.preferredTemplateId&&Lp(this.analytics,Mp.CREATE_ISSUE,"changeTemplate");CBc(this)}};B5.prototype.isValid=function(){return!(0!==Deb(this).length||0!==Eeb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!Keb(this.comment)&&!0};
var Deb=function(a){var b=a.issue;a=a.canEditIssuesInComponent?["componentId","priority","type","title"]:["componentId","title"];a=a.filter(function(c){return!b[c]});return a.map(function(c){return"componentId"===c?"component":c})},Eeb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&(new Bj(b)).isEmpty()}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},KBc=function(a){return 0===a.collaboratorsText.length?(a.isCollaboratorsValid=
!0,Promise.resolve(!0)):c_b(a.jspbPrincipalTypes,a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=m(c);c.next();c=c.next().value;return"USER"!==(null==c?void 0:c.principalType)}).map(function(c){return m(c).next().value});return 0===a.invalidCollaboratorsInput.length}).catch(function(b){oG(a.butterBar,b.message);return!1})},mfb=function(a,b){return b.split(a.ISSUE_ID_LIST_DELIMITER).map(function(c){return c.trim()}).map(function(c){return c.startsWith("b/")?
c.slice(2):c}).filter(Boolean)},Ct=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Dt=function(a){return a?a.join(", "):""},JBc=function(a){if(Wba(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};g=B5.prototype;g.getCustomFieldType=function(a){var b,c;return null!=(c=null==(b=this.customFieldMap[a.customFieldId])?void 0:b.type)?c:""};
g.getCustomFieldName=function(a){return(a=this.customFieldMap[a.customFieldId])?a.name:""};g.getCustomFieldAllowedValues=function(a){return(a=this.customFieldMap[a.customFieldId])&&a.allowedValue?a.allowedValue:null};g.getCustomFieldValue=function(a){return(new Bj(a)).getValue()};g.getDateValue=function(a){return a};
g.setCustomFieldValue=function(a,b){var c=this.getCustomFieldType(a),d=this.issue.customField.map(function(e){if(e.customFieldId===a.customFieldId)switch(c){case "TEXT":e.textValue=b;break;case "DATE":e.dateValue=b;break;case "ENUM":e.enumValue=b;break;case "NUMERIC":e.numericValue=b;break;case "REPEATED_TEXT":e.repeatedTextValue={values:b};break;case "REPEATED_DATE":e.repeatedDateValue={values:b};break;case "REPEATED_ENUM":e.repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":e.repeatedNumericValue=
{values:b}}return e});Lp(this.analytics,Mp.CREATE_ISSUE,"changeCustomField",c);this.issue=Object.assign({},this.issue,{customField:d})};g.isCustomFieldRequired=function(a){return this.customFieldMap[a.customFieldId]?this.canEditIssuesInComponent&&!!this.customFieldMap[a.customFieldId].required:!1};g.getListFieldValues=function(a){var b,c;return null!=(c=null==(b=(new Bj(a)).getValue())?void 0:b.values)?c:null};
g.saveCommentDraft=function(){var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.$window.sessionStorage.setItem(tp("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=m(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();Lp(this.analytics,Mp.CREATE_ISSUE,"changeHotlists")};g.removeHotlist=function(a){var b;Ma(null!=(b=this.issue.hotlistId)?b:null,a);this.updateSelectedHotlists()};
g.setTitle=function(a){this.issue=Object.assign({},this.issue,{title:a})};g.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:Xm(a)});var b;Lp(this.analytics,Mp.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};var Xeb=function(a,b){a.issue=Object.assign({},a.issue,{type:dra(b)});var c;Lp(a.analytics,Mp.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};
B5.prototype.updateSelectedHotlists=function(){var a=this;this.selectedHotlistIds=[this.issue.hotlistId];this.selectedHotlists=this.hotlists.filter(function(b){return a.issue.hotlistId.includes(b.hotlistId)});Xa(this.selectedHotlists,function(b,c){return Or(b.name,c.name)})};
var LBc=function(a,b){var c,d,e,f,h,l,q,u,x,y,G;return Ze(function(J){switch(J.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){J.jumpTo(2);break}e=[];return 1===d.length?af(J,a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):af(J,sXb(a.issueRelationshipsFridge,c,d),5);case 5:h=J.yieldResult;e=h.notAdded;f=h.errors;J.jumpTo(4);break;case 6:l=J.yieldResult,e=l.notAdded,f=l.errors;case 4:e.length&&oG(a.butterBar,"Unable to add "+e+" as parent(s). "+
f);case 2:q=a.childrenIssueIds;if(null==(u=q)||!u.length){J.jumpTo(7);break}return af(J,a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(M){return{issueId:M}})),8);case 8:x=J.yieldResult,y=x.notAdded,G=x.errors,y.length&&oG(a.butterBar,"Unable to add "+y+" as children. "+G);case 7:return J.return(b)}})},Cfb=function(a,b){var c,d,e,f,h,l,q,u;return Ze(function(x){switch(x.nextAddress){case 1:return c=a,af(x,KBc(a),2);case 2:c.isCollaboratorsValid=x.yieldResult;d=a.issue;a.submitRequested=
!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return x.return()}a.enableIssueAccessLimits&&(d.issueAccessLimitLevel=a.selectedAccessLimitLevel,d.issueAccessLimitLevel&&"LIMIT_NONE"!==d.issueAccessLimitLevel&&Lp(a.analytics,Mp.ISSUE_ACCESS_LIMITS,"create","create_issue:"+d.issueAccessLimitLevel));d.comment=a.comment.value;d.formattingMode=a.comment.formattingMode;f={snapshot:d,attachments:h_b(a.comment)};a.enableRecaptcha&&(f.recaptchaToken=a.recaptchaResponse);a.selectedTemplate&&
"predefined"===a.selectedTemplate.type&&(f.templateId=a.selectedTemplate.id);a.judgementForNewContent&&1!==a.judgementForNewContent.getSeverity()&&(f.contentJudgement=aoa(a.judgementForNewContent));a.canEditIssuesInComponent||(h={title:f.snapshot.title,componentId:f.snapshot.componentId,comment:f.snapshot.comment,formattingMode:f.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||a.enableCreateIssueWithTemplate?[]:[a.userEmail]},f.snapshot=h);f.snapshot=
gc(f.snapshot,function(y){return"string"!==typeof y||!nm(y)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(y){return!(new Bj(y)).isEmpty()}));Jfb(a,f.snapshot);f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");l=function(){a.isSaving=!0;a.newIssueStarted=!1;nG(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(y){return LBc(a,y)}).then(function(y){a.draftStore.$window.sessionStorage.removeItem(tp("0"));a.originalIssueCopy=nj(a.issue);
Lp(a.analytics,Mp.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");MBc(a);if(b){var G;Lp(a.analytics,Mp.CREATE_ISSUE,"fileAndRedirect","component",null!=(G=d.componentId)?G:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;aG(a.userAccess,"reader","issues/"+y.issueId).then(function(V){a.componentPickerTouched=!1;V?Doc(a.redirectUrl,a.paths.editIssue(y.issueId),String(y.issueId)):(nG(a.butterBar,"New issue created: "+y.issueId+" (view access not granted)",
0),Doc(a.redirectUrl,a.paths.listIssues()));C5(a)}).catch(function(V){a.errorHandler.errorHandler(null,V);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;var J;Lp(a.analytics,Mp.CREATE_ISSUE,"fileAndNew","component",null!=(J=d.componentId)?J:void 0);G={};aUb(a.butterBar,Ap("New issue created: ",zp("A",(G.href=a.paths.editIssue(y.issueId),G),String(y.issueId))),0);d.title=a.templateTitle;a.comment=new IJ(a.templateComment);(d.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=
a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var M;G=m(null!=(M=a.magicBoxes)?M:[]);for(M=G.next();!M.done;M=G.next())M.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=nj(a.issue)}C5(a)}).catch(function(y){403===y.status&&Cn(y)?rG(a.errorHandler,Dn(y)):a.errorHandler.errorHandler(null,y);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1})};return af(x,NBc(a),3);case 3:return(q=x.yieldResult)?af(x,OBc(a),4):x.return();
case 4:u=x.yieldResult;if(!u)return x.return();l();ef(x)}})},NBc=function(a){var b=An();!a.canEditIssuesInComponent&&!a.frontendIsInternalOrPartner&&a.selectedComponent&&a.selectedComponent.accessLimit&&"INTERNAL"!==a.selectedComponent.accessLimit.accessLevel?a.confirmationDialogService.open({title:"",content:zv("Submitting this bug report means your email address will be shared with the team that works on this product."),onConfirm:function(){b.resolve(!0)},onDismiss:function(){b.resolve(!1)}}):b.resolve(!0);
return b.promise},OBc=function(a){var b=An();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):lJ(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},xBc=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Me");ABc(a,c);C5(a)}).catch(function(){oG(a.butterBar,"Component ID "+
b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};B5.prototype.hasUnsavedChanges=function(){var a=Mfb(this.issue),b=Mfb(this.originalIssueCopy);return!mj(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var Teb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;Lp(a.analytics,Mp.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},IBc=function(a,b){XA(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(Hf()).subscribe(function(c){c?(a.comment.value=a.templateComment,a.issue.comment=a.templateComment,(a.originalIssueCopy.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,a.issue.formattingMode=
a.templateCommentFormattingMode,a.originalIssueCopy.formattingMode=a.templateCommentFormattingMode)):(a.originalIssueCopy.comment=a.templateComment,a.templateComment="")})},CBc=function(a){a.selectedComponent&&a.bLocation.search("component",a.selectedComponent.componentId);a.selectedTemplate&&("predefined"===a.selectedTemplate.type?(a.bLocation.search("template",a.selectedTemplate.id),a.bLocation.search("template_issue",null)):"issue"===a.selectedTemplate.type&&(a.bLocation.search("template_issue",
a.selectedTemplate.id),a.bLocation.search("template",null)))},zeb=function(a){return a.sessionIsExternal?!1:cXa(a.selectedComponent)},Aeb=function(a){return RE(a.activeSession)?!1:vr(a.selectedComponent)},BBc=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=m(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=
Nfb(b);PBc(a)}},PBc=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=m(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||new Bj({customFieldId:d.customFieldId}));a.originalIssueCopy.customField=
a.issue.customField}},HBc=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(p(a.ccsText))):a.ccsText=[a.userEmail]};g=B5.prototype;g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);C5(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Ma(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};g.createHotlist=function(a){var b=this;Lp(this.analytics,"baseIssue","createHotlist");nG(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){nG(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);C5(b)}).catch(a.errorCallback)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId;return this.hotlistMap[c]?Promise.resolve(this.hotlistMap[c]):this.hotlistApi.get(c).then(function(d){b.addHotlist(d);a.successCallback(d);C5(b);return d},function(){var d=b.hotlistMap[c];ic(b.hotlistMap,c);Ma(b.hotlists,d);a.errorCallback()})};g.loadHotlists=function(a){var b=this;a=a.map(function(c){return b.loadHotlist({hotlistId:c,successCallback:function(){},errorCallback:function(){}})});return Promise.all(a).then(function(){C5(b)})};
var wBc=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},vBc=function(a){var b;return jm(null==(b=DI(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
B5.prototype.showNewContentJudgementDialog=function(){var a=this,b,c,d=null!=(c=null==(b=this.judgementForNewContent)?void 0:b.getSeverity())?c:1;this.showContentJudgementDialog({severity:d,contentJudgement:this.judgementForNewContent,hasAclToCreate:!0}).pipe(Rf(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};B5.prototype.showContentJudgementDialog=function(a){return XA(this.matDialogService.open(x4,{panelClass:"no-jitter",width:"500px",data:a}))};
var zBc=function(a){a.componentPickerTouched&&(Lp(a.analytics,Mp.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);Lp(a.analytics,Mp.CREATE_ISSUE,"creation-abandon","new-ui")},MBc=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);ZWb("createIssue",c,"new-ui");Lp(a.analytics,Mp.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);AH(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=new Date};
Ei.Object.defineProperties(B5.prototype,{selectedTemplate:{configurable:!0,enumerable:!0,get:function(){return this.selectedTemplateInternal},set:function(a){var b=this;if(this.selectedTemplateInternal!==a){this.selectedTemplateInternal=a;var c;null==(c=this.selectedComponentProcessedPromise)||c.then(function(){b.getIssueTemplate()})}}}});
B5.\u0275fac=function(a){return new (a||B5)(A(Yf),A(pG),A(y$b),A(cH),A(I_),A($F),A(zG),A(bH),A(G_),A(tG),A(kJ),A($U),A(tu),A(gJ),A(tR),A(LH),A(dF),A(tH),A(oH),A(mG),A(qG),A(bB),A(uG),A(JJ),A(vO),A(CI),A(bO),A(sJ),A(HH,2),A(jJ),A(XH),A(QH),A(OF),A(zH),A(qN),A(DJ))};
B5.\u0275cmp=r({type:B5,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(Sg(bY,5),Sg(WX,5),Sg(tBc,5),Sg(x5,5),Sg(s5,5));if(a&2){var c;Rg(c=Ug())&&(b.hotlistPicker=c.first);Rg(c=Ug())&&(b.commentBox=c.first);Rg(c=Ug())&&(b.descriptionConfirmDialog=c.first);Rg(c=Ug())&&(b.advancedFieldsZippy=c.first);Rg(c=Ug())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&K("unload",function(){return b.unloadPageHandler()},!1,ae)},features:[Dg([HH]),$f],decls:30,vars:17,consts:[[1,"a11y-only"],
[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate",4,"ngIf"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-new-issue-main-content"],["novalidate","","name","createIssueForm",3,"ngClass"],["class","bv2-create-component-external-warning",3,"ngClass",4,"ngIf"],["class","bv2-validation-error-banner",
"role","alert",4,"ngIf"],["class","bv2-create-issue-hotlists",4,"ngIf"],[1,"bv2-create-issue-row"],[1,"bv2-create-field"],[1,"bv2-top-field-label"],["for","bv2-component",1,"required"],[1,"bv2-create-issue-component"],[3,"selectedComponent","shouldFocus","isRequired","selectedComponentChange","touched"],["class","bv2-create-field bv2-right-button",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[1,"bv2-new-issue-right-sidebar"],[3,"componentId","issueTitle","issue","customFieldMap",
"headerChange"],["descriptionConfirmDialog",""],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate"],[1,"bv2-create-component-external-warning",3,"ngClass"],[3,"name","size"],[3,"href"],["role","alert",1,"bv2-validation-error-banner"],["class","bv2-validation-error",4,"ngIf"],[1,"bv2-validation-error"],[1,"bv2-create-issue-hotlists"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"bv2-hotlist-chips"],[3,"hotlist","removeHotlist"],[1,"bv2-create-field","bv2-right-button"],["for",
"bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["templateMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"bv2-validation-error-banner"],["class","bv2-recent-issues-inline-container",4,"ngIf"],["for","bv2-title",1,"required"],[1,"bv2-create-issue-title"],
["type","text","name","title","aria-label","Issue Title","id","bv2-title","name","title","required","","aria-required","true","autocomplete","off",3,"ngModel","bFocus","ngModelChange"],[1,"bv2-create-issue-details"],["for","bv2-description"],[3,"supportsPreview","comment","disabled","judgementForNewContent","componentId","placeholder","idForAriaLabel","audience","showRestrictionOptions","ngClass","commentChange","onChange","onSubmit","onRestrict"],["additionalToolbarItems","",3,"initialValue","change"],
["class","bv2-create-issue-row",4,"ngIf"],[1,"float-clear"],[1,"bv2-create-issue-zippy"],["class","mat-elevation-z0",4,"ngIf"],["class","create-issue-recaptcha",4,"ngIf"],[1,"bv2-issue-create-button-bar"],["format","fill","id","bv2-issue-create-button",3,"disabled","onAction"],["format","fill","id","bv2-issue-create-start-button",3,"disabled","onAction"],["format","hairline","id","bv2-issue-discard-button",3,"disabled","onAction"],[1,"bv2-recent-issues-inline-container"],[1,"bv2-recent-issues-toggle-container"],
["tabindex","0",1,"bv2-recent-issues-toggle",3,"click","keydown.enter","keydown.space"],["class","bv2-recent-issues-inline",4,"ngIf"],[1,"bv2-recent-issues-inline"],[3,"componentId","hideHeader","showInline","issueTitle","issue","customFieldMap","headerChange"],["for","bv2-priority",1,"required"],["mat-button","","type","button","color","primary",3,"matMenuTriggerFor"],["priorityMenu","matMenu"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button",3,"click",4,"ngFor",
"ngForOf"],["for","bv2-type",1,"required"],["typeMenu","matMenu"],["mat-menu-item","","type","button",3,"title","click",4,"ngFor","ngForOf"],["mat-menu-item","","type","button",3,"title","click"],["class","bv2-create-field bv2-create-issue-assignee",4,"ngIf"],["class","bv2-create-field bv2-create-issue-collaborators",4,"ngIf"],["class","bv2-create-field bv2-create-issue-cc",4,"ngIf"],[1,"bv2-create-field","bv2-create-issue-assignee"],["for","bv2-assignee"],[1,"overflow-hidden"],["id","bv2-assignee",
"type","text","name","assignee","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],[1,"bv2-create-field","bv2-create-issue-collaborators"],["for","bv2-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions","matTooltipPosition","above","svgIcon","help-outline","tabindex","0",1,"collaborators-tooltip-icon"],["id","bv2-collaborators","type","text",
"name","collaborators","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],[1,"bv2-create-field","bv2-create-issue-cc"],["for","bv2-cc"],["id","bv2-cc","type","text","name","cc","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],[3,"disabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],[1,"mat-elevation-z0"],[1,"required-text"],[1,"bv2-new-issue-metadata"],["aria-label","Set severity",
1,"bv2-create-adv-field"],["for","bv2-severity","title","Set severity, which reflects how much the issue affects the use of the product"],["mat-button","","type","button","color","primary","id","bv2-severity",3,"matMenuTriggerFor"],["severityMenu","matMenu"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],["id","bv2-found-in","name","foundIn","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["aria-label",
"Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModel","ngModelChange"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-verifier","title","Set the verifier of this issue."],["id","bv2-verifier","name","verifier","type",
"text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],["id","bv2-blocked-by","name","blockedByInputField","type","text","autocomplete","off","pattern",
"[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["class","bv2-create-adv-field",4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["for","bv2-parents","title","Set parent issue(s) of this issue (comma-separated list)"],["id","bv2-parents","name","parentsInputField","type",
"text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-access-limits","title","Set access level of this issue"],["id","bv2-access-limits",3,"disabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],[3,"id","ngClass","title"],[3,"id","value","valueChange",4,"ngIf"],[3,"value",
"options","includeEmptyOption","valueChange",4,"ngIf"],[3,"id","value","valueChange"],[3,"boundValue","isRequired","bv2Id","bv2AriaLabelledby","boundValueChange"],[3,"value","options","includeEmptyOption","valueChange"],["name","customInput","tabindex","0",3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange"],[1,"create-issue-recaptcha"],[3,"onUpdate"],["mat-dialog-title",""],[1,"bv2-create-issue-default-description"],["mat-button","",3,"mat-dialog-close"],["mat-button","",
"mat-dialog-close",""]],template:function(a,b){a&1&&(D(0,"h2",0),P(1,"Create issue"),E(),D(2,"div",1)(3,"div",2)(4,"button",3),K("click",function(){return b.back()}),F(5,"mat-icon",4),E(),D(6,"h2"),P(7,"Create Issue"),E(),O(8,xeb,1,2,"b-hotlist-picker",5),E()(),D(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),O(13,Ceb,6,8,"div",9),O(14,Leb,4,3,"div",10),O(15,Neb,2,1,"div",11),D(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15),P(20,"Component"),E()(),D(21,"div",16)(22,"b-team-component-picker",
17),K("selectedComponentChange",function(d){return ABc(b,null!==d&&void 0!==d?d:null)})("touched",function(){return b.componentPickerTouched=!0}),E()()(),O(23,Qeb,11,5,"div",18),E(),O(24,Reb,3,0,"div",19),O(25,Ffb,34,27,"div",20),E()(),D(26,"div",21)(27,"b-magic-box",22),K("headerChange",function(d){return b.magicBoxHeader=d}),E()()()(),O(28,Gfb,11,2,"ng-template",null,23,$g));if(a&2){var c;z(8);C("ngIf",b.canEditIssuesInComponent);z(4);C("ngClass",Gg(15,uBc,b.submitRequested));z(1);C("ngIf",zeb(b)||
Aeb(b));z(1);C("ngIf",b.submitRequested&&!b.isValid());z(1);C("ngIf",0<b.selectedHotlists.length);z(7);C("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);z(1);C("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate);z(1);C("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);
z(1);C("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent);z(2);C("componentId",null!==(c=b.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",b.issue.title)("issue",b.issue)("customFieldMap",b.customFieldMap)}},dependencies:[ZN,WX,fM,EW,kU,f4,nB,CQ,Mx,yh,Ex,Fx,Wx,Yx,Lx,Jx,xY,bY,nO,vY,MW,s5,NA,cB,dB,eB,fB,x5,y5,z5,OB,Mz,iD,gD,hD,gV,qD,t5,VW,$w,ax,bx,XX,yY,WJ],styles:[".bv2-create-issue-row[_ngcontent-%COMP%]   .mat-button[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}.feedback-button[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto}.feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-top-field-label[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.create-issue-recaptcha[_ngcontent-%COMP%]{float:right;margin:0 15px 15px 0}.mat-menu-item[_ngcontent-%COMP%]:active, .mat-menu-item[_ngcontent-%COMP%]:focus, .mat-menu-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}[_nghost-%COMP%]   .collaborators-tooltip-icon[_ngcontent-%COMP%]{height:18px}[_nghost-%COMP%]   .collaborators-tooltip-icon[_ngcontent-%COMP%]     svg{height:90%;margin-top:1px}[_nghost-%COMP%]   input.invalid[_ngcontent-%COMP%]{border-color:var(--bad-high-contrast)!important;border-width:2px!important}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var Kfb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},GBc=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var QBc=["form"],D5=function(a,b,c,d,e,f,h,l){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.paths=d;this.analytics=e;this.butterBar=f;this.appHistory=l;this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error="";this.sloUnderEdit=new qQ;h.setTitle("Create SLO")};D5.prototype.ngAfterViewInit=function(){};
D5.prototype.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");nG(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){nG(a.butterBar,"SLO "+b.getName()+" saved.",2E3);Lp(a.analytics,"SLO","create");a.bLocation.replaceUrl(a.paths.editSlo(b.getSloId()))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};D5.prototype.back=function(){H_(this.appHistory)};
D5.prototype.revertChanges=function(){this.sloUnderEdit.setName("");this.sloUnderEdit.setDescription("");Sb(this.sloUnderEdit,6,[])};var RBc=function(a){return""!==a.sloUnderEdit.getName()||""!==a.sloUnderEdit.getDescription()||0<Et(a.sloUnderEdit).length};D5.prototype.updateCollection=function(a){Sb(this.sloUnderEdit,6,a)};
D5.prototype.validate=function(){if(this.createSloForm.invalid||!this.elementPickerIsValid)return this.error="Error: You must fill out all required fields and ensure the rules are valid.",!1;this.error="";return!0};D5.\u0275fac=function(a){return new (a||D5)(A(bH),A(sQ),A(qG),A(cH),A(LH),A(mG),A(tR),A(G_))};
D5.\u0275cmp=r({type:D5,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&Sg(QBc,5);if(a&2){var c;Rg(c=Ug())&&(b.createSloForm=c.first)}},decls:30,vars:17,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"vertical-centered"],[1,"edit-resource-panel"],["name","createSloForm"],["form","ngForm"],[3,"error"],[1,"edit-field"],
["for","slo-name",1,"required"],["type","text","id","slo-name","name","name",3,"required","bFocus","ngModel","disabled","ngModelChange"],["for","slo-description"],["id","slo-description","name","description",3,"ngModel","disabled","ngModelChange"],[3,"isDisabled","collection","onCollectionUpdate","onValidation"],[1,"advanced-settings-info"],[1,"edit-button-row"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",
1)(2,"b-button",2),K("onAction",function(){return b.back()}),F(3,"b-icon",3),E()()(),D(4,"div",4)(5,"h2",5)(6,"span",6),P(7,"Create a new SLO"),E()(),D(8,"div",7)(9,"form",8,9),F(11,"b-error-banner",10),D(12,"div",11)(13,"label",12),P(14,"Name"),E(),D(15,"input",13),K("ngModelChange",function(c){return b.sloUnderEdit.setName(c)}),E()(),D(16,"div",11)(17,"label",14),P(18,"Description"),E(),D(19,"textarea",15),K("ngModelChange",function(c){return b.sloUnderEdit.setDescription(c)}),P(20,"        "),
E()(),D(21,"div",11)(22,"slo-elements-picker",16),K("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),E()(),D(23,"p",17),P(24," Access controls may be defined once the slo is created. "),E(),D(25,"div",18)(26,"b-button",19),K("onAction",function(){return b.save()}),P(27," Save "),E(),D(28,"b-button",20),K("onAction",function(){return b.revertChanges()}),P(29," Revert changes "),E()()()()());a&2&&(z(9),pg("show-errors",b.error),
z(2),C("error",b.error),z(1),pg("bv2-edit-resource-readonly",b.isSaving),z(3),C("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.getName())("disabled",b.isSaving),z(1),pg("bv2-edit-resource-readonly",b.isSaving),z(3),C("ngModel",b.sloUnderEdit.getDescription())("disabled",b.isSaving),z(3),C("isDisabled",!1)("collection",Et(b.sloUnderEdit)),z(4),C("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),
z(2),C("disabled",!RBc(b)))},dependencies:[ZN,rZ,CQ,Mx,yh,Ex,Fx,Wx,Lx,Jx,nO,t_],encapsulation:2});var E5=function(){this.nextPanelId=1};E5.\u0275fac=function(a){return new (a||E5)};E5.\u0275prov=Pc({token:E5,factory:E5.\u0275fac,providedIn:"root"});var F5=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na){Z.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=f;this.userApi=h;this.bookmarkGroupsApi=l;this.hotlistApi=q;this.butterBar=u;this.pageTitle=x;this.dashboards=y;this.routeParams=G;this.appSearchState=M;this.userAccess=V;this.errorHandler=U;this.statusMessages=W;this.appEvents=ba;this.hotlistFridge=pa;this.issueFridge=na;this.ANALYTICS_CATEGORY="dashboard";this.panels=[];this.hotlistChoices=
[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=J.getUserEmail();this.groupId=G.groupId||null};X(F5,Z);F5.\u0275dir=Z.\u0275dir;
F5.prototype.ngOnInit=function(){var a=this;this.userApi.getFavorite("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.loadBookmarkGroup().then(function(b){SBc(a,b);a.bookmarkGroup=b;a.cdr.detectChanges()}).catch(function(b){a.$log.warn("error loading bookmark group: ",b)});this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){a.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.dashboardPanels.moveDown.subscribe(function(b){TBc(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){TBc(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){TBc(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){TBc(a,b,function(){return a.panels.length-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.remove.subscribe(function(b){a.removePanel(b)}));
this.appSearchState.clear()};var Sfb=function(a,b){var c=b.selectedIssues;if(a=UBc(a,b.panelId))a.selectedIssues=null!=c?c:[]},Rfb=function(a,b,c){b.focusedRowIndex=c;if(null!=c)for(a=m(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},UBc=function(a,b){return a.panels.find(function(c){return c.panelId===b})},VBc=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};g=F5.prototype;
g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];mj(d,c)||(d&&Ma(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;Lp(this.analytics,this.ANALYTICS_CATEGORY,"createHotlist");nG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);nG(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;nG(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.loadHotlists=function(a){var b=this,c=new Map;a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;Ja(d.hotlists);for(var e=m(d.hotlistId||[]),f=e.next();!f.done;f=e.next())f=f.value,this.hotlistMap[f]?d.hotlists.push(this.hotlistMap[f]):c.get(f)?c.get(f).push(d):c.set(f,[d])}a={};c=m(c);for(d=c.next();!d.done;a={$jscomp$loop$prop$issueRows$2232:a.$jscomp$loop$prop$issueRows$2232},d=c.next())e=m(d.value),d=e.next().value,e=e.next().value,a.$jscomp$loop$prop$issueRows$2232=e,this.hotlistApi.get(d).then(function(h){return function(l){b.hotlistFridge.announce(l);
for(var q=m(h.$jscomp$loop$prop$issueRows$2232),u=q.next();!u.done;u=q.next())u.value.hotlists.push(l);b.addHotlist(l);b.cdr.detectChanges()}}(a)).catch(function(h){403!==h.status&&b.errorHandler.errorHandler(null,h)})};
g.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=m(this.panels);for(var e=b.next();!e.done;e=b.next()){e=m(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();nG(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return SH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){nG(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=m(c.panels),u=q.next();!u.done;u=q.next()){u=m(u.value.selectedIssues);for(var x=u.next();!x.done;x=u.next()){var y=void 0;x.value.lastViewedTime=null!=(y=l)?y:null}}}).catch(function(l){for(var q=m(c.panels),u=q.next();!u.done;u=q.next()){u=m(u.value.selectedIssues);for(var x=u.next();!x.done;x=u.next())x=x.value,x.isRead=!!x.lastViewedTime&&x.lastViewedTime>=x.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
Fva(a).map(function(l){return l.fieldName});Lp(this.analytics,this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};nG(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=m([].concat(p(c.searchPanels),p(c.hotlistPanels))),u=q.next();!u.done;u=q.next()){u=u.value;var x=l;if(u.searchResults){u.searchResults=u.searchResults.clone();for(var y=0,G=m(u.searchResults.issues),J=G.next();!J.done;J=G.next()){J=J.value;if(x.affectedIssues[J.issueId]){var M=
x.affectedIssues[J.issueId];M=jNa(M,x.componentMap[Number(Ca(M.snapshot).componentId)]);M.selected=J.selected;u.searchResults.issues[y]=M;u.resultsLoaded.emit([u.searchResults.issues[y]])}y++}}}l.errors&&l.errors.length?(q=vj(l.errors,"issueId"),oG(c.butterBar,"Failed to update issue(s) "+q.join(", ")+"."),Lp(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=XZb(c.statusMessages,h))?nG(c.butterBar,l):nG(c.butterBar,"Saved "+Gva(a).length+" issue(s).")}).catch(function(l){c.errorHandler.errorHandler(null,
l)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){aG(a.userAccess,"admin","bookmarkGroups/"+b.bookmarkGroupId).then(function(c){a.isAdmin=c;a.cdr.detectChanges()});a.pageTitle.setTitle(b.name);return b},function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)})};var SBc=function(a,b){a.panels=(b.item||[]).map(function(c,d){return WBc(a,c,0===d?0:void 0)})};
F5.prototype.removePanel=function(a){var b=this,c=UBc(this,a);if(null!=c){nG(this.butterBar,"Saving changes...",0);a=nj(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!XBc(b,c,e)});YBc(this,a)}};
var TBc=function(a,b,c){b=VBc(a,b);if(void 0!==b){var d=a.panels[b];c=c(b);if(c>=a.panels.length||0>c)a.$log.warn("Trying to move panel "+d.panelId+" to "+c);else{b=nj(a.bookmarkGroup);var e,f,h=null==(e=a.bookmarkGroup)?void 0:null==(f=e.item)?void 0:f.findIndex(function(l){return XBc(a,d,l)});void 0!==h&&(saa(b.item,h,c),YBc(a,b))}}},YBc=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;ZBc(a,a.bookmarkGroup.item);nG(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},XBc=function(a,b,c){switch(b.type){case "HOTLIST":return c.hotlistId===b.resourceId;case "SAVED_SEARCH":return c.savedSearchId===b.resourceId;default:return a.$log.warn("Unknown type of a panel: "+b.type),!1}},$Bc=function(a,b){return a.panels.find(function(c){return XBc(a,c,b)})},WBc=function(a,b,c){var d=null,e=null;switch(b.resourceType){case "HOTLIST":d="HOTLIST";e=b.hotlistId;break;case "SAVED_SEARCH":d="SAVED_SEARCH";
e=b.savedSearchId;break;default:a.$log.warn("Unsupported item: "+b)}a=a.dashboards;b=a.nextPanelId;a.nextPanelId++;return{panelId:b,resourceId:e,type:d,focusedRowIndex:null!=c?c:null,selectedIssues:[]}},ZBc=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=$Bc(a,c))?d:WBc(a,c)})};
F5.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId,userLogin:this.userEmail}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)}):this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)})};
F5.prototype.editBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};F5.\u0275fac=function(a){return new (a||F5)(A(HH),A(cH),A(bH),A(pG),A(LH),A(dF),A(tH),A(SS),A(oH),A(mG),A(tR),A(E5),A(JJ),A(tu),A(oT),A($F),A(qG),A(vJ),A(uG),A(xH),A(QH))};
F5.\u0275cmp=r({type:F5,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(Sg(XZ,5),Sg(VZ,5));if(a&2){var c;Rg(c=Ug())&&(b.searchPanels=c);Rg(c=Ug())&&(b.hotlistPanels=c)}},features:[Dg([HH]),$f],decls:9,vars:5,consts:[[1,"a11y-only"],[1,"kd-dashboard-bar","kd-appbar","kd-buttonbar"],[1,"bv2-dashboard-header"],[3,"hotlistChoices","panels","onSave","onCreateHotlist","onLoadHotlist"],["role","main","tabindex","0",1,"bv2-view",3,"bFocus"],[4,"ngIf"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"bv2-dashboard-title"],
[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-dashboard-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[3,"starMessage","unStarMessage","starred","starClicked"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"ngSwitch"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first",
"last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded"]],
template:function(a,b){a&1&&(D(0,"h2",0),P(1,"Dashboard"),E(),D(2,"div",1)(3,"div",2),P(4,"Bookmark groups dashboard"),E(),D(5,"b-dashboard-controls",3),K("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),E()(),D(6,"div",4),O(7,Qfb,8,3,"div",5),O(8,Vfb,3,3,"div",6),E());a&2&&(z(5),C("hotlistChoices",b.hotlistChoices)("panels",b.panels),z(1),C("bFocus",!0),
z(1),C("ngIf",b.bookmarkGroup),z(1),C("ngForOf",b.panels))},dependencies:[rY,TQ,XZ,VZ,ax,bx,cx,dx,CQ,qD],encapsulation:2});var G5=function(){};G5.\u0275fac=function(a){return new (a||G5)};G5.\u0275mod=fd({type:G5});G5.\u0275inj=Qc({imports:[sY,uT,YZ,WZ,px,DQ,lE]});var aCc=["editBookmarkGroupItemsContainer"],bCc=["bookmarkGroupName"],vgb=function(a){return{"bv2-edit-resource-readonly":a}},xgb=function(a){return{displayText:"Admins",values:a}},wgb=function(a){return[a]},H5=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa){Z.call(this);var na=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=f;this.hotlistApi=h;this.paths=l;this.appHistory=q;this.pageTitle=u;this.accessPolicyConverter=x;this.userAccess=
y;this.errorHandler=J;this.appEvents=V;this.snackBar=U;this.confirmationDialog=W;this.cdr=ba;this.documentationLinks=pa;this.selectedTabIndex=0;this.isAdmin=this.isArchiving=this.isUpdating=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.selectedHotlistIds=[[]];this.userHotlists=[];this.userSavedSearches=null;this.savedSearchChoices=[];this.currentUserEmail=M.getUserEmail();this.accessPolicyUnderEdit=lV();this.flattenedAccessPolicy=lV();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);cCc(this);dCc(this);Promise.all([a,b]).then(function(){var xa;null==(xa=na.bookmarkGroupNameInput)||xa.nativeElement.focus()});this.subscriptions.add(cO(G,function(){return na.hasUnsavedChanges()},!1));G=function(){cCc(na)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(G));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(G));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){dCc(na)}))};
X(H5,Z);H5.\u0275dir=Z.\u0275dir;g=H5.prototype;g.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};g.back=function(){H_(this.appHistory)};g.isArchived=function(){return this.bookmarkGroup?this.bookmarkGroup.archived:!1};g.isSaving=function(){return this.isUpdating||this.isArchiving};
g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){return!mj(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!mj(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=nj(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[eCc(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];I5(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=nj(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.saveMetadata=function(){this.validate()&&this.doSaveMetadata()};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change bookmark group admins",xp("Are you sure you want to remove yourself from the admins?\n                  You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
g.validate=function(){if(""===this.bookmarkGroupUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",xp("Do you want to archive this bookmark group?"),function(){fCc(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",xp("Do you want to unarchive this bookmark group?"),function(){fCc(a,"unarchive")})};
g.doSaveMetadata=function(){var a=this,b=this.bookmarkGroupUnderEdit,c=this.bookmarkGroup.bookmarkGroupId;this.snackBar.open("Saving bookmark group ID "+c,"dismiss",{duration:0});this.isUpdating=!0;this.bookmarkGroupsApi.update(b).then(function(d){a.snackBar.open("Bookmark group ID "+c+" was saved as "+a.bookmarkGroupUnderEdit.name,"dismiss",{duration:2E3});gCc(a,d);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:c})}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isUpdating=
!1})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=nV(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);oG(this.butterBar,b);return}this.isUpdating=!0;this.snackBar.open("Saving access settings...","dismiss",{duration:0});this.accessPolicyApi.update("BOOKMARK_GROUP",this.bookmarkGroup.bookmarkGroupId,b).then(function(c){a.snackBar.open("Access settings saved.","dismiss",{duration:0});a.flattenedAccessPolicy=mV(c);a.accessPolicyUnderEdit=nj(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var fCc=function(a,b){var c=nj(a.bookmarkGroup);"archive"===b?(a.snackBar.open('Archiving bookmark group "'+a.bookmarkGroup.name+' ..."',"dismiss",{duration:0}),c.archived=!0):(a.snackBar.open('Unarchiving bookmark group "'+a.bookmarkGroup.name+' ..."',"dismiss",{duration:0}),c.archived=!1);a.isArchiving=!0;a.bookmarkGroupsApi.update(c).then(function(d){"archive"===b?a.snackBar.open('Archived bookmark group "'+a.bookmarkGroup.name+'"."',"dismiss",{duration:2E3}):a.snackBar.open('Unarchived bookmark group "'+
a.bookmarkGroup.name+'"."',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});gCc(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
H5.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){gCc(b,c);b.selectedHotlistIds=[eCc(b.bookmarkGroup.item)];I5(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var gCc=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=nj(a.bookmarkGroup)};
H5.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=mV(c);b.accessPolicyUnderEdit=nj(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};H5.prototype.loadUserAccess=function(a){var b=this;return aG(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var cCc=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},dCc=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;I5(a);a.cdr.detectChanges()})},I5=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=hCc(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
Zfb=function(a,b){var c=Number(b);Na(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});iCc(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},agb=function(a,b){Na(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});I5(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},ogb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:Qi(b.resourceType)}},jgb=function(a,b){for(var c={},d=m(Object.entries(b.newSelectionMap)),e=d.next();!e.done;c={$jscomp$loop$prop$id$2235:c.$jscomp$loop$prop$id$2235},e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;c.$jscomp$loop$prop$id$2235=sj(e);f&&!b.oldSelectionMap[c.$jscomp$loop$prop$id$2235]?(mgb(a,c.$jscomp$loop$prop$id$2235),e=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2235}}(c)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[c.$jscomp$loop$prop$id$2235]&&!f&&(iCc(a,c.$jscomp$loop$prop$id$2235),Na(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2235}}(c)))}},mgb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},iCc=function(a,b){Ma(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},egb=function(a,b){-1===hCc(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&
a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){I5(a)})},hCc=function(a){return a?vj(a,"savedSearchId"):[]},eCc=function(a){return a?vj(a,"hotlistId"):[]},kgb=function(a,b){var c=b.name;a.snackBar.open("Creating hotlist "+c+"...","dismiss",{duration:0});a.hotlistApi.createHotlist(c).then(function(d){a.snackBar.open("Hotlist "+c+" created successfully.");a.userHotlists.push(d);b.successCallback(d);a.appEvents.hotlistChanged.next()}).catch(b.errorCallback)},
lgb=function(a,b){var c=b.hotlistId;a.snackBar.open("Loading hotlist "+c);return a.hotlistApi.get(c).then(function(d){a.userHotlists.push(d);b.successCallback(d);return d},b.errorCallback)};H5.prototype.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";default:Qi(a.resourceType)}};
H5.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};H5.\u0275fac=function(a){return new (a||H5)(A(JJ),A(bH),A(mG),A(zG),A(tH),A(SS),A(oH),A(cH),A(G_),A(tR),A(kV),A($F),A(bO),A(qG),A(tu),A(uG),A(jG),A(jJ),A(HH,2),A(hJ))};
H5.\u0275cmp=r({type:H5,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(Sg(aCc,5),Sg(bCc,5),Sg(WM,5,Yd));if(a&2){var c;Rg(c=Ug())&&(b.editBookmarkGroupItemsContainer=c.first);Rg(c=Ug())&&(b.bookmarkGroupNameInput=c.first);Rg(c=Ug())&&(b.tabs=c)}},features:[Dg([HH]),$f],decls:9,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button",
"","color","primary",3,"disabled","click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary",3,"disabled","click"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[1,"edit-resource-header-link","normal-link",3,"href"],["mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",1,"required"],[1,"edit-field-header"],["type",
"text","id","bookmark-group-name","required","","aria-required","true",3,"ngModel","disabled","ngModelChange"],["bookmarkGroupName",""],["for","bookmark-group-description"],["id","bookmark-group-description",3,"ngModel","disabled","ngModelChange"],[4,"ngIf","ngIfElse"],["bookmarkItems",""],["class","edit-button-row",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-field-note"],[3,"users","usersChange","isValid"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange",
"isValid"],[1,"edit-field"],["target","_blank",3,"href"],[1,"resource-archived"],["for","edit-bookmark-group-items-container"],["role","region","aria-label","Selected items","id","edit-bookmark-group-items-container",1,"keep-focus-ring","edit-bookmark-group-items-container"],["editBookmarkGroupItemsContainer",""],["class","bv2-bookmark-item-chip",4,"ngFor","ngForOf"],[1,"edit-bookmark-group-edit-items-pane"],[1,"edit-bookmark-group-hotlist-picker"],["for","hotlist-picker-button"],[3,"selectedHotlistIds",
"choices","checkEditAcl","onApply","onCreate","onLoad"],[1,"edit-bookmark-group-hotlist-search"],["for","hotlist-search-input-box"],[3,"showGroups","allowStarring","itemSelect"],["class","edit-bookmark-group-saved-search-picker",4,"ngIf"],[1,"bv2-bookmark-item-chip"],["class","bv2-saved-search-chip b-chip yellow split",4,"ngIf"],["class","edit-bookmark-group-none-select",4,"ngIf"],[3,"id","removeHotlist"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"left","interactive",3,"href","matTooltip"],
["role","button","tabindex","0",1,"right","interactive",3,"matTooltip","click","keydown.enter","keydown.space"],[1,"edit-bookmark-group-none-select"],[1,"edit-bookmark-group-saved-search-picker"],["for","add-from-saved-searches-button"],["id","add-from-saved-searches-button","mat-button","","aria-describedby","select-from-saved-searches-button",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["id","select-from-saved-searches-button"],["svgIcon","arrow-dropdown","color","primary"],["savedSearchMenu",
"matMenu"],["matMenuContent",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"edit-field","bv2-edit-resource-readonly"],[1,"edit-bookmark-group-view-items"],[4,"ngFor","ngForOf"],[3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"disabled","click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),K("click",function(){return b.back()}),F(4,"mat-icon",
4),E(),O(5,Wfb,2,1,"button",5),O(6,Xfb,2,1,"button",5),E()()(),D(7,"div",6),O(8,ygb,48,40,"ng-container",7),E());a&2&&(z(5),C("ngIf",b.isAdmin&&!b.isArchived()),z(1),C("ngIf",b.isAdmin&&b.isArchived()),z(2),C("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[$w,ax,bx,qD,NA,XM,WM,rZ,GY,bY,bT,OB,yh,Ex,Wx,Lx,iD,gD,hD,fD,jZ],styles:[".edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);min-height:20px;padding:4px 6px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]   span.edit-bookmark-group-none-select[_ngcontent-%COMP%]{line-height:20px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);margin-top:-10px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-picker[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-search[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-saved-search-picker[_ngcontent-%COMP%]{padding:10px;display:block}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);min-height:20px;padding:4px 6px 4px 8px;width:586px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:0}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:2px}.edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%], .edit-bookmark-group-items-container[_ngcontent-%COMP%]{box-sizing:border-box}.edit-button-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:8px}\n/*# sourceMappingURL=edit_bookmark_group.css.map */"]});var jCc=["savedSearchNameInput"],Dgb=function(a){return{"bv2-edit-resource-readonly":a}},Fgb=function(a){return{displayText:"Admins",values:a}},Egb=function(a){return[a]},J5=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W){Z.call(this);var ba=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=l;this.documentationLinks=u;this.userAccess=y;this.errorHandler=G;this.snackBar=J;this.confirmationDialog=M;this.cdr=
V;this.accessPolicyConverter=U;this.appEvents=W;this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.currentUserEmail=q.getUserEmail();this.accessPolicyUnderEdit=lV();this.flattenedAccessPolicy=lV();this.pageTitle.setTitle("Saved Search Overview");a=this.loadSavedSearch(this.routeParams.savedSearchId);b=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);
Promise.all([a,b]).then(function(){var pa;null==(pa=ba.savedSearchName)||pa.nativeElement.focus()});this.subscriptions.add(cO(x,function(){return ba.hasUnsavedChanges()},!1))};X(J5,Z);J5.\u0275dir=Z.\u0275dir;g=J5.prototype;g.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};
g.loadSavedSearch=function(a){var b=this;this.isLoading=!0;return this.savedSearchApi.get(a).then(function(c){b.savedSearch=c;b.savedSearchUnderEdit=nj(b.savedSearch);b.pageTitle.setTitle("Saved search: "+c.name)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.cdr.detectChanges()})};
g.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SAVED_SEARCH",a).then(function(c){b.flattenedAccessPolicy=mV(c);b.accessPolicyUnderEdit=nj(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return aG(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.isSaving=function(){return this.isUpdating||this.isDeleting};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};g.back=function(){H_(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=nj(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=nj(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!mj(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!mj(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};
g.saveMetadata=function(){var a=this;this.validate()&&(this.snackBar.open("Save saved search ID "+this.savedSearchUnderEdit.searchId,"dismiss",{duration:0}),this.isUpdating=!0,this.savedSearchApi.update(this.savedSearchUnderEdit.searchId,this.savedSearchUnderEdit).then(function(b){a.snackBar.open("Saved search ID "+b.searchId+' was saved as "'+b.name+'"',"dismiss",{duration:0});a.savedSearch=b;a.savedSearchUnderEdit=nj(b);a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.isUpdating=!1}))};g.validate=function(){if(""===this.savedSearchUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change saved search admins",xp("Are you sure you want to remove yourself from the admins?\n                'You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=nV(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);oG(this.butterBar,b);return}this.isUpdating=!0;this.snackBar.open("Saving access settings...","dismiss",{duration:0});this.accessPolicyApi.update("SAVED_SEARCH",this.savedSearch.searchId,b).then(function(c){a.snackBar.open("Access settings saved.","dismiss",{duration:0});a.flattenedAccessPolicy=mV(c);a.accessPolicyUnderEdit=nj(a.flattenedAccessPolicy);
a.loadUserAccess(String(a.savedSearch.searchId));a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})},function(c){a.errorHandler.errorHandler(null,c);oG(a.butterBar,Dn(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",xp("Do you want to delete this saved search?"),function(){a.doDelete()})};
g.doDelete=function(){var a=this;this.snackBar.open("Deleting saved search "+this.savedSearch.name,"dismiss",{duration:0});this.isDeleting=!0;this.savedSearchApi.delete(this.savedSearch.searchId).then(function(){a.snackBar.open("Deleted saved search "+a.savedSearch.name,"dismiss",{duration:0});a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId,action:"delete"});SVb(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
g.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};J5.\u0275fac=function(a){return new (a||J5)(A(JJ),A(bH),A(zG),A(RQ),A(cH),A(G_),A(mG),A(tR),A(tu),A(hJ),A(bO),A($F),A(qG),A(jG),A(jJ),A(HH,2),A(kV),A(uG))};
J5.\u0275cmp=r({type:J5,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(Sg(jCc,5),Sg(WM,5,Yd));if(a&2){var c;Rg(c=Ug())&&(b.savedSearchName=c.first);Rg(c=Ug())&&(b.tabs=c)}},features:[Dg([HH]),$f],decls:9,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button","","color","primary","matTooltip","Delete saved search",3,"disabled",
"click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary","matTooltip","Delete saved search",3,"disabled","click"],[1,"edit-resource-header"],[1,"edit-resource-header-link",3,"href"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","saved-search-name",1,"required"],[1,"edit-field-header"],["type","text","id","saved-search-name",
"required","","aria-required","true",3,"ngModel","disabled","ngModelChange"],["savedSearchNameInput",""],["for","saved-search-description"],["id","saved-search-description",3,"ngModel","disabled","ngModelChange"],[1,"edit-field","bv2-edit-resource-readonly"],["for","saved-search-query"],[1,"edit-field-note"],[1,"edit-saved-search-query-container","codefont"],["class","edit-button-row",4,"ngIf"],["id","access","label","Access Control"],["for","saved-search-acl-admins"],[3,"users","usersChange","isValid"],
["for","saved-search-acl-readers"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange","isValid"],[1,"edit-field"],["target","_blank",3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"disabled","click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),K("click",function(){return b.back()}),F(4,"mat-icon",4),E(),O(5,zgb,2,1,"button",5),E()()(),D(6,"div",6),O(7,Agb,
4,0,"ng-container",7),O(8,Ggb,51,38,"ng-container",7),E());a&2&&(z(5),C("ngIf",b.isAdmin),z(2),C("ngIf",!b.isLoading&&!b.savedSearch),z(1),C("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[$w,bx,qD,NA,XM,WM,rZ,OB,yh,Ex,Wx,Lx,jZ],encapsulation:2});var kCc=function(a){Y.call(this,a)};X(kCc,Y);g=kCc.prototype;g.getAuthor=function(){return wk(this,Mj,1)};g.setAuthor=function(a){Ok(this,Mj,1,a)};g.getTimestamp=function(){return wk(this,cj,2)};g.setTimestamp=function(a){return Ok(this,cj,2,a)};g.hasTimestamp=function(){return sl(this,cj,2)};g.getAdd=function(){return wk(this,qQ,3)};g.getRemove=function(){return wk(this,qQ,4)};g.getAddMask=function(){return wk(this,gE,5)};g.getRemoveMask=function(){return wk(this,gE,6)};var mCc=function(a){Y.call(this,a,-1,lCc)};X(mCc,Y);mCc.prototype.getUpdatesList=function(){return fj(this,kCc,1)};var lCc=[1];mCc.messageId="b.SloHistory";var K5=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};K5.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),this.executor.get({url:"action/slo_updates/"+a,responseConstructor:mCc}))};K5.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};K5.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};
K5.\u0275fac=function(a){return new (a||K5)(n(lH),n(oE))};K5.\u0275prov=Pc({token:K5,factory:K5.\u0275fac,providedIn:"root"});var L5=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa){Z.call(this);var na=this;this.routeParams=a;this.accessPolicyConverter=b;this.bLocation=c;this.appHistory=e;this.butterBar=f;this.pageTitle=h;this.documentationLinks=q;this.userAccess=x;this.accessPolicyApi=y;this.sloApi=G;this.sloUpdatesApi=J;this.sloUpdatesService=M;this.errorHandler=V;this.matDialogService=U;this.analytics=W;this.confirmationDialogService=ba;this.appEvents=pa;this.historyDiffs=void 0;this.isImportedFromBugScope=this.isUneditedFromBugScope=
this.elementPickerIsValid=this.isAdmin_=this.isUpdating_=this.isLoading=!1;this.selectedTabIndex=0;this.validity={};this.isInvalid=function(){return Object.values(na.validity).some(function(xa){return!xa})};this.editableAccessPolicy=lV();this.flattenedAccessPolicy=lV();this.subscriptions.add(cO(u,function(){return na.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=Fn("SLO",sj(a));if(this.sloEnabled=l.isInternalSession())this.pageTitle.setTitle("SLO Overview"),nCc(this,a),this.loadUserAccess(a),
this.loadAccessPolicy(a),oCc(this,a);this.alertState={getValue:function(){return na.editableCopy?1===bk(na.editableCopy,9,0):!1},getSavedValue:function(){return na.slo?1===bk(na.slo,9,0):!1},setValue:function(xa){na.editableCopy&&k(na.editableCopy,9,xa?1:0)}};this.currentUserEmail=l.getUserEmail()};X(L5,Z);L5.\u0275dir=Z.\u0275dir;
L5.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.bLocation.hash(e,!0)};L5.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};L5.prototype.updateCollection=function(a){this.editableCopy&&Sb(this.editableCopy,6,a)};
var nCc=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;Et(a.slo)||Sb(a.slo,6,[]);a.editableCopy=a.slo.clone();a.pageTitle.setTitle("SLO: "+c.getName())}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
L5.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=mV(c);b.editableAccessPolicy=nj(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var pCc=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.getUpdatesList().map(function(d){return joc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=L5.prototype;
g.loadUserAccess=function(a){var b=this;aG(this.userAccess,"admin",Fn("SLO",sj(a))).then(function(c){b.isAdmin_=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){var a=this.slo,b=this.editableCopy;return!(a==b||a&&b&&a instanceof b.constructor&&zb(a.internalArray_,b.internalArray_))};
g.hasUnsavedAccessPolicyChanges=function(){return!mj(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;qCc(Et(this.slo),Et(this.editableCopy))?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:Ap(xp("Any changes to the rules will need to be propagated to all impacted issues. Depending on the number of affected issues, this may take a few hours to fully fan-out and reindex."),zp("br"),zp("br"),xp("Please combine changes into as few updates as possible.")),onConfirm:function(){a.save()},onDismiss:uv})};
var Kgb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.setIsArchived(b);a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:xp("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:uv}):c()}},qCc=function(a,b){if(a.length!==b.length)return!1;for(var c=0;c<a.length;c++){var d=a[c],e=b[c],f;if(f=d.getMetric()===e.getMetric()&&d.getMatcher()===e.getMatcher())d=d.getObjective(),
e=e.getObjective(),f=!d&&!e||!!d&&!!e&&d.getSeconds()===e.getSeconds();if(!f)return!1}return!0};
L5.prototype.save=function(){var a=this,b=this.editableCopy;nG(this.butterBar,"Saving SLO ID "+b.getSloId()+"...");this.isUpdating_=!0;this.sloApi.update(b).then(function(c){var d='Changes to SLO "'+c.getName()+'" saved.';qCc(Et(a.slo),Et(a.editableCopy))||(d+=" Propagating this change may take several hours.");nG(a.butterBar,d);a.slo=c;Et(a.slo)||Sb(a.slo,6,[]);a.editableCopy=c.clone();a.sloUpdatesApi.invalidateCache(a.slo.getSloId());Lp(a.analytics,Mp.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating_=!1})};L5.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:xp("You are about to change the administrator privileges for this SLO. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),onConfirm:function(){a.doSaveAccessPolicy()},onDismiss:uv}):this.doSaveAccessPolicy()};
L5.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=nV(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);oG(this.butterBar,b);return}this.isUpdating_=!0;nG(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.getSloId(),b).then(function(c){nG(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=mV(c);a.editableAccessPolicy=nj(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.getSloId());Lp(a.analytics,
Mp.EDIT_SLO,"updateAccessPolicy")},function(c){oG(a.butterBar,Dn(c),0)}).finally(function(){a.isUpdating_=!1})};L5.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var oCc=function(a,b){pCc(a,b).then(function(){if(a.historyDiffs&&a.historyDiffs.length){var c=a.historyDiffs[0],d=a.historyDiffs[a.historyDiffs.length-1];c.author&&"buganizer-system@google.com"===Kj(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===Kj(d.author)&&(a.isUneditedFromBugScope=!0)}})};g=L5.prototype;
g.isRevokingDirectAdmin=function(){if(mj(this.flattenedAccessPolicy.admins,this.editableAccessPolicy.admins))return!1;var a="USER:"+this.currentUserEmail;return this.flattenedAccessPolicy.admins.includes(a)&&!this.editableAccessPolicy.admins.includes(a)};
g.revertMetadataChanges=function(){var a=this;if(qCc(Et(this.slo),Et(this.editableCopy))){var b;this.editableCopy=null==(b=this.slo)?void 0:b.clone()}else this.confirmationDialogService.open({title:"Revert SLO changes?",content:Ap(xp("Revert all changes to this SLO?")),onConfirm:function(){var c;a.editableCopy=null==(c=a.slo)?void 0:c.clone()},onDismiss:uv})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=nj(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};
g.isSaving=function(){return this.isUpdating_};g.back=function(){H_(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdmin_};g.showUpdateHistoryModal=function(){var a=this;pCc(this,this.slo.getSloId()).then(function(){a.matDialogService.open(J4,{width:"600px",data:{updateDiffs:a.historyDiffs}});Lp(a.analytics,Mp.UPDATE_HISTORY_MODAL,"open");Lp(a.analytics,Mp.EDIT_SLO,"viewHistory")})};
L5.\u0275fac=function(a){return new (a||L5)(A(JJ),A(kV),A(bH),A(cH),A(G_),A(mG),A(tR),A(tu),A(hJ),A(bO),A($F),A(zG),A(sQ),A(K5),A(A_),A(qG),A(bB),A(LH),A(jJ),A(uG))};
L5.\u0275cmp=r({type:L5,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&Sg(WM,5,Yd);if(a&2){var c;Rg(c=Ug())&&(b.tabs=c)}},features:[$f],decls:7,vars:2,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"edit-resource-header"],[1,"vertical-centered"],["gmat-tabs","",1,"bv2-tab-bar",
3,"selectedIndex","selectedIndexChange"],["id","basic","label","Basic Information"],[1,"edit-resource-panel","edit-slo-basics-form"],["name","sloBasicsForm"],["sloBasicsForm","ngForm"],[1,"edit-field"],["for","slo-name",1,"required"],[1,"edit-field-header"],["type","text","id","slo-name","name","slo-name",3,"required","ngModel","disabled","ngModelChange"],["for","slo-description"],["id","slo-description","name","slo-description",3,"ngModel","disabled","ngModelChange"],["class","edit-field permission-toggle",
3,"bv2-edit-resource-readonly",4,"ngIf"],["id","bs-warning",4,"ngIf"],[3,"isDisabled","collection","onCollectionUpdate","onValidation"],["id","bv2-slo-edit-buttons"],[1,"edit-button-row"],[1,"edit-button-group"],["title","View history for 'Basic Information'",3,"onAction"],["class","edit-button-group",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-resource-panel"],["name","accessControlForm","novalidate",""],["for","slo-acl-admins"],[1,"edit-field-note"],[3,"users","usersChange","isValid"],
["for","slo-acl-readers"],[3,"users","includeAliases","includeViewAliases","usersChange","isValid"],["target","_blank",3,"href"],["class","edit-button-row",4,"ngIf"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"checked","disabled","change"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["id","bs-warning"],["target","_blank","href","https://goto.google.com/buganizer-bugscope-slo-sync"],["format","fill","tooltip","Save any changes to the SLO",3,"disabled",
"onAction"],["tooltip","Discard any changes",3,"disabled","onAction"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled","onAction",4,"ngIf"],["tooltip","Unarchive the SLO and allow new usages",3,"disabled","onAction",4,"ngIf"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled","onAction"],["tooltip","Unarchive the SLO and allow new usages",3,"disabled","onAction"],["format","fill",3,"disabled","onAction"],[3,"onAction"]],template:function(a,
b){a&1&&(D(0,"div",0)(1,"div",1)(2,"b-button",2),K("onAction",function(){return b.back()}),F(3,"b-icon",3),E()()(),D(4,"div",4),O(5,Hgb,2,0,"div",5),O(6,Pgb,55,31,"div",6),E());a&2&&(z(5),C("ngIf",b.isLoading),z(1),C("ngIf",!b.isLoading&&b.slo&&b.slo.getSloId()&&b.editableCopy))},dependencies:[ZN,bx,Mx,yh,Ex,Fx,Wx,Lx,Jx,IN,nO,XM,WM,jZ,QI,t_,vN],encapsulation:2});var M5=function(a,b,c,d){Z.call(this);var e=this;this.route=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.TEA_DARK=e5b;this.TEA_LIGHT=d5b;this.getStatus=function(f){return f.snapshot[0].status};this.STATUS_FULL_TEXT=vF;this.STATUS_TERSE=rF;this.id$=dp(this.bestRoute.paramMap.pipe(B(function(f){return Pj(f.get("issueId"))}),sf(Vj),Rf(this.destroyed$)));this.searchUrl$=this.id$.pipe(B(function(f){return{path:"/issues",params:{q:"blockedbyid:"+f}}}));this.issue$=this.id$.pipe(Qf(this.issues.watch));
this.blockingIds$=this.issue$.pipe(B(function(f){var h;return null!=(h=null==f?void 0:f.snapshot[0].blockingIssueId)?h:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(Qf(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(B(function(f){return f.filter(mn)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(B(function(f){return f.map(function(h){return String(h.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(B(function(f){return f.filter(function(h){return nn(h)})}));
this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(B(function(f){return f.map(function(h){return String(h.issueId)})}));this.thinking$=this.issues.thinking$;this.getMenuItems=function(f){return[{type:"action",label:"Remove this relationship",action:function(){e.onClickRemove(f)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(f){var h=e.id$.value;null!=h&&RH(e.issues,"ADD","BLOCKING",String(h),f).catch(e.gotErr)};this.gotErr=function(f){e.snackBar.open(Dn(f)||"Error with network request",
"close",{panelClass:"error"})}};X(M5,Z);M5.\u0275dir=Z.\u0275dir;M5.prototype.convertIssueStatusStrToTag=function(a){return Wk[a]};M5.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};M5.prototype.onClickRemove=function(a){var b=this.id$.value;null!=b&&RH(this.issues,"REMOVE","BLOCKING",String(b),[String(a)]).catch(this.gotErr)};
Ei.Object.defineProperties(M5.prototype,{bestRoute:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.route.parent)?a:this.route}}});M5.\u0275fac=function(a){return new (a||M5)(A(ko),A(QH),A(ON),A(jG))};
M5.\u0275cmp=r({type:M5,selectors:[["ng-component"]],features:[$f],decls:5,vars:6,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",1,"light-only",3,"src"],["aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/block-issue",
"target","_blank",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip","Add something this issue is blocking",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],["notLoaded",""],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"section-heading","muted"],["noBlockedAndOpen",""],[3,"issueIds","menuItemFactory",4,"ngIf"],[3,"issueIds","menuItemFactory"],[1,"muted","margin-bottom"],[1,"unstyled","reverse-padded-sides"],[4,"ngFor","ngForOf"],[1,"padded-x",3,"routerLink"],[1,"right"],["mat-icon-button",
"","aria-label","",1,"gmat-button","invisible"],["mat-button","","color","primary",1,"gmat-button","small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(D(0,"section",0),O(1,chb,4,2,"ng-container",1),R(2,"async"),E(),O(3,dhb,2,0,"aside",2),R(4,"async"));a&2&&(z(1),C("ngIf",S(2,2,b.blockingIds$)),z(2),C("ngIf",S(4,4,b.thinking$)))},dependencies:[ax,bx,XG,NA,OA,qD,vN,EP,hx],styles:["[_nghost-%COMP%]{display:block;padding:8px}.b-chip[_ngcontent-%COMP%]{margin:-3px 0;margin-right:0}.section-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}b-issues-table[_ngcontent-%COMP%] + .section-heading[_ngcontent-%COMP%]{margin-top:16px}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;padding-left:16px;line-height:1.3}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{margin-left:auto;margin-top:-8px;margin-bottom:-8px}[_nghost-%COMP%]     .remove-btn{opacity:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;margin:-16px 0}[_nghost-%COMP%]     ol a:hover .remove-btn{opacity:1}ol[_ngcontent-%COMP%]   a[disabled=true][_ngcontent-%COMP%]{background:transparent;opacity:.5;cursor:default}[_nghost-%COMP%]     ol a[disabled=true] .remove-btn{opacity:0}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:240px;min-height:230px}\n/*# sourceMappingURL=issue_blocking.css.map */"],
changeDetection:0});var N5=function(){};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275mod=fd({type:N5});N5.\u0275inj=Qc({imports:[Ny,dz,ay,by,aH,BD,aN,lE,rD,pN,gM,AM,xN,$P]});var rCc="focus-indicator title type team id assignee status menu".split(" "),sCc=[].concat(p(rCc)),tCc="focus-indicator drag-handle title type id assignee status menu".split(" ");var O5=function(a,b,c,d){Z.call(this);var e=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.blockerIssueIds$=new T.BehaviorSubject([]);this.filters=[];this.tableColumns=rCc;this.initialSort={active:"status",direction:"asc"};this.getMenuItems=function(f){return[{type:"action",label:"Remove blocker",action:function(){uCc(e,f)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var f=m(e.blockerIssueIds$.value),
h=f.next();!h.done;h=f.next())e.issueFridge.poke(h.value)}))};X(O5,Z);O5.\u0275dir=Z.\u0275dir;O5.prototype.ngOnInit=function(){};var uCc=function(a,b){var c;Ze(function(d){if(1==d.nextAddress){Lp(a.analytics,Mp.EDIT_ISSUE,"update","remove-blocker");$e(d,2);var e=RH(a.issueFridge,"REMOVE","BLOCKED_BY",a.issueId,[b]);return af(d,e,4)}if(2!=d.nextAddress)return Au(d,0);c=df(d);oG(a.butterBar,"Could not remove blocker "+b+". "+(Cn(c)?Dn(c):c));ef(d)})};
Ei.Object.defineProperties(O5.prototype,{blockerIds:{configurable:!0,enumerable:!0,set:function(a){this.blockerIssueIds$.next(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.filteredRowCount$}}});O5.\u0275fac=function(a){return new (a||O5)(A(QH),A(mG),A(LH),A(OH))};
O5.\u0275cmp=r({type:O5,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&Sg(EP,5);if(a&2){var c;Rg(c=Ug())&&(b.issuesTable=c.first)}},inputs:{blockerIds:"blockerIds",issueId:"issueId",filters:"filters"},features:[$f],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort"]],template:function(a,b){a&1&&(O(0,ehb,2,5,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.blockerIssueIds$))},dependencies:[bx,EP,hx],encapsulation:2,changeDetection:0});var P5=function(){this.EMPTY_BLOCKER_LIGHT=Z4b;this.EMPTY_BLOCKER_DARK=$4b;this.EMPTY_CHILD_LIGHT=a5b;this.EMPTY_CHILD_DARK=b5b};P5.\u0275fac=function(a){return new (a||P5)};
P5.\u0275cmp=r({type:P5,selectors:[["b-issue-dependencies-onboarding-dialog"]],decls:16,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"flex-kids-x","centered-inside"],["width","601","height","480","aria-hidden","true","alt","",1,"light-only",3,"src"],["width","601","height","480","aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"centered"],["href","https://developers.google.com/issue-tracker/concepts/parent-child-relationships","target","_blank",1,"nowrap"],["mat-dialog-actions",
""],["mat-flat-button","","color","primary","matDialogClose","","cdkFocusInitial","",1,"gmat-button"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"About Dependencies"),E(),D(2,"div",1)(3,"div",2),F(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),E(),D(8,"article")(9,"p",5),P(10," Children are used to separate a large work item (like a project) into smaller pieces. Blockers indicate that something prevents work from starting on this issue. "),D(11,"a",6),P(12,"Learn more"),E()()()(),D(13,"div",7)(14,
"button",8),P(15,"Ok"),E()());a&2&&(z(4),C("src",b.EMPTY_CHILD_LIGHT,ue),z(1),C("src",b.EMPTY_BLOCKER_LIGHT,ue),z(1),C("src",b.EMPTY_CHILD_DARK,ue),z(1),C("src",b.EMPTY_BLOCKER_DARK,ue))},dependencies:[NA,cB,dB,eB,fB],styles:["article[_ngcontent-%COMP%]{text-align:center;max-width:30rem}img[_ngcontent-%COMP%]{flex-grow:1;max-width:45%;height:35.9400998336%}a[_ngcontent-%COMP%]:visited{color:#1a73e8;color:var(--link)}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.mat-dialog-actions[_ngcontent-%COMP%]{margin-bottom:8px}"],
changeDetection:0});var vCc=function(){return["focus-indicator","load-more-children"]},Q5=Mp.EDIT_ISSUE,wCc={type:"data",id:"",issue$:T.NEVER,hasChildren$:T.NEVER,ancestorChain:new QN([]),level:0,expandedCount:0},R5=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M){Z.call(this);var V=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=f;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=u;this.cdr=x;this.relationsTableModelFactory=y;this.liveAnnouncer=
G;this.clearcut=J;this.paths=M;this.internalFilters=new hK;this.isClosed=nn;this.tableColumns=tCc;this.trackBy=function(U,W){return W.ancestorChain.hash()+W.type};this.isLoadMoreRow=function(U,W){return"load-more-children"===W.type};this.isDataRow=function(U,W){return"data"===W.type};this.isDraftRow=function(U,W){return"draft-issue"===W.type};this.selectionModel=new hO;this.hasLogged=!1;this.correctedDisplayedRows=new Vg;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=
function(U){var W;return(null!=(W=ep(V.rows$))?W:[]).findIndex(function(ba){return Sp(ba,U)})};this.showError=function(U){return function(W){oG(V.butterBar,U+". "+(Cn(W)?Dn(W):W))}};this.subscriptions.add(cO(l,function(){return V.tableModel.draftRows.isSaving()||V.issueRelationshipsFridge.isSaving()},!1))};X(R5,Z);R5.\u0275dir=Z.\u0275dir;g=R5.prototype;
g.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters);this.rows$=(0,T.scheduled)([this.tableModel.rows$,(0,T.of)([wCc])],T.asyncScheduler).pipe(mf(1),Nf({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Qf(function(c){return(0,T.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Af(0,T.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));
this.rowReorderingModel=new fO(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?a.displayAllSiblings(d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,TN(c,d)||UN(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return Ze(function(e){if(1==e.nextAddress)return tXb(a.issueRelationshipsFridge,
c.insertAt,c.movedRows.map(function(f){return{issueId:f.nodeId,parentId:f.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),w4b(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),af(e,(0,T.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),sf(Boolean),uf(6E4))),2);d=e.yieldResult;d.focus();ef(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
g.trackRelationsData=function(a){if(!this.hasLogged&&0!==a.length){this.hasLogged=!0;var b=a.length,c=0===document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length;BH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));Lp(this.analytics,Q5,"view-relations","visible-count",b);c&&(a=a.filter(function(d){var e;return null!=(null==d?void 0:null==(e=d.snapshot[0])?
void 0:e.effort)}).length/b,BH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),Lp(this.analytics,Q5,"view-relations","ratio-estimated",a))}};
g.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,T.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(Rf(this.destroyed$)).subscribe(function(b){b=m(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);Qg(a.correctedDisplayedRows)});this.focusManager=wz(new z5b(this.correctedDisplayedRows,
Sp))};g.toggleExpansion=function(a){UN(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};g.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(Lp(this.analytics,Q5,"navigate","to-child-issue"),b=Hn(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?op(this.domSafe,b):Ht(this.router,b))};
g.displayAllSiblings=function(a){var b=this,c;return Ze(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),UN(b.tableModel.expansion,a.ancestorChain.parentChain,500),af(d,Up(),2);b.focusManager.setActiveItem(c);ef(d)})};g.getMenuItemsForDraft=function(a){var b=this;return[{type:"action",label:"Continue on the create issue page",action:function(c){return b.navigateToCreateIssuePage(c,a)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
g.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(c){b.navigateToIssue(c,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!ep(a.hasChildren$),action:function(){var c=Kn({q:"parentid:"+a.id});b.domSafe.openInNewTab(c)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){return Ze(function(c){if(1==c.nextAddress)return af(c,Up(),2);
b.createChildIssue(a);ef(c)})},title:"Create child",icon:"add",hintText:"Shift+Enter"},{type:"action",label:"Add child",action:function(){b.addExistingChild(a)},title:"Add existing issue as child",icon:"add"},{type:"action",label:"Create sibling",action:function(){return Ze(function(c){if(1==c.nextAddress)return af(c,Up(),2);b.createSiblingIssue(a);ef(c)})},title:"Create sibling",icon:"add",hintText:"Enter"},{type:"submenu",label:"Reorder",icon:"reorder_24px",items:[{type:"action",label:"Move up",
action:function(){b.rowReorderingModel.moveUp(b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Move up",icon:"arrow-up",hintText:"shift+ctrl+up"},{type:"action",label:"Move down",action:function(){b.rowReorderingModel.moveDown(b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Move down",icon:"arrow-down",hintText:"shift+ctrl+down"},{type:"action",label:"Indent",action:function(){W4b(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){V4b(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Unindent",icon:"arrow-left",hintText:"shift+ctrl+left"}]},{type:"action",label:"Unlink from parent",action:function(){b.unlinkFromParent(a)},title:"Unlink from parent",icon:"link-off"},{type:"action",label:"Archive",action:function(){b.archiveRow(a)},title:"Archive issue",icon:"archive_24px"}]};
g.saveDraft=function(a){var b=this,c,d;return Ze(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return af(e,(0,T.firstValueFrom)(b.displayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),sf(Boolean),uf(6E4))),2)}c=e.yieldResult;Sp(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ef(e)})};
g.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;Sp(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};g.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};g.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
g.addExistingChild=function(a){this.tableModel.addExistingChild(a)};g.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};g.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
g.onRowKeydown=function(a,b){var c=this,d;return Ze(function(e){if(1==e.nextAddress){if("INPUT"===b.target.tagName)return e.return();c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);switch(b.keyCode){case 39:case 37:if(b.ctrlKey)return e.return();"data"===a.type&&(c.toggleExpansion(a),b.preventDefault());"load-more-children"===a.type&&(c.displayAllSiblings(a),b.preventDefault());break;case 13:return e.jumpTo(2)}return e.jumpTo(0)}if(4!=e.nextAddress)return"BUTTON"!==b.target.tagName||
b.shiftKey||b.metaKey?af(e,c.tableModel.isOneLineCreationSupported(),4):e.return();d=e.yieldResult;if(!d)return e.return();"data"===a.type&&(b.shiftKey?c.createChildIssue(a):c.createSiblingIssue(a));"draft-issue"===a.type&&a.saving&&c.createSiblingIssue(a);b.preventDefault();return e.jumpTo(0)})};
g.navigateToCreateIssuePage=function(a,b){var c=this,d,e,f,h,l,q,u,x;return Ze(function(y){if(1==y.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?y.return():af(y,(0,T.firstValueFrom)(b.issue$),2);d=y.yieldResult;u={};x=c.paths.createIssue((u.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),u.parentIssueId=b.ancestorChain.parentChain.nodeId,u.redirectUrl=In(c.rootIssueId),u.afterIssueId=b.afterIssueId,u.title=b.title,u.priority=null!=
(l=null==(f=d)?void 0:f.snapshot[0].priority)?l:void 0,u.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,u));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(x),y.return();if(a&&a.shiftKey)return c.cancelDraft(b),op(c.domSafe,x),y.return();Ht(c.router,x);ef(y)})};
g.archiveRow=function(a){var b=this,c,d;Ze(function(e){if(1==e.nextAddress)return Lp(b.analytics,Q5,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),af(e,(0,T.firstValueFrom)(b.rows$.pipe(B(function(f){return!f.find(function(h){return"data"===h.type&&h.id===a.id})}),sf(Boolean),uf(6E4))),2);Sp(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ef(e)})};
g.unlinkFromParent=function(a){var b=this,c,d;return Ze(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;Lp(b.analytics,Q5,"update","unlink-child-issue");return af(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){nG(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
Ei.Object.defineProperties(R5.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.tableModel.filteredRowCount$}}});R5.\u0275fac=function(a){return new (a||R5)(A(XH),A(WG),A(mG),A(LH),A(aO),A(Yf),A(Yd),A(bO),A(JI),A(gO),A(HH),A(dO),A(mz),A(zH),A(cH))};
R5.\u0275cmp=r({type:R5,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&Sg(NO,5);if(a&2){var c;Rg(c=Ug())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters"},features:[Dg([HH]),$f],decls:46,vars:10,consts:[["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","focus-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],
["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef","save"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],
["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus","",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],
[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],["buttonLabel","More options",3,"menuItems","click"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf","ngIfElse"],["saving",
""],[3,"isReady"],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"value","readonly","valueChange","commit"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row",""],["mat-row","","selectionPreventsClick",
"",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace","focusin"]],template:function(a,b){a&1&&(D(0,"table",0),H(1,1),O(2,fhb,1,0,"th",2),O(3,ghb,2,0,"td",3),I(),H(4,4),O(5,hhb,1,0,"th",2),O(6,ihb,3,0,"td",5),I(),H(7,6),O(8,jhb,2,0,"th",2),O(9,khb,2,1,"td",7),I(),H(10,8),O(11,lhb,2,0,"th",2),O(12,mhb,2,0,"td",7),I(),H(13,9),O(14,nhb,2,0,"th",2),O(15,
ohb,4,8,"td",7),I(),H(16,10),O(17,phb,2,0,"th",2),O(18,qhb,3,3,"td",7),I(),H(19,11),O(20,rhb,2,0,"th",2),O(21,shb,3,3,"td",7),I(),H(22,12),O(23,thb,2,0,"th",2),O(24,uhb,3,3,"td",7),I(),H(25,13),O(26,vhb,2,0,"th",2),O(27,whb,3,3,"td",7),I(),H(28,14),O(29,xhb,1,0,"th",2),O(30,yhb,2,1,"td",7),I(),H(31,15),O(32,zhb,1,0,"th",2),O(33,Chb,4,2,"td",16),I(),H(34,17),O(35,Dhb,6,7,"td",18),I(),H(36,19),O(37,Ehb,2,0,"th",2),O(38,Fhb,7,6,"td",18),I(),O(39,Ghb,1,0,"tr",20),O(40,Hhb,3,12,"tr",21),O(41,Ihb,1,4,"tr",
22),O(42,Jhb,1,2,"tr",23),E(),F(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(C("dataSource",b.rows$)("trackBy",b.trackBy),z(39),C("matHeaderRowDef",b.tableColumns),z(1),C("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),C("matRowDefColumns",Fg(9,vCc))("matRowDefWhen",b.isLoadMoreRow),z(1),C("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},dependencies:[iy,bx,OB,vP,nP,rP,oP,mP,sP,pP,qP,tP,uP,qD,OO,lO,ZN,oO,pO,FO,GO,JO,KO,LO,zM,vN,NO,hx],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-header-cell.mat-column-title[_ngcontent-%COMP%]{padding-left:36px;min-width:250px}.insertion-bar[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);display:none;height:2px;pointer-events:none;position:absolute}.insertion-bar[_ngcontent-%COMP%]::before{content:"";border-bottom:5px solid rgba(0,0,0,0);border-left:8px solid;border-left-color:#1a73e8;border-left-color:var(--primary-btn-bg);border-top:5px solid rgba(0,0,0,0);display:block;height:0;position:relative;top:-4px;width:0}.placeholder[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);border-radius:4px;box-sizing:border-box;display:none;opacity:.7;pointer-events:none;position:absolute;top:0;width:100%}.drag-preview[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--inverse-text);border-radius:4px;display:none;padding:7px 13px;position:absolute}tr.dragging[_ngcontent-%COMP%], tr.nodrop[_ngcontent-%COMP%]{opacity:.5}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{position:relative;padding-bottom:5px;overflow-y:hidden}'],
changeDetection:0});var S5=function(a,b,c,d,e){Z.call(this);var f=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new T.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=In;this.tableColumns=sCc;this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return xCc(f,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(l){oG(f.butterBar,h+". "+(Cn(l)?Dn(l):l))}};
this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=m(f.parentIssueIds$.value),l=h.next();!l.done;l=h.next())f.issueFridge.poke(l.value)}))};X(S5,Z);S5.\u0275dir=Z.\u0275dir;S5.prototype.ngOnInit=function(){};var xCc=function(a,b){var c;return Ze(function(d){Lp(a.analytics,Mp.EDIT_ISSUE,"update","remove-parent");c=a.issueId;return af(d,a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};
Ei.Object.defineProperties(S5.prototype,{parentIds:{configurable:!0,enumerable:!0,set:function(a){this.parentIssueIds$.next(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.filteredRowCount$}}});S5.\u0275fac=function(a){return new (a||S5)(A(QH),A(mG),A(LH),A(OH),A(XH))};
S5.\u0275cmp=r({type:S5,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&Sg(EP,5);if(a&2){var c;Rg(c=Ug())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[$f],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(O(0,Khb,2,5,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.parentIssueIds$))},dependencies:[bx,EP,hx],encapsulation:2,changeDetection:0});var Nhb=function(a){Y.call(this,a,-1,yCc)};X(Nhb,Y);Nhb.prototype.getFilename=function(){return lk(this,1)};Nhb.prototype.setFilename=function(a){k(this,1,a)};var yCc=[2];var Phb=function(a){Y.call(this,a,-1,zCc)};X(Phb,Y);var zCc=[2];var BCc=function(a){Y.call(this,a,-1,ACc)};X(BCc,Y);var ACc=[3];BCc.messageId="b.MentionSearchResult";var T5=function(a){this.executor=a};T5.\u0275fac=function(a){return new (a||T5)(n(oE))};T5.\u0275prov=Pc({token:T5,factory:T5.\u0275fac,providedIn:"root"});var U5=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},CCc=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=eXb(a.refreshMonitor,(0,T.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:BCc}).then(Qhb).then(function(d){return{mentions:d,loadingState:"OK",link:c}}).catch(function(){return{loadingState:"ERROR",link:c}})}).pipe(Pf({loadingState:"LOADING",
link:c}))).pipe(Nf({refCount:!0,bufferSize:1})));return a.cachedEntry};U5.prototype.displayPackageNames=function(a){var b;a=null==(b=a.mentions)?void 0:b.packageMentionSet;var c;return 1<(null==a?void 0:a.length)||"piper"!==(null==a?void 0:null==(c=a[0])?void 0:c.packageName)};U5.prototype.trackSqueegeeClick=function(){Lp(this.analytics,"codeMentions","clickSqueegeeLink")};U5.\u0275fac=function(a){return new (a||U5)(n(T5),n(OH),n(LH))};U5.\u0275prov=Pc({token:U5,factory:U5.\u0275fac,providedIn:"root"});var W5=function(a,b,c,d,e,f,h){var l=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.issueApi=e;this.eventsForIssue=f;this.activeSession=h;this.id$=xI(this.paramsService,"issueId").pipe(Cf(1E3),Df());this.issue$=this.id$.pipe(Qf(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(Qf(this.eventsForIssue.watch),B(function(q){var u;return null!=(u=null==q?void 0:q.events)?u:[]}));this.blockerIssueIds$=this.issue$.pipe(B(function(q){var u;return null!=
(u=null==q?void 0:q.snapshot[0].blockedByIssueId)?u:[]}),Df(mj));this.blockedIssueIds$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.snapshot[0].blockingIssueId)?u:[]}),Df(mj));this.parentIds$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.parentIssueIds)?u:[]}),Df(mj));this.childrenIds$=this.id$.pipe(Qf(this.issueRelationshipsFridge.watch),B(function(q){var u;return null!=(u=null==q?void 0:q.relatedChildren.map(function(x){return x.targetIssueId}))?
u:[]}));this.duplicateIssueIds$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.snapshot[0].duplicateIssueId)?u:[]}),Df(mj));this.blockersDualCount$=(0,T.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(Qf(function(q){var u=m(q);q=u.next().value;u=u.next().value;return V5(l,q,u,["BLOCKED_BY"])}),Nf({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(B(Ft),Nf({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,T.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe(Qf(function(q){var u=m(q);q=u.next().value;u=u.next().value;return V5(l,q,u,["BLOCKING"])}),Nf({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(B(Ft),Nf({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,T.combineLatest)([this.id$,this.childrenIds$]).pipe(Qf(function(q){var u=m(q);q=u.next().value;u=u.next().value;return V5(l,q,u,["CHILDREN"])}),Nf({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(B(Ft),
Nf({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,T.combineLatest)([this.id$,this.parentIds$]).pipe(Qf(function(q){var u=m(q);q=u.next().value;u=u.next().value;return V5(l,q,u,["PARENT"])}),Nf({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(B(Ft),Nf({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,T.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(Qf(function(q){var u=m(q);q=u.next().value;var x=u.next().value;u=u.next().value;
return V5(l,q,[].concat(p(u),p(x)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(B(Ft),Nf({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,T.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(Qf(function(q){var u=m(q);q=u.next().value;u=u.next().value;return V5(l,q,u,["DUPLICATE"])}),Nf({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(B(function(q){return q.total}),B(Shb),Nf({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.relatedLinks)?u:[]}),B(function(q){return l.activeSession.isInternalSession()?q:q.filter(function(u){return!xn(u)})}),B(function(q){return Gt(q.length)}),B(Shb),Nf({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(sf(Vj),Qf(function(q){return CCc(l.codeMentions,q)}),B(function(q){var u,x;return Gt(null!=(x=null==(u=q.mentions)?void 0:u.totalMentions)?x:0)}),B(Shb),Nf({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(B(function(q){return Gt(q.filter(gn).length)}),B(Shb),Nf({bufferSize:1,refCount:!0}))},V5=function(a,b,c,d){d=void 0===d?[]:d;c=cn(c);if(!b||0===c.length)return(0,T.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return Thb(b,e)}).filter(Vj).map(function(e){return"("+e+")"}).join(" OR ");return 99<c.length&&d?a.issueApi.listIssues(d,{p:1,count:100}).then(function(e){e=e.issues.filter(mn).filter(on).length;return{open:Gt(e),
total:Gt(c.length)}}):(0,T.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(B(function(e){return{open:Gt(e.filter(Vj).filter(mn).filter(on).length),total:Gt(e.filter(function(f){return!f||on(f)}).length)}}))};W5.\u0275fac=function(a){return new (a||W5)(n(wI),n(XH),n(QH),n(U5),n(dF),n(JF),n(tu))};W5.\u0275prov=Pc({token:W5,factory:W5.\u0275fac,providedIn:"root"});var X5=function(){this.buttonSize="large";this.buttonTooltip=this.buttonSvgIcon="";this.showActiveState=!1;this.options=[];this.confirmButtonLabel="Apply";this.cancelButtonLabel="Cancel";this.showActionButtons=!0;this.onChange=new vw;this.onConfirm=new vw;this.onCancel=new vw;this.internalSelectedOptions=new hK};X5.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};X5.prototype.cancel=function(a){this.onCancel.emit();a.close()};
Ei.Object.defineProperties(X5.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});X5.\u0275fac=function(a){return new (a||X5)};
X5.\u0275cmp=r({type:X5,selectors:[["select-menu"]],inputs:{buttonSize:"buttonSize",buttonAriaLabel:"buttonAriaLabel",buttonSvgIcon:"buttonSvgIcon",buttonTooltip:"buttonTooltip",showActiveState:"showActiveState",overlayTitle:"overlayTitle",options:"options",selectedOptions:"selectedOptions",confirmButtonLabel:"confirmButtonLabel",cancelButtonLabel:"cancelButtonLabel",showActionButtons:"showActionButtons"},outputs:{onChange:"onChange",onConfirm:"onConfirm",onCancel:"onCancel"},decls:11,vars:15,consts:[["mat-icon-button",
"","onedevPopupPanelTrigger","","aria-haspopup","true",1,"gmat-button",3,"onedevPopupPanelTriggerFor","color","matTooltip","click"],["trigger","onedevPopupPanelTrigger"],[3,"svgIcon"],[4,"ngIf"],["role","region","className","select-menu-popup"],["optionsPanel","onedevPopupPanel"],[1,"padded-s","flex-kids-y"],["class","title margin-s-x padded-s",4,"ngIf"],["class","flex-kids-x",4,"ngFor","ngForOf"],["class","badge",3,"title",4,"ngIf"],[1,"badge",3,"title"],[1,"title","margin-s-x","padded-s"],[1,"flex-kids-x"],
[1,"option","grow-1","flex-kids-x","align-items-center","padded-x","padded-s-y","gap"],[3,"checked","change"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["mat-stroked-button","",1,"cancel",3,"click"],["mat-flat-button","","color","primary",1,"confirm",3,"click"]],template:function(a,b){if(a&1){var c=t();D(0,"button",0,1);K("click",function(){v(c);var e=N(1),f;null!=(f=e.isOpen)&&f?e.close():e.open();return w()});R(2,"async");F(3,"mat-icon",2);O(4,Vhb,3,3,"ng-container",3);E();D(5,"onedev-popup-panel",
4,5)(7,"div",6);O(8,Whb,2,1,"h1",7);O(9,Zhb,7,5,"div",8);O(10,$hb,7,2,"ng-container",3);E()()}if(a&2){var d=N(6);pg("large","large"===b.buttonSize)("small","small"===b.buttonSize);C("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&S(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);dg("aria-label",b.buttonAriaLabel);z(3);C("svgIcon",b.buttonSvgIcon);z(1);C("ngIf",b.showActiveState);z(4);C("ngIf",b.overlayTitle);z(1);C("ngForOf",b.options);z(1);C("ngIf",
b.showActionButtons)}},dependencies:[ax,bx,NA,QI,WQ,OB,qD,BO,CO,hx],styles:[".select-menu-popup{flex-direction:column;max-width:18rem;max-height:calc(100vh - 100px);overflow-y:auto;margin-top:10px}.select-menu-popup .title{font-weight:500}.select-menu-popup .option:hover{background-color:#e8f0fe;background-color:var(--primary-c50)}select-menu button:not(.mat-primary) mat-icon{color:#5f6368;color:var(--icon)}select-menu button[aria-expanded=true]{background-color:#d2e3fc;background-color:var(--selected-bg)}select-menu button span.badge{font-size:.6875rem;display:inline-block;bottom:-4px;right:-9px;position:absolute;padding:0px 6px;border-radius:30px;margin-top:0px;box-sizing:border-box;height:16px;line-height:16px;color:#fff;color:var(--text-inverse);background-color:#1a73e8;background-color:var(--primary-btn-bg)}/*# sourceMappingURL=select_menu.css.map */\n"],
encapsulation:2,changeDetection:0});var fib=function(a){return{filteredCount:a}},DCc=function(){return[]},Y5=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J){Z.call(this);var M=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=f;this.element=h;this.analytics=l;this.issuePermissionService=q;this.activeSession=u;this.counts=x;this.matDialog=y;this.errorHandler=G;this.butterBar=J;this.recallFilters=EWb("deps-filters");this.saveFilters=FWb("deps-filters");this.isThinking$=(0,T.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(B(function(V){return V.some(Boolean)}));this.issueId$=this.brain.id$.pipe(sf(Vj),B(Cp));this.issue$=this.brain.issueJs$.pipe(sf(Vj));this.blockerIds$=this.issue$.pipe(B(function(V){var U,W,ba;return null!=(ba=null==(U=V.issue.snapshot[0])?void 0:null==(W=U.blockedByIssueId)?void 0:W.map(String))?ba:[]}));this.parentIds$=this.issue$.pipe(B(function(V){var U;return null!=(U=V.issue.parentIssueIds)?U:[]}));this.parentIssues$=this.parentIds$.pipe(Qf(this.issueFridge.watchSet));
this.parentsCount$=this.parentIssues$.pipe(B(function(V){return V.filter(on).length}));this.blockersCount$=this.blockerIds$.pipe(Qf(function(V){return 0===V.length?(0,T.of)(0):M.counts.blockersDualCount$.pipe(B(function(U){return U.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(B(function(V){return 0<V}),Pf(!0));this.childrenIds$=this.issueId$.pipe(Qf(this.issueRelationshipsFridge.watch),B(function(V){var U;return null!=(U=null==V?void 0:V.relatedChildren.map(function(W){return W.targetIssueId}))?
U:[]}));this.totalDaysOpen$=this.issue$.pipe(B(function(V){var U,W;return(null==(U=jn(V))?void 0:null==(W=U.effort)?void 0:W.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(B(function(V){var U,W;return(null==(U=jn(V))?void 0:null==(W=U.effort)?void 0:W.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(B(function(V){return V.length}));this.isTotalEstimatesEnabled=Qp(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();
this.totalDaysCount$=(0,T.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(B(function(V){var U=m(V);V=U.next().value;U=U.next().value;return V+U}));this.totalDaysDisplayPercent$=Jib(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=(0,T.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(B(function(V){var U=m(V);V=U.next().value;var W=U.next().value;U=U.next().value;return Kib(Math.round(100*V)/100)+" completed | "+
Kib(Math.round(100*W)/100)+" open | "+U+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new T.Subject;this.issueFilters=new hK;this.ISSUE_FILTER_OPTIONS=[{key:Rp.OPEN.key,title:Rp.OPEN.displayAs,description:"Hides closed issues"},{key:Rp.ASSIGNED_TO_ME.key,title:Rp.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,T.firstValueFrom)(CYa("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(Rf((0,T.merge)(this.destroyed$,
this.rowCreated$)))).then(function(){var V=function(){Eoc(M.routePerformance,"issue-details-w-tree")};requestAnimationFrame(V);setTimeout(V)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(eBa))}catch(V){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(V){M.saveFilters([].concat(p(V)))}))};X(Y5,Z);Y5.\u0275dir=Z.\u0275dir;
var Fib=function(a){var b,c;return Ze(function(d){if(1==d.nextAddress)return Lp(a.analytics,Mp.EDIT_ISSUE,"update","add-parent"),af(d,(0,T.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issue.issueId;return af(d,a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){ECc(a,c,e)}),0)})},ECc=function(a,b,c){var d=m(c).next().value,e,f,h,l;Ze(function(q){if(1==q.nextAddress)return(e=d)?af(q,a.issueRelationshipsFridge.assignParentToOneIssue(e,b),2):q.return();
f=q.yieldResult;h=f.errors;return(null==(l=h)?0:l.length)?(oG(a.butterBar,"Could not add parent"),q.return()):af(q,a.issueFridge.poke(b),0)})},Dib=function(a){var b,c;return Ze(function(d){if(1==d.nextAddress)return Lp(a.analytics,Mp.EDIT_ISSUE,"update","add-blocker"),af(d,(0,T.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issue.issueId;return af(d,a.issuePicker.open({title:"Add Blockers of "+c,allowMultipleIds:!0,edgeType:"blocker"},function(e){FCc(a,c,e)}),0)})};
Y5.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};Y5.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.createChildIssue()};var FCc=function(a,b,c){Ze(function(d){return 0===c.length?d.return():af(d,RH(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){sG(a.errorHandler,e)}),0)})};
Y5.\u0275fac=function(a){return new (a||Y5)(A(SJ),A(ON),A(XH),A(QH),A(WG),A(J_),A(Yd),A(LH),A(TJ),A(tu),A(W5),A(bB),A(qG),A(mG))};
Y5.\u0275cmp=r({type:Y5,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(Sg(R5,5),Sg(O5,5),Sg(S5,5));if(a&2){var c;Rg(c=Ug())&&(b.relationsTable=c.first);Rg(c=Ug())&&(b.blockersTable=c.first);Rg(c=Ug())&&(b.parentsTable=c.first)}},features:[$f],decls:61,vars:50,consts:[[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],[4,"ngIf"],["buttonSize","small","buttonSvgIcon","filter-alt","buttonTooltip","Filter issues","buttonAriaLabel","Filter issues","overlayTitle",
"Only show issues that are",3,"options","selectedOptions","showActionButtons","showActiveState","onChange"],["mat-icon-button","","matTooltip","Learn more","aria-label","Open dialog to learn more about the Dependencies tab",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"pos-rel","carded","margined-s","bg-main","flex-kids-y","gap-l"],[1,"parents"],[1,"table-header","flex-kids-x","align-items-center"],[1,"muted","margin-s-y","flex-kids-x","align-items-center"],["role","status",1,"b-chip","nowrap",
"squared","xs","keep-focus-ring"],["svgIcon","arrow_upward_24px",1,"icon-xxs"],["noParentsState",""],[1,"table-header","blockers-count","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Use blockers for issues that are preventing this issue from being resolved.",1,"b-chip","nowrap","bad","squared","xs","keep-focus-ring"],["svgIcon","slo-status-no-data",1,"icon-xxs"],["noBlockersState",""],[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],["role",
"status","tabindex","0","matTooltip","Use child issues to break down this issue into smaller units of work.",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","account_tree_24px",1,"icon-xxs"],["class","progress-header",4,"ngIf"],[3,"hidden","rootIssueId","filters",4,"ngIf"],["filterInfo",""],["addBlocker",""],["addParent",""],["addChildren",""],[4,"ngTemplateOutlet"],[3,"issueId","parentIds","filters",4,"ngIf","ngIfElse"],[3,"issueId","parentIds","filters"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],
[1,"muted"],[3,"issueId","filters","blockerIds",4,"ngIf","ngIfElse"],[3,"issueId","filters","blockerIds"],[1,"emoji"],[1,"progress-header"],[1,"flex-kids-x","align-items-center"],[1,"margin-s-right"],[1,"label"],[1,"progress","margin-s-right",3,"onedevHovercardTrigger"],[1,"completion"],["progressHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","progress-hover-card"],["svgIcon","info","aria-hidden","false","aria-label","The progress of child issues takes into consideration all child issues and descendant issues\n                  which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is\n                  not reflected in the progress bar.",
1,"icon-s",3,"onedevHovercardTrigger"],["effortHovercard","onedevHovercard"],[1,"onedev-hovercard-body"],[3,"rootIssueId","filters"],["class","muted",4,"ngIf"],[1,"subtle-link","unstyled",3,"click"],["size","small","title","Mark an existing issue as blocker",1,"add",3,"disabled","onAction"],["size","small","title","Add a parent of the current issue",1,"add",3,"disabled","onAction"],["class","add","size","small","title","Create an issue as a child",3,"disabled","onAction",4,"ngIf"],["size","small",
"title","Add an existing issue as a child",1,"add",3,"disabled","onAction"],["size","small","title","Create an issue as a child",1,"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,aib,1,0,"b-spinner",1),R(2,"async"),D(3,"select-menu",2),K("onChange",function(e){return b.issueFilters.reset(e)}),R(4,"async"),E(),D(5,"button",3),K("click",function(){b.matDialog.open(P5,{maxWidth:"1300px",width:"90%"})}),F(6,"mat-icon",4),E()(),D(7,"div",5)(8,"section",6)(9,"div",7)(10,"h4",
8)(11,"div",9),F(12,"mat-icon",10),E(),P(13),R(14,"async"),E(),O(15,cib,2,1,"ng-container",1),R(16,"async"),E(),O(17,hib,5,7,"ng-container",1),R(18,"async"),O(19,jib,4,1,"ng-template",null,11,$g),E(),D(21,"section")(22,"div",12)(23,"h4",8)(24,"div",13),F(25,"mat-icon",14),E(),P(26),R(27,"async"),E(),O(28,lib,2,1,"ng-container",1),R(29,"async"),E(),O(30,pib,5,7,"ng-container",1),R(31,"async"),O(32,rib,6,1,"ng-template",null,15,$g),E(),D(34,"section")(35,"div",16)(36,"h4",8)(37,"div",17),F(38,"mat-icon",
18),E(),P(39),R(40,"async"),E(),O(41,tib,2,1,"ng-container",1),R(42,"async"),R(43,"async"),E(),O(44,uib,28,24,"div",19),R(45,"async"),R(46,"async"),O(47,vib,4,10,"b-issue-relations-table",20),R(48,"async"),O(49,xib,3,6,"ng-container",1),R(50,"async"),O(51,Aib,4,5,"ng-container",1),R(52,"async"),E()(),O(53,Cib,1,1,"ng-template",null,21,$g),O(55,Eib,3,3,"ng-template",null,22,$g),O(57,Gib,3,3,"ng-template",null,23,$g),O(59,Iib,4,4,"ng-template",null,24,$g));if(a&2){var c,d;z(1);C("ngIf",S(2,17,b.isThinking$));
z(2);C("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==(c=S(4,19,b.issueFilters.value$))&&void 0!==c?c:Fg(49,DCc))("showActionButtons",!1)("showActiveState",!0);z(10);Q(" Parents ",S(14,21,b.counts.countParentsDisplay$)," ");z(2);C("ngIf",S(16,23,b.parentsCount$));z(2);C("ngIf",S(18,25,b.issueId$));z(9);Q(" Blockers ",S(27,27,b.counts.countBlockersDisplay$)," ");z(2);C("ngIf",S(29,29,b.showBlockersTable$));z(2);C("ngIf",S(31,31,b.issueId$));z(9);Q(" Child issues ",S(40,33,b.counts.countChildrenDisplay$),
" ");z(2);C("ngIf",S(42,35,b.unarchivedChildIssueCount$)||0<((null==(d=S(43,37,null==b.relationsTable?null:b.relationsTable.rows$))?null:d.length)||0));z(3);C("ngIf",b.isTotalEstimatesEnabled&&S(45,39,b.unarchivedChildIssueCount$)&&S(46,41,b.totalDaysCount$));z(3);C("ngIf",S(48,43,b.issueId$));z(2);C("ngIf",S(50,45,b.issueFilters.value$));z(2);C("ngIf",null!==S(52,47,b.unarchivedChildIssueCount$))}},dependencies:[bx,gx,XI,bJ,NA,OB,qD,ZN,vN,X5,O5,R5,S5,hx,nx],styles:["b-issue-dependencies h4 button{margin:-8px 0}b-issue-dependencies h4 button.gmat-button.mat-stroked-button.small{line-height:21px}b-issue-dependencies .carded{padding-top:0;margin-top:0}b-issue-dependencies .table-header{margin-top:0;margin-bottom:4px}b-issue-dependencies .status{padding:4px 16px}b-issue-dependencies .status b-spinner{margin-top:4px}b-issue-dependencies .status mat-icon{margin-top:-1px}b-issue-dependencies b-issue-relations-table,b-issue-dependencies b-blockers-table{display:block;overflow-x:auto}b-issue-dependencies b-button.add{margin-left:16px}b-issue-dependencies .emoji{font-size:1rem;padding:0 4px}b-issue-dependencies .progress-header{padding-top:12px;font-size:.75rem;padding-bottom:16px}b-issue-dependencies .progress{border-radius:6px;border:1px solid;border-color:#137333;border-color:var(--good-text);height:8px;width:132px;position:relative}b-issue-dependencies .progress>.completion{background-color:#137333;background-color:var(--good-text);height:100%;border-radius:9px}b-issue-dependencies .progress-hover-card{font-weight:bold}b-issue-dependencies button.subtle-link.unstyled{color:#1a73e8;color:var(--link)}\n"],
encapsulation:2,changeDetection:0});var Z5=function(){};Z5.\u0275fac=function(a){return new (a||Z5)};Z5.\u0275mod=fd({type:Z5});Z5.\u0275inj=Qc({imports:[px,BD,BM,XQ,rD,lE,DO]});var $5=function(){};$5.\u0275fac=function(a){return new (a||$5)};$5.\u0275mod=fd({type:$5});$5.\u0275inj=Qc({imports:[nz,dz,Ny,px,ay,gM,BD,gB,rD,ZP,YP,aN,lE,by,aH,MP,JP,yP,LP,AM,xN,$P,pN,Z5]});var GCc={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},a6=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_TERSE=rF;this.URLS=au;this.ListIssuesHovercardMode=GCc;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new T.ReplaySubject(1);this.init=new T.ReplaySubject(1);this.issues$=this.issueIds$.pipe(sf(Vj),Qf(this.issueFridge.watchSet),B(function(d){return"parent"===c.mode?d.filter(on):d.filter(mn)}))};X(a6,Z);a6.\u0275dir=Z.\u0275dir;
a6.prototype.convertIssueStatusStrToTag=function(a){return Wk[a]};a6.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var Qib=function(a){var b;null==(b=a.hovercardInstance)||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=null!=c?c:[];for(var d="id:(",e=m(c.entries()),f=e.next();!f.done;f=e.next()){var h=m(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}a.router.navigate([au.ISSUE_LIST],{queryParams:{q:d}})})};
a6.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(Rf(this.destroyed$)).subscribe(function(){a.init.next()})};Ei.Object.defineProperties(a6.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});a6.\u0275fac=function(a){return new (a||a6)(A(QH),A(WG))};
a6.\u0275cmp=r({type:a6,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[$f],decls:5,vars:5,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],["class","border-bottom header-container",4,"ngIf"],[4,"ngIf"],[1,"border-bottom","header-container"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon","slo-status-no-data",
1,"icon-xxs","gfx-bad"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"issue-row","flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],[1,"issue-id","type-xs"],[1,"type-m","margin-right","issue-title"],[1,"bv2-priority",3,"ngClass"],[3,"class",4,"ngIf"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["mat-button","",1,"gmat-button","primary","small",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,Lib,5,3,"div",1),O(2,Mib,5,3,"div",1),O(3,Tib,4,3,"div",2),R(4,"async"),
E());a&2&&(z(1),C("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),C("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),z(1),C("ngIf",S(4,3,b.issues$)))},dependencies:[$w,ax,bx,OB,XG,NA,hx],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.header-container[_ngcontent-%COMP%]{line-height:14px;padding:8px 12px}.header-text[_ngcontent-%COMP%]{font-family:Google Sans Display,Roboto,Arial,sans-serif;font-size:.8125rem;line-height:16px;color:#1a73e8;color:var(--text-primary);margin-left:6px}.issue-row[_ngcontent-%COMP%]{line-height:32px;margin:0 12px;padding:4px 0;font-family:Roboto,Arial,sans-serif;color:#202124;color:var(--text)}.issue-row[_ngcontent-%COMP%]   .issue-id[_ngcontent-%COMP%]{height:13px;font-weight:700;padding:1px 4px;margin-right:4px;color:#5f6368;color:var(--text-muted);border:1px solid;border-color:#e8eaed;border-color:var(--gfx-inverse);border-radius:4px}.issue-row[_ngcontent-%COMP%]   .issue-title[_ngcontent-%COMP%]{max-width:200px}.issue-row[_ngcontent-%COMP%]   .issue-title[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.more-issues-container[_ngcontent-%COMP%]{padding:4px 0;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:end}"]});var b6=function(a,b){this.issueDigestsApi=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=GCc;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};b6.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&HCc(this).then(function(c){b.issueIdToTitle=c})};b6.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var HCc=function(a){a.reorderedAncestors=[];for(var b=a.issueId;;)if(b=a.ancestors.get(b))if(1===b.sourceIssueIds.length)b=b.sourceIssueIds[0],a.reorderedAncestors.push(b);else{a.multiParentIssueIds=b.sourceIssueIds;break}else break;a.reorderedAncestors.reverse();return(0,T.firstValueFrom)(a.issueDigestsApi.getAll(new Set(a.reorderedAncestors)).pipe(B(function(c){var d=new Map;c=m(c);for(var e=c.next();!e.done;e=c.next())e=e.value,d.set(e.issueId,e.title);return d})))};
b6.\u0275fac=function(a){return new (a||b6)(A(o5),A(cH))};
b6.\u0275cmp=r({type:b6,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[md],decls:3,vars:2,consts:[["svgIcon","account_tree_24px","title","Ancestor issues",1,"icon-xs","margin-s-right"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"muted",3,"onedevHovercardTrigger","title"],["svgIcon","chevron-right","class","icon-xs chevron muted",4,"ngIf"],["card","onedevHovercard"],[4,"onedevHovercardLazyBody"],["svgIcon","chevron-right",1,"icon-xs","chevron","muted"],[3,
"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],["cardBody",""],[1,"type-s",3,"href","issueId"]],template:function(a,b){a&1&&(F(0,"mat-icon",0),O(1,Wib,7,4,"ng-container",1),O(2,Xib,4,5,"ng-container",2));a&2&&(z(1),C("ngIf",1<b.multiParentIssueIds.length),z(1),C("ngForOf",b.reorderedAncestors))},dependencies:[ax,bx,OB,dJ,XI,YI,bJ,ZI,a6],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:middle}[_nghost-%COMP%]     a{color:#202124;color:var(--text-default);line-height:22px;vertical-align:middle}[_nghost-%COMP%]     a.muted{color:#5f6368;color:var(--text-muted)}[_nghost-%COMP%]     a:hover, [_nghost-%COMP%]     a:focus{color:#1a73e8;color:var(--link);text-decoration:underline}.chevron[_ngcontent-%COMP%]{width:18px}.chevron.last[_ngcontent-%COMP%]{margin-right:-3px}"]});var ICc=function(a){Y.call(this,a)};X(ICc,Y);ICc.messageId="b.CompareComponentAccessResponse";var c6=function(a){this.executor=a};c6.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:ICc}).then(Kpa)};c6.\u0275fac=function(a){return new (a||c6)(n(oE))};c6.\u0275prov=Pc({token:c6,factory:c6.\u0275fac,providedIn:"root"});var d6=function(a,b,c,d,e,f){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=f},Bjb=function(a,b,c){var d,e,f,h,l;Ze(function(q){switch(q.nextAddress){case 1:return b=String(b),RJ(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?af(q,(0,T.firstValueFrom)(a.issueFridge.watch(b)),2):q.return();case 2:d=q.yieldResult;if(!d)return oG(a.butterBar,"Could not load issue "+b),q.return();e=d.snapshot[0].componentId;
f=c.componentId;return e===f?q.return():af(q,a.compareComponentAccess.check(String(e),String(f),b),3);case 3:h=q.yieldResult;if(!h.warning){q.jumpTo(4);break}return af(q,JCc(a,h),5);case 5:if(l=q.yieldResult,!l)return q.return();case 4:return q.return(a.editIssueService.updateComponent(b,f,h.isExternalMove))}})},JCc=function(a,b){return new Promise(function(c){XA(a.matDialogService.open(VU,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}})).subscribe(function(){c(!1)})})};
d6.\u0275fac=function(a){return new (a||d6)(n(QJ),n(QH),n(mG),n(c6),n(bB),n(lK))};d6.\u0275prov=Pc({token:d6,factory:d6.\u0275fac,providedIn:"root"});var e6=function(a,b,c,d,e,f,h){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFetchResponseFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=f;this.editIssueService=h},KCc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,f=b.newCommentFormattingMode,h=b.recaptchaToken,l,q;Ze(function(u){switch(u.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return oG(a.butterBar,"New comment cannot be empty."),u.return();iK(l,"commentEdit");
nG(a.butterBar,"Saving comment edit...",0);RJ(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});$e(u,2,3);return af(u,a.issueCommentsService.update(c,d,e,f,h),5);case 5:nG(a.butterBar,"Comment edit successful.",4E3),VH(a.issueFetchResponseFridge,c),HF(a.eventsForIssueFridge,c,function(x){x.events=sra(x.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.eventsForIssueFridge.poke(c);case 3:bf(u);jK(l,"commentEdit");cf(u,0);break;case 2:q=df(u),sG(a.errorHandler,
q),u.jumpTo(3)}})};e6.\u0275fac=function(a){return new (a||e6)(n(qG),n(JF),n(TH),n(pI),n(QJ),n(mG),n(lK))};e6.\u0275prov=Pc({token:e6,factory:e6.\u0275fac,providedIn:"root"});var LCc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},MCc=function(){},NCc=function(a){this.timestampMicros=a};Yib.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var OCc=function(a){var b=0;if(a.inRetryMode_){b=Math.ceil(a.random_()*a.currentMaxDelayMs_);var c=1024*a.initialMaxDelayMs_;a.currentMaxDelayMs_<=c&&(a.currentMaxDelayMs_*=2,a.currentMaxDelayMs_>c&&(a.currentMaxDelayMs_=c))}a.inRetryMode_=!0;return b};var Qt=function(a){Y.call(this,a)};X(Qt,Y);var cjb=[1,2,3,15];var St=function(a){Y.call(this,a)};X(St,Y);var Ut=[1,2,3,4,5,6,7,8,9,10,11,12];var Rt=function(a){Y.call(this,a,-1,PCc)};X(Rt,Y);var PCc=[1];var Pt=function(a){Y.call(this,a)};X(Pt,Y);Pt.prototype.getName=function(){return ht(this,1,QCc)};Pt.prototype.setName=function(a){return Zj(this,1,QCc,a)};Pt.prototype.hasName=function(){return null!=ht(this,1,QCc)};Pt.prototype.getNameOrUndefined=function(){var a=ht(this,1,QCc);return null==a?void 0:a};var QCc=[1,2];var RCc=function(a){Y.call(this,a)};X(RCc,Y);g=RCc.prototype;g.setProject=function(a){Ok(this,Pt,1,a)};g.getOwner=function(){return wk(this,Qt,2)};g.setOwner=function(a){return Ok(this,Qt,2,a)};g.getPath=function(){return wk(this,Rt,3)};g.setPath=function(a){return Ok(this,Rt,3,a)};g.hasPath=function(){return sl(this,Rt,3)};var SCc=function(a){Y.call(this,a)};X(SCc,Y);g=SCc.prototype;g.setProject=function(a){Ok(this,Pt,1,a)};g.getOwner=function(){return wk(this,Qt,2)};g.setOwner=function(a){return Ok(this,Qt,2,a)};g.getPrefix=function(){return wk(this,Rt,3)};g.setPrefix=function(a){Ok(this,Rt,3,a)};var f6=function(a){Y.call(this,a)};X(f6,Y);f6.prototype.getVersion=function(){return Db(this,1)};f6.prototype.getVersion_legacyNullable=function(){return Db(this,1)};f6.prototype.setVersion=function(a){return k(this,1,a)};f6.prototype.getVersionOrUndefined=function(){return Ru(this,1)};var g6=function(a){Y.call(this,a)};X(g6,Y);g6.prototype.getHeader=function(){return wk(this,f6,4)};g6.prototype.getPrefix=function(){return wl(this,SCc,6,TCc)};g6.prototype.setPrefix=function(a){am(this,6,TCc,a)};var TCc=[2,3,6];var UCc=function(a){Y.call(this,a)};X(UCc,Y);var VCc=function(a){Y.call(this,a)};X(VCc,Y);VCc.prototype.setAffinitization=function(a){k(this,2,a)};VCc.prototype.getAffinitizationOrUndefined=function(){return rt(this,2)};var WCc=function(a){Y.call(this,a)};X(WCc,Y);var XCc=function(a){Y.call(this,a)};X(XCc,Y);g=XCc.prototype;g.getStreamId_legacyNullable=function(){return Db(this,1)};g.setStreamId=function(a){k(this,1,a)};g.getClose=function(){return wl(this,WCc,3,YCc)};g.setClose=function(a){am(this,3,YCc,a)};g.hasClose=function(){return ul(this,WCc,3,YCc)};g.setAffinitization=function(a){k(this,4,a)};g.getAffinitizationOrUndefined=function(){return rt(this,4)};var YCc=[2,3];var h6=function(a){Y.call(this,a,-1,ZCc)};X(h6,Y);h6.prototype.setRequestsList=function(a){return Sb(this,1,a)};h6.prototype.addAndReturnRequests=function(){return tBb(this,1,XCc)};var ZCc=[1];var i6=function(a){Y.call(this,a)};X(i6,Y);i6.prototype.getCode=function(){return Db(this,1)};i6.prototype.getCode_legacyNullable=function(){return Db(this,1)};i6.prototype.setCode=function(a){return k(this,1,a)};var $Cc=function(a){Y.call(this,a)};X($Cc,Y);var aDc=function(a){Y.call(this,a)};X(aDc,Y);g=aDc.prototype;g.getPayload=function(){return ft(this,2)};g.getVersion=function(){return Db(this,3)};g.getVersion_legacyNullable=function(){return Db(this,3)};g.setVersion=function(a){return k(this,3,a)};g.getVersionOrUndefined=function(){var a=Db(this,3);return null==a?void 0:a};var cDc=function(a){Y.call(this,a,-1,bDc)};X(cDc,Y);var bDc=[1];var dDc=function(a){Y.call(this,a)};X(dDc,Y);var j6=function(a){Y.call(this,a)};X(j6,Y);j6.prototype.getStart=function(){return wl(this,dDc,1,k6)};j6.prototype.setStart=function(a){return am(this,1,k6,a)};j6.prototype.getChanges=function(){return wl(this,cDc,2,k6)};j6.prototype.hasChanges=function(){return ul(this,cDc,2,k6)};var k6=[1,2,3,5];var l6=function(a){Y.call(this,a)};X(l6,Y);g=l6.prototype;g.getCode=function(){return Db(this,1)};g.getCode_legacyNullable=function(){return Db(this,1)};g.setCode=function(a){return k(this,1,a)};g.getMessage=function(){return Db(this,3)};g.setMessage=function(a){return k(this,3,a)};var m6=function(a){Y.call(this,a)};X(m6,Y);m6.prototype.getStatus=function(){return wk(this,l6,1)};m6.prototype.setStatus=function(a){return Ok(this,l6,1,a)};m6.prototype.hasStatus=function(){return sl(this,l6,1)};var eDc=function(a){Y.call(this,a)};X(eDc,Y);g=eDc.prototype;g.getStreamId_legacyNullable=function(){return Db(this,1)};g.setStreamId=function(a){k(this,1,a)};g.getClose=function(){return wl(this,m6,3,fDc)};g.setClose=function(a){am(this,3,fDc,a)};g.hasClose=function(){return ul(this,m6,3,fDc)};var fDc=[2,3];var n6=function(a){Y.call(this,a,-1,gDc)};X(n6,Y);n6.prototype.getStatus=function(){return wk(this,i6,2)};n6.prototype.setStatus=function(a){return Ok(this,i6,2,a)};n6.prototype.hasStatus=function(){return sl(this,i6,2)};var gDc=[1];var hDc=function(){eC.call(this,"F")};Gu(hDc,eC);var iDc=function(){eC.call(this,"E")};Gu(iDc,eC);var jDc=function(a,b){this.path=a;this.authMethod=b},o6=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Tr;this.channel=this.createWebChannel(e)};
o6.prototype.createWebChannel=function(a){var b=this;a={sendRawJson:!0,messageContentType:"application/json+protobuf",httpSessionIdParam:void 0,messageUrlParams:Object.assign({},{gsessionid:a},this.config.authMethod.getQueryParameters()),messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(this.config.path,a);this.channelHandler.listen(a,"C",function(){b.channelStatusHandler.onOpen()});this.channelHandler.listen(a,
"D",function(){b.channelStatusHandler.onClose((new p6(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"F",function(c){(c=c.data)&&1===c.length&&b.channelMessageHandler(new n6(c[0]))});this.channelHandler.listen(a,"E",function(c){b.channelStatusHandler.onError(c,(new p6(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
o6.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};o6.prototype.close=function(){2!==this.state&&this.channel.close()};o6.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var kDc,lDc=(new f6).setVersion(7);kDc=k(lDc,2,5);var Wt=function(a){this.rep=a};Wt.prototype.equals=function(a){return this.rep===a.rep};var mDc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};mDc.prototype.update=function(){var a=Date.now();a=Math.floor((a-this.lastAddedTimestampMs)/3E5);this.tokens=Math.min(this.tokens+a,this.max);this.lastAddedTimestampMs+=3E5*a};var Vt=function(a,b){this.seconds=a;this.nanos=b},ejb=function(a){var b=new cj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},ijb=function(a){try{var b=a.getSeconds(),c=a.getNanos();if(-62135596800>b)throw Error("Ne`"+b);if(253402300800<=b)throw Error("Oe`"+b);if(0>c)throw Error("Pe`"+c);if(1E9<=c)throw Error("Qe`"+c);if(!Number.isInteger(b))throw Error("Re`"+b);if(!Number.isInteger(c))throw Error("Se`"+c);return new Vt(b,c)}catch(d){return null}};
Vt.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var Tt=function(a,b){this.low_=a|0;this.high_=b|0};g=Tt.prototype;g.toNumber=function(){return 4294967296*this.high_+(this.low_>>>0)};g.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
g.toString=function(a){a=a||10;if(2>a||36<a)throw Error("Te`"+a);if(this.isSafeInteger()){var b=this.toNumber();return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=q6(c,c/4294967296);c=r6(this,d);d=Math.abs(this.subtract(c.multiply(d)).toNumber());var e=10==a?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=c.toNumber();return(10==a?d:d.toString(a))+e};g.isZero=function(){return 0==this.low_&&0==this.high_};g.isNegative=function(){return 0>this.high_};
g.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};g.compare=function(a){return this.high_==a.high_?this.low_==a.low_?0:this.low_>>>0>a.low_>>>0?1:-1:this.high_>a.high_?1:-1};var s6=function(a){var b=~a.low_+1|0;return q6(b,~a.high_+!b|0)};
Tt.prototype.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,f=a.high_&65535,h=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);h=(a>>>16)+(d+h);d=h>>>16;d+=c+f;return q6((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};Tt.prototype.subtract=function(a){return this.add(s6(a))};
Tt.prototype.multiply=function(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=this.low_&65535,f=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=a.low_&65535;var q=e*a;var u=(q>>>16)+d*a;var x=u>>>16;u=(u&65535)+e*l;x+=u>>>16;x+=c*a;var y=x>>>16;x=(x&65535)+d*l;y+=x>>>16;x=(x&65535)+e*h;y=y+(x>>>16)+(b*a+c*l+d*h+e*f)&65535;return q6((u&65535)<<16|q&65535,y<<16|x&65535)};
var r6=function(a,b){if(b.isZero())throw Error("Ue");if(a.isNegative()){if(a.equals(t6)){if(b.equals(nDc)||b.equals(oDc))return t6;if(b.equals(t6))return nDc;var c=a.high_;c=q6(a.low_>>>1|c<<31,c>>1);c=r6(c,b).shiftLeft(1);if(c.equals(u6))return b.isNegative()?nDc:oDc;a=a.subtract(b.multiply(c));return c.add(r6(a,b))}return b.isNegative()?r6(s6(a),s6(b)):s6(r6(s6(a),b))}if(a.isZero())return u6;if(b.isNegative())return b.equals(t6)?u6:s6(r6(a,s6(b)));for(var d=u6;0<=a.compare(b);){c=Math.max(1,Math.floor(a.toNumber()/
b.toNumber()));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var f=v6(c),h=f.multiply(b);h.isNegative()||0<h.compare(a);)c-=e,f=v6(c),h=f.multiply(b);f.isZero()&&(f=nDc);d=d.add(f);a=a.subtract(h)}return d};g=Tt.prototype;g.not=function(){return q6(~this.low_,~this.high_)};g.and=function(a){return q6(this.low_&a.low_,this.high_&a.high_)};g.or=function(a){return q6(this.low_|a.low_,this.high_|a.high_)};g.xor=function(a){return q6(this.low_^a.low_,this.high_^a.high_)};
g.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?q6(b<<a,this.high_<<a|b>>>32-a):q6(0,b<<a-32)};
var v6=function(a){return 0<a?0x7fffffffffffffff<=a?pDc:new Tt(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?t6:s6(new Tt(-a,-a/4294967296)):u6},q6=function(a,b){return new Tt(a,b)},Yt=function(a,b){if("-"==a.charAt(0))return s6(Yt(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new Tt(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("Ve");if(0<=a.indexOf("-"))throw Error("We`"+a);b=b||10;if(2>b||36<b)throw Error("Te`"+b);c=v6(Math.pow(b,8));for(var d=u6,e=0;e<a.length;e+=
8){var f=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+f),b);8>f?d=d.multiply(v6(Math.pow(b,f))).add(v6(h)):(d=d.multiply(c),d=d.add(v6(h)))}return d},u6=q6(0,0),nDc=q6(1,0),oDc=q6(-1,-1),pDc=q6(4294967295,2147483647),t6=q6(0,2147483648);var It=function(a,b){this.value=a;this.isDecreasing=!!b};
It.prototype.equals=function(a){if(this.isDecreasing!==a.isDecreasing)var b=!1;else if("string"===typeof this.value||"number"===typeof this.value)b=this.value===a.value;else if(this.value instanceof Tt)b=a.value instanceof Tt?this.value.equals(a.value):!1;else if(this.value instanceof Wt)b=a.value instanceof Wt?this.value.equals(a.value):!1;else if(this.value instanceof Uint8Array)if(a.value instanceof Uint8Array)a:if(b=this.value,a=a.value,b.length!==a.length)b=!1;else{for(var c=0;c<b.length;++c)if(b[c]!==
a[c]){b=!1;break a}b=!0}else b=!1;else b=this.value instanceof Vt?a.value instanceof Vt?this.value.equals(a.value):!1:!1;return b};var Xt=function(a,b){this.parts=a;this.isPrivate=b},gjb=function(){for(var a=[],b=m(bd.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof It?a.push(c):a.push(new It(c));return new Xt(a,!1)};
Xt.prototype.equals=function(a){var b;if(b=this.parts.length===a.parts.length)a:if(this.isPrivate!==a.isPrivate||this.parts.length>a.parts.length)b=!1;else{for(b=0;b<this.parts.length;++b)if(!this.parts[b].equals(a.parts[b])){b=!1;break a}b=!0}return b};var qDc=function(){},Mt=function(a,b){this.apiKey=a;this.authUser=b};Mt.prototype.getHeaders=function(){var a={},b;(b=sq([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;null!=b&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.authUser||0));return a};Mt.prototype.getQueryParameters=function(){return{key:this.apiKey}};Mt.prototype.domainType=function(){return 0};Mt.prototype.usesCredentialedRequests=function(){return!0};var Kt=function(a){this.oauthTokens=a};
Kt.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};Kt.prototype.getQueryParameters=function(){return{}};Kt.prototype.domainType=function(){return 1};Kt.prototype.usesCredentialedRequests=function(){return!0};var Lt=function(a,b){this.apiKey=a;this.appAuthTokens=b};Lt.prototype.getHeaders=function(){return{}};Lt.prototype.getQueryParameters=function(){return{key:this.apiKey}};Lt.prototype.domainType=function(){return 1};
Lt.prototype.usesCredentialedRequests=function(){return!1};var rDc={send:function(a,b,c,d,e,f,h){Pi(a,b,c,d,e,f,h)}};var sDc=function(a,b,c){this.code=a;this.message=b;this.status=c},tDc=function(a){var b=void 0===b?rDc:b;this.baseUri=a;this.xhrIo=b};tDc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
tDc.prototype.request=function(a,b,c,d,e){var f=this,h=new Wq(this.baseUri);h.setPath(b);if(e.queryParams){b=m(Object.entries(e.queryParams));for(var l=b.next();!l.done;l=b.next()){var q=m(l.value);l=q.next().value;q=q.next().value;WD(h,l,q)}}var u={"Content-type":"application/json+protobuf"};Object.assign(u,e.extraHeaders);var x=c.serialize();return new Promise(function(y,G){var J;f.xhrIo.send(h,function(){var M=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{y(Uba(d,this.getResponseText()))}catch(V){G(new sDc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),M))}else G(new sDc(this.getLastErrorCode(),this.getLastError(),M))},a,x,u,null!=(J=e.timeoutMs)?J:2E4,e.withCredentials)})};var uDc=null,vDc=function(){return uDc=uDc||new Qq},wDc=function(a){eC.call(this,"serverreachability",a)};Gu(wDc,eC);var w6=function(a){var b=vDc();b.dispatchEvent(new wDc(b,a))},xDc=function(a,b){eC.call(this,"statevent",a);this.stat=b};Gu(xDc,eC);var x6=function(a){var b=vDc();b.dispatchEvent(new xDc(b,a))},yDc=function(a,b,c){eC.call(this,"timingevent",a);this.size=b;this.rtt=c};Gu(yDc,eC);
var zDc=function(a,b,c){var d=vDc();d.dispatchEvent(new yDc(d,a,b,c))},y6=function(a,b){if("function"!==typeof a)throw Error("Ye");return da.setTimeout(function(){a()},b)};var z6=function(){this.redactEnabled_=!0};z6.prototype.disableRedact=function(){this.redactEnabled_=!1};
var ADc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var l=f.split("&"),q=0;q<l.length;q++){var u=l[q].split("=");if(1<u.length){var x=u[0];u=u[1];var y=x.split("_");h=2<=y.length&&"type"==y[1]?h+(x+"="+u+"&"):h+(x+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},BDc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},A6=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+CDc(a,c)+(d?" "+d:"")})},DDc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};z6.prototype.debug=function(){};z6.prototype.info=function(){};z6.prototype.warning=function(){};
var CDc=function(a,b){if(!a.redactEnabled_)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(2>e.length)){var f=e[1];if(Array.isArray(f)&&!(1>f.length)){var h=f[0];if("noop"!=h&&"stop"!=h&&"close"!=h)for(var l=1;l<f.length;l++)f[l]=""}}}return pNb(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var B6=function(a,b,c,d,e){this.channel_=a;this.channelDebug_=b;this.sid_=c;this.rid_=d;this.retryId_=e||1;this.eventHandler_=new Tr(this);this.timeout_=45E3;a=Cq?125:void 0;this.pollingTimer_=new DC(a);this.extraHeaders_=null;this.successful_=!1;this.postData_=this.requestUri_=this.baseUri_=this.type_=this.requestStartTime_=this.watchDogTimeoutTime_=this.watchDogTimerId_=null;this.pendingMessages_=[];this.xmlHttp_=null;this.xmlHttpChunkStart_=0;this.lastError_=this.verb_=null;this.lastStatusCode_=
-1;this.cancelled_=!1;this.readyStateChangeThrottleMs_=0;this.readyStateChangeThrottle_=null;this.firstByteReceived_=this.initialResponseDecoded_=this.decodeInitialResponse_=this.decodeChunks_=!1;this.fetchResponseState_=new EDc},EDc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},FDc=function(a,b){switch(a){case 0:return"Non-200 return code ("+b+")";case 1:return"XMLHTTP failure (no data)";case 2:return"HttpConnection timeout";default:return"Unknown error"}},
GDc={},HDc={};B6.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};B6.prototype.setTimeout=function(a){this.timeout_=a};B6.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};B6.prototype.getPendingMessages=function(){return this.pendingMessages_};
var JDc=function(a,b,c){a.type_=1;a.baseUri_=YD(b.clone());a.postData_=c;a.decodeChunks_=!0;IDc(a,null)},IDc=function(a,b){a.requestStartTime_=Date.now();C6(a);a.requestUri_=a.baseUri_.clone();var c=a.requestUri_,d=a.retryId_;Array.isArray(d)||(d=[String(d)]);c.queryData_.setValues("t",d);a.xmlHttpChunkStart_=0;c=a.channel_.supportsCrossDomainXhrs_;a.fetchResponseState_=new EDc;a.xmlHttp_=KDc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new Ysc(Eu(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?kc(a.extraHeaders_):{};a.postData_?(a.verb_||(a.verb_="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.xmlHttp_.send(a.requestUri_,a.verb_,a.postData_,b)):(a.verb_="GET",a.xmlHttp_.send(a.requestUri_,a.verb_,null,b));w6(1);ADc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
B6.prototype.readyStateChangeHandler_=function(a){a=a.target;var b=this.readyStateChangeThrottle_;b&&3==a.getReadyState()?(this.channelDebug_.debug("Throttling readystatechange."),b.fire()):this.xmlHttpHandler_(a)};B6.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?LDc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),MDc(this)}finally{}};
var LDc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!Cq&&!MDc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?w6(3):w6(2));NDc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=ODc(a);MDc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;BDc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
PDc(a))A6(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,QDc(a,d);else{a.successful_=!1;a.lastError_=3;x6(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");D6(a);E6(a);return}a.decodeChunks_?(RDc(a,b,c),Cq&&a.successful_&&3==b&&SDc(a)):(A6(a.channelDebug_,a.rid_,c,null),QDc(a,c));4==b&&D6(a);a.successful_&&!a.cancelled_&&(4==b?TDc(a.channel_,a):(a.successful_=!1,C6(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,x6(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,x6(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),D6(a),E6(a)}},PDc=function(a){return a.xmlHttp_&&(a=Ri(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!nm(a)?a:null},ODc=function(a){if(!UDc(a))return a.xmlHttp_.getResponseText();var b=a.xmlHttp_.getResponse(),c="",d=b.length,e=4==a.xmlHttp_.getReadyState();if(!a.fetchResponseState_.textDecoder){if("undefined"===
typeof TextDecoder)return D6(a),E6(a),"";a.fetchResponseState_.textDecoder=new da.TextDecoder}for(var f=0;f<d;f++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[f],{stream:e&&f==d-1});b.splice(0,d);a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},MDc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},
UDc=function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},RDc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=VDc(a,c),e==HDc){4==b&&(a.lastError_=4,x6(14),d=!1);A6(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==GDc){a.lastError_=4;x6(15);A6(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else A6(a.channelDebug_,a.rid_,e,null),QDc(a,e);UDc(a)&&e!=HDc&&e!=GDc&&(a.fetchResponseState_.responseBuffer=
"",a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,x6(16),d=!1);a.successful_=a.successful_&&d;d?0<c.length&&!a.firstByteReceived_&&(a.firstByteReceived_=!0,b=a.channel_,b.backChannelRequest_==a&&b.detectBufferingProxy_&&!b.bpDetectionDone_&&(b.channelDebug_.info("Great, no buffering proxy detected. Bytes received: "+c.length),WDc(b),b.bpDetectionDone_=!0,x6(11))):(A6(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),D6(a),E6(a))};
B6.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(NDc(this),RDc(this,a,b),this.successful_&&4!=a&&C6(this))}};
var SDc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},VDc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return HDc;c=Number(b.substring(c,d));if(isNaN(c))return GDc;d+=1;if(d+c>b.length)return HDc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};B6.prototype.cancel=function(){this.cancelled_=!0;D6(this)};
var C6=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;XDc(a,a.timeout_)},XDc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("Ze");a.watchDogTimerId_=y6(Eu(a.onWatchDogTimeout_,a),b)},NDc=function(a){a.watchDogTimerId_&&(da.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
B6.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(DDc(this.channelDebug_,this.requestUri_),2!=this.type_&&(w6(3),x6(17)),D6(this),this.lastError_=2,E6(this)):(this.channelDebug_.warning("WatchDog timer called too early"),XDc(this,this.watchDogTimeoutTime_-a))};
var E6=function(a){a.channel_.isClosed()||a.cancelled_||TDc(a.channel_,a)},D6=function(a){NDc(a);Oi(a.readyStateChangeThrottle_);a.readyStateChangeThrottle_=null;a.pollingTimer_.stop();a.eventHandler_.removeAll();if(a.xmlHttp_){var b=a.xmlHttp_;a.xmlHttp_=null;b.abort();b.dispose()}};B6.prototype.getLastError=function(){return this.lastError_};B6.prototype.getLastStatusCode=function(){return this.lastStatusCode_};B6.prototype.getRequestId=function(){return this.rid_};B6.prototype.getXhr=function(){return this.xmlHttp_};
var QDc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||YDc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&YDc(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(ba){d=null}if(Array.isArray(d)&&3==d.length){var e=d;if(0==e[0])a:if(c.channelDebug_.debug("Server claims our backchannel is missing."),c.backChannelTimerId_)c.channelDebug_.debug("But we are currently starting the request.");else{if(c.backChannelRequest_)if(c.backChannelRequest_.requestStartTime_+
3E3<a.requestStartTime_)ZDc(c),$Dc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");aEc(c);x6(18)}else{c.lastPostResponseArrayId_=e[1];var f=c.lastPostResponseArrayId_-c.lastArrayId_;if(0<f){var h=e[2];c.channelDebug_.debug(h+" bytes (in "+f+" arrays) are outstanding on the BackChannel");37500>h&&c.enableStreaming_&&0==c.backChannelRetryCount_&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=y6(Eu(c.onBackChannelDead_,c),6E3))}}if(1>=bEc(c.forwardChannelRequestPool_)&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(ba){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),F6(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&ZDc(c),!nm(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var l=e[f];c.lastArrayId_=l[0];l=l[1];if(2==c.state_)if("c"==l[0]){c.sid_=l[1];c.hostPrefix_=c.correctHostPrefix(l[2]);var q=l[3];null!=q&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var u=l[4];null!=u&&(c.serverVersion_=u,c.channelDebug_.info("SVER="+c.serverVersion_));var x=l[5];null!=x&&"number"===typeof x&&0<x&&(h=1.5*x,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var y=a.getXhr();if(y){var G=Ri(y,"X-Client-Wire-Protocol");if(G){var J=h.forwardChannelRequestPool_;b=G;!J.requestPool_&&(ja(b,"spdy")||ja(b,"quic")||ja(b,"h2"))&&(J.maxSize_=J.maxPoolSizeConfigured_,J.requestPool_=new Set,J.request_&&(J.addRequest(J.request_),
J.request_=null))}if(h.httpSessionIdParam_){var M=Ri(y,"X-HTTP-Session-Id");M?(h.httpSessionId_=M,WD(h.forwardChannelUri_,h.httpSessionIdParam_,M)):h.channelDebug_.warning("Missing X_HTTP_SESSION_ID in the handshake response")}}c.state_=3;c.handler_&&c.handler_.channelOpened();c.detectBufferingProxy_&&(c.handshakeRttMs_=Date.now()-a.requestStartTime_,c.channelDebug_.info("Handshake RTT: "+c.handshakeRttMs_+"ms"));h=c;b=a;var V=d=h,U=cEc(V,V.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);V.channelDebug_.debug("GetBackChannelUri: "+
U);d.backChannelUri_=U;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");dEc(h.forwardChannelRequestPool_,b);d=b;var W=h.backChannelRequestTimeoutMs_;W&&d.setTimeout(W);d.watchDogTimerId_&&(NDc(d),C6(d));h.backChannelRequest_=b}else eEc(h);0<c.outgoingMaps_.length&&fEc(c)}else"stop"!=l[0]&&"close"!=l[0]||F6(c,7);else 3==c.state_&&("stop"==l[0]||"close"==l[0]?"stop"==l[0]?F6(c,7):c.disconnect():"noop"!=l[0]&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}w6(4)}catch(ba){}};var gEc=function(a,b){this.mapId=a;this.map=b;this.context=null};var G6=function(a){this.maxPoolSizeConfigured_=a||10;da.PerformanceNavigationTiming?(a=da.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(da.chrome&&da.chrome.loadTimes&&da.chrome.loadTimes()&&da.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},hEc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1};G6.prototype.getMaxSize=function(){return this.maxSize_};var bEc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},YDc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};G6.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var dEc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
G6.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&0!==this.requestPool_.size){for(var a=m(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
G6.prototype.getPendingMessages=function(){if(null!=this.request_)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(null!=this.requestPool_&&0!==this.requestPool_.size){for(var a=this.pendingMessages_,b=m(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return Pa(this.pendingMessages_)};var iEc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var kEc=function(a,b){var c=new z6;c.debug("TestLoadImage: loading "+a);if(da.Image){var d=new Image;d.onload=Fu(jEc,c,d,"TestLoadImage: loaded",!0,b);d.onerror=Fu(jEc,c,d,"TestLoadImage: error",!1,b);d.onabort=Fu(jEc,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=Fu(jEc,c,d,"TestLoadImage: timeout",!1,b);da.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},jEc=function(a,b,c,d,e){try{a.debug(c),b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(f){}};var lEc=function(){this.replacer_=void 0};lEc.prototype.stringify=function(a){return da.JSON.stringify(a,this.replacer_)};lEc.prototype.parse=function(a){return da.JSON.parse(a,void 0)};var mEc=function(){this.parser_=new lEc},nEc=function(a,b,c){var d=c||"";try{xPb(a,function(e,f){var h=e;Ta(e)&&(h=pNb(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var H6=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},I6=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new z6;this.hostPrefix_=this.backChannelUri_=this.forwardChannelUri_=this.path_=this.backChannelRequest_=this.httpSessionId_=this.httpSessionIdParam_=this.extraParams_=this.httpHeadersOverwriteParam_=this.initHeaders_=this.extraHeaders_=null;this.nextMapId_=this.nextRid_=0;this.failFast_=H6("failFast",!1,a);this.enableStreaming_=
this.deadBackChannelTimerId_=this.backChannelTimerId_=this.forwardChannelTimerId_=this.handler_=null;this.allowStreamingMode_=!0;this.errorResponseStatusCode_=this.lastPostResponseArrayId_=this.lastArrayId_=-1;this.backChannelAttemptId_=this.backChannelRetryCount_=this.forwardChannelRetryCount_=0;this.baseRetryDelayMs_=H6("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=H6("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=H6("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
H6("forwardChannelRequestTimeoutMs",2E4,a);this.xmlHttpFactory_=a&&a.xmlHttpFactory||void 0;this.usesFetchStreams_=a&&a.useFetchStreams||!1;this.backChannelRequestTimeoutMs_=void 0;this.readyStateChangeThrottleMs_=0;this.supportsCrossDomainXhrs_=a&&a.supportsCrossDomainXhr||!1;this.sid_="";this.forwardChannelRequestPool_=new G6(a&&a.concurrentRequestLimit);this.wireCodec_=new mEc;this.fastHandshake_=a&&a.fastHandshake||!1;this.encodeInitMessageHeaders_=a&&a.encodeInitMessageHeaders||!1;this.fastHandshake_&&
this.encodeInitMessageHeaders_&&(this.channelDebug_.warning("Ignore encodeInitMessageHeaders because fastHandshake is set."),this.encodeInitMessageHeaders_=!1);this.blockingHandshake_=a&&a.blockingHandshake||!1;a&&a.disableRedact&&this.channelDebug_.disableRedact();a&&a.forceLongPolling&&(this.allowStreamingMode_=!1);this.detectBufferingProxy_=!this.fastHandshake_&&this.allowStreamingMode_&&a&&a.detectBufferingProxy||!1;this.longPollingTimeout_=void 0;a&&a.longPollingTimeout&&0<a.longPollingTimeout&&
(this.longPollingTimeout_=a.longPollingTimeout);this.forwardChannelFlushedCallback_=void 0;this.handshakeRttMs_=0;this.bpDetectionDone_=!1;this.nonAckedMapsAtChannelClose_=this.bpDetectionTimerId_=null};I6.prototype.channelVersion_=8;I6.prototype.state_=1;
I6.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");x6(0);this.path_=a;this.extraParams_=b||{};c&&void 0!==d&&(this.extraParams_.OSID=c,this.extraParams_.OAID=d);this.enableStreaming_=this.allowStreamingMode_;this.channelDebug_.debug("connectChannel_()");a=cEc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;fEc(this)};
I6.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");oEc(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();WD(b,"SID",this.sid_);WD(b,"RID",a);WD(b,"TYPE","terminate");J6(this,b);a=new B6(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=YD(b.clone());b=!1;if(da.navigator&&da.navigator.sendBeacon)try{b=da.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&da.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=KDc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();C6(a)}pEc(this)};var $Dc=function(a){a.backChannelRequest_&&(WDc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},oEc=function(a){$Dc(a);a.backChannelTimerId_&&(da.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);ZDc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&da.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};g=I6.prototype;
g.setExtraHeaders=function(a){this.extraHeaders_=a};g.getHttpSessionId=function(){return this.httpSessionId_};g.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};g.getHandler=function(){return this.handler_};g.isClosed=function(){return 0==this.state_};g.getState=function(){return this.state_};g.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var fEc=function(a){hEc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,yC(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},rEc=function(a,b){if(bEc(a.forwardChannelRequestPool_)>=a.forwardChannelRequestPool_.getMaxSize()-(a.forwardChannelTimerId_?1:0))return!1;if(a.forwardChannelTimerId_)return a.channelDebug_.debug("Use the retry request that is already scheduled."),a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_),!0;if(1==a.state_||
2==a.state_||a.forwardChannelRetryCount_>=(a.failFast_?0:a.forwardChannelMaxRetries_))return!1;a.channelDebug_.debug("Going to retry POST");a.forwardChannelTimerId_=y6(Eu(a.onStartForwardChannelTimer_,a,b),qEc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
I6.prototype.onStartForwardChannelTimer_=function(a){if(this.forwardChannelTimerId_)if(this.forwardChannelTimerId_=null,this.channelDebug_.debug("startForwardChannel_"),1==this.state_){if(!a){this.channelDebug_.debug("open_()");this.nextRid_=Math.floor(1E5*Math.random());a=this.nextRid_++;var b=new B6(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=kc(c),lc(c,this.initHeaders_)):c=this.initHeaders_);null!==this.httpHeadersOverwriteParam_||this.encodeInitMessageHeaders_||
(b.setExtraHeaders(c),c=null);var d;if(this.fastHandshake_)a:{for(var e=d=0;e<this.outgoingMaps_.length;e++){b:{var f=this.outgoingMaps_[e];if("__data__"in f.map&&(f=f.map.__data__,"string"===typeof f)){f=f.length;break b}f=void 0}if(void 0===f)break;d+=f;if(4096<d){d=e;break a}if(4096===d||e===this.outgoingMaps_.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=sEc(this,b,d);e=this.forwardChannelUri_.clone();WD(e,"RID",a);0<this.clientVersion_&&WD(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
WD(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);J6(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(GPb(c)))+"&"+d:this.httpHeadersOverwriteParam_&&HPb(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&WD(e,"TYPE","init");this.fastHandshake_?(WD(e,"$req",d),WD(e,"SID","null"),b.decodeInitialResponse_=!0,JDc(b,e,null)):JDc(b,e,d);this.state_=2}}else 3==this.state_&&(a?tEc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):hEc(this.forwardChannelRequestPool_)||(tEc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var tEc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();WD(d,"SID",a.sid_);WD(d,"RID",c);WD(d,"AID",a.lastArrayId_);J6(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&HPb(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new B6(a,a.channelDebug_,a.sid_,c,a.forwardChannelRetryCount_+1);null===a.httpHeadersOverwriteParam_&&c.setExtraHeaders(a.extraHeaders_);b&&(a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_));b=sEc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);JDc(c,d,b)},J6=function(a,b){a.extraParams_&&ec(a.extraParams_,function(c,d){WD(b,d,c)});a.handler_&&xPb({},function(c,d){WD(b,d,c)})},sEc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?Eu(a.handler_.badMapError,a.handler_,a):null;a:for(var e=a.outgoingMaps_,f=-1;;){var h=["count="+c];-1==f?0<c?(f=e[0].mapId,h.push("ofs="+f)):f=0:h.push("ofs="+
f);for(var l=!0,q=0;q<c;q++){var u=e[q].mapId,x=e[q].map;u-=f;if(0>u)f=Math.max(0,e[q].mapId-100),l=!1;else try{nEc(x,h,"req"+u+"_")}catch(y){d&&d(x)}}if(l){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},eEc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,yC(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},aEc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=y6(Eu(a.onStartBackChannelTimer_,a),qEc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
I6.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;uEc(this);if(this.detectBufferingProxy_&&!this.bpDetectionDone_)if(null==this.backChannelRequest_||0>=this.handshakeRttMs_)this.channelDebug_.warning("Skip bpDetectionTimerId_ "+this.backChannelRequest_+" "+this.handshakeRttMs_);else{var a=2*this.handshakeRttMs_;this.channelDebug_.info("BP detection timer enabled: "+a);this.bpDetectionTimerId_=y6(Eu(this.onBpDetectionTimer_,this),a)}};
I6.prototype.onBpDetectionTimer_=function(){if(this.bpDetectionTimerId_){this.bpDetectionTimerId_=null;this.channelDebug_.info("BP detection timeout reached.");if(null!=this.backChannelRequest_.getXhr()){var a=this.backChannelRequest_.getXhr().getResponseText();a&&this.channelDebug_.warning("Timer should have been cancelled : "+a)}this.channelDebug_.info("Buffering proxy detected and switch to long-polling!");this.enableStreaming_=!1;this.bpDetectionDone_=!0;x6(10);$Dc(this);uEc(this)}else this.channelDebug_.warning("Invalid operation.")};
var WDc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),da.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},uEc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new B6(a,a.channelDebug_,a.sid_,"rpc",a.backChannelAttemptId_);null===a.httpHeadersOverwriteParam_&&a.backChannelRequest_.setExtraHeaders(a.extraHeaders_);a.backChannelRequest_.setReadyStateChangeThrottle(a.readyStateChangeThrottleMs_);var b=
a.backChannelUri_.clone();WD(b,"RID","rpc");WD(b,"SID",a.sid_);WD(b,"AID",a.lastArrayId_);WD(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&WD(b,"TO",a.longPollingTimeout_);WD(b,"TYPE","xmlhttp");J6(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&HPb(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=YD(b.clone());
c.postData_=null;c.decodeChunks_=!0;IDc(c,d);a.channelDebug_.debug("New Request created")};I6.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};I6.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,$Dc(this),aEc(this),x6(19))};
var ZDc=function(a){null!=a.deadBackChannelTimerId_&&(da.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},TDc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){ZDc(a);WDc(a);a.backChannelRequest_=null;var d=2}else if(YDc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),dEc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(zDc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),fEc(a)):eEc(a);else{var e=b.getLastStatusCode(),f=b.getLastError();if(3==f||0==f&&0<e)a.channelDebug_.debug("Not retrying due to error type"),200<e&&(a.errorResponseStatusCode_=b.getLastStatusCode());else{a.channelDebug_.debug(function(){return"Maybe retrying, last error: "+FDc(f,a.errorResponseStatusCode_)});if(1==d&&rEc(a,b)||2==d&&aEc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&iEc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:F6(a,5);break;case 4:F6(a,10);break;case 3:F6(a,6);break;default:F6(a,2)}}},qEc=function(a,b){var c=a.baseRetryDelayMs_+Math.floor(Math.random()*a.retryDelaySeedMs_);a.isActive()||(a.channelDebug_.debug("Inactive channel"),c*=2);return c*b},F6=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=Eu(a.testNetworkCallback_,a);c||(c=new Wq("//www.google.com/images/cleardot.gif"),da.location&&"http"==da.location.protocol||OD(c,"https"),YD(c));
kEc(c.toString(),d)}else x6(2);a.onError_(b)};I6.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),x6(2)):(this.channelDebug_.info("Failed to ping google.com"),x6(1))};I6.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);pEc(this);oEc(this)};
var pEc=function(a){a.state_=0;a.nonAckedMapsAtChannelClose_=[];if(a.handler_){var b=a.forwardChannelRequestPool_.getPendingMessages();if(0!=b.length||0!=a.outgoingMaps_.length)a.channelDebug_.debug(function(){return"Number of undelivered maps, pending: "+b.length+", outgoing: "+a.outgoingMaps_.length}),Ra(a.nonAckedMapsAtChannelClose_,b),Ra(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,Pa(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
cEc=function(a,b,c){var d=ZD(c);""!=d.getDomain()?(b&&PD(d,b+"."+d.getDomain()),QD(d,d.port_)):(d=da.location,d=EPb(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&WD(d,b,c);WD(d,"VER",a.channelVersion_);J6(a,d);return d},KDc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("$e");b=c&&a.usesFetchStreams_&&!a.xmlHttpFactory_?new HC(new JD({streamBinaryChunks:!0})):new HC(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};I6.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var vEc=function(){};g=vEc.prototype;g.channelOpened=function(){};g.channelHandleArray=function(){};g.channelError=function(){};g.channelClosed=function(){};g.isActive=function(){return!0};g.badMapError=function(){};g.correctHostPrefix=function(a){return a};var wEc=function(){if(Iu&&!(10<=Number(Mu)))throw Error("af");};wEc.prototype.createWebChannel=function(a,b){return new K6(a,b)};
var K6=function(a,b){Qq.call(this);this.channel_=new I6(b);this.url_=a;this.messageUrlParams_=b&&b.messageUrlParams||null;a=b&&b.messageHeaders||null;b&&b.clientProtocolHeaderRequired&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.channel_.setExtraHeaders(a);a=b&&b.initMessageHeaders||null;b&&b.messageContentType&&(a?a["X-WebChannel-Content-Type"]=b.messageContentType:a={"X-WebChannel-Content-Type":b.messageContentType});b&&b.clientProfile&&(a?a["X-WebChannel-Client-Profile"]=
b.clientProfile:a={"X-WebChannel-Client-Profile":b.clientProfile});this.channel_.initHeaders_=a;(a=b&&b.httpHeadersOverwriteParam)&&!nm(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!nm(b)&&(this.channel_.httpSessionIdParam_=b,Yba(this.messageUrlParams_,b)&&ic(this.messageUrlParams_,b));this.channelHandler_=new L6(this)};Gu(K6,Qq);
K6.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};K6.prototype.close=function(){this.channel_.disconnect()};K6.prototype.send=function(a){var b=this.channel_;if("string"===typeof a){var c={};c.__data__=a;a=c}else this.sendRawJson_&&(c={},c.__data__=pNb(a),a=c);b.outgoingMaps_.push(new gEc(b.nextMapId_++,a));3==b.state_&&fEc(b)};
K6.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;K6.superClass_.disposeInternal.call(this)};var xEc=function(a){hDc.call(this);a.__headers__&&(this.headers=a.__headers__,this.statusCode=a.__status__,delete a.__headers__,delete a.__status__);var b=a.__sm__;if(b){a:{for(var c in b){a=c;break a}a=void 0}this.data=(this.metadataKey=a)?jc(b,this.metadataKey):b}else this.data=a};Gu(xEc,hDc);
var yEc=function(a){iDc.call(this);this.status=1;this.errorCode=a};Gu(yEc,iDc);var L6=function(a){this.channel_=a};Gu(L6,vEc);L6.prototype.channelOpened=function(){this.channel_.dispatchEvent("C")};L6.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new xEc(a))};L6.prototype.channelError=function(a){this.channel_.dispatchEvent(new yEc(a))};L6.prototype.channelClosed=function(){this.channel_.dispatchEvent("D")};var p6=function(a){this.channel_=a};p6.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};
p6.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};p6.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var zEc=function(){this.changeList=[]};zEc.prototype.add=function(a){this.changeList.push(a)};
var AEc=function(a,b){this.authMethod=b;this.jspbClient=new tDc(a)},BEc=function(a,b){var c,d,e,f,h;return Ze(function(l){if(1==l.nextAddress){c=new UCc;Ok(c,g6,1,b);var q=a.jspbClient,u=q.post;var x=a.authMethod;x={queryParams:x.getQueryParameters(),extraHeaders:x.getHeaders(),withCredentials:x.usesCredentialedRequests()};return af(l,u.call(q,"/punctual/v1/chooseServer",c,VCc,x),2)}d=l.yieldResult;e=Db(d,1);if(null==e)throw Error("bf");return l.return({gsessionid:e,affinitization:null!=(f=d.getAffinitizationOrUndefined())?
f:0,initialConnectionDelayMillis:null!=(h=Db(d,3))?h:0})})},CEc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},M6=function(a,b,c){this.defaultProject=a;this.channelDeps=c;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new T.Subject;this.streamNumber=0;this.rawStatus=new T.Subject;this.status=new T.BehaviorSubject(new FD);this.skipBackoff=new mDc;this.recentResyncs=
[];this.hasConnected=!1;this.rawStatus.pipe(Uga(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){Nt(e,500)})})).subscribe(this.status);this.delayGenerator=new Yib;this.reconnectHint=b?b.pipe(yf(function(){return T.NEVER}),Sga(T.NEVER)):T.NEVER;DEc(this)},EEc=function(a,b,c,d){b=b.then(function(e){switch(e.domainType()){case 2:case 0:var f=a.firstPartyUri;break;case 1:f=a.thirdPartyUri;break;default:f=new Wq}var h=f.clone().setPath("/punctual/multi-watch/channel"),l=new jDc(h.toString(),
e);return{serverChooser:new AEc(f,e),channelCreator:function(q,u,x){q=new o6(q,u,l,function(y,G){return(new wEc).createWebChannel(y,G)},x);q.open();return q}}});return new M6(d,c,b)};M6.prototype.handleClose=function(a,b){var c=this.causalStreams.get(a)||this.limboStreams.get(a)||this.nonCausalStreams.get(a);c&&(0===b.getCode_legacyNullable()?c.observer.complete():c.observer.error(b),this.causalStreams.delete(a),this.limboStreams.delete(a),this.nonCausalStreams.delete(a))};
var FEc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},GEc=function(a,b){return a.recentResyncs.find(function(c){var d;if(d=c.project===b.project)c=c.interestSet,d=b.interestSet,d=c instanceof Xt&&d instanceof Xt?c.equals(d):!1;return d})};M6.prototype.onOpen=function(){var a=new FD;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};M6.prototype.onClose=function(){this.channelState=void 0;DEc(this)};
M6.prototype.onError=function(a,b){a=new FD;a.setCode($ib(b));try{this.rawStatus.next(a)}catch(c){}a=m(this.causalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=m(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var JEc=function(a,b,c){if(a.channelState){var d=HEc(c.project,c.interestSet);c instanceof IEc&&(k(d,1,c.knowledgeTimestamp.toString()),k(d,8,c.knowledgeTimestampChosenByPunctual));k(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new h6;var e=c.addAndReturnRequests();e.setStreamId(b.toString());am(e,2,YCc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},HEc=function(a,b){var c=new g6;c=Ok(c,f6,4,kDc);if(b instanceof Xt){var d=new RCc;null!=a&&d.setProject(bjb(a));
d.setOwner(djb(b));d.setPath(fjb(b));am(c,2,TCc,d)}else d=new SCc,null!=a&&d.setProject(bjb(a)),d.setOwner(djb(b.root)),d.setPrefix(fjb(b.root)),c.setPrefix(d);return c},KEc=function(a,b){var c=new h6,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new WCc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},DEc=function(a){var b=OCc(a.delayGenerator);ajb(b).pipe(pha(a.reconnectHint.pipe(Hf(function(){var c=
a.skipBackoff;c.update();0<c.tokens?(c.tokens--,c=!0):c=!1;return c})))).subscribe(function(){a.channelDeps.then(function(c){LEc(a,c.serverChooser).then(function(d){Nt(function(){a.hasConnected=!0;MEc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){DEc(a)})},function(c){var d=new FD;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},LEc=function(a,b){var c,d,e,f,h,l;return Ze(function(q){if(1==q.nextAddress)return af(q,NEc(a),2);c=q.yieldResult;d=
m(c);e=d.next().value;f=d.next().value;h=e;l=f;return q.return(BEc(b,HEc(h,l)))})},NEc=function(a){var b,c,d,e,f,h,l;return Ze(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=m(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=m(e.values()),h=f.next();!h.done;)return l=h.value,q.return([l.project,l.interestSet]);return af(q,$Db(Vv(a.newStreamSubject).pipe(Hf())),1)})},MEc=function(a,b,c){a.channelState={channel:b(function(f){for(var h=m(fj(f,eDc,1)),l=h.next();!l.done;l=h.next()){var q=
l.value;if(l=q.getStreamId_legacyNullable())if(l=Number(l),q.hasClose()){a:{if(q=q.getClose())if(q=q.getStatus())break a;q=void 0}q&&a.handleClose(l,q)}else{var u=wl(q,j6,2,fDc);if(u)switch(pk(u,k6)){case 1:q=a;if(u=q.causalStreams.get(l)){try{u.observer.next(new MCc)}catch(V){}q.causalStreams.delete(l);q.limboStreams.set(l,u.start())}break;case 3:a:{if(q=wl(u,$Cc,3,k6))if(q=Db(q,1)){var x=new NCc(Yt(q));break a}x=void 0}if(x&&(q=a,u=l,l=x,(x=q.limboStreams.get(u))?(x=x.advance(l.timestampMicros),
q.limboStreams.delete(u),q.nonCausalStreams.set(u,x),q=x):q=q.nonCausalStreams.get(u),q)){u=q;x=l.timestampMicros;x>u.knowledgeTimestamp&&(u.knowledgeTimestamp=x,u.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(l)}catch(V){}}break;case 2:l=a.nonCausalStreams.get(l)||a.limboStreams.get(l);if(!l)break;q=l.interestSet;if(x=u.getChanges()){u=new zEc;x=m(fj(x,aDc,1));for(var y=x.next();!y.done;y=x.next()){var G=y.value,J=wk(G,Rt,6);y=G.getVersion_legacyNullable();if(J&&y){var M=void 0;G=null==
(M=G.getPayload())?void 0:hjb(M);M=null===G?void 0:G;(J=jjb(q,J))&&u.add(new LCc(J,Yt(y),M))}}q=u}else q=void 0;if(q)for(q=m(q.changeList),u=q.next();!u.done;u=q.next()){u=u.value;u=new LCc(u.objectId,u.version,u.payload);try{l.observer.next(u)}catch(V){}}break;case 5:if(q=a,l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof IEc&&(FEc(q),(u=GEc(q,l))?(u.hasRecurred=!0,u.knowledgeTimestamp=l.knowledgeTimestamp,u.resyncMillis=Date.now()):q.recentResyncs.push(new CEc(l.project,
l.interestSet,l.knowledgeTimestamp)));try{l.observer.complete()}catch(V){}}}}}if(f.hasStatus())switch(f.getStatus().getCode_legacyNullable()){case 1:h=m(a.causalStreams.values());for(f=h.next();!f.done;f=h.next())f.value.streamInitiationReason=3;h=m(a.nonCausalStreams.values());for(f=h.next();!f.done;f=h.next())f.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}},a,c.gsessionid),affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));
b.sort(function(f,h){return f[0]-h[0]});b=m(b);for(c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;JEc(a,c,d)}b=m(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=m(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;Nt(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
M6.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new T.Observable(function(d){var e=++c.streamNumber,f,h=null!=(f=b.projectOverride)?f:c.defaultProject;d=new OEc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});JEc(c,e,d);return function(){KEc(c,e)}})};
M6.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new T.Observable(function(e){var f=++d.streamNumber,h,l=null!=(h=c.projectOverride)?h:d.defaultProject,q=new IEc(e,l,a,b,!1);FEc(d);if((e=GEc(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var u=!0;Nt(function(){u&&q.observer.complete()},6E4);return function(){u=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});JEc(d,f,q);return function(){KEc(d,f)}})};
var OEc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};OEc.prototype.start=function(){return new PEc(this.observer,this.project,this.interestSet)};var PEc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};PEc.prototype.advance=function(a){return new IEc(this.observer,this.project,this.interestSet,a,!0)};
var IEc=function(a,b,c,d,e){this.observer=a;this.project=b;this.interestSet=c;this.knowledgeTimestamp=d;this.knowledgeTimestampChosenByPunctual=e;this.streamInitiationReason=1};var QEc={firstPartyUri:new Wq("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Wq("https://signaler-pa.googleapis.com")},REc={firstPartyUri:new Wq("https://punctual-dev.corp.google.com"),thirdPartyUri:new Wq("https://signaler-staging.sandbox.google.com")},SEc=new Map(Object.entries({prod:QEc,ytprod:{firstPartyUri:new Wq("https://signaler-pa.youtube.com"),thirdPartyUri:new Wq("https://signaler-pa.googleapis.com")},dev:REc}));var TEc=function(a){this.projectPath=a;this.authParams=new qDc};TEc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};TEc.prototype.setAuthUser=function(a){this.authParams.authUser=a;return this};
TEc.prototype.build=function(){var a=Zib(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("cf`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("df`"+b);b=m(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Wq(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=SEc.get(c);if(!d)throw Error("ef`"+c);c=d}return EEc(c,a,this.reconnectHint,b)};var UEc={watch:function(){return(0,T.of)()},watchWithStartTime:function(){return(0,T.of)()},status:(0,T.of)()},N6=function(a){this.activeSession=a;if(Qp(this.activeSession,"enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":a="AIzaSyDBL0cdQ7zgltPyAYPmzKE4X2t2_S_wW8w";var b="/punctual/prod/buganizer";break;case "QA":a="AIzaSyCpeBtg5BChNlEw-O4F0WpVJWgk_CFEY6I";b="/punctual/prod/buganizer-qa";break;default:a="ANVavNKXeiME5gTvC0_SzcTVHNYBMU50fWn-NpE",
b="/punctual/dev/buganizer-test"}this.punctualClient=(new TEc(b)).setApiKey(a).build()}else this.punctualClient=UEc},VEc=function(a,b){return a.punctualClient.watch(gjb("new-comment-issue",b)).pipe(sf(function(c){return c instanceof LCc}))};N6.\u0275fac=function(a){return new (a||N6)(n(tu))};N6.\u0275prov=Pc({token:N6,factory:N6.\u0275fac,providedIn:"root"});var O6=function(a){this.punctualService=a;this.stream=new T.Subject;this.isPaused=!1;this.closeStream$=new T.Subject};O6.prototype.resume=function(){this.isPaused=!1};var WEc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new T.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};O6.prototype.watch=function(a){var b=this;return VEc(this.punctualService,a).pipe(sf(function(){var c=!b.isPaused;b.resume();return c}),Af(1E3),Rf(this.closeStream$))};
O6.\u0275fac=function(a){return new (a||O6)(n(N6))};O6.\u0275prov=Pc({token:O6,factory:O6.\u0275fac,providedIn:"root"});var XEc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var P6=function(a){this.matDialog=a};P6.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(Q6,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{issueId:a,audience:b,id:null!=c.unlinkifiedComment?c.commentNumber:1,text:c.unlinkifiedComment||"",formattingMode:c.formattingMode||"PLAIN"}});return(0,T.firstValueFrom)(XA(this.dialog))};P6.\u0275fac=function(a){return new (a||P6)(n(bB))};P6.\u0275prov=Pc({token:P6,factory:P6.\u0275fac,providedIn:"root"});
var Q6=function(a,b,c,d,e){Z.call(this);var f=this;this.activeSession=a;this.origComment=b;this.dialogService=c;this.dialogRef=d;this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.enableRecaptcha=Qp(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);this.subscriptions.add(cO(e,
function(){return f.isModified()},!1))};X(Q6,Z);Q6.\u0275dir=Z.\u0275dir;g=Q6.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Rf(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Rf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};g.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};
g.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};g.isModified=function(){return!mj(this.newComment,this.origComment)};g.closeDialogForSave=function(){if(this.isModified()){this.enableRecaptcha&&(this.newComment.recaptchaToken=this.recaptchaResponse);var a;null==(a=this.dialogService.dialog)||a.close(this.newComment)}};Q6.\u0275fac=function(a){return new (a||Q6)(A(tu),A(aB),A(P6),A(ZA),A(bO))};
Q6.\u0275cmp=r({type:Q6,selectors:[["ng-component"]],features:[$f],decls:18,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","audience","contentChange","onSubmit"],[1,"inline-block",3,"initialValue","change"],[3,"comment","issueId","audience","formattingMode",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button",3,"disabled",
"click"],[3,"comment","issueId","audience","formattingMode"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1),E(),D(2,"section",1)(3,"p",2),P(4," Editing comments will not permanently remove old ones from database history. "),F(5,"br"),P(6," For deletion of PII or other sensitive content, please "),D(7,"a",3),P(8," file a support request."),E()(),D(9,"b-comment-draft",4),K("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()}),
E(),D(10,"b-markdown-toggle",5),K("change",function(c){return b.newComment.formattingMode=c}),E(),O(11,kjb,1,4,"b-live-preview",6),E(),O(12,ljb,3,0,"section",7),D(13,"footer",8)(14,"button",9),P(15," Cancel "),E(),D(16,"button",10),K("click",function(){return b.closeDialogForSave()}),P(17," Save "),E()());a&2&&(z(1),Cg("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),z(6),C("href",b.contentRemovalRequestLink,ue),z(2),C("content",b.newComment.text)("audience",b.origComment.audience),
z(1),pg("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),C("initialValue",b.origComment.formattingMode),z(1),C("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),z(1),C("ngIf",b.enableRecaptcha),z(2),C("mat-dialog-close",void 0),z(2),C("disabled",!b.isModified()||!b.isCaptchaValid()))},dependencies:[cB,dB,eB,fB,bx,NA,fM,IL,UX,XX],styles:[".recaptcha-container[_ngcontent-%COMP%]{float:right;padding-top:8px}\n/*# sourceMappingURL=edit_comment_dialog.css.map */"],
changeDetection:0});var R6=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa){this.editIssueService=a;this.butterBar=b;this.issuePermissionService=c;this.issueCommentService=d;this.editCommentDialogService=e;this.issueFridge=f;this.matDialogService=h;this.paths=l;this.analytics=q;this.domSafe=u;this.confirmationDialogService=x;this.issueComments=y;this.errorHandler=G;this.issueFetchResponseFridge=J;this.eventsForIssueFridge=M;this.componentFridge=V;this.commentFormatter=U;this.confirmNoAccessService=W;this.activeSession=
ba;this.appEvents=pa;this.issuePicker=na;this.eventsForIssueWatcher=xa;this.issueInteractionsTracking=Fa},hqb=function(a,b,c){var d,e,f,h;return Ze(function(l){if(1==l.nextAddress){d=a.editIssueService.savingState(b);if(d.get("commentEdit"))return l.return();a.butterBar.dismiss();f=null!=(e=a.issuePermissionService.audience())?e:"EXTERNAL_AUDIENCE";return af(l,a.editCommentDialogService.show(b,f,c),2)}h=l.yieldResult;if(null==h)return l.return();KCc(a.issueCommentService,{issueId:b,newCommentId:h.id,
newComment:h.text,newCommentFormattingMode:h.formattingMode,recaptchaToken:h.recaptchaToken});ef(l)})},ZEc=function(a,b,c){var d,e,f;return Ze(function(h){if(1==h.nextAddress)return c?af(h,YEc(a,b),2):h.return();if(3!=h.nextAddress)return d={title:"Choose target issue",defaultChoices:h.yieldResult,allowMultipleIds:!1,currentResourceId:Number(b),currentResourceType:"issue",edgeType:"copyComment"},af(h,a.issuePicker.open(d),3);e=h.yieldResult;if(null==(f=e)?0:f.length){var l=e[0],q=a.paths.editIssue(l.resourceId,
{template_issue:b,template_comment:c,do_attribution:!0});Lp(a.analytics,Mp.EDIT_ISSUE,"copyComment",l.relations.join(",")||"NONE");a.domSafe.openInNewTab(q)}ef(h)})},YEc=function(a,b){function c(W){return y.get(W)}var d,e,f,h,l,q,u,x,y,G,J,M,V,U;return Ze(function(W){if(1==W.nextAddress)return af(W,(0,T.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=W.nextAddress){d=W.yieldResult;if(!d)return W.return([]);f=null!=(e=d.snapshot[0].duplicateIssueId)?e:[];l=null!=(h=d.snapshot[0].blockingIssueId)?
h:[];u=null!=(q=d.snapshot[0].blockedByIssueId)?q:[];return af(W,(0,T.firstValueFrom)(a.issueFridge.watchSet(cn([].concat(p(f),p(l),p(u))))),3)}x=W.yieldResult;y=new Map(x.map(function(ba){return[ba.issueId,ba]}));G=u.map(c).filter(Vj).map(mjb("BLOCKED_BY"));J=l.map(c).filter(Vj).map(mjb("BLOCKING"));M=f.map(c).filter(Vj).map(mjb("DUPLICATE"));V=[].concat(p(G),p(J),p(M));U=njb(V);return W.return(U)})},aFc=function(a,b,c){var d;return Ze(function(e){return 1==e.nextAddress?c?af(e,zZb(a.confirmationDialogService,
{title:"Restore comment # "+c+"?",content:xp("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?af(e,$Ec(a,b,c),0):e.return()})},$Ec=function(a,b,c){var d,e;return Ze(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();nG(a.butterBar,"Restoring comment...",0);$e(f,2,3);iK(d,"commentUndelete");return af(f,a.issueComments.undelete(b,c),5);case 5:nG(a.butterBar,"Comment restored successfully.");case 3:bf(f);
jK(d,"commentUndelete");VH(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);cf(f,0);break;case 2:e=df(f),nG(a.butterBar,"Comment restoration failed."),sG(a.errorHandler,e),f.jumpTo(3)}})},dFc=function(a,b,c,d){var e,f,h,l;return Ze(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():af(q,bFc(a,b),2)}return 3!=q.nextAddress?(f=q.yieldResult,a.butterBar.dismiss(),af(q,(0,T.firstValueFrom)(XA(a.matDialogService.open(O3,
{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:f}}))),3)):(h=q.yieldResult)?af(q,cFc(a,b,c,h.value,null!=(l=d)?l:""),0):q.jumpTo(0)})},cFc=function(a,b,c,d,e){var f,h;return Ze(function(l){switch(l.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return l.return();$e(l,2,3);nG(a.butterBar,"Deleting comment...",0);iK(f,"commentDelete");return af(l,a.issueComments.delete(b,c,d,e),5);case 5:nG(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),
a.eventsForIssueFridge.poke(b);case 3:bf(l);jK(f,"commentDelete");VH(a.issueFetchResponseFridge,b);cf(l,0);break;case 2:h=df(l),nG(a.butterBar,"Comment deletion failed."),sG(a.errorHandler,h),l.jumpTo(3)}})},bFc=function(a,b){var c,d,e,f,h,l,q,u;return Ze(function(x){switch(x.nextAddress){case 1:return af(x,(0,T.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=x.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){f=void 0;x.jumpTo(3);break}return af(x,
(0,T.firstValueFrom)(a.componentFridge.watch(e)),4);case 4:f=x.yieldResult;case 3:return h=f,l=new XEc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new XEc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason="available on Public components"),u=new XEc("Personally Identifiable Information","PII"),x.return([u,q,l])}})},eFc=function(a,b,c){var d,e;return Ze(function(f){if(1==
f.nextAddress)return d=a.issuePermissionService.isCurrentUser(Kj(c.userPerformingActionUser)),Lp(a.analytics,Mp.RESTRICTED_CONTENT,"updateContentJudgement","comment"),af(f,a.showContentJudgementDialog({severity:hk(ik(c.commentContentVerdict)),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||d}),2);if(e=f.yieldResult)c.commentContentVerdict={piiVerdict:{severity:gk(e.contentJudgement.getSeverity())}},VH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),
SH(a.issueFridge,[b],{markRead:!0});ef(f)})};R6.prototype.showContentJudgementDialog=function(a){return(0,T.firstValueFrom)(XA(this.matDialogService.open(x4,{panelClass:"no-jitter",width:"500px",data:a})))};
var fFc=function(a,b,c){var d;return Ze(function(e){if(1==e.nextAddress)return af(e,(0,T.firstValueFrom)(XA(a.matDialogService.open(B4,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(1===d)})},gFc=function(a,b,c,d){var e;Ze(function(f){if(1==f.nextAddress){if(null==d)return f.return();Lp(a.analytics,Mp.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return af(f,a.showContentJudgementDialog({severity:hk(ik(d.contentVerdict)),resourcePath:"issues/"+b+
"/attachments/"+d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=f.yieldResult)d.contentVerdict={piiVerdict:{severity:gk(e.contentJudgement.getSeverity())}},VH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),SH(a.issueFridge,[b],{markRead:!0});ef(f)})};
R6.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,l,q,u;Ze(function(x){if(1==x.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return x.return();e=T;f=e.firstValueFrom;h=c.matDialogService;l=h.open;q=N3;return af(x,bFc(c,a),3)}return 2!=x.nextAddress?af(x,f.call(e,XA(l.call(h,q,{width:"560px",data:{deletionReasons:x.yieldResult,attachmentId:b.attachmentId}}))),2):(u=x.yieldResult)?af(x,O_b(c.editIssueService,a,b,u.value),0):x.jumpTo(0)})};
var hFc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,f,h,l;return Ze(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.showImplicitAccessIndicator())return q.return(!0);$e(q,2);return af(q,(0,T.firstValueFrom)(t1b(a.commentFormatter,{comment:e.value,issueId:c,audience:null!=(f=a.issuePermissionService.audience())?f:"EXTERNAL_AUDIENCE",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"})),4)}if(2!=q.nextAddress)return h=
q.yieldResult,q.return(GJ(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=df(q);sG(a.errorHandler,l);return q.return(!1)})},iFc=function(a,b){b=void 0===b?"comment":b;var c,d;return Ze(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||$Rb(a.activeSession))return e.return(!0);switch(b){case "comment":d=xp("Commenting on this bug report means your email address will be shared with the team that works on this product.");
break;case "reaction":d=xp("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:Qi(b)}return e.return(zZb(a.confirmationDialogService,{title:"",content:d}))})};
R6.prototype.submitCommentBox=function(a,b){var c=this,d,e,f,h,l,q;return Ze(function(u){if(1==u.nextAddress){d=c.editIssueService.issueCommentDraft(a).comment();e=c.editIssueService.savingState(a);f=c.editIssueService.editableIssue(a);if(!c.issuePermissionService.hasAclToComment()||!i_b(d)||e.get("comment"))return u.return();iK(e,"comment");h=function(){jK(e,"comment")};return af(u,hFc(c,{issueId:a,componentId:String(f.componentId),comment:d}),2)}if(3!=u.nextAddress)return l=u.yieldResult,l?af(u,
iFc(c),3):(h(),u.return());q=u.yieldResult;if(!q)return h(),u.return();Lp(c.analytics,Mp.EDIT_ISSUE,"addComment","MARKDOWN"===d.formattingMode?"markdown":"non markdown");RJ(c.issueInteractionsTracking,a);c.eventsForIssueWatcher.isPaused=!0;return u.return(c.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(a,b).finally(function(){h();c.appEvents.commentSubmitted.next(a);c.appEvents.scrollToCommentBox.next()}))})};
R6.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,l;return Ze(function(q){if(1==q.nextAddress)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=null!=(f=null==(e=d)?void 0:e.getSeverity())?f:1,af(q,b.showContentJudgementDialog({severity:h,contentJudgement:d,hasAclToCreate:!0}),2);(l=q.yieldResult)&&c.userDefinedJudgementForNewContent$.next(l.contentJudgement);ef(q)})};
R6.prototype.updateCommentReaction=function(a){var b=this,c;return Ze(function(d){return 1==d.nextAddress?a.hasReacted?af(d,iFc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};R6.\u0275fac=function(a){return new (a||R6)(n(lK),n(mG),n(TJ),n(e6),n(P6),n(QH),n(bB),n(cH),n(LH),n(JI),n(jJ),n(pI),n(qG),n(TH),n(JF),n(OF),n(HL),n(FJ),n(tu),n(uG),n(ON),n(O6),n(QJ))};R6.\u0275prov=Pc({token:R6,factory:R6.\u0275fac,providedIn:"root"});var S6=function(a,b,c){this.editIssueService=a;this.issuePicker=b;this.analytics=c},jFc=function(a,b){var c,d,e,f,h,l,q;return Ze(function(u){if(1==u.nextAddress)return b=String(b),c=a.editIssueService.editableIssue(b),d=c.status,c.setStatus("DUPLICATE"),e={title:"Mark issue as duplicate of:",currentResourceId:Number(b),currentResourceType:"issue",componentId:c.componentId,allowMultipleIds:!1,edgeType:"canonical"},f=(new Date).getTime(),af(u,a.issuePicker.open(e),2);h=u.yieldResult;if(null==(l=h)||
!l.length)return c.status=d,u.return();q=(new Date).getTime()-f;Lp(a.analytics,Mp.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);Lp(a.analytics,Mp.EDIT_ISSUE,"setCanonicalIssue");return u.return(G_b(a.editIssueService,b,String(h.map(function(x){return x.resourceId})[0])))})};S6.\u0275fac=function(a){return new (a||S6)(n(lK),n(ON),n(LH))};S6.\u0275prov=Pc({token:S6,factory:S6.\u0275fac,providedIn:"root"});var T6=function(a,b){var c=this;this.componentFridge=a;this.issueEditComponentService=b;this.componentId$=new T.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new T.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(Qf(function(d){return c.componentFridge.watch(d).pipe(Pf(void 0))}));this.isArchived$=this.component$.pipe(B(function(d){return null==d?void 0:d.archived}));this.componentPath$=(0,T.combineLatest)([this.componentId$,this.component$,this.compactMode$]).pipe(B(function(d){var e=
m(d);d=e.next().value;var f=e.next().value;e=e.next().value;if(null==f)return Kq({componentPathId:[Number(d)]});d=Kq(f.componentPathInfo);if(e){f=[];e=0;for(var h=d.length-1;0<=h;h--){var l=d[h],q=h===d.length-1?48:32;if(e>=q)break;var u=String(l.name),x=void 0;if(e+[].concat(p(u)).length>q){var y=q-e;q="";u=void 0===u?"":u;y=void 0===y?48:y;q=void 0===q?"...":q;x=[].concat(p(u));x.length<=y||(u=y-[].concat(p(q)).length,u=x.slice(-u).join(""),null!=String.prototype.trimStart&&(u=u.trimStart()),u=
q+u);x=!0}e+=[].concat(p(u)).length;f.unshift(Object.assign({},l,{name:u,isTruncated:x}));if(x)break}d.length>f.length&&(f[0].isSpliced=!0);d=f}return d}));this.isEmpty$=this.component$.pipe(B(function(d){return!d}));this.isThinkingAndEmpty$=(0,T.combineLatest)([this.componentFridge.thinking$,this.isEmpty$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return d&&e}));this.isReady$=this.isThinkingAndEmpty$.pipe(B(function(d){return!d}))};T6.prototype.ngOnInit=function(){};
Ei.Object.defineProperties(T6.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.componentId$.next(a)}},compactMode:{configurable:!0,enumerable:!0,set:function(a){this.compactMode$.next(a)}}});T6.\u0275fac=function(a){return new (a||T6)(A(OF),A(d6))};
T6.\u0275cmp=r({type:T6,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",compactMode:"compactMode"},decls:3,vars:2,consts:[[3,"isReady",4,"ngIf","ngIfElse"],["componentPicker",""],[3,"isReady"],[1,"b-chip","squared","s"],["svgIcon","folder","title","Component folder path",1,"icon-xs"],["class","component-path",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","class","edit-btn","aria-label","Change Component","matTooltip",
"Change Component",3,"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small pop-out-btn","aria-label","View Component","matTooltip","View Component","target","_blank",3,"routerLinkObj",4,"ngIf"],[1,"component-path"],[4,"ngFor","ngForOf"],["href","javascript:void(0);","title","Show all Components","class","subtle-link",3,"click",4,"ngIf"],["class","subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted",4,"ngIf","ngIfElse"],["viewOnlyComponent",""],["card",""],[4,"onedevHovercardLazyBody"],
["href","javascript:void(0);","title","Show all Components",1,"subtle-link",3,"click"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"view-only-component"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["mat-icon-button","","aria-label","View Component","matTooltip","View Component","target","_blank",1,"gmat-button","small",
"pop-out-btn",3,"routerLinkObj"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponent","isRequired","shouldFocus","selectedComponentChange","dropdownClosed"]],template:function(a,b){a&1&&(O(0,Ajb,10,11,"b-async-data-placeholder",0),O(1,Cjb,2,5,"ng-template",null,1,$g));if(a&2){var c=N(2);C("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[lO,ax,bx,NA,OA,OB,VW,XI,YI,bJ,ZI,qD,g5,GN,hx],styles:["[_nghost-%COMP%]     b-async-data-placeholder{display:inline-block;height:22px}a[_ngcontent-%COMP%], .view-only-component[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%], .edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{vertical-align:middle}mat-icon[_ngcontent-%COMP%]:first-of-type{margin-right:3px}.b-chip[_ngcontent-%COMP%]{margin-right:0}.edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{height:22px;width:22px;line-height:22px;margin-right:-4px;margin-left:4px;border-radius:4px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}.edit-btn[_ngcontent-%COMP%]:hover, .pop-out-btn[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.edit-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-top:-3px}.issue-editor-false   [_nghost-%COMP%]     .edit-btn{display:none}"],
changeDetection:0});var U6=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new T.ReplaySubject(1);this.issue$=this.issueId$.pipe(Qf(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(B(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(B(function(d){return null==d?void 0:d.length}),Pf(0));this.label$=this.count$.pipe(B(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=yO};U6.prototype.onClick=function(){L7b(this.hotlistPicker,this.issue$)};Ei.Object.defineProperties(U6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});U6.\u0275fac=function(a){return new (a||U6)(A(QH),A(xH),A(cR))};
U6.\u0275cmp=r({type:U6,selectors:[["hotlist-picker-btn"]],inputs:{issueId:"issueId"},decls:4,vars:7,consts:[["mat-stroked-button","",1,"gmat-button","small",3,"hotkey","disabled","onHotkey","click"]],template:function(a,b){a&1&&(D(0,"button",0),K("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),R(1,"async"),P(2),R(3,"async"),E());a&2&&(C("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",S(1,3,b.isDisabled$)),z(2),Q(" ",S(3,5,b.label$),"\n"))},dependencies:[xO,NA,
hx],encapsulation:2});var V6=function(){this.availablePanels=new Set;this.supportMultiplePanelTypes=!0;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new vw;this.PANEL_OPTIONS=kFc};V6.\u0275fac=function(a){return new (a||V6)};
V6.\u0275cmp=r({type:V6,selectors:[["b-insights-graph-menu"]],inputs:{availablePanels:"availablePanels",supportMultiplePanelTypes:"supportMultiplePanelTypes",iconOnly:"iconOnly",buttonClassname:"buttonClassname"},outputs:{openSidebar:"openSidebar"},decls:18,vars:7,consts:[["mat-button","",1,"main-button","gmat-button","square-right",3,"ngClass","disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),
"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" "),[4,"ngIf"],["mat-button","","class","menu-button gmat-button square-left","aria-label","Open insights types menu",3,"icon-only-mode","ngClass","disabled","matMenuTriggerFor",4,"ngIf"],["xPosition","before"],["panelsMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-button","","aria-label","Open insights types menu",1,"menu-button",
"gmat-button","square-left",3,"ngClass","disabled","matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-xs"],["mat-menu-item","",3,"disabled","click"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){b.openSidebar.emit({panel:void 0})}),yd(),D(1,"svg",1)(2,"g",2),F(3,"path",3)(4,"path",4)(5,"path",5)(6,"circle",6)(7,"circle",7)(8,"circle",8)(9,"circle",9)(10,"circle",10)(11,"circle",11)(12,"circle",12),E()(),O(13,Djb,2,1,"ng-container",13),E(),O(14,Ejb,2,5,"button",14),zd(),
D(15,"mat-menu",15,16),O(17,Fjb,2,2,"button",17),E());a&2&&(pg("icon-only-mode",b.iconOnly),C("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),z(13),C("ngIf",!b.iconOnly),z(1),C("ngIf",b.supportMultiplePanelTypes),z(3),C("ngForOf",b.PANEL_OPTIONS))},dependencies:[$w,ax,bx,NA,iD,gD,hD,OB],styles:["[_nghost-%COMP%]{white-space:nowrap}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:middle;margin-right:3px}.gmat-button[_ngcontent-%COMP%]{min-width:unset;height:32px;line-height:32px}.main-button[_ngcontent-%COMP%]{padding-right:4px}.menu-button[_ngcontent-%COMP%]{padding-left:4px}.main-button[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}mat-icon[_ngcontent-%COMP%]{line-height:0}.gmat-button.icon-only-mode[_ngcontent-%COMP%]{padding:0 2px}.gmat-button.icon-only-mode.main-button[_ngcontent-%COMP%]{padding:0 4px}.gmat-button.icon-only-mode[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:0;height:16px;width:16px}.gmat-button.icon-only-mode.mat-button[_ngcontent-%COMP%]:not([disabled]){color:#5f6368;color:var(--icon)}.gmat-button.icon-only-mode[_ngcontent-%COMP%]:not(.mat-icon-button).small{padding:0 2px}.gmat-button.icon-only-mode[_ngcontent-%COMP%]:not(.mat-icon-button).small.main-button{padding:0 4px}"],
changeDetection:0});var kFc=[{panel:"deployments",label:"Deployment Status"},{panel:"incidents",label:"Incident Context"}];var lFc=new Ud("DevopsGraphLogger",{providedIn:"root",factory:function(){return $i}}),mFc=new Ud("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return Ze(function(b){switch(b.nextAddress){case 1:return $e(b,2),af(b,Hjb(),4);case 4:a=b.yieldResult;Au(b,3);break;case 2:return df(b),b.return();case 3:return $e(b,5),af(b,a.loadGraph(),7);case 7:Au(b,6);break;case 5:return df(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var W6=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new T.Subject;this.close$=new T.Subject;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var f=e.getContainer();null!=f&&(f.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var f=e.getContainer();null!=f&&(f.classList.add("open"),e.open$.next())};this.init()};
W6.prototype.init=function(){var a=this,b,c,d,e,f;return Ze(function(h){if(1==h.nextAddress)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():af(h,a.graphBuilder,2);c=h.yieldResult;d=Ijb(a.session.getEnvironmentType());if(e=c.createService({environment:d}))f=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:f?"dark":void 0}),a.theme.clientDarkmode$.subscribe(function(l){var q;
null==(q=a.graphController)||q.setTheme(l?"dark":"light")});ef(h)})};var nFc=function(a,b){var c;return Ze(function(d){switch(d.nextAddress){case 1:return $e(d,2),af(d,a.init(),4);case 4:return null==a.graphService?d.return(new Set):af(d,a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:Au(d,0);break;case 2:return c=df(d),a.logger(c),d.return(new Set)}})};
W6.prototype.openSidebar=function(a,b){var c=this,d;return Ze(function(e){switch(e.nextAddress){case 1:return af(e,c.init(),2);case 2:if(!c.graphController)return e.return();$e(e,3);return af(e,c.graphController.openIssueContext(Number(a),b),5);case 5:Au(e,0);break;case 3:d=df(e),c.logger(d),ef(e)}})};
W6.prototype.close=function(){var a=this,b;return Ze(function(c){switch(c.nextAddress){case 1:return af(c,a.init(),2);case 2:if(!a.graphController)return c.return();$e(c,3);return af(c,a.graphController.close(),5);case 5:Au(c,0);break;case 3:b=df(c),a.logger(b),ef(c)}})};W6.\u0275fac=function(a){return new (a||W6)(n(tu),n(uR),n(lFc),n(mFc))};W6.\u0275prov=Pc({token:W6,factory:W6.\u0275fac,providedIn:"root"});var X6=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=f;this.activeSession=h;this.id$=xI(this.paramsService,"issueId").pipe(Df());this.contexts$=this.id$.pipe(Qf(function(q){return Ze(function(u){return null!=l.devopsGraph.getContainer()&&q?u.return(nFc(l.devopsGraph,q).then(function(x){Qp(l.activeSession,"enableDevGraphIncident")||x.delete("incidents");return{issueId:q,availablePanels:x}})):u.return(void 0)})}),
Nf({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(B(function(q){return q?q.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(B(function(q){return!!q&&0<q.availablePanels.size&&l.activeSession.isInternalSession()&&null!=l.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(B(function(q){return!!q&&0<q.availablePanels.size&&l.activeSession.isInternalSession()&&null!=l.devopsGraph.getContainer()&&q.availablePanels.has("deployments")}));
this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(q){if(q){q=q.availablePanels;l.track("ingress-view-"+(0<q.size?"enabled":"disabled"));q.has("deployments")&&l.track("ingress-view-deployments-enabled");q.has("incidents")&&l.track("ingress-view-incidents-enabled");var u=l.paramsService.params.showInsights;u&&("default"===u?0<q.size?l.openSidebar():oG(l.butterBar,"Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):q.has(u)?l.openSidebar(u):
oG(l.butterBar,"Could not open "+u+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else l.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){oFc(l,null)}))};X(X6,Z);X6.\u0275dir=Z.\u0275dir;
X6.prototype.openSidebar=function(a){var b=this,c,d,e,f,h;return Ze(function(l){c=ep(b.contexts$);if(!c)return l.return();d=c;e=d.issueId;f=d.availablePanels;oFc(b,null!=(h=a)?h:"default");("incidents"===a||!a&&1===f.size&&f.has("incidents"))&&To("g3g.incidentSidebarOpened")(!0);return l.return(b.devopsGraph.openSidebar(e,{panel:a}))})};X6.prototype.track=function(a){Lp(this.analytics,"sidebar",a)};
var oFc=function(a,b){a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};X6.\u0275fac=function(a){return new (a||X6)(n(W6),n(wI),n(LH),n(mG),n(WG),n(ko),n(tu))};X6.\u0275prov=Pc({token:X6,factory:X6.\u0275fac,providedIn:"root"});var Y6=function(a,b){this.issueInsightsSidebarService=a;this.activeSession=b;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$;this.supportMultiplePanelTypes=Qp(this.activeSession,"enableDevGraphIncident")};Y6.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};
Y6.\u0275fac=function(a){return new (a||Y6)(A(X6),A(tu))};
Y6.\u0275cmp=r({type:Y6,selectors:[["insights-graph-menu-smart"]],inputs:{iconOnly:"iconOnly",buttonClassname:"buttonClassname"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"supportMultiplePanelTypes","availablePanels","iconOnly","buttonClassname","openSidebar",4,"ngIf"],[3,"supportMultiplePanelTypes","availablePanels","iconOnly","buttonClassname","openSidebar"]],template:function(a,b){a&1&&(O(0,Kjb,3,3,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.availablePanels$))},dependencies:[bx,V6,hx],encapsulation:2,
changeDetection:0});var pFc=function(a,b){var c=b.permissions,d=b.retentionState,e=b.isComponentAdmin;if(b.isInternal){if("INDEFINITE"===b.retentionOverride)return{type:"action",label:"Revert to component retention...",title:e?"Revert to component retention...":"You must be a component administrator to perform this action.",disabled:!c.admin,action:function(){a.showComponentRetentionDialog()}};if(!d||d.scheduledDeletionTime)return{type:"action",label:"Retain issue indefinitely...",title:e?"Retain issue indefinitely...":
"You must be a component administrator to perform this action.",disabled:!c.admin,action:function(){a.showIndefiniteRetentionDialog()}}}},qFc=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},rFc=function(a,b){var c=!b.isArchived,d=c?"Archive issue":"Unarchive issue";return{type:"action",label:d,title:d+' (requires "issue writer" access)',icon:"archive_24px",disabled:!b.permissions.writer,
action:function(){a.submitArchivalState(c)}}},sFc=function(a,b){if(b.isInternal&&!b.isDeleted&&"EXTERNAL_PUBLIC"===b.accessLevel)return{type:"action",label:"Mark as spam...",title:'Mark as spam... (requires "issue admin" access)',icon:"flag",disabled:!b.permissions.admin,action:function(){a.showFlagAsSpamDialog()}}};var tFc=function(a){return{isDupe:a}},Z6=function(a,b,c,d,e){Z.call(this);var f=this;this.fridge=a;this.permissionsFridge=b;this.issuePicker=c;this.snackBar=d;this.eventsForIssueFridge=e;this.TOOLTIP_MARK_DUPE="Mark this issue as a duplicate";this.TOOLTIP_UNMARK_DUPE="Mark this issue as not being a duplicate";this.disabled=!1;this.issueId$=new T.ReplaySubject(1);this.issue$=this.issueId$.pipe(Qf(function(h){return f.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(B(function(h){var l;return!!(null==
h?0:null==(l=h.snapshot[0])?0:l.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(Qf(function(h){return f.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(B(function(h){return!(null==h||!h.writer)}),Pf(!0));this.didChooseCanonical=function(h){return function(l){(l=l[0])&&iXb(f.fridge,l,h).then(function(){f.eventsForIssueFridge.poke(h)}).catch(f.gotErr)}};this.gotErr=function(h){f.snackBar.open(Dn(h)||"Error with network request","close",{panelClass:"error"})}};
X(Z6,Z);Z6.\u0275dir=Z.\u0275dir;
var Ljb=function(a){var b,c;return Ze(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!ep(a.canEdit$)?d.return():af(d,(0,T.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,af(d,(0,T.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?uFc(a,c):a.issuePicker.open({title:"Mark issue as duplicate of:",allowMultipleIds:!1,componentId:c.snapshot[0].componentId,edgeType:"canonical"},a.didChooseCanonical(c.issueId));
ef(d)})},uFc=function(a,b){var c=b.snapshot[0].duplicateOfIssueId;null!=c&&a.fridge.removeDuplicate(c,b.issueId).then(function(){a.eventsForIssueFridge.poke(b.issueId)}).catch(a.gotErr)};Ei.Object.defineProperties(Z6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});Z6.\u0275fac=function(a){return new (a||Z6)(A(QH),A(ZH),A(ON),A(jG),A(JF))};
Z6.\u0275cmp=r({type:Z6,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[$f],decls:2,vars:5,consts:[["mat-stroked-button","","class","gmat-button small",3,"disabled","title","click",4,"ngIf"],["mat-stroked-button","",1,"gmat-button","small",3,"disabled","title","click"]],template:function(a,b){a&1&&(O(0,Mjb,3,5,"button",0),R(1,"async"));a&2&&C("ngIf",Gg(3,tFc,S(1,1,b.isDupe$)))},dependencies:[bx,NA,hx]});var $6=function(){this.label=""};$6.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};$6.\u0275fac=function(a){return new (a||$6)};
$6.\u0275cmp=r({type:$6,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&Sg(bJ,5);if(a&2){var c;Rg(c=Ug())&&(b.hovercardTrigger=c.first)}},inputs:{label:"label",content:"content"},decls:6,vars:3,consts:[["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],["svgIcon","help-outline",1,"icon-s",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(D(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",2),
O(4,Ojb,2,1,"ng-container",3),E()()(),F(5,"mat-icon",4));if(a&2){var c=N(1);z(2);dg("aria-label",b.label);z(2);C("ngIf",b.content);z(1);C("onedevHovercardTrigger",c)}},dependencies:[bx,gx,OB,XI,bJ],encapsulation:2});var a7=function(){};a7.\u0275fac=function(a){return new (a||a7)};a7.\u0275mod=fd({type:a7});a7.\u0275inj=Qc({imports:[px,rD,gM]});var b7=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=f;this.editIssueService=h;this.matDialogService=l;this.analytics=q;this.issueId$=new T.ReplaySubject(1);this.HOTKEYS=yO;this.issue$=this.issueId$.pipe(Qf(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(B(function(u){var x,y,G,J,M,V,U;return{modifiedTimeMilliseconds:null!=(null==u?void 0:null==(x=u.aggregatedData)?
void 0:x.modifiedTimeMicros)?u.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(V=null==u?void 0:null==(y=u.userData)?void 0:y.voted)?V:!1,voteCount:null!=(U=null==u?void 0:null==(G=u.aggregatedData)?void 0:G.voteCount)?U:0,notificationSubscription:Sj(null==u?void 0:null==(J=u.userData)?void 0:J.notificationSubscription),retentionState:null==u?void 0:null==(M=u.aggregatedData)?void 0:M.retentionState}}));this.menuItems$=vFc(this);this.state$=(0,T.combineLatest)([this.issueId$,this.issueDerivedProperties$,
this.menuItems$]).pipe(B(function(u){var x=m(u);u=x.next().value;var y=x.next().value;x=x.next().value;return Object.assign({},{issueId:u},y,{menuItems:x})}))};X(b7,Z);b7.\u0275dir=Z.\u0275dir;g=b7.prototype;g.updateSubscription=function(a){var b=this,c;return Ze(function(d){if(1==d.nextAddress)return(c=ep(b.issueId$))?af(d,b.editIssueService.updateSubscription(c,a),2):d.return();Lp(b.analytics,Mp.EDIT_ISSUE,"updateSubscription",a);ef(d)})};
g.showNotificationSettings=function(a){this.appEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey,settingsTabName:"notifications"})};g.showIndefiniteRetentionDialog=function(a){var b=this,c;return Ze(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():af(d,(0,T.firstValueFrom)(XA(b.matDialogService.open(Q3,{maxWidth:560}))),2):(c=d.yieldResult)?af(d,b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return Ze(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():af(d,(0,T.firstValueFrom)(XA(b.matDialogService.open(M3,{maxWidth:560}))),2):(c=d.yieldResult)?af(d,b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return Ze(function(d){return 1==d.nextAddress?af(d,(0,T.firstValueFrom)(XA(b.matDialogService.open(P3,{maxWidth:560}))),2):(c=d.yieldResult)?af(d,M_b(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var vFc=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(Hbb(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=ep(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=ep(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=ep(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=ep(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,T.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(B(function(c){var d=m(c);c=d.next().value;var e=d.next().value,f;d={permissions:d.next().value,accessLevel:uwa(c),isArchived:null!=(f=null==c?void 0:c.isArchived)?f:!1,isDeleted:swa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:xwa(c),retentionState:Awa(c)};return[rFc(b,d),sFc(b,d),qFc(b,d),pFc(b,d)].filter(Vj)}))};
Ei.Object.defineProperties(b7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});b7.\u0275fac=function(a){return new (a||b7)(A(QH),A(TJ),A(tu),A(uG),A(aO),A(JI),A(lK),A(bB),A(LH))};
b7.\u0275cmp=r({type:b7,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&Sg($6,5);if(a&2){var c;Rg(c=Ug())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[$f],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"issueId","hotkey","onHotkey"],["smartDupeBtn",""],["matTooltip","Notification menu","aria-label","Notification menu",3,"subscription","issueId","iconOnly","subscriptionChange","showNotificationSettings"],["buttonClassname","small",
3,"iconOnly"],["mat-icon-button","","aria-label","More actions",1,"medium",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],[1,"issue-actions-menu"],["menu","matMenu"],["mat-menu-item","",3,"disabled","title","click",4,"ngFor","ngForOf"],["retentionHelpContent",""],["mat-menu-item","",3,"disabled","title","click"],[1,"icon-s",3,"svgIcon"],["mat-menu-item","",1,"informational-only","border-top","flush-bottom",3,"click"],["svgIcon","",1,"icon-s"],[3,"retentionState"],["label","Learn more about retention",
3,"content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&(O(0,Tjb,15,13,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.state$))},dependencies:[dM,ax,bx,$6,xO,Y6,NA,OB,iD,gD,hD,qD,h_,ZY,YY,Z6,U6,hx],styles:["[_nghost-%COMP%]{display:flex;gap:4px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:empty{margin-left:-4px}[mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}[_nghost-%COMP%]     .gmat-button.small{font-size:.8125rem}.bv2-material   [_nghost-%COMP%]     button.mat-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}  .issue-actions-menu .mat-menu-content button.mat-menu-item mat-icon.mat-icon{vertical-align:text-bottom}"]});var wFc=["issueTitleEl"],xFc=["issueTitleInputEl"],Wjb=function(a){return{"width.px":a}},c7=function(){this.disabled=!1;this.updateTitle=new vw;this.isEditMode=!1;this.editModeWidth=0};c7.prototype.ngDoCheck=function(){yFc(this)};
var Yjb=function(a){a.isEditMode=!a.isEditMode;a.isEditMode&&setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0)},zFc=function(a,b){a.isEditMode=!1;yFc(a);if(b)a.updateTitle.emit(b.trim());else{var c;b=null==(c=a.issueTitleEl)?void 0:c.nativeElement.textContent;a.updateTitle.emit(b.trim())}},Vjb=function(a,b){if(b)"Enter"===b.key?zFc(a,b.target.value):("Escape"===b.key||"Esc"===b.key)&&Yjb(a);else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;zFc(a,b)}},
yFc=function(a){var b=a.editModeWidth,c,d;a.editModeWidth=null!=(d=Number(null==(c=a.issueTitleEl)?void 0:c.nativeElement.offsetWidth)+50)?d:b};Ei.Object.defineProperties(c7.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=Ywa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});c7.\u0275fac=function(a){return new (a||c7)};
c7.\u0275cmp=r({type:c7,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(Sg(wFc,5),Sg(xFc,5));if(a&2){var c;Rg(c=Ug())&&(b.issueTitleEl=c.first);Rg(c=Ug())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},decls:3,vars:3,consts:[["class","heading-m",4,"ngIf"],[3,"ngStyle",4,"ngIf"],["mat-icon-button","","class","small","matTooltip","Edit issue title","aria-label","Edit issue title",3,"disabled","click",
4,"ngIf"],[1,"heading-m"],["issueTitleEl",""],[3,"ngStyle"],["matInput","","aria-label","Enter a new title",1,"heading-m",3,"value","keyup","blur"],["issueTitleInputEl",""],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small",3,"disabled","click"],["svgIcon","edit-outline",1,"icon-xxs"]],template:function(a,b){a&1&&(O(0,Ujb,3,2,"h3",0),O(1,Xjb,3,4,"mat-form-field",1),O(2,Zjb,2,1,"button",2));a&2&&(C("ngIf",!b.isEditMode),z(1),C("ngIf",b.isEditMode),z(1),
C("ngIf",b.hasAclToEdit))},dependencies:[bx,fx,NA,OB,qD,qB,tB],styles:["[_nghost-%COMP%]{display:flex;align-items:center}h3[_ngcontent-%COMP%]{vertical-align:middle;margin-bottom:-1px;word-break:break-word}mat-form-field[_ngcontent-%COMP%]{min-width:200px;max-width:100%;margin-bottom:-3px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--c700);margin-top:-2px}[_nghost-%COMP%]     .mat-form-field-wrapper{padding:0}[_nghost-%COMP%]     .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{padding:0;border:0}[_nghost-%COMP%]     .mat-form-field-wrapper .mat-form-field-underline{margin-bottom:-15px}"]});var d7=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueFridge=c;this.componentFridge=d;this.issueInteractionsTracking=e;this.bLocation=f;this.paths=h;this.refreshMonitor=l;this.butterBar=q;this.internalSearchResults$=new T.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(Df(),Qf(function(x){return x?x.changed$:(0,T.of)(null)}));this.issueIds$=this.searchResults$.pipe(B(function(x){var y;return null!=(y=null==x?
void 0:x.issues.map(function(G){return G.id}).map(Cp))?y:[]}),Df(mj));this.issues$=this.issueIds$.pipe(Qf(function(x){return(0,T.combineLatest)(x.map(function(y){return u.issueFridge.watch(y,{trustUncertainMemory:!0})}))}),Qf(function(x){return(0,T.combineLatest)(x.map(function(y){return u.componentFridge.watch(String(null==y?void 0:y.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(B(function(G){return{issue:y,component:G}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(B(function(x){var y;return null!=(y=null==x?void 0:x.totalText)?y:""}));this.backNavigationLabel$=this.searchResults$.pipe(B(function(x){return(null==x?0:x.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,T.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;var G;return null!=(G=y&&(null==x?void 0:AS(x,y)))?G:-1}));this.hasPreviousIssue$=(0,T.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(x){var y=
m(x);x=y.next().value;y=y.next().value;var G;if(G=y)null==x?x=0:(y=AS(x,y),x=null==y||-1===y?!1:y>x.startIndex||1<x.params.page),G=x;return!!G}));this.hasNextIssue$=(0,T.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;var G;if(G=y)null==x?x=0:(y=AS(x,y),x=null==y||-1===y?!1:y<x.endIndex||x.params.page<x.numPages),G=x;return!!G}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){AFc(u)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(x){u.issueId=
x;AFc(u)}));this.subscriptions.add(this.issues$.subscribe(function(x){var y=u.internalSearchResults$.value;y&&Z9b(y,x.filter(function(G){var J=G.component;return G.issue&&J}))}))};X(d7,Z);d7.\u0275dir=Z.\u0275dir;
var BFc=function(a){var b,c,d=null!=(c=null==(b=a.internalSearchResults$.value)?void 0:b.params.returnUrl)?c:"";a.issueInteractionsTracking.trackNavigation(""===d?"home":"up");a.bLocation.hash("");a.bLocation.url(d)},ckb=function(a){var b=ep(a.hasNextIssue$),c=ep(a.issueIndex$);b&&c&&CFc(a,c+1)},bkb=function(a){var b=ep(a.hasPreviousIssue$),c=ep(a.issueIndex$);b&&c&&CFc(a,c-1)},AFc=function(a){var b,c,d;Ze(function(e){if(1==e.nextAddress)return af(e,f$b(a.issuePagination).catch($jb),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=AS(b,a.issueId);return-1===d?e.jumpTo(0):af(e,g$b(a.issuePagination,d).catch($jb),0)})},CFc=function(a,b){g$b(a.issuePagination,b).then(function(c){a.bLocation.url(a.paths.editIssue(c))},function(){oG(a.butterBar,"Can't find issue id for index '"+b+"'")})};d7.\u0275fac=function(a){return new (a||d7)(n(SJ),n(BS),n(QH),n(OF),n(QJ),n(bH),n(cH),n(OH),n(mG))};d7.\u0275prov=Pc({token:d7,factory:d7.\u0275fac,providedIn:"root"});var dkb=function(a){return{"invisible zero-width":a}},e7=function(a){this.currentSearchResults=a;this.HOTKEYS=yO};e7.\u0275fac=function(a){return new (a||e7)(A(d7))};
e7.\u0275cmp=r({type:e7,selectors:[["b-pagination-one-issue"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngClass"],["mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-left",1,"icon-l"],["mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&1&&
(O(0,ekb,9,12,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.currentSearchResults.issueIndex$))},dependencies:[$w,bx,xO,NA,OB,qD,hx],styles:["[_nghost-%COMP%]{display:inline-block;color:#5f6368;color:var(--muted);white-space:nowrap}.bv2-material   [_nghost-%COMP%]     button.mat-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}output[_ngcontent-%COMP%]{font-weight:500}[mat-icon-button][_ngcontent-%COMP%]{margin-left:-4px}[_nghost-%COMP%]   span.zero-width[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{width:0}\n/*# sourceMappingURL=pagination_one_issue.css.map */"],
changeDetection:0});var f7=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.issuePermissionService=d;this.snackBar=e;this.dialogRef=f;this.data=h;this.analytics=l;this.activeSession=q;this.defaultAccessLimitLevel="LIMIT_NONE";this.writers=[];this.appenders=[];this.readers=[];this.showImplicitAccessIndicator$=this.issuePermissionService.showImplicitAccessIndicator$;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.issueId=this.data.issueId;
this.issue$=this.issueFridge.watch(this.issueId);this.currentAccessLimitLevel$=this.issue$.pipe(B(function(x){var y;return null!=(y=null==x?void 0:x.snapshot[0].issueAccessLimitLevel)?y:u.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new T.BehaviorSubject(this.defaultAccessLimitLevel);this.hasSelectionChanged$=(0,T.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;return x!==y}));this.expandedAccessTooltip$=
this.showImplicitAccessIndicator$.pipe(B(function(x){return x?"This component has expanded access enabled. Verifiers and assignees can edit issues, and CC'd users can add comments":"This component has expanded access disabled. Being listed on the issue does not confer any additional access privileges"}));this.didSave=function(){u.snackBar.open("Successfully saved access level",void 0,{duration:2500});u.issueFridge.poke(u.issueId)}};X(f7,Z);f7.\u0275dir=Z.\u0275dir;
f7.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);DFc(a,b)}))};
var EFc=function(a){return a?"Expanded access on":"Expanded access off"},FFc=function(a,b){return b&&(Qp(a.activeSession,"enableIssueAccessLimits")||a.activeSession.session.config.issueAccessLimitsComponentAllowlist.has(a.data.componentId))},DFc=function(a,b){a.issueApi.getRetainedAccessPrincipals(a.issueId,b).then(function(c){a.writers=ek(c.writers);a.appenders=ek(c.appenders);a.readers=ek(c.readers)},function(c){sG(a.errorHandler,c)})};g=f7.prototype;
g.manageComponentAccessRouterLink=function(a){return{path:"/components/"+a+"/manage",fragment:"access"}};g.closeDialog=function(){this.dialogRef.close()};g.onEnter=function(){this.onPressSave()};g.onEscape=function(){this.dialogRef.close()};
g.onPressSave=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,Sj(this.updatedAccessLimitLevel$.value)).then(function(b){a.didSave(b);Lp(a.analytics,Mp.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value)},function(b){sG(a.errorHandler,b)})};g.onPressCancel=function(){this.dialogRef.close()};f7.\u0275fac=function(a){return new (a||f7)(A(qG),A(dF),A(QH),A(TJ),A(jG),A(ZA),A(aB),A(LH),A(tu))};
f7.\u0275cmp=r({type:f7,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&K("keydown.escape",function(){return b.onEscape()})},features:[$f],decls:33,vars:37,consts:[[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","viewOnly"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s",
"valign-middle",3,"matTooltip"],[3,"disabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],[1,"limit-users-title"],["idForInputBox","Issue Editors","ariaLabel","Issue Editors",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Issue Contributors","ariaLabel","Issue Contributors",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Issue Viewers","ariaLabel","Issue Viewers",3,"users","includeAliases","includeViewAliases"],["mat-dialog-actions",""],[4,"ngIf","ngIfElse"],
["closeButton",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],["mat-button","",1,"gmat-button","medium","close",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"span",1),F(2,"mat-icon",2),E(),D(3,"h1",3),P(4,"Issue access level"),E()(),F(5,"b-component-breadcrumb-chip",4),D(6,"span",5),R(7,"async"),D(8,"span",6),P(9),R(10,"async"),E(),F(11,"mat-icon",7),R(12,"async"),E(),D(13,
"b-issue-access-limits-dropdown",8),K("updatedAccessLimitLevel",function(h){b.updatedAccessLimitLevel$.next(h);DFc(b,h)}),R(14,"async"),R(15,"async"),E(),D(16,"div")(17,"div",9),P(18,"Users who can edit, comment, and view"),E(),F(19,"b-multi-user-input",10),E(),D(20,"div")(21,"div",9),P(22,"Users who can comment and view"),E(),F(23,"b-multi-user-input",11),E(),D(24,"div")(25,"div",9),P(26,"Users who can only view"),E(),F(27,"b-multi-user-input",12),E(),D(28,"div",13),O(29,fkb,6,3,"ng-container",14),
R(30,"async"),O(31,gkb,2,0,"ng-template",null,15,$g),E());if(a&2){var c=N(32),d,e,f;z(5);C("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);z(1);pg("expanded-access-on",S(7,25,b.showImplicitAccessIndicator$));z(3);Bg(EFc(null!==(d=S(10,27,b.showImplicitAccessIndicator$))&&void 0!==d?d:!1));z(2);C("matTooltip",null!==(e=S(12,29,b.expandedAccessTooltip$))&&void 0!==e?e:"");z(2);C("disabled",!FFc(b,S(14,31,b.hasAclToAdmin$)))("defaultAccessLimitLevel",
null!==(f=S(15,33,b.currentAccessLimitLevel$))&&void 0!==f?f:b.defaultAccessLimitLevel);z(6);C("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);dg("disabled",!0);z(4);C("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);dg("disabled",!0);z(4);C("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);dg("disabled",!0);z(2);C("ngIf",FFc(b,S(30,35,b.hasAclToAdmin$)))("ngIfElse",c)}},dependencies:[yY,bx,T6,NA,fB,OB,qD,jZ,hx],styles:[".issue-limits-dialog-title-txt[_ngcontent-%COMP%]{display:inline;padding:0 20px;font-size:1.4rem;line-height:2rem}.limit-users-title[_ngcontent-%COMP%]{font-weight:400;color:#202124;color:var(--text-default);padding-bottom:5px}.bv2-issue-limits-title[_ngcontent-%COMP%]{font-weight:400;padding:20px 0 28px}.limit-option[_ngcontent-%COMP%]{padding:10px 0}.limit-option[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.limit-title[_ngcontent-%COMP%]{padding:0 20px;white-space:nowrap}.selected-limit-title[_ngcontent-%COMP%]{padding:0 5px 0 10px;color:#202124;color:var(--text-default);font-size:small}.limit-description[_ngcontent-%COMP%]{padding:0 40px}.limit-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}b-component-breadcrumb-chip[_ngcontent-%COMP%]{margin-right:16px}.expanded-access[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-color:#c5221f;border-color:var(--text-bad);border-radius:3px;padding:5px;background-color:var(--red-50);vertical-align:middle}.expanded-access[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-bottom:1px}.expanded-access-on[_ngcontent-%COMP%]{border-color:#188038;border-color:var(--text-good);background-color:var(--green-50)}.lock-circle[_ngcontent-%COMP%]{border:solid;border-color:#1a73e8;border-color:var(--primary);border-radius:50%;background-color:var(--primary);color:#fff;color:var(--background);padding:12px;display:inline-block}.edit-btn[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%], a[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%]{vertical-align:middle}b-issue-access-limits-dropdown[_ngcontent-%COMP%]{display:block;padding:20px 0}.expanded-access-txt[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%]{padding:5px}\n/*# sourceMappingURL=issue_access_limits_dialog.css.map */"]});
var g7=function(a){this.dialog=a};g7.prototype.open=function(a){this.dialog.open(f7,{panelClass:"no-jitter",data:a})};g7.\u0275fac=function(a){return new (a||g7)(n(bB))};g7.\u0275prov=Pc({token:g7,factory:g7.\u0275fac,providedIn:"root"});var h7=function(a,b){this.documentationLinks=a;this.issueLimits=b};h7.prototype.toggleAccessLimits=function(){var a=this;return Ze(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});ef(b)})};h7.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};h7.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
h7.\u0275fac=function(a){return new (a||h7)(A(hJ),A(g7))};
h7.\u0275cmp=r({type:h7,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:3,consts:[["role","button",1,"chippy","rounded","nowrap","access-limited",3,"onedevHovercardTrigger","click","keydown.enter","keydown.space"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["target",
"_blank",3,"href"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){return b.toggleAccessLimits()})("keydown.enter",function(d){return b.toggleAccessLimitsWithKeystroke(d)})("keydown.space",function(d){return b.toggleAccessLimitsWithKeystroke(d)}),F(1,"mat-icon",1),D(2,"span",2),P(3),E()(),D(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),P(9," Issue access is limited. "),D(10,"a",7),P(11," Learn more"),E()()()()());if(a&2){var c=N(5);C("onedevHovercardTrigger",c);
z(3);Bg(b.getAccessLimitLevelDisplay(b.accessLimitLevel));z(7);C("href",b.documentationLinks.getIssueAccessLimit(),ue)}},dependencies:[OB,XI,bJ],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px}.chippy.access-limited[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg);border:1px solid;border-color:#185abc;border-color:var(--primary-c800);box-shadow:none}.chippy[_ngcontent-%COMP%]   .access-limit-display-name[_ngcontent-%COMP%]{padding-right:2px}.bubble[_ngcontent-%COMP%]{width:300px}"],
changeDetection:0});var i7=function(a){this.brain=a;this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(B(function(b){return null==b?void 0:b.issue}),sf(Vj));this.retentionState$=this.issue$.pipe(B(function(b){var c;return null==(c=b.aggregatedData)?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(B(function(b){var c;return(null==(c=b.aggregatedData)?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),sf(Vj));this.accessLevel$=this.issue$.pipe(B(function(b){var c;return null==
(c=b.accessLimit)?void 0:c.accessLevel}),sf(Vj));this.issueAccessLimitLevel$=this.issue$.pipe(B(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(B(function(b){return b.issueId}));this.state$=(0,T.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.accessLevel$,this.issueId$,this.brain.componentId$]).pipe(B(function(b){var c=m(b);b=c.next().value;var d=c.next().value,e=c.next().value,f=c.next().value,h=c.next().value;c=c.next().value;
return{retentionState:b,isAccessLimited:"LIMIT_VIEW"===d||"LIMIT_APPEND"===d||"LIMIT_VIEW_TRUSTED"===d,isShowingRetention:null==(null==b?void 0:b.scheduledDeletionTime)?!1:fZa(b),isShowingPublicPartner:"INTERNAL"!==f,modifiedTime:e,accessLevel:f,issueId:h,componentId:c,issueAccessLimitLevel:d}}))};i7.\u0275fac=function(a){return new (a||i7)(A(SJ))};
i7.\u0275cmp=r({type:i7,selectors:[["issue-chip-indicators"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","flex-kids-x gap-s margin-xs-right",4,"ngIf"],[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"accessLevel",4,"ngIf"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(O(0,lkb,2,1,"ng-container",
0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.state$))},dependencies:[h7,bx,ML,$Y,hx],encapsulation:2});var j7=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.currentTracker=f;this.eventsForIssueFridge=h;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new T.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=GCc;this.blockedIdsToUrlQuery=function(q){if(!(2>q.length))return{q:"blockingid:"+l.issueId}};this.HOTKEYS=yO;this.issue$=
this.issueId$.pipe(Qf(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(B(function(q){return null==q?void 0:q.snapshot[0].title}));this.starred$=this.issue$.pipe(B(function(q){var u;return Sj(null==q?void 0:null==(u=q.userData)?void 0:u.starred)}));this.componentId$=this.issue$.pipe(B(function(q){return Sj(null==q?void 0:q.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(B(function(q){return Sj(null==q?void 0:q.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(B(function(q){return!!(q&&
0<q.size)}));this.teamId$=this.issue$.pipe(B(function(q){var u;return Sj(null==q?void 0:null==(u=q.aggregatedData)?void 0:u.teamId)}));this.blockedByids$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.snapshot[0].blockedByIssueId)?u:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(Qf(this.issueFridge.watchSet),B(function(q){return q.filter(mn)}),B(function(q){return q.length}));dp(this.issuesBlockedByCount$.pipe(B(wkb),Rf(this.destroyed$)),"Blocked");this.blockedByids$.pipe(B(xkb));
this.blockedByids$.pipe(B(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(B(function(q){return(null==q?void 0:q.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(B(function(q){return l.computeStatusCssClass(q)}));this.prettyStatus$=this.status$.pipe(sf(Vj),B(function(q){return $m[q]}));this.statusIsFeatured$=this.status$.pipe(B(function(q){return!!TSb[q]}));this.toggleStar=function(){var q=
!!ep(l.starred$);l.starToggleDisabled=!0;fXb(l.issueFridge,l.issueId,!q).pipe(Hf(),Rf(l.destroyed$)).subscribe(function(){l.starToggleDisabled=!1})};this.toggleStarDebounced=vv(this.toggleStar,1E3)};X(j7,Z);j7.\u0275dir=Z.\u0275dir;var GFc=function(a,b){a.editTitleDisabled=!0;gXb(a.issueFridge,a.issueId,b).pipe(Rf(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId)})};
j7.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+Wk[a]};j7.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};Ei.Object.defineProperties(j7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});j7.\u0275fac=function(a){return new (a||j7)(A(QH),A(TJ),A(WG),A(OH),A(d7),A(qN),A(JF))};
j7.\u0275cmp=r({type:j7,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[$f],decls:40,vars:46,consts:[[1,"padded-s","border-bottom",3,"ngClass"],[1,"pos-fill",2,"bottom","auto","height","6px",3,"title"],[1,"row","row-1","flex-kids-x","space-between"],[1,"left","flex-kids-x","flex-wrap","gap-s"],[4,"ngIf","ngIfElse"],["withAncestorsBreadcrumbs",""],["withoutAncestorBreadcrumbs",""],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],[1,"left","flex-kids-x","align-items-center"],
[1,"nowrap"],["mat-icon-button","",1,"small","back-btn",3,"hotkey","matTooltip","onHotkey","click"],["svgIcon","arrow-backward",1,"icon-s"],["mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"small",3,"hotkey","onHotkey","click"],["svgIcon","refresh",1,"icon-s"],[3,"starred","disabled","hotkey","starClicked","onHotkey"],[1,"right","pos-rel"],[3,"title","disabled","hasAclToEdit","updateTitle"],["class","b-chip squared bad xs margin-xs-left",3,"onedevHovercardTrigger",4,"ngIf"],["card",
"onedevHovercard"],[4,"onedevHovercardLazyBody"],[1,"pos-br",3,"issueId"],["inert","","aria-hidden","true",3,"issueId"],[4,"ngTemplateOutlet"],[3,"componentId","teamId","onTeamLoaded"],[4,"ngIf"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId",4,"ngIf"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"ancestors","issueId"],[3,"componentId","issueId"],[1,"b-chip","squared","s","padding-0"],[3,"issueId","componentId",
"issueTitle","isExternalIssue"],[1,"b-chip","squared","bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],["cardBody",""]],template:function(a,b){a&1&&(D(0,"div",0),R(1,"async"),R(2,"async"),R(3,"async"),F(4,"aside",1),R(5,"async"),R(6,"async"),D(7,"div",2)(8,"div",3),O(9,nkb,2,1,"ng-container",4),R(10,"async"),O(11,qkb,4,7,"ng-template",null,5,$g),O(13,skb,4,7,"ng-template",
null,6,$g),E(),D(15,"div",7),F(16,"b-pagination-one-issue"),E()(),D(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),K("onHotkey",function(){return BFc(b.currentSearchResults)})("click",function(){return BFc(b.currentSearchResults)}),R(21,"async"),R(22,"async"),F(23,"mat-icon",12),E(),D(24,"button",13),K("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),F(25,"mat-icon",14),E(),D(26,"b-star-toggle",15),K("starClicked",function(){return b.toggleStar()})("onHotkey",
function(){return b.toggleStarDebounced()}),R(27,"async"),E()(),F(28,"issue-chip-indicators"),E(),D(29,"div",16)(30,"issue-title",17),K("updateTitle",function(e){return GFc(b,e)}),R(31,"async"),R(32,"async"),E(),O(33,ukb,3,2,"div",18),R(34,"async"),D(35,"onedev-hovercard",null,19),O(37,vkb,4,7,"ng-container",20),E(),F(38,"issue-actions",21)(39,"issue-actions",22),E()()());if(a&2){var c=N(14),d;pg("overline",S(1,22,b.statusIsFeatured$))("color-field",S(2,24,b.statusIsFeatured$));zg("ngClass",S(3,26,
b.statusCssClass$));z(4);Ag("title","[",S(5,28,b.prettyStatus$),"] ",S(6,30,b.issueTitle$),"");z(5);C("ngIf",S(10,32,b.hasAncestors$))("ngIfElse",c);z(11);C("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=S(21,34,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");dg("aria-label",S(22,36,b.currentSearchResults.backNavigationLabel$));z(4);C("hotkey",b.HOTKEYS.REFRESH_ISSUE);z(2);C("starred",S(27,38,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);z(4);
C("title",S(31,40,b.issueTitle$))("disabled",b.editTitleDisabled)("hasAclToEdit",S(32,42,b.issuePermissionService.hasAclToEdit$));z(3);C("ngIf",S(34,44,b.issuesBlockedByCount$));z(5);C("issueId",b.issueId);z(1);C("issueId",b.issueId)}},dependencies:[b6,$w,bx,gx,T6,xO,XI,YI,bJ,ZI,EO,c7,a6,NA,OB,qD,TQ,pR,e7,b7,i7,hx],styles:[".row-1[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{align-items:flex-start}.row-2[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{flex-grow:1}.chip[_ngcontent-%COMP%]{margin-left:8px}mat-divider[_ngcontent-%COMP%]{height:16px;margin-left:12px;border-color:#dadce0;border-color:var(--divider)}.back-btn[_ngcontent-%COMP%]{margin-left:-4px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px}b-star-toggle[_ngcontent-%COMP%]{margin-right:4px}b-pagination-one-issue[_ngcontent-%COMP%]{margin-left:8px;height:22px;margin-top:-5px}issue-actions.pos-br[_ngcontent-%COMP%]{bottom:0;right:0}issue-actions[inert][_ngcontent-%COMP%]{display:inline-flex;visibility:hidden}[_nghost-%COMP%]     .b-chip{margin-right:0;max-width:100%}[_nghost-%COMP%]     issue-title, [_nghost-%COMP%]     issue-title h3{display:inline}[_nghost-%COMP%]     b-app-vote-button .gmat-button:not([disabled]):not([aria-pressed=true]), [_nghost-%COMP%]     smart-dupe-btn .mat-stroked-button:not([disabled]), [_nghost-%COMP%]     hotlist-picker-btn .mat-stroked-button:not([disabled]){background-color:#fff;background-color:var(--background)}"]});var k7=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.issueTrackerId$=new T.BehaviorSubject("");this.showTrackerBanner$=(0,T.combineLatest)([this.issueTrackerId$,this.currentTracker.trackerId$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return c.currentTracker.enableTrackers&&!!zn(e)&&!zn(d)}));this.tracker$=this.issueTrackerId$.pipe(Qf(function(d){return!c.currentTracker.enableTrackers||zn(d)?(0,T.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=
this.tracker$.pipe(B(function(d){return rN(c.currentTracker,String(c.issueId),d)}))};Ei.Object.defineProperties(k7.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});k7.\u0275fac=function(a){return new (a||k7)(A(qN),A(jI))};
k7.\u0275cmp=r({type:k7,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},decls:3,vars:5,consts:[["class","tracker-banner",4,"ngIf"],[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-button","small",3,"href"]],template:function(a,b){a&1&&(O(0,ykb,7,6,"div",0),R(1,"async"),R(2,"async"));a&2&&C("ngIf",S(1,1,b.showTrackerBanner$)&&S(2,3,b.tracker$))},dependencies:[bx,OA,hx],styles:[".tracker-banner[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);background-color:#fef7e0;background-color:var(--archived-bg-pale);-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px 16px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.tracker-banner[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--fab-button-bg);margin-left:auto}.tracker-banner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px;height:24px;padding:3px;margin-right:12px}.tracker-banner[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:.8125rem}"]});var l7=function(a,b,c){var d=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.trackerId$=new T.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(Qf(function(e){return zn(e)?(0,T.of)(void 0):d.trackerFridge.watch(e)}));this.trackerName$=this.tracker$.pipe(B(function(e){return e?e.name:d.activeSession.getAppName()}));this.currentTrackerLogo$=this.currentTracker.tracker$.pipe(B(function(e){return d.getLogoUrl(e)}));this.trackerLogo$=this.tracker$.pipe(B(function(e){return d.getLogoUrl(e)}));
this.trackerRedirectUrl$=this.tracker$.pipe(B(function(e){var f="";d.issue&&(f=String(d.issueId));d.component&&(f="components/"+d.componentId);return e?rN(d.currentTracker,f,e):H3b(d.currentTracker,f)}))};l7.prototype.getLogoUrl=function(a){if(a){var b;if(null==(b=a.branding)||!b.logoUrl)return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}else return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg";var c,d;return null!=(d=null==(c=a.branding)?void 0:c.logoUrl)?d:""};
l7.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
Ei.Object.defineProperties(l7.prototype,{showResourceContainer:{configurable:!0,enumerable:!0,get:function(){return null!=this.issue||null!=this.component}},issueId:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.issue)?void 0:a.issueId}},issueType:{configurable:!0,enumerable:!0,get:function(){var a,b=null==(a=this.issue)?void 0:a.snapshot[0],c;return XSb[null!=(c=null==b?void 0:b.type)?c:"TYPE_UNSPECIFIED"]}},issueStatus:{configurable:!0,enumerable:!0,get:function(){var a,
b=null==(a=this.issue)?void 0:a.snapshot[0],c;return $m[null!=(c=null==b?void 0:b.status)?c:"STATUS_UNSPECIFIED"]}},componentId:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.component)?void 0:a.componentId}}});l7.\u0275fac=function(a){return new (a||l7)(A(qN),A(jI),A(tu))};
l7.\u0275cmp=r({type:l7,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[md],decls:1,vars:1,consts:[["class","carded margin-top",4,"ngIf"],[1,"carded","margin-top"],[1,"centered-inside","margin-bottom"],["alt","",1,"logo",3,"src"],["svgIcon","arrow-forward",1,"icon-l"],[1,"centered-inside","heading-l","margin-bottom"],[4,"ngIf"],[1,"centered-inside"],["mat-flat-button","","color","primary","matTooltip","Go to the issue","aria-label","Go to the issue",1,"gmat-button",
3,"href"]],template:function(a,b){a&1&&O(0,Akb,15,13,"div",0);a&2&&C("ngIf",b.showResourceContainer)},dependencies:[bx,OA,OB,qD,hx],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center}ol[_ngcontent-%COMP%]{box-sizing:border-box;width:322px;padding-right:8px}li[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:16px;line-height:21px}li[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}label[_ngcontent-%COMP%]{width:100px;font-weight:bold;color:#5f6368;color:var(--text-muted);margin-right:8px;font-size:.8125rem}.logo[_ngcontent-%COMP%]{margin-right:4px;width:32px;height:32px}"]});var HFc=[[["",8,"value-action"]]],m7=function(a){Z.call(this);var b=this;this.jspbPrincipalTypes=a;this.readonly=!1;this.collaborators=[];this.collaboratorsUsers=[];this.listFieldDisabled=!1;this.teamId="";this.isCollapsible=!1;this.valuesChange=new vw;this.additionAllowed=!0;this.ListFieldType=Cgc;this.userPrincipalValidator=function(c){var d,e,f;return Ze(function(h){if(1==h.nextAddress){if(!c)return h.return("This field is required");d=c.split(",").map(function(l){return l.trim()}).filter(Boolean);
return af(h,c_b(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;f=d.find(function(l){var q;return"USER"!==(null==(q=e[l])?void 0:q.principalType)});return h.return(f?"You can only add users to collaborators.":"")})}};X(m7,Z);m7.\u0275dir=Z.\u0275dir;m7.prototype.getAriaLabel=function(){var a="Collaborators are people directly working on this issue.";this.additionAllowed||(a+=" You cannot add collaborators under this component.");return a};m7.\u0275fac=function(a){return new (a||m7)(A(DJ))};
m7.\u0275cmp=r({type:m7,selectors:[["b-collaborators-field"]],inputs:{readonly:"readonly",collaborators:"collaborators",collaboratorsUsers:"collaboratorsUsers",listFieldDisabled:"listFieldDisabled",teamId:"teamId",isCollapsible:"isCollapsible",additionAllowed:"additionAllowed"},outputs:{valuesChange:"valuesChange"},features:[Dg([HH]),$f],ngContentSelectors:[".value-action"],decls:3,vars:17,consts:[[1,"full-width",3,"defaultLineCount","readonly","additionAllowed","title","type","isUser","values","users",
"inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName","valuesChange"],[1,"value-action"]],template:function(a,b){a&1&&(wg(HFc),D(0,"b-list-field",0),K("valuesChange",function(c){return b.valuesChange.emit(c)}),D(1,"div",1),xg(2),E()());a&2&&(Ag("collapsiblePanelTitle","",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),C("defaultLineCount",5)("readonly",b.readonly)("additionAllowed",b.additionAllowed)("title","Collaborators")("type",
b.ListFieldType.USERCHIP)("isUser",!0)("values",b.collaborators)("users",b.collaboratorsUsers)("inputValidator",b.userPrincipalValidator)("listFieldDisabled",b.listFieldDisabled)("teamId",b.teamId)("isExpanded",!0)("isCollapsible",b.isCollapsible)("iconName",b.isCollapsible?"groups_24px":""),dg("aria-label",b.getAriaLabel()))},dependencies:[MW],encapsulation:2});var n7=function(){};n7.\u0275fac=function(a){return new (a||n7)};n7.\u0275mod=fd({type:n7});n7.\u0275inj=Qc({imports:[NW,px,lE]});var o7=function(){var a=this;this.pressed=new vw;this.disabled=!1;this.getTooltip=function(){return a.disabled?"Deployment status is only available for submitted Boq, Pod & Annealing CLs. For more information, go/devgraph_supported_insights.":"Open the insights graph"}};o7.\u0275fac=function(a){return new (a||o7)};
o7.\u0275cmp=r({type:o7,selectors:[["insights-graph-btn"]],inputs:{disabled:"disabled"},outputs:{pressed:"pressed"},decls:14,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button",3,"title","disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),
"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" ")],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){return b.pressed.emit()}),P(1,"Insights "),yd(),D(2,"svg",1)(3,"g",2),F(4,"path",3)(5,"path",4)(6,"path",5)(7,"circle",6)(8,"circle",7)(9,"circle",8)(10,"circle",9)(11,"circle",10)(12,"circle",11)(13,"circle",12),E()()());a&2&&(C("title",b.getTooltip())("disabled",b.disabled),dg("aria-label",b.getTooltip()))},dependencies:[NA],styles:["button.gmat-button[_ngcontent-%COMP%]{line-height:20px;padding:0 5px;font-size:.75rem;font-weight:500;font-family:Roboto,Arial,sans-serif}[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:text-bottom}\n/*# sourceMappingURL=insights_graph_btn.css.map */"],
changeDetection:0});var IFc=new Ud("PeoplekitClientConfig"),JFc=function(a){this.matcher=a};JFc.prototype.filterResult=function(a){for(var b=a.getTargetList(),c=b.length-1;0<=c;c--)1===b[c].getTargetType()&&this.matcher(b[c].getValue())&&b.splice(c,1);return b.length?a:null};JFc.prototype.reset=function(){};var LFc=function(a){var b=new KFc;this.apiEnv_=a;this.experimentsConfig_=b};var KFc=function(){};KFc.prototype.getProfileId=function(){return""};var p7=function(a,b){null!=b||(b=Zc(Yf));var c=new Ytc;a.peopleApiEnv&&c.setPeopleApiEnv(a.peopleApiEnv);a.customAuthHeaders&&(c.customAuthHeaders_=a.customAuthHeaders);a.profileId&&c.getExperiments().setProfileId(a.profileId);a.dynamicDataProviders&&Ztc(c,Stc(a.dynamicDataProviders));b=b.runOutsideAngular(function(){var d=a.peopleStoreClient.create(c);d.warmUpCache();return{peopleStore:d,environmentConfig:new LFc(c.getPeopleApiEnv())}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};
p7.\u0275fac=function(a){return new (a||p7)(n(IFc),n(Yf))};p7.\u0275prov=Pc({token:p7,factory:p7.\u0275fac});var q7=function(a,b,c,d,e,f){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=f;this.selectionChange=new vw;this.sessionOptions=(new Hs).setFilter(MFc);this.inputSearchDelay=200;this.destroyed$=new T.ReplaySubject(1);this.inputChanged$=new T.ReplaySubject(1)};q7.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
q7.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);Bkb(b,this.config);this.zone.runOutsideAngular(function(){var c;if(null==(c=a.clientConfig.autocompleteFactory))c=void 0;else{var d=c.create;if(!a.peopleKitService.autocompleteAnchor){var e=a.renderer.createElement("div");a.peopleKitService.autocompleteAnchor=e;a.renderer.addClass(e,"peoplekit-autocomplete-anchor");var f;(null!=(f=yva(a.inputEl.nativeElement))?
f:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});Brc(this.autocomplete,function(c){a.selectionChange.emit(c)});this.inputChanged$.pipe(Af(this.inputSearchDelay)).subscribe(function(){a.search()})};q7.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
q7.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};q7.\u0275fac=function(a){return new (a||q7)(A(IFc),A(Ci),A(p7),A(Yd),A(Yf),A(Jv))};
q7.\u0275dir=r({type:q7,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&K("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:["peoplekitAutocompleteConfig","config"],sessionOptions:["peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:["peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var MFc=S7a(1);var NFc=["popOver"],OFc=["inputBox"],r7=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},PFc,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new vw;this.inputValue="";this.sessionOptions=QFc};r7.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
r7.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},PFc,this.defaultAutocompleteConfig,this.autocompleteConfig))};r7.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};r7.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};r7.\u0275fac=function(a){return new (a||r7)(A(RFc,8))};
r7.\u0275cmp=r({type:r7,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(Sg(NFc,7),Sg(OFc,5));if(a&2){var c;Rg(c=Ug())&&(b.popOver=c.first);Rg(c=Ug())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[md],attrs:["anchor",""],decls:4,vars:3,consts:[[3,"anchor","displayUnder","editorTemplate",
"closedWithAction"],["popOver","onedevPopOverEditPanel"],["autocompleteTemplate",""],["peoplekitAutocomplete","",3,"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel","peoplekitAutocompleteSelectionChange","ngModelChange"],["inputBox",""]],template:function(a,b){a&1&&(D(0,"onedev-pop-over-edit-panel",0,1),K("closedWithAction",function(d){return b.onPopOverClose(d)}),E(),O(2,Ckb,2,3,"ng-template",null,2,$g));if(a&2){var c=N(3);C("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[yh,Ex,Lx,e4,q7],styles:["input[_ngcontent-%COMP%]{padding:4px;border-radius:5px;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;color:var(--text-default,#202124);border:1px solid var(--field-hover-border,#d2e3fc);background-color:var(--surface-default,#fff);line-height:18px}input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--primary-default,#1a73e8)}  .peoplekit-autocomplete-anchor{z-index:1001}"]});
var RFc=new Ud("user-picker-autocomplete-config"),PFc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},QFc=(new Hs).setFilter(W7a(S7a(1),new JFc(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var Ekb=function(a){return{$implicit:a}},SFc=0,s7=function(){this.val="";this.disabled=!1;this.emailChange=new vw;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+SFc;this.onChange=function(){};this.onTouched=function(){};SFc++};X(s7,jU);g=s7.prototype;g.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
g.onPopOverClose=function(a){null!=a&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.writeValue=function(a){null!=a&&(this.val=a)};g.isActive=function(){return this.active||this.popOverOpen};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};
Ei.Object.defineProperties(s7.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});s7.\u0275fac=function(a){return new (a||s7)};
s7.\u0275cmp=r({type:s7,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&Sg(r7,7);if(a&2){var c;Rg(c=Ug())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Dg([{provide:jU,useExisting:Nc(function(){return s7}),multi:!0},{provide:rx,useExisting:Nc(function(){return s7}),multi:!0}]),
$f],decls:7,vars:9,consts:[[1,"unstyled-button",3,"focus","blur","click"],["anchor",""],[4,"ngIf","ngIfElse"],["plainText",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"anchor","autocompleteConfig","closed"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"]],
template:function(a,b){a&1&&(D(0,"button",0,1),K("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),O(2,Fkb,2,4,"ng-container",2),O(3,Gkb,1,1,"ng-template",null,3,$g),O(5,Hkb,2,0,"svg",4),E(),D(6,"onedev-user-picker-panel",5),K("closed",function(e){return b.onPopOverClose(e)}),E());if(a&2){var c=N(1),d=N(4);pg("active",b.isActive());dg("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(2);C("ngIf",b.selectedUserTemplate)("ngIfElse",
d);z(3);C("ngIf",!b.disabled);z(1);C("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[bx,gx,r7],styles:["button[_ngcontent-%COMP%]{background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.edit-icon[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-left:auto;width:16px;height:16px;color:var(--icon,#5f6368);fill:currentColor}"]});var TFc=["picker"],t7=function(){this.disabled=!1;this.emailChange=new vw;this.userEmail=""};X(t7,jU);t7.prototype.openPopOver=function(){this.picker.openPopOver()};t7.prototype.isActive=function(){return this.picker.isActive()};Ei.Object.defineProperties(t7.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=Kj(a)||""}}});t7.\u0275fac=function(){var a;return function(b){return(a||(a=Od(t7)))(b||t7)}}();
t7.\u0275cmp=r({type:t7,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&Sg(TFc,7);if(a&2){var c;Rg(c=Ug())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Dg([{provide:jU,useExisting:Nc(function(){return t7}),multi:!0}]),$f],decls:4,vars:4,consts:[[3,"email","disabled","labelledById","selectedUserTemplate","emailChange"],["picker","onedevUserPicker"],["userChip",
""],[3,"email","teamId","enableSmallChip",4,"ngIf"],[3,"email","teamId","enableSmallChip"]],template:function(a,b){a&1&&(D(0,"onedev-user-picker",0,1),K("emailChange",function(d){return b.emailChange.emit(d)}),E(),O(2,Jkb,1,1,"ng-template",null,2,$g));if(a&2){var c=N(3);C("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[bx,mN,s7],styles:["b-user-membership-chip[_ngcontent-%COMP%]     .user-chip-small, b-user-membership-chip[_ngcontent-%COMP%]     .internal-non-team-member-chip{width:100%}  .peoplekit-autocomplete-anchor{z-index:1001}\n/*# sourceMappingURL=user_picker.css.map */"]});var Mkb=function(a){return[a]},Pkb=function(){return[]},$kb=function(a,b){return[a,b]},Tlb=function(a){return{$implicit:a}},u7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V){var U=this;this.activeSession=a;this.editIssueService=b;this.issueFridge=c;this.issuePermissionService=d;this.issueDetailsBrain=e;this.constants=f;this.refreshMonitor=h;this.userPreferencesManager=l;this.documentationLinks=q;this.workspaceService=u;this.changelistApi=x;this.issueMarkAsDuplicateDialogService=y;this.analytics=G;this.issueInsightsSidebarService=
J;this.issueLimits=M;this.featureTooltipService=V;this.issueId$=new T.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Df());this.issue$=this.distinctIssueId$.pipe(Qf(function(W){return U.editIssueService.editableIssue$(W)}));this.enablePeoplekitAc=Qp(this.activeSession,"enablePeoplekitUserAc");this.enableCollaborators$=this.issueDetailsBrain.componentId$.pipe(B(function(W){return Qp(U.activeSession,"enableCollaborators")||U.activeSession.session.config.collaboratorsComponentAllowlist.has(Number(W))}));
this.enableIssueAccessLimits$=this.issueDetailsBrain.componentId$.pipe(B(function(W){return Qp(U.activeSession,"enableIssueAccessLimits")||U.activeSession.session.config.issueAccessLimitsComponentAllowlist.has(Number(W))}));this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.showSloStatus=this.sessionIsInternal;this.showChangelists=!this.sessionIsExternal;this.defaultAssigneeQuickActionEnabled=this.sessionIsInternal;this.HOTKEYS=
yO;this.trackCustomField=function(W,ba){return"{"+ba.componentId+", "+ba.customFieldId+"}"};this.FieldType=tgc;this.ListFieldType=Cgc;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.isCurrentUserCCd$=this.issuePermissionService.isCurrentUserCCd$;this.isCurrentUserCollaborator$=this.issuePermissionService.isCurrentUserCollaborator$;this.isAllowedToEditCC$=this.issuePermissionService.isAllowedToEditCC$;this.showImplicitAccessIndicator$=
this.issuePermissionService.showImplicitAccessIndicator$;this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.shouldDisplayWtdmUi$=this.issuePermissionService.isWithinExternalComponent$.pipe(B(function(W){return!U.activeSession.isExternalSession()&&!W}));this.teamSuggestions$=this.issueDetailsBrain.teamSuggestions$;this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.canonicalIssueId$=this.issueDetailsBrain.canonicalIssueId$;
this.sloId$=this.issueDetailsBrain.sloId$;this.sloStatus$=this.issueDetailsBrain.sloStatus$;this.createdTimeMicros$=this.issueDetailsBrain.createdTimeMicros$;this.teamId$=this.issueDetailsBrain.teamId$;this.teamWarningType$=this.issueDetailsBrain.team$.pipe(B(mbb));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(B(function(W){return U.editIssueService.issueFields(W)}),
Nf({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(Qf(function(W){return W.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(Qf(function(W){return W.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(Qf(function(W){return W.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(Qf(function(W){return W.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(Qf(function(W){return W.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(Qf(function(W){return W.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(Qf(function(W){return W.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(Qf(function(W){return W.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(B(function(W){return U.editIssueService.issueQuickActions(W)}),Nf({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(Qf(function(W){return W.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(Qf(function(W){return W.issueStatusQuickAction$}));this.priorityChoices=this.constants.priorities.map(function(W){return{value:W,displayText:W}});this.severityChoices=this.constants.severities.map(function(W){return{value:W,displayText:W}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,T.combineLatest)([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(B(function(W){var ba=m(W);W=ba.next().value;ba=
ba.next().value;return{teamId:ba?String(ba):"0",componentId:W?String(W):"0"}}));this.isTeamWarningDismissed$=(0,T.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(B(function(W){W=m(W);var ba=W.next().value,pa,na;return null==(pa=W.next().value.teamWarningPreferences)?void 0:null==(na=pa.componentTeamWarnings)?void 0:na.some(function(xa){return xa.componentId===ba.componentId})}));this.shouldDisplayTeamSuggestions$=(0,T.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,
this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(B(function(W){var ba=m(W);W=ba.next().value;var pa=ba.next().value;ba=ba.next().value;return Qp(U.activeSession,"enableTeamSuggestions")&&W&&!pa&&("MISSING"===ba||"DELETED"===ba)}));this.statusChoices$=this.canonicalIssueId$.pipe(B(function(W){return[].concat(p(aTb.filter(function(ba){return"DUPLICATE"!==ba.value})),[{value:"DUPLICATE",displayText:W?"Duplicate of "+W:"Duplicate"}])}));this.workspaces$=this.distinctIssueId$.pipe(Qf(function(W){return x7b(U.workspaceService,
W)}),Nf({refCount:!0,bufferSize:1}));this.pendingChangelists$=eXb(this.refreshMonitor,this.distinctIssueId$).pipe(Qf(function(W){return U.changelistApi.getPendingChangelistsForIssue(W)}),B(function(W){return W.changelistNumbers}),B(function(W){return{cls:W,hasError:!1}}),yf(function(){return(0,T.of)({cls:[],hasError:!0})}),Nf({refCount:!0,bufferSize:1}));this.TOOLTIP_POSITIONS=TB;this.ISSUE_ACCESS_LIMIT_ACTIONS_FEATURE_TOOLTIP_ID="issueAccessLimitActionsFeatureTooltip";this.showAccessLimitFeatureTooltip$=
VC(this.featureTooltipService,"HIDDEN",["issueAccessLimitActionsFeatureTooltip"]).pipe(sf(function(W){return 0===W.length}),Cf(1E3),B(function(){}));this.COLLABORATORS_HOVERCARD_CONFIG=Object.assign({},new $I,{position:[eZb]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new $I,{position:[eZb]});this.reconcileView={assignee:function(W){var ba,pa;W.value=null!=(pa=null==(ba=ep(U.issue$))?void 0:ba.assignee)?pa:""},reporter:function(W){var ba,pa;W.value=null!=(pa=null==(ba=ep(U.issue$))?void 0:
ba.reporter)?pa:""},verifier:function(W){var ba,pa;W.value=null!=(pa=null==(ba=ep(U.issue$))?void 0:ba.verifier)?pa:""},ccs:function(W){var ba,pa;W.values=null!=(pa=null==(ba=ep(U.issue$))?void 0:ba.cc)?pa:[]},collaborators:function(W){var ba,pa;W.collaborators=null!=(pa=null==(ba=ep(U.issue$))?void 0:ba.collaborators)?pa:[]}}};u7.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var Elb=function(a){var b=a.issuePermissionService.isCurrentUserCCd();Lp(a.analytics,Mp.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!a.issuePermissionService.isCurrentUser(e)}):[].concat(p(c.cc),[a.activeSession.getUserEmail()]);return K_b(a.editIssueService,a.issueId,d)},Alb=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();Lp(a.analytics,Mp.EDIT_ISSUE,"toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!a.issuePermissionService.isCurrentUser(e)}):[].concat(p(c.collaborators),[a.activeSession.getUserEmail()]);return L_b(a.editIssueService,a.issueId,d)},Flb=function(a,b){Elb(a);b.stopPropagation();b.preventDefault()};
u7.prototype.toggleAccessLimits=function(){var a=this;return Ze(function(b){a.issueLimits.open({componentId:Number(ep(a.issueDetailsBrain.componentId$)),issueId:a.issueId});ef(b)})};u7.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var nlb=function(a,b,c){return plb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},Skb=function(a,b,c){return Ukb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)})},ulb=function(a,b,c){return wlb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)})},Ilb=function(a,b,c){return K_b(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.ccs(b)})},Hlb=function(a,b,c){return L_b(a.editIssueService,
a.issueId,c).finally(function(){a.reconcileView.collaborators(b)})},bu=function(a,b){Lp(a.analytics,Mp.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return I_b(a.editIssueService,a.issueId,b)},Gmb=function(a,b){var c;return Ze(function(d){return(c=fra(b))?"DUPLICATE"===c?d.return(jFc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(H_b(a.editIssueService,a.issueId,c)):d.return()})};
u7.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(B(function(c){return b.editIssueService.savingState(c)}),Qf(function(c){return iq(c.propertiesBeingSaved,Cp(String(a)))}))};u7.prototype.getAccessLimitLevelDisplay=function(a){return KXa(a)};var cu=function(a,b){return"LIMIT_NONE"!==b&&"ACCESS_LEVEL_UNSPECIFIED"!==b||a};u7.\u0275fac=function(a){return new (a||u7)(A(tu),A(lK),A(QH),A(TJ),A(SJ),A(sJ),A(OH),A(CI),A(hJ),A(MQ),A(rE),A(S6),A(LH),A(X6),A(g7),A(TC))};
u7.\u0275cmp=r({type:u7,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[md],decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["peoplekitReporter",""],[3,"name","title","type","value","choices","readonly","disabled","valueChange"],[1,"flex-wrappable","flex-kids-y"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","hotkey","readonly","disabled","onHotkey","valueChange"],[1,"status-field-row"],[3,"name","title","type","value","choices","readonly","disabled",
"onedevHovercardActive","onedevHovercardTrigger","valueChange"],[3,"showTooltip$",4,"ngIf"],["class","bv2-issue-metadata-field",4,"ngIf"],["canonicalHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"effort","effortSpec","disabled","effortChange",4,"ngIf"],[1,"flex-kids-y"],["class","implicit-access-header flex-kids-x flex-cross-axis-centered flex-spread full-width",4,"ngIf"],[1,"flex-1"],["peoplekitAssignee",""],["peoplekitVerifier",""],["onlyCC",
""],[3,"readonly","defaultLineCount","title","type","values","tooltip",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","hidden-fields-separator",4,"ngIf"],[3,"titleWhenCollapsed","titleWhenExpanded",4,"ngIf"],["sloField",""],["severityField",""],["changelistsFields",""],["foundInField",""],["targetedToField",""],["verifiedInField",""],["inProdField",""],["forgottenFourFields",""],["customFieldTemplate",""],[4,"ngTemplateOutlet"],["class","issue-metadata-field-long",3,"readonly","defaultLineCount",
"title","type","values",4,"ngIf"],[1,"issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values"],["class","issue-metadata-field-short",4,"ngIf"],[1,"issue-metadata-field-short"],[3,"warningType","componentId","parentComponentId","teamSuggestions","updateTeam"],[3,"name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId","valueChange"],["reporterField",""],[3,"thinking"],[3,"user","teamId","disabled","emailChange"],["class","bv2-metadata-quick-action",
4,"ngIf"],[1,"bv2-metadata-quick-action"],[1,"bv2-field-label-spacer"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],[3,"showTooltip$"],[3,"customPositions","tooltipId"],["onedevTooltipTitle",""],[1,"bv2-issue-metadata-field"],[1,"bv2-issue-metadata-field-inner","bv2-readonly",3,"onedevFeatureTooltip","hideTooltipWhenAnchorNotVisible","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"bv2-editable-title"],[1,
"bv2-editable-value","access-level-info"],[1,"access-level-current-val"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["ialCard","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","target","_blank",1,"gmat-button","primary",3,"href"],[3,"onedevIsHovercardReady","issueId"],["canonicalCardBody",""],[3,"effort","effortSpec","disabled","effortChange"],[1,"implicit-access-header",
"flex-kids-x","flex-cross-axis-centered","flex-spread","full-width"],[1,"implicit-access-header-text"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["implicitAccessHelpBubble",""],["target","_blank",3,"href"],[3,"hotkey","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId","onHotkey","valueChange"],["assigneeField",""],["class","bv2-metadata-quick-action","tabindex","0","role","button",3,"hotkey","matTooltip","onHotkey","click","keydown.enter",
"keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"hotkey","matTooltip","onHotkey","click","keydown.enter","keydown.space"],["class","bv2-metadata-link",3,"disabled",4,"ngIf"],[1,"bv2-metadata-link"],[3,"hotkey","user","teamId","disabled","onHotkey","emailChange"],["userPicker","bUserPicker"],["actions",""],["class","bv2-metadata-link","tabindex","0","role","button",3,"click",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click"],["class",
"bv2-metadata-link","tabindex","0","role","button",3,"hotkey","matTooltip","disabled","onHotkey","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"hotkey","matTooltip","onHotkey","click","keydown.enter","keydown.space"],[1,"flex-1",3,"name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId","valueChange"],["verifierField",""],[3,"readonly","collaborators","collaboratorsUsers","listFieldDisabled","teamId",
"isCollapsible","additionAllowed","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig","valuesChange"],["collaboratorsField",""],[1,"value-action"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"disabled","matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["collaboratorsCard","onedevHovercard"],["mat-button","","href","https://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank",1,"gmat-button","primary"],
["title","CC","iconName","add_alert_24px",1,"full-width",3,"defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled","isCollapsible","isExpanded","collapsiblePanelTitle","teamId","valuesChange"],["ccsField",""],["title","CC",1,"full-width",3,"defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled","teamId","valuesChange"],[3,"readonly","defaultLineCount","title","type","values","tooltip"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"hidden-fields-separator"],
[3,"titleWhenCollapsed","titleWhenExpanded"],[3,"refreshable"],["tabindex","0",1,"issue-metadata-field-long",3,"sloStatus","sloSnoozeUntil","sloId","componentId","isEditable","issueCreationTimestamp","onSnoozeChange"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","readonly","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","values","listFieldDisabled","valuesChange"],[1,"title-action"],[3,"pressed",4,"ngIf"],[3,"pressed"],[1,"issue-metadata-field-short","issue-metadata-field-short-left",
3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],[3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],[3,"name","title","type","value","tooltip","readonly","disabled","valueChange"],[3,"issue","field","readonly","disabled","save"]],template:function(a,b){a&1&&(O(0,Hmb,84,107,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.issue$))},dependencies:[KW,ax,bx,gx,OW,IW,g4,b4,c4,d4,xO,XI,YI,bJ,ZI,o7,eM,o4,MW,m7,OB,qD,
ZL,I3,t7,LL,jT,XB,WC,ZC,$C,eK,hx],styles:["hr.hidden-fields-separator[_ngcontent-%COMP%]{margin-left:16px;margin-right:10px}.bv2-field-label-spacer[_ngcontent-%COMP%]{width:23%;display:inline-block;min-width:80px;max-width:120px;padding-right:10px}\n/*# sourceMappingURL=edit_issue_metadata.css.map */"]});var UFc={},VFc=(UFc.COMFORTABLE=330,UFc.COZY=300,UFc.COMPACT=270,UFc),v7=function(a){Z.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(B(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(B(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new T.Subject;this.currentSidebarWidth$=(0,T.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(Pf(void 0))]).pipe(B(function(c){var d=m(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:VFc[null!=c?c:"COMFORTABLE"]}));(0,T.combineLatest)([this.rightSidebarWidthChanged$.pipe(Df()),this.sidebarWidthPreference$]).pipe(sf(function(c){c=m(c);var d=c.next().value;return c.next().value!==d}),Qf(function(c){c=m(c);var d=c.next().value;
c.next();return EYb(b.userPreferencesManager,{rightSidebarWidth:d})}),Rf(this.destroyed$)).subscribe()};X(v7,Z);v7.\u0275dir=Z.\u0275dir;v7.prototype.ngOnInit=function(){};v7.\u0275fac=function(a){return new (a||v7)(A(CI))};
v7.\u0275cmp=r({type:v7,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[$f],decls:7,vars:7,consts:[[1,"a11y-only"],["direction","rtl",3,"disableToggleBtn","hideToggleBtnOnOpen","minWidth","size","widthChanged"],[1,"bv2-issue-metadata"],[1,"flex-kids-y"],[3,"issueId",4,"ngIf"],[3,"issueId"]],template:function(a,b){a&1&&(D(0,"h3",0),P(1,"Issue metadata"),E(),D(2,"b-resizable-sidebar",1),K("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),R(3,"async"),
D(4,"div",2)(5,"div",3),O(6,Imb,1,1,"edit-issue-metadata",4),E()()());if(a&2){var c;z(2);C("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=S(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);z(4);C("ngIf",b.issueId)}},dependencies:[bx,xM,u7,hx],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var w7=function(){};w7.prototype.watch=function(a,b){b=void 0===b?document.documentElement:b;return(0,T.concat)((0,T.defer)(function(){return(0,T.of)(document.getElementById(a))}),BYa(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(B(function(){return document.getElementById(a)}))).pipe(sf(Vj),Ef())};w7.\u0275fac=function(a){return new (a||w7)};w7.\u0275prov=Pc({token:w7,factory:w7.\u0275fac,providedIn:"root"});var x7=function(a){this.idWatch=a},WFc=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(Ef(),B(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};x7.\u0275fac=function(a){return new (a||x7)(n(w7))};x7.\u0275prov=Pc({token:x7,factory:x7.\u0275fac,providedIn:"root"});var y7=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new T.ReplaySubject(1);var e;this.issueId=null!=(e=this.routeParams.issueId)?e:""};
y7.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(WFc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Rf(this.destroyed$)).subscribe(),history&&history.pushState(null,"",this.paths.editIssue(this.issueId)+"#"+a.elementId))};y7.prototype.ngOnDestroy=function(){this.destroyed$.next()};
y7.\u0275fac=function(a){return new (a||y7)(n(x7),n(cH),n(JJ),n(O4))};y7.\u0275prov=Pc({token:y7,factory:y7.\u0275fac});var z7=function(a,b){Z.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(sf(Iua),Rf(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,f=null==(e=c.el.nativeElement)?void 0:e.scrollTop;f?window.sessionStorage.setItem(d,String(f)):window.sessionStorage.removeItem(d)});this.router.events.pipe(sf($o),Rf(this.destroyed$)).subscribe(function(d){Jmb(c.el.nativeElement,["scrollY",c.rememberScroll,d.url].join("-"))})};X(z7,Z);
z7.\u0275fac=function(a){return new (a||z7)(A(Yd),A(WG))};z7.\u0275dir=r({type:z7,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[$f]});var A7=function(){};A7.\u0275fac=function(a){return new (a||A7)};A7.\u0275mod=fd({type:A7});A7.\u0275inj=Qc({imports:[px,aH]});var Xmb=function(){return{exact:!0}},B7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na){Z.call(this);var xa=this;this.paramsService=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=f;this.appEvents=h;this.issueInteractionsTracking=l;this.checkBeforeExit=q;this.butterBar=u;this.routerEvents=x;this.devopsGraph=y;this.refreshMonitor=G;this.eventsForIssueFridge=J;this.issueFetchResponseFridge=M;this.hotlistFridge=V;this.permissionsFridge=U;this.issueRelationshipsFridge=
W;this.issueService=ba;this.errorHandler=pa;this.currentTracker=na;this.id$=xI(this.paramsService,"issueId").pipe(Df());this.issue$=this.id$.pipe(Qf(this.issueFridge.watch));this.issue404$=(0,T.combineLatest)([this.id$,this.issueFetchResponseFridge.error$]).pipe(B(function(Fa){var Ha=m(Fa);Fa=Ha.next().value;Ha=Ha.next().value;return Ha.idOrKey===Fa&&404===Ha.status}),Pf(!1));this.issueTrackerId$=this.issue$.pipe(B(function(Fa){return null==Fa?void 0:Fa.trackerId}));this.showTrackerRedirect$=(0,T.combineLatest)([this.currentTracker.trackerId$,
this.issueTrackerId$]).pipe(B(function(Fa){var Ha=m(Fa);Fa=Ha.next().value;Ha=Ha.next().value;return xa.shouldShowTrackerRedirect(Fa,Uj("")(Ha))}));this.snapshot$=this.issue$.pipe(B(function(Fa){return null==Fa?void 0:Fa.snapshot[0]}));this.archived$=this.snapshot$.pipe(B(function(Fa){return null==Fa?void 0:Fa.isArchived}));this.deleted$=this.snapshot$.pipe(B(function(Fa){return null==Fa?void 0:Fa.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(B(function(Fa){return Fa?
void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(B(function(Fa){return(null==Fa?void 0:Fa.isArchived)&&!(null==Fa?0:Fa.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(B(function(Fa){return(null==Fa?void 0:Fa.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(sf(Vj),B(function(Fa){return $m[Fa]}));this.issue$.pipe(B(function(Fa){var Ha;return null!=(Ha=null==Fa?void 0:Fa.snapshot[0].title)?Ha:""}));this.issuesBeingBlocked$=this.issue$.pipe(B(function(Fa){var Ha;
return null!=(Ha=null==Fa?void 0:Fa.snapshot[0].blockingIssueId)?Ha:[]}),Cf(1E3),Qf(this.issueFridge.watchSet));this.issue$.pipe(B(function(Fa){var Ha;return null!=(Ha=null==Fa?void 0:Fa.snapshot[0].duplicateIssueId)?Ha:[]}),Cf(1E3),Qf(this.issueFridge.watchSet));this.userHasReadAccess$=this.issueFetchResponseFridge.error$.pipe(B(function(Fa){if(403===Fa.status&&xa.activeSession.isInternalSession())return!1;xa.errorHandler.errorHandler(null,Fa);return!0}),Pf(!0),Nf({refCount:!0,bufferSize:1}));this.issueMetadata$=
(0,T.defer)(function(){return xa.id$}).pipe(sf(Vj),Qf(function(Fa){return xa.issueService.getMetadata(Fa)}),Nf({refCount:!0,bufferSize:1}));this.tabs=[{link:"./",title:"Comments",count$:this.counts.countCommentsDisplay$},{link:"./dependencies",title:"Dependencies",count$:this.counts.countDependenciesDisplay$},{link:"./dupes",title:"Duplicates",count$:this.counts.countDuplicateDisplay$},{link:"./blocking",title:"Blocking",count$:this.counts.countBlockedDisplay$},{link:"./resources",title:"Resources",
count$:this.counts.countResourcesDisplay$}].concat(p(Qp(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]))};X(B7,Z);B7.\u0275dir=Z.\u0275dir;B7.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
B7.prototype.ngOnInit=function(){var a=this,b,c,d;return Ze(function(e){if(1==e.nextAddress)return b=WB,c=b.assertExists,af(e,(0,T.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add(cO(a.checkBeforeExit,function(){return a.editIssueService.issueCommentDraft(d).comment().hasContent()},!1));a.subscriptions.add(a.routerEvents.routeChangeSuccess.subscribe(function(){a.butterBar.dismiss()}));a.subscriptions.add(a.issue$.pipe(sf(Vj),
Ef()).subscribe(function(f){SH(a.issueFridge,[f.issueId])}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+d);a.issueRelationshipsFridge.poke(d);VH(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(uWb);SH(a.issueFridge,[d])}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var f=a.issueInteractionsTracking,h=f.getState(d);f.trackDestroy("edit-count",
h.editCount);var l=Date.now()-h.startTime;q_b(f,l,"idp-time-on-page",h.variations);f.resetState(d);a.editIssueService.clear(d)});ef(e)})};B7.\u0275fac=function(a){return new (a||B7)(A(wI),A(QH),A(tu),A(TJ),A(lK),A(W5),A(uG),A(QJ),A(bO),A(mG),A(KH),A(W6),A(OH),A(JF),A(TH),A(xH),A(ZH),A(XH),A(NH),A(qG),A(qN))};
B7.\u0275cmp=r({type:B7,selectors:[["issue-details-wrapper"]],features:[Dg([HH,pK,{provide:UI,useClass:y7}]),$f],decls:10,vars:8,consts:[["class","a11y-only",4,"ngIf"],[4,"ngIf","ngIfThen","ngIfElse"],["showIssueDetails",""],["showTrackerRedirect",""],["showNoAccessScreen",""],[1,"a11y-only"],[4,"ngIf"],["class","flex-kids-y pos-fill",3,"issue-editor-false",4,"ngIf","ngIfElse"],[1,"flex-kids-y","pos-fill"],["class","border-bottom",3,"messageType","format","iconOverride",4,"ngIf"],["messageType","caution",
"class","border-bottom",3,"format","iconOverride",4,"ngIf"],["messageType","error","format","app","class","border-bottom",4,"ngIf"],["class","issue-header",4,"ngIf"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],["role","main","rememberScroll","center","cdkScrollable","",1,"flex-1","pos-rel","bg-off-main","overflow","overflow-on-print-media"],[3,"issueId",4,"ngIf"],[1,"border-bottom",3,"messageType","format","iconOverride"],["href","http://go/buganizer-issue-archive","target","_blank",
4,"ngIf"],["mat-button","","aria-label","Unarchive issue",3,"click",4,"ngIf"],["href","http://go/buganizer-issue-archive","target","_blank"],["mat-button","","aria-label","Unarchive issue",3,"click"],["messageType","caution",1,"border-bottom",3,"format","iconOverride"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank",4,"ngIf"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["messageType","error","format",
"app",1,"border-bottom"],["href","http://go/issue-retention","target","_blank",4,"ngIf"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click",4,"ngIf"],["href","http://go/issue-retention","target","_blank"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click"],[1,"issue-header"],[3,"issueId","trackerId"],[3,"issueId"],["mat-tab-nav-bar","","gmat-tabs",""],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions",
4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],["rla","routerLinkActive"],["style","margin-left: 4px;",4,"ngIf"],[2,"margin-left","4px"],[1,"bv2-limited-issue-view"],[3,"issue"],[3,"issueMetadata"]],template:function(a,b){a&1&&(O(0,Kmb,2,1,"h2",0),R(1,"async"),O(2,Lmb,1,0,"div",1),R(3,"async"),O(4,cnb,2,3,"ng-template",null,2,$g),O(6,dnb,3,3,"ng-template",null,3,$g),O(8,enb,3,3,"ng-template",null,4,$g));if(a&2){var c=N(5),d=N(9);C("ngIf",
S(1,4,b.id$));z(2);C("ngIf",S(3,6,b.userHasReadAccess$))("ngIfThen",c)("ngIfElse",d)}},dependencies:[ax,bx,MG,XG,YG,NA,ZM,$M,IN,Mz,qD,sS,tS,j7,r2,v7,z7,l7,k7,hx],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}"]});var C7=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new T.BehaviorSubject([]);this.tableColumns="focus-indicator title team id createdTime reporter menu".split(" ");this.initialSort={active:"createdTime",direction:"desc"};this.getMenuItems=function(d){return[{type:"action",label:"Remove duplicate",action:function(){c.removeDuplicate(d)},title:"Remove duplicate",icon:"clear"}]}};X(C7,Z);C7.\u0275dir=Z.\u0275dir;C7.prototype.ngOnInit=function(){};
C7.prototype.removeDuplicate=function(a){var b=this,c;return Ze(function(d){if(1==d.nextAddress)return $e(d,2),af(d,b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return Au(d,0);c=df(d);oG(b.butterBar,"Could not remove duplicate "+a+". "+c);ef(d)})};Ei.Object.defineProperties(C7.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
C7.\u0275fac=function(a){return new (a||C7)(A(QH),A(mG))};C7.\u0275cmp=r({type:C7,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[$f],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(O(0,fnb,2,4,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.duplicateIssueIds$))},dependencies:[bx,EP,hx],encapsulation:2,changeDetection:0});var D7=function(a,b,c,d,e){Z.call(this);var f=this;this.route=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.ROBOT_SLEEPING=c5b;this.id$=this.bestRoute.paramMap.pipe(B(function(h){return h.get("issueId")}),sf(Vj),Sf(function(h){f.lastKnownId=h}));this.dupeUrl$=this.id$.pipe(B(function(h){return{path:"/issues",params:{q:"canonicalid:"+h}}}));this.issue$=this.id$.pipe(Qf(this.issues.watch));this.duplicateIds$=this.issue$.pipe(B(function(h){var l;return null!=(l=null==h?void 0:
h.snapshot[0].duplicateIssueId)?l:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(Qf(function(h){return 0===h.length?(0,T.of)(0):f.counts.duplicatesDualCount$.pipe(B(function(l){return l.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(B(function(h){return 0<h}),Pf(!0));this.didChooseDupes=function(h){null!=f.lastKnownId&&iXb(f.issues,f.lastKnownId,h[0]).catch(f.gotErr)};this.gotErr=function(h){f.snackBar.open(Dn(h)||"Error with network request","close",{panelClass:"error"})}};
X(D7,Z);D7.\u0275dir=Z.\u0275dir;D7.prototype.isThinking=function(){return this.issues.isThinking()};var gnb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};Ei.Object.defineProperties(D7.prototype,{bestRoute:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.route.parent)?a:this.route}}});D7.\u0275fac=function(a){return new (a||D7)(A(ko),A(QH),A(ON),A(jG),A(W5))};
D7.\u0275cmp=r({type:D7,selectors:[["ng-component"]],features:[$f],decls:4,vars:4,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/duplicate-issue",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip",
"Add a duplicate to the current issue",1,"gmat-button","small",3,"click"],[1,"section-heading","muted"],["mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"gmat-button","small","add",3,"click"],[3,"issueId","duplicateIds",4,"ngIf"],[1,"margin-s-top","flex-kids-x","gap-s"],[3,"issueId","duplicateIds"],["mat-button","","color","primary",1,"gmat-button","small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(D(0,"section",0),
O(1,lnb,5,4,"ng-container",1),R(2,"async"),E(),O(3,mnb,2,0,"aside",2));a&2&&(z(1),C("ngIf",S(2,2,b.duplicateIds$)),z(2),C("ngIf",b.isThinking()))},dependencies:[bx,XG,NA,OA,qD,vN,C7,hx],styles:["[_nghost-%COMP%]{display:block;padding:8px}.section-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;padding-left:16px;line-height:1.3}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{margin-left:auto;margin-top:-8px;margin-bottom:-8px}[_nghost-%COMP%]     .remove-btn{opacity:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;margin:-16px 0}[_nghost-%COMP%]     ol a:hover .remove-btn{opacity:1}ol[_ngcontent-%COMP%]   a[disabled=true][_ngcontent-%COMP%]{background:transparent;opacity:.5;cursor:default}[_nghost-%COMP%]     ol a[disabled=true] .remove-btn{opacity:0}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:150px;min-height:163px}button.add[_ngcontent-%COMP%]{margin-left:16px}\n/*# sourceMappingURL=issue_duplicates.css.map */"]});var E7=function(){};E7.\u0275fac=function(a){return new (a||E7)};E7.\u0275mod=fd({type:E7});E7.\u0275inj=Qc({imports:[px,Ny,dz,ay,by,aH,BD,aN,lE,rD,gM,pN,AM,xN,$P]});var XFc=function(a){Y.call(this,a)};X(XFc,Y);g=XFc.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getCommentNumber=function(){return gj(this,2)};g.setCommentNumber=function(a){return k(this,2,a)};g.getPiiRetention=function(){return bk(this,3,0)};g.setPiiRetention=function(a){return k(this,3,a)};g.hasPiiRetention=function(){return Sk(this,3)};var F7=function(a){this.executor=a};F7.prototype.get=function(a,b,c){var d=String;a:{c=void 0===c?1:c;switch(c){case 0:case 1:c=1;break a;case 2:c=2;break a;case 3:c=3;break a;default:Qi(c)}c=void 0}return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:{"X-Restricted-Content-Limit":d(c)}},responseConstructor:$E})};
F7.prototype.updateRetention=function(a,b,c){c=(new XFc).setIssueId(a).setCommentNumber(b).setPiiRetention(c);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:$E}).pipe(B(Zl))};F7.\u0275fac=function(a){return new (a||F7)(n(nE))};F7.\u0275prov=Pc({token:F7,factory:F7.\u0275fac,providedIn:"root"});var YFc=function(a){Y.call(this,a)};X(YFc,Y);g=YFc.prototype;g.getIssueId=function(){return kk(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getAttachmentId=function(){return kk(this,2)};g.setAttachmentId=function(a){k(this,2,a)};g.getPiiRetention=function(){return bk(this,3,0)};g.setPiiRetention=function(a){return k(this,3,a)};g.hasPiiRetention=function(){return Sk(this,3)};var G7=function(a){this.executor=a};G7.prototype.updateRetention=function(a,b,c){var d=new YFc;d.setIssueId(a);d.setAttachmentId(String(b));d.setPiiRetention(c);return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:d,responseConstructor:YE}).pipe(B(pl))};G7.\u0275fac=function(a){return new (a||G7)(n(nE))};G7.\u0275prov=Pc({token:G7,factory:G7.\u0275fac,providedIn:"root"});var H7=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new vw};H7.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};H7.\u0275fac=function(a){return new (a||H7)};
H7.\u0275cmp=r({type:H7,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},decls:2,vars:2,consts:[[3,"muted",4,"ngIf"],["class","normal-link","target","_blank",3,"href","rel","click",4,"ngIf"],["target","_blank",1,"normal-link",3,"href","rel","click"]],template:function(a,b){a&1&&(O(0,nnb,2,3,"span",0),O(1,onb,2,3,"a",1));a&2&&(C("ngIf",
b.isGreyedOut||!b.linkEnabled),z(1),C("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[bx],encapsulation:2,changeDetection:0});var I7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V){Z.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=f;this.differs=h;this.paths=l;this.userAccess=q;this.butterBar=u;this.errorHandler=x;this.analytics=y;this.issueCommentDialogsService=G;this.issuePermissionService=J;this.editIssueService=M;this.routeParams=V;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1};X(I7,Z);I7.\u0275dir=Z.\u0275dir;I7.prototype.ngOnInit=function(){this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create());var a;this.attachmentRetentionOverride=null==(a=this.attachment)?void 0:a.piiRetention;ZFc(this);$Fc(this)};I7.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&(ZFc(this),this.cdr.markForCheck())};
I7.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var ZFc=function(a){a.actionMenuItems=[];aGc(a)&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."});bGc(a)&&a.actionMenuItems.push({type:"action",action:function(){N_b(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){gFc(a.issueCommentDialogsService,a.issueId,a.attachmentUploader===a.activeSession.getUserEmail(),a.attachment)},label:"Restriction settings..."});
if(a.isInternalSession&&a.isRestricted()&&a.isActive()){var b="COMPONENT_DEFAULT"===a.attachmentRetentionOverride;a.actionMenuItems.push({type:"action",action:function(){var c=b?2:1;fFc(a.issueCommentDialogsService,"attachment",c).then(function(d){d&&cGc(a,c)})},label:b?"Match issue retention...":"Revert to component retention..."})}};
I7.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,aG(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};I7.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
I7.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var snb=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("ff");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return GC(a,"download",b)};I7.prototype.isActive=function(){var a;if(null==(a=this.attachment)||!a.attachmentId)return!1;var b;return"ACTIVE"===(null==(b=this.attachment.entityStatus)?void 0:b.status)};
I7.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getPiiSeverity()};I7.prototype.getPiiSeverity=function(){var a;return ik(null==(a=this.attachment)?void 0:a.contentVerdict)};I7.prototype.getRestrictedLabel=function(){return $na(this.getPiiSeverity())};
var tnb=function(a){return(a=a.getPiiSeverity())?"bv2-restricted-content-limit-"+Zna(a):""},rnb=function(a,b){Lp(a.analytics,Mp.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(WT,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})},aGc=function(a){var b;if(null!=(b=a.attachment)&&b.attachmentId){b=a.issuePermissionService;var c=a.attachment;a=a.attachmentUploader;b=c?(c=c.entityStatus)&&"ACTIVE"===c.status?b.hasAclToAdmin()||b.isCurrentUser(a)?
!0:!1:!1:!1}else b=!1;return b},bGc=function(a){var b;if(null!=(b=a.attachment)&&b.attachmentId){b=a.issuePermissionService;var c=a.attachment;a=a.attachmentUploader;b=c?(c=c.entityStatus)&&"DELETED"===c.status?b.hasAclToAdmin()||b.isCurrentUser(a)?!0:!1:!1:!1}else b=!1;return b};I7.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var cGc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(Lp(a.analytics,Mp.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(Rf(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);nG(a.butterBar,"Attachment retention updated",4E3);
a.attachmentRetentionOverride=2===b?"INDEFINITE":"COMPONENT_DEFAULT";ZFc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;rG(a.errorHandler,"Attachment retention update failed")}})):rG(a.errorHandler,"Attachment id is missing")},$Fc=function(a){var b,c,d;Ze(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,rnb(a,d));ef(e)})};
I7.\u0275fac=function(a){return new (a||I7)(A(tu),A(hJ),A(JI),A(bB),A(G7),A(HH,2),A(Zw),A(cH),A($F),A(mG),A(qG),A(LH),A(R6),A(TJ),A(lK),A(JJ))};
I7.\u0275cmp=r({type:I7,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Dg([HH]),$f,md],decls:16,vars:8,consts:[[1,"bv2-issue-attachment-image"],["name","file-present","size","large",1,"bv2-issue-attachment-icon"],[1,"bv2-issue-attachment-filename"],[1,"bv2-issue-event-attachment-info"],[3,"label","retentionState","contentType",4,"ngIf"],["class","bv2-issue-attachment-overflow-menu",4,"ngIf"],[3,"class",4,"ngIf"],
[3,"panelTemplate"],["class","bv2-restricted-access-help-icon help-icon",4,"ngIf"],["restrictedAccessHelp",""],[3,"label","retentionState","contentType"],[1,"bv2-issue-attachment-overflow-menu"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler","customHandler"],[1,"bv2-restricted-access-help-icon","help-icon"],["aria-label","Restricted Access Help","mat-icon-button","","target","_blank",1,"help","small",3,
"href","disableRipple"],[3,"svgIcon"],[1,"implicit-access-help-bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(D(0,"div",0),F(1,"b-icon",1),E(),D(2,"div")(3,"div",2),P(4),D(5,"span",3),O(6,pnb,1,3,"b-restricted-chip",4),O(7,qnb,2,3,"span",5),E()(),D(8,"div"),P(9),O(10,unb,2,8,"span",6),O(11,vnb,2,8,"span",6),D(12,"xap-bubble",7),O(13,wnb,3,3,"span",8),O(14,xnb,4,1,"ng-template",null,9,$g),E()()());if(a&2){var c=N(15);z(4);Q(" ",b.getFilename()," ");z(2);C("ngIf",b.isRestricted());
z(1);C("ngIf",0<b.actionMenuItems.length);z(2);Q(" ",Wwa(b.getSize())," ");z(1);var d;a=b.isActive()&&Cna(null==(d=b.attachment)?void 0:d.contentType);C("ngIf",a);z(1);C("ngIf",b.isActive());z(1);C("panelTemplate",c);z(1);C("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[bx,OO,H7,nO,OA,OB,qD,y4,LL],encapsulation:2,changeDetection:0});var dGc=["commentActionsMenu"],eGc=["editDescription"],Snb=function(){return[]},J7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M){Z.call(this);var V=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=f;this.errorHandler=h;this.analytics=l;this.butterBar=q;this.userAccess=u;this.issueCommentDialogsService=x;this.issuePermissionService=y;this.commentHistoryDialogService=G;this.dateFormatter=J;this.issueFetchResponseFridge=
M;this.id$=new T.ReplaySubject(1);this.accessLevel$=this.id$.pipe(Qf(this.issueFridge.watch),B(function(U){var W;return null==U?void 0:null==(W=U.accessLimit)?void 0:W.accessLevel}));this.firstEvent$=new T.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(B(function(U){return U}));this.commentActionMenuItems$=new T.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=dp(this.firstEvent$.pipe(sf(Vj),B(function(U){return U.formattingMode})),"PLAIN");
this.isRedacted$=this.firstEvent$.pipe(sf(Vj),B(function(U){return U.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(sf(Vj),B(function(U){return"DELETED"===U.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,T.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(B(function(U){var W=m(U);U=W.next().value;W=W.next().value;return!(!U||W)}));this.isRestricted$=this.firstEvent$.pipe(sf(Vj),B(function(U){return ik(U.commentContentVerdict)}),B(function(U){if(!V.isInternalSession)return!1;
switch(U){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:Qi(U)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(sf(Vj),B(function(U){return U.commentRetention}));this.commentHistoryEnabled=Qp(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,T.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(B(function(U){var W=m(U);U=W.next().value;W=W.next().value;return!(!(Qp(V.activeSession,"enableCommentHistoryUi")&&
0<((null==U?void 0:U.commentVersion)||0))||W)}));this.canEditComment$=this.firstEvent$.pipe(Qf(function(U){return U?V.issuePermissionService.canEditComment$(U):(0,T.of)(!1)}),Nf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!ep(V.canEditComment$)};this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe(Qf(function(U){return U?V.mayReadPii():(0,T.of)(void 0)}));this.reporterUser$=this.id$.pipe(Qf(function(U){return V.issueFridge.watch(U)}),
B(function(U){var W;return null==U?void 0:null==(W=U.snapshot[0])?void 0:W.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(B(Vnb));this.firstEventReporterEmail$=this.firstEvent$.pipe(B(function(U){U=m((null==U?void 0:U.postDiffs)||[]);for(var W=U.next();!W.done;W=U.next())if(W=W.value,"reporter"===W.name)return W.newValue||"";return""}));this.onBehalfOfEmail$=(0,T.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(B(function(U){var W=m(U);U=
W.next().value;W=W.next().value;return U||W}));this.isAuthorNotReporter$=(0,T.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(B(function(U){var W=m(U);U=W.next().value;W=W.next().value;return U!==Vnb(null==W?void 0:W.userPerformingActionUser)}))};X(J7,Z);J7.\u0275dir=Z.\u0275dir;J7.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(Qf(function(b){return(0,T.defer)(function(){return aG(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){$i("error: ",c);return!1})})}))};
J7.prototype.ngOnInit=function(){var a=this;fGc(this,"PLAIN");this.id$.pipe(Qf(this.issueFetchResponseFridge.watch),B(function(b){return null==b?void 0:b.firstEvent}),Rf(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(Rf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=null!=b.commentDisplayOverride;a.initializeActionsMenu()});
this.formattingMode$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";fGc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(Rf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
J7.prototype.initializeActionsMenu=function(){var a=this,b=[];this.isFormattingOverrideEnabled||b.push({type:"submenu",label:"View as...",items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]});var c=ep(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){hqb(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:ep(this.isRedacted$)});
ep(this.isShowCommentHistoryActionInMenu$)&&c&&b.push({type:"action",action:function(){c.commentNumber&&a.showCommentHistoryDialog(c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Show editing history"});c&&t_b(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&dFc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&s_b(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){aFc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){eFc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&ep(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!ep(this.isDeleted$)){var d="COMPONENT_DEFAULT"===ep(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?2:1;fFc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}this.commentActionMenuItems$.next(b)};
var fGc=function(a,b){var c={};a.formattingModeMenuItems=(c.PLAIN={type:"select",action:function(){a.formattingMode$.next("PLAIN");a.initializeActionsMenu()},label:"Classic",selected:"PLAIN"===b},c.MARKDOWN={type:"select",action:function(){a.formattingMode$.next("MARKDOWN");a.initializeActionsMenu()},label:"Markdown",selected:"MARKDOWN"===b},c.LITERAL={type:"select",action:function(){a.formattingMode$.next("LITERAL");a.initializeActionsMenu()},label:"Source",selected:"LITERAL"===b},c)};
J7.prototype.updateCommentRetention=function(a){var b=this,c=ep(this.firstEvent$),d=ep(this.id$);c&&!c.commentNumber&&rG(this.errorHandler,"Comment number is missing");Lp(this.analytics,Mp.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(Rf(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);nG(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){rG(b.errorHandler,"Comment retention update failed")}})};
J7.prototype.loadRestrictedComment=function(a,b){var c=this;Lp(this.analytics,Mp.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=(null==b?void 0:b.commentNumber)||0;b=hk(ik(null==b?void 0:b.commentContentVerdict));a&&this.commentService.get(a,d,b).pipe(Ef(),Rf(this.destroyed$)).subscribe(function(e){e=Pl(e);e=Object.assign({},ep(c.firstEvent$),e);c.firstEvent$.next(e);c.initializeActionsMenu()},function(e){var f;oG(c.butterBar,"Error showing comment "+d+": "+(null==(f=e.error)?void 0:
f.message))})};J7.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};J7.prototype.getUserEmailIfAvailable=function(){var a;return Kj(null==(a=ep(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var ynb=function(a){var b=ep(a.firstEvent$);b&&hqb(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},Dnb=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=Gj(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",h2b(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
Ei.Object.defineProperties(J7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return ep(this.id$)}}});J7.\u0275fac=function(a){return new (a||J7)(A(JF),A(CI),A(QH),A(UI),A(tu),A(F7),A(qG),A(LH),A(mG),A($F),A(R6),A(TJ),A(BU),A(TL),A(TH))};
J7.\u0275cmp=r({type:J7,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(Sg(dGc,5),Sg(eGc,5));if(a&2){var c;Rg(c=Ug())&&(b.commentActionsMenu=c.first);Rg(c=Ug())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[$f],decls:4,vars:4,consts:[["id","comment1","class","flex-kids-x",4,"ngIf","ngIfElse"],["loading",""],["id","comment1",1,"flex-kids-x"],["svgIcon","description_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],[1,"flex-kids-x"],[1,"flex-1"],
[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","color","primary","class","gmat-button update-button small margin-xs-right","aria-label","Edit description",3,"click",4,"ngIf"],[3,"onedevHovercardTrigger","model"],["card",""],[3,"email"],[4,"ngIf"],["class","keep-focus-ring",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],["commentActionsMenu",""],[4,"ngIf","ngIfElse"],["showFirstComment",
""],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],["mat-stroked-button","","color","primary","aria-label","Edit description",1,"gmat-button","update-button","small","margin-xs-right",3,"click"],["editDescription",""],[3,"email","showEmail"],[1,"keep-focus-ring",3,"routerLinkObj","click"],[1,"muted",3,"matTooltip"],[1,"description-deleted"],["showNote",""],["class","critical-feature",3,"disabled","onConfirm",4,"ngIf"],[1,"critical-feature",3,"disabled","onConfirm"],["class",
"muted critical-feature",4,"ngIf"],["class","critical-feature",3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode"],[1,"muted","critical-feature"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&
1&&(O(0,Tnb,29,24,"div",0),R(1,"async"),O(2,Unb,1,0,"ng-template",null,1,$g));if(a&2){var c=N(3);C("ngIf",S(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[OO,I7,JL,ax,bx,UL,XI,bJ,rL,NA,OB,qD,A4,GN,vN,bM,cM,hx],styles:["[_nghost-%COMP%]{display:block}.description-deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-style:italic}"]});var K7=function(a,b,c,d){Z.call(this);this.prefs=a;this.cdr=b;this.analytics=c;this.butterBar=d;this.on$=this.prefs.showFullHistory$;this.isSaving=!1;this.tooltip$=this.on$.pipe(B(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),Pf(""))};X(K7,Z);K7.\u0275dir=Z.\u0275dir;
K7.prototype.onClick=function(){var a=this,b;return Ze(function(c){if(1==c.nextAddress)return a.isSaving?c.return():af(c,(0,T.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);ef(c)})};
K7.prototype.save=function(a){var b=this;Lp(this.analytics,Mp.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,T.firstValueFrom)(this.prefs.save({showFullHistory:a}));c.then(function(){b.isSaving=!1;b.cdr.markForCheck()});c.catch(function(){oG(b.butterBar,'Couldn\'t save "full history" setting.');b.isSaving=!1;b.cdr.markForCheck()});this.prefs.save({commentFilterPreferences:{commentFilter:a?"FULL_HISTORY":"ALL_COMMENTS"}}).pipe(Rf(this.destroyed$)).subscribe()};
K7.\u0275fac=function(a){return new (a||K7)(A(CI),A(Vw),A(LH),A(mG))};
K7.\u0275cmp=r({type:K7,selectors:[["smart-full-history-btn"]],features:[$f],decls:7,vars:16,consts:[["mat-icon-button","",1,"gmat-button",3,"matTooltip","disabled","click"],["svgIcon","history","class","icon-s",4,"ngIf"],[4,"ngIf"],["svgIcon","history",1,"icon-s"]],template:function(a,b){a&1&&(D(0,"button",0),K("click",function(){return b.onClick()}),R(1,"async"),R(2,"async"),R(3,"async"),R(4,"async"),O(5,Wnb,1,0,"mat-icon",1),O(6,Xnb,1,0,"b-spinner",2),E());a&2&&(pg("on",S(1,8,b.on$)),C("matTooltip",
S(2,10,b.tooltip$))("disabled",b.isSaving),dg("aria-pressed",S(3,12,b.on$))("aria-label",S(4,14,b.tooltip$)),z(5),C("ngIf",!b.isSaving),z(1),C("ngIf",b.isSaving))},dependencies:[bx,NA,OB,qD,vN,hx],styles:["mat-icon[_ngcontent-%COMP%] {\n      display: flex;\n      margin: 0 auto;\n    }\n    [_nghost-%COMP%]     .on .mat-spinner circle {\n      stroke: var(--text-inverse); \n    }"],changeDetection:0});var L7=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=f;this.activeSession=h;this.ISSUE_TYPE_TEXT=WSb;this.STATUS_JS_FULL_TEXT=$m;this.STATUS_JS_TERSE=SSb;this.DUPLICATE="DUPLICATE";this.id$=new T.ReplaySubject(1);this.issue$=this.id$.pipe(Qf(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(B(gob));this.textOfHotlistBtn$=this.hotlistIds$.pipe(B(function(q){var u;
return null!=(u=null==q?void 0:q.length)?u:0}),B(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(B(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(B(function(q){return null==q?void 0:q.snapshot[0].type}),B(function(q){return Roa[q]}));this.canonicalId$=this.issue$.pipe(B(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(B(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(B(function(q){return TSb[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(B(function(q){return l.computeStatusCssClass(q)}));this.HOTKEYS=yO;this.enableCommentFilters=Qp(this.activeSession,"enableCommentFiltering")};X(L7,Z);L7.\u0275dir=Z.\u0275dir;L7.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+Wk[a]};
var cob=function(a){return Ze(function(b){return af(b,L7b(a.hotlistPickerService,a.issue$),0)})},aob=function(a,b){var c,d;return Ze(function(e){switch(e.nextAddress){case 1:return af(e,(0,T.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;RJ(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});$e(e,3,4);var f=hXb(a.issueFridge,c,[],[String(b)]);return af(e,f,6);case 6:return af(e,a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:bf(e);a.eventsForIssueFridge.poke(c);cf(e,
0);break;case 3:d=df(e),sG(a.errorHandler,d),e.jumpTo(4)}})};Ei.Object.defineProperties(L7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});L7.\u0275fac=function(a){return new (a||L7)(A(QH),A(JF),A(cR),A(QJ),A(qG),A(mz),A(tu))};
L7.\u0275cmp=r({type:L7,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[$f],decls:14,vars:13,consts:[[1,"flex-kids-x","gap-s"],[1,"chip-container","border-right","padded-s-right"],[4,"ngIf"],[3,"class",4,"ngIf"],[3,"issuePriority"],["class","flex-1 hotlist-container chip-container",4,"ngIf"],["class","thread-filters",4,"ngIf"],["canonicalHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"title"],["class","type-s nowrap",4,"ngIf"],
[1,"type-s","nowrap"],[3,"routerLink","onedevHovercardTrigger"],[1,"flex-1","hotlist-container","chip-container"],["mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"gmat-button","small","add-hotlists-btn",3,"hotkey","onHotkey","click"],["svgIcon","add",1,"icon-xs"],["removable","check-acl",3,"id","removeHotlist",4,"ngFor","ngForOf"],["removable","check-acl",3,"id","removeHotlist"],[1,"thread-filters"],[3,"onedevIsHovercardReady","issueId"],["canonicalCardBody",""]],
template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),O(2,Znb,6,10,"div",2),R(3,"async"),O(4,$nb,2,4,"span",3),R(5,"async"),F(6,"b-issue-priority-display",4),R(7,"async"),E(),O(8,dob,6,5,"div",5),R(9,"async"),O(10,eob,2,0,"div",6),E(),D(11,"onedev-hovercard",null,7),O(13,fob,3,4,"b-issue-card",8),E());a&2&&(z(2),C("ngIf",S(3,5,b.statusForChip$)),z(2),C("ngIf",S(5,7,b.type$)),z(2),C("issuePriority",S(7,9,b.priority$)),z(2),C("ngIf",S(9,11,b.hotlistIds$)),z(2),C("ngIf",!b.enableCommentFilters))},dependencies:[ax,
bx,xO,GY,XI,YI,bJ,ZI,eM,aQ,NA,OB,qD,XG,K7,hx],styles:["[_nghost-%COMP%]{display:block}.add-hotlists-btn[_ngcontent-%COMP%], button.gmat-button[_ngcontent-%COMP%]:not(.mat-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px}.add-hotlists-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);margin:0 -2px;margin-top:-3px}.chip-container[_ngcontent-%COMP%]{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;line-height:22px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-chip{margin-right:0}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container .chip, [_nghost-%COMP%]     .chip-container b-access-level-indicator .label{line-height:22px;height:22px}[_nghost-%COMP%]     .chip-container b-access-level-indicator .label{border-radius:11px}[_nghost-%COMP%]     .chip-container .b-chip.status{-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px}.thread-filters[_ngcontent-%COMP%]{margin-top:-9px}\n/*# sourceMappingURL=issue_description_area.css.map */"],
changeDetection:0});var gGc=["commentThreadActions"],hob=function(a,b){return[a,b]},M7=function(a,b,c,d,e,f){Z.call(this);var h=this;this.preferences=a;this.activeSession=b;this.clearcut=c;this.scrolledOnScreenService=d;this.featureTooltipService=e;this.analytics=f;this.enableCommentFilters=Qp(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;this.filters=sob(this.activeSession.isInternalSession());this.showRecentEventsFirst=!1;this.TOOLTIP_POSITIONS=TB;this.COMMENT_THREAD_ACTIONS_FEATURE_TOOLTIP_ID=
"commentThreadActionsFeatureTooltip";this.showFeatureTooltip$=VC(this.featureTooltipService,"HIDDEN",["commentThreadActionsFeatureTooltip"]).pipe(sf(function(l){return 0===l.length}),Qf(function(){return qOb(h.featureTooltipService)}),Cf(1E3),Qf(function(){var l,q=null==(l=h.commentThreadActions)?void 0:l.nativeElement;return q?h.scrolledOnScreenService.getObservable(q):(0,T.of)(!1)}),sf(Boolean),B(function(){}))};X(M7,Z);M7.\u0275dir=Z.\u0275dir;
M7.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(sf(Vj),Rf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(Rf(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=qob(b.commentFilter):(a.selectedFilter=DI(a.preferences).showFullHistory?nob:du,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(Rf(a.destroyed$)).subscribe())})};
M7.\u0275fac=function(a){return new (a||M7)(A(CI),A(tu),A(zH),A(yM),A(TC),A(LH))};
M7.\u0275cmp=r({type:M7,selectors:[["b-event-stream-header"]],viewQuery:function(a,b){a&1&&Sg(gGc,5,Yd);if(a&2){var c;Rg(c=Ug())&&(b.commentThreadActions=c.first)}},features:[$f],decls:10,vars:6,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[3,"showTooltip$",4,"ngIf"],[1,"flex-kids-x",3,"onedevFeatureTooltip","hideTooltipWhenAnchorNotVisible"],["commentThreadActions",""],["appearance","outline","class","filter-select",4,"ngIf"],["mat-stroked-button","","color","primary",1,"gmat-button",
"sort-order-button",3,"click"],[4,"ngIf"],[3,"showTooltip$"],[3,"customPositions","tooltipId"],["onedevTooltipTitle",""],["appearance","outline",1,"filter-select"],[3,"value","valueChange","selectionChange"],["class","filter-option",3,"value",4,"ngFor","ngForOf"],[1,"filter-option",3,"value"],[1,"filter-option-name"],[1,"filter-option-description"],["svgIcon","arrow-downward",1,"sort-order-arrow","icon-xs"],["svgIcon","arrow-upward",1,"sort-order-arrow","icon-xs"]],template:function(a,b){a&1&&(D(0,
"div",0)(1,"h4",1),P(2,"Comments"),E(),O(3,iob,5,6,"onedev-feature-tooltip-controller",2),D(4,"div",3,4),O(6,kob,5,3,"mat-form-field",5),D(7,"button",6),K("click",function(){To("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;BH(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(Rf(b.destroyed$)).subscribe()}),O(8,lob,4,0,"ng-container",7),O(9,mob,4,0,"ng-container",7),E()()());a&2&&(z(3),C("ngIf",b.enableCommentFilters),z(1),C("onedevFeatureTooltip",
b.COMMENT_THREAD_ACTIONS_FEATURE_TOOLTIP_ID)("hideTooltipWhenAnchorNotVisible",!0),z(2),C("ngIf",b.enableCommentFilters),z(2),C("ngIf",!b.showRecentEventsFirst),z(1),C("ngIf",b.showRecentEventsFirst))},dependencies:[ax,bx,OB,NA,qB,EM,DM,PA,XB,WC,ZC,$C],styles:[".sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-button[_ngcontent-%COMP%]   .mat-button-wrapper[_ngcontent-%COMP%]{display:inline-block;height:24px}.sort-order-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;height:24px;line-height:20px}.sort-order-arrow[_ngcontent-%COMP%]{padding-right:4px;padding-bottom:4px}[_nghost-%COMP%]     .filter-select{max-width:165px;margin-right:8px}[_nghost-%COMP%]     .filter-select .mat-form-field{min-width:70px}[_nghost-%COMP%]     .filter-select .mat-form-field .mat-form-field-flex{cursor:default}[_nghost-%COMP%]     .filter-select .mat-form-field-wrapper{padding:0;margin:0}[_nghost-%COMP%]     .filter-select .mat-select-arrow-wrapper{-webkit-transform:none;transform:none}[_nghost-%COMP%]     .mat-form-field-infix{border-top-width:8px;padding:0 0 5px}[_nghost-%COMP%]     mat-select-trigger{color:#1967d2;color:var(--primary-c700);font-size:.875rem;letter-spacing:.0107142857em;font-family:Google Sans,Roboto,Arial,sans-serif;font-weight:500}[_nghost-%COMP%]     .mat-select-arrow{color:#1967d2;color:var(--primary-c700)}  .mat-select-panel .mat-option.filter-option{height:48px}.filter-option[_ngcontent-%COMP%]   .filter-option-name[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-select-value .filter-option-name{line-height:20px;font-size:.94rem}.filter-option[_ngcontent-%COMP%]   .filter-option-description[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-select-value .filter-option-description{line-height:20px;color:#5f6368;color:var(--text-muted);font-size:.8125rem}  .mat-select-panel .mat-option.filter-option.mat-active{background-color:#e8f0fe;background-color:var(--selected-bg-muted)}  .mat-select-panel .mat-option.filter-option.mat-active .filter-option-name{color:#174ea6;color:var(--primary-c900)}  .mat-select-panel .mat-option.filter-option.mat-active .filter-option-description{color:#185abc;color:var(--primary-high-contrast)}"]});
var nob={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},du={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},oob={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},pob={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},rob=[nob,du,oob,pob];var N7=function(a){this.matDialogService=a;this.reactionState$=new T.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(sf(Vj),B(function(b){return b.recentResponders.map(function(c){return c.emailAddress||c.obfuscatedEmailAddress||""}).filter(function(c){return""!==c}).slice(0,5)}));this.isOverflowReactionCount$=this.reactionState$.pipe(sf(Vj),B(function(b){return 5<b.count}));this.overflowReactionCount$=this.reactionState$.pipe(sf(Vj),sf(function(b){return 5<b.count}),B(function(b){return b.count-
5}))};Ei.Object.defineProperties(N7.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});N7.\u0275fac=function(a){return new (a||N7)(A(bB))};
N7.\u0275cmp=r({type:N7,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:6,vars:6,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"normal-link","hover-link","unstyled-button",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),O(2,vob,6,5,"ng-container",2),R(3,"async"),
O(4,wob,6,3,"span",3),R(5,"async"),E()());a&2&&(z(2),C("ngForOf",S(3,2,b.emails$)),z(2),C("ngIf",S(5,4,b.isOverflowReactionCount$)))},dependencies:[ax,bx,hx],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var O7=function(){};O7.\u0275fac=function(a){return new (a||O7)};O7.\u0275cmp=r({type:O7,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},decls:1,vars:1,consts:[[4,"ngIf"],["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&O(0,yob,7,2,"ng-container",0);a&2&&C("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[bx,UL],encapsulation:2,changeDetection:0});var P7=function(){this.texts=[]};P7.prototype.getIssueId=function(a){return a.text};P7.prototype.trackByIndex=function(a){return a};P7.\u0275fac=function(a){return new (a||P7)};
P7.\u0275cmp=r({type:P7,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngSwitch"],[3,"email","withProfile",4,"ngSwitchCase"],[3,"href","issueId",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&O(0,Cob,5,3,"ng-container",0);a&2&&C("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[dJ,ax,cx,dx,ex,lN],encapsulation:2,changeDetection:0});var Q7=function(a){this.hotlists=a;this.HOTLIST_SEARCH=au.HOTLIST_SEARCH};Q7.\u0275fac=function(a){return new (a||Q7)(A(xH))};Q7.\u0275cmp=r({type:Q7,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(D(0,"a",0),P(1),R(2,"async"),E());if(a&2){var c;C("href",b.HOTLIST_SEARCH(b.id),ue);z(1);Bg((null==(c=S(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[hx],encapsulation:2,changeDetection:0});var R7=function(a){var b=this;this.componentFridge=a;this.id$=new T.ReplaySubject(1);this.name$=this.id$.pipe(Df(),Qf(function(c){return b.componentFridge.watchOne(c).pipe(B(function(d){var e;return d?dXa(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};R7.prototype.ngOnChanges=function(){this.id$.next(this.id)};R7.\u0275fac=function(a){return new (a||R7)(A(OF))};
R7.\u0275cmp=r({type:R7,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[md],decls:6,vars:4,consts:[[3,"onedevHovercardTrigger"],["thisHovercard","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(D(0,"span",0),P(1),R(2,"async"),E(),D(3,"onedev-hovercard",null,1),O(5,Dob,3,2,"ng-container",2),E());if(a&2){var c=N(4);C("onedevHovercardTrigger",c);z(1);Bg(S(2,2,b.name$)||b.id)}},dependencies:[XI,YI,
bJ,ZI,EU,hx],encapsulation:2,changeDetection:0});var Vob=function(a){return{"bv2-diff-newvalue-nextline":a}},opb=function(a,b,c){return{diff:a,change:b,isLast:c}},S7=function(a,b){Z.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=qj;this.isLinkedItemArray=cra;this.isIssueDiff=$qa;this.isHotlistDiff=ara};X(S7,Z);S7.\u0275dir=Z.\u0275dir;S7.prototype.getAccessLimitLevel=function(a){return KXa(a)};
var hGc=function(a){if(2>a.internalDiffs.length)return!1;var b=a.internalDiffs[0];a=a.internalDiffs.slice(1).find(function(e){return e.timestamp&&e.timestamp!==b.timestamp});if(!a)return!1;var c,d;return(null!=(c=b.timestamp)?c:0)<=(null!=(d=a.timestamp)?d:0)},iGc=function(a){if(2>a.internalDiffs.length)return!1;var b=a.internalDiffs[0];a=a.internalDiffs.slice(1).find(function(e){return e.timestamp&&e.timestamp!==b.timestamp});if(!a)return!1;var c,d;return(null!=(c=b.timestamp)?c:0)>=(null!=(d=a.timestamp)?
d:0)};S7.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(sf(Vj),Rf(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&hGc(a)||!b&&iGc(a))&&a.internalDiffs.reverse()})};S7.prototype.trackByIndex=function(a){return a};
var Apb=function(a,b,c){return"<none>"===jc(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},Bpb=function(a,b,c){return"<none>"===jc(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};S7.prototype.asNumber=function(a){return Number(a)};
S7.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};Ei.Object.defineProperties(S7.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(p(a))}}});S7.\u0275fac=function(a){return new (a||S7)(A(tu),A(CI))};
S7.\u0275cmp=r({type:S7,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[$f],decls:6,vars:2,consts:[[1,"bv2-event-details"],["class","bv2-diff-row",4,"ngFor","ngForOf","ngForTrackBy"],["changeCollection",""],["effortNameDisabled",""],[1,"bv2-diff-row"],[4,"ngIf"],["mode","time",1,"float-right",3,"timestamp"],[3,"ngSwitch"],["class","bv2-diff-detail",4,"ngSwitchCase"],["class","bv2-diff-detail",
4,"ngSwitchDefault"],[1,"bv2-diff-detail"],[4,"ngIf","ngIfElse"],["nonEffortFieldNames",""],[1,"bv2-diff-arrow"],[3,"email","showEmail"],[3,"id"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],[3,"email","showEmail",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["title","For more detail, click on the three-dot menu near status update",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["title","For more detail, click on the three-dot menu near status update"],
[1,"muted","inline-block","margin-none","unhandled-diff-type"],["notIssue",""],[3,"href","issueId"],["plainLink",""],["target","_blank",3,"href"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,Rpb,2,1,"div",1),E(),O(2,$pb,1,1,"ng-template",null,2,$g),O(4,aqb,2,0,"ng-template",null,3,$g));a&2&&(z(1),C("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[$w,ax,bx,gx,cx,dx,ex,UL,bM,dJ,Q7,R7,lx],styles:["\n/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var T7=function(a){Z.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(Rf(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case void 0:b.formattingModeOverride=void 0;break;default:Qi(c.commentDisplayOverride)}})};X(T7,Z);T7.\u0275dir=Z.\u0275dir;
T7.prototype.ngOnInit=function(){};T7.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";var a=this.rawComment.split("\n").slice(0,3).filter(Boolean);this.rawComment=2>a.length?Ywa(this.rawComment,250):"MARKDOWN"===this.formattingMode||"MARKDOWN"===this.formattingModeOverride?a.join("\n\n"):a.join("\n");this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
T7.\u0275fac=function(a){return new (a||T7)(A(CI))};
T7.\u0275cmp=r({type:T7,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[$f,md],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&F(0,"b-live-preview",0);a&2&&C("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[IL],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var jGc=["commentActionsMenu"],kGc=["commentReactionButton"],kqb=function(){return[]},Aqb=function(a){return{"no-upvote-reactions":a}},U7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba){Z.call(this);var pa=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=f;this.butterBar=h;this.errorHandler=l;this.analytics=q;this.userPreferencesManager=u;this.issueDetailsBrain=x;this.editIssueService=y;this.issuePermissionService=G;
this.commentHistoryDialogService=J;this.issueCommentDialogsService=M;this.dateFormatter=V;this.paths=U;this.domSafe=W;this.eventsForIssueFridge=ba;this.isSummarized=!1;this.issueId$=new T.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Df());this.event$=new T.ReplaySubject(1);this.isCommentEvent=gn;this.isNonObfuscatedEmail=wp;this.commentActionMenuItems$=new T.BehaviorSubject([]);this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();
this.formattingMode="PLAIN";this.commentRetentionOverride=null;this.wasSummarized=!1;a={};this.formattingModeMenuItems=(a.PLAIN={type:"select",action:function(){pa.formattingMode="PLAIN";pa.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){pa.formattingMode="MARKDOWN";pa.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){pa.formattingMode="LITERAL";pa.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(Qf(function(na){return pa.issuePermissionService.canEditComment$(na)}),Nf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!ep(pa.canEditComment$)};this.commentHistoryEnabled=Qp(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=Qp(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(Qf(function(na){return pa.editIssueService.editableIssue$(na)}));this.modifiedDateDisplay$=this.event$.pipe(B(function(na){return new Date(na.modifiedDate)}),Qf(function(na){return h2b(pa.dateFormatter,na)}));this.ariaLabelHeading$=(0,T.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(B(function(na){var xa=m(na);na=xa.next().value;xa=xa.next().value;if(null==na)na="";else{var Fa=[];na.commentNumber&&Fa.push("Comment #"+
na.commentNumber);na.userPerformingActionUser&&Fa.push(Gj(na.userPerformingActionUser));Fa.push("Modified: "+xa);na=Fa.join(", ")}return na}));this.ReactionType=FQb;this.upvoteReactionCount$=this.event$.pipe(B(function(na){var xa,Fa,Ha;return null!=(Ha=null==(xa=na.commentReactions)?void 0:null==(Fa=xa.get("UPVOTE"))?void 0:Fa.count)?Ha:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(B(function(na){return na&&0!==na?999<na?"999+":String(na):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(B(function(na){return 0===na}));this.commentReactionsHovercardConfig=Object.assign({},new $I,{position:[fZb]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(B(function(na){var xa;return null!=(xa=na.commentFilter)?xa:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(B(function(na){return"FULL_HISTORY"===
na}));this.preEventDiffs$=(0,T.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(B(function(na){na=m(na);var xa=na.next().value;return na.next().value?xa.postDiffs:xa.preDiffs}));this.postEventDiffs$=(0,T.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(B(function(na){na=m(na);var xa=na.next().value;return na.next().value?xa.preDiffs:xa.postDiffs}));this.hasAclToUpvoteReact$=(0,T.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(B(function(na){var xa=
m(na);na=xa.next().value;xa=xa.next().value;var Fa,Ha;return(null==(Fa=na.commentReactions)?void 0:null==(Ha=Fa.get("UPVOTE"))?void 0:Ha.hasReacted)||xa}));this.showCommentReactionHovercard$=(0,T.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(B(function(na){var xa=m(na);na=xa.next().value;xa=xa.next().value;return na&&0<xa&&5>=xa}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(B(function(na){return na&&Iqb(pa)&&(0<pa.event.preDiffs.length||
0<pa.event.postDiffs.length)}));this.getCommentNumberLink=function(na){return Ln(pa.issueId,{comment:na})}};X(U7,Z);U7.\u0275dir=Z.\u0275dir;
U7.prototype.ngOnInit=function(){var a=this;this.event.commentNumber&&this.el.nativeElement.setAttribute("id","comment"+this.event.commentNumber);this.commentRetentionOverride=this.event.commentRetention;this.event$.pipe(Rf(this.destroyed$)).subscribe(function(){gn(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,T.of)(void 0)});lGc(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(Rf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(Rf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var lGc=function(a){if(a.formattingMode){for(var b=m(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};g=U7.prototype;
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||rG(this.errorHandler,"Comment number is missing");Lp(this.analytics,Mp.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(Rf(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});nG(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=2===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){rG(b.errorHandler,"Comment retention update failed")}})};
g.ngOnChanges=function(a){a.issueId&&this.issueId$.next(String(this.issueId));a=a.event;var b;if(b=a&&this.deobfuscatedEvent)b=a.previousValue,a=a.currentValue,b=(null==b?void 0:b.commentVersion)!==(null==a?void 0:a.commentVersion)||(null==b?void 0:b.commentContentVerdict)!==(null==a?void 0:a.commentContentVerdict);b&&(this.deobfuscatedEvent=void 0);this.event.formattingMode&&("UNSPECIFIED_FORMATTING_MODE"===this.event.formattingMode?this.formattingMode="PLAIN":this.formattingMode=this.event.formattingMode);
this.initializeActionsMenu()};g.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};g.getRestrictedLabel=function(){return $na(ik(this.event.commentContentVerdict))};g.isRestricted=function(){if(!this.isInternalSession)return!1;var a=ik(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:Qi(a)}};
g.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var fu=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
U7.prototype.loadRestrictedComment=function(){var a=this;Lp(this.analytics,Mp.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=String(this.issueId),c=this.event.commentNumber||0,d=hk(ik(this.event.commentContentVerdict));this.commentService.get(b,c,d).pipe(Ef()).subscribe(function(e){e=Pl(e);a.deobfuscatedEvent=Object.assign({},a.event,e);a.initializeActionsMenu()},function(e){var f;oG(a.butterBar,"Error showing comment "+c+": "+(null==(f=e.error)?void 0:f.message))})};
U7.prototype.initializeActionsMenu=function(){var a=this,b=[];if(this.isCommentEvent(this.event)&&(this.isFormattingOverrideEnabled||(b.push({type:"submenu",label:"View as",items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]}),lGc(this)),this.canEditComment()&&b.push({type:"action",action:function(){hqb(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:fu(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!fu(this)&&b.push({type:"action",action:function(){a.event.commentNumber&&a.showCommentHistoryDialog(a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Show comment history"}),!this.canonicalIssueId||this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){var d=a.paths.editIssue(a.canonicalIssueId,{template_issue:a.issueId,
template_comment:a.event.commentNumber,do_attribution:!0});a.domSafe.openInNewTab(d);a.commentActionsMenu.actionsMenuIconButton.focus()},label:"Copy to canonical issue",disabled:fu(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){ZEc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:fu(this)}),t_b(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){dFc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),s_b(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){aFc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"}),this.isInternalSession&&
b.push({type:"action",action:function(){eFc(a.issueCommentDialogsService,String(a.issueId),a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings"}),this.isInternalSession&&this.isRestricted()&&this.issuePermissionService.canChangeCommentRetention()&&!this.isDeleted())){var c="COMPONENT_DEFAULT"===this.commentRetentionOverride;b.push({type:"action",action:function(){var d=c?2:1;fFc(a.issueCommentDialogsService,"comment",d).then(function(e){a.commentActionsMenu.actionsMenuIconButton.focus();
e&&a.updateCommentRetention(d)})},label:c?"Match issue retention":"Revert to component retention"})}this.commentActionMenuItems$.next(b)};U7.prototype.getUserEmailIfAvailable=function(){return Kj(this.event.userPerformingActionUser)};var Iqb=function(a){return gn(a.event)&&!!a.event.unlinkifiedComment};U7.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
U7.prototype.mayReadPii=function(){var a=aG(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){$i("error: ",b);return!1});return(0,T.from)(a)};
var yqb=function(a){if(ep(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=Bqb(a,"UPVOTE"),c;a.issueCommentDialogsService.updateCommentReaction({issueId:a.issueId,commentId:null!=(c=a.event.commentNumber)?c:2,reactionType:"UPVOTE",hasReacted:!b}).then(function(d){a.commentReactionIsSaving=!1;if(d){var e=a.event;e.commentReactions=d;a.event$.next(e);HF(a.eventsForIssueFridge,a.issueId,function(f){var h;f.events=sra(f.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});Lp(a.analytics,
Mp.EDIT_ISSUE,"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},Bqb=function(a,b){var c,d,e;return null!=(e=null==(c=a.event.commentReactions)?void 0:null==(d=c.get(b))?void 0:d.hasReacted)?e:!1},zqb=function(a,b){var c;a=null==(c=a.event.commentReactions)?void 0:c.get(b);if(!a)return"Comment reaction button";b="UPVOTE"===b?"Thumbs up":"";1===a.count?b+=", "+a.count+" reaction":1<a.count&&(b+=", "+a.count+" reactions");a.hasReacted&&(b+=", reacted");return b};
Ei.Object.defineProperties(U7.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});U7.\u0275fac=function(a){return new (a||U7)(A(hJ),A(tu),A(UI),A(F7),A(Yd),A($F),A(mG),A(qG),A(LH),A(CI),A(SJ),A(lK),A(TJ),A(BU),A(R6),A(TL),A(cH),A(JI),A(JF))};
U7.\u0275cmp=r({type:U7,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(Sg(jGc,5),Sg(kGc,5));if(a&2){var c;Rg(c=Ug())&&(b.commentActionsMenu=c.first);Rg(c=Ug())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[$f,md],decls:2,vars:3,consts:[[4,"ngIf"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user"],[3,"user","email",
"teamId",4,"ngIf","ngIfElse"],["plainUserDisplayName",""],[4,"ngIf","ngIfElse"],["emailDisplay",""],["class","bv2-edit-comment-button","matTooltip","Edit Comment","aria-label","Edit Comment",3,"click",4,"ngIf"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState",4,"ngIf"],["mode","datetime",3,"timestamp"],["class","issue-detail-actions",3,"buttonLabel","menuItems",4,"ngIf"],[1,"float-clear"],["class","bv2-event-major-status",4,"ngIf"],[3,"diffs","customFieldMap",
"effortSpecName","effortEnabled",4,"ngIf"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],["class","muted italic",4,"ngIf"],[3,"disabled","onConfirm",4,"ngIf"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time","class","muted type-s",3,"timestamp",4,"ngIf"],["class","align-self-flex-end",4,"ngIf"],["class","bv2-event-note-edit-timestamp",
4,"ngIf"],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],[3,"user","email","teamId"],[1,"bv2-event-user-name",3,"model"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"bv2-event-user-id"],[1,"keep-focus-ring","vertical-centered",3,"routerLinkObj","click"],["matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button",3,"click"],["content-type","comment",3,"label","retention","retentionState"],[1,"issue-detail-actions",
3,"buttonLabel","menuItems"],["commentActionsMenu",""],[1,"bv2-event-major-status"],[3,"texts"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"muted","italic"],[3,"disabled","onConfirm"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-button","",1,"summarized-note-button",3,"click"],["svgIcon","arrow-down",1,"icon-m"],["svgIcon","arrow-up",1,"icon-m"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],["mat-stroked-button","",1,"comment-reaction-button",
3,"ariaLabel","ngClass","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive","click"],["commentReactionButton",""],["svgIcon","thumb_up_24px","class","icon-s",4,"ngIf"],["svgIcon","thumb_up_filled_24px","class","icon-s has-reacted-icon",4,"ngIf"],["commentReactionCard","onedevHovercard"],[3,"reactionState","issueId","commentNumber",4,"ngIf"],["svgIcon","thumb_up_24px",1,"icon-s"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],[3,"reactionState","issueId","commentNumber"],
[1,"bv2-event-note-edit-timestamp"],[3,"event"],[3,"click",4,"ngIf"],[3,"click"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(O(0,Jqb,43,33,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.issue$))},dependencies:[OO,I7,JL,$w,ax,bx,gx,UL,XI,bJ,S7,rL,y4,A4,GN,kN,cM,mN,qD,T7,
NA,OB,N7,O7,P7,hx],styles:[".bv2-event-user[_ngcontent-%COMP%]{font-weight:400;margin:0;margin-bottom:12px}.bv2-event-user[_ngcontent-%COMP%]   b-user-membership-chip[_ngcontent-%COMP%]{margin-left:-8px}.bv2-event-user   .d-cozy[_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%], .d-cozy   [_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%]{margin-bottom:10px}.bv2-event-user   .d-compact[_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%], .d-compact   [_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%]{margin-bottom:8px}.summarized-note-button[_ngcontent-%COMP%]{color:#202124;color:var(--text-default);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-top:8px;margin-left:-22px}.summarized-note-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{padding-right:8px}.comment-reaction-button[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;color:#3c4043;color:var(--gfx);min-width:20px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:8px;margin-right:6px}.comment-reaction-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.comment-reaction-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.comment-reaction-button[_ngcontent-%COMP%]:focus:enabled:not(.comment-reaction-button[aria-disabled=true]), .comment-reaction-button[_ngcontent-%COMP%]:hover:enabled:not(.comment-reaction-button[aria-disabled=true]){box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}[_nghost-%COMP%]     .comment-reaction-button[aria-disabled=true].mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}[_nghost-%COMP%]   .comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]{cursor:default;color:#bdc1c6;color:var(--text-disabled)}[_nghost-%COMP%]   .comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:rgba(26,115,232,.4);color:var(--hover-btn)}.no-upvote-reactions[_ngcontent-%COMP%]{border:0;margin-right:2px}.no-upvote-reactions[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:0}.comment-timestamp[_ngcontent-%COMP%]{margin-top:14px;-webkit-box-flex:0.92;-webkit-flex:0.92;-moz-box-flex:0.92;-ms-flex:0.92;flex:0.92}\n/*# sourceMappingURL=history_event.css.map */"],
changeDetection:0});var mGc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},V7=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.editIssueService=d;this.dynamicScrollIntoView=e;this.bLocation=f;this.elementRef=h;this.activeSession=l;this.routerEvents=q;this.analytics=u;this.issueId$=new T.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=mGc;this.internalEvents=[];this.showRecentEventsFirst=null;
this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=Qp(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(Qf(function(y){return x.editIssueService.editableIssue$(y)}));this.events$=new T.ReplaySubject(1);this.commentsToFormat$=new T.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.sendAnalytics=vv(function(){var y=[].concat(p(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(G){return G.innerText}).join("").length;
Lp(x.analytics,Mp.EDIT_ISSUE,"updateCommentThread","visibleCharCount",y)},200);this.scrollToCommentOrAttachment=vv(function(){var y=x.bLocation.hash();if(y&&x.internalEvents){var G,J=m(null!=(G=y.match(RegExp("(comment|attachment)([0-9]+)")))?G:[]);J.next();G=J.next().value;var M=J.next().value;J=G;var V=M;if("lastcomment"===y){J=wra(x.internalEvents);if(-1===J)return;V=String(J);J="comment"}J&&V&&(y=x.internalEvents.findIndex(function(U){return U.commentNumber===Number(V)}),G=-1<y,M=x.internalEvents.flatMap(function(U){return U.attachments}).some(function(U){return U.attachmentId===
Number(V)}),G||M)&&(G&&"folded"===x.eventDisplayMode.get(y)&&(x.eventDisplayMode.set(y,"full"),nGc(x,y)),M&&(y=x.internalEvents.findIndex(function(U){return-1<U.attachments.findIndex(function(W){return W.attachmentId===Number(V)})}),x.eventDisplayMode.get(y)||(x.eventDisplayMode.set(y,"full"),nGc(x,y))),WFc(x.dynamicScrollIntoView,{elementId:J+V,parentElement:x.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Rf(x.destroyed$)).subscribe())}},200)};
X(V7,Z);V7.\u0275dir=Z.\u0275dir;
V7.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(sf(Vj),Rf(this.destroyed$),Df()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,oGc(a))});(0,T.combineLatest)([this.events$,this.preferences.commentFilterPreferences$]).subscribe(function(b){b=m(b);var c=b.next().value,d=b.next().value;b=[];if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,pGc(a,c,d.commentFilter),qGc(a),c=m(a.commentNumbersDisplayed.values()),
d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=m(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(sf(Vj),Rf(this.destroyed$),Qf(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){rGc(a,b)});this.routerEvents.navigationEnd$.pipe(Rf(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var rGc=function(a,b){for(var c={$jscomp$loop$prop$i$2237:0};c.$jscomp$loop$prop$i$2237<a.internalEvents.length;c={$jscomp$loop$prop$i$2237:c.$jscomp$loop$prop$i$2237},c.$jscomp$loop$prop$i$2237++)if(Oqb(a.eventDisplayMode.get(c.$jscomp$loop$prop$i$2237))&&gn(a.internalEvents[c.$jscomp$loop$prop$i$2237])){var d=b.find(function(f){return function(h){return h.id.commentId===a.internalEvents[f.$jscomp$loop$prop$i$2237].commentNumber}}(c));if(d){var e=a.internalEvents[c.$jscomp$loop$prop$i$2237];e.formattedComment=
d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;a.internalEvents[c.$jscomp$loop$prop$i$2237]=Object.assign({},e)}}oGc(a)},pGc=function(a,b,c){a.eventDisplayMode.clear();a.commentNumbersDisplayed.clear();a.foldedCommentsCounts.clear();switch(c){case "FULL_HISTORY":for(c=0;c<b.length;c++){var d=sGc(b[c]);a.eventDisplayMode.set(c,d?"full":"hidden");gn(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}break;
case "ALL_COMMENTS":for(c=0;c<b.length;c++)d=tGc(b[c]),a.eventDisplayMode.set(c,d?"full":"hidden"),gn(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0));break;case "HUMAN_ONLY":uGc(a,b,function(e){var f;return null!=(f=e.isHumanAuthor&&e.isMajorEvent)?f:!0});break;case "TEAM_AND_ASSIGNEE":uGc(a,b,function(e){var f;return null!=(f=e.isCollaboratorAuthor&&e.isMajorEvent)?f:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),
gn(b[c])&&b[c].commentNumber&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}a.sendAnalytics()},qGc=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)gn(a.internalEvents[b])&&rn(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),nGc(a,b))},uGc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var l=c(b[h]);a.eventDisplayMode.set(h,l?"full":"folded");if(l){if(0<d||0<e)a.foldedCommentsCounts.has(f)||a.foldedCommentsCounts.set(f,
{commentFoldedCount:d,eventFoldedCount:e});e=d=0;gn(b[h])&&b[h].commentNumber&&(l=void 0,a.commentNumbersDisplayed.add(null!=(l=b[h].commentNumber)?l:0))}else{if(gn(b[h])&&b[h].commentNumber||hn(b[h]))d++,f=h;e++}}if(0<d||0<e)b=1===wra(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:vGc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},vGc=function(a){return maa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},sGc=function(a){return gn(a)&&
!!a.unlinkifiedComment||hn(a)||0<a.preDiffs.length||0<a.postDiffs.length},tGc=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(gn(a)&&!!a.unlinkifiedComment||hn(a)||0<a.preDiffs.length||0<a.postDiffs.length)},oGc=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=wGc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=wGc(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;
pGc(a,a.internalEvents,null!=(b=a.currentFilterLevel)?b:"FULL_HISTORY");qGc(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},wGc=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};V7.prototype.isLoading=function(){return this.formattedCommentsForIssueFridge.isThinking()||this.eventsForIssue.isThinking(this.internalIssueId)};V7.prototype.trackEventByVersion=function(a,b){return b.version};
var nGc=function(a,b){if(a.foldedCommentsCounts.has(b)){var c,d,e=null!=(d=null==(c=a.foldedCommentsCounts.get(b))?void 0:c.commentFoldedCount)?d:0,f,h;c=null!=(h=null==(f=a.foldedCommentsCounts.get(b))?void 0:f.eventFoldedCount)?h:0;1<e&&a.foldedCommentsCounts.set(b-1,{commentFoldedCount:e-1,eventFoldedCount:c-1});a.foldedCommentsCounts.delete(b)}else for(e=new Map([].concat(p(a.foldedCommentsCounts.entries())).sort(function(l,q){return l[0]-q[0]})),e=m(e.entries()),f=e.next();!f.done;f=e.next())if(h=
m(f.value),f=h.next().value,h=h.next().value,f>b){if(0===h.commentFoldedCount-(f-b))a.foldedCommentsCounts.set(f,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<f;c++)(gn(a.internalEvents[c])||hn(a.internalEvents[c]))&&e++;a.foldedCommentsCounts.set(f,{commentFoldedCount:e,eventFoldedCount:f-b});a.foldedCommentsCounts.set(b-1,{commentFoldedCount:h.commentFoldedCount-e-1,eventFoldedCount:h.eventFoldedCount-(f-b)-1});a.foldedCommentsCounts.delete(b)}break}},
Oqb=function(a){return"summarized"===a||"full"===a};Ei.Object.defineProperties(V7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a&&(this.internalIssueId=a,this.issueId$.next(a))}},events:{configurable:!0,enumerable:!0,set:function(a){if(a&&0<a.length){var b=a;a=[].concat(p(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!mra(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
V7.\u0275fac=function(a){return new (a||V7)(A(yG),A(CI),A(JF),A(lK),A(x7),A(bH),A(Yd),A(tu),A(KH),A(LH))};
V7.\u0275cmp=r({type:V7,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[$f],decls:4,vars:4,consts:[["class","padded margined",4,"ngIf"],[1,"bv2-edit-issue-history-stream"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"padded","margined"],[4,"ngIf"],["class","bv2-event",4,"ngIf"],[1,"fold-indication"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"],[1,"horizontal-divider"],[1,
"bv2-event"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(O(0,Kqb,2,0,"aside",0),D(1,"div",1),O(2,Pqb,3,2,"ng-container",2),E(),O(3,Qqb,2,0,"aside",0));a&2&&(C("ngIf",b.isLoading()&&b.showRecentEventsFirst),z(2),C("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),z(1),C("ngIf",b.isLoading()&&!b.showRecentEventsFirst))},dependencies:[ax,bx,U7,NA,vN],styles:[".sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-arrow[_ngcontent-%COMP%]{padding-right:4px;padding-bottom:4px}[_nghost-%COMP%]     .initial-diffs .bv2-event-details{margin-top:16px}.bv2-event[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.bv2-edit-issue-history-stream[_ngcontent-%COMP%] > .fold-indication[_ngcontent-%COMP%]:first-child{margin-top:16px}.fold-indication[_ngcontent-%COMP%]{margin-top:-12px;position:relative;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.fold-indication[_ngcontent-%COMP%]   .horizontal-divider[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;-ms-flex:auto;flex:auto}.fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:1px solid;border-color:#1a73e8;border-color:var(--primary);background-color:#fff;background-color:var(--background);line-height:16px;height:24px;padding:0 8px}.fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus, .fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{border:1px solid;border-color:#1a73e8;border-color:var(--primary)}"]});var W7=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};W7.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};W7.\u0275fac=function(a){return new (a||W7)(A(UTb),A(dG))};
W7.\u0275cmp=r({type:W7,selectors:[["refresh-data-notification"]],decls:6,vars:1,consts:[["role","button","aria-label","Refresh data",1,"refresh-data-notification-container",3,"click"],["svgIcon","refresh",1,"margin-right"],[1,"margin-xs-top","full-width"],["mat-icon-button","","aria-label","Dismiss new data notification",1,"refresh-data-notification-dismiss-button","small",3,"click"],["svgIcon","close",1,"icon-m"]],template:function(a,b){a&1&&(D(0,"div",0),K("click",function(){return esa(b.snackbarRef)}),
F(1,"mat-icon",1),D(2,"p",2),P(3),E()(),D(4,"button",3),K("click",function(c){return b.onDismiss(c)}),F(5,"mat-icon",4),E());a&2&&(z(3),Q(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[OB,NA],styles:[".mat-snack-bar-container.refresh-data-notification{padding:0;min-height:auto;border-radius:8px;background-color:rgba(0,0,0,0);width:480px}.refresh-data-notification-container{border-radius:8px;background-color:#1a73e8;background-color:var(--primary);color:#fff;cursor:pointer;display:flex;padding:8px 32px 8px 12px}.refresh-data-notification-dismiss-button{position:absolute;right:8px;top:8px}.refresh-data-notification-dismiss-button .mat-icon{color:#fff}/*# sourceMappingURL=refresh_data_notification.css.map */\n"],
encapsulation:2});var X7=function(a){this.snackbar=a},xGc=function(a){var b=yO.REFRESH_ISSUE.displayAs,c={panelClass:"refresh-data-notification",data:"New comment available"};b&&(c.announcementMessage="New comment available. ",c.announcementMessage+="Press "+b+" to fetch new data.");a.currentSnackBar=a.snackbar._attach(W7,c);return a.currentSnackBar};X7.\u0275fac=function(a){return new (a||X7)(n(jG))};X7.\u0275prov=Pc({token:X7,factory:X7.\u0275fac,providedIn:"root"});var Y7=function(a,b,c,d,e,f,h,l,q,u,x){Z.call(this);var y=this;this.eventsForIssue=a;this.issueFetchResponseFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=f;this.errorHandler=h;this.refreshDataNotification=l;this.eventsForIssueWatcher=q;this.analytics=u;this.appEvents=x;this.id$=new T.ReplaySubject(1);this.events$=this.id$.pipe(Qf(this.eventsForIssue.watch),B(function(G){var J;return null!=(J=null==G?void 0:G.events)?J:[]}));this.issue$=
this.id$.pipe(Qf(function(G){return UH(y.issueFetchResponseFridge,G)}));this.accessLevel$=this.issue$.pipe(B(function(G){var J,M;return null==G?void 0:null==(J=G.issue)?void 0:null==(M=J.accessLimit)?void 0:M.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(B(function(G){return G&&Qp(y.activeSession,"enableImageSummary")}),Pf(!0))};X(Y7,Z);Y7.\u0275dir=Z.\u0275dir;
Y7.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.issueDetailsBrain.urlComment$.subscribe(function(b){var c=b.commentNumber;b=b.commentVersion;if(c&&void 0!==b&&-1<b){var d=ep(a.id$);d&&a.commentHistoryDialogService.show(d,c,null!=b?b:-1)}}));this.subscriptions.add(this.eventsForIssue.error$.subscribe(function(b){a.errorHandler.errorHandler(null,b)}));this.subscriptions.add(WEc(this.eventsForIssueWatcher,ep(this.id$)).subscribe(function(){yGc(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(Ef()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var yGc=function(a){Lp(a.analytics,Mp.PUSH_UPDATE,"display","comment");xGc(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(Lp(a.analytics,Mp.PUSH_UPDATE,"fetchResource","comment"),VH(a.issueFetchResponseFridge,ep(a.id$)),a.eventsForIssue.poke(ep(a.id$)),a.appEvents.scrollToCommentBox.next()):Lp(a.analytics,Mp.PUSH_UPDATE,"dismiss","comment")})};Ei.Object.defineProperties(Y7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
Y7.\u0275fac=function(a){return new (a||Y7)(A(JF),A(TH),A(CI),A(tu),A(BU),A(SJ),A(qG),A(X7),A(O6),A(LH),A(uG))};
Y7.\u0275cmp=r({type:Y7,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[$f],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(F(0,"b-event-stream",0),R(1,"async"),R(2,"async"),R(3,"async"),R(4,"async"),R(5,"async"));a&2&&(C("issueId",S(2,7,b.id$))("events",S(3,9,b.events$))("issueAccessLevel",S(4,11,b.accessLevel$))("showFullHistory",S(5,13,b.preferences.showFullHistory$)),dg("data-will-inline-screenshots",S(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[V7,hx],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var Zqb=function(a,b){return{empty:a,"never-focused":b}},Z7=function(a,b,c,d,e,f,h,l,q){var u=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=f;this.issueDetailsBrain=h;this.issueCommentDialogsService=l;this.appEvents=q;this.issueId$=new T.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Df());this.issue$=this.distinctIssueId$.pipe(Qf(function(x){return u.editIssueService.editableIssue$(x)}));this.wasFocused=
!1;this.enableRecaptcha=Qp(this.activeSession,"enableRecaptcha");this.recaptchaResponse$=new T.BehaviorSubject("");this.commentSubmitted=new vw;this.HOTKEYS=yO;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.hasAclToComment$=this.issuePermissionService.hasAclToComment$;this.isCurrentUserCCd$=this.issuePermissionService.isCurrentUserCCd$;this.accessLevel$=this.issuePermissionService.accessLevel$;this.audience$=this.issuePermissionService.audience$;this.autoCcOnComment$=this.userPreferencesManager.preferences$.pipe(B(function(x){return x.autoCcOnComment}));
this.issueCommentDraft$=this.issueId$.pipe(B(function(x){return u.editIssueService.issueCommentDraft(x)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(Qf(function(x){return x.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(Qf(function(x){return x.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(B(function(x){return u.editIssueService.savingState(x)}));this.isSaving$=this.savingState$.pipe(Qf(function(x){return iq(x.propertiesBeingSaved,
Cp("comment"))}));this.commentLimitReached$=this.events$.pipe(B(function(x){var y=u.activeSession.getCommentNumberLimit();return wra(x)>=y}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(B(function(x){return x?"The comment limit has been reached and no additional comments are permitted.":u.activeSession.isAnonymous()?"Sign in to use full features.":u.issuePermissionService.hasAclToComment()?"Add a comment.":"You do not have access to comment on this issue."}));this.commentBoxEnabled$=
(0,T.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(B(function(x){var y=m(x);x=y.next().value;var G=y.next().value;y=y.next().value;return x&&!G&&!y}));this.commentDraftUpdated$=new T.BehaviorSubject(!0);this.commentButtonEnabled$=(0,T.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(B(function(x){var y=m(x);x=y.next().value;var G=y.next().value,J=y.next().value;y=y.next().value;return x&&
i_b(G)&&!J&&(!u.enableRecaptcha||""!==y)}));this.empty$=(0,T.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(B(function(x){var y,G;return null!=(G=null==(y=m(x).next().value)?void 0:y.value)?G:""}),B(function(x){return 0===x.length}))},Sqb=function(a){var b;return Ze(function(c){b=!DI(a.userPreferencesManager).autoCcOnComment;Lp(a.analytics,Mp.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return af(c,(0,T.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
Z7.prototype.saveCommentDraft=function(){var a=this,b;return Ze(function(c){if(1==c.nextAddress)return af(c,(0,T.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(tp(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);ef(c)})};
Z7.prototype.submitCommentBox=function(){var a=this,b;return Ze(function(c){if(1==c.nextAddress)return b=a.enableRecaptcha?a.recaptchaResponse$.getValue():void 0,af(c,a.issueCommentDialogsService.submitCommentBox(a.internalIssueId,b),2);a.commentSubmitted.emit();a.appEvents.recaptchaSubmitted.next();ef(c)})};Z7.prototype.showNewContentJudgementDialog=function(){var a=this;return Ze(function(b){return af(b,a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
Ei.Object.defineProperties(Z7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}}});Z7.\u0275fac=function(a){return new (a||Z7)(A(TJ),A(CI),A(lK),A(LH),A(gJ),A(tu),A(SJ),A(R6),A(uG))};
Z7.\u0275cmp=r({type:Z7,selectors:[["b-post-comment"]],inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id","AddCommentBox",3,"hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","onHotkey","onChange","onFocusEvent","onSubmit","onRestrict"],["commentBox",""],["recaptchaContainer","",4,"ngIf"],["additionalToolbarItems",
"",1,"goog-inline-block"],["format","fill",3,"disabled","onAction","click"],[1,"goog-inline-block"],["class","goog-inline-block vertical-centered",4,"ngIf"],[3,"initialValue","change",4,"ngIf"],[3,"accessLevel"],["recaptchaContainer",""],[3,"onUpdate"],[3,"checked","disabled","change"],[1,"goog-inline-block","vertical-centered"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled",4,"ngIf"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"initialValue","change"]],template:function(a,b){a&1&&(O(0,arb,2,1,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.issue$))},dependencies:[ZN,WX,fM,$w,bx,ML,xO,QI,XX,hx],styles:["[_nghost-%COMP%]{display:block;margin-bottom:8px}[_nghost-%COMP%]     .bv2-edit-issue-add-comment{padding-left:0;padding-right:0}textarea[_ngcontent-%COMP%]{display:block;margin:0;margin-bottom:8px;max-height:40vh;min-height:130px;resize:none;width:100%}button[_ngcontent-%COMP%], mat-checkbox[_ngcontent-%COMP%]{margin-right:8px}.recent-first   [_nghost-%COMP%]     .empty.never-focused textarea{min-height:32px;height:32px !important}.recent-first   [_nghost-%COMP%]     .empty.never-focused textarea:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.recent-first   [_nghost-%COMP%]     .empty.never-focused b-live-preview{display:none}\n/*# sourceMappingURL=post_comment.css.map */"]});var hu=function(a){Y.call(this,a)};X(hu,Y);hu.prototype.getType=function(){return bk(this,2,0)};hu.prototype.setType=function(a){return k(this,2,a)};hu.prototype.hasType=function(){return Sk(this,2)};hu.messageId="b.UserEngagement";var gu=function(a){Y.call(this,a)};X(gu,Y);gu.prototype.getParent=function(){return lk(this,1)};gu.prototype.setParent=function(a){return k(this,1,a)};gu.messageId="b.BatchCreateUserEngagementsRequest";var zGc=function(a){Y.call(this,a)};X(zGc,Y);g=zGc.prototype;g.getResource=function(){return lk(this,1)};g.setResource=function(a){return k(this,1,a)};g.getType=function(){return bk(this,2,0)};g.setType=function(a){return k(this,2,a)};g.hasType=function(){return Sk(this,2)};g.setPageSize=function(a){return k(this,4,a)};g.setPageToken=function(a){return k(this,5,a)};zGc.messageId="b.LookupRecommendationsRequest";var irb=function(a){Y.call(this,a)};X(irb,Y);g=irb.prototype;g.getName=function(){return lk(this,1)};g.setName=function(a){return k(this,1,a)};g.hasName=function(){return gm(this,1)};g.getNameOrUndefined=function(){return Uu(this,1)};g.getSource=function(){return lk(this,2)};g.setSource=function(a){return k(this,2,a)};g.hasSource=function(){return gm(this,2)};g.getSourceOrUndefined=function(){return Uu(this,2)};g.getResource=function(){return lk(this,3)};
g.setResource=function(a){return k(this,3,a)};g.getType=function(){return bk(this,4,0)};g.setType=function(a){return k(this,4,a)};g.hasType=function(){return Sk(this,4)};g.getScore=function(){return Uk(this,6)};g.setScore=function(a){k(this,6,tb(a))};g.getConfidence=function(){return bk(this,7,0)};var erb=[9];var $7=function(a){Y.call(this,a,-1,AGc)};X($7,Y);$7.prototype.setRequestsList=function(a){return Sb(this,1,a)};$7.prototype.addAndReturnRequests=function(){return tBb(this,1,gu)};var AGc=[1];$7.messageId="b.BatchCreateUserEngagementsRequest";var a8=function(a){Y.call(this,a,-1,BGc)};X(a8,Y);a8.prototype.getNextPageToken=function(){return lk(this,2)};a8.prototype.getTotalSize=function(){return Tk(this,3)};var BGc=[1];a8.messageId="b.LookupRecommendationsResponse";var b8=function(a){this.executor=a};b8.\u0275fac=function(a){return new (a||b8)(n(nE))};b8.\u0275prov=Pc({token:b8,factory:b8.\u0275fac,providedIn:"root"});var CGc=[[["","mainSegment",""]],[["","dropdownSegment",""]]],c8=function(){this.mainSegment=!0};c8.\u0275fac=function(a){return new (a||c8)};c8.\u0275dir=r({type:c8,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&pg("main-segment",b.mainSegment)}});var d8=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.dialogClosed=new vw;this.dialogOpened=new vw};d8.prototype.ngAfterContentInit=function(){};
d8.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};Ei.Object.defineProperties(d8.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});d8.\u0275fac=function(a){return new (a||d8)};
d8.\u0275cmp=r({type:d8,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&Tg(c,c8,5);if(a&2){var d;Rg(d=Ug())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&Sg(CO,5);if(a&2){var c;Rg(c=Ug())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&pg("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],features:[md],
ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:4,consts:[["mat-icon-button","","onedevPopupPanelTrigger","",1,"dropdown-button",3,"onedevPopupPanelTriggerFor","matTooltip","disabled","click","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed"],["trigger","onedevPopupPanelTrigger"],["svgIcon","arrow-dropdown"],["role","region"],["contentPanel","onedevPopupPanel"],[1,"dropdown-container"]],template:function(a,b){a&1&&(wg(CGc),xg(0),D(1,"button",0,1),K("click",function(){var d,
e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var f;null==(f=b.trigger)||f.close()}else{var h;null==(h=b.trigger)||h.open()}})("onedevPopupPanelTriggerOpened",function(){return b.dialogOpened.emit()})("onedevPopupPanelTriggerClosed",function(){return b.dialogClosed.emit()}),F(3,"mat-icon",2),E(),D(4,"onedev-popup-panel",3,4)(6,"div",5),xg(7,1),E()());if(a&2){var c=N(5);z(1);C("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);dg("aria-label",b.dropdownAriaLabel)}},
dependencies:[NA,OB,qD,BO,CO],styles:["[_nghost-%COMP%]    {border:1px solid;border-color:#dadce0;border-color:var(--hairline);border-radius:5px;display:flex;overflow:hidden}[_nghost-%COMP%]     .main-segment{border-radius:5px 0 0 5px;padding-left:8px;padding-right:8px;line-height:13px}[_nghost-%COMP%]    .expanded .dropdown-button mat-icon{transform:rotate(-180deg)}[_nghost-%COMP%]     .dropdown-button:not([disabled]) mat-icon{color:#5f6368;color:var(--icon)}[_nghost-%COMP%]     .dropdown-button{border-left:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:0;width:30px}[_nghost-%COMP%]     .dropdown-button mat-icon{width:18px;transition:250ms transform}\n/*# sourceMappingURL=split_button.css.map */"],
changeDetection:0});var rrb=function(a){return{voteCount:a}},DGc={},EGc=(DGc.REJECTION_REASON_UNSPECIFIED="Other",DGc.REVERSED="The relationship is reversed",DGc.SIMILAR="The issues are similar, but not canonical/duplicate",DGc),e8=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.paths=c;this.recommendationsService=d;this.errorHandler=e;this.editIssueService=f;this.analytics=h;this.scrolledOnScreenService=l;this.elementRef=q;this.STATUS_FULL_TEXT=vF;this.STATUS_TERSE=
rF;this.REJECT_REASON_TO_DISPLAY=EGc;this.currentIssueId$=new T.ReplaySubject(1);this.currentIssue$=this.currentIssueId$.pipe(Qf(function(x){return u.issueFridge.watch(x)}));this.isAlreadyADuplicate$=this.currentIssue$.pipe(B(function(x){return"DUPLICATE"===(null==x?void 0:x.snapshot[0].status)}));this.recommendation$=this.currentIssueId$.pipe(Qf(function(x){var y=u.recommendationsService;x={resource:"issues/"+x,type:"ISSUE_DEDUPLICATION",minConfidence:"VERY_HIGH",pageSize:1,view:"FULL"};var G=(new zGc).setResource(x.resource).setType(MQb[x.type]).setPageSize(x.pageSize).setPageToken(x.pageToken);
G=k(G,6,NQb[x.view]);void 0!==x.minConfidence&&k(G,3,zQb[x.minConfidence]);return y.executor.post({url:"action/recommendations/lookup",body:G,responseConstructor:a8}).pipe(B(jrb))}),B(function(x){return x.recommendations[0]}),Nf({refCount:!0,bufferSize:1}));this.canonicalIssue$=this.recommendation$.pipe(B(function(x){var y;return null==x?void 0:null==(y=x.content)?void 0:y.recommendedIssue}));this.canonicalIssueId$=this.canonicalIssue$.pipe(B(function(x){return null==x?void 0:x.issueId}));this.canonicalComponentId$=
this.canonicalIssue$.pipe(B(function(x){var y;return null!=(y=null==x?void 0:x.snapshot[0].componentId)?y:void 0}));this.canonicalAccessLevel$=this.canonicalIssue$.pipe(B(function(x){var y;return null==x?void 0:null==(y=x.accessLimit)?void 0:y.accessLevel}));this.isCanonicalInExternalComponent$=this.canonicalAccessLevel$.pipe(B(function(x){return!(!x||"INTERNAL"===x)}));this.canonicalTitle$=this.canonicalIssue$.pipe(B(function(x){return null==x?void 0:x.snapshot[0].title}));this.canonicalPriority$=
this.canonicalIssue$.pipe(B(function(x){return null==x?void 0:x.snapshot[0].priority}));this.canonicalVoteCount$=this.canonicalIssue$.pipe(B(function(x){var y;return null==x?void 0:null==(y=x.aggregatedData)?void 0:y.voteCount}));this.canonicalCreateMicros$=this.canonicalIssue$.pipe(B(function(x){var y;return null==x?void 0:null==(y=x.aggregatedData)?void 0:y.createdTimeMicros}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(B(function(x){var y;return null!=(y=null==x?void 0:x.snapshot[0].duplicateIssueId)?
y:[]}));this.statusForChip$=this.canonicalIssue$.pipe(B(function(x){return null==x?void 0:x.snapshot[0].status}),B(function(x){return Wk[x]}));this.canonicalEvents$=this.canonicalIssueId$.pipe(Qf(function(x){return u.eventsForIssueFridge.watch(x)}),B(function(x){var y;return null!=(y=null==x?void 0:x.events)?y:[]}));this.canonicalDescription$=this.canonicalEvents$.pipe(B(function(x){return x[0]}),B(function(x){var y;return{formattedComment:null==x?void 0:x.formattedComment,commentNumber:1,unlinkifiedComment:(null==
x?void 0:x.unlinkifiedComment)||"",formattingMode:null!=(y=null==x?void 0:x.formattingMode)?y:"UNSPECIFIED_FORMATTING_MODE"}}));this.canonicalComments$=this.canonicalEvents$.pipe(B(function(x){return x.filter(gn)}));this.wasRejected$=new T.BehaviorSubject(!1);this.show$=(0,T.combineLatest)([this.isAlreadyADuplicate$,this.canonicalIssue$,this.wasRejected$]).pipe(B(function(x){var y=m(x);x=y.next().value;var G=y.next().value;y=y.next().value;return!x&&!!G&&!y}));this.isSaving=!1;this.REJECT_REASONS=
["REVERSED","SIMILAR","REJECTION_REASON_UNSPECIFIED"]};X(e8,Z);e8.\u0275dir=Z.\u0275dir;e8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.canonicalIssue$.subscribe(function(b){a.issueFridge.announce(b)}));this.subscriptions.add((0,T.combineLatest)([this.show$.pipe(sf(Boolean)),K2b(this.scrolledOnScreenService,this.elementRef.nativeElement)]).pipe(Ef()).subscribe(function(){Lp(a.analytics,Mp.EDIT_ISSUE,"view","canonical-recommendation");FGc(a,"VIEWED")}))};
e8.prototype.accept=function(){var a=this,b,c;return Ze(function(d){switch(d.nextAddress){case 1:return a.isSaving=!0,b=ep(a.canonicalIssueId$),$e(d,2,3),af(d,G_b(a.editIssueService,a.currentIssueId,b),5);case 5:return Lp(a.analytics,Mp.EDIT_ISSUE,"accept","canonical-recommendation"),af(d,FGc(a,"ACCEPTED"),3);case 3:bf(d);a.isSaving=!1;cf(d,0);break;case 2:c=df(d),sG(a.errorHandler,c),d.jumpTo(3)}})};
e8.prototype.reject=function(a){var b=this;return Ze(function(c){b.wasRejected$.next(!0);Lp(b.analytics,Mp.EDIT_ISSUE,"reject","canonical-recommendation");return af(c,FGc(b,"REJECTED",a),0)})};
var FGc=function(a,b,c){var d,e;return Ze(function(f){if(1==f.nextAddress){$e(f,2);d=ep(a.recommendation$).name;var h=T.firstValueFrom;var l=a.recommendationsService;var q=[{parent:d,userEngagement:{type:b,rejectionReason:c}}];q=(new $7).setRequestsList(q.map(drb));l=l.executor.post({url:"action/recommendations/engagements/batch",body:q,responseConstructor:null});return af(f,h.call(T,l),4)}if(2!=f.nextAddress)return Au(f,0);e=df(f);sG(a.errorHandler,e);ef(f)})};e8.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
Ei.Object.defineProperties(e8.prototype,{currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a)},get:function(){return ep(this.currentIssueId$)}}});e8.\u0275fac=function(a){return new (a||e8)(A(QH),A(JF),A(cH),A(b8),A(qG),A(lK),A(LH),A(yM),A(Yd))};
e8.\u0275cmp=r({type:e8,selectors:[["canonical-recommendation"]],inputs:{currentIssueId:"currentIssueId"},features:[$f],decls:6,vars:3,consts:[[1,"heading","flex-kids-x","gap-xxs","align-items-center","padded-x","padded-s-y"],["svgIcon","merge_type_24px",1,"rotate-180","green"],["class","flex-kids-y gap-s",4,"ngIf"],[1,"flex-kids-y","gap-s"],[1,"flex-kids-y","gap-s","padded-x"],[1,"title","hover-link","overflow-ellipsis",3,"href"],[3,"issueId","issueAccessLevel","formattingMode","note",4,"ngIf"],
[1,"info","flex-kids-x","gap-s","align-items-center"],[1,"muted",3,"issueId","enableHotkeys","componentId","issueTitle","isExternalIssue"],[3,"issuePriority"],[3,"class","title",4,"ngIf"],[4,"ngIf"],[1,"actions","flex-kids-x","gap-s","align-items-center","padded-x","padded-s-bottom"],["mat-button","",1,"accept","keep-focus-ring",3,"disabled","click"],["svgIcon","done",1,"icon-s"],["dropdownTooltip","Specify reject reason",1,"reject",3,"disabled"],["splitButton",""],["mat-button","","mainSegment",
"",3,"disabled","click"],["svgIcon","close",1,"icon-s"],["dropdownSegment",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[3,"issueId","issueAccessLevel","formattingMode","note"],[3,"title"],[1,"divider"],[1,"muted","nowrap"],[1,"votes","flex-kids-x","align-items-center","gap-xs",3,"matTooltip"],[1,"muted"],["svgIcon","exposure_plus_1_24px",1,"icon-s"],[1,"flex-kids-x","align-items-center","gap-xs",3,"matTooltip"],["svgIcon","mode_comment_24px",1,"icon-s","muted"],["matTooltip","Created on",
"mode","date",1,"muted","nowrap",3,"timestamp"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&(D(0,"div",0),F(1,"mat-icon",1),D(2,"span"),P(3,"Close as duplicate of:"),E()(),O(4,srb,35,42,"div",2),R(5,"async"));a&2&&(z(4),C("ngIf",S(5,1,b.canonicalIssueId$)))},dependencies:[JL,ax,bx,UL,EO,aQ,NA,OB,gD,qD,d8,c8,hx],styles:["[_nghost-%COMP%]{display:block;position:relative;border:none;box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15)}.heading[_ngcontent-%COMP%], .title[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-weight:500;font-size:1rem;line-height:1.5rem}.green[_ngcontent-%COMP%], .heading[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);color:#137333;color:var(--green-text)}.hover-link[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.hover-link[_ngcontent-%COMP%]:focus, .hover-link[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link);text-decoration:underline}.divider[_ngcontent-%COMP%]{height:18px;border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}.votes[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;color:#1a73e8;color:var(--text-primary)}.actions[_ngcontent-%COMP%]   .accept[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%]   .reject[_ngcontent-%COMP%]{border-radius:13px}.actions[_ngcontent-%COMP%]   .accept[_ngcontent-%COMP%]{padding-right:12px;padding-left:8px;border:1px solid;border-color:#137333;border-color:var(--green-text);color:#137333;color:var(--green-text)}.actions[_ngcontent-%COMP%]   .reject[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--hairline);color:#5f6368;color:var(--text-muted)}[_nghost-%COMP%]     .bv2-note-container{max-height:54px;margin:0;overflow:auto}[_nghost-%COMP%]     b-issue-id-picker{border:1px solid;border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]     b-issue-id-picker button.square-left{border:none}[_nghost-%COMP%]     .actions button{height:26px;line-height:unset}[_nghost-%COMP%]     .actions button .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .actions button .mat-button-wrapper mat-icon{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}\n/*# sourceMappingURL=canonical_recommendation.css.map */"]});var f8=function(a){this.issueReferenceResolver=a;this.userToString=Kj};f8.prototype.ngOnInit=function(){};f8.prototype.getCommentNumberLink=function(a){return Ln(this.issueId,{comment:a})};f8.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};f8.\u0275fac=function(a){return new (a||f8)(A(UI))};
f8.\u0275cmp=r({type:f8,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:1,vars:1,consts:[["class","comment-info",4,"ngFor","ngForOf"],[1,"comment-info"],[4,"ngIf"],["class","keep-focus-ring hover-link",3,"routerLinkObj","click",4,"ngIf"],[1,"ldap",3,"onedevHovercardTrigger"],["personCard",""],[3,"email",4,"ngIf"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"routerLinkObj","click"]],template:function(a,b){a&1&&O(0,xrb,5,3,"span",0);a&2&&C("ngForOf",b.comments)},
dependencies:[ax,bx,XI,bJ,rL,GN,dN],styles:["[_nghost-%COMP%]{overflow:hidden;display:flex;align-items:center;gap:4px;white-space:nowrap}.comment-info[_ngcontent-%COMP%]{display:flex;overflow:hidden;min-width:25px}.ldap[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1000000;margin-right:3px}"],changeDetection:0});var g8=function(a){Z.call(this);this.ngZone=a};X(g8,Z);g8.\u0275dir=Z.\u0275dir;var GGc=function(a,b){return(new T.Observable(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var f=e[0];c.next({height:f.contentRect.height,width:f.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(Rf(a.destroyed$))};g8.\u0275fac=function(a){return new (a||g8)(n(Yf))};g8.\u0275prov=Pc({token:g8,factory:g8.\u0275fac,providedIn:"root"});var HGc=["imagesSummaryWidget"],h8=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new T.ReplaySubject(1);this.paginate=!1;this.container$=new T.ReplaySubject(1);this.containerResize$=this.container$.pipe(B(function(e){return e.nativeElement}),Qf(function(e){return GGc(d.resizeService,e)}));this.issueId$=new T.ReplaySubject(1);this.lastRenderedImageIndex$=new T.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(B(function(e){e=e.map(function(f){if(f.comment){var h=
Ura(f.href);if(h)return{src:h,comment:f.comment}}}).filter(Vj);return Erb(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(B(function(e){return Math.floor((e.width-16)/216)}),Nf({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(B(function(e){return 2*e}));this.imagesToRender$=(0,T.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(B(function(e){var f=m(e);e=f.next().value;var h=f.next().value;f=f.next().value;
return d.paginate?h.slice(0,f||e):h.slice(0,e)}),Df())};h8.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};h8.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};h8.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};Ei.Object.defineProperties(h8.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return ep(this.imageLinks$)}}});
h8.\u0275fac=function(a){return new (a||h8)(A(g8),A(WG),A(ko))};
h8.\u0275cmp=r({type:h8,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&Sg(HGc,7);if(a&2){var c;Rg(c=Ug())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},decls:4,vars:3,consts:[["imagesSummaryWidget",""],[4,"ngIf"],[1,"container"],["class","image-wrapper",4,"ngFor","ngForOf"],[1,"image-wrapper"],["target","_blank",1,"thumbnail",3,"href"],[3,"showByDefault","src"],[3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-screenshots",
3,"click",4,"ngIf","ngIfElse"],["withoutPagination",""],["mat-button","",1,"gmat-button","small","load-more-screenshots",3,"click"],["mat-button","",1,"gmat-button","small","see-all-screenshots",3,"click"]],template:function(a,b){a&1&&(D(0,"div",null,0),O(2,Drb,3,3,"ng-container",1),R(3,"async"),E());a&2&&(z(2),C("ngIf",S(3,1,b.allImages$)))},dependencies:function(){return[f8,ax,bx,NA,wL,hx,i8]},styles:['.container[_ngcontent-%COMP%]{align-items:flex-start;display:flex;flex-flow:row wrap;justify-content:flex-start;max-height:390px;overflow:hidden}.show-all-images[_ngcontent-%COMP%]{max-height:100%}.image-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:8px}.image-wrapper[_ngcontent-%COMP%]   comments-info[_ngcontent-%COMP%]{margin:0 8px;max-width:200px}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:2px solid;border-color:#e8eaed;border-color:var(--c200);border-radius:8px;margin:8px;height:150px;width:200px;position:relative;overflow:hidden}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]:focus{border-color:#185abc;border-color:var(--primary-c800)}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]     img{bottom:0;top:0;left:0;right:0;position:absolute;margin:auto;height:auto;width:auto;max-height:150%;max-width:150%}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]     img:before{content:" ";position:absolute;left:0;height:100%;width:100%;background-color:#f8f9fa;background-color:var(--surface-secondary)}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]     img:after{content:"\u274cBroken screenshot link";position:absolute;top:46%;left:0;width:100%;text-align:center}']});
var i8=function(){};i8.prototype.transform=function(a){return a.split(".png")[0]};i8.\u0275fac=function(a){return new (a||i8)};i8.\u0275pipe=hd({name:"removePngExtension",type:i8,pure:!0});var IGc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links"},Jsb=[].concat(p(Object.values(IGc)));var JGc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=cp(function(d){Lp(c.analytics,Mp.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=cp(function(){Lp(c.analytics,Mp.EDIT_ISSUE,"view","SW")})},ysb=function(a,b,c){a.recordInteractionOnce(c);iu(a.issueInteractionsTracking,b,c+"-content-interacted");iu(a.issueInteractionsTracking,b,"SW-content-interacted")};var j8=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
j8.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(ul(b,Gp,2,bm)){a=Lrb(wl(b,Gp,2,bm).getContent());break a}if(ul(b,$l,3,bm)){a=Lrb(wl(b,$l,3,bm).getContent());break a}if(ul(b,Hp,1,bm)){a=document.createElement("div");b=m(fj(wl(b,Hp,1,bm),Ip,1));for(var c=b.next();!c.done;c=b.next())(c=c.value.getContent())&&a.appendChild(Lrb(c));break a}}a=void 0}if(a=a&&KGc(this,a)){b=a.dataset.bOriginalHref;c=a.dataset.bRedirectedHref;var d=a.dataset.bIssueId;
d&&(this.issueId=d);b&&c?(this.redirectedHref=c,this.originalHref=b,this.isExternalLink=!0):(this.originalHref=this.redirectedHref=a.href,this.isExternalLink=!1);b=[];for(c=a;c.previousSibling;){c=c.previousSibling;if(LGc.has(c.nodeName))break;d=void 0;b.push(null!=(d=c.textContent)?d:"")}this.leftText=b.reverse().join("");b=[];for(c=a;c.nextSibling;){c=c.nextSibling;if(LGc.has(c.nodeName))break;d=void 0;b.push(null!=(d=c.textContent)?d:"")}this.rightText=b.join("");this.linkText=a.innerText||a.href}else this.relatedLink&&
(c=b=a="",wn(this.relatedLink)?c=b=this.relatedLink.href:yn(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?Fna(rN(this.currentTracker,c),""):this.getIssueUrl(c)),this.issueId=a,this.originalHref=this.redirectedHref=b,this.isExternalLink=!1,this.rightText=this.leftText="",this.linkText=c)};
var KGc=function(a,b){if(a.relatedLink){if(yn(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(p(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(wn(a.relatedLink)){var d=a.relatedLink;return[].concat(p(b.querySelectorAll("a"))).find(function(e){a:{var f=d.href;if(e.innerText===f)e=!0;else{try{f=(new URL(f)).href}catch(h){e=!1;break a}e=e.href===f||e.href.replace("https://cl.corp.google.com/","https://critique.corp.google.com/")===f?!0:!1}}return e})}}};
j8.prototype.getIssueUrl=function(a){return rN(this.currentTracker,a)};j8.\u0275fac=function(a){return new (a||j8)(A(tu),A(qN))};
j8.\u0275cmp=r({type:j8,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[md],decls:8,vars:4,consts:[[1,"wrapper"],["class","muted margin-xs-right left","aria-hidden","true",4,"ngIf"],[4,"ngIf","ngIfElse"],["internalLink",""],["class","muted margin-xs-left right","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"muted","margin-xs-right","left"],[3,"href","originalHref"],[3,"href","issueId",4,"ngIf","ngIfElse"],["hyperLink",
""],[3,"href","issueId"],["target","_blank",1,"keep-focus-ring",3,"href"],["aria-hidden","true",1,"muted","margin-xs-left","right"]],template:function(a,b){a&1&&(D(0,"div",0),P(1," \u201c "),O(2,Frb,3,3,"span",1),O(3,Grb,3,3,"ng-container",2),O(4,Jrb,3,2,"ng-template",null,3,$g),O(6,Krb,2,1,"span",4),P(7," \u201d\n"),E());if(a&2){var c=N(5);z(2);C("ngIf",b.leftText);z(1);C("ngIf",b.isExternalLink)("ngIfElse",c);z(3);C("ngIf",b.rightText)}},dependencies:[SI,dJ,bx,fK],styles:["[_nghost-%COMP%]{overflow:hidden}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%], b-external-hyperlink-widget[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}b-external-hyperlink-widget[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{max-width:max(80%,350px)}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%]{flex-shrink:1000000;max-width:max(80%,200px);user-select:none}.left[_ngcontent-%COMP%]{direction:rtl;text-align:left;unicode-bidi:bidi-override}"],
changeDetection:0});var LGc=new Set(["BR"]);var l8=function(a,b,c,d,e){var f=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new T.ReplaySubject(1);this.currentIssueId$=new T.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new T.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(sf(Vj),Qf(function(h){var l=cn(h.map(function(q){return q.issueId}));return f.issueFridge.watchSet(l).pipe(B(function(q){return new Map(q.map(function(u){return[null==
u?void 0:u.issueId.toString(),u]}))}),B(function(q){return new Map(l.map(function(u){return[u,q.get(u)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(sf(Vj),B(function(h){var l=new Map;h=m(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var u=q.issueId.toString();l.has(u)?l.get(u).push(q):l.set(u,[q])}return l}));this.allMentionedIssues$=(0,T.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(B(function(h){h=m(h);var l=h.next().value;h=h.next().value;return[].concat(p(h)).filter(function(q){return m(q).next().value!==
f.issueId}).map(function(q){var u=m(q);q=u.next().value;u=u.next().value;var x=l.get(q),y=null==x?void 0:x.map(function(G){var J,M,V=null==(J=G.comment)?void 0:null==(M=J.userPerformingActionUser)?void 0:M.emailAddress;return{commentNumber:G.sourceCommentNumber,author:(null==V?void 0:V.split("@")[0])+"@",issueEvent:G.comment}});return{hasViewAccess:!!u,issueId:q,shortIssueUrl:Fna(f.activeSession.getAppBaseUrl(),q),sourceComments:y,title:null==u?void 0:u.snapshot[0].title,priority:u?u.snapshot[0].priority:
null,relatedLinks:x}})}));this.mentionedIssuesToRender$=(0,T.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return f.paginate?h.slice(0,l):h.slice(0,5)}))};l8.prototype.getCommentNumberLink=function(a){return Ln(this.issueId,{comment:a})};l8.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
l8.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Ei.Object.defineProperties(l8.prototype,{issueReferences:{configurable:!0,enumerable:!0,set:function(a){this.issueReferences$.next(a)}},currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a);this.issueId=a}}});l8.\u0275fac=function(a){return new (a||l8)(A(tu),A(QH),A(WG),A(ko),A(UI))};
l8.\u0275cmp=r({type:l8,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"matTooltip","issuePriority"],[1,"issue-title-and-link"],[1,"padded-s-sides","title",3,"matTooltip"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-issues",3,"click",4,"ngIf","ngIfElse"],["withoutPagination",
""],["mat-button","",1,"gmat-button","small","load-more-issues",3,"click"],["mat-button","",1,"gmat-button","small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(O(0,Srb,3,3,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[ax,bx,aQ,NA,qD,j8,f8,hx,m8]},styles:["table[_ngcontent-%COMP%]{width:100%;display:block}table[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}td[_ngcontent-%COMP%], tr[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;min-width:22px}.title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:50px}mentioned-link-with-context[_ngcontent-%COMP%]{min-width:100px}.issue-title-and-link[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.comment-author-and-number[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-column-gap:2px;-moz-column-gap:2px;column-gap:2px}b-issue-priority-display[_ngcontent-%COMP%]{min-height:24px;min-width:22px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.normal-link[_ngcontent-%COMP%]{text-decoration:underline}.see-all-issues[_ngcontent-%COMP%]{margin-left:-8px}"],
changeDetection:0});var m8=function(){};m8.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(Vj)};m8.\u0275fac=function(a){return new (a||m8)};m8.\u0275pipe=hd({name:"toComments",type:m8,pure:!0});var n8=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new T.ReplaySubject(1);this.issueId$=new T.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new T.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(B(function(d){return ora(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,T.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(B(function(d){var e=m(d);d=e.next().value;
e=e.next().value;return c.paginate?$rb(d,e):6===d.length?$rb(d,6):$rb(d,5)}))};n8.prototype.ngOnInit=function(){};n8.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Ei.Object.defineProperties(n8.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("Za");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return ep(this.issueId$)}}});
n8.\u0275fac=function(a){return new (a||n8)(A(WG),A(ko))};
n8.\u0275cmp=r({type:n8,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[[4,"ngIf"],["class","related-link flex-kids-x align-items-center gap-s margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-links",3,"click",
4,"ngIf","ngIfElse"],["withoutPagination",""],["mat-button","",1,"gmat-button","small","load-more-links",3,"click"],["mat-button","",1,"gmat-button","small","see-all-links",3,"click"]],template:function(a,b){a&1&&(O(0,Yrb,3,3,"ng-container",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.allLinkGroups$))},dependencies:function(){return[f8,ax,bx,NA,j8,hx,o8]},styles:["comments-info[_ngcontent-%COMP%]{flex-shrink:1.5;min-width:5em;justify-content:end}mentioned-link-with-context[_ngcontent-%COMP%]{max-width:90%}"],
changeDetection:0});var Zrb=en(function(a){return Math.min.apply(Math,p(a.map(function(b){return b.sourceCommentNumber})))},rra),o8=function(){};o8.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(Vj)};o8.\u0275fac=function(a){return new (a||o8)};o8.\u0275pipe=hd({name:"toComments",type:o8,pure:!0});var p8=function(){ty.apply(this,arguments)};X(p8,ty);p8.\u0275fac=function(){var a;return function(b){return(a||(a=Od(p8)))(b||p8)}}();p8.\u0275dir=r({type:p8,selectors:[["","expandable-tab-content",""]],features:[$f]});var q8=function(){ty.apply(this,arguments)};X(q8,ty);q8.\u0275fac=function(){var a;return function(b){return(a||(a=Od(q8)))(b||q8)}}();q8.\u0275dir=r({type:q8,selectors:[["","expandable-tab-header",""]],features:[$f]});var r8=function(){ty.apply(this,arguments)};X(r8,ty);
r8.\u0275fac=function(){var a;return function(b){return(a||(a=Od(r8)))(b||r8)}}();r8.\u0275dir=r({type:r8,selectors:[["","expandable-tab-icon",""]],features:[$f]});var s8=function(){};s8.prototype.ngOnInit=function(){};s8.\u0275fac=function(a){return new (a||s8)};
s8.\u0275cmp=r({type:s8,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(Tg(c,q8,5,Og),Tg(c,p8,5,Og),Tg(c,r8,5,Og));if(a&2){var d;Rg(d=Ug())&&(b.tabHeaderTemplate=d.first);Rg(d=Ug())&&(b.tabContentTemplate=d.first);Rg(d=Ug())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var asb=function(a){return{tab:a}},MGc=function(a){return{allTabsExpanded:a}},t8=function(){Z.apply(this,arguments);this.internalTabKeys$=new T.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new hK;this.expandedTabsChanged=new vw;this.contentShownChanged=new vw;this.tabs$=new T.BehaviorSubject([]);this.allTabsExpanded$=(0,T.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(B(function(a){a=m(a);var b=a.next().value,c=a.next().value;return b.every(function(d){return c.has(d.key)})}));
this.trackByKey=function(a,b){return b.key}};X(t8,Z);t8.\u0275dir=Z.\u0275dir;
t8.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(Pf(void 0),B(function(){return a.internalTabs.toArray()}),B(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),Qf(function(b){return(0,T.combineLatest)([(0,T.of)(b),a.internalTabKeys$])}),B(function(b){b=m(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,T.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(B(function(b){var c=m(b);b=c.next().value;c=c.next().value;return qna(new Set(b),new Set(c))}),Df(mj)).subscribe(function(b){a.contentShownChanged.emit(b)}))};t8.prototype.ngOnInit=function(){};t8.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,p(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
t8.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var hsb=function(a){var b;return Ze(function(c){if(1==c.nextAddress)return af(c,(0,T.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();ef(c)})};
Ei.Object.defineProperties(t8.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(p(a)))},get:function(){var a;return null!=(a=ep(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(p(this.internalExpandedTabs))}}});t8.\u0275fac=function(){var a;return function(b){return(a||(a=Od(t8)))(b||t8)}}();
t8.\u0275cmp=r({type:t8,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&Tg(c,s8,5);if(a&2){var d;Rg(d=Ug())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[$f],decls:11,vars:14,consts:[[1,"tabs-row","flex-kids-x","centered-inside"],["role","tablist","aria-multiselectable","true",1,"expandable-tabs","flex-kids-x","centered-inside"],
["mat-button","","class","expandable-tab keep-focus-ring","role","tab",3,"expanded","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"expandable-tabs-contents"],[4,"ngFor","ngForOf","ngForTrackBy"],["headerText",""],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],[4,"ngIf","ngIfElse"],["notExpanded",""],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button","small",3,"click"],["class",
"expandable-tab-content","role","tabpanel",3,"id",4,"ngIf"],["role","tabpanel",1,"expandable-tab-content",3,"id"],["noTemplate",""]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),O(2,gsb,8,16,"button",2),R(3,"async"),E(),O(4,isb,3,6,"ng-container",3),R(5,"async"),E(),D(6,"div",4),O(7,qsb,3,3,"ng-container",5),R(8,"async"),E(),O(9,vsb,3,2,"ng-template",null,6,$g));a&2&&(z(1),dg("aria-label",b.ariaLabel),z(1),C("ngForOf",S(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),z(2),C("ngIf",Gg(12,MGc,S(5,
8,b.allTabsExpanded$))),z(3),C("ngForOf",S(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[ax,bx,gx,NA,OB,hx],styles:[".expandable-tabs[_ngcontent-%COMP%]{gap:8px}.expandable-tab[_ngcontent-%COMP%]{padding:5px 7px;border-radius:16px;border:1px solid;border-color:#dadce0;border-color:var(--c300);color:#3c4043;color:var(--c800)}.expandable-tab.expanded[_ngcontent-%COMP%]{color:#1967d2;color:var(--primary-c700);background-color:#e8f0fe;background-color:var(--primary-c50);border-color:transparent}.expandable-tab[_ngcontent-%COMP%]:hover{-webkit-filter:brightness(95%);filter:brightness(95%)}[_nghost-%COMP%]     .expandable-tab .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}[_nghost-%COMP%]     .expandable-tab.mat-button{line-height:unset}.expandable-tabs-hide-all[_ngcontent-%COMP%], .expandable-tabs-show-all[_ngcontent-%COMP%]{margin-left:auto}.expandable-tab-content[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.expandable-tab-content[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;color:#202124;color:var(--c900);margin:16px 0}.expandable-tab-content[_ngcontent-%COMP%]:not(:last-child){padding-bottom:16px;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}\n/*# sourceMappingURL=expandable_tabs.css.map */"],
changeDetection:0});var zsb=function(){return[]},u8=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=f;this.TabKeys=IGc;this.issueId$=new T.ReplaySubject(1);this.issue$=this.issueId$.pipe(Qf(function(l){return h.issueFridge.watch(l)}),sf(Vj));this.commentNumberToEventMap$=this.issueId$.pipe(Qf(function(l){return h.eventsForIssueFridge.watch(l)}),B(function(l){var q;return null!=
(q=null==l?void 0:l.events)?q:[]}),B(function(l){return new Map(l.filter(function(q){return!!q.commentNumber}).map(function(q){return[q.commentNumber,q]}))}));this.relatedLinks$=(0,T.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(B(function(l){l=m(l);var q=l.next().value,u=l.next().value,x;return(null==(x=q.relatedLinks)?void 0:x.map(function(y){return Object.assign({},y,{comment:u.get(y.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(B(function(l){return l.filter(xn)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(B(function(l){return bn(l,function(q){return Ura(q.href)})}),B(function(l){return l.length}));this.shouldShowImages$=this.imageLinks$.pipe(B(function(l){return h.activeSession.isInternalSession()&&Qp(h.activeSession,"enableImageSummary")&&NGc(h,l)}));this.issues$=this.relatedLinks$.pipe(B(function(l){return l.filter(yn)}));this.distinctIssuesCount$=this.issues$.pipe(B(function(l){return l.filter(function(q){return q.issueId!==h.issueId})}),B(function(l){return bn(l,
function(q){return q.issueId})}),B(function(l){return l.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(B(function(l){return Qp(h.activeSession,"enableRelatedIssuesWidget")&&!!l}));this.otherLinks$=this.relatedLinks$.pipe(B(function(l){return l.filter(Vra)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(B(function(l){return bn(l,function(q){return q.href})}),B(function(l){return l.length}));this.shouldShowLinks$=this.otherLinks$.pipe(B(function(l){return Qp(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(l)}));this.tabKeys$=(0,T.combineLatest)([this.shouldShowImages$.pipe(B(function(l){return{show:l,key:"SW-images"}})),this.shouldShowIssues$.pipe(B(function(l){return{show:l,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(B(function(l){return{show:l,key:"SW-links"}}))]).pipe(B(function(l){return l.filter(function(q){return q.show}).map(function(q){return q.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(B(function(l){return!!l.length}),Cf(0,T.asapScheduler));
this.initiallyExpandedTabs=Jsb.map(function(l){return HYb(h.userPreferencesManager,l)?void 0:l}).filter(Vj);this.onTabExpanded$=new vw;this.issueSummaryTracking=new JGc(this.issueInteractionsTracking,this.analytics)};X(u8,Z);u8.\u0275dir=Z.\u0275dir;
u8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.onTabExpanded$.pipe(Af(1E3),Qf(function(b){var c=b.expandedTabKeys;return GYb(a.userPreferencesManager,Object.fromEntries(b.allTabKeys.map(function(d){return[d,!c.has(d)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=m(b),f=e.next();!f.done;f=e.next())iu(c.issueInteractionsTracking,d,f.value+"-available");0<b.size&&iu(c.issueInteractionsTracking,
d,"SW-available")}))};u8.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var NGc=function(a,b){if(0===b.length)return!1;b=b.every(function(c){var d;return 1===c.sourceCommentNumber&&"MARKDOWN"===(null==(d=c.comment)?void 0:d.formattingMode)});return DI(a.userPreferencesManager).showInlineImages&&b?!1:!0};Ei.Object.defineProperties(u8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return ep(this.issueId$)}}});
u8.\u0275fac=function(a){return new (a||u8)(A(tu),A(CI),A(QJ),A(QH),A(LH),A(JF))};
u8.\u0275cmp=r({type:u8,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId"},features:[$f],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged",4,"ngIf"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged"],["ariaLabel","Toggle screenshots summary section",3,"key"],["expandable-tab-icon",""],["expandable-tab-header",""],["expandable-tab-content",
""],["ariaLabel","Toggle mentioned issues summary section",3,"key"],["ariaLabel","Toggle links summary section",3,"key"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","click",4,"ngIf"],[3,"issueId","imageLinks","click"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","click",4,"ngIf"],[3,"issueReferences","currentIssueId","click"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","click"]],template:function(a,b){a&1&&(D(0,"h3",0),P(1,"Issue summary"),E(),
O(2,Ksb,13,5,"expandable-tabs",1),R(3,"async"));a&2&&(z(2),C("ngIf",S(3,1,b.tabKeys$)))},dependencies:[bx,s8,p8,q8,r8,t8,h8,OB,l8,n8,hx],styles:["[_nghost-%COMP%]{display:block}.chip-container[_ngcontent-%COMP%]{display:flex}issue-summary-chip[_ngcontent-%COMP%]{margin:0 4px}inline-images-summary[_ngcontent-%COMP%]{display:block}inline-images-summary.hidden[_ngcontent-%COMP%]{display:none}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var PGc=function(a){Y.call(this,a,-1,OGc)};X(PGc,Y);var OGc=[1];PGc.messageId="b.ListStatusUpdateHistoryResponse";var v8=function(a){this.executor=a};v8.prototype.get=function(a,b){return this.executor.get({url:LRb(a),responseConstructor:IE,options:{params:{issueCommentView:String(Yk[void 0===b?"MARKDOWN":b])}}}).pipe(B(ml))};
v8.prototype.update=function(a){var b=this.executor,c=b.post,d=LRb(a.issueId),e=new IE;a.issueId&&e.setIssueId(a.issueId);a.updateText&&e.setUpdateText(a.updateText);a.formattedText&&Ok(e,ll,3,a.formattedText);a.formattingMode&&e.setFormattingMode(Yk[a.formattingMode]);a.author&&e.setAuthor(Nj(a.author));a.updateTime&&e.setUpdateTime(dj(a.updateTime));a.version&&e.setVersion(a.version);return c.call(b,{url:d,body:e,responseConstructor:IE}).pipe(B(ml))};
v8.prototype.delete=function(a){return this.executor.delete({url:LRb(a),responseConstructor:null})};var QGc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:PGc,options:{params:{issueCommentView:String(Yk.MARKDOWN)}}}).pipe(B(function(c){return fj(c,IE,1).map(ml)}))};v8.\u0275fac=function(a){return new (a||v8)(n(nE))};v8.\u0275prov=Pc({token:v8,factory:v8.\u0275fac,providedIn:"root"});var w8=function(a){this.matDialog=a};w8.prototype.show=function(a,b){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(x8,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{formattingAudience:b,statusUpdate:a}});return(0,T.firstValueFrom)(XA(this.dialog))};w8.\u0275fac=function(a){return new (a||w8)(n(bB))};w8.\u0275prov=Pc({token:w8,factory:w8.\u0275fac,providedIn:"root"});
var x8=function(a,b,c,d,e){Z.call(this);var f=this;this.activeSession=a;this.data=b;this.dialogService=c;this.dialogRef=d;this.CHAR_LIMIT=1E3;this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.formattingAudience=b.formattingAudience;this.origStatusUpdate=b.statusUpdate;this.newStatusUpdate=nj(this.origStatusUpdate);
this.subscriptions.add(cO(e,function(){return f.isModified()},!1))};X(x8,Z);x8.\u0275dir=Z.\u0275dir;var RGc=function(a){var b,c;return null!=(c=bxa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};g=x8.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Rf(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Rf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
g.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};g.isModified=function(){return!mj(this.newStatusUpdate,this.origStatusUpdate)};g.closeDialogForSave=function(){var a;null==(a=this.dialogService.dialog)||a.close(this.newStatusUpdate)};g.asNumber=function(a){return Number(a)};x8.\u0275fac=function(a){return new (a||x8)(A(tu),A(aB),A(w8),A(ZA),A(bO))};
x8.\u0275cmp=r({type:x8,selectors:[["ng-component"]],features:[$f],decls:18,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","contentChange","onSubmit"],["class","char-limit-warning",4,"ngIf"],[1,"inline-block",3,"initialValue","change"],["class","clamper line-clamp-4","tabindex","0",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button",
"save-button",3,"mat-dialog-close","disabled"],[1,"char-limit-warning"],["tabindex","0",1,"clamper","line-clamp-4"],[3,"comment","issueId","formattingMode","audience"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"Editing Status Update"),E(),D(2,"section",1)(3,"p",2),P(4," Editing the Status Update will not permanently remove old ones from database history. "),F(5,"br"),P(6," For deletion of PII or other sensitive content, please "),D(7,"a",3),P(8," file a support request. "),E()(),D(9,"b-comment-draft",
4),K("contentChange",function(c){return b.newStatusUpdate.updateText=c})("onSubmit",function(){return b.closeDialogForSave()}),E(),O(10,Lsb,2,1,"p",5),D(11,"b-markdown-toggle",6),K("change",function(c){return b.newStatusUpdate.formattingMode=c}),E(),O(12,Msb,2,4,"div",7),E(),D(13,"footer",8)(14,"button",9),P(15," Cancel "),E(),D(16,"button",10),P(17," Save "),E()());a&2&&(z(7),C("href",b.contentRemovalRequestLink,ue),z(2),qg(RGc(b)),C("content",b.newStatusUpdate.updateText),z(1),C("ngIf",1E3<b.newStatusUpdate.updateText.length),
z(1),pg("margin-bottom",b.newStatusUpdate.formattingMode!==b.MARKDOWN),C("initialValue",b.origStatusUpdate.formattingMode),z(1),C("ngIf",b.newStatusUpdate.formattingMode===b.MARKDOWN),z(2),C("mat-dialog-close",void 0),z(2),C("mat-dialog-close",b.newStatusUpdate)("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length))},dependencies:[cB,dB,eB,fB,bx,NA,fM,IL,UX],styles:['b-comment-draft[_ngcontent-%COMP%]{position:relative;display:block}b-comment-draft[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:4px;border-top-left-radius:4px;border-bottom-left-radius:4px;pointer-events:none}b-comment-draft.good[_ngcontent-%COMP%]:after{background-color:#34a853;background-color:var(--good)}b-comment-draft.warn[_ngcontent-%COMP%]:after{background-color:#fcc934;background-color:var(--warn)}b-comment-draft.bad[_ngcontent-%COMP%]:after{background-color:#ea4335;background-color:var(--bad)}.clamper[_ngcontent-%COMP%]:focus, .clamper[_ngcontent-%COMP%]:focus-within{display:block;-webkit-line-clamp:none}.char-limit-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad)}\n/*# sourceMappingURL=edit_status_update_dialog.css.map */'],
changeDetection:0});var y8=function(a){this.matDialog=a};y8.prototype.show=function(a){this.dialog=this.matDialog.open(z8,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,T.firstValueFrom)(XA(this.dialog))};y8.\u0275fac=function(a){return new (a||y8)(n(bB))};y8.\u0275prov=Pc({token:y8,factory:y8.\u0275fac,providedIn:"root"});var z8=function(a,b,c){Z.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};X(z8,Z);z8.\u0275dir=Z.\u0275dir;
z8.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Rf(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(Rf(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};z8.\u0275fac=function(a){return new (a||z8)(A(aB),A(y8),A(ZA))};
z8.\u0275cmp=r({type:z8,selectors:[["ng-component"]],features:[$f],decls:8,vars:2,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],["class","version",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],[1,"version"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"version-header"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs"],
[1,"update-email"],[3,"email"]],template:function(a,b){a&1&&(D(0,"h1",0),P(1,"History for Status Update"),E(),D(2,"section",1)(3,"ul",2),O(4,Nsb,19,12,"li",3),E()(),D(5,"footer",4)(6,"button",5),P(7," Close "),E()());a&2&&(z(4),C("ngForOf",b.statusUpdates),z(2),C("mat-dialog-close",void 0))},dependencies:[ax,UL,NA,cB,dB,eB,fB,pL,kN,cM,kK,jN],styles:[".history-list[_ngcontent-%COMP%]{overflow:auto;padding:0}.history-list[_ngcontent-%COMP%]   .version[_ngcontent-%COMP%]:first-child{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.version[_ngcontent-%COMP%]{position:relative;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);padding:8px 5px}.version-header[_ngcontent-%COMP%]{margin-left:40px}pre[_ngcontent-%COMP%]{cursor:auto;display:block;margin:20px 0 10px 40px;white-space:prewrap}b-formatted-date-time[_ngcontent-%COMP%]{float:right}.bv2-event-user-image-cell[_ngcontent-%COMP%]{padding-top:8px;padding-left:5px;margin:0}.update-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}\n/*# sourceMappingURL=status_update_history.css.map */"],
changeDetection:0});var SGc=["noteContainer"],TGc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},A8=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=f;this.issuePermissionService=h;this.statusUpdateService=l;this.statusUpdateHistoryDialogService=q;this.Freshness=TGc;this.FormattingMode=CQb;this.issueId$=new T.ReplaySubject(1);this.issue$=this.issueId$.pipe(Qf(this.issueFridge.watch));
this.accessLevel$=this.issue$.pipe(B(function(x){var y;return null==x?void 0:null==(y=x.accessLimit)?void 0:y.accessLevel}));this.issueTeamId$=this.issue$.pipe(B(function(x){var y;return null==x?void 0:null==(y=x.aggregatedData)?void 0:y.teamId}));this.isCollapsed=!1;this.currentUserIsAuthoritative$=(0,T.combineLatest)([this.issue$,this.issueTeamId$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;x=u.currentUser.email===tra(x);y=u.currentUser.allTeamIds.includes(String(y));return x||
y}));this.statusUpdate$=this.issue$.pipe(B(function(x){return null==x?void 0:x.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(sf(Vj),B(function(x){return{unlinkifiedComment:x.updateText,formattedComment:x.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(B(function(x){var y;return null!=(y=bxa(null==x?void 0:x.updateText))?y:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(B(function(x){return""===((null==x?void 0:x.updateText)||"").trim()}));this.freshnessIndicator$=
(0,T.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;if(x)return 2;var G;x=(null==y?void 0:null==(G=y.updateTime)?void 0:G.seconds)||0;return 86400>Date.now()/1E3-x?0:1}));this.uiState$=(0,T.combineLatest)([this.currentUserIsAuthoritative$,this.statusIsEmpty$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;return x&&y?"authoritative-team no-content":y?"display-none no-content":"normal"}),Pf("display-none loading"));
this.formattingModeOverride$=new T.BehaviorSubject(void 0);this.formattingMode$=(0,T.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(B(function(x){var y=m(x);x=y.next().value;return(y=y.next().value)?y:(null==x?void 0:x.formattingMode)||"PLAIN"}));this.menuItems$=(0,T.combineLatest)([this.issueId$,this.statusUpdate$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(B(function(x){var y=m(x),G=y.next().value,J=y.next().value;x=y.next().value;y=y.next().value;
var M=null!=J;J=J&&""!==(null==J?void 0:J.updateText);var V=[];J&&V.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){u.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===y},{type:"select",label:"Markdown",action:function(){u.formattingModeOverride$.next("MARKDOWN")},selected:"MARKDOWN"===y},{type:"select",label:"Source",action:function(){u.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===y}]});V.push({type:"action",
label:"Edit Status Update",action:function(){Ysb(u)}});M&&V.push({type:"action",label:"Show editing history",action:function(){UGc(u,G)}});J&&x&&V.push({type:"action",label:"Delete Status Update",action:function(){u.confirmationDialogService.open({title:"Delete Status Update?",content:xp("\n                    Deleting a Status Update will remove it from the history. It\n                    will be purged after 30 days. This cannot be undone."),confirmButtonText:"Delete",onConfirm:function(){u.doDelete()}})}});
V.push(VGc);return V}))};X(A8,Z);A8.\u0275dir=Z.\u0275dir;A8.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return Ze(function(d){if(1==d.nextAddress)return af(d,(0,T.firstValueFrom)(a.uiState$.pipe(sf(function(e){return"display-none loading"!==e}))),2);b=d.yieldResult;c=$sb(b);Lp(a.analytics,Mp.ISSUE,"statusUpdateDisplay",c);ef(d)})},1E3)};
A8.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
var Ysb=function(a){var b,c,d,e,f,h,l;return Ze(function(q){switch(q.nextAddress){case 1:return af(q,(0,T.firstValueFrom)(a.issueId$),2);case 2:return b=q.yieldResult,c={issueId:b,updateText:"",version:-1},e=null!=(d=ep(a.statusUpdate$))?d:c,af(q,(0,T.firstValueFrom)(a.accessLevel$),3);case 3:return f=q.yieldResult,h="INTERNAL"===f?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",af(q,a.editStatusUpdateDialogService.show(e,h),4);case 4:l=q.yieldResult;if(null==l)return q.return();a.statusUpdateService.update(l).subscribe(function(u){a.didSave(b,
u)},function(u){a.errorHandler.errorHandler(null,u)});ef(q)}})},Osb=function(a){var b,c;return Ze(function(d){if(1==d.nextAddress)return af(d,(0,T.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=ep(a.statusUpdate$);if(!c)return d.return();a.statusUpdateService.update(c).subscribe(function(e){a.didSave(b,e)},function(e){a.errorHandler.errorHandler(null,e)});ef(d)})};A8.prototype.didSave=function(a,b){HF(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};
var UGc=function(a,b){var c;Ze(function(d){if(1==d.nextAddress)return af(d,(0,T.firstValueFrom)(QGc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);ef(d)})};A8.prototype.doDelete=function(){var a=this,b;Ze(function(c){if(1==c.nextAddress)return af(c,(0,T.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){HF(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});ef(c)})};
Ei.Object.defineProperties(A8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});A8.\u0275fac=function(a){return new (a||A8)(A(LH),A(jJ),A(kI),A(w8),A(qG),A(QH),A(TJ),A(v8),A(y8))};
A8.\u0275cmp=r({type:A8,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&Sg(SGc,5);if(a&2){var c;Rg(c=Ug())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[$f],decls:2,vars:3,consts:[[3,"ngClass","class",4,"ngIf"],[3,"ngClass"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],[1,"flex-kids-x","space-between"],[1,"left"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","aria-label","Edit Status Update","color",
"primary",1,"gmat-button","small","margin-xs-right",3,"click"],[4,"ngIf"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems",4,"ngIf"],["class","empty-message muted",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary","class","gmat-button small margin-xs-right mark-fresh",3,"click",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"gmat-button","small","margin-xs-right","mark-fresh",
3,"click"],["class","fresh-checkmark","matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",4,"ngIf"],[3,"onedevHovercardTrigger"],["mode","relativepast",3,"timestamp"],["userCard",""],[3,"email"],["matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",1,"fresh-checkmark"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],["noteContainer",""],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],
["mat-stroked-button","","color","primary","class","gmat-button small show-more",3,"click",4,"ngIf"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-stroked-button","","color","primary",1,"gmat-button","small","show-more",3,"click"],[1,"empty-message","muted"]],template:function(a,b){a&1&&(O(0,Zsb,21,21,"div",0),R(1,"async"));a&2&&C("ngIf",S(1,1,b.uiState$))},dependencies:[OO,JL,$w,bx,UL,XI,bJ,rL,NA,OB,qD,hx,dN],styles:['.collapsed[_ngcontent-%COMP%]{max-height:84px;overflow:hidden}.collapsed[_ngcontent-%COMP%]:after{content:"";height:40px;left:auto;position:absolute;top:44px;width:100%;background:-webkit-gradient(linear,left top,left bottom,from(transparent),to(var(--surface-default)));background:-webkit-linear-gradient(transparent,var(--surface-default));background:linear-gradient(transparent,var(--surface-default))}.fresh-checkmark[_ngcontent-%COMP%]{color:#1e8e3e;color:var(--good-gfx);vertical-align:middle;margin:0}']});
var VGc={type:"action",label:"Using the Status Update field...",action:function(){$ma(window,Xh("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var B8=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=f;this.appEvents=h;this.routePerformance=l;this.clearcut=q;this.activeSession=u;this.id$=this.brain.id$;this.issueAndEvents$=(0,T.combineLatest)([this.brain.issueJs$.pipe(sf(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=Qp(this.activeSession,"enableSummarySection");this.enableIDPCanonicalRecommendation=Qp(this.activeSession,
"enableIDPCanonicalRecommendation");this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(sf(Vj),Qf(function(y){return x.editIssueService.issueCommentDraft(y).comment$}));this.finishedRendering$=(0,T.combineLatest)([this.brain.eventsJs$.pipe(Cf(0)),CYa("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Ef())};X(B8,Z);B8.\u0275dir=Z.\u0275dir;
B8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(sf(Vj),Rf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){WGc(a)});CYa("#comment1 .critical-feature",this.element.nativeElement).pipe(Rf(this.destroyed$)).subscribe(function(){var b=function(){Eoc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Hf()).subscribe(function(b){var c=
m(b);b=c.next().value;c=c.next().value;XGc(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(Tf(this.comment$)).subscribe(function(b){b=m(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var XGc=function(a,b,c){var d=b.issue,e=c.map(function(f){return f.unlinkifiedComment});b=Era(d,c).length;d=Fra(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";BH(a.clearcut,"view_idp_"+b);Xo("dimension10",b);c=c.some(function(f){var h,l,q;return 0<(null!=(q=null==(h=f.commentReactions)?void 0:null==(l=h.get("UPVOTE"))?void 0:l.count)?q:0)});Lp(a.analytics,Mp.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};B8.prototype.unloadPageHandler=function(){WGc(this)};
var WGc=function(a){var b=a.scrollTiming;if((b=b.scrollTimingMap.has("flex-1 pos-rel bg-off-main overflow overflow-on-print-media")?b.scrollTimingMap.get("flex-1 pos-rel bg-off-main overflow overflow-on-print-media"):[])&&!(2>b.length)){for(var c=b[0],d=b[0],e=0,f=1;f<b.length;f++)2E3>b[f]-d||(e+=d-c,c=b[f]),d=b[f],f===b.length-1&&(e+=b[f]-c);Lp(a.analytics,Mp.EDIT_ISSUE,"scroll","commentThread",e);AH(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
B8.\u0275fac=function(a){return new (a||B8)(A(SJ),A(CI),A(PT),A(LH),A(Yd),A(lK),A(uG),A(J_),A(zH),A(tu))};
B8.\u0275cmp=r({type:B8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&K("unload",function(){return b.unloadPageHandler()},!1,ae)},features:[$f],decls:7,vars:10,consts:[["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[4,"ngIf"],["class","carded margined-s bg-main",3,"issueId","hidden",4,"ngIf"],["class","carded margined-s bg-main",3,"recent-first",4,"ngIf"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],["class","rounded margined-s",3,"hidden","currentIssueId",
4,"ngIf"],[3,"issueId"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","highlighted-left",3,"id"],[1,"rounded","margined-s",3,"currentIssueId"],["canonicalRecommendation",""],[1,"carded","margined-s","bg-main",3,"issueId"],["issueSummaryCard",""],[1,"carded","margined-s","bg-main"],[3,"id",4,"ngIf"],[3,"id"]],template:function(a,b){a&1&&(D(0,"div",0),O(1,btb,5,4,"ng-container",1),R(2,"async"),O(3,ctb,3,5,"issue-summary-card",2),R(4,"async"),O(5,ftb,5,5,"div",3),R(6,"async"),E());a&2&&(C("bFocus",
!0),z(1),C("ngIf",S(2,4,b.id$)),z(2),C("ngIf",b.enableSummarySection&&S(4,6,b.id$)),z(2),C("ngIf",S(6,8,b.id$)))},dependencies:[bx,e8,M7,CQ,L7,J7,Y7,u8,Z7,A8,hx],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}"]});var C8=function(){};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=fd({type:C8});C8.\u0275inj=Qc({imports:[px]});var D8=function(){};D8.\u0275fac=function(a){return new (a||D8)};D8.\u0275mod=fd({type:D8});D8.\u0275inj=Qc({imports:[px,MP,C8,KP,BD,rD,lE,C4,fN]});var E8=function(){};E8.\u0275fac=function(a){return new (a||E8)};E8.\u0275mod=fd({type:E8});E8.\u0275inj=Qc({imports:[MP,D8,bN,px,hN,gM,tM,BD,rD,lE,C4,HN,xN,nN]});var F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=fd({type:F8});F8.\u0275inj=Qc({imports:[px,XQ,rD,gB,aH,BM,BD,eU,iG,ay,by,uT,lE,Tz]});var G8=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275mod=fd({type:G8});G8.\u0275inj=Qc({imports:[px,BD,rD,lE,rB,uB]});var H8=function(a){Z.call(this);this.prefs=a};X(H8,Z);H8.\u0275dir=Z.\u0275dir;H8.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(Rf(this.destroyed$)).subscribe()};H8.\u0275fac=function(a){return new (a||H8)(A(CI))};
H8.\u0275cmp=r({type:H8,selectors:[["b-toggle-code-font"]],features:[$f],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(wg(),D(0,"mat-slide-toggle",0),K("change",function(c){return b.onChange(c)}),R(1,"async"),xg(2),E());a&2&&C("checked",S(1,1,b.prefs.codeFont$))},dependencies:[gV,qD,hx],changeDetection:0});var I8=function(){};I8.\u0275fac=function(a){return new (a||I8)};I8.\u0275mod=fd({type:I8});I8.\u0275inj=Qc({imports:[px,BD,BM,gB,rD,hV,iG,lE,xN]});var J8=function(){};J8.\u0275fac=function(a){return new (a||J8)};J8.\u0275mod=fd({type:J8});J8.\u0275inj=Qc({providers:[cR],imports:[px,gN,zO,HY,F8,gM,pN,FP,BQ,G8,BD,rD,lE,aH,uT,I8]});var K8=function(){};K8.\u0275fac=function(a){return new (a||K8)};K8.\u0275mod=fd({type:K8});K8.\u0275inj=Qc({imports:[px,rD,BD,rB,FM,CD]});var L8=function(){};L8.\u0275fac=function(a){return new (a||L8)};L8.\u0275mod=fd({type:L8});L8.\u0275inj=Qc({imports:[px]});var M8=function(){};M8.\u0275fac=function(a){return new (a||M8)};M8.\u0275mod=fd({type:M8});M8.\u0275inj=Qc({imports:[px,gM,pN,hN,nN,JU,bN]});var N8=function(){};N8.\u0275fac=function(a){return new (a||N8)};N8.\u0275mod=fd({type:N8});N8.\u0275inj=Qc({imports:[px,bN]});var O8=function(){};O8.\u0275fac=function(a){return new (a||O8)};O8.\u0275mod=fd({type:O8});O8.\u0275inj=Qc({imports:[MP,D8,bN,px,hN,gM,M8,tM,C4,HN,nN,lE,N8,BD,rD,L8]});var P8=function(){};P8.\u0275fac=function(a){return new (a||P8)};P8.\u0275mod=fd({type:P8});P8.\u0275inj=Qc({imports:[px,O8,M8,BD,rD,xN]});var Q8=function(){};Q8.\u0275fac=function(a){return new (a||Q8)};Q8.\u0275mod=fd({type:Q8});Q8.\u0275inj=Qc({imports:[px,rD,BD,iG]});var R8=function(){};R8.\u0275fac=function(a){return new (a||R8)};R8.\u0275mod=fd({type:R8});R8.\u0275inj=Qc({imports:[bN,px,P8,E8,FP,G8,BD,rD,lE,xN,uT,Q8,nN,iG]});var S8=function(){};S8.\u0275fac=function(a){return new (a||S8)};S8.\u0275mod=fd({type:S8});S8.\u0275inj=Qc({imports:[yP,nY,bN,px,gN,ay,zO,BD,BM,rD,oY]});var T8=function(){};T8.\u0275fac=function(a){return new (a||T8)};T8.\u0275mod=fd({type:T8});T8.\u0275inj=Qc({imports:[px,BD,rD,lE,DO]});var U8=function(){};U8.\u0275fac=function(a){return new (a||U8)};U8.\u0275mod=fd({type:U8});U8.\u0275inj=Qc({imports:[bN,px,hN,FP,BQ,BD,rD,jD,lE,T8]});var V8=function(){};V8.\u0275fac=function(a){return new (a||V8)};V8.\u0275mod=fd({type:V8});V8.\u0275inj=Qc({imports:[px,gM,tM,eN,HN]});var W8=function(){};W8.\u0275fac=function(a){return new (a||W8)};W8.\u0275mod=fd({type:W8});W8.\u0275inj=Qc({imports:[V8,px,gM,tM,BD,eN,HN,aH,AM]});var X8=function(){};X8.\u0275fac=function(a){return new (a||X8)};X8.\u0275mod=fd({type:X8});X8.\u0275inj=Qc({imports:[bN,px,gK]});var Y8=function(){};Y8.\u0275fac=function(a){return new (a||Y8)};Y8.\u0275mod=fd({type:Y8});Y8.\u0275inj=Qc({imports:[px,BQ,BD,lE,X8,sM,HN,aH,V8]});var Z8=function(){};Z8.\u0275fac=function(a){return new (a||Z8)};Z8.\u0275mod=fd({type:Z8});Z8.\u0275inj=Qc({imports:[V8,px,BD,X8]});var $8=function(){};$8.\u0275fac=function(a){return new (a||$8)};$8.\u0275mod=fd({type:$8});$8.\u0275inj=Qc({imports:[px,BD,rD,vy]});var a9=function(){};a9.\u0275fac=function(a){return new (a||a9)};a9.\u0275mod=fd({type:a9});a9.\u0275inj=Qc({imports:[px,$8,W8,rD,Y8,Z8]});var b9=function(){};b9.\u0275fac=function(a){return new (a||b9)};b9.\u0275mod=fd({type:b9});b9.\u0275inj=Qc({imports:[gB,BM,px,fA,rD,BD,bN,VX]});var c9=function(){};c9.\u0275fac=function(a){return new (a||c9)};c9.\u0275mod=fd({type:c9});c9.\u0275inj=Qc({imports:[bN,px]});var d9=function(){};d9.\u0275fac=function(a){return new (a||d9)};d9.\u0275mod=fd({type:d9});d9.\u0275inj=Qc({imports:[px,hN,BD,gB,fA,sM,eN,c9,nN]});var e9=function(){};e9.\u0275fac=function(a){return new (a||e9)};e9.\u0275mod=fd({type:e9});e9.\u0275inj=Qc({imports:[MP,bN,px,hN,b9,gM,tM,BD,rD,lE,eN,d9,c9]});var f9=function(){};f9.\u0275fac=function(a){return new (a||f9)};f9.\u0275mod=fd({type:f9});f9.\u0275inj=Qc({imports:[dz,Ny,ay,BD,aN,by,aH,rD,U8,K8,DQ,J8,E8,R8,a9,Y8,S8,AM,e9,nN]});var g9=function(a,b){this.issueFridge=a;this.issueDetailsBrain=b;this.ROBOT_SLEEPING=c5b;this.issue$=this.issueDetailsBrain.id$.pipe(Qf(this.issueFridge.watch),sf(Vj));this.relatedLinks$=this.issue$.pipe(B(function(c){return c.relatedLinks||[]}));this.issueReferences$=this.relatedLinks$.pipe(B(function(c){return c.filter(yn)}));this.ids$=(0,T.combineLatest)([this.issueReferences$.pipe(B(function(c){return c.map(function(d){return d.issueId})})),this.issue$]).pipe(B(function(c){var d=m(c);c=d.next().value;
d=d.next().value;return YGc(c,d)}));this.urls$=this.relatedLinks$.pipe(B(function(c){return c.filter(wn)}),B(function(c){return c.map(function(d){return d.href})}),B(function(c){return[].concat(p(new Set(c)))}));this.state$=(0,T.combineLatest)([this.ids$,this.urls$]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return{ids:c,urls:d,hasNoResults:0===c.length&&0===d.length}}))},YGc=function(a,b){var c=String(b.issueId);return[].concat(p(new Set(a))).filter(function(d){return d!==c})};
g9.\u0275fac=function(a){return new (a||g9)(A(QH),A(SJ))};
g9.\u0275cmp=r({type:g9,selectors:[["issue-resources"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/b-resources-and-links","target","_blank"],[1,"gap"],[4,"ngFor","ngForOf"],[1,"margin-bottom"],["svgIcon","info",1,"icon-s","valign-middle"],[3,"issueIds"],[3,"href","originalHref"]],
template:function(a,b){a&1&&(D(0,"section",0),O(1,ltb,4,2,"ng-container",1),R(2,"async"),E());a&2&&(z(1),C("ngIf",S(2,1,b.state$)))},dependencies:[ax,bx,SI,EP,OB,hx],styles:["[_nghost-%COMP%]{display:block;padding:8px;word-break:break-word}ul[_ngcontent-%COMP%]{list-style:disc}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:150px;min-height:163px}\n/*# sourceMappingURL=issue_resources.css.map */"]});var h9=function(){};h9.\u0275fac=function(a){return new (a||h9)};h9.\u0275mod=fd({type:h9});h9.\u0275inj=Qc({imports:[px,bN,$P,rD]});var i9=function(a,b){var c=this;this.brain=a;this.codeMentions=b;this.ROBOT_SLEEPING=c5b;this.id$=this.brain.id$.pipe(sf(Vj));this.codeMentionsState$=this.id$.pipe(Qf(function(d){return CCc(c.codeMentions,d)}))};i9.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};i9.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};i9.\u0275fac=function(a){return new (a||i9)(A(SJ),A(U5))};
i9.\u0275cmp=r({type:i9,selectors:[["issue-todos"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/buganizer-guide/guides/issue-todos.md","target","_blank"],[3,"issueId","packageMentionSet","displayPackageName",4,"ngFor","ngForOf"],[1,"margin-top"],["target","_blank",3,
"href","click"],[3,"issueId","packageMentionSet","displayPackageName"]],template:function(a,b){a&1&&(D(0,"section",0),O(1,rtb,3,3,"ng-container",1),R(2,"async"),E());a&2&&(z(1),C("ngIf",S(2,1,b.id$)))},dependencies:[ax,bx,s4,hx],styles:["[_nghost-%COMP%]{display:block;padding:8px}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:150px;min-height:163px}[_nghost-%COMP%]     .bv2-package-mention-set{height:auto}[_nghost-%COMP%]     .bv2-package-mention-set li{white-space:nowrap;margin-bottom:4px}\n/*# sourceMappingURL=issue_todos.css.map */"]});var j9=function(a,b,c,d){var e=this;this.activeSession=a;this.issueFridge=b;this.issueDetailsBrain=c;this.eventsForIssueFridge=d;this.isInternalSession=this.activeSession.isInternalSession();this.issue$=this.issueDetailsBrain.id$.pipe(Qf(this.issueFridge.watch),sf(Vj));this.commentNumberToEventMap$=this.issue$.pipe(B(function(f){return f.issueId}),Qf(function(f){return e.eventsForIssueFridge.watch(f)}),B(function(f){var h;return null!=(h=null==f?void 0:f.events)?h:[]}),B(function(f){return new Map(f.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,T.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(B(function(f){f=m(f);var h=f.next().value,l=f.next().value,q;return(null==(q=h.relatedLinks)?void 0:q.map(function(u){return Object.assign({},u,{comment:l.get(u.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(B(function(f){return f.filter(yn)}));this.imageLinks$=this.relatedLinks$.pipe(B(function(f){return f.filter(xn)}));this.otherLinks$=this.relatedLinks$.pipe(B(function(f){return f.filter(Vra)}))};
j9.\u0275fac=function(a){return new (a||j9)(A(tu),A(QH),A(SJ),A(JF))};
j9.\u0275cmp=r({type:j9,selectors:[["b-redesigned-issue-resources"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","paginate"],[1,"margin-bottom"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","paginate"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","paginate"]],template:function(a,b){a&1&&(D(0,"section",0),O(1,ztb,7,9,"ng-container",1),R(2,"async"),E());a&2&&(z(1),C("ngIf",S(2,1,b.issue$)))},
dependencies:[bx,l8,h8,n8,OB,hx],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var k9=function(){};k9.\u0275fac=function(a){return new (a||k9)};k9.\u0275mod=fd({type:k9});k9.\u0275inj=Qc({imports:[px,Y8,W8,Z8,rD]});var l9=function(a,b,c,d,e){this.cdr=a;this.pageTitle=b;this.userApi=c;this.paths=d;this.errorHandler=e;this.isLoading=!1;this.hotlists=[];this.createHotlistPath=this.paths.createHotlist()};l9.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
l9.prototype.fetchUserHotlists=function(){var a=this;this.isLoading=!0;this.userApi.getUserHotlists().then(function(b){a.hotlists=b;a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};l9.\u0275fac=function(a){return new (a||l9)(A(HH,2),A(tR),A(tH),A(cH),A(qG))};
l9.\u0275cmp=r({type:l9,selectors:[["list-hotlists-page"]],features:[Dg([HH])],decls:8,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"gmat-button","no-visited-no-active",3,"href"],[1,"bv2-view"],[3,"large",4,"ngIf"],[3,"hotlists",4,"ngIf"],[3,"large"],[3,"hotlists"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1,"Browse Hotlists"),E(),D(2,"div",1)(3,"a",2),P(4," Create Hotlist "),E()(),D(5,"div",3),O(6,Atb,1,1,"b-spinner",4),O(7,Btb,1,1,"b-hotlist-grid",5),E());a&
2&&(z(3),C("href",b.createHotlistPath,ue),z(3),C("ngIf",b.isLoading),z(1),C("ngIf",!b.isLoading))},dependencies:[bx,zZ,vN,OA],encapsulation:2});var ZGc=new Set(["issueId","modifiedTime","createdTime"]),m9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb){Z.call(this);var lb=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=f;this.userApi=h;this.hotlistApi=l;this.activeSession=q;this.butterBar=u;this.analytics=x;this.appSearchState=y;this.issuePagination=G;this.userPreferencesManager=J;this.urlPreferences=M;this.gridPreferencesFetcher=V;this.paths=U;this.timeout=W;this.errorHandler=
ba;this.statusMessages=pa;this.domSafe=na;this.appEvents=xa;this.hotlistFridge=Fa;this.issueFridge=Ha;this.batchIssueRelationshipsService=Bb;this.focusedRowIndex=this.displayColumns=null;this.isInitializing=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.enableBatchEditParentChildRelationships=Qp(this.activeSession,"enableBatchEditParentChildRelationships");this.searchResults=null;this.hotlistChoices=[];this.hotlistMap={};this.customFieldMap={};this.gridControls=this.cachedSort=null;
this.issueColumnsInternal=[];this.metaColumns=[];this.sortPreferences=[];this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var Ya;null==(Ya=lb.resultsGrid)||Slc(Ya)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var Ya;null==(Ya=lb.resultsGrid)||Tlc(Ya)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Ya;null==(Ya=lb.resultsGrid)||Rlc(Ya)}},{keys:["s"],displayAs:"s",
description:"Star/Unstar the current issue",onPress:function(){var Ya;null==(Ya=lb.resultsGrid)||Vlc(Ya)}},{keys:[Xp("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Ya;null==(Ya=lb.resultsGrid)||Wlc(Ya,!0)}},{keys:[Xp("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var Ya;null==(Ya=lb.resultsGrid)||Wlc(Ya,!1)}},{keys:[Yp("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var Ya;null==(Ya=lb.resultsGrid)||
Ya.selectAll()}},{keys:[Yp("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",onPress:function(){var Ya;null==(Ya=lb.resultsGrid)||Plc(Ya)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var Ya;null==(Ya=lb.gridControls)||gY(Ya,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var Ya;null==(Ya=lb.gridControls)||gY(Ya,ln.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Ya;
if(null!=(Ya=lb.gridControls)&&Ya.hasSelectedIssues()){var qa;null==(qa=Ya.hotlistPicker)||qa.open()}}},{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var Ya;null==(Ya=lb.gridControls)||Mkc(Ya)}},{keys:["u",Xp("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return lb.refreshResults()}},{keys:[Yp("p","0"),Yp("p","1"),Yp("p","2"),Yp("p","3"),Yp("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(Ya){lb.resultsGrid&&
lb.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+Ya}],issueIds:lb.resultsGrid.getSelectedIssues().map(function(qa){return qa.issueId})}])}},{keys:["o","ENTER",FBa("ENTER")],displayAs:"o / Enter",description:"Open the current issue",onPress:function(Ya){var qa=c.document.activeElement;if(1===Ya&&"A"===qa.tagName)if(qa.href)Ya=lb.paths.getBaseUrl(),uj(qa.href,Ya)?lb.bLocation.url(qa.href.slice(Ya.length)):lb.domSafe.openInNewTab(qa.href);else{var Ba;null==(Ba=lb.resultsGrid)||cZ(Ba)}else if(2===
Ya){var Ea;null==(Ea=lb.resultsGrid)||cZ(Ea,{openInNewTab:!0})}else{var Oa;null==(Oa=lb.resultsGrid)||cZ(Oa)}}}]};X(m9,Z);m9.prototype.ngOnInit=function(){var a=this;$Gc(this);this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){a.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){a.fetchUserHotlists()}));this.routerEvents.routeUpdate.pipe(Rf(this.destroyed$)).subscribe(function(){$Gc(a)})};
var aHc=function(a){var b=["priority","type","title","assignee","status"];a.activeSession.isInternalSession()&&b.push("minSlo");b.push("issueId","modifiedTime");return b.map(lm)};
m9.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];mj(d,c)||(d&&Ma(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var $Gc=function(a){return bHc(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?cHc(a,a.searchResults.startIndex,a.searchResults.endIndex):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})},dHc=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},eHc=function(a){var b,c;return null!=(c=null==(b=a.window.document.activeElement)?void 0:b.classList.contains("search-box"))?c:!1},bHc=function(a){var b=
An();dHc(a)&&eHc(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},cHc=function(a,b,c){var d=An();dHc(a)||fHc(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},gHc=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=Ap("Number of search results exceeds "+c+" ; some matching issues may be omitted.",zp("BR"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "),
c={},c=zp("A",(c.href="http://go/buganizer-faq#q-why-do-i-need-to-restrict-my-search-to-less-than-1000-results",c),"go/buganizer-faq"),c=Ap(zp("BR"),"See ",c," for more details."),b=a.activeSession.isInternalSession()?Ap(b,c):b,aUb(a.butterBar,b))};g=m9.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=lm(a);if(d){var e=new om(d,"ASC"===b?"ASCENDING":"DESCENDING");Na(this.sortPreferences,function(f){return mj(f.fieldId,e.fieldId)});!c||ZGc.has(a)?this.sortPreferences=[e]:this.sortPreferences=[e].concat(this.sortPreferences.slice(0,2));this.saveSortColumns(this.sortPreferences)}else this.$log.warn("WARNING: Invalid field name specified "+a)};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"===a.fieldId.type?String(a.fieldId.customFieldId):rj(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};mj(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){CZ(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=void 0===b?hHc:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(p(b),p(yYa(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return lm(b.name)});CZ(this.urlPreferences,{displayColumns:this.displayColumns})};
g.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(Lp(this.analytics,this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?op(this.domSafe,a):this.bLocation.url(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var ju=function(a,b,c){void 0!==b&&a.goToPage(b+c)};g=m9.prototype;g.refreshResults=function(){DS(this.issuePagination);return $Gc(this)};
g.hasResults=function(){return this.searchResults&&0<this.searchResults.issues.length};
g.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=m(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;null==(f=this.searchResults)||$9b(f,e,d)}this.cdr.detectChanges();nG(this.butterBar,"Saving changes...",0);return SH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){for(var q=m(a[0].issueIds),u=q.next();!u.done;u=q.next()){u=u.value;var x=void 0,
y=void 0;null==(x=c.searchResults)||$9b(x,u,void 0,null!=(y=l)?y:null)}nG(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=m(a[0].issueIds),u=q.next();!u.done;u=q.next()){u=u.value;var x=void 0;null==(x=c.searchResults)||$9b(x,u)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=Fva(a).map(function(l){return l.fieldName});Lp(this.analytics,this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};nG(this.butterBar,
"Saving changes...",0);return 1===a.length&&1===a[0].actions.length&&"parentId"===a[0].actions[0].fieldName&&!0===this.enableBatchEditParentChildRelationships?this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=m(c.searchResults.issues.entries()),u=q.next();!u.done;u=q.next()){var x=m(u.value);u=x.next().value;x=x.next().value;l.finishedIssues[x.issueId]&&(u=c.searchResults.issues[u],iNa(u,l.finishedIssues[x.issueId],
null),c.loadHotlists(u),Object.assign(c.customFieldMap,u.customFieldMap))}}x=a[0];q=l.notFinishedIssueIds;u=String(x.actions[0].value);x=x.actions[0].actionType;if("ADD"!==x&&"REMOVE"!==x)throw Error("qe");q.length?(oG(c.butterBar,"Failed to update issue(s) "+q.join(", ")+"."),Lp(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):nG(c.butterBar,("ADD"===x?"Added child issue(s) to parent ["+u+"]":"Removed child issue(s) from parent ["+u+"]")+" on "+String(Object.keys(l.finishedIssues).length)+
" issues.");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)}):this.issueApi.issueBulkEdit(h,b).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=m(c.searchResults.issues.entries()),u=q.next();!u.done;u=q.next()){var x=m(u.value);u=x.next().value;x=x.next().value;l.affectedIssues[x.issueId]&&(x=l.affectedIssues[x.issueId],u=c.searchResults.issues[u],iNa(u,x,l.componentMap[Ca(x.snapshot).componentId]),c.loadHotlists(u),Object.assign(c.customFieldMap,
u.customFieldMap))}}l.errors&&l.errors.length?(q="Failed to update issue(s) "+(vj(l.errors,"issueId").join(", ")+"."),oG(c.butterBar,q),Lp(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=XZb(c.statusMessages,h,c.customFieldMap))?nG(c.butterBar,l):nG(c.butterBar,"Saved "+Gva(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)})};
g.loadHotlists=function(a){var b=this;var c=a?[a]:this.searchResults?this.searchResults.issues:[];a=new Set;for(var d=m(c),e=d.next();!e.done;e=d.next())if(e=e.value,e.hotlistId){e=m(e.hotlistId);for(var f=e.next();!f.done;f=e.next())f=f.value,this.hotlistMap[f]||a.add(f)}0!==a.size&&this.hotlistApi.bulkLoad([].concat(p(a))).then(function(){for(var h={},l=m(c),q=l.next();!q.done;h={$jscomp$loop$prop$loadedHotlists$2239:h.$jscomp$loop$prop$loadedHotlists$2239},q=l.next()){q=q.value;if(!q.hotlistId)return;
h.$jscomp$loop$prop$loadedHotlists$2239=[];q.hotlists=h.$jscomp$loop$prop$loadedHotlists$2239;q=m(q.hotlistId);for(var u=q.next();!u.done;u=q.next())u=u.value,b.hotlistMap[u]?h.$jscomp$loop$prop$loadedHotlists$2239.push(b.hotlistMap[u]):b.hotlistApi.get(u).then(function(x){return function(y){b.hotlistFridge.announce(y);b.addHotlist(y);x.$jscomp$loop$prop$loadedHotlists$2239.push(y)}}(h))}b.cdr.detectChanges()})};
g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;Lp(this.analytics,this.ANALYTICS_CATEGORY,"createHotlist");nG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);nG(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;nG(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.exportCsv=function(){Lp(this.analytics,this.ANALYTICS_CATEGORY,"exportCsv");KI(this.domSafe,this.getCsvUrl())};
var iHc=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(Rf(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;CZ(a.urlPreferences,{page:1});Lp(a.analytics,a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){Zi(c)})},fHc=function(a,b,c){var d=a.issuePagination.focusedIssueIndex_;a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{h$b(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},Jtb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
Ei.Object.defineProperties(m9.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){mj(this.issueColumnsInternal,a)||(Lp(this.analytics,this.ANALYTICS_CATEGORY,"columnModification",Pua(this.issueColumnsInternal.map(function(b){return b.toString()}),a.map(function(b){return b.toString()}))),this.issueColumnsInternal=a,this.saveColumns(this.issueColumns.slice(this.metaColumns.length)))}}});var hHc=[dZ,eZ,fZ];
m9.\u0275fac=function(a){return new (a||m9)(A(HH),A(KH),A(Window),A(bH),A(pG),A(dF),A(tH),A(oH),A(tu),A(mG),A(LH),A(oT),A(BS),A(CI),A(BZ),A(GZ),A(cH),A(XF),A(qG),A(vJ),A(JI),A(uG),A(xH),A(QH),A(F_))};m9.\u0275dir=r({type:m9,features:[$f]});var Ftb=function(){return{q:"status:open"}},n9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya,qa,Ba,Ea){m9.call(this,a,b,c,d,f,h,l,q,e,u,x,y,G,J,M,V,U,W,Fa,ba,pa,Bb,Ya,qa,Ea);this.hotkeys=na;this.pageTitle=xa;this.routePerformance=Ha;this.element=lb;this.currentTracker=Ba;this.ANALYTICS_CATEGORY=Mp.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=f5b};X(n9,m9);n9.\u0275dir=m9.\u0275dir;g=n9.prototype;
g.ngOnInit=function(){var a=this;m9.prototype.ngOnInit.call(this);this.subscriptions.add(wO(this.hotkeys,{title:"Issue List",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}))};
g.getIssues=function(){var a=this,b=this.bLocation.search().warning;b&&(Array.isArray(b)&&(b=b[0]),oG(this.butterBar,b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",pT(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,CZ(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);pT(this.appSearchState,
this.query);b=iac(this.appSearchState);if(0<b)return SVb(this.bLocation,this.paths.viewHotlist(b)),CZ(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=jac(this.appSearchState);if(0<b)return SVb(this.bLocation,this.paths.viewSavedSearch(b)),CZ(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,T.concat)((0,T.timer)(0).pipe(gha()),CYa("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){Eoc(a.routePerformance,"issue-list-w-results")};requestAnimationFrame(c);setTimeout(c)}));return this.doSearch().finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(){var a=this,b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:aHc(this)}),c=b.searchPreferences.then(function(f){f=nj(f);f.query=a.computeQuery(f);f.returnUrl=a.bLocation.url();f.trackerIds=a.appSearchState.currentTrackerScope;return CS(a.issuePagination,f)}),d;(null==(d=this.query)?0:d.includes("teamid:"))&&Lp(this.analytics,this.ANALYTICS_CATEGORY,"searchByTeam");var e;(null==(e=this.query)?0:e.includes("componentid:"))&&Lp(this.analytics,
this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(f){gHc(a,f)}).catch(function(f){"number"===typeof f?CZ(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return Tp({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;a.searchResults=a.processSearchResults(h);a.page=h.params.page;a.sortPreferences=h.params.sortColumns||[];a.cdr.detectChanges();a.loadHotlists();Lp(a.analytics,a.ANALYTICS_CATEGORY,"issueSearch",
f.displayColumns.join("|")+" ("+a.sortPreferences.join("|")+")")})};g.processSearchResults=function(a){return a};g.computeQuery=function(){return this.query};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return lm(b.name)});IYb(this.userPreferencesManager,zYa(a)).pipe(Rf(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===gac(this.currentUserEmail)?this.pageTitle.setTitle("Assigned to me"):this.appSearchState.currentQuery==="cc:"+this.currentUserEmail?this.pageTitle.setTitle("CC'ed to me"):this.appSearchState.currentQuery==="reporter:"+this.currentUserEmail?this.pageTitle.setTitle("Reported by me"):this.appSearchState.currentQuery===hac(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
g.saveSortColumns=function(a){var b=this;this.isLoading=!0;a=a.map(function(c){return{column:c.fieldId,order:c.direction}});this.userPreferencesManager.saveSortColumns(a).pipe(Rf(this.destroyed$)).subscribe(function(){CZ(b.urlPreferences,{page:1,sortColumns:null});b.refreshResults().finally(function(){b.isLoading=!1;b.cdr.detectChanges();Jtb()})})};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
n9.\u0275fac=function(a){return new (a||n9)(A(HH),A(KH),A(SE),A(bH),A(tu),A(pG),A(dF),A(tH),A(oH),A(mG),A(LH),A(oT),A(BS),A(CI),A(BZ),A(GZ),A(cH),A(XF),A(vJ),A(JI),A(vO),A(tR),A(qG),A(J_),A(uG),A(Yd),A(xH),A(QH),A(qN),A(F_))};
n9.\u0275cmp=r({type:n9,selectors:[["list-issues-page"]],features:[Dg([HH]),$f],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading layout-centered-column gap","tabindex","-1",3,"bFocus",4,"ngIf"],["class",
"bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[4,"ngIf","ngIfElse"],["noQuery",""],["routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["noTracker",""],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches","target","_blank"],[1,"bv2-grid-container"],[3,"searchResults",
"focusedRowIndex","columns","enableColumnSaving","sort","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1,"Issue search results"),E(),D(2,"div",1)(3,"b-grid-controls",2),K("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",
function(){return b.exportCsv()}),E(),D(4,"div",3)(5,"b-pagination",4),K("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return iHc(b,c.option)}),E()()(),D(6,"div",5),O(7,Ctb,4,1,"div",6),O(8,Itb,9,8,"div",7),O(9,Ktb,2,5,"div",8),E());a&2&&(z(3),C("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),C("searchResults",b.searchResults),z(1),dg("aria-busy",b.isLoading),z(1),C("ngIf",b.isLoading),z(1),C("ngIf",!b.isLoading&&!b.hasResults()),z(1),C("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[iZ,SZ,aZ,bx,vN,CQ,XG,hx],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}\n/*# sourceMappingURL=list_issues.css.map */"]});var o9=function(){};o9.\u0275fac=function(a){return new (a||o9)};o9.\u0275mod=fd({type:o9});o9.\u0275inj=Qc({imports:[yZ,UZ,PZ,IS,px,xN,DQ,aH]});var p9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya,qa,Ba,Ea,Oa){n9.call(this,a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,qa,Ba,Ea,Oa);this.issueLru=Ya;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=h4b(this.issueLru);this.initialLoad=!0};X(p9,n9);p9.\u0275dir=n9.\u0275dir;p9.prototype.ngOnInit=function(){n9.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};
p9.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;return 0===this.recentIds.length?(this.isLoading=!1,Promise.resolve()):this.doSearch().finally(function(){a.isLoading=!1;a.initialLoad=!1;a.cdr.detectChanges()})};p9.prototype.computeQuery=function(a){a=a.resultsPerPage;var b=this.recentIds,c=b.length;c>a&&(b=b.slice(c-a));return b.map(function(d){return"id:"+d}).join("|")};
p9.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=Otb(this.recentIds,a.issues));return a};p9.\u0275fac=function(a){return new (a||p9)(A(HH),A(KH),A(SE),A(bH),A(tu),A(pG),A(dF),A(tH),A(oH),A(mG),A(LH),A(oT),A(BS),A(CI),A(BZ),A(GZ),A(cH),A(XF),A(vJ),A(JI),A(vO),A(tR),A(qG),A(J_),A(uG),A(Yd),A(FN),A(xH),A(QH),A(qN),A(F_))};
p9.\u0275cmp=r({type:p9,selectors:[["list-issues-recent"]],features:[Dg([HH]),$f],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],
["id","no-results",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1,"Recent Issues"),E(),D(2,"div",1)(3,"b-grid-controls",2),K("init",function(d){return b.gridControls=d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps)})("onCreateHotlist",
function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),E(),D(4,"div",3)(5,"b-pagination",4),K("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return iHc(b,d.option)}),E()()(),D(6,"div",5),O(7,Ltb,3,0,"div",6),O(8,Mtb,2,0,"div",7),O(9,Ntb,2,5,"div",8),E());if(a&2){var c;z(3);C("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);z(2);C("searchResults",
b.searchResults);z(1);dg("aria-busy",b.isLoading);z(1);C("ngIf",b.isLoading);z(1);C("ngIf",!b.isLoading&&!b.hasResults());z(1);C("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[vN,iZ,SZ,aZ,bx],encapsulation:2});var q9=function(a,b,c,d,e,f){this.cdr=a;this.pageTitle=b;this.paths=c;this.sloApi=d;this.errorHandler=e;this.activeSession=f;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=this.paths.createSlo();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};q9.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),jHc(this))};
var jHc=function(a){a.isLoading=!0;a.sloApi.getOwnedSlos().then(function(b){a.activeSlos=b.filter(function(c){return!c.getIsArchived()});a.archivedSlos=b.filter(function(c){return c.getIsArchived()});a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};q9.\u0275fac=function(a){return new (a||q9)(A(HH,2),A(tR),A(cH),A(sQ),A(qG),A(tu))};
q9.\u0275cmp=r({type:q9,selectors:[["list-slos-page"]],features:[Dg([HH])],decls:8,vars:5,consts:[[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"gmat-button","no-visited-no-active",3,"href"],[1,"bv2-view"],["class","padded-sides",4,"ngIf"],[3,"large",4,"ngIf"],[4,"ngIf"],[1,"padded-sides"],[1,"muted"],[3,"large"],["class","slos-note",4,"ngIf"],[3,"slos",4,"ngIf"],[1,"slos-note"],[3,"slos"],[1,"unstyled-button","clickable-row",2,"width","100%",3,"click"],[1,"margined"],[1,"icon-s","vertical-centered",
3,"svgIcon"],["class","conditional-slo-grid",4,"ngIf"],[1,"conditional-slo-grid"],["class","muted padded",4,"ngIf"],[1,"muted","padded"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"a",1),P(2," Create SLO "),E()(),D(3,"div",2),O(4,Ptb,5,0,"div",3),O(5,Qtb,1,1,"b-spinner",4),O(6,Ttb,3,2,"ng-container",5),O(7,Xtb,6,5,"ng-container",5),E());a&2&&(z(1),C("href",b.createSloPath,ue),z(3),C("ngIf",b.sloEnabled),z(1),C("ngIf",b.isLoading),z(1),C("ngIf",!b.isLoading),z(1),C("ngIf",!b.isLoading))},dependencies:[bx,
OA,OB,y_,vN],encapsulation:2});var kHc=function(a){Y.call(this,a)};X(kHc,Y);g=kHc.prototype;g.getAuthor=function(){return wk(this,Mj,1)};g.setAuthor=function(a){Ok(this,Mj,1,a)};g.getTimestamp=function(){return wk(this,cj,2)};g.setTimestamp=function(a){return Ok(this,cj,2,a)};g.hasTimestamp=function(){return sl(this,cj,2)};g.getAdd=function(){return wk(this,zl,3)};g.getRemove=function(){return wk(this,zl,4)};g.getAddMask=function(){return wk(this,gE,5)};g.getRemoveMask=function(){return wk(this,gE,6)};var mHc=function(a){Y.call(this,a,-1,lHc)};X(mHc,Y);mHc.prototype.getUpdatesList=function(){return fj(this,kHc,1)};var lHc=[1];mHc.messageId="b.ComponentHistory";var r9=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};r9.prototype.get=function(a){var b=this.componentHistoriesCache.get(String(a));return b?b:this.componentHistoriesCache.put(String(a),this.executor.get({url:"action/component_updates/"+a,responseConstructor:mHc}))};r9.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
r9.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};r9.\u0275fac=function(a){return new (a||r9)(n(lH),n(oE))};r9.\u0275prov=Pc({token:r9,factory:r9.\u0275fac,providedIn:"root"});var bub=function(a){Y.call(this,a)};X(bub,Y);var oHc=function(a){Y.call(this,a,-1,nHc)};X(oHc,Y);var nHc=[1];oHc.messageId="b.BatchGroupMetadataResult";var s9=function(a,b){var c=this;this.groupMetadataResources=a;this.bulkGetter=b.adapt(function(d){return c.groupMetadataResources.bulkGet(d).then(function(e){var f=Ytb(e);return Rb(d,function(h){return f[h]||null})})})};s9.prototype.get=function(a){return this.bulkGetter.get(a).then(function(b){return null!==b?b:{groupEmail:a,approximateSize:0,sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"}})};s9.\u0275fac=function(a){return new (a||s9)(n(t9),n(YF))};
s9.\u0275prov=Pc({token:s9,factory:s9.\u0275fac,providedIn:"root"});var t9=function(a){this.executor=a};t9.prototype.bulkGet=function(a){a=[].concat(p(new Set(a)));a=En(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:oHc}).then(cub)};t9.\u0275fac=function(a){return new (a||t9)(n(oE))};t9.\u0275prov=Pc({token:t9,factory:t9.\u0275fac,providedIn:"root"});var u9=function(a){Y.call(this,a)};X(u9,Y);u9.prototype.getRetentionSettings=function(){return wk(this,Ek,2)};u9.prototype.setRetentionSettings=function(a){Ok(this,Ek,2,a)};u9.prototype.hasRetentionSettings=function(){return sl(this,Ek,2)};var qHc=function(a){Y.call(this,a,-1,pHc)};X(qHc,Y);var pHc=[2];qHc.messageId="b.SubcomponentsResponse";var v9=function(a){this.executor=a};v9.prototype.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:qHc})};v9.\u0275fac=function(a){return new (a||v9)(n(oE))};v9.\u0275prov=Pc({token:v9,factory:v9.\u0275fac,providedIn:"root"});var w9=function(){};w9.prototype.ngOnInit=function(){};w9.\u0275fac=function(a){return new (a||w9)};
w9.\u0275cmp=r({type:w9,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&(O(0,dub,4,1,"ng-container",0),O(1,eub,4,1,"ng-container",0));a&2&&(C("ngIf",b.teamPath),z(1),C("ngIf",b.componentPath))},dependencies:[bx,SU,$Z],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var fub=[{field:"admins",accessor:function(a){return a.admins}},{field:"editors",accessor:function(a){return a.editors}},{field:"appenders",accessor:function(a){return a.appenders}},{field:"readers",accessor:function(a){return a.readers}},{field:"restrictedReaders",accessor:function(a){return a.restrictedReaders}},{field:"restrictedPlusReaders",accessor:function(a){return a.restrictedPlusReaders}}];var x9=function(a,b,c,d,e){var f=this;this.accessPolicyConverter=a;this.activeSession=b;this.confirmationDialogService=c;this.documentationLinks=d;this.groupMetadata=e;this.componentReaders=[];this.enableComponentAutomationCheck=this.enableRostersChecks=!1;this.isPublic=function(){return vr(f.component)};this.hasUnsavedAccessLimitChanges=function(){return f.originalComponent&&f.component?f.originalComponent.accessLimit.accessLevel!==f.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=
function(){return new Promise(function(h){f.hasUnsavedAccessLimitChanges()&&"INTERNAL"===f.component.accessLimit.accessLevel?f.confirmationDialogService.open({title:"Component Visibility Changed",content:xp("You are about to change the component visibility to Google internal for this component. Make sure your changes are correct -- if this component has any issues, you will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};
this.performDeletedAccountsCheck=function(){return new Promise(function(h){f.componentReaders.includes("GROUP:nobody@google.com")?f.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:xp('"nobody@google.com" was detected, this is usually the result of an account being deleted that was already part of the access policy. It can be found in the following fields: '+[f.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':
null,f.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,f.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Issue Admins"':null,f.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,f.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,f.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':
null,f.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,f.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?'"View restricted content"':null].filter(function(l){return!!l}).join(", ")+". Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(h){pub(f.activeSession.getUserEmail(),
f.componentFlattenedAccessPolicy,f.componentAccessPolicyUnderEdit)?f.confirmationDialogService.open({title:"Component Administrators Changed",content:xp("You are about to change the administrator privileges for this component. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.performRestrictedPlusGroupRemovalCheck=
function(){return new Promise(function(h){oub(f.issueDefaultFlattenedAccessPolicy,f.issueDefaultAccessPolicyUnderEdit)?f.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:xp("You are about to remove Restricted+ reader permission for a group. You will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.retrieveGroupMetadata=function(h){h=f.accessPolicyConverter.stringToAccessPolicyPrincipal(h);
return Dj(h)&&h.group.emailAddress?f.groupMetadata.get(h.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var h=cn([].concat(p(wj(f.componentAccessPolicyUnderEdit.admins,f.componentFlattenedAccessPolicy.admins)),p(wj(f.issueDefaultAccessPolicyUnderEdit.admins,f.issueDefaultFlattenedAccessPolicy.admins)),p(wj(f.issueDefaultAccessPolicyUnderEdit.editors,f.issueDefaultFlattenedAccessPolicy.editors)),
p(wj(f.issueDefaultAccessPolicyUnderEdit.appenders,f.issueDefaultFlattenedAccessPolicy.appenders)),p(wj(f.issueDefaultAccessPolicyUnderEdit.readers,f.issueDefaultFlattenedAccessPolicy.readers)),p(wj(f.issueDefaultAccessPolicyUnderEdit.restrictedReaders,f.issueDefaultFlattenedAccessPolicy.restrictedReaders)),p(wj(f.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,f.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(h.map(function(l){return f.retrieveGroupMetadata(l)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return f.enableRostersChecks?f.evaluateNewGroups().then(function(h){var l=jub(h);h=nub(h);if(0===l.size&&0===h.size)return Promise.resolve(!0);var q=kub(l.size,h.size);l=lub(l);h=mub(h);var u=Ap(l,l===ku?ku:zp("BR"),h);l={};u=Ap(u,zp("P",{},Ap("Please review the ",zp("A",(l.href=uZb(f.documentationLinks)+"#fully-public-component",l.target="_blank",l),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?")));
return new Promise(function(x){f.confirmationDialogService.open({title:q,content:u,onConfirm:function(){x(!0)},onDismiss:function(){x(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(h){if(f.isPublic()&&iub(f.issueDefaultAccessPolicyUnderEdit,f.issueDefaultFlattenedAccessPolicy)){var l={};l=Ap(zp("P",{},"You are about to give a broad category of users permissions on a public component."),zp("P",{},Ap("Please review the ",
zp("A",(l.href=vZb(f.documentationLinks),l.target="_blank",l),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?")));f.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:l,onConfirm:function(){h(!0)},onDismiss:function(){h(!1)},confirmButtonText:"Add Group Alias"})}else h(!0)})};this.performChangedImplicitAccessCheck=function(){f.implicitAccess={getValue:function(){return f.componentAccessPolicyUnderEdit?
"ALLOW"===f.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return f.componentFlattenedAccessPolicy?"ALLOW"===f.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(q){f.componentAccessPolicyUnderEdit&&(f.componentAccessPolicyUnderEdit=Object.assign({},f.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))}};var h={},l=zp("A",(h.href=hlb(f.documentationLinks),h),"Learn more.");return new Promise(function(q){f.implicitAccess.getValue()===f.implicitAccess.getSavedValue()?
q(!0):f.implicitAccess.getValue()?f.confirmationDialogService.open({title:"Turn on expanded access for component "+f.component.componentId+"?",content:Ap("When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",l),onConfirm:function(){q(!0)},onDismiss:function(){q(!1)}}):f.confirmationDialogService.open({title:"Turn off expanded access for component "+f.component.componentId+"?",content:Ap("Some users may lose the ability to edit or comment on issues in this component. ",
l),onConfirm:function(){q(!0)},onDismiss:function(){q(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var h=[].concat(p(gub(f.issueDefaultFlattenedAccessPolicy,f.issueDefaultAccessPolicyUnderEdit)),p(gub(f.componentFlattenedAccessPolicy,f.componentAccessPolicyUnderEdit))),l=new Set;h=m(h);for(var q=h.next();!q.done;q=h.next()){q=m(q.value.addedPrincipals);for(var u=q.next();!u.done;u=q.next())u=f.accessPolicyConverter.stringToAccessPolicyPrincipal(u.value),(Cj(u)?Nwa(u.user.emailAddress):
Dj(u)&&Nwa(u.group.emailAddress))&&l.add(u)}return[].concat(p(l))};this.performAutomationUserAccessCheck=function(){if(!f.enableComponentAutomationCheck)return Promise.resolve(!0);var h=f.getAddedAutomationInPolicyChange();return new Promise(function(l){if(h.length){var q={};q=zp("A",(q.href=tZb(f.documentationLinks),q)," automation account documentation");f.confirmationDialogService.open({title:"Adding automation accounts",content:Ap(xp("You are adding automation accounts to the ACL for this component. All Googlers are entrusted with power and responsibility as stewards of Google's data. Please see the"),
zp("wbr"),q,xp("."),zp.apply(Vq,["OL",{}].concat(p(h.map(function(u){if(Cj(u)){var x;return zp("LI",{},xp(null!=(x=u.user.emailAddress)?x:""))}if(Dj(u)){var y;return zp("LI",{},xp(null!=(y=u.group.emailAddress)?y:""))}throw Error("gf`"+JSON.stringify(u));})))),zp("BR",{}),xp("Are you sure you wish to allow automation to access data in this component?")),onConfirm:function(){l(!0)},onDismiss:function(){l(!1)}})}else l(!0)})};this.runValidation=function(h){var l,q,u;return Ze(function(x){switch(x.nextAddress){case 1:l=
m(h),q=l.next();case 2:if(q.done){x.jumpTo(4);break}u=q.value;return af(x,u(),5);case 5:if(!x.yieldResult)return x.return(!1);q=l.next();x.jumpTo(2);break;case 4:return x.return(!0)}})};this.enableRostersChecks=Qp(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=Qp(this.activeSession,"enableComponentAutomationCheck")},rHc=function(a,b){var c=b.component,d=b.originalComponent,e=b.componentReaders,f=b.componentAccessPolicyUnderEdit,h=b.componentFlattenedAccessPolicy,l=b.issueDefaultAccessPolicyUnderEdit,
q=b.issueDefaultFlattenedAccessPolicy,u,x;return Ze(function(y){if(1==y.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=l,a.issueDefaultFlattenedAccessPolicy=q,u=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,a.performAddedNewInternalAliasesCheck,
a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],af(y,a.runValidation(u),2);x=y.yieldResult;return y.return(x)})};x9.\u0275fac=function(a){return new (a||x9)(n(kV),n(tu),n(jJ),n(hJ),n(s9))};x9.\u0275prov=Pc({token:x9,factory:x9.\u0275fac});var y9=function(a){Z.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};X(y9,Z);y9.\u0275dir=Z.\u0275dir;
y9.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(p(this.componentReaders))),d=new Set([].concat(p(a.admins),p(a.inheritedAdmins)));a=new Set([].concat(p(d),p(a.appenders)));var e=new Set([].concat(p(b.admins))),f=new Set([].concat(p(e),p(b.editors))),h=new Set([].concat(p(f),p(b.appenders))),l=new Set([].concat(p(b.restrictedPlusReaders))),q=new Set([].concat(p(l),p(b.restrictedReaders)));b=new Set([].concat(p(q),p(h),p(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(p(d)).map(lu)},{permission:"Create Issues",principals:[].concat(p(a)).map(lu)},{permission:"Admin Issues",principals:[].concat(p(e)).map(lu)},{permission:"Edit Issues",principals:[].concat(p(f)).map(lu)},{permission:"Comment Issues",principals:[].concat(p(h)).map(lu)},{permission:"View Issues",principals:[].concat(p(b)).map(lu)},{permission:"View Components",principals:[].concat(p(c)).map(lu)},{permission:"View Restricted",principals:[].concat(p(q)).map(lu)},
{permission:"View Restricted+",principals:[].concat(p(l)).map(lu)}];sHc(this,this.templates)};
var sHc=function(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next()){var d={};c=m(c.value.principals);for(var e=c.next();!e.done;d={$jscomp$loop$prop$principal$2241:d.$jscomp$loop$prop$principal$2241},e=c.next())d.$jscomp$loop$prop$principal$2241=e.value,"ALIAS"===d.$jscomp$loop$prop$principal$2241.principalType?d.$jscomp$loop$prop$principal$2241.detailedUserType="NO_DETAILED_TYPE":CJ(a.principalTypes,d.$jscomp$loop$prop$principal$2241.value,!0).then(function(f){return function(h){f.$jscomp$loop$prop$principal$2241.detailedUserType=
h.detailedUserType}}(d))}};y9.\u0275fac=function(a){return new (a||y9)(A(BJ))};
y9.\u0275cmp=r({type:y9,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[$f,md],decls:7,vars:1,consts:[[1,"permissions-column-headers"],["scope","col"],[4,"ngFor","ngForOf"],[1,"permission-row"],["scope","row"],[3,"value","detailedUserType","principalType","accessLevel","displayText",4,"ngFor","ngForOf"],[3,"value","detailedUserType","principalType",
"accessLevel","displayText"]],template:function(a,b){a&1&&(D(0,"table")(1,"tr",0)(2,"th",1),P(3,"Permission"),E(),D(4,"th",1),P(5,"Users With Permission"),E()(),O(6,rub,6,2,"ng-container",2),E());a&2&&(z(6),C("ngForOf",b.templates))},dependencies:[ax,vZ],styles:["table[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:10px}.permissions-column-headers[_ngcontent-%COMP%]{display:none}.permission-row[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.permission-row[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .permission-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:auto;padding:8px;font-size:.8125rem;text-align:left}.permission-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center}b-contact-chip[_ngcontent-%COMP%]{margin-right:5px;margin-top:5px}\n/*# sourceMappingURL=permissions_view.css.map */"]});var tHc=Object.values({ISSUE_ADMIN:"issueAdmin",ISSUE_EDITOR:"issueEditor",ISSUE_APPENDER:"issueAppender",ISSUE_READER:"issueReader",ISSUE_RESTRICTED_READER:"issueRestrictedReader",ISSUE_RESTRICTED_PLUS_READER:"issueRestrictedPlusReader",COMPONENT_ADMIN:"componentAdmin",COMPONENT_APPENDER:"componentAppender",COMPONENT_READER:"componentReader"}),z9={},uHc=(z9.issueAdmin=new Set(["issueEditor"]),z9.issueEditor=new Set(["issueAppender"]),z9.issueAppender=new Set(["issueReader"]),z9.issueRestrictedReader=
new Set(["issueReader"]),z9.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),z9.issueReader=new Set(["componentReader"]),z9.componentAdmin=new Set(["componentAppender"]),z9.componentAppender=new Set(["componentReader"]),z9.componentReader=new Set,z9),Bub=vp(tHc,function(a){return uHc[a]}),mu=Object.values({COMPONENT_ADMIN:"componentAdmin",ISSUE_ADMIN:"issueAdmin",ISSUE_EDITOR:"issueEditor",ISSUE_CONTRIBUTOR:"issueContributor",COMPONENT_ADMIN_ONLY:"componentAdminOnly",ISSUE_CREATOR:"issueCreator",
ISSUE_ADMIN_ONLY:"issueAdminOnly",ISSUE_EDITOR_EXISTING:"issueEditorExisting",ISSUE_COMMENTER:"issueCommenter",RESTRICTED_PLUS_VIEWER:"restrictedPlusViewer",RESTRICTED_VIEWER:"restrictedViewer",ISSUE_VIEWER:"issueViewer"}),A9={},vHc=(A9.componentAdmin=new Set(["componentAdmin","issueAdmin"]),A9.issueAdmin=new Set(["issueAdmin","componentAppender"]),A9.issueEditor=new Set(["issueEditor","componentAppender"]),A9.issueContributor=new Set(["issueAppender","componentAppender"]),A9.componentAdminOnly=new Set(["componentAdmin"]),
A9.issueCreator=new Set(["componentAppender"]),A9.issueAdminOnly=new Set(["issueAdmin"]),A9.issueEditorExisting=new Set(["issueEditor"]),A9.issueCommenter=new Set(["issueAppender"]),A9.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),A9.restrictedViewer=new Set(["issueRestrictedReader"]),A9.issueViewer=new Set(["issueReader"]),A9),zub=vp(mu,function(a){return vHc[a]}),wHc=Cub(),yub=vp(mu,function(a){a=[].concat(p(zub.get(a))).flatMap(function(b){return[].concat(p(wHc.get(b)))});return new Set(a)}),
Aub=vp(mu,function(a){return new Set(mu.filter(function(b){return b!==a&&rna(yub.get(b),yub.get(a))}))});var Fub={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},xHc={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var B9=function(a,b,c,d,e,f,h,l){var q=this;this.accessPolicyApi=a;this.accessPolicyConverter=b;this.errorHandler=c;this.butterBar=d;this.userAccess=e;this.componentActions=f;this.componentValidator=h;this.analytics=l;this.isAdmin=!1;this.rolesMap=Fub;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return q.componentAccessPolicyUnderEdit?"ALLOW"===q.componentAccessPolicyUnderEdit.implicitAccess:
!1},getSavedValue:function(){return q.componentFlattenedAccessPolicy?"ALLOW"===q.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(u){q.componentAccessPolicyUnderEdit&&(q.componentAccessPolicyUnderEdit=Object.assign({},q.componentAccessPolicyUnderEdit,{implicitAccess:u?"ALLOW":"DENY"}))},isUpdated:function(){var u;return q.componentAccessPolicyUnderEdit.implicitAccess!==(null==(u=q.componentFlattenedAccessPolicy)?void 0:u.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=
this.componentFlattenedAccessPolicy=xHc;this.componentAccessPolicyUnderEdit=lV();this.issueDefaultAccessPolicyUnderEdit=lV();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(u){a:{var x=q.issueDefaultFlattenedAccessPolicy;if(u&&x){x=x.restrictedPlusReaders;u=m(u);for(var y=u.next();!y.done;y=u.next())if(y=y.value,0===y.indexOf("GROUP:")&&-1===x.indexOf(y)){x=!1;break a}}x=!0}return x}}};g=B9.prototype;
g.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
g.doSaveAccessLimit=function(){var a=this;if(!this.hasUnsavedAccessLimitChanges())return Promise.resolve();this.isUpdatingAccessLimit=!0;this.isSaving=this.isUpdatingAccessPolicy||this.isUpdatingAccessLimit;return this.accessPolicyApi.setAccessLimit("COMPONENT",this.componentId,this.component.accessLimit).then(function(b){a.component.accessLimit.accessLevel=b.accessLevel;a.originalComponent.accessLimit.accessLevel=b.accessLevel;nG(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=
a.originalComponent.accessLimit.accessLevel;var c="Could not change access level. ";Cn(b)&&(c+=Dn(b));oG(a.butterBar,c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};g.updateComponentAndOriginalComponent=function(a){this.component=nj(a);this.originalComponent=nj(a)};
g.loadComponent=function(){var a=this;return this.componentActions.getUncached(this.componentId,!0).then(function(b){a.updateComponentAndOriginalComponent(b);0<b.parentComponentId&&a.loadParentComponent(b.parentComponentId)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){return b.parentComponent=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.initialize=function(a){var b=this;a=void 0===a?this.componentId:a;if(!a&&!this.componentId)return oG(this.butterBar,"No component found!"),Promise.resolve();this.componentId=a;return Promise.all([this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){b.componentFlattenedAccessPolicy=mV(c);b.componentAccessPolicyUnderEdit=nj(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
mV(c);b.issueDefaultAccessPolicyUnderEdit=nj(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};var yHc=function(a){a.rolesMap=Gub({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})};
B9.prototype.saveIssueDefaultsAccessPolicy=function(a){var b=this.issueDefaultFlattenedAccessPolicy;return b&&Iub(b,this.issueDefaultAccessPolicyUnderEdit)?this.accessPolicyApi.update("ISSUE_DEFAULTS",this.componentId,a):Promise.resolve(void 0)};var zHc=function(a){var b=Hub(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy),c=a.issueDefaultFlattenedAccessPolicy;a=!(!c||!Iub(c,a.issueDefaultAccessPolicyUnderEdit));return b||a};
B9.prototype.saveComponentAccessPolicy=function(a){var b=this;return Hub(this.componentAccessPolicyUnderEdit,this.componentFlattenedAccessPolicy)?this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){var d=mV(c);if(Hub(d,b.componentAccessPolicyUnderEdit)){if(Hub(d,b.componentFlattenedAccessPolicy))return Promise.reject({data:{message:"ConflictingWriteException: The attempted change was based on stale data. Reload the data and try again."}});a.readers=c.readers;return b.accessPolicyApi.update("COMPONENT",
b.componentId,a)}}):Promise.resolve(void 0)};B9.prototype.loadUserAccess=function(a){var b=this;return aG(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):aG(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
B9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=nV(this.componentAccessPolicyUnderEdit);var c=nV(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),oG(this.butterBar,c),Promise.resolve()}if(zHc(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,nG(this.butterBar,"Saving access settings...",0),this.saveIssueDefaultsAccessPolicy(c).then(function(d){d&&(b.readers=[].concat(p(d.admins||[]),p(d.editors||[]),p(d.appenders||
[]),p(d.readers||[]),p(d.restrictedPlusReaders||[]),p(d.restrictedReaders||[])));return a.saveComponentAccessPolicy(b).catch(function(e){var f;return Ze(function(h){if(1==h.nextAddress)return f=nV(a.issueDefaultFlattenedAccessPolicy),af(h,a.saveIssueDefaultsAccessPolicy(f),2);throw e;})})}).then(function(){return a.doSaveAccessLimit()}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;yHc(a);var e=a.rolesMap,f={componentAdminOnly:d.componentAdminOnly,issueAdminOnly:d.issueAdminOnly,
viewer:d.viewer,editExistingIssuesOnly:d.editExistingIssuesOnly,createIssuesOnly:d.createIssuesOnly,commentOnly:d.commentOnly,viewRestricted:d.viewRestricted,viewRestrictedPlus:d.viewRestrictedPlus},h={componentAdminOnly:e.componentAdminOnly,issueAdminOnly:e.issueAdminOnly,viewer:e.viewer,editExistingIssuesOnly:e.editExistingIssuesOnly,createIssuesOnly:e.createIssuesOnly,commentOnly:e.commentOnly,viewRestricted:e.viewRestricted,viewRestrictedPlus:e.viewRestrictedPlus};d=Jub({componentAdmin:d.componentAdmin,
issueAdmin:d.issueAdmin,editor:d.editor,contributor:d.contributor},{componentAdmin:e.componentAdmin,issueAdmin:e.issueAdmin,editor:e.editor,contributor:e.contributor});f=Jub(f,h);switch(d&&f?2:d?0:f?1:3){case 0:Lp(a.analytics,Mp.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:Lp(a.analytics,Mp.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:Lp(a.analytics,Mp.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:Lp(a.analytics,Mp.ROLE_BASED_PERMISSIONS,"update",
"roles:neither")}nG(a.butterBar,"Access settings saved",0)}).catch(function(d){oG(a.butterBar,Dn(d),0)}).finally(function(){return Ze(function(d){if(1==d.nextAddress)return af(d,a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;ef(d)})});yHc(this);return this.doSaveAccessLimit()};
var AHc=function(a,b){b=Dub(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},Wub=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(AHc(a,b),rHc(a.componentValidator,{component:a.component,originalComponent:a.originalComponent,
componentReaders:a.componentReaders,componentFlattenedAccessPolicy:a.componentFlattenedAccessPolicy,componentAccessPolicyUnderEdit:a.componentAccessPolicyUnderEdit,issueDefaultFlattenedAccessPolicy:a.issueDefaultFlattenedAccessPolicy,issueDefaultAccessPolicyUnderEdit:a.issueDefaultAccessPolicyUnderEdit}).then(function(c){if(c)return a.doSaveAccessPolicy();nG(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
Ei.Object.defineProperties(B9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){mj(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=Eub({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){mj(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=Eub({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});B9.\u0275fac=function(a){return new (a||B9)(n(zG),n(kV),n(qG),n(mG),n($F),n($U),n(x9),n(LH))};B9.\u0275prov=Pc({token:B9,factory:B9.\u0275fac});var C9=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=yQb};g=C9.prototype;g.getRecentIssuesLink=function(){return Mn(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};
g.shouldShowAccessLimitChangeUi=function(){if(this.activeSession.isExternalSession())return!1;if(this.rolesEditor.component)if(this.rolesEditor.component.parentComponentId){if(this.rolesEditor.parentComponent)return ur(this.rolesEditor.parentComponent)||ur(this.rolesEditor.component)}else return!1};g.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!cXa(this.rolesEditor.parentComponent))};g.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!vr(this.rolesEditor.parentComponent))};
g.getAccessLevelDescription=function(a){return eXa(a)};C9.\u0275fac=function(a){return new (a||C9)(A(tu),A(hJ),A(B9))};
C9.\u0275cmp=r({type:C9,selectors:[["access-limit-settings"]],decls:6,vars:2,consts:[["class","component-banner",4,"ngIf"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"component-banner"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for",
"access-level-public"],[1,"access-level-warning"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-public","name","accessLevelPublic",
"value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange"]],template:function(a,b){a&1&&(O(0,Oub,20,7,"div",0),D(1,"div",1)(2,"p"),P(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),D(4,"a",2),P(5,"Learn more"),E()()());a&2&&(C("ngIf",b.shouldShowAccessLimitChangeUi()),z(4),yg("href","",Kp(b.documentationLinks),"#recommended-role-based-permissions-configurations",ue))},dependencies:[bx,yh,Ox,Ex,Lx],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;margin-bottom:20px}.component-banner[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;margin:15px 0 0;padding:16px}.component-banner[_ngcontent-%COMP%]   .component-visibility-settings[_ngcontent-%COMP%]{min-height:28px}.component-banner[_ngcontent-%COMP%]   .component-visibility-header[_ngcontent-%COMP%]{font-weight:bold}.component-banner.access-level-banner[_ngcontent-%COMP%]{margin-bottom:20px}.component-banner.implicit-access-banner[_ngcontent-%COMP%], .component-banner.template-help-banner[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin:15px 0px 10px 0}\n/*# sourceMappingURL=access_limit_settings.css.map */"]});var D9=function(a,b){this.documentationLinks=a;this.rolesEditor=b};D9.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};D9.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};D9.\u0275fac=function(a){return new (a||D9)(A(hJ),A(B9))};
D9.\u0275cmp=r({type:D9,selectors:[["expanded-access-settings"]],decls:10,vars:5,consts:[[1,"expanded-access-settings"],[1,"permission-toggle-checkbox"],["ariaLabelledby","expanded-access-help permission-toggle-help",3,"checked","disabled","change"],[1,"permission-toggle-text"],["id","expanded-access-help",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about expanded access","aria-describedby","expanded-access-help",
1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),K("change",function(c){return b.setImplicitAccess(c.checked)}),E()(),D(3,"div",3)(4,"strong",4),P(5,"Expanded access"),E(),D(6,"div",5),P(7," When checked, verifiers and assignees can edit issues for this component, and CC'd users can add comments. "),D(8,"a",6),P(9,"Learn more"),E()()()());a&2&&(pg("bv2-edit-resource-readonly",b.isAccessEditDisabled()),z(2),C("checked",b.rolesEditor.implicitAccess.getValue())("disabled",
b.isAccessEditDisabled()),z(6),yg("href","",Kp(b.documentationLinks),"#expanded-access",ue))},dependencies:[QI],styles:["[_nghost-%COMP%]{display:flex}.expanded-access-settings[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);display:flex;margin:10px 0px;border-radius:8px;width:100%;padding:16px}.expanded-access-settings[_ngcontent-%COMP%]   .permission-toggle-text[_ngcontent-%COMP%]{margin-left:1em}\n/*# sourceMappingURL=expanded_access_settings.css.map */"]});var Pub=function(){return{}},Rub=function(a,b){return{displayText:a,values:b}},Qub=function(a){return[a]},Sub=function(){return[]},E9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new vw;this.formIsValid=new vw;this.aclFormValidity=new Map};E9.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};E9.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};E9.\u0275fac=function(a){return new (a||E9)};
E9.\u0275cmp=r({type:E9,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",displayedTableColumns:"displayedTableColumns",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},decls:31,vars:1,consts:[["scope","col"],[4,"ngFor","ngForOf"],[1,"edit-field"],[1,"role-title"],[3,"htmlFor"],["mat-icon-button","",3,"matTooltip"],["svgIcon","help-outline"],[3,"idForInputBox","users","ariaLabel","accessLevel","customValidators",
"includeAliases","includeViewAliases","containerChips","usersChange","isValid"],["size","large",3,"name"]],template:function(a,b){a&1&&(D(0,"table")(1,"thead")(2,"tr")(3,"th",0),P(4,"Role Assignments"),E(),D(5,"th",0)(6,"h6"),P(7,"Admin Components"),E()(),D(8,"th",0)(9,"h6"),P(10,"Create Issues"),E()(),D(11,"th",0)(12,"h6"),P(13,"Admin Issues"),E()(),D(14,"th",0)(15,"h6"),P(16,"Edit Issues"),E()(),D(17,"th",0)(18,"h6"),P(19,"Comment Issues"),E()(),D(20,"th",0)(21,"h6"),P(22,"View Issues"),E()(),D(23,
"th",0)(24,"h6"),P(25,"View Restricted"),E()(),D(26,"th",0)(27,"h6"),P(28,"View Restricted+"),E()()()(),D(29,"tbody"),O(30,Tub,26,29,"ng-container",1),E()());a&2&&(z(30),C("ngForOf",b.rolesTableData))},dependencies:[ax,jZ,nO,NA,OB,qD],styles:["table[_ngcontent-%COMP%]{width:100%;font-size:.8125rem;font-family:Roboto,Arial,sans-serif}table[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]{display:flex;flex-direction:column}tr[_ngcontent-%COMP%]{display:flex}th[_ngcontent-%COMP%]:first-child{visibility:hidden;flex:0 0 40%}th[_ngcontent-%COMP%]:not(:first-child){width:20em;height:20px;text-align:center}th[_ngcontent-%COMP%]:not(:first-child)   h6[_ngcontent-%COMP%]{display:inline;font-size:.8125rem}td[_ngcontent-%COMP%]:first-child{min-width:250px;flex:0 0 40%}td[_ngcontent-%COMP%]:not(:first-child){display:flex;justify-content:center;width:20em;padding-top:16px}b-multi-user-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     td .edit-field{margin:14px 0 0}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input{width:auto;max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input input.bv2-multi-user-embedded-input{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-multi-user-errors{padding:9px}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip .mat-tooltip-trigger{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;margin:5px 2px}.role-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%]     .mat-icon-button{margin:0 5px;width:inherit;height:inherit}[_nghost-%COMP%]     .mat-icon-button mat-icon{display:flex;height:16px;width:16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}\n/*# sourceMappingURL=roles_view_table.css.map */"]});var F9=function(a){this.documentationLinks=a};F9.\u0275fac=function(a){return new (a||F9)(A(hJ))};
F9.\u0275cmp=r({type:F9,selectors:[["use-standard-roles-banner"]],inputs:{rolesMap:"rolesMap"},decls:1,vars:1,consts:[["class","use-standard-roles-banner",4,"ngIf"],[1,"use-standard-roles-banner"],["aria-label","Learn more about roles","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&O(0,Uub,5,1,"div",0);if(a&2){if(b.rolesMap){var c=b.rolesMap,d=c.issueAdmin,e=c.editor,f=c.contributor;a=c.componentAdminOnly;b=c.viewer;var h=c.editExistingIssuesOnly,l=c.createIssuesOnly,
q=c.commentOnly,u=c.viewRestricted,x=c.viewRestrictedPlus;c=[].concat(p(c.componentAdmin),p(d),p(e),p(f));a=[].concat(p(a),p(b),p(h),p(l),p(q),p(u),p(x));a=0===c.length&&0<a.length}else a=!1;C("ngIf",a)}},dependencies:[bx],styles:[".use-standard-roles-banner[_ngcontent-%COMP%]{background-color:#feefc3;background-color:var(--warn-bg);width:100%;margin:-15px 0 15px;border-radius:4px}.use-standard-roles-banner[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:4px;padding:8px}\n/*# sourceMappingURL=use_standard_roles_banner.css.map */"]});var G9=function(){this.rolesMap=Fub;this.isSaving=!1;this.saveRolesMap=new vw;this.rolesUnderEdit=Fub;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},BHc=function(a){var b=a.rolesUnderEdit,c;var d=[{ariaLabel:"Component Admin role",label:"Component Admins",users:null==b?void 0:b.componentAdmin,roleType:"componentAdmin",
grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Component Admins are granted all the permissions to manage the component and all issues in this component. They can't view restricted content. Typical Component Admins are team leads."},{ariaLabel:"Issue Admin role",label:"Issue Admins",users:null==b?void 0:b.issueAdmin,roleType:"issueAdmin",
grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Issue Admins are granted all permissions to manage issues, but can't edit component settings. They can't view restricted content. Typical Issue Admins are team members."},{ariaLabel:"Issue Editor role",label:"Issue Editors",users:null==b?void 0:b.editor,roleType:"editor",grantedPermissions:{componentAdmin:!1,
createIssues:!0,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(c=a.component.accessLimit)?void 0:c.accessLevel),includeViewAliases:!1,tooltip:"Issue Editors are granted all issue-related permissions except for admin permissions such as delete an issue or comment, or change restrictions. They can't view restricted content. Typical Issue Editors are collaborating team members."},{ariaLabel:"Issue Contributor role",
label:"Issue Contributors",users:null==b?void 0:b.contributor,roleType:"contributor",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Issue Contributors can read, comment, and create issues, but they can't edit issues. They can't view restricted content. Typical Issue Contributors are external partners or public users."}];a.standardRolesTableData=
d;b=a.rolesUnderEdit;var e,f;d=[{ariaLabel:"Component Admin Only role",label:"Component Admins Only",users:null==b?void 0:b.componentAdminOnly,roleType:"componentAdminOnly",grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Component Admin Only role can edit the component settings and create issues, but otherwise have no issue-related permissions.",
chips:{displayText:"Inherited Admins",values:null!=(f=b.inheritedComponentAdmin)?f:[]}},{ariaLabel:"Issue Creators Only role",label:"Issue Creators Only",users:null==b?void 0:b.createIssuesOnly,roleType:"createIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the issue Issue Creators Only role can create issues, but have no other permissions. For example, they are not able to view issues they have created."},
{ariaLabel:"Issue Admin Only role",label:"Issue Admins Only",users:null==b?void 0:b.issueAdminOnly,roleType:"issueAdminOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Issue Admin Only role have all issue permissions but cannot create new issues."},{ariaLabel:"Issue Editors (existing issues only) role",label:"Issue Editors (existing issues only)",
users:null==b?void 0:b.editExistingIssuesOnly,roleType:"editExistingIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(e=a.component.accessLimit)?void 0:e.accessLevel),includeViewAliases:!1,tooltip:"Issue Editors (existing issues only) have the issue editor's permission on existing issues, but they can't create new issues in this component."},
{ariaLabel:"Issue Commenter Only role",label:"Issue Commenter Only",users:null==b?void 0:b.commentOnly,roleType:"commentOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the Issue Commenter Only role may view and comment on issues on this component"},{ariaLabel:"Restricted Plus Content Viewer role",label:"Restricted+ Content Viewer",
users:null==b?void 0:b.viewRestrictedPlus,roleType:"viewRestrictedPlus",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!0},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted+ Content Viewers can view Restricted+ content on an issue.",customValidators:a.rolesEditor.restrictedPlusReadersValidators},{ariaLabel:"Restricted Content Viewer role",label:"Restricted Content Viewer",users:null==
b?void 0:b.viewRestricted,roleType:"viewRestricted",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted Content Viewers can view restricted content on an issue."},{ariaLabel:"Issue Viewer role",label:"Issue Viewers",users:null==b?void 0:b.viewer,roleType:"viewer",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,
issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!0,tooltip:"Issue Viewers can only view issues in this component, but can't comment or edit issues."}];a.advancedRolesTableData=d},CHc=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},DHc=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=G9.prototype;g.ngOnInit=function(){DHc(this);BHc(this)};
g.ngOnChanges=function(a){a.rolesMap&&DHc(this);BHc(this)};g.updateRolesMap=function(a){var b={};this.rolesUnderEdit=Object.assign({},this.rolesUnderEdit,(b[a.role]=a.assignees,b))};g.getComponentAccessLevel=function(){if(this.component.accessLimit)return this.component.accessLimit.accessLevel};g.hasUnsavedAccessLimitChanges=function(){return this.rolesEditor.hasUnsavedAccessLimitChanges()};g.canEdit=function(){return!this.isSaving&&this.rolesEditor.isAdmin};
g.canSave=function(){return this.canEdit()&&(!mj(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};G9.\u0275fac=function(a){return new (a||G9)};
G9.\u0275cmp=r({type:G9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[md],decls:13,vars:12,consts:[[3,"rolesMap"],[3,"rolesTableData","displayedTableColumns","canEdit","accessLevel","rolesMapUpdated","formIsValid"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["mat-raised-button","","aria-label","Update","color","primary",3,"disabled","click"],["mat-raised-button",
"","aria-label","Revert Changes",3,"disabled","click"]],template:function(a,b){a&1&&(F(0,"access-limit-settings")(1,"use-standard-roles-banner",0),D(2,"roles-view-table",1),K("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),E(),D(3,"mat-expansion-panel",2)(4,"mat-expansion-panel-header")(5,"mat-panel-title"),P(6," Advanced Roles "),E()(),D(7,"roles-view-table",1),K("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",
function(c){return b.formIsValid=c}),E()(),F(8,"expanded-access-settings"),D(9,"button",3),K("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),P(10,"Update"),E(),D(11,"button",4),K("click",function(){DHc(b);BHc(b)}),P(12," Revert Changes\n"),E());a&2&&(z(1),C("rolesMap",b.rolesMap),z(1),C("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(1),C("expanded",CHc(b)),z(4),
C("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(2),C("disabled",!b.canSave()),z(2),C("disabled",!!mj(b.rolesMap,b.rolesUnderEdit)))},dependencies:[x5,y5,z5,NA,E9,C9,D9,F9],styles:["[_nghost-%COMP%]     mat-expansion-panel .mat-expansion-panel-body{padding:0}mat-expansion-panel-header[_ngcontent-%COMP%]{margin:0 0 0 8px;padding:0}button[_ngcontent-%COMP%]{margin:0px 10px 5px 0px}\n/*# sourceMappingURL=roles_view.css.map */"]});var H9=function(a,b){Z.call(this);this.rolesEditor=a;this.route=b};X(H9,Z);H9.\u0275dir=Z.\u0275dir;H9.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(B(function(b){return b.get("componentId")}),sf(Vj),Qf(function(b){return a.rolesEditor.initialize(Number(b))}),Rf(this.destroyed$)).subscribe(function(){yHc(a.rolesEditor)})};H9.prototype.isSaving=function(){return this.rolesEditor.isSaving};H9.\u0275fac=function(a){return new (a||H9)(A(B9),A(ko))};
H9.\u0275cmp=r({type:H9,selectors:[["role-based-permissions"]],features:[Dg([B9,x9]),$f],decls:2,vars:2,consts:[["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"padded"],["label","Edit Roles"],[3,"rolesMap","isSaving","component","rolesEditor","saveRolesMap"],["label","View Permissions"],[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&(O(0,Vub,2,0,"div",0),O(1,Xub,7,8,"div",1));a&2&&(C("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),z(1),C("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[bx,XM,WM,vN,y9,G9],styles:["\n/*# sourceMappingURL=role_based_permissions.css.map */"]});var EHc=new Ud("GMAT_CHECKBOX_OPTION");var FHc=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),I9=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};I9.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,p(FHc.values())),this.elementRef.nativeElement.classList.add(FHc.get(this.color)))};
I9.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};I9.\u0275fac=function(a){return new (a||I9)(A(Yd),A(EHc,8))};I9.\u0275dir=r({type:I9,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&pg("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var GHc=["archiveDialog"],HHc=["archiveButton"],IHc=["metadataForm"],owb=function(a){return{displayText:"Inherited Admins",values:a}},ru=function(a){return[a]},pwb=function(a){return{displayText:"Component Admins",values:a}},qwb=function(a){return{displayText:"Issue Admins",values:a}},rwb=function(a){return{displayText:"Issue Admins & Editors",values:a}},swb=function(a){return{displayText:"Restricted+ Viewers",values:a}},JHc={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",
TEMPLATES:"templates",ACCESS:"access"},J9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya,qa,Ba){Z.call(this);var Ea=this;this.route=a;this.cdr=b;this.routeParams=c;this.bLocation=d;this.accessPolicyApi=e;this.templatesApi=f;this.paths=h;this.appHistory=l;this.butterBar=q;this.pageTitle=u;this.activeSession=x;this.documentationLinks=y;this.matDialogService=G;this.analytics=J;this.checkBeforeExit=M;this.userAccess=V;this.groupMetadata=U;this.componentActions=W;this.errorHandler=
ba;this.componentService=pa;this.componentUpdates=na;this.componentUpdatesApi=xa;this.accessPolicyConverter=Fa;this.confirmationDialogService=Ha;this.appEvents=Bb;this.teamsService=lb;this.sloApi=Ya;this.sloService=qa;this.currentTracker=Ba;this.componentId$=new T.ReplaySubject(1);this.Tab=JHc;this.AccessLevelStrings=yQb;this.componentListRoute=psa;this.showSloInheritancePath=!1;this.component$=new T.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(B(function(Oa){return null==Oa?
void 0:Oa.trackerId}));this.showTrackerRedirect$=(0,T.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(B(function(Oa){var La=m(Oa);Oa=La.next().value;La=La.next().value;return Ea.shouldShowTrackerRedirect(Oa,Uj("")(La))}));this.parentComponent$=new T.BehaviorSubject(null);this.componentTeam$=new T.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(Qf(function(Oa){return(Oa=null==Oa?void 0:Oa.id)&&"0"!==Oa?Ea.teamsService.getTeam(Oa):(0,T.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe(Qf(function(Oa){var La;return(Oa=null==Oa?void 0:null==(La=Oa.team)?void 0:La.id)&&"0"!==Oa?Ea.teamsService.getTeam(Oa):(0,T.of)(null)}));this.inheritedSloMetadata$=(0,T.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(B(function(Oa){var La=m(Oa);Oa=La.next().value;var fc=La.next().value;La=La.next().value;if((null==Oa?0:Oa.team)&&!Oa.team.inherit&&"0"!==Oa.team.id){var Ua;return null!=(Ua=null==La?void 0:La.getSlo())?Ua:null}var bb;return null!=(bb=
null==fc?void 0:fc.slo)?bb:null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Df(),Qf(function(Oa){var La="0";Oa instanceof su?La=Oa.getSloId():Oa&&(La=Oa.id);return"0"===La?(0,T.of)({id:"0"}):Ea.sloService.get(La).then(function(fc){return{id:La,slo:fc}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Df(),Qf(function(Oa){if(!Oa)return(0,T.of)({name:"None",type:"none"});Oa=Dwb(Oa);var La=Oa.sourceTeamId,fc=Oa.sourceComponentId;return La&&"0"!==La?Ea.teamsService.getTeam(La).pipe(B(function(Ua){var bb;
return{name:null!=(bb=Ua.getName())?bb:La,type:"team",link:{path:"/teams/"+La+"/edit",fragment:"slo"}}})):fc?Ea.componentActions.get(Number(fc)).then(function(Ua){var bb;return{name:null!=(bb=Ua.name)?bb:fc,type:"component",link:{path:"/components/"+fc+"/edit"}}}):(0,T.of)(null)}));this.policySourcePath$=(0,T.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,this.inheritedSloMetadata$]).pipe(B(function(Oa){var La=m(Oa);Oa=La.next().value;var fc=La.next().value,Ua=La.next().value;
La=La.next().value;if(!Oa||!Oa.componentPathInfo||!La)return null;var bb=Dwb(La);La=bb.sourceComponentId;fc=Fwb(fc,bb.sourceTeamId,Oa.team,Ua);return null===La?{componentPath:null,teamPath:fc}:{componentPath:Ewb(Oa,La),teamPath:fc}}));this.enableSloLockingCheck=Qp(this.activeSession,"enableSloLockingCheck");this.component=null;this.effectiveCustomFields=[];this.parentComponent=null;this.descendants=[];this.componentAdmins=[];this.issueCommenters=[];this.issueViewersChip=[];this.componentReaders=[];
this.isLoading=this.hasInitialized=!1;this.selectedTabIndex=0;this.isAnonymous=this.activeSession.isAnonymous();this.originalParentComponent=this.originalComponent=null;this.isAdminInternal=this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isUpdating=this.isArchiving=!1;this.metadataForm=null;this.error="";this.isComponentSloEditor=this.isEditorInternal=!1;this.updateDiffs=void 0;this.templates=[];this.isParentComponentRequired=this.commentEditsEnabled=!0;this.retentionIsValid=!1;this.isEnableSloChecked=
!0;this.enableSloLockingUi=Qp(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=Qp(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(sf(Boolean),Qf(function(Oa){return Ea.sloApi.executor.get({url:"action/components/"+Oa+"/slo_edit_policy",responseConstructor:R6b}).pipe(B(Foa))}));this.aclFormValidity={};this.aclFormIsInvalid=function(){return Object.values(Ea.aclFormValidity).some(function(Oa){return!Oa})};this.enableRoleBasedPermissions=
Qp(this.activeSession,"enableRoleBasedPermissions");this.getSloManagementLink=On};X(J9,Z);J9.\u0275dir=Z.\u0275dir;J9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};J9.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.bLocation.hash(e,!0)};
J9.prototype.ngOnInit=function(){var a=this;this.componentId=sj(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.componentAccessPolicyUnderEdit=lV();this.issueDefaultAccessPolicyUnderEdit=lV();this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.selectedTabIndex=0;this.subscriptions.add(cO(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);
this.enableSloLockingCheck&&KHc(this);this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(b){a:{if(b&&a.issueDefaultFlattenedAccessPolicy){var c=a.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders;b=m(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,0===d.indexOf("GROUP:")&&-1===c.indexOf(d)){c=!1;break a}}c=!0}return c}};this.implicitAccess={getValue:function(){return a.componentAccessPolicyUnderEdit?"ALLOW"===a.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return a.componentFlattenedAccessPolicy?
"ALLOW"===a.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(b){a.componentAccessPolicyUnderEdit&&(a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,{implicitAccess:b?"ALLOW":"DENY"}))}};this.componentHistoryUiEnabled=this.activeSession.isInternalSession();LHc(this);this.enableComponentAutomationCheck=Qp(this.activeSession,"enableComponentAutomationCheck");this.enableRostersChecks=Qp(this.activeSession,"enableRostersChecks");this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=
MHc(b)}));this.hasInitialized=!0;this.route.fragment.pipe(Rf(this.destroyed$)).subscribe(function(b){"basic"===b?a.selectedTabIndex=0:"customFields"===b?a.selectedTabIndex=1:"fieldOrdering"===b?a.selectedTabIndex=2:"templates"===b?a.selectedTabIndex=3:"access"===b&&(a.selectedTabIndex=4)})};var LHc=function(a){a=[NHc(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)].concat(p(a.loadAccessPolicy(a.componentId)));return Promise.all(a).then(function(){})};
J9.prototype.isAdmin=function(){return this.isAdminInternal};var ou=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};g=J9.prototype;g.isSaving=function(){return this.isUpdating||this.isArchiving};g.isArchived=function(){return this.component?this.component.archived:!1};g.isPublic=function(){return vr(this.component)};g.isExternal=function(){return ur(this.component)};g.isParentPublic=function(){return!(!this.parentComponent||!vr(this.parentComponent))};
g.isParentPartner=function(){return!(!this.parentComponent||!cXa(this.parentComponent))};var Gvb=function(a){if(!a.component||!a.component.slo)return!1;var b=!!a.component.team&&"0"!==a.component.team.id;return 0===a.component.parentComponentId?b:!a.component.slo.inherit};J9.prototype.shouldShowAccessLimitChangeUi=function(){if(this.sessionIsExternal)return!1;if(this.component)if(this.component.parentComponentId){if(this.parentComponent)return ur(this.parentComponent)||ur(this.component)}else return!1};
J9.prototype.hasUnsavedMetadataChanges=function(){return!(mj(this.component,this.originalComponent)&&mj(this.parentComponent,this.originalParentComponent))};J9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||twb(this)||this.hasUnsavedAccessLimitChanges()};
var OHc=function(a){var b=An();a.component.slo.id===a.originalComponent.slo.id&&a.component.slo.source===a.originalComponent.slo.source?b.resolve(!0):a.confirmationDialogService.open({title:"SLO changes may not appear immediately",content:xp("SLO changes will be applied to all issues in this component (and potentially child components). Depending on the total number of affected issues, this may take several hours to fully fan-out and reindex."),onConfirm:function(){b.resolve(!0)},onDismiss:function(){b.resolve(!1)}});
return b.promise},PHc=function(a){var b=An();a.sessionIsInternal&&a.parentComponent&&a.parentComponent.componentId!=a.component.parentComponentId?a.confirmationDialogService.open({title:"Changing the parent component may change which SLO is applied",content:Ap(xp('Depending on the specific SLO inheritance and/or source settings in this and any child components, changes to the parent component may cause a different "Auto" or inherited SLO to be applied.'),zp("BR",{}),zp("BR",{}),xp('Changes to the SLO may also take some time to become visible. Updates to the "Auto" SLOs are applied daily, and any changes then need to be fanned out to the affected issues and re-indexed.'),
zp("BR",{}),zp("A",{href:"https://goto.google.com/buganizer/guides/apply-slo",target:"_blank"},"Learn More")),onConfirm:function(){b.resolve(!0)},onDismiss:function(){b.resolve(!1)}}):b.resolve(!0);return b.promise};
J9.prototype.performAutomationUserAccessCheck=function(){if(!this.enableComponentAutomationCheck)return Promise.resolve(!0);var a=An(),b=this.getAddedAutomationInPolicyChange();if(b.length){var c={};c=zp("A",(c.href=tZb(this.documentationLinks),c)," automation account documentation");this.confirmationDialogService.open({title:"Adding automation accounts",content:Ap(xp("You are adding automation accounts to the ACL for this component. All Googlers are entrusted with power and responsibility as stewards of Google's data. Please see the"),
zp("wbr"),c,xp("."),zp.apply(Vq,["OL",{}].concat(p(b.map(function(d){if(Cj(d)){var e;return zp("LI",{},xp(null!=(e=d.user.emailAddress)?e:""))}if(Dj(d)){var f;return zp("LI",{},xp(null!=(f=d.group.emailAddress)?f:""))}throw Error("gf`"+JSON.stringify(d));})))),zp("BR",{}),xp("Are you sure you wish to allow automation to access data in this component?")),onConfirm:function(){a.resolve(!0)},onDismiss:function(){a.resolve(!1)}})}else a.resolve(!0);return a.promise};
J9.prototype.saveMetadata=function(){var a=this;return QHc(this)?PHc(this).then(function(b){return b?OHc(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return LHc(a)})}):Promise.resolve()};var qu=function(a,b){a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b)};
J9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;nG(this.butterBar,"Saving changes ...",0);return RHc(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return SHc(a)}).then(function(){return THc(a)}).then(function(){return UHc(a)}).then(function(){nG(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var RHc=function(a){return a.parentComponent&&a.parentComponent.componentId!==a.originalComponent.parentComponentId?a.componentActions.move(a.component.componentId,a.parentComponent.componentId).then(function(){return!0}).catch(function(b){a.component.parentComponentId=a.originalComponent.parentComponentId;return Promise.reject(b)}):Promise.resolve(!1)},SHc=function(a){return a.component.slo&&!mj(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){Lp(a.analytics,
Mp.MANAGE_COMPONENT,"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},THc=function(a){return a.component.team&&!mj(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){Lp(a.analytics,Mp.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},UHc=function(a){return VHc(a)?
a.componentActions.update(a.component).then(function(){Lp(a.analytics,Mp.MANAGE_COMPONENT,"update");a.commentEditsEnabled?Lp(a.analytics,"component","comment edits enabled","update"):Lp(a.analytics,"component","comment edits disabled","update");return!0}):Promise.resolve(!1)},VHc=function(a){var b=nj(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!mj(a.originalComponent,b)},QHc=function(a){if(a.isEditorInternal){if(a.metadataForm.invalid)return a.error=
"Error: You must fill out all required fields.",!1;if(a.retentionIsValid)return a.error="",!0;a.error="Error: Required retention settings are missing or invalid.";return!1}a.error="";return!0};g=J9.prototype;
g.saveAccessPolicy=function(){var a=this;this.performAccessLimitCheck().then(function(b){return b?a.performDeletedAccountsCheck():Promise.resolve(!1)}).then(function(b){return b?a.performAdminAccessRemovalCheck():Promise.resolve(!1)}).then(function(b){return b?a.performRestrictedPlusGroupRemovalCheck():Promise.resolve(!1)}).then(function(b){return b?a.performAddedLargeOrOpenGroupCheck():Promise.resolve(!1)}).then(function(b){return b?a.performAddedNewInternalAliasesCheck():Promise.resolve(!1)}).then(function(b){return b?
a.performChangedImplicitAccessCheck():Promise.resolve(!1)}).then(function(b){return b?a.performAutomationUserAccessCheck():Promise.resolve(!1)}).then(function(b){b&&a.doSaveAccessPolicy()})};g.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};g.hasUnsavedAccessLimitChanges=function(){return this.originalComponent&&this.component?this.originalComponent.accessLimit.accessLevel!==this.component.accessLimit.accessLevel:!1};
g.performAccessLimitCheck=function(){var a=An();this.hasUnsavedAccessLimitChanges()&&"INTERNAL"===this.component.accessLimit.accessLevel?this.confirmationDialogService.open({title:"Component Visibility Changed",content:xp("You are about to change the component visibility to Google internal for this component. Make sure your changes are correct -- if this component has any issues, you will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){a.resolve(!0)},onDismiss:function(){a.resolve(!1)}}):
a.resolve(!0);return a.promise};
g.performAdminAccessRemovalCheck=function(){var a=An();WHc(this)?this.confirmationDialogService.open({title:"Component Administrators Changed",content:xp("You are about to change the administrator privileges for this component. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),onConfirm:function(){a.resolve(!0)},onDismiss:function(){a.resolve(!1)}}):a.resolve(!0);return a.promise};
g.performRestrictedPlusGroupRemovalCheck=function(){var a=An();XHc(this)?this.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:xp("You are about to remove Restricted+ reader permission for a group. You will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){a.resolve(!0)},onDismiss:function(){a.resolve(!1)}}):a.resolve(!0);return a.promise};
g.performDeletedAccountsCheck=function(){var a=An();this.componentReaders.includes("GROUP:nobody@google.com")?this.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:xp('"nobody@google.com" was detected, this is usually the result of an account being deleted that was already part of the access policy. It can be found in the following fields: '+[this.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':null,this.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?
'"Create Issues"':null,this.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Issue Admins"':null,this.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,this.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,this.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':null,this.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?
'"View restricted+ content"':null,this.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?'"View restricted content"':null].filter(function(b){return!!b}).join(", ")+". Do you want to proceed?"),onConfirm:function(){a.resolve(!0)},onDismiss:function(){a.resolve(!1)}}):a.resolve(!0);return a.promise};
g.performChangedImplicitAccessCheck=function(){var a=An(),b={};b=zp("A",(b.href=hlb(this.documentationLinks),b),"Learn more.");this.implicitAccess.getValue()==this.implicitAccess.getSavedValue()?a.resolve(!0):this.implicitAccess.getValue()?this.confirmationDialogService.open({title:"Turn on expanded access for component "+this.component.componentId+"?",content:Ap("When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",b),onConfirm:function(){a.resolve(!0)},
onDismiss:function(){a.resolve(!1)}}):this.confirmationDialogService.open({title:"Turn off expanded access for component "+this.component.componentId+"?",content:Ap("Some users may lose the ability to edit or comment on issues in this component. ",b),onConfirm:function(){a.resolve(!0)},onDismiss:function(){a.resolve(!1)}});return a.promise};
g.performAddedLargeOrOpenGroupCheck=function(){var a=this;return this.enableRostersChecks&&twb(this)?this.evaluateNewGroups().then(function(b){var c=YHc(b),d=ZHc(b);if(0===c.size&&0===d.size)return Promise.resolve(!0);b=$Hc(c.size,d.size);c=aIc(c);d=bIc(d);c=Ap(c,c===ku?ku:zp("BR"),d);d={};c=Ap(c,zp("P",{},Ap("Please review the ",zp("A",(d.href=uZb(a.documentationLinks)+"#fully-public-component",d.target="_blank",d),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?")));
var e=An();a.confirmationDialogService.open({title:b,content:c,onConfirm:function(){e.resolve(!0)},onDismiss:function(){e.resolve(!1)},confirmButtonText:"Add Group"});return e.promise}):Promise.resolve(!0)};
var YHc=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},ZHc=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,"OPEN_TO_JOIN"===c.permissionCategory&&b.set(c.groupEmail,c);return b},$Hc=function(a,b){return 0!==a&&0!==b?"Adding large and open groups to a public component":0!==a?1===a?"Adding a large group to a public component":"Adding large groups to a public component":
1===b?"Adding an open group to a public component":"Adding open groups to a public component"},aIc=function(a){if(0===a.size)return ku;for(var b=1===a.size?zp("P",{},"The following large group is added: "):zp("P",{},"The following large groups are added: "),c=[],d=m(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(zp("P",{},Ap(zp("B",{},e)," has approximately ",zp("B",{},f)," Googlers.")))}return Ap(b,c)},bIc=function(a){if(0===a.size)return ku;var b=1===a.size?
zp("P",{},"The following open group is added: "):zp("P",{},"The following open groups are added: "),c=[];a=m(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(zp("P",{},zp("B",{},d.value)));return Ap(b,c)};g=J9.prototype;
g.performAddedNewInternalAliasesCheck=function(){var a=An();if(this.isPublic()&&cIc(this)){var b={};b=Ap(zp("P",{},"You are about to give a broad category of users permissions on a public component."),zp("P",{},Ap("Please review the ",zp("A",(b.href=vZb(this.documentationLinks),b.target="_blank",b),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?")));this.confirmationDialogService.open({title:"Adding an broad category of users to a public component",
content:b,onConfirm:function(){a.resolve(!0)},onDismiss:function(){a.resolve(!1)},confirmButtonText:"Add Group Alias"})}else a.resolve(!0);return a.promise};
g.doSaveAccessPolicy=function(){var a=this;try{var b=nV(this.componentAccessPolicyUnderEdit);var c=nV(this.issueDefaultAccessPolicyUnderEdit)}catch(d){c="An unknown problem occurred";d instanceof Error&&(c=d.message);oG(this.butterBar,c);return}twb(this)?(this.isUpdating=this.isUpdatingAccessPolicy=!0,nG(this.butterBar,"Saving access settings...",0),this.saveIssueDefaultsAccessPolicy(c).then(function(d){d&&(b.readers=[].concat(p(d.admins||[]),p(d.editors||[]),p(d.appenders||[]),p(d.readers||[]),p(d.restrictedPlusReaders||
[]),p(d.restrictedReaders||[])));return a.saveComponentAccessPolicy(b)}).then(function(){return a.doSaveAccessLimit()}).then(function(){return Promise.all([].concat(p(a.loadAccessPolicy(a.componentId))))}).then(function(){nG(a.butterBar,"Access settings saved",0)}).catch(function(d){oG(a.butterBar,Dn(d),0)}).finally(function(){a.loadUserAccess(a.componentId);a.isUpdatingAccessPolicy=!1;a.isUpdating=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})):this.doSaveAccessLimit()};
g.saveComponentAccessPolicy=function(a){var b=this;return this.componentFlattenedAccessPolicy&&dIc(this.componentFlattenedAccessPolicy,this.componentAccessPolicyUnderEdit)?this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){var d=mV(c);if(b.componentAccessPolicyUnderEdit&&!dIc(d,b.componentAccessPolicyUnderEdit))return Promise.resolve(void 0);if(b.componentFlattenedAccessPolicy&&dIc(d,b.componentFlattenedAccessPolicy))return Promise.reject({data:{message:"ConflictingWriteException: The attempted change was based on stale data. Reload the data and try again."}});
a.readers=c.readers;return b.accessPolicyApi.update("COMPONENT",b.componentId,a)}):Promise.resolve(void 0)};g.saveIssueDefaultsAccessPolicy=function(a){return this.issueDefaultFlattenedAccessPolicy&&eIc(this.issueDefaultFlattenedAccessPolicy,this.issueDefaultAccessPolicyUnderEdit)?this.accessPolicyApi.update("ISSUE_DEFAULTS",this.componentId,a):Promise.resolve(void 0)};
g.doSaveAccessLimit=function(){var a=this;if(!this.hasUnsavedAccessLimitChanges())return Promise.resolve();this.isUpdatingAccessLimit=!0;this.isUpdating=this.isUpdatingAccessPolicy||this.isUpdatingAccessLimit;return this.accessPolicyApi.setAccessLimit("COMPONENT",this.componentId,this.component.accessLimit).then(function(b){a.component.accessLimit.accessLevel=b.accessLevel;a.originalComponent.accessLimit.accessLevel=b.accessLevel;nG(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=
a.originalComponent.accessLimit.accessLevel;var c="Could not change access level. ";Cn(b)&&(c+=Dn(b));oG(a.butterBar,c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isUpdating=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};
var WHc=function(a){function b(h){return h?h.admins.concat(h.inheritedAdmins):[]}var c="USER:"+a.activeSession.getUserEmail(),d=b(a.componentFlattenedAccessPolicy),e=b(a.componentAccessPolicyUnderEdit);a=d.filter(function(h){return-1===e.indexOf(h)});d=a.filter(function(h){return h.startsWith("GROUP:")});var f=a.filter(function(h){return h.startsWith("USER:")});return-1<e.indexOf(c)||0===a.length?!1:-1<f.indexOf(c)?!0:d.length?!0:!1},XHc=function(a){if(!a.issueDefaultFlattenedAccessPolicy)return!1;
var b=a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders;return 0<a.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders.filter(function(c){return-1===b.indexOf(c)}).filter(function(c){return c.startsWith("GROUP:")}).length},cIc=function(a){if(!a.issueDefaultAccessPolicyUnderEdit.appenders||!a.issueDefaultFlattenedAccessPolicy||mj(a.issueDefaultFlattenedAccessPolicy.appenders,a.issueDefaultAccessPolicyUnderEdit.appenders))return!1;for(var b=m(a.issueDefaultAccessPolicyUnderEdit.appenders||
[]),c=b.next();!c.done;c=b.next())if(c=c.value,hub.has(c)&&!a.issueDefaultFlattenedAccessPolicy.appenders.includes(c))return!0;return!1};
J9.prototype.evaluateNewGroups=function(){var a=this,b=[].concat(p(new Set([].concat(p(wj(this.componentAccessPolicyUnderEdit.admins,this.componentFlattenedAccessPolicy.admins)),p(wj(this.issueDefaultAccessPolicyUnderEdit.admins,this.issueDefaultFlattenedAccessPolicy.admins)),p(wj(this.issueDefaultAccessPolicyUnderEdit.editors,this.issueDefaultFlattenedAccessPolicy.editors)),p(wj(this.issueDefaultAccessPolicyUnderEdit.appenders,this.issueDefaultFlattenedAccessPolicy.appenders)),p(wj(this.issueDefaultAccessPolicyUnderEdit.readers,
this.issueDefaultFlattenedAccessPolicy.readers)),p(wj(this.issueDefaultAccessPolicyUnderEdit.restrictedReaders,this.issueDefaultFlattenedAccessPolicy.restrictedReaders)),p(wj(this.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,this.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))))));return Promise.all(b.map(function(c){return a.retrieveGroupMetadata(c)}))};
J9.prototype.retrieveGroupMetadata=function(a){a=this.accessPolicyConverter.stringToAccessPolicyPrincipal(a);return Dj(a)&&a.group.emailAddress?this.groupMetadata.get(a.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};
var twb=function(a){return!(!a.componentFlattenedAccessPolicy||!dIc(a.componentFlattenedAccessPolicy,a.componentAccessPolicyUnderEdit))||!(!a.issueDefaultFlattenedAccessPolicy||!eIc(a.issueDefaultFlattenedAccessPolicy,a.issueDefaultAccessPolicyUnderEdit))},dIc=function(a,b){return b&&a?!mj(a.admins,b.admins)||!mj(a.appenders,b.appenders)||!mj(a.implicitAccess,b.implicitAccess):!1},eIc=function(a,b){return b&&a?!mj(a.admins,b.admins)||!mj(a.editors,b.editors)||!mj(a.appenders,b.appenders)||!mj(a.readers,
b.readers)||!mj(a.restrictedReaders,b.restrictedReaders)||!mj(a.restrictedPlusReaders,b.restrictedPlusReaders):!1},NHc=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
J9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=nj(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState};
J9.prototype.revertAccessPolicyChanges=function(){this.componentFlattenedAccessPolicy&&(this.componentAccessPolicyUnderEdit=nj(this.componentFlattenedAccessPolicy));this.issueDefaultFlattenedAccessPolicy&&(this.issueDefaultAccessPolicyUnderEdit=nj(this.issueDefaultFlattenedAccessPolicy));this.appEvents.contactChipsRevertChanges.next()};
var Yvb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=MHc(b.componentPathInfo.allCustomField)})},MHc=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
J9.prototype.loadComponent=function(a){var b=this;this.isLoading=!0;return this.componentActions.getUncached(a,!0).then(function(c){b.updateComponentAndOriginalComponent(c);b.currentName=c.name;0<c.parentComponentId&&b.loadParentComponent(c.parentComponentId);b.effectiveCustomFields=MHc(c.componentPathInfo.allCustomField);b.pageTitle.setTitle("Component: "+c.name);b.archiveAction=c.archived?"Unarchive":"Archive";b.commentEditsEnabled="ENABLED"==c.commentEditState;0===b.component.parentComponentId&&
(b.isParentComponentRequired=!1)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.hasInitialized&&b.cdr.detectChanges()})};
J9.prototype.loadAccessPolicy=function(){var a=this;return[this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(b){a.componentFlattenedAccessPolicy=mV(b);a.componentAccessPolicyUnderEdit=nj(a.componentFlattenedAccessPolicy)}).catch(function(b){a.errorHandler.errorHandler(null,b)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(b){a.issueDefaultFlattenedAccessPolicy=mV(b);a.issueDefaultAccessPolicyUnderEdit=nj(a.issueDefaultFlattenedAccessPolicy)}).catch(function(b){a.errorHandler.errorHandler(null,
b)})]};J9.prototype.loadUserAccess=function(a){var b=this,c=Fn("COMPONENT",a);aG(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:aG(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};var KHc=function(a){aG(a.userAccess,"writer",Fn("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},pu=function(a){return a.isSaving()||!a.isEditorInternal};g=J9.prototype;
g.isAccessEditDisabled=function(){return this.isSaving()||!this.isAdmin()};g.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.parentComponent=c;b.parentComponent$.next(b.parentComponent);b.originalParentComponent=nj(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return Mn(this.componentId,{includeArchived:a})};g.componentPermissions=function(a){return{path:"/components/"+a,fragment:"access"}};
g.createIssue=function(){this.trackClick("createIssue");var a={};this.bLocation.url(this.paths.createIssue((a.component=String(this.component.componentId),a)))};g.createChild=function(){this.bLocation.url(this.paths.createComponent({parentId:this.component.componentId}))};g.trackClick=function(a){Lp(this.analytics,"editComponent","click",a)};
var Yub=function(a){a.butterBar.dismiss();a.retentionIsValid?a.hasUnsavedChanges()?oG(a.butterBar,"You have unsaved changes on one or more tabs. Please save or revert these changes before "+a.archiveAction.slice(0,-1)+"ing."):(a.isArchiving=!0,nG(a.butterBar,"Looking up subcomponents...",0),a.componentService.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=fj(b,u9,2);XA(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(Rf(a.destroyed$)).subscribe(function(){a.archiveButton.focus()})}).catch(function(b){a.errorHandler.errorHandler(null,
b)})):oG(a.butterBar,"Required retention settings are missing or invalid. Please set retention settings before "+a.archiveAction.slice(0,-1)+"ing.")};J9.prototype.getRetentionPeriod=function(a){if(a&&a.hasRetentionSettings()&&bk(a.getRetentionSettings(),1,0)){var b=bk(a.getRetentionSettings(),1,0);switch(b){case 1:return"Buganizer default retention (10 years)";case 3:return"Indefinite retention";case 2:return a=gj(a.getRetentionSettings(),2),rp(a);default:throw Error("hf`"+b);}}return"Retention period unspecified"};
J9.prototype.archive=function(){var a=this;this.isArchiving=!0;nG(this.butterBar,this.archiveAction.slice(0,-1)+"ing...",0);this.component.archived=!this.component.archived;this.componentActions.update(this.component).then(function(b){a.appEvents.componentModified.next(b.componentId);nG(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);Lp(a.analytics,"component","archive");b.userHasEditAccess=a.component.userHasEditAccess;a.updateComponentAndOriginalComponent(b);a.archiveAction=
b.archived?"Unarchive":"Archive";a.isArchiving=!1}).catch(function(b){a.component.archived=!a.component.archived;nG(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Cn(b)?Dn(b):b));a.isArchiving=!1})};
J9.prototype.loadTemplates=function(a){var b=this;return this.templatesApi.query(a).then(function(c){b.templates=c.map(function(d){var e=d.name;e||(e=d.default?"(default template)":"(unnamed template)");var f={};f=b.paths.getBaseUrl()+"/"+b.paths.createIssue((f.component=a?String(a):void 0,f.template=d.templateId?String(d.templateId):void 0,f));return{name:e,description:d.description||"",url:f}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var fIc=function(a){a.componentReaders=[].concat(p(new Set([].concat(p(a.componentAccessPolicyUnderEdit?[].concat(p(a.componentAccessPolicyUnderEdit.inheritedAdmins||[]),p(a.componentAccessPolicyUnderEdit.admins||[]),p(a.componentAccessPolicyUnderEdit.editors||[]),p(a.componentAccessPolicyUnderEdit.appenders||[])):[]),p(a.issueDefaultAccessPolicyUnderEdit?[].concat(p(a.issueDefaultAccessPolicyUnderEdit.admins||[]),p(a.issueDefaultAccessPolicyUnderEdit.editors||[]),p(a.issueDefaultAccessPolicyUnderEdit.appenders||
[]),p(a.issueDefaultAccessPolicyUnderEdit.readers||[]),p(a.issueDefaultAccessPolicyUnderEdit.restrictedReaders||[]),p(a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders||[])):[])))))};J9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};J9.prototype.getAccessLevelDescription=function(a){return eXa(a)};
var gIc=function(a,b){return a.componentHistoryUiEnabled?a.componentUpdatesApi.get(b).then(function(c){a.updateDiffs=c.getUpdatesList().map(function(d){var e=a.componentUpdates,f=zQa(d.getAddMask()),h=zQa(d.getRemoveMask()),l={author:d.getAuthor()||null,timestamp:d.getTimestamp()||null,diffs:[]},q=d.getAdd()||new zl;d=d.getRemove()||new zl;for(var u=m(new Set([].concat(p(f),p(h)))),x=u.next();!x.done;x=u.next()){var y=x.value;if(x=tbc.get(y))if("name"===y){var G=Iq(h,y,d.getName());y=Iq(f,y,q.getName());
l.diffs.push(Jq(x,G,y))}else if("description"===y)G=Iq(h,y,d.getDescription()),y=Iq(f,y,q.getDescription()),l.diffs.push(Jq(x,G,y));else if("parentComponentId"===y)G=Iq(h,y,String(kk(d,2))),y=Iq(f,y,String(kk(q,2))),l.diffs.push(Jq(x,G,y));else if("isArchived"===y)G=Iq(h,y,String(d.getArchived())),y=Iq(f,y,String(q.getArchived())),l.diffs.push(Jq(x,G,y));else if("commentEditState"===y){var J=ubc.get(bk(d,15,0));G=ubc.get(bk(q,15,0));J&&G&&(J=Iq(h,y,J),y=Iq(f,y,G),l.diffs.push(Jq(x,J,y)))}else"defaultTemplateId"===
y?(G=Iq(h,y,String(kk(d,18))),y=Iq(f,y,String(kk(q,18))),l.diffs.push(Jq(x,G,y))):"slo"===y?e.sessionIsInternal&&(G=Iq(h,y,FQa(d.getSlo())),y=Iq(f,y,FQa(q.getSlo())),l.diffs.push(Jq(x,G,y))):"team"===y?e.sessionIsInternal&&(G=Iq(h,y,GQa(d.getTeam())),y=Iq(f,y,GQa(q.getTeam())),l.diffs.push(Jq(x,G,y))):"retentionSettings"===y?(G=Iq(h,y,DQa(d.getRetentionSettings())),y=Iq(f,y,DQa(q.getRetentionSettings())),l.diffs.push(Jq(x,G,y))):e.$log.error("Unsupported diff field "+y)}return l}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};J9.prototype.showUpdateHistoryModal=function(){var a=this;gIc(this,this.componentId).then(function(){a.matDialogService.open(J4,{width:"600px",data:{updateDiffs:a.updateDiffs}});Lp(a.analytics,Mp.UPDATE_HISTORY_MODAL,"open");Lp(a.analytics,Mp.MANAGE_COMPONENT,"viewHistory")})};J9.prototype.onSloChange=function(a){this.component.slo.id=a?a.getSloId():"0";a&&hIc(this)};
var Cvb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return ou(a)&&(c||b)},Ivb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return ou(a)&&(!a.component.slo.inherit||c&&b)},lvb=function(a){var b,c,d,e;Ze(function(f){b=0===a.component.parentComponentId;c="0"!==a.component.team.id;return(0===a.component.parentComponentId?"0"!==a.component.team.id:!a.component.team.inherit&&"0"!==a.component.team.id)||b&&c?af(f,(0,T.firstValueFrom)(a.team$.pipe(B(function(h){h=
h.getSlo();a.component.slo.id=h.getSloId();hIc(a)}))),0):(d=iIc(a),e=d.id,a.component.slo.id=e,hIc(a),f.jumpTo(0))})},Hvb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},iIc=function(a){var b=a.component.slo.inherit,c=a.component.slo.source,d=a.component.slo.id;if(b){if(!a.parentComponent)return{inherit:b,source:c,id:d};c=a.parentComponent.slo.source;d=a.parentComponent.slo.id}return{inherit:b,source:c,id:d}},jIc=function(a,b){var c=[];if(!b||
!a)return c;for(var d=m([{field:"admin",accessor:function(h){return h.admins}},{field:"editors",accessor:function(h){return h.editors}},{field:"appenders",accessor:function(h){return h.appenders}},{field:"readers",accessor:function(h){return h.readers}},{field:"restrictedReaders",accessor:function(h){return h.restrictedReaders}},{field:"restrictedPlusReaders",accessor:function(h){return h.restrictedPlusReaders}}]),e=d.next();!e.done;e=d.next()){e=e.value;var f=wj(e.accessor(b)||[],e.accessor(a)||
[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c};
J9.prototype.getAddedAutomationInPolicyChange=function(){var a=[].concat(p(jIc(this.issueDefaultFlattenedAccessPolicy,this.issueDefaultAccessPolicyUnderEdit)),p(jIc(this.componentFlattenedAccessPolicy,this.componentAccessPolicyUnderEdit))),b=new Set;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=m(c.value.addedPrincipals);for(var d=c.next();!d.done;d=c.next())d=this.accessPolicyConverter.stringToAccessPolicyPrincipal(d.value),(Cj(d)?Nwa(d.user.emailAddress):Dj(d)&&Nwa(d.group.emailAddress))&&b.add(d)}return[].concat(p(b.values()))};
var Svb=function(a,b){nG(a.butterBar,"Saving effort spec...",0);a.component&&(a.component.effortSpec=b,a.componentActions.update(a.component).then(function(c){a.updateComponentAndOriginalComponent(c);Lp(a.analytics,Mp.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var f;nG(a.butterBar,(null==(f=a.component.effortSpec)?void 0:f.name)+" saved")}else nG(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
J9.prototype.updateComponentAndOriginalComponent=function(a){this.component=nj(a);this.component$.next(this.component);this.originalComponent=nj(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);hIc(this)};J9.prototype.back=function(){H_(this.appHistory)};var hIc=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
Ei.Object.defineProperties(J9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){mj(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,fIc(this),this.componentAccessPolicyUnderEdit?(a=new Set([].concat(p(this.componentAccessPolicyUnderEdit.inheritedAdmins||[]),p(this.componentAccessPolicyUnderEdit.admins||[]))),a=[].concat(p(a))):a=[],this.componentAdmins=a)},get:function(){return this.componentAccessPolicyUnderEditInternal}},
issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){mj(a,this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,fIc(this),this.issueDefaultAccessPolicyUnderEdit?(a=new Set([].concat(p(this.issueDefaultAccessPolicyUnderEdit.admins||[]),p(this.issueDefaultAccessPolicyUnderEdit.editors||[]))),a=[].concat(p(a)).sort()):a=[],this.issueCommenters=a,this.issueDefaultAccessPolicyUnderEdit?(a=new Set([].concat(p(this.issueDefaultAccessPolicyUnderEdit.admins||
[]),p(this.issueDefaultAccessPolicyUnderEdit.editors||[]),p(this.issueDefaultAccessPolicyUnderEdit.appenders||[]),p(this.issueDefaultAccessPolicyUnderEdit.restrictedReaders||[]),p(this.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders||[]))),a=[].concat(p(a)).sort()):a=[],this.issueViewersChip=[{displayText:"Issue Admins, Editors, Commenters, Restricted/Restricted+ Viewers",values:a}])},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});
J9.\u0275fac=function(a){return new (a||J9)(A(ko),A(HH,2),A(JJ),A(bH),A(zG),A(SF),A(cH),A(G_),A(mG),A(tR),A(tu),A(hJ),A(bB),A(LH),A(bO),A($F),A(s9),A($U),A(qG),A(v9),A(DU),A(r9),A(kV),A(jJ),A(uG),A(cI),A(rQ),A(sQ),A(qN))};
J9.\u0275cmp=r({type:J9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(Sg(GHc,5),Sg(HHc,5),Sg(IHc,5),Sg(WM,5,Yd));if(a&2){var c;Rg(c=Ug())&&(b.confirmArchiveDialog=c.first);Rg(c=Ug())&&(b.archiveButton=c.first);Rg(c=Ug())&&(b.metadataForm=c.first);Rg(c=Ug())&&(b.tabs=c)}},features:[Dg([HH]),$f],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["showTrackerRedirect",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["format","icon","size","large","tooltip","Go back","ariaLabel",
"Go back",3,"onAction"],["name","arrow-backward","size","large"],[4,"ngIf"],["cdkScrollable","",1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["archiveDialog",""],["mat-button","",1,"gmat-button",3,"routerLinkObj"],["format","flat",3,"disabled","onAction",4,"ngIf"],["format","flat",3,"tooltip","disabled","onAction",4,"ngIf"],["format","flat",3,"disabled","onAction"],["archiveButton",""],["format","flat",3,"tooltip","disabled","onAction"],[1,"bv2-view-loading"],[1,"edit-resource-header"],["class",
"resource-archived",4,"ngIf"],[1,"keep-focus-ring","margin-s-right",3,"routerLinkObj","click"],[3,"accessLevel"],[3,"trackerId"],[1,"component-hierarchy-container"],["componentPathsLinkTo","settings",3,"componentPathInfo","isArchived","label"],[1,"float-clear"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[4,"ngTemplateOutlet"],[3,"id","label"],["label","Field Ordering",3,"id"],["label","Templates",3,"id"],["label","Access Control",
3,"id"],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],[1,"resource-archived"],[1,"edit-resource-panel"],["name","metadataForm"],["metadataForm",""],[3,"error"],["aria-label","Name",1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","name","name","required","","id","component-name",3,"ngModel","disabled","ngModelChange"],["aria-label","Description",1,"edit-field"],["tabindex","0",1,"field-label-with-help","keep-focus-ring"],
["aria-describedby","component-description-bubble","for","component-description",1,"help-label"],[1,"help-container"],["id","component-description-bubble",1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["name","description","aria-describedby","component-description-bubble","id","component-description",3,"ngModel","disabled","ngModelChange"],["class","edit-field","tabindex","0","aria-label","Parent component",
4,"ngIf"],["role","region","aria-label","Editable Comments",1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabelledby","editable-comments-label permission-toggle-help",3,"checked","disabled","change"],["id","editable-comments-label",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about editable comments","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["class","edit-field",
"role","region","aria-label","Retention Settings",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","Team Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","SLO Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["aria-label","Component alias",1,"edit-field","bv2-edit-resource-readonly"],["aria-describedby","edit-alias-help-bubble",1,"help-label"],["id","edit-alias-help-bubble",
1,"help-bubble","jfk-bubble"],["aria-label","Learn more about component alias","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"href"],[1,"edit-button-row"],["class","edit-button-group",4,"ngIf"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'",3,"onAction",4,"ngIf"],[1,"edit-field","bv2-edit-resource-readonly"],[3,"children","onVisit",4,"ngIf"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["aria-describedby","edit-parent-help-bubble",
"for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role","region","aria-label","Retention Settings",1,"edit-field"],["for","retention-settings",1,"required"],[1,"edit-field-help"],["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",
1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id","team-picker",4,"ngIf"],["id","team-picker"],[3,"isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model","modelChange"],["role","region","tabindex","0","aria-label","SLO Configuration",1,"edit-field"],["aria-describedby",
"edit-slo-help-bubble",1,"help-label"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],["class","slo-policy-source-link",4,"ngIf"],["class","slo-admins-link",4,"ngIf"],[1,"lock-state"],["class","edit-field less-margin",4,"ngIf"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",3,"routerLinkObj",4,
"ngIf","ngIfElse"],["noPolicySource",""],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"gmat-button","slo-inheritance-path","small",3,"click"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["class","slo-breadcrumbs",4,"ngIf"],[1,"slo-breadcrumbs"],[3,"componentPath","teamPath"],[1,"slo-admins-link"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,
"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"checked","disabled","change"],["class","edit-field component-slo-justification-text",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"edit-field","component-slo-id-select"],["for","component-slo-id"],["id","component-slo-id","aria-describedby","edit-slo-help-bubble","tabindex","-1",1,"bv2-slo-picker","bv2-picker",3,"bv2Disabled","boundId","bv2Placeholder",
"onSloSelect"],["mat-icon-button","","class","gmat-button small","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","component-slo-justification-text"],["for","component-slo-justification","id","component-settings-slo-justification-label",1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",
1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"gmat-button","small",3,"routerLinkObj","target"],["svgIcon","pop-out",1,"icon-s"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"],["format","hairline","title","View history for 'Basic Information'",
3,"onAction"],[3,"children","onVisit"],["class","heading-m padded-x margin-top","aria-label","Standard Fields",4,"ngIf"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent",4,"ngIf"],["class","heading-m padded-x margin-top","aria-label","Custom Fields",4,"ngIf"],[3,"editMode","isSaving","component","parentComponent"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent"],["aria-label","Custom Fields",1,"heading-m",
"padded-x","margin-top"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","class","keep-underline keep-focus-ring","target","_blank",3,"href",4,"ngIf"],[3,"fields","componentId","fieldOrdering","isAdmin","onReload"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"componentId","supportCustomFields",4,"ngIf"],[3,"componentId","supportCustomFields"],["class","component-field",4,"ngFor",
"ngForOf"],[1,"component-field"],["class","component-banner",4,"ngIf"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["name","accessControlForm","novalidate",""],["aria-label","Component Admins",1,"edit-field"],["for","component-acl-admins"],[1,"edit-field-note"],["idForInputBox","component-acl-admins","ariaLabel","Component Admins email list",3,"users","accessLevel","containerChips","usersChange","isValid"],["aria-label","Create issues",
1,"edit-field"],["for","component-acl-create-issues"],["idForInputBox","component-acl-create-issues","ariaLabel","Create Issues access email list",3,"users","accessLevel","containerChips","includeAliases","usersChange","isValid"],["aria-label","Issue Admins",1,"edit-field"],["for","issue-admins"],["target","_blank","aria-label","Learn more about issue admins","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["idForInputBox","issue-admins","ariaLabel","Issue admins email list",3,"users",
"accessLevel","usersChange","isValid"],["aria-label","Edit issues",1,"edit-field"],["for","component-acl-view-comment-issues",1,"help-label"],["class","help-container",4,"ngIf"],["idForInputBox","component-acl-view-comment-issues","ariaLabel","Edit access email list",3,"users","accessLevel","containerChips","includeAliases","usersChange","isValid"],["aria-label","Comment on issues",1,"edit-field"],["for","component-acl-view-edit-issues"],["idForInputBox","component-acl-view-edit-issues","ariaLabel",
"comment access email list",3,"users","accessLevel","containerChips","includeAliases","usersChange","isValid"],["aria-label","View restricted+ content",1,"edit-field"],["for","component-acl-restricted-plus-reader"],["target","_blank","aria-label","Learn more about viewing restricted+ content","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["idForInputBox","component-acl-restricted-plus-reader","ariaLabel","Restricted+ content view access email list",3,"users","accessLevel","customValidators",
"usersChange","isValid"],["aria-label","View restricted content",1,"edit-field"],["for","component-acl-restricted-reader"],["target","_blank","aria-label","Learn more about viewing restricted content","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["idForInputBox","component-acl-restricted-reader","ariaLabel","Restricted content view access email list",3,"users","accessLevel","containerChips","usersChange","isValid"],["aria-label","View issues",1,"edit-field"],["for","component-acl-view-issues"],
["idForInputBox","component-acl-view-issues","ariaLabel","Issues view access email list",3,"users","accessLevel","containerChips","includeAliases","includeViewAliases","usersChange","isValid"],["aria-label","View Component (Auto-populated)",1,"edit-field","bv2-edit-resource-readonly"],["for","component-acl-view-component"],["idForInputBox","component-acl-view-component","ariaLabel","Component view access email list",3,"users","accessLevel","usersChange","isValid"],[1,"edit-field","permission-toggle"],
["ariaLabelledby","expanded-access-help permission-toggle-help",3,"checked","disabled","change"],["id","expanded-access-help",1,"edit-field-help"],["target","_blank","aria-label","Learn more about expanded access","aria-describedby","expanded-access-help",1,"keep-underline","keep-focus-ring",3,"href"],["format","hairline",3,"onAction",4,"ngIf"],[1,"component-banner"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio",
"id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",
3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-public"],[1,"access-level-warning"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange"],["type",
"radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange"],["target","_blank","aria-label","Learn more about issue admins",1,"keep-underline","keep-focus-ring",3,"href"],["target","_blank","aria-label","Learn more about viewing restricted+ content",1,"keep-underline","keep-focus-ring",3,"href"],["target","_blank","aria-label","Learn more about viewing restricted content",1,"keep-underline","keep-focus-ring",3,"href"],["format","hairline",
3,"onAction"],["mat-dialog-title",""],[1,"b-archive-component-list"],[4,"ngFor","ngForOf"],["mat-flat-button","","mat-dialog-close","","aria-label","Click to archive the component","color","primary",3,"click"],["mat-button","","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["aria-label","Learn more about archiving components","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more about buganizer retention",
"target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"b-archive-warning-indef",4,"ngIf"],[1,"bv2-limited-issue-view"],[3,"component"]],template:function(a,b){a&1&&(O(0,Bwb,12,3,"ng-container",0),R(1,"async"),O(2,Cwb,2,1,"ng-template",null,1,$g));if(a&2){var c=N(3);C("ngIf",!S(1,2,b.showTrackerRedirect$))("ngIfElse",c)}},dependencies:[ZN,ax,bx,gx,ML,SU,IU,x3,E3,J3,DY,rZ,U3,Mx,yh,Ox,Ex,Fx,Wx,Lx,Jx,I9,IN,nO,NA,OA,QI,cB,dB,eB,fB,OB,Mz,gV,XM,WM,qD,jZ,l_,w9,j_,vN,VW,kO,H9,GN,l7,hx,jx],styles:[".mat-form-field[_ngcontent-%COMP%]{width:500px}b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}div.slo-admins-link[_ngcontent-%COMP%]{margin-top:3px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-slo-id-select[_ngcontent-%COMP%], .component-slo-justification-text[_ngcontent-%COMP%], .indented[_ngcontent-%COMP%], div.slo-breadcrumbs[_ngcontent-%COMP%]{margin-left:24px}.component-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}button.slo-inheritance-path[_ngcontent-%COMP%]{margin-left:30px}div.slo-breadcrumbs[_ngcontent-%COMP%]{padding:4px}.field-label-with-help[_ngcontent-%COMP%]:focus   .help-bubble[_ngcontent-%COMP%]{left:8px}.field-label-with-help[_ngcontent-%COMP%]:focus   .help-bubble-right[_ngcontent-%COMP%]{left:-120px}\n/*# sourceMappingURL=manage_component.css.map */"]});var bxb=function(a){return[a]},cxb=function(){return[]},lxb=function(a){return{value:a}},kIc={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},K9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J){Z.call(this);var M=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=f;this.errorHandler=h;this.location=l;this.pageTitle=q;this.routeParams=u;this.teamsService=x;this.userAccess=y;this.sloApi=G;this.sloService=J;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new T.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new T.ReplaySubject(1);this.teamSlo$=this.team$.pipe(B(function(U){return U.getSlo()}));this.isSloLeadValid=!1;this.sloLeadEmail$=new T.BehaviorSubject("");this.sloLead$=new T.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(U){if(U){U=
m(U);for(var W=U.next();!W.done;W=U.next())if(0!==W.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(U){if(U){U=m(U);for(var W=U.next();!W.done;W=U.next())if(0!==W.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,T.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(B(function(U){return U.admins.filter(Cj).map(dk)}));this.teamLeads$=this.team$.pipe(B(function(U){return U.getMembersList().filter(function(W){return xl(W,
2)}).map(function(W){var ba,pa;return"USER:"+(null!=(pa=null==(ba=W.getUser())?void 0:ba.getEmailAddress())?pa:"")})}));this.adminsAndLeads$=(0,T.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(B(function(U){var W=m(U);U=W.next().value;W=W.next().value;var ba=new Set(U);W=W.filter(function(pa){return!ba.has(pa)});return[].concat(p(U),p(W))}));this.associatedComponents$=(0,T.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(B(function(U){var W=
U.getPathNamesList();return U.getPathIdsList().map(function(ba,pa){return{id:ba,name:W[pa]}})}));this.isRootTeam$=this.teamPath$.pipe(B(function(U){return 1>=U.length?!0:!1}));this.parentTeam$=(0,T.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(Qf(function(U){var W=m(U);U=W.next().value;W=W.next().value;return U?(0,T.of)(null):M.teamsService.getTeam(""+W[W.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(Qf(function(U){var W,ba=null==U?void 0:null==(W=U.getSlo())?
void 0:W.getSloId();return ba&&"0"!==ba?M.sloService.get(ba).then(function(pa){return{id:ba,link:On(ba),slo:pa}}):(0,T.of)({id:"0"})}));this.sloPolicySource$=(0,T.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(B(function(U){var W=m(U);U=W.next().value;W=W.next().value;var ba,pa=null==U?void 0:null==(ba=U.getSlo())?void 0:ba.getSourceTeamId();ba=W.find(function(na){return""+na.id===pa});return pa&&ba?{name:ba.name,link:{path:"/teams/"+pa+"/edit",fragment:"slo"}}:null}));this.Tab=kIc;this.enableSloLockingUi=
Qp(this.activeSession,"enableSloLockingUi");this.enableSloLead=Qp(this.activeSession,"enableSloLead");this.isSloInheritEnabled$=new T.BehaviorSubject(!0);this.sloId$=new T.BehaviorSubject("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new T.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(Qf(function(U){return aG(M.userAccess,"reader","slos/"+U)}),Pf(!1));this.sloPickerLink$=(0,T.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(B(function(U){var W=m(U);U=W.next().value;
W=W.next().value;return U&&0<Number(U)&&W?On(U):null}));this.hasUnsavedChanges$=(0,T.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(B(function(U){var W=m(U),ba=W.next().value;U=W.next().value;var pa=W.next().value,na=W.next().value,xa=W.next().value;W=W.next().value;var Fa=ba.getSlo(),Ha,Bb;ba=null!=(Bb=null==(Ha=wk(ba,Mj,12))?void 0:Ha.getEmailAddress())?Bb:"";return Fa.getInherit()!==pa||Fa.getSloId()!==U||na!==M.originalSloLock||
Fa.getComment()!==xa||ba!==W}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");this.team$.pipe(Rf(this.destroyed$)).subscribe(function(U){M.pageTitle.setTitle("Team: "+U.getName())});a=Qp(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;aG(this.userAccess,"writer",a).then(function(U){M.hasEditAccess=U});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(B(function(U){return U.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+
this.teamId+"/slo_edit_policy",responseConstructor:S6b}).pipe(B(Eoa));var V=dp(this.hasUnsavedChanges$.pipe(Rf(this.destroyed$)),!1);this.subscriptions.add(cO(this.checkBeforeExit,function(){return V.getValue()},!1))};X(K9,Z);K9.\u0275dir=Z.\u0275dir;
K9.prototype.ngOnInit=function(){var a=this,b,c,d;return Ze(function(e){if(1==e.nextAddress)return b=a.location.hash(),"basic"===b?a.selectedTabIndex=0:"slo"===b?a.selectedTabIndex=1:"componentMapping"===b&&(a.selectedTabIndex=2),af(e,(0,T.firstValueFrom)(a.teamsService.get(a.teamId)),2);if(3!=e.nextAddress)return c=e.yieldResult,"0"===c.getTeamId()?oG(a.butterBar,"Unable to fetch team ID '"+a.teamId+"'"):a.team$.next(c),fxb(a),d=a,af(e,(0,T.firstValueFrom)(a.parentTeam$),3);d.parentTeam=e.yieldResult;
ef(e)})};K9.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};K9.prototype.onSloChange=function(a){a&&(this.sloId=a.getSloId())};
var exb=function(a,b){var c,d,e,f,h,l;return Ze(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();nG(a.butterBar,"Saving changes...",0);$e(q,2);if(!a.enableSloLead||(null==(c=wk(b,Mj,12))?void 0:c.getEmailAddress())===a.sloLeadEmail){q.jumpTo(4);break}var u=T.firstValueFrom;var x=(new Mj).setEmailAddress(a.sloLeadEmail);x=Ok(b,Mj,12,x);x=a.teamsService.updateTeam(x);return af(q,u.call(T,x),5);case 5:d=q.yieldResult,a.team$.next(d);case 4:if(a.sloLocked===a.originalSloLock){q.jumpTo(6);
break}u=T.firstValueFrom;x=a.sloApi;var y=a.teamId,G=a.sloLocked,J=new FE;G=Dk(J,2,G?1:2).setTeamId(Number(y));x=x.executor.post({url:"action/teams/"+y+"/slo_edit_policy",responseConstructor:W6b,body:G}).pipe(B(Eoa));return af(q,u.call(T,x),7);case 7:e=q.yieldResult,a.originalSloLock=e;case 6:f=b.getSlo();if(f.getInherit()===a.isSloInheritEnabled&&f.getSloId()===a.sloId&&a.originalSloLock===a.sloLocked&&f.getComment()===a.sloJustification){q.jumpTo(8);break}u=T.firstValueFrom;G=(new su).setSloId(a.sloId).setInherit(a.isSloInheritEnabled);
a.isSloInheritEnabled||G.setComment(a.sloJustification$.getValue());x=a.teamsService;y=a.teamId;J=(new bI).setTeamId(y);G=Ok(J,su,2,G);x=x.executor.post({url:"/action/teams/"+y+"/update_slo",body:G,responseConstructor:NE});return af(q,u.call(T,x),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:nG(a.butterBar,"Save complete.");Au(q,0);break;case 2:l=df(q),sG(a.errorHandler,l),ef(q)}})};
K9.prototype.validate=function(){if(!this.isSloInheritEnabled&&""===this.sloJustification$.getValue())return this.error="Justification is required",!1;if(this.enableSloLead&&!this.isSloLeadValid)return this.error="Please provide a valid SLO lead",!1;this.error="";return!0};
var lIc=function(a){(0,T.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=wk(b,Mj,12))?void 0:c.getEmailAddress();a.sloLead=b?"USER:"+b:""})},mIc=function(a){(0,T.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.getSloId();a.isSloInheritEnabled=b.getInherit();a.sloJustification$.next(b.getComment())})},nIc=function(a){(0,T.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},fxb=function(a){a.error="";lIc(a);mIc(a);a.enableSloLockingUi&&nIc(a)};
K9.prototype.back=function(){H_(this.appHistory)};
Ei.Object.defineProperties(K9.prototype,{sloJustification:{configurable:!0,enumerable:!0,get:function(){return this.sloJustification$.getValue()}},sloLeadEmail:{configurable:!0,enumerable:!0,get:function(){return this.sloLeadEmail$.getValue()}},sloLead:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloLead$.getValue()&&(this.sloLead$.next(a),this.sloLeadEmail$.next(a?a.split(":")[1]:""))},get:function(){return this.sloLead$.getValue()}},isSloInheritEnabled:{configurable:!0,enumerable:!0,
set:function(a){a!==this.isSloInheritEnabled$.getValue()&&this.isSloInheritEnabled$.next(a)},get:function(){return this.isSloInheritEnabled$.getValue()}},sloId:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloId$.getValue()&&(this.sloId$.next(a),this.enableSloChecked="0"!==a)},get:function(){return this.sloId$.getValue()}},enableSloChecked:{configurable:!0,enumerable:!0,set:function(a){a!==this.enableSloCheckedInternal&&(this.enableSloCheckedInternal=a,a||(this.sloId="0"))},get:function(){return this.enableSloCheckedInternal}},
sloLocked:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloLocked$.getValue()&&this.sloLocked$.next(a)},get:function(){return this.sloLocked$.getValue()}}});K9.\u0275fac=function(a){return new (a||K9)(A(tu),A(zG),A(G_),A(mG),A(bO),A($U),A(qG),A(bH),A(tR),A(JJ),A(cI),A($F),A(rQ),A(sQ))};
K9.\u0275cmp=r({type:K9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&Sg(WM,5,Yd);if(a&2){var c;Rg(c=Ug())&&(b.tabs=c)}},features:[$f],decls:8,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",1,"gmat-button",3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable","",1,"bv2-view"],[4,"ngIf"],[1,"edit-resource-header"],["target","_blank",
3,"href"],["svgIcon","pop-out",1,"icon-s"],["class","team-hierarchy-container",4,"ngIf"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[4,"ngIf","ngIfElse"],["emptyDescription",""],[1,"field-label-with-help"],[1,"help-label"],[1,"help-container"],[1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,
"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],[1,"slo-policy-source-link"],["class","slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],[1,"lock-state"],[3,"error"],["class","edit-field",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["label","Component mapping",3,"id"],[1,"team-hierarchy-container"],[3,"teamPath"],
[3,"users"],["childTeamsLinks",""],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-inheritance-link",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],["class","edit-field less-margin",4,"ngIf"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"disabled","checked","change"],["class","edit-field slo-justification",4,"ngIf"],["name","slo-enable",
"labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"team-slo-id-select",3,"boundId","bv2Disabled","bv2Placeholder","onSloSelect"],["mat-icon-button","","class","gmat-button small slo-link","matTooltip","Go to SLO management page",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","slo-justification"],["id","team-slo-justification-label",1,"required"],["svgIcon","help-outline",1,"icon-s","valign-middle",3,"matTooltip"],["aria-labelledby","team-slo-justification-label",
"required","",1,"slo-justification-text",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"gmat-button","small","slo-link",3,"routerLinkObj","target"],["gmat-checkbox","",1,"slo-lock",3,"checked","disabled","change"],["idForInputBox","team-slo-lead","ariaLabel","Team SLO lead email",3,"users","customValidators","detailedUserValidators","maxUserAllowed","usersChange","isValid"],[1,"edit-button-row"],[1,"edit-button-group"],["gmat-button","","mat-flat-button",
"","color","primary",3,"disabled","click"],["gmat-button","","mat-stroked-button","","color","primary",3,"disabled","click"],["associatedComponentLinks",""]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),K("click",function(){return b.back()}),F(4,"mat-icon",4),E()()()(),D(5,"div",5),O(6,mxb,86,39,"ng-container",6),R(7,"async"),E());a&2&&(z(6),C("ngIf",S(7,1,b.team$)))},dependencies:[$w,ax,bx,rZ,yh,Ex,Wx,Lx,I9,IN,NA,OA,QI,OB,XM,WM,qD,Mz,gV,jZ,XG,GN,j_,$Z,hx],styles:[".description[_ngcontent-%COMP%]{white-space:pre-wrap}button[_ngcontent-%COMP%]{height:32px;line-height:32px}button.mat-icon-button.large[_ngcontent-%COMP%]{height:36px;line-height:36px;width:36px}.team-hierarchy-container[_ngcontent-%COMP%]{margin-top:-5px;padding-bottom:32px;padding-left:20px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:flex;align-items:center}.team-slo-id-select[_ngcontent-%COMP%]{display:inline-block;width:450px}label[_ngcontent-%COMP%]{display:inline-block;line-height:2.2em}label[_ngcontent-%COMP%]   .edit-field-header[_ngcontent-%COMP%]{font-weight:bold}textarea.slo-justification-text[_ngcontent-%COMP%]{height:3em}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:1.2}.indented[_ngcontent-%COMP%], .slo-justification[_ngcontent-%COMP%], .team-slo-id-select[_ngcontent-%COMP%]{margin-left:24px}.team-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}\n/*# sourceMappingURL=manage_team.css.map */"]});var oIc=["ASSIGNED","REPLIED_TO_MENTION","BLOCKED"],pIc=new Map([["NEAR_SLO",{color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"}],["MENTIONED",{color:"pink",text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"}],["UNBLOCKED",{color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"}],["NEEDS_REPORTER_INPUT",{color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"}],["BLOCKED",{color:"red",
text:"Newly blocking",icon:"alert_24px",className:"newly-blocking"}],["ASSIGNED",{color:"blue",text:"Newly assigned",icon:"assignment_ind_24px",className:"newly-assigned"}],["REPLIED_TO_MENTION",{color:"green",text:"Replied to mention",icon:"chat_24px",className:"replied-to-mention"}]]),qxb=new Map([["NEAR_SLO",{header:"Near SLO",body:"Issues that will go out of SLO in 2 days or less"}],["MENTIONED",{header:"Mentioned me",body:"Someone mentioned you in a comment in the past 2 weeks"}],["UNBLOCKED",
{header:"Blockers closed",body:"All blockers are closed"}],["NEEDS_REPORTER_INPUT",{header:"Needs reporter input",body:"Issue is assigned back to reporter (you) for more context"}],["REPLIED_TO_MENTION",{header:"Replied to mention",body:"Someone you mentioned replied to your comment"}],["BLOCKED",{header:"Newly blocking",body:"Issues that are blocking other issues"}],["ASSIGNED",{header:"Newly assigned",body:"Issues newly assigned to you"}]]);var L9=function(a){var b=this;this.activeSession=a;this.selectedSignals$=(0,T.of)([]);this.selected=new vw;this.ALL_SIGNAL_TYPES=Object.values(KQb).filter(function(c){return"SIGNAL_TYPE_UNKNOWN"!==c}).filter(function(c){return!oIc.includes(c)||oIc.includes(c)&&b.areEarlyAccessSignalsEnabled()});this.isOpen=!1};L9.prototype.areEarlyAccessSignalsEnabled=function(){return Qp(this.activeSession,"enableEarlyAccessSignals")||!1};L9.prototype.openMenu=function(){this.isOpen=!0};
L9.prototype.closeMenu=function(){this.isOpen=!1};var txb=function(a){var b=a.checkboxes.filter(function(c){return c.checked}).map(function(c){return c.value});a.selected.emit(b);a.closeMenu()};L9.\u0275fac=function(a){return new (a||L9)(A(tu))};
L9.\u0275cmp=r({type:L9,selectors:[["select-signals-menu"]],viewQuery:function(a,b){a&1&&Sg(QI,5);if(a&2){var c;Rg(c=Ug())&&(b.checkboxes=c)}},inputs:{selectedSignals$:"selectedSignals$"},outputs:{selected:"selected"},decls:4,vars:4,consts:[["mat-icon-button","","aria-label","Show menu to select signals","aria-haspopup","true","cdkOverlayOrigin","",1,"gmat-button","large",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","filter"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass",
"cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","select-signals-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["cdkTrapFocus","","cdkTrapFocusAutoCapture",""],[1,"margin-s-y","margin-x","heading-s"],["mat-button","",1,"gmat-button","small","float-right",3,"click"],["class","signal-types",4,"ngIf"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary",3,"click"],
[1,"signal-types"],[4,"ngFor","ngForOf"],["class","signal flex-kids-x padded-s padded-right",4,"ngIf"],[1,"signal","flex-kids-x","padded-s","padded-right"],[1,"margin-right","margin-s-left","margin-xs-top",3,"id","aria-labelledby","value","checked"],[1,"type-l","display-block",3,"id","for"],[3,"for"]],template:function(a,b){a&1&&(D(0,"button",0,1),K("click",function(){return b.openMenu()}),F(2,"mat-icon",2),E(),O(3,uxb,13,3,"ng-template",3),K("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}));if(a&2){var c=N(1);pg("menu-open",b.isOpen);z(3);C("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[ax,bx,QI,OB,NA,WQ,eA,dA,iy,hx],styles:[".select-signals-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:18rem;max-height:calc(100vh - 100px);overflow-y:auto}.menu-open[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg)}.signal[_ngcontent-%COMP%]:hover{background-color:#e8f0fe;background-color:var(--primary-c50)}\n/*# sourceMappingURL=select_signals_menu.css.map */"]});var M9=function(a){this.dateFormatter=a;this.iconOnly=this.isSelected=this.generalDescriptionOnly=!1;this.count=-1;this.matTooltipShowDelay=0;this.removable=!1;this.onRemove=new vw};
M9.prototype.getSignalTypeTooltip=function(){var a=this;if(this.generalDescriptionOnly)return this.signal.signalType?(0,T.of)(oxb(this.signal)):(0,T.of)("");var b;return null!=(b=this.signal.timestamp)&&b.seconds?this.dateFormatter.formatUserCalendar(new Date(1E3*this.signal.timestamp.seconds)).pipe(B(function(c){return nxb(a.signal,c)})):(0,T.of)(nxb(this.signal))};M9.prototype.onClickRemove=function(){this.onRemove.emit(this.signal.signalType)};M9.\u0275fac=function(a){return new (a||M9)(A(TL))};
M9.\u0275cmp=r({type:M9,selectors:[["b-signal-chip"]],inputs:{signal:"signal",generalDescriptionOnly:"generalDescriptionOnly",isSelected:"isSelected",iconOnly:"iconOnly",count:"count",matTooltipShowDelay:"matTooltipShowDelay",removable:"removable"},outputs:{onRemove:"onRemove"},decls:1,vars:1,consts:[[3,"full-chip","selected","matTooltip","matTooltipShowDelay","class",4,"ngIf"],[3,"matTooltip","matTooltipShowDelay"],[3,"svgIcon"],[4,"ngIf"],["mat-icon-button","","class","gmat-button small remove-button",
"matTooltip","Remove filter","matTooltipPosition","above",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Remove filter","matTooltipPosition","above",1,"gmat-button","small","remove-button",3,"click"],[1,"a11y-only"],["svgIcon","close"]],template:function(a,b){a&1&&O(0,yxb,5,14,"span",0);a&2&&(a=b.signal.signalType?pIc.has(b.signal.signalType)?pIc.get(b.signal.signalType):null:null,C("ngIf",a))},dependencies:[bx,NA,OB,qD,hx],styles:[".full-chip[_ngcontent-%COMP%]{padding:0 4px}.full-chip.needs-reporter-input[_ngcontent-%COMP%], .full-chip.newly-assigned[_ngcontent-%COMP%], .full-chip.newly-blocking[_ngcontent-%COMP%], .full-chip.replied-to-mention[_ngcontent-%COMP%]{padding-left:8px}.chippy.selected[_ngcontent-%COMP%]{font-weight:500}.chippy.selected[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:inherit}.chippy.selected.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.selected.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.selected.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.selected.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}.chippy.selected.newly-blocking[_ngcontent-%COMP%]{color:#d42521;color:var(--red-text);box-shadow:inset 0 0 0 1px #d42521;box-shadow:inset 0 0 0 1px var(--red-text);background-color:#fff2f1;background-color:var(--red-bg)}.chippy.selected.newly-assigned[_ngcontent-%COMP%]{color:#185abc;color:var(--blue-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--blue-text);background-color:#f2f6ff;background-color:var(--blue-bg)}.chippy.selected.replied-to-mention[_ngcontent-%COMP%]{color:#137333;color:var(--green-text);box-shadow:inset 0 0 0 1px #137333;box-shadow:inset 0 0 0 1px var(--green-text);background-color:#edfbf1;background-color:var(--green-bg)}\n/*# sourceMappingURL=signal_chip.css.map */"]});var Axb=function(a){return{signalType:a}},Dxb=function(){return[]},N9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V){Z.call(this);var U=this;this.appSearchState=a;this.pageTitle=b;this.paths=c;this.userPreferencesManager=d;this.needsAttentionApi=e;this.cdr=f;this.analytics=h;this.bLocation=l;this.domSafe=q;this.issueFridge=u;this.errorHandler=x;this.snackbar=y;this.currentTracker=G;this.appEvents=J;this.issuePagination=M;this.activeSession=V;this.issues=[];this.columns=[dZ,eZ,fZ,new Ar({name:"alerts",
sortable:!1,draggable:!1,fullLabel:"Alerts",label:"ALERTS"}),Object.assign({},Br("priority"),{draggable:!1}),Object.assign({},Br("title"),{draggable:!1}),Object.assign({},Br("assignee"),{draggable:!1}),Object.assign({},Br("status"),{draggable:!1}),Object.assign({},Br("issueId"),{draggable:!1}),new Ar({name:"dismiss",sortable:!1,draggable:!1,isMetadata:!0})];this.starInProgress={};this.dismissInProgress={};this.dismissSelectedInProgress=!1;this.lastDismissedRowIssueIds=new Set;this.listViewPrefs$=
this.userPreferencesManager.listViewPreferences$;this.lastCheckedIndex=this.focusedRowIndex=null;this.isLoading=!1;this.STATUS_ICON=YSb;this.STATUS_FULL_TEXT=vF;this.STATUS_TERSE=rF;this.ALL_SIGNAL_TYPES=Object.values(KQb).filter(function(W){return"SIGNAL_TYPE_UNKNOWN"!==W}).filter(function(W){return!oIc.includes(W)||oIc.includes(W)&&U.areEarlyAccessSignalsEnabled()});this.selectedSignals$=new T.BehaviorSubject([]);this.sortConfig={field:"priority",direction:"ASC"};this.HOTKEYS=yO;this.SPACE_EMPTY_STATE=
f5b};X(N9,Z);N9.\u0275dir=Z.\u0275dir;
N9.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Needs attention");setTimeout(function(){a.appSearchState.clear()});this.areEarlyAccessSignalsEnabled()?(this.userPreferencesManager.needsAttentionPreferences$.pipe(Ef()).subscribe(function(b){var c;a.selectedSignals$.next(null!=(c=b.selectedSignals)?c:[])}),this.selectedSignals$.pipe(Rf(this.destroyed$)).subscribe(function(){a.fetchIssues()})):(this.selectAllSignals(),this.fetchIssues());this.destroyed$.pipe(Ef()).subscribe(function(){var b;null==
(b=a.snackBarRefForUndo)||b.dismiss()})};N9.prototype.areEarlyAccessSignalsEnabled=function(){return Qp(this.activeSession,"enableEarlyAccessSignals")||!1};var Cxb=function(a,b){a.selectedSignals$.next(b);a.userPreferencesManager.save({needsAttentionPreferences:{selectedSignals:b}}).pipe(Ef()).subscribe()};N9.prototype.convertIssueStatusStrToTag=function(a){return Wk[a]};N9.prototype.hasResults=function(){return 0<this.issues.length-this.lastDismissedRowIssueIds.size};
N9.prototype.issueDescription=function(a){return"Needs attention Issue ID "+a.id+" titled: "+a.title};N9.prototype.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(Xxb(this,a),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?op(this.domSafe,a):this.bLocation.url(a))};
var Xxb=function(a,b){var c,d=null==(c=a.issues.find(function(e){return e.issueId===b}))?void 0:c.signals.map(function(e){return e.signalType}).sort().join(",");Lp(a.analytics,Mp.NEEDS_ATTENTION,"viewIssue",d)},Rxb=function(a){return 0===a.issues.length?!1:a.issues.every(function(b){return b.selected})};g=N9.prototype;g.someIssuesSelected=function(){return this.issues.some(function(a){return a.selected})};
g.getHeaderCheckboxState=function(){if(0===this.issues.length)return"unchecked";for(var a=!0,b=!1,c=m(this.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};g.toggleAllIssueSelection=function(){if(0!==this.issues.length){for(var a=!this.someIssuesSelected(),b=m(this.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges()}};
g.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&0<this.issues.length)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=m(this.issues.slice(d,e));for(e=d.next();!e.done;e=d.next())e.value.selected=!a}c.selected=!c.selected;this.lastCheckedIndex=b};
g.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,fXb(this.issueFridge,String(a.issueId),a.starred).pipe(Ef(),Rf(this.destroyed$)).subscribe(function(){b.starInProgress[a.issueId]=!1;b.cdr.detectChanges()},function(c){a.starred=!a.starred;b.starInProgress[a.issueId]=!1;b.errorHandler.errorHandler(null,c);b.cdr.detectChanges()}))};
var Kxb=function(a){a.dismissSelectedInProgress=!0;for(var b=[],c=m(a.issues),d=c.next();!d.done;d=c.next())d=d.value,d.selected&&(b.push(d.issueId),a.dismissInProgress[d.issueId]=!0);iR(a.needsAttentionApi,b,!0).then(function(){return void qIc(a,b)},function(e){return void a.errorHandler.errorHandler(null,e)}).finally(function(){a.dismissSelectedInProgress=!1;for(var e=m(b),f=e.next();!f.done;f=e.next())a.dismissInProgress[f.value]=!1})};
N9.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a.issueId]||(this.dismissInProgress[a.issueId]=!0,iR(this.needsAttentionApi,[a.issueId],!0).then(function(){return void qIc(b,[a.issueId])},function(c){return void b.errorHandler.errorHandler(null,c)}).finally(function(){b.dismissInProgress[a.issueId]=!1}))};
var qIc=function(a,b){Lp(a.analytics,Mp.NEEDS_ATTENTION,"dismissIssue","numberOfIssues",b.length);for(var c=m(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.add(d.value);c=m(a.issues);for(d=c.next();!d.done;d=c.next())d=d.value,b.includes(d.issueId)&&(d.selected=!1);a.appEvents.needsAttentionIssueCount.next(a.issues.length-b.length);a.cdr.detectChanges();a.snackBarRefForUndo=a.snackbar.open({message:1===b.length?'Issue dismissed from "Needs attention" list':'All selected issues dismissed from "Needs attention" list',
actionLabel:"Undo"});a.snackBarRefForUndo._afterDismissed.pipe(Ef()).subscribe(function(e){e.dismissedByAction&&rIc(a,b)})},rIc=function(a,b){iR(a.needsAttentionApi,b,!1).then(function(){Lp(a.analytics,Mp.NEEDS_ATTENTION,"unDismissIssue","numberOfIssues",b.length);for(var c=m(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.delete(d.value);a.appEvents.needsAttentionIssueCount.next(a.issues.length);a.cdr.detectChanges();a.snackbar.open({message:"Issue"+(1<b.length?"s":"")+' un-dismissed from "Needs attention" list'})},
function(c){return void a.errorHandler.errorHandler(null,c)})};g=N9.prototype;g.isLowPriority=function(a){return 2<=Number(a.priority)};g.isHighPriority=function(a){return 2>Number(a.priority)};g.isP0Priority=function(a){return 0===Number(a.priority)};g.isIssueRow=function(){return!0};g.selectAllSignals=function(){this.selectedSignals$.next([].concat(p(this.ALL_SIGNAL_TYPES)))};
g.fetchIssues=function(){var a=this,b;null==(b=this.snackBarRefForUndo)||b.dismiss();this.lastDismissedRowIssueIds.clear();this.isLoading=!0;b=sIc(this);b={page:1,resultsPerPage:this.needsAttentionApi.COUNT,sortColumns:b?[b]:[],returnUrl:"attention",trackerIds:G3b(this.currentTracker),fromNeedsAttention:!0,selectedSignals:this.areEarlyAccessSignalsEnabled()?this.selectedSignals$.value:[]};DS(this.issuePagination);CS(this.issuePagination,b).then(function(c){a.issues=c.issues;a.isLoading=!1;a.cdr.detectChanges()})};
var pyb=function(a){var b=a.selectedSignals$.value;return a.issues.filter(function(c){var d=c.signals.some(function(e){return b.includes(e.signalType)});return!a.lastDismissedRowIssueIds.has(c.issueId)&&d})};N9.prototype.toggleSignal=function(a){var b=this.selectedSignals$.value,c=b.indexOf(a);-1===c?b.push(a):b.splice(c,1);Cxb(this,[].concat(p(b)))};
var Fxb=function(a,b){return a.issues.filter(function(c){var d=c.signals.some(function(e){return e.signalType===b});return!a.lastDismissedRowIssueIds.has(c.issueId)&&d}).length},sIc=function(a){var b=lm(a.sortConfig.field);a="ASC"===a.sortConfig.direction?"ASCENDING":"DESCENDING";return b?new om(b,a):null};N9.prototype.onSortChange=function(a){this.sortConfig=a;this.fetchIssues()};
N9.\u0275fac=function(a){return new (a||N9)(A(oT),A(tR),A(cH),A(CI),A(hR),A(HH,2),A(LH),A(bH),A(JI),A(QH),A(qG),A(kG),A(qN),A(uG),A(BS),A(tu))};
N9.\u0275cmp=r({type:N9,selectors:[["ng-component"]],features:[Dg([HH]),$f],decls:9,vars:6,consts:[[1,"a11y-only"],[1,"border-bottom","padded-xs-y"],["class","applied-signals flex-kids-x",4,"ngIf"],[4,"ngIf"],[1,"needs-attention-table","overflow"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading layout-centered-column gap","tabindex","-1",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"applied-signals","flex-kids-x"],[1,"attention-actions","flex-kids-x","align-items-center"],
["mat-icon-button","","color","primary","matTooltip","Refresh","aria-label","Refresh",1,"gmat-button","large",3,"hotkey","click","onHotkey"],["svgIcon","refresh"],[1,"heading-s","margin-xs-y"],["href","http://go/b-needs-attention-guide","matTooltip","Needs attention signals guide","aria-label","Needs attention signals guide","mat-icon-button","","target","_blank",1,"small","margin-xs-x"],["svgIcon","help-outline",1,"icon-s"],[1,"padded-s-left","border-left","signal-chips","flex-kids-x","flex-wrap",
"align-items-center"],[1,"margin-s-right",3,"selectedSignals$","selected"],["class","chippy rounded",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"chippy","rounded"],[3,"removable","generalDescriptionOnly","iconOnly","isSelected","matTooltipShowDelay","signal","onRemove"],["role","button","tabindex","0",1,"chippy","rounded","margin-s-right","keep-focus-ring","select-all-signals",3,"click","keydown.enter","keyup.space"],[3,"removable","count","generalDescriptionOnly","iconOnly","isSelected","matTooltipShowDelay",
"signal","onRemove"],["mat-button","","color","primary",3,"disabled","click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap"],["draggable","false","aria-hidden","true","alt","",1,"empty-state-img","padded-y",3,"src"],[1,"type-l"],["class","muted",4,"ngIf","ngIfElse"],["noResults",""],[1,"muted"],[1,"bv2-grid-container"],["scrollContainer",".needs-attention-table",1,"keep-focus-ring",3,"list","columns","focusedRowIndex","enableDragDropHeader","rowLabelRenderer",
"sort","focusedRowIndexChange","rowClick","sortChange"],["class","focus-indicator",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","selected-box",4,"forViewCell"],["class","star-cell",4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable signal-cell",4,"forViewCell"],[4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],
["class","priority-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],[1,"focus-indicator"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state","click","keydown.enter","keydown.space"],[3,"column"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage",
"starClicked"],["data-template","issueId",1,"clickable"],["tabindex","-1",1,"row-issue-id",3,"href","click"],[1,"clickable","signal-cell"],[3,"signal","iconOnly","isSelected"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href","click"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],
[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",3,"svgIcon"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1,"Issues which need your attention"),E(),D(2,"div",1),O(3,Jxb,11,3,"div",2),O(4,Lxb,3,1,"div",3),E(),D(5,"div",4),O(6,Mxb,4,0,"div",5),O(7,Pxb,8,
6,"div",6),O(8,qyb,15,18,"div",7),E());a&2&&(z(3),C("ngIf",!b.someIssuesSelected()),z(1),C("ngIf",b.someIssuesSelected()),z(1),dg("aria-busy",b.isLoading),z(1),C("ngIf",b.isLoading),z(1),C("ngIf",!b.isLoading&&!b.hasResults()),z(1),C("ngIf",!b.isLoading&&b.hasResults()))},dependencies:[ax,bx,cx,dx,ex,rA,NA,OA,OB,OY,TY,PY,QY,RY,vN,TQ,VY,ML,$Y,GY,pL,qD,xO,M9,L9,hx,cK],styles:[".needs-attention-table[_ngcontent-%COMP%]{height:calc(100vh - 120px)}.applied-signals[_ngcontent-%COMP%]{padding-left:5px}.attention-actions[_ngcontent-%COMP%]{min-width:fit-content}.attention-actions[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:normal}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.select-all-signals[_ngcontent-%COMP%]{cursor:pointer;padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{font-weight:500;color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}\n/*# sourceMappingURL=needs_attention.css.map */"],
changeDetection:0});var syb=function(a){return{feature:a}},O9=function(a){this.beapService=a;this.beapFeaturesTF$=ozc(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=ozc(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,T.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(B(function(b){var c=m(b);b=c.next().value;c=c.next().value;return 0<b.length+c.length}));this.hasFeaturesTF$=this.beapFeaturesTF$.pipe(B(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(B(function(b){return 0<
b.length}));this.linkClicked={}},Cyb=function(a,b){return!!a.linkClicked[b]};O9.\u0275fac=function(a){return new (a||O9)(A(U2))};
O9.\u0275cmp=r({type:O9,selectors:[["b-beap-settings"]],decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["featureEmptyState",""],["featureStageContainer",""],["class","feature-stage-container",4,"ngIf"],[1,"feature-stage-container"],[1,"feature-stage-title"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"feature-empty-state-message"],[1,"feature-container"],[1,"feature-container-row"],[1,"feature-toggle-col"],[3,"checked","matTooltip","disabled"],[1,"feature-desc-col"],[1,
"feature-title"],[1,"feature-desc"],["mat-button","","color","primary","class","small no-visited-no-active","target","_blank",4,"ngIf"],[1,"feature-action-bar"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active",3,"click"],["svgIcon","pop-out",1,"icon-s"],["messageType","info",4,"ngIf"],[1,"feature-badge-col"],[3,"experimentId"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active"],["messageType","info"]],template:function(a,b){a&
1&&(O(0,yyb,5,6,"ng-container",0),R(1,"async"),O(2,zyb,2,0,"ng-template",null,1,$g),O(4,Dyb,20,16,"ng-template",null,2,$g));if(a&2){var c=N(3);C("ngIf",S(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[W2,sS,tS,ax,bx,gx,OA,OB,gV,qD,hx,P9]},styles:['.feature-stage-container[_ngcontent-%COMP%]{padding-bottom:28px}.feature-stage-container[_ngcontent-%COMP%]   .feature-stage-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-size:.6875rem;line-height:1.2307692308;margin-bottom:20px;margin-top:25px}.feature-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:21px}.feature-container[_ngcontent-%COMP%]   .feature-container-row[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-badge-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]{flex:0 0 500px;display:flex;flex-direction:column;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#5f6368;color:var(--text-muted)}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846}.feature-container[_ngcontent-%COMP%]   .feature-toggle-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-action-bar[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:10px}.feature-container[_ngcontent-%COMP%]   .feature-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:400;margin-bottom:9px}.feature-container[_ngcontent-%COMP%]   b-callout[_ngcontent-%COMP%]{margin-top:10px;width:100%}.feature-empty-state-message[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0em;font-weight:400;margin-top:45px}\n/*# sourceMappingURL=beap_settings.css.map */'],
changeDetection:0});var P9=function(){};P9.prototype.transform=function(a){return 2===a?!0:!1};P9.\u0275fac=function(a){return new (a||P9)};P9.\u0275pipe=hd({name:"featureState",type:P9,pure:!0});var Q9=function(a,b){this.name=a;this.resourceType=void 0===b?null:b;this.options=[]};Q9.prototype.shouldDisplay=function(){return!0};Q9.prototype.hasOptions=function(){return!1};Q9.prototype.getDefaultOptionId=function(){return null};var R9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};R9.prototype.shouldDisplay=function(){return 0<this.options.length};R9.prototype.hasOptions=function(){return 0<this.options.length};
R9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var tIc=function(a,b){this.id=a;this.name=b},vIc=function(a,b,c,d,e,f){var h=this;this.butterBar=a;this.sidebar=b;this.userPreferencesManager=c;this.cdr=d;this.appEvents=e;this.activeSession=f;this.selectedOptionId=null;this.subscriptions=new T.Subscription;this.hotlistMainOption=new R9("Hotlist","HOTLIST");this.savedSearchMainOption=new R9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new R9("Bookmark group","BOOKMARK_GROUP");a=Qp(f,"enableHomepageVariantA")?"Home":"Assigned issues";
this.needsAttentionMainOption=new Q9("Needs attention","NEEDS_ATTENTION");this.mainOptions=[new Q9(a),this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];Qp(this.activeSession,"showNeedsAttentionUI")&&Qp(this.activeSession,"enableEarlyAccessSignals")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.needsAttentionMainOption);a={};this.resourceMainOptions=(a.HOTLIST=this.hotlistMainOption,a.SAVED_SEARCH=this.savedSearchMainOption,a.BOOKMARK_GROUP=this.bookmarkGroupMainOption,
a.NEEDS_ATTENTION=this.needsAttentionMainOption,a);this.selectedMainOption=this.mainOptions[0];uIc(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){uIc(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(l){l.homepagePreferences&&(l=l.homepagePreferences,l.resourceType?(h.selectedMainOption=h.resourceMainOptions[l.resourceType]||h.mainOptions[0],h.selectedOptionId=l.resourceId||null,uIc(h)):(h.selectedMainOption=
h.mainOptions[0],h.selectedOptionId=null))}))};vIc.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var Hyb=function(a){nG(a.butterBar,"Saving preferences...",0);if(null===a.selectedMainOption.resourceType||a.selectedMainOption.hasOptions()&&null===a.selectedOptionId)var b=a.userPreferencesManager.clearHomepagePreferences();else b={resourceType:a.selectedMainOption.resourceType},a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId),b=FYb(a.userPreferencesManager,b);b.subscribe(function(){nG(a.butterBar,"Preferences saved.",4E3)})},uIc=function(a){function b(c){return new tIc(String(c.id),
c.name)}a.hotlistMainOption.options=a.sidebar.userHotlists.map(b);a.savedSearchMainOption.options=a.sidebar.userSavedSearches.map(b);a.bookmarkGroupMainOption.options=a.sidebar.sidebarData.bookmarkGroups.map(b);a.selectedOptionId&&(a.selectedMainOption.options.find(function(c){return c.id===a.selectedOptionId})||a.selectedMainOption.options.push(new tIc(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};var wIc=im[3],S9=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=f;this.sidebar=l;this.appEvents=q;this.dateFormats=[{value:"MMM d, yyyy",label:"Dec 31, 2015"},{value:"EE MMM dd, yyyy",label:"Thu Dec 31, 2015"},{value:"yyyy-MM-dd",label:"2015-12-31"},{value:"MM/dd/yyyy",label:"12/31/2015"},{value:"dd-MM-yyyy",label:"31-12-2015"},{value:"dd.MM.yyyy",label:"31.12.2015"}];this.timeFormats=
[{value:"hh:mma",label:"01:00PM"},{value:"h:mma",label:"1:00PM"},{value:"HH:mm",label:"13:00"},{value:"HH:mm:ss",label:"13:00:01"}];this.timeZones=[];this.appName=d.getAppName();this.timeZones.push.apply(this.timeZones,p(h.supportedTimeZones.map(function(u){return{value:u.id,label:u.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&Qp(this.activeSession,"enableImageSummary")};X(S9,Z);
S9.\u0275dir=Z.\u0275dir;S9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new vIc(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(Rf(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
S9.prototype.save=function(a,b,c){var d=this;nG(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){nG(d.butterBar,"Preferences saved.",4E3)});Lp(this.analytics,"preferences",a,b,c)};var xIc=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===wIc};S9.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
S9.\u0275fac=function(a){return new (a||S9)(A(HH,2),A(CI),A(mG),A(tu),A(hJ),A(LH),A(sJ),A(US),A(uG))};
S9.\u0275cmp=r({type:S9,selectors:[["b-general-settings"]],features:[Dg([HH]),$f],decls:68,vars:15,consts:[[1,"bv2-settings-container"],[1,"bv2-settings-group"],[1,"bv2-settings-group-title"],[1,"muted","type-xs"],["target","_blank",3,"href"],[1,"bv2-settings-group-content"],[1,"bv2-settings-item"],["for","bv2-homepage-pref-selection","matTooltip","Current selection for preferred homepage"],["appearance","standard",1,"bv2-settings-item-setter","bv2-settings-item-select"],["id","bv2-homepage-pref-selection",
3,"ngModel","ngModelChange","selectionChange"],[4,"ngFor","ngForOf"],["appearance","standard","class","bv2-settings-item-setter bv2-settings-item-select",4,"ngIf"],["for","bv2-datetime-pref-date-formatting","matTooltip","Date/time formatting - Use this format for calendar dates."],["id","bv2-datetime-pref-date-formatting","appearance","standard",1,"bv2-settings-item-setter","bv2-settings-item-select"],[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["for","bv2-datetime-pref-time-formatting",
"matTooltip","Date/time formatting - Use this format for times."],["id","bv2-datetime-pref-time-formatting","appearance","standard",1,"bv2-settings-item-setter","bv2-settings-item-select"],["for","bv2-datetime-pref-timezone","matTooltip","Date/time formatting - Format dates and times with respect to this time zone."],["id","bv2-datetime-pref-timezone","appearance","standard",1,"bv2-settings-item-setter","bv2-settings-item-select"],["for","bv2-enable-all-hotkeys","matTooltip","Enable all hotkeys?"],
["aria-label","Enable all hotkeys","id","bv2-enable-all-hotkeys",1,"bv2-settings-item-setter",3,"model","modelChange"],["for","bv2-force-plain-text","matTooltip","Force all comments to display in plain text mode."],["id","bv2-force-plain-text","aria-label","Force comments to display as plain text",3,"model","modelChange"],["for","bv2-force-code-font"],["id","bv2-force-code-font"],["class","bv2-settings-item",4,"ngIf"],[4,"ngIf"],["class","bv2-settings-preferred-homepage-main-option-select-item",3,
"value",4,"ngIf"],[1,"bv2-settings-preferred-homepage-main-option-select-item",3,"value"],["id","bv2-homepage-pref-suboption-selection",1,"homepage-option-select",3,"ngModel","ngModelChange","selectionChange"],["class","bv2-settings-preferred-homepage-option-select-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],[3,"value"],["for","bv2-show-inline-images"],["id","bv2-show-inline-images","aria-label","Show snip it images inline in comments",3,
"model","modelChange"],["for","bv2-bug-screensaver","matTooltip","Bugs animate after 3 minutes of inactivity."],["id","bv2-bug-screensaver","aria-label","enable bug screensaver",3,"model","modelChange"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2),P(3," Preferred homepage "),D(4,"p",3),P(5," See your preferred homepage selection. "),D(6,"a",4),P(7," Learn more "),E()()(),D(8,"div",5)(9,"div",6)(10,"label",7),P(11," Current selection "),E(),D(12,"mat-form-field",8)(13,"mat-select",
9),K("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();Hyb(c);c.cdr.detectChanges()}),O(14,Fyb,2,1,"ng-container",10),E()(),O(15,Iyb,3,2,"mat-form-field",11),E()()(),F(16,"hr"),D(17,"div",1)(18,"div",2),P(19," Date/time formatting settings "),D(20,"p",3),P(21," Select how you want dates and times to be formatted. "),D(22,"a",4),P(23," Learn more "),E()()(),
D(24,"div",5)(25,"div",6)(26,"label",12),P(27," Dates "),E(),D(28,"mat-form-field",13)(29,"mat-select",14),K("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),O(30,Jyb,2,2,"mat-option",15),E()()(),D(31,"div",6)(32,"label",16),P(33," Times "),E(),D(34,"mat-form-field",17)(35,"mat-select",14),K("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=c})("selectionChange",
function(){return b.save("saveDateTimePreferences")}),O(36,Kyb,2,2,"mat-option",15),E()()(),D(37,"div",6)(38,"label",18),P(39," Time Zones "),E(),D(40,"mat-form-field",19)(41,"mat-select",14),K("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),O(42,Lyb,2,2,"mat-option",15),E()()()(),F(43,"hr"),D(44,"div",1)(45,"div",2),P(46," Keyboard settings "),E(),D(47,"div",5)(48,"div",6)(49,"label",20),
P(50," Enable all hotkeys? "),E(),D(51,"b-slide-toggle",21),K("modelChange",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c;return b.save("saveKeyboardPreferences")}),E()()()(),D(52,"div"),F(53,"hr"),D(54,"div",1)(55,"div",2),P(56," Display settings "),E(),D(57,"div",5)(58,"div",6)(59,"label",22),P(60," Force comments to display as plain text? "),E(),D(61,"b-slide-toggle",23),K("modelChange",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=
c?wIc:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),E()(),D(62,"div",6)(63,"label",24),P(64," Force comments to display with code font? "),E(),F(65,"b-toggle-code-font",25),E(),O(66,Myb,4,1,"div",26),E()()(),O(67,Nyb,10,1,"div",27),E()());a&2&&(z(6),C("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",ue),z(7),C("ngModel",b.preferredHomepage.selectedMainOption),z(1),C("ngForOf",b.preferredHomepage.mainOptions),z(1),C("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),
z(7),C("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",ue),z(7),C("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),z(1),C("ngForOf",b.dateFormats),z(5),C("ngModel",b.userPreferences.dateTimePreferences.timeFormat),z(1),C("ngForOf",b.timeFormats),z(5),C("ngModel",b.userPreferences.dateTimePreferences.timeZone),z(1),C("ngForOf",b.timeZones),z(9),C("model",b.userPreferences.keyboardPreferences.enableAllHotkeys),z(10),C("model",xIc(b)),z(5),C("ngIf",
b.showShowInlineImagesSetting),z(1),C("ngIf",b.showBugScreensaverSetting))},dependencies:[ax,bx,Ex,Lx,qB,EM,PA,qD,iV,H8],styles:["hr[_ngcontent-%COMP%]{border-bottom-width:0px;border-left-width:0px;border-right-width:0px;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);clear:both}.bv2-settings-group[_ngcontent-%COMP%]{clear:both;padding-top:10px}.bv2-settings-group-title[_ngcontent-%COMP%]{float:left;font-weight:bold;width:150px;padding-bottom:4px}.bv2-settings-group-content[_ngcontent-%COMP%]{margin-left:200px}.bv2-settings-item[_ngcontent-%COMP%]{margin-bottom:18px}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-setter[_ngcontent-%COMP%]{float:right}.bv2-settings-item[_ngcontent-%COMP%]   b-slide-toggle[_ngcontent-%COMP%], .bv2-settings-item[_ngcontent-%COMP%]   b-toggle-code-font[_ngcontent-%COMP%]{float:right;margin-top:-3px}.bv2-settings-item[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-right:20px}.bv2-settings-item[_ngcontent-%COMP%]   .homepage-option-select[_ngcontent-%COMP%]{margin-top:12px}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]{display:block;float:right;width:60%}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]    {line-height:1.125rem}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-wrapper{padding-bottom:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-flex{padding-top:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-infix{border-top:none;padding-top:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-underline{position:relative;bottom:0}\n/*# sourceMappingURL=settings_groups.css.map */"]});var T9=function(a,b,c,d,e){Z.call(this);var f=this;this.userPreferencesManager=a;this.butterBar=b;this.documentationLinks=c;this.activeSession=d;this.analytics=e;this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.enableCollaborators=Qp(this.activeSession,"enableCollaborators");this.userPreferencesManager.preferences$.pipe(Rf(this.destroyed$)).subscribe(function(h){f.userPreferences=h})};X(T9,Z);T9.\u0275dir=Z.\u0275dir;
T9.prototype.save=function(a,b,c){var d=this;nG(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){nG(d.butterBar,"Preferences saved.",4E3)});Lp(this.analytics,"preferences",a,b,c)};T9.\u0275fac=function(a){return new (a||T9)(A(CI),A(mG),A(hJ),A(tu),A(LH))};
T9.\u0275cmp=r({type:T9,selectors:[["b-notification-settings"]],features:[$f],decls:43,vars:13,consts:[[1,"bv2-settings-group"],[1,"bv2-settings-group-title"],[1,"muted","type-xs"],["target","_blank",3,"href"],[1,"bv2-settings-group-content"],[1,"bv2-settings-item"],["for","bv2-notification-pref-assigned","matTooltip","Notification level - issues for which you are the assignee"],["appearance","standard","id","bv2-notification-pref-assigned",1,"bv2-settings-item-setter","bv2-settings-item-select"],
[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["for","bv2-notification-pref-reported","matTooltip","Notification level - issues for which you are the reporter"],["appearance","standard","id","bv2-notification-pref-reported",1,"bv2-settings-item-setter","bv2-settings-item-select"],["for","bv2-notification-pref-verified","matTooltip","Notification level - issues for which you are the verifier"],["appearance","standard","id","bv2-notification-pref-verified",1,"bv2-settings-item-setter",
"bv2-settings-item-select"],["class","bv2-settings-item",4,"ngIf"],["for","bv2-notification-pref-ccd","matTooltip","Notification level - issues on which you are CC'd"],["appearance","standard","id","bv2-notification-pref-ccd",1,"bv2-settings-item-setter","bv2-settings-item-select"],["for","bv2-notification-pref-starred","matTooltip","Notification level - issues that you have starred"],["appearance","standard","id","bv2-notification-pref-starred",1,"bv2-settings-item-setter","bv2-settings-item-select"],
["for","bv2-exclude-changes-by-me","matTooltip","Do not send me notifications of my own edits."],["aria-label","Exclude edits made by you","id","bv2-exclude-changes-by-me",1,"bv2-settings-item-setter",3,"model","modelChange"],[3,"value"],["for","bv2-notification-pref-collaborator","matTooltip","Notification level - issues for which you are the collaborator"],["appearance","standard","id","bv2-notification-pref-collaborator",1,"bv2-settings-item-setter","bv2-settings-item-select"]],template:function(a,
b){a&1&&(D(0,"div",0)(1,"div",1),P(2," Notification settings "),D(3,"p",2),P(4," Select the level of email you want to receive for each issue role. "),D(5,"a",3),P(6," Learn more "),E()()(),D(7,"div",4)(8,"div",5)(9,"label",6),P(10," Assignee "),E(),D(11,"mat-form-field",7)(12,"mat-select",8),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(13,Oyb,3,4,"mat-option",9),E()()(),
D(14,"div",5)(15,"label",10),P(16," Reporter "),E(),D(17,"mat-form-field",11)(18,"mat-select",8),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(19,Pyb,3,4,"mat-option",9),E()()(),D(20,"div",5)(21,"label",12),P(22," Verifier "),E(),D(23,"mat-form-field",13)(24,"mat-select",8),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(25,Qyb,3,4,"mat-option",9),E()()(),O(26,Syb,6,2,"div",14),D(27,"div",5)(28,"label",15),P(29," CC'd "),E(),D(30,"mat-form-field",16)(31,"mat-select",8),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(32,Tyb,3,4,"mat-option",9),E()()(),D(33,"div",5)(34,"label",17),P(35," Starred "),E(),D(36,"mat-form-field",
18)(37,"mat-select",8),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(38,Uyb,3,4,"mat-option",9),E()()(),D(39,"div",5)(40,"label",19),P(41," Exclude edits made by you? "),E(),D(42,"b-slide-toggle",20),K("modelChange",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c;return b.save("saveNotificationPreferences")}),E()()()());a&2&&(z(5),C("href",b.documentationLinks.baseDocumentationUrl+
"/concepts/settings#email",ue),z(7),C("ngModel",b.userPreferences.notificationPreferences.assignedPriority),z(1),C("ngForOf",b.priorities),z(5),C("ngModel",b.userPreferences.notificationPreferences.reportedPriority),z(1),C("ngForOf",b.priorities),z(5),C("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),z(1),C("ngForOf",b.priorities),z(1),C("ngIf",b.enableCollaborators),z(5),C("ngModel",b.userPreferences.notificationPreferences.ccdPriority),z(1),C("ngForOf",b.priorities),z(5),C("ngModel",
b.userPreferences.notificationPreferences.starredPriority),z(1),C("ngForOf",b.priorities),z(4),C("model",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[ax,bx,Ex,Lx,qB,EM,PA,qD,iV,VJ],styles:["hr[_ngcontent-%COMP%]{border-bottom-width:0px;border-left-width:0px;border-right-width:0px;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);clear:both}.bv2-settings-group[_ngcontent-%COMP%]{clear:both;padding-top:10px}.bv2-settings-group-title[_ngcontent-%COMP%]{float:left;font-weight:bold;width:150px;padding-bottom:4px}.bv2-settings-group-content[_ngcontent-%COMP%]{margin-left:200px}.bv2-settings-item[_ngcontent-%COMP%]{margin-bottom:18px}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-setter[_ngcontent-%COMP%]{float:right}.bv2-settings-item[_ngcontent-%COMP%]   b-slide-toggle[_ngcontent-%COMP%], .bv2-settings-item[_ngcontent-%COMP%]   b-toggle-code-font[_ngcontent-%COMP%]{float:right;margin-top:-3px}.bv2-settings-item[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-right:20px}.bv2-settings-item[_ngcontent-%COMP%]   .homepage-option-select[_ngcontent-%COMP%]{margin-top:12px}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]{display:block;float:right;width:60%}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]    {line-height:1.125rem}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-wrapper{padding-bottom:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-flex{padding-top:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-infix{border-top:none;padding-top:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-underline{position:relative;bottom:0}\n/*# sourceMappingURL=settings_groups.css.map */"]});var zIc=function(a){Y.call(this,a,-1,yIc)};X(zIc,Y);var yIc=[1];zIc.messageId="b.ListSloReportSubscriptionsResponse";var U9=function(a){Y.call(this,a)};X(U9,Y);U9.prototype.getSubscription=function(){return wk(this,Nk,1)};U9.prototype.setSubscription=function(a){return Ok(this,Nk,1,a)};U9.messageId="b.SloReportSubscriptionRequest";var V9=function(a){Y.call(this,a)};X(V9,Y);V9.prototype.getSubscription=function(){return wk(this,Nk,1)};V9.prototype.setSubscription=function(a){return Ok(this,Nk,1,a)};V9.messageId="b.SloReportSubscriptionResponse";var W9=function(a){this.executor=a};g=W9.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:V9}).pipe(B(function(b){if(b=b.getSubscription())return Mk(b);throw Error("jf");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:zIc}).pipe(B(function(a){return fj(a,Nk,1).map(Mk)}))};
g.create=function(a){if(0!==a.id)throw Error("kf");return this.executor.post({url:"action/slo_report_subscriptions",body:(new U9).setSubscription(Hoa(a)),responseConstructor:V9}).pipe(B(function(b){if(b=b.getSubscription())return Mk(b);throw Error("lf");}))};
g.update=function(a){if(0===a.id)throw Error("mf");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new U9).setSubscription(Hoa(a)),responseConstructor:V9}).pipe(B(function(b){if(b=b.getSubscription())return Mk(b);throw Error("lf");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:UE}).pipe(B(function(){}))};W9.\u0275fac=function(a){return new (a||W9)(n(nE))};
W9.\u0275prov=Pc({token:W9,factory:W9.\u0275fac,providedIn:"root"});var X9=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.disabled=!1;this.timezoneIdChange=new vw;this.timeZoneOptions$=DZb(this.timeZones)};X9.\u0275fac=function(a){return new (a||X9)(A(mJ))};
X9.\u0275cmp=r({type:X9,selectors:[["b-timezone-picker"]],inputs:{label:"label",timezoneId:"timezoneId",disabled:"disabled"},outputs:{timezoneIdChange:"timezoneIdChange"},decls:6,vars:6,consts:[[1,"form-field-wide-select"],[3,"disabled","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(D(0,"mat-form-field",0)(1,"mat-label"),P(2),E(),D(3,"mat-select",1),K("ngModelChange",function(c){b.timezoneId!==c&&(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),
O(4,Vyb,2,2,"mat-option",2),R(5,"async"),E()());a&2&&(z(2),Q(" ",b.label," "),z(1),C("disabled",b.disabled)("ngModel",b.timezoneId),z(1),C("ngForOf",S(5,4,b.timeZoneOptions$)))},dependencies:[qB,oB,EM,PA,ax,Ex,Lx,hx],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }"]});var Y9=function(a,b,c,d){Z.call(this);var e=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.cdr=d;this.isInitialLoading$=new T.BehaviorSubject(!0);this.reportSubscription$=new T.BehaviorSubject({id:0,lead:this.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:AIc[2].timeOfDay});this.reportSubscription$.pipe(B(function(f){return 0!==f.id}));this.frequencyOptions=BIc;this.repeatOnOptions$=this.reportSubscription$.pipe(B(function(f){switch(f.frequency){case "daily":return[];
case "weekly":return CIc;case "monthly":return DIc;default:return Qi(f.frequency)}}));this.DAILY="daily";this.repeatAtOptions$=(0,T.combineLatest)(AIc.map(function(f){return e.dateFormatter.formatUserTime(f.date).pipe(B(function(h){return{timeOfDay:f.timeOfDay,display:h}}))}));this.compareTimeOfDay=function(f,h){return f.hours===h.hours&&f.minutes===h.minutes&&f.seconds===h.seconds&&f.nanos===h.nanos}};X(Y9,Z);Y9.\u0275dir=Z.\u0275dir;
Y9.prototype.ngOnInit=function(){var a=this;this.api.list().pipe(Rf(this.destroyed$)).subscribe(function(b){for(var c=m(b),d=c.next();!d.done;d=c.next())if(d.value.lead.emailAddress===a.currentUser.email){a.reportSubscription$.next(b[0]);break}a.isInitialLoading$.next(!1);a.cdr.detectChanges()})};
var $yb=function(a,b){b?a.api.create(a.reportSubscription$.value).pipe(Rf(a.destroyed$)).subscribe(function(c){a.reportSubscription$.next(c)}):(b=a.reportSubscription$.value,0!==b.id&&a.api.delete(b.id).pipe(Rf(a.destroyed$)).subscribe(function(){a.reportSubscription$.next(Object.assign({},a.reportSubscription$.value,{id:0}))}))};Y9.prototype.setFrequency=function(a){this.reportSubscription$.next(Object.assign({},this.reportSubscription$.value,{frequency:a,ordinal:1}));this.save()};
Y9.prototype.setTimeZone=function(a){var b=this.reportSubscription$.value;this.reportSubscription$.next(Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}));this.save()};Y9.prototype.save=function(){var a=this;this.api.update(this.reportSubscription$.value).pipe(Rf(this.destroyed$)).subscribe(function(b){a.reportSubscription$.next(b)})};Y9.\u0275fac=function(a){return new (a||Y9)(A(TL),A(W9),A(kI),A(Vw))};
Y9.\u0275cmp=r({type:Y9,selectors:[["b-slo-reports-settings"]],features:[$f],decls:7,vars:3,consts:[[1,"bv2-settings-group"],[1,"bv2-settings-group-title"],[1,"muted","type-xs"],[4,"ngIf"],["class","bv2-settings-group-content",4,"ngIf"],[1,"bv2-settings-group-content"],[1,"bv2-settings-item"],["for","isSubscribedCheckbox"],["id","isSubscribedCheckbox",3,"checked","change"],["appearance","fill"],[3,"disabled","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"disabled","timezoneId","timezoneIdChange"],
[3,"value"],[3,"disabled","ngModel","compareWith","ngModelChange"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"div",1),P(2," Frequency Settings "),D(3,"p",2),P(4," Choose when to receive notifications "),E()(),O(5,bzb,3,3,"ng-container",3),R(6,"async"),E());a&2&&(z(5),C("ngIf",S(6,1,b.reportSubscription$)))},dependencies:[ax,bx,Ex,Lx,QI,qB,oB,EM,PA,X9,hx],styles:["hr[_ngcontent-%COMP%]{border-bottom-width:0px;border-left-width:0px;border-right-width:0px;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);clear:both}.bv2-settings-group[_ngcontent-%COMP%]{clear:both;padding-top:10px}.bv2-settings-group-title[_ngcontent-%COMP%]{float:left;font-weight:bold;width:150px;padding-bottom:4px}.bv2-settings-group-content[_ngcontent-%COMP%]{margin-left:200px}.bv2-settings-item[_ngcontent-%COMP%]{margin-bottom:18px}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-setter[_ngcontent-%COMP%]{float:right}.bv2-settings-item[_ngcontent-%COMP%]   b-slide-toggle[_ngcontent-%COMP%], .bv2-settings-item[_ngcontent-%COMP%]   b-toggle-code-font[_ngcontent-%COMP%]{float:right;margin-top:-3px}.bv2-settings-item[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-right:20px}.bv2-settings-item[_ngcontent-%COMP%]   .homepage-option-select[_ngcontent-%COMP%]{margin-top:12px}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]{display:block;float:right;width:60%}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]    {line-height:1.125rem}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-wrapper{padding-bottom:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-flex{padding-top:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-infix{border-top:none;padding-top:0}.bv2-settings-item[_ngcontent-%COMP%]   .bv2-settings-item-select[_ngcontent-%COMP%]     .mat-form-field-underline{position:relative;bottom:0}\n/*# sourceMappingURL=settings_groups.css.map */"]});
var BIc=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],CIc=[{ordinal:1,display:"Mondays"},{ordinal:2,display:"Tuesdays"},{ordinal:3,display:"Wednesdays"},{ordinal:4,display:"Thursdays"},{ordinal:5,display:"Fridays"},{ordinal:6,display:"Saturdays"},{ordinal:7,display:"Sundays"}],DIc=[].concat(p(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:String(a+1)}}),AIc=[].concat(p(Array.from({length:24}).fill(0).keys())).map(function(a){var b=
new Date;b.setHours((a+7)%24);b.setMinutes(0);return{date:b,timeOfDay:{hours:b.getHours(),minutes:0,seconds:0,nanos:0}}});var EIc=[[["","page-bar-left",""]],[["","page-bar-right",""]]],Z9=function(){this.showRefresh=this.showBack=!0;this.backLabel="Go back";this.refreshLabel="Refresh";this.onBack=new vw;this.onRefresh=new vw};Z9.\u0275fac=function(a){return new (a||Z9)};
Z9.\u0275cmp=r({type:Z9,selectors:[["b-page-bar"]],inputs:{showBack:"showBack",showRefresh:"showRefresh",title:"title",backLabel:"backLabel",refreshLabel:"refreshLabel"},outputs:{onBack:"onBack",onRefresh:"onRefresh"},ngContentSelectors:["[page-bar-left]","[page-bar-right]"],decls:6,vars:3,consts:[["mat-icon-button","","color","primary",3,"matTooltip","click",4,"ngIf"],[4,"ngIf"],[1,"right"],["mat-icon-button","","color","primary",3,"matTooltip","click"],["svgIcon","arrow-backward"],["svgIcon","refresh"]],
template:function(a,b){a&1&&(wg(EIc),O(0,czb,2,1,"button",0),O(1,dzb,2,1,"button",0),O(2,ezb,2,1,"h2",1),xg(3),D(4,"div",2),xg(5,1),E());a&2&&(C("ngIf",b.showBack),z(1),C("ngIf",b.showRefresh),z(1),C("ngIf",b.title))},dependencies:[bx,NA,qD,OB],styles:["[_nghost-%COMP%]{display:flex;align-items:center}.right[_ngcontent-%COMP%]{margin-left:auto}[mat-icon-button][_ngcontent-%COMP%]{line-height:1rem}h2[_ngcontent-%COMP%]:first-child{margin-left:16px}\n/*# sourceMappingURL=page_bar.css.map */"]});var $9=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=Qp(this.activeSession,"enableBeap");this.sloReportsUiEnabled=Qp(this.activeSession,"enableSloReportsUi");this.selectedTabIndex=0;d.setTitle("Settings")};$9.prototype.ngAfterViewInit=function(){this.selectedTabIndex=FIc(this,this.routeParams.settingsTab)};$9.prototype.tabChange=function(a){var b,c,d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id;this.location.url(msa(d))};
var FIc=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};$9.\u0275fac=function(a){return new (a||$9)(A(tu),A(bH),A(JJ),A(tR))};
$9.\u0275cmp=r({type:$9,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&Sg(WM,5,Yd);if(a&2){var c;Rg(c=Ug())&&(b.tabs=c)}},decls:10,vars:5,consts:[["title","Settings",3,"showRefresh","showBack"],["gmat-tabs","",3,"selectedIndex","selectedIndexChange"],["label","General"],[1,"padded"],["label","Notifications","id","notifications"],["label","SLO Reports","id","slo-reports",4,"ngIf"],["label","Early Access","id","early-access",4,"ngIf"],["label","SLO Reports","id","slo-reports"],["label","Early Access",
"id","early-access"]],template:function(a,b){a&1&&(F(0,"b-page-bar",0),D(1,"mat-tab-group",1),K("selectedIndexChange",function(c){return b.tabChange(c)}),D(2,"mat-tab",2)(3,"div",3),F(4,"b-general-settings"),E()(),D(5,"mat-tab",4)(6,"div",3),F(7,"b-notification-settings"),E()(),O(8,fzb,3,0,"mat-tab",5),O(9,gzb,3,0,"mat-tab",6),E());a&2&&(C("showRefresh",!1)("showBack",!1),z(1),C("selectedIndex",b.selectedTabIndex),z(7),C("ngIf",b.sloReportsUiEnabled),z(1),C("ngIf",b.beapEnabled))},dependencies:[bx,
IN,XM,WM,Z9,O9,S9,T9,Y9],styles:["mat-tab-group[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%]{position:absolute;bottom:0;left:0;right:0;top:0}[_nghost-%COMP%]     b-general-settings .bv2-settings-container{display:inline-block;width:731px}[_nghost-%COMP%]     b-notification-settings .bv2-settings-group{width:fit-content}[_nghost-%COMP%]     b-notification-settings .bv2-settings-group-content, [_nghost-%COMP%]     b-general-settings .bv2-settings-group-content{margin-left:250px}\n/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var a$=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=f;this.paths=h;this.appEvents=q;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=l.getUserEmail()};X(a$,Z);a$.\u0275dir=Z.\u0275dir;g=a$.prototype;
g.ngOnInit=function(){var a=this,b=function(c){a.bookmarkGroup=c;a.userIsAdmin=c.adminUsers.some(function(d){return d.emailAddress===a.userEmail});a.pageTitle.setTitle(c.name);a.cdr.detectChanges()};this.bookmarkGroupsApi.get(this.routeParams.groupId).then(b);this.userApi.getFavorite("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(c){c&&a.bookmarkGroup&&
c.bookmarkGroupId==a.bookmarkGroup.bookmarkGroupId&&a.bookmarkGroupsApi.get(a.routeParams.groupId).then(b)}))};g.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId,userLogin:this.userEmail}).then(b):this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b)};
g.openEditBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};g.getUserEmail=function(){return this.userEmail};g.isEditable=function(){return!!this.bookmarkGroup&&!!this.userIsAdmin};g.getUrl=function(a){switch(a.resourceType){case "SAVED_SEARCH":return this.paths.viewSavedSearch(a.savedSearchId);case "HOTLIST":return this.paths.viewHotlist(a.hotlistId);default:throw Error("nf`"+a.resourceType);}};
g.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";default:throw Error("nf`"+a.resourceType);}};a$.\u0275fac=function(a){return new (a||a$)(A(HH,2),A(JJ),A(bH),A(tR),A(tH),A(SS),A(cH),A(tu),A(uG))};
a$.\u0275cmp=r({type:a$,selectors:[["view-bookmark-group-page"]],features:[Dg([HH]),$f],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[4,"ngIf"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-bookmark-group-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",
1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[1,"bv2-view-bookmark-group-description"],[1,"bv2-view-bookmark-group-hotlists"],[4,"ngFor","ngForOf"],[3,"starMessage","unStarMessage","starred","starClicked"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"href","title"]],template:function(a,b){a&1&&(D(0,"h2",0),P(1),E(),F(2,"div",1),D(3,"div",2),O(4,kzb,12,5,"div",3),E());a&2&&(z(1),Q("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),z(2),dg("aria-busy",
!b.bookmarkGroup),z(1),C("ngIf",b.bookmarkGroup))},dependencies:[ax,bx,TQ,qD],encapsulation:2});var b$=function(){};b$.\u0275fac=function(a){return new (a||b$)};b$.\u0275mod=fd({type:b$});b$.\u0275inj=Qc({imports:[px,uT,lE]});var c$=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya,qa,Ba,Ea,Oa){m9.call(this,b,c,d,e,h,l,q,u,f,x,y,G,M,V,U,W,ba,pa,Bb,na,xa,qa,Ba,Ea,Oa);this.ngZone=a;this.hotlists=J;this.hotkeys=Fa;this.pageTitle=Ha;this.userAccess=Ya;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=lb.hotlistId};X(c$,m9);c$.\u0275dir=m9.\u0275dir;
c$.prototype.ngOnInit=function(){var a=this;m9.prototype.ngOnInit.call(this);this.subscriptions.add(wO(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(p(this.BASE_HOTKEYS),[{keys:[Xp("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){GIc(a,1)}},{keys:[Xp("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){GIc(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&HIc(a)}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}));this.userApi.getFavorite("HOTLIST",this.hotlistId).then(function(){a.isStarred=!0}).catch(function(){});this.loadUserAccess(this.hotlistId)};
c$.prototype.ngDoCheck=function(){var a;if(this.hotlistName!==(null==(a=this.hotlist)?void 0:a.name)){var b;this.hotlistName=null==(b=this.hotlist)?void 0:b.name;this.pageTitle.setTitle(this.hotlistName)}};
c$.prototype.loadUserAccess=function(a){var b=this;aG(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});aG(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
c$.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;pT(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):HIc(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var HIc=function(a){a.hotlistLoading=!0;a.isInitializing=!1;a.hotlist=null;var b=a.hotlistApi.get(a.hotlistId);b.then(function(c){a.hotlist=c}).catch(function(c){a.errorHandler.errorHandler(null,c);a.hotlist=null}).finally(function(){a.hotlistLoading=!1;a.ngZone.run(function(){a.cdr.detectChanges()})});return b};
c$.prototype.doSearch=function(a){var b=this,c="priority type title assignee status issueId modifiedTime".split(" ").map(lm),d="hotlistid:"+this.hotlistId,e=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,sortColumns:[],displayColumns:c,query:d},a.then(function(f){return{query:null,displayColumn:f.displayColumn,sortOrder:f.sortOrder}}));a=e.searchPreferences.then(function(f){f=nj(f);f.query=d;f.returnUrl=b.bLocation.url();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;
return CS(b.issuePagination,f)});a.then(function(f){gHc(b,f)}).catch(function(f){"number"===typeof f?CZ(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return Tp({searchResultsPage:a,displayColumns:e.displayColumns}).then(function(f){f=f.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.sortPreferences=f.params.sortColumns||[];b.initColumns(e.displayColumns,IIc(b)?JIc:KIc);b.loadHotlists()}).catch(function(){})};
var IIc=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};c$.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
c$.prototype.repositionIssue=function(a,b,c){var d=this;c=void 0===c?!1:c;!this.repositioning&&this.searchResults&&(this.repositioning=!0,this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"view-hotlist",function(){d.searchResults&&(d.searchResults=d.searchResults.clone())}).then(function(e){d.hotlist=e;Lp(d.analytics,d.ANALYTICS_CATEGORY,c?"reorderByKeyboard":"issueDragDrop")}).finally(function(){d.repositioning=!1}))};
var GIc=function(a,b){if(a.searchResults&&!a.repositioning&&IIc(a)){var c,d,e=null!=(d=null==(c=a.resultsGrid)?void 0:c.focusedRowIndex)?d:void 0;if(null!=e&&(c=e+b,d=a.searchResults.issues.length,0<=c&&c<d)){if(1===b){var f;null==(f=a.resultsGrid)||Slc(f)}else if(-1===b){var h;null==(h=a.resultsGrid)||Tlc(h)}a.repositionIssue(e,c,!0)}}};g=c$.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=Pua(b.displayColumn?b.displayColumn.map(function(e){return e.type.toLowerCase()}):[],c.map(function(e){return e.toString()}));b.displayColumn=c}if(c=this.urlPreferences.getSortColumns())b.sortOrder=c.map(function(e){return{direction:e.direction,field:e.fieldId}});nG(this.butterBar,"Saving changes to hotlist...");LIc(this,b).then(function(e){nG(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');CZ(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});Lp(a.analytics,a.ANALYTICS_CATEGORY,"savedParams",d)})}};g.discardChanges=function(){Lp(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");CZ(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};g.hasParamChanges=function(){return this.hotlist&&this.isEditable()?!(!this.urlPreferences.getSortColumns()&&!this.urlPreferences.getDisplayColumns()):!1};
g.isEditable=function(){return null!=this.hotlist&&this.isAdmin};g.isDirectAdmin=function(){return this.hotlist?Hj(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?m9.prototype.setSort.call(this,a,b,!1):m9.prototype.setSort.call(this,a,b)};
var LIc=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;MIc(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},MIc=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
c$.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=zj(this.hotlistId),c=function(){MIc(a,b)};this.isStarred?this.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:b,userLogin:this.currentUserEmail}).then(c):this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:b}).then(c)};c$.prototype.openEditHotlist=function(){this.bLocation.url(this.paths.editHotlist(this.hotlistId))};var KIc=[dZ,eZ,fZ,Ylc],JIc=[dZ,Xlc,eZ,fZ,Ylc];
c$.\u0275fac=function(a){return new (a||c$)(A(Yf),A(HH),A(KH),A(SE),A(bH),A(tu),A(pG),A(dF),A(tH),A(oH),A(mG),A(LH),A(oT),A(QZ),A(BS),A(CI),A(BZ),A(GZ),A(cH),A(XF),A(vJ),A(JI),A(vO),A(tR),A(qG),A(JJ),A($F),A(uG),A(xH),A(QH),A(F_))};
c$.\u0275cmp=r({type:c$,selectors:[["view-hotlist-page"]],features:[Dg([HH]),$f],decls:9,vars:11,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-hotlist-grid"],["class","bv2-view-hotlist-title",4,"ngIf"],["class","bv2-view-loading",
4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-hotlist-title"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space","keydown.enter",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus",4,"ngIf"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space",
"keydown.enter"],[3,"starMessage","unStarMessage","starred","disabled"],["tabindex","-1",3,"bFocus"],["role","heading","aria-level","3"],[3,"matTooltip"],["class","hotlist-archived",4,"ngIf"],[1,"button-container"],["aria-label","Hotlist settings","matTooltip","Hotlist settings",1,"bv2-edit-button","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed",4,"ngIf"],[1,"hotlist-archived"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],
["type","button","mat-flat-button","","matTooltip","Save changes to display preferences",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onRowDragDrop",
"onNextPage","onPrevPage"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"b-grid-controls",1),K("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),E(),D(2,"div",2)(3,"b-pagination",3),K("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return iHc(b,c.option)}),E()()(),D(4,"div",4),O(5,uzb,9,7,"div",5),O(6,vzb,4,1,"div",6),O(7,wzb,2,2,"div",7),O(8,xzb,2,5,"div",8),E());a&2&&(z(1),C("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),z(2),C("searchResults",b.searchResults),z(1),dg("aria-busy",b.isLoading),z(1),C("ngIf",!b.isInitializing),z(1),C("ngIf",b.isLoading),z(1),C("ngIf",!b.isLoading&&!b.hasResults()),z(1),C("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[iZ,SZ,TQ,aZ,qD,bx,vN,CQ,NA],encapsulation:2});var d$=function(){};d$.\u0275fac=function(a){return new (a||d$)};d$.\u0275mod=fd({type:d$});d$.\u0275inj=Qc({imports:[yZ,UZ,uT,PZ,lE,px,xN,DQ,BD]});var e$=function(a,b,c,d,e,f,h,l,q,u,x,y,G,J,M,V,U,W,ba,pa,na,xa,Fa,Ha,Bb,lb,Ya,qa,Ba,Ea){m9.call(this,a,b,c,d,f,h,l,u,e,x,y,G,J,M,V,U,W,ba,Ha,pa,na,Ya,qa,Ba,Ea);this.savedSearchApi=q;this.hotkeys=xa;this.pageTitle=Fa;this.userAccess=lb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=Bb.savedSearchId};X(e$,m9);e$.\u0275dir=m9.\u0275dir;g=e$.prototype;
g.ngOnInit=function(){var a=this;m9.prototype.ngOnInit.call(this);this.subscriptions.add(wO(this.hotkeys,{title:"Saved Search",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(b){b&&String(b.savedSearchId)===a.savedSearchId&&("delete"===b.action?(a.savedSearch=null,a.searchResults=null,a.appSearchState.clear()):a.loadSavedSearch())}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=
b.showHotlists}));this.subscriptions.add(kac(this.appSearchState,function(b){a.savedSearch?CZ(a.urlPreferences,{query:b}):(b=a.paths.listIssues({q:b}),a.bLocation.url(b))}));this.loadUserAccess(this.savedSearchId)};g.loadUserAccess=function(a){var b=this;aG(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.loadSavedSearch=function(){var a=this;this.savedSearch=null;var b=this.savedSearchApi.get(this.savedSearchId);b.then(function(c){a.savedSearch=c;a.pageTitle.setTitle(c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c);a.savedSearch=null}).finally(function(){a.cdr.detectChanges()});return b};
g.getIssues=function(){var a=this,b=this.urlPreferences.getQuery()||"savedsearchid:"+this.savedSearchId;pT(this.appSearchState,b);this.searchResults=null;this.isLoading=!0;this.isInitializing=!1;b=this.savedSearch?Promise.resolve(this.savedSearch):this.loadSavedSearch();return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this;a=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:aHc(this)},a.then(function(d){return{query:d.query,sortOrder:d.sortOrder||null,displayColumn:d.displayColumn||null}}));var c=a.searchPreferences.then(function(d){if(!d.query)return Promise.reject(null);b.searchParams=d;pT(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=nj(d);d.returnUrl=b.bLocation.url();d.trackerIds=b.appSearchState.currentTrackerScope;
return CS(b.issuePagination,d)});c.then(function(d){gHc(b,d)}).catch(function(d){"number"===typeof d?CZ(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Tp({searchResultsPage:c,displayColumns:a.displayColumns}).then(function(d){d=d.searchResultsPage;b.searchResults=d;b.page=d.params.page;b.sortPreferences=d.params.sortColumns||[];b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
g.isEditable=function(){return!!this.savedSearch&&this.isAdmin};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
g.save=function(){var a=this,b=this.urlPreferences.getDisplayColumns();b&&(this.savedSearch.displayColumn=b);if(b=this.urlPreferences.getSortColumns())this.savedSearch.sortOrder=b.map(function(c){return{direction:c.direction,field:c.fieldId}});this.savedSearch.query=this.urlPreferences.getQuery()||this.savedSearch.query;nG(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){nG(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;CZ(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});Lp(a.analytics,a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g.discardChanges=function(){Lp(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");CZ(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};
g.hasParamChanges=function(){return this.savedSearch&&this.isEditable()?!!(this.urlPreferences.getQuery()&&this.urlPreferences.getQuery()!==this.savedSearch.query||this.urlPreferences.getSortColumns()||this.urlPreferences.getDisplayColumns()):!1};g.openEditSavedSearch=function(){this.bLocation.url(this.paths.editSavedSearch(this.savedSearchId))};
e$.\u0275fac=function(a){return new (a||e$)(A(HH),A(KH),A(SE),A(bH),A(tu),A(pG),A(dF),A(tH),A(RQ),A(oH),A(mG),A(LH),A(oT),A(BS),A(CI),A(BZ),A(GZ),A(cH),A(XF),A(vJ),A(JI),A(vO),A(tR),A(qG),A(JJ),A($F),A(uG),A(xH),A(QH),A(F_))};
e$.\u0275cmp=r({type:e$,selectors:[["view-saved-search-page"]],features:[Dg([HH]),$f],decls:9,vars:7,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],["class","bv2-view-savedsearch-title-text",4,"ngIf"],["class","bv2-view-savedsearch-save-form",
4,"ngIf"],[4,"ngIf"],[1,"bv2-view-savedsearch-title-text"],["role","heading","aria-level","3",4,"ngIf"],["role","heading","aria-level","3"],[3,"matTooltip"],["aria-label","Saved search settings","matTooltip","Saved search settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences or search query have changed",4,"ngIf"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-savedsearch-save-form"],["type","button","mat-flat-button",
"","matTooltip","Save changes to display preferences and search query",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"gmat-button","medium",3,"click"],[1,"bv2-view-savedsearch-exit-link"],["matTooltip","Show this search with your default display preferences",3,"href","click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",
4,"ngIf"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(D(0,"div",0)(1,"b-grid-controls",1),K("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",
function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),E(),D(2,"div",2)(3,"b-pagination",3),K("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return iHc(b,c.option)}),E()()(),D(4,"div",4)(5,"div",5),O(6,Czb,4,3,"div",6),O(7,Dzb,8,1,"div",7),E(),O(8,Izb,4,3,"div",8),E());a&2&&(z(1),C("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),C("searchResults",b.searchResults),
z(1),dg("aria-busy",b.isLoading),z(2),C("ngIf",!b.isInitializing),z(1),C("ngIf",b.hasParamChanges()),z(1),C("ngIf",b.savedSearch))},dependencies:[iZ,SZ,aZ,bx,qD,vN,CQ,NA],encapsulation:2});var f$=function(){};f$.\u0275fac=function(a){return new (a||f$)};f$.\u0275mod=fd({type:f$});f$.\u0275inj=Qc({imports:[yZ,UZ,PZ,px,lE,xN,DQ,BD]});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};
g$.\u0275cmp=r({type:g$,selectors:[["tp-landing-page"]],decls:12,vars:2,consts:[[1,"tp-landing-page"],[1,"tp-title"],[1,"tp-title-text","gmat-headline-5"],[1,"tp-cta"],["href","http://go/task-mission-control","target","_blank",1,"tp-about-link"],["href","http://go/task-mission-control-feedback","mat-stroked-button","","color","primary","target","_blank",1,"tp-feedback"],[1,"tp-content"],[3,"isMyWork"]],template:function(a){a&1&&(D(0,"div",0)(1,"div",1)(2,"div",2),P(3,"My Work"),E(),D(4,"div",3)(5,
"a",4),P(6,"Learn more at go/task-mission-control"),E(),D(7,"a",5),P(8,"Give feedback"),E()()(),D(9,"div",6),F(10,"tp-task-section",7)(11,"tp-task-section",7),E()());a&2&&(z(10),C("isMyWork",!0),z(1),C("isMyWork",!1))},dependencies:[dS,RR,yA],styles:['.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-text-button-label-text-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#2196f3;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#ff9800;--mdc-filled-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color:rgba(0,0,0,.12);--mdc-filled-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-filled-button-container-color:rgba(0,0,0,.12);--mdc-filled-button-label-text-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#2196f3;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#ff9800;--mdc-protected-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color:rgba(0,0,0,.12);--mdc-protected-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-color:rgba(0,0,0,.12);--mdc-protected-button-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-elevation:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color:rgba(0,0,0,.12)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-outline-color:rgba(0,0,0,.12);--mdc-outlined-button-disabled-outline-color:rgba(0,0,0,.12)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.tp-landing-page[_ngcontent-%COMP%]   .mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(0,0,0,.38);--mdc-icon-button-disabled-icon-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{width:40px;height:40px;padding:8px}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-icon-button__focus-ring[_ngcontent-%COMP%]{max-height:40px;max-width:40px}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]{width:40px;height:40px;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size[_ngcontent-%COMP%]   .mdc-icon-button__focus-ring[_ngcontent-%COMP%]{max-height:40px;max-width:40px}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-icon-button__touch[_ngcontent-%COMP%]{position:absolute;top:50%;height:40px;left:50%;width:40px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color:#2196f3;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color:#ff9800;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color:rgba(0,0,0,.12);--mdc-fab-icon-color:rgba(0,0,0,.38);--mat-mdc-fab-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;text-transform:none}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__ripple[_ngcontent-%COMP%]{height:100%;position:absolute;overflow:hidden;width:100%;z-index:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.16}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.24}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.2}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-text-button-hover-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-text-button-focus-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-text-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-text-button-label-text-color:#1e88e5;--mdc-text-button-focus-label-text-color:#0d47a1;--mdc-text-button-hover-label-text-color:#0d47a1}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-text-button-label-text-color:#fb8c00;--mdc-text-button-focus-label-text-color:#e65100;--mdc-text-button-hover-label-text-color:#e65100}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-text-button-label-text-color:#e53935;--mdc-text-button-focus-label-text-color:#b71c1c;--mdc-text-button-hover-label-text-color:#b71c1c}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-text-button-label-text-color:rgba(60,64,67,.38)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#1e88e5;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#fb8c00;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#e53935;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-disabled-container-color:rgba(60,64,67,.12);--mdc-filled-button-container-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#1e88e5;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#fb8c00;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#e53935;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-disabled-container-color:rgba(60,64,67,.12);--mdc-protected-button-container-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-outlined-button-outline-color:#dadce0;--mdc-outlined-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-outlined-button-hover-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-outlined-button-focus-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:var(--mdc-outlined-button-focus-outline-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 23px 0 23px;border-width:1px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-trailing{padding:0 11px 0 23px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-leading{padding:0 23px 0 11px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__ripple[_ngcontent-%COMP%]{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__touch[_ngcontent-%COMP%]{left:-1px;width:calc(100% + 2px)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-outlined-button-label-text-color:#1e88e5;--mdc-outlined-button-focus-label-text-color:#0d47a1;--mdc-outlined-button-hover-label-text-color:#0d47a1;--mdc-outlined-button-focus-outline-color:#0d47a1}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-outlined-button-label-text-color:#fb8c00;--mdc-outlined-button-focus-label-text-color:#e65100;--mdc-outlined-button-hover-label-text-color:#e65100;--mdc-outlined-button-focus-outline-color:#e65100}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-outlined-button-label-text-color:#e53935;--mdc-outlined-button-focus-label-text-color:#b71c1c;--mdc-outlined-button-hover-label-text-color:#b71c1c;--mdc-outlined-button-focus-outline-color:#b71c1c}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-outline-color:rgba(60,64,67,.12);--mdc-outlined-button-disabled-outline-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#3c4043;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(60,64,67,.38);--mdc-icon-button-disabled-icon-color:rgba(60,64,67,.38)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 2px 3px 0 rgba(60,64,67,.3),0 6px 10px 4px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active{box-shadow:0 4px 4px 0 rgba(60,64,67,.3),0 8px 12px 6px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill{--mdc-fab-container-color:#1e88e5;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mat-mdc-fab-color:#1e88e5}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill{--mdc-fab-container-color:#fb8c00;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mat-mdc-fab-color:#fb8c00}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill{--mdc-fab-container-color:#e53935;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mat-mdc-fab-color:#e53935}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#424242;--mat-mdc-button-persistent-ripple-color:#1a73e8;--mat-mdc-button-ripple-color:rgba(26,115,232,.1);--mat-mdc-fab-color:#424242;padding-top:2px;padding-right:24px;padding-bottom:2px;padding-left:24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-style:solid;border-width:2px;padding-top:2px;padding-right:22px;padding-bottom:2px;padding-left:22px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:#4285f4}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover{--mat-mdc-fab-color:#174ea6}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--text-default);--mdc-text-button-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-text-button-label-text-color:var(--primary-default);--mdc-text-button-focus-label-text-color:var(--primary-default);--mdc-text-button-hover-label-text-color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-text-button-label-text-color:var(--warn-default);--mdc-text-button-focus-label-text-color:var(--warn-default);--mdc-text-button-hover-label-text-color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-text-button-label-text-color:var(--button-disabled-text)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--text-default);--mdc-outlined-button-focus-label-text-color:var(--text-default);--mdc-outlined-button-hover-label-text-color:var(--text-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-outlined-button-label-text-color:var(--primary-default);--mdc-outlined-button-focus-label-text-color:var(--primary-default);--mdc-outlined-button-hover-label-text-color:var(--primary-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-outlined-button-label-text-color:var(--warn-default);--mdc-outlined-button-focus-label-text-color:var(--warn-default);--mdc-outlined-button-hover-label-text-color:var(--warn-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--button-disabled-text);--mdc-outlined-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-outlined-button-outline-color:var(--button-disabled-text);--mdc-outlined-button-disabled-outline-color:var(\n    --button-disabled-text\n  )}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--button-raised-bg);--mdc-filled-button-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--primary-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--warn-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-filled-button-label-text-color:var(--button-disabled-text);--mdc-filled-button-disabled-container-color:var(--button-disabled-bg);--mdc-filled-button-container-color:var(--button-disabled-bg)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--button-raised-bg);--mdc-protected-button-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--primary-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--warn-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-protected-button-label-text-color:var(--button-disabled-text);--mdc-protected-button-disabled-container-color:var(\n    --button-disabled-bg\n  );--mdc-protected-button-container-color:var(--button-disabled-bg)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]:disabled   .mat-icon[_ngcontent-%COMP%]{color:var(--button-disabled-text)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{color:var(--primary-default);background-color:var(--button-raised-bg);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab{color:var(--text-inverse);background-color:var(--primary-default);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--hairline);height:2.25rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-title-text[_ngcontent-%COMP%]{margin:0}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1.5rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]   .tp-about-link[_ngcontent-%COMP%]{font-size:.8125rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]   .tp-feedback[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--primary-high-contrast)}.tp-landing-page[_ngcontent-%COMP%]   .tp-content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-content[_ngcontent-%COMP%]   tp-task-section[_ngcontent-%COMP%]{width:50%}']});var NIc={path:"issues/:issueId",component:B7,children:[{path:"",pathMatch:"full",component:B8},{path:"dependencies",component:Y5},{path:"dupes",component:D7},{path:"blocking",component:M5},{path:"resources",component:Wm().config.enabledFlags.get("enableRedesignedResourcesPane")?j9:g9}].concat(p(Jzb("enableCodeMentionsUi",{path:"todos",component:i9})))},OIc=[{path:"",component:X4,canActivateGuards:[f5]},{path:"issues",component:n9},{path:"recent",component:p9}].concat(p(Jzb("enableTaskPrioritization",
{path:"work",component:g$,canActivateGuards:[d5,e5]})),p(Jzb("showNeedsAttentionUI",{path:"attention",component:N9,canActivateGuards:[d5,e5]})),[{path:"issues/new",component:B5},NIc,{path:"components/all",component:q4},{path:"components",component:h5},{path:"components/new",component:k5},{path:"components/:componentId/edit",component:J9},{path:"components/:componentId",component:J9},{path:"components/:componentId/manage",component:J9},{path:"teams/:teamId/edit",component:K9},{path:"teams/:teamId",
component:K9},{path:"bookmark-groups/new",component:j5},{path:"bookmark-groups/:groupId",component:a$},{path:"bookmark-groups/:groupId/edit",component:H5},{path:"hotlists/new",component:l5},{path:"hotlists/:hotlistId",component:c$},{path:"hotlists/:hotlistId/edit",component:qZ},{path:"slos/new",component:D5},{path:"slos/:sloId",component:L5},{path:"slos/:sloId/edit",component:L5},{path:"savedsearches/:savedSearchId/edit",component:J5},{path:"hotlists",component:l9},{path:"slos",component:q9},{path:"savedsearches/:savedSearchId",
component:e$},{path:"dashboard/:groupId",component:F5},{path:"settings/:settingsTab?",component:$9},{path:"settings",component:$9}],p(Jzb("enableHomepageVariantA",{path:"dash",component:hS})),[{path:"**",component:X4,canActivateGuards:[f5]}]);var h$=function(){};h$.\u0275fac=function(a){return new (a||h$)};h$.\u0275mod=fd({type:h$});h$.\u0275inj=Qc({imports:[px,rD,BQ,aH,BD]});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=fd({type:i$});i$.\u0275inj=Qc({imports:[px,rD,bN,gM,pN,h$]});var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=fd({type:j$});j$.\u0275inj=Qc({imports:[JP,px,BD,rD,XW,gM,lE,i5,aH,HN]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=fd({type:k$});k$.\u0275inj=Qc({imports:[px,zO,BD,gB]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=fd({type:l$});l$.\u0275inj=Qc({imports:[px,BD,jD,rD,aH]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=fd({type:m$});m$.\u0275inj=Qc({imports:[oN,px,a7,zO,l$,BD,XQ,rD,jD,lE,i_,OZ,I8,k$]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=fd({type:n$});n$.\u0275inj=Qc({imports:[px,zO,BD,rD,lE]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=fd({type:o$});o$.\u0275inj=Qc({imports:[px,rD,eN,gM]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=fd({type:p$});p$.\u0275inj=Qc({imports:[o$,px,lE,BM,hV,rD,BD,xN,gN,OZ]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=fd({type:q$});q$.\u0275inj=Qc({imports:[i$,JP,px,j$,JU,zO,gM,FP,G8,h$,BD,XQ,rD,lE,aH,uT,GP,jS,n$,m$,p$]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=fd({type:r$});r$.\u0275inj=Qc({imports:[px,BD]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=fd({type:s$});s$.\u0275inj=Qc({imports:[px,hN,BD,rD,lE]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=fd({type:t$});t$.\u0275inj=Qc({imports:[px]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=fd({type:u$});u$.\u0275inj=Qc({imports:[px,ay,k4,t$]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=fd({type:v$});v$.\u0275inj=Qc({imports:[px,nN,u$]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=fd({type:w$});w$.\u0275inj=Qc({imports:[gK,LW,px,PW,JW,m4,j4,zO,gM,l$,pN,p4,NW,n7,rD,lE,AM,K3,v$,fN,xT,CD]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=fd({type:x$});x$.\u0275inj=Qc({imports:[Ny,dz,ay,by,aH,BD,gB,aN,KN,Sz,lE,IS,AM,q$,t2,OZ,gN,bN,w$,A7,s$,r$]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=fd({type:y$});y$.\u0275inj=Qc({imports:[px,t4]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=fd({type:z$});z$.\u0275inj=Qc({imports:[Ny,dz,ay,by,aH,BD,aN,KN,AM,oN,x$,f9,$5,N5,E7,y$,h9,k9]});var PIc=OIc.map(function(a){return{path:a.path,component:a.component,canDeactivate:[bO],canActivate:[a5,c5].concat(p(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});PIc.push({path:"**",canActivate:["dontActivate"],component:X4,isRootRoute:!0});var QIc=Wm().appBaseHref,RIc,A$={initialNavigation:"disabled"},SIc={provide:PVb,useFactory:function(){return"guarded"},deps:[[WG,new Cv,new Dv]]},TIc;
TIc=(null==A$?0:A$.preloadingStrategy)?Uta(0,[{provide:OVb,useExisting:ZG},{provide:EVb,useExisting:A$.preloadingStrategy}]).\u0275providers:[];var UIc;
(null==A$?0:A$.initialNavigation)?UIc=["disabled"===A$.initialNavigation?Uta(3,[{provide:SDb,multi:!0,useFactory:function(){var a=Zc(WG);return function(){sVb(a)}}},{provide:NVb,useValue:2}]).\u0275providers:[],"enabledBlocking"===A$.initialNavigation?Uta(2,[{provide:NVb,useValue:0},{provide:SDb,multi:!0,deps:[Fv],useFactory:function(a){var b=a.get(IFb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(WG),e=a.get(MVb);Tta(d,function(){c(!0)});
a.get(PG).afterPreactivation=function(){c(!0);return e.closed?(0,T.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:UIc=[];
RIc={ngModule:aH,providers:[QVb,[],{provide:fVb,multi:!0,useValue:[]},SIc,{provide:pVb,useValue:A$?A$:{}},(null==A$?0:A$.useHash)?{provide:ux,useClass:wx}:{provide:ux,useClass:vx},{provide:IVb,useFactory:function(){var a=Zc(MFb),b=Zc(Yf),c=Zc(pVb),d=Zc(PG),e=Zc(EG);c.scrollOffset&&a.setOffset(c.scrollOffset);return new $G(e,d,a,b,c)}},TIc,{provide:YEb,multi:!0,useFactory:function(){return new YEb("Router",WG)}},UIc,[{provide:RVb,useFactory:function(){var a=Zc(Fv);return function(b){var c=a.get(Tw);
if(b===c.components[0]){b=a.get(WG);var d=a.get(MVb);1===a.get(NVb)&&b.initialNavigation();var e;null==(e=a.get(OVb,null,8))||FVb(e);var f;null==(f=a.get(IVb,null,8))||f.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),d.unsubscribe())}}}},{provide:XEb,multi:!0,useExisting:RVb}]]};var B$=function(a,b){a.config=PIc.map(no);a.navigated=!1;a.lastSuccessfulId=-1;a.initialNavigation();CYb(b)};
B$.\u0275fac=function(a){return new (a||B$)(n(WG),n(wI))};B$.\u0275mod=fd({type:B$});B$.\u0275inj=Qc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:SG,useClass:Z4},{provide:LFb,useValue:QIc},c5,a5],imports:[RIc,Y4,z$,aH]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=fd({type:C$});C$.\u0275inj=Qc({providers:[{provide:m8b,useFactory:Kzb},{provide:Y8b,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:l8b,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=fd({type:D$});D$.\u0275inj=Qc({imports:[px,BD,lE,rD,iG,ay,by,sZ]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=fd({type:E$});E$.\u0275inj=Qc({imports:[yP,px,sZ,DQ,ay,KP,lE,BM,m_,XW]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=fd({type:F$});F$.\u0275inj=Qc({imports:[px,BD,lE,rD,iG,ay,by,sZ]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=fd({type:G$});G$.\u0275inj=Qc({imports:[yP,KP,xN,px,pN,gM,BD,rD]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=fd({type:H$});H$.\u0275inj=Qc({imports:[px,ay,kB,k4,by]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=fd({type:I$});I$.\u0275inj=Qc({imports:[yP,nY,bN,FW,xU,l4,rB,DQ,ay,HY,qY,KP,FY,NW,G$,BD,gB,A5,rD,jD,hV,lE,l4,gK,by,H$,XW,px,Tz,oY,IY]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=fd({type:J$});J$.\u0275inj=Qc({imports:[yP,px,sZ,DQ,ay,KP,lE,x_]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=fd({type:K$});K$.\u0275inj=Qc({imports:[px,lE,BD,aN,sZ,HY,qY,yT,iG,gB,rD,ay,by,jD,wZ]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=fd({type:L$});L$.\u0275inj=Qc({imports:[gB,BM,px,fA,rD,BD,bN,VX,oY]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=fd({type:M$});M$.\u0275inj=Qc({imports:[px,lE,BD,aN,sZ,iG,gB,rD,ay,by,jD,wZ]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=fd({type:N$});N$.\u0275inj=Qc({imports:[yP,px,sZ,ay,KN,KP,aN,lE,wZ,BM,x_,xN]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=fd({type:O$});O$.\u0275inj=Qc({imports:[px,AZ,xN,BD]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=fd({type:P$});P$.\u0275inj=Qc({imports:[px,BD,rD,z_,xN]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=fd({type:Q$});Q$.\u0275inj=Qc({imports:[px,TU,a_]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=fd({type:R$});R$.\u0275inj=Qc({imports:[px,gN,ay,aN,nN,wZ,KP,A5,BD,BM,rD,lE,gB,HN,xN]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=fd({type:S$});S$.\u0275inj=Qc({});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=fd({type:T$});T$.\u0275inj=Qc({imports:[yP,px,gN,TU,LU,y3,G3,L3,KY,sZ,W3,ay,S$,KN,KP,BD,BM,gB,rD,FM,hV,aN,lE,wZ,m_,aH,Q$,k_,xN,XW,IP,Tz,R$,HN,s$]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=fd({type:U$});U$.\u0275inj=Qc({imports:[px,sZ,ay,S$,KN,BD,BM,rD,aN,lE,hV,wZ,aH,HN,Tz,k_,a_]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=fd({type:V$});V$.\u0275inj=Qc({imports:[FM,px,ay]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=fd({type:W$});W$.\u0275inj=Qc({imports:[px,BD,lE,rD]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=fd({type:X$});X$.\u0275inj=Qc({providers:[{provide:i4b,useValue:{enabled:!0}}],imports:[Y2,IS,px,px,ay,KN,BM,BD,BD,rD,FM,hV,aN,lE,lE,jV,W$,gK,I8,V$]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=fd({type:Y$});Y$.\u0275inj=Qc({imports:[px,ay,lE,rB,uB]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=fd({type:Z$});Z$.\u0275inj=Qc({imports:[px,iG,BD,rD]});var VIc=function(){};VIc.prototype.send=function(a,b){pxa(a);return this.makeRequest(a).then(function(c){return b?zxa(b,c):c})};var uu=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};X(uu,VIc);uu.prototype.getGapi=function(){var a=this;return Uya().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return $ya(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
uu.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return Ze(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):af(d,Zya(c,b.gapiAuthParams.minAuthTokenTimeRemaining),2);b.setGapiConfig(c);return d.return(b.parseResponse(c.client.request({root:b.gapiUrl,path:a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers,authType:a.authType,apiId:a.apiId||b.defaultApiId})))})})};
uu.prototype.parseResponse=function(a){return new Promise(function(b,c){a.then(function(d){b(!1===d.result&&null!=d.body?{data:d.body}:d.result)},function(d){c(!1===d.result&&null!=d.body?{data:d.body}:d.result)})})};uu.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&Xya(a,b,this.gapiConfigUpdates[b])};uu.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var WIc={disableCheatSheet:!0};WIc=void 0===WIc?{}:WIc;
var XIc=[ST,iN,Ny,dz,tU,FY,sU,wS,KP,zT,jV,yS,m_,uT,BT,FP,yP,KZ,ZW,oS,r3,I4,C4,JW,NW,PW,OU,oN,J$,N$,P$,O$,G5,o9,d$,f$,E$,T$,U$,b$,AZ,z_,KY,Y3,t4,ZZ,HW,yZ,sY,K4,s3,PN,S3,t3,u4,WZ,YZ,R3,UZ,pY,HT,IS,bN,VX,L$,EN,nS,f_,yT,LW,i_,D_,NZ,OZ,r4,R2,xN,ZT,MP,Y$,GP,P2,L3,Z$,W3,t2,nN,gN,hN,X$,Y2,iS,sM,xQ,AQ,x_,k_,yQ,sZ,v3,D$,F$,F3,p_,dV,TU,WU,LU,zQ,PZ,aX,uZ,m4,qY,v_,C_,p4,G3,uU,yU,wZ,xZ,nY,y3,K$,JS,M$,I$,AU,x$,N_,C$,rD,LB,{ngModule:mE,providers:[{provide:UOb,useFactory:function(){var a=Wm().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[Fv]}]},{ngModule:qM,providers:[ZK,{provide:w0b,useFactory:function(a){return new Lzb(new D2b("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},F2b,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[E2b]},{provide:E2b,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:t$,providers:[p7,{provide:IFc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:myc,autocompleteFactory:itc}}}]},{ngModule:rO,providers:[qO,{provide:i5b,useValue:WIc}]}],YIc=[AAc,Joc,Koc,Loc,Moc,U9b,TWb,{provide:c3b,useValue:{animationDuration:"0ms"}},{provide:pOb,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:POb,useValue:{disableTooltipInteractivity:!0}},
{provide:k4b,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:n4b,useValue:"92912"},{provide:j0b,useFactory:Mzb},BAc,JAc,KAc,LAc],Sw=function(){};Sw.prototype.ngDoBootstrap=function(){Zi("bootstrapping AppModule")};Sw.\u0275fac=function(a){return new (a||Sw)};Sw.\u0275mod=fd({type:Sw,bootstrap:[RT,G4]});Sw.\u0275inj=Qc({providers:[].concat(p(YIc)),imports:[XIc,B$,OS]});iC(document,"DOMContentLoaded",function(){aFb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/Yfyhhd/b96Luc/E7aOmb/HyHasc/dflQFd',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
